@font-face {
  font-family: 'Changa';
  src: url('../../fonts/changa/Changa-ExtraLight.ttf') format('truetype');
  font-weight: 200;
}

@font-face {
  font-family: 'Changa';
  src: url('../../fonts/changa/Changa-Light.ttf') format('truetype');
  font-weight: 300;
}

@font-face {
  font-family: 'Changa';
  src: url('../../fonts/changa/Changa-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Changa';
  src: url('../../fonts/changa/Changa-Medium.ttf') format('truetype');
  font-weight: 500;
}

@font-face {
  font-family: 'Changa';
  src: url('../../fonts/changa/Changa-SemiBold.ttf') format('truetype');
  font-weight: 600;
}

@font-face {
  font-family: 'Changa';
  src: url('../../fonts/changa/Changa-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Changa';
  src: url('../../fonts/changa/Changa-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

:root {
    --default-font:  'Changa', sans-serif;
    --heading-font:  'Changa', sans-serif;
    --nav-font:  'Changa', sans-serif;
  }
:root {
    /* Base Colors */
    --background-color: #ffffff;
    --default-color: #1e5f74;            /* Extracted rich blue from left bar of logo */
    --heading-color: #257ca3;            /* Lighter mid blue from logo middle */
    --accent-color: #f47721;             /* Strong orange from right bar of logo */
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
    --icon-accent: #4b93b1;              /* Subtle light blue for icons */

    /* Gradient Colors */
    --azad-gradient-1-start: #4b93b1;    /* Light blue (transition from left) */
    --azad-gradient-1-end: #1e5f74;      /* Darker left-end blue */
    --azad-gradient-2-start: #f89e48;    /* Light orange tone */
    --azad-gradient-2-end: #f47721;      /* Deeper orange end */
    --pagination-bg: #f0f0f0;
    --pagination-active-bg: linear-gradient(90deg, var(--default-color) 60%, var(--heading-color) 100%);
    --pagination-active-color: #fff;
    --pagination-hover-bg: var(--accent-color);
    --pagination-color: #233548;
    --pagination-gap: 0.85rem;
    --pagination-font-size: 1.22rem;
    --pagination-shadow: 0 2px 14px rgba(30,95,116,0.09);
    --pagination-active-shadow: 0 5px 24px rgba(30,95,116,0.18);
    /* Neutral Colors */
    --card-highlight: #ffffff;
    --button-hover: #154c5e;             /* Darker hover from --default-color */
    --text-accent: #1e5f74;

    /* RGB Values */
    --heading-color-rgb: 37, 124, 163;   /* #257ca3 */
    --default-color-rgb: 30, 95, 116;    /* #1e5f74 */
    --accent-color-rgb: 244, 119, 33;    /* #f47721 */

    /* Animation Enhancements */
    --animation-glow: rgba(30, 95, 116, 0.3); /* Blue glow */

    /* Nav Menu Colors */
    --nav-color: #1e5f74;                        /* Primary nav background (blue from logo) */
    --nav-hover-color: #f47721;                  /* Hover orange from logo */
    --nav-mobile-background-color: #f9f7f5;      /* Light cream background for mobile menu */
    --nav-azad-dropdown-background-color: #ffffff;
    --nav-azad-dropdown-color: #1e5f74;
    --nav-azad-dropdown-hover-color: #f47721;
}



  .light-background {
    --background-color: #f1f4fa;
    --surface-color: #ffffff;
  }
  
  .dark-background {
    --background-color: #000910;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #28323a;
    --contrast-color: #ffffff;
  }
  
  /* Smooth scroll */
  :root {
    scroll-behavior: smooth;
  }
  
  /* Scrollbar Styles */
  ::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
  }
  
  ::-webkit-scrollbar-track {
    background: var(--background-color); /* Background color of the scrollbar track */
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--default-color); /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the scrollbar thumb */
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color); /* Color of the scrollbar thumb on hover */
  }
  

  /* --- Home Page (#azad-home-page) --- */
#azad-home-page .mm {
    height: 30px;
}


/* ... previous code ... */

/* =========================================
   HERO SECTION 2 STYLES
   ========================================= */

#azad-home-page .hero-section {
    position: relative;
    color: white;
    overflow: hidden;
    width: 100%;
}

/* Desktop/Large Screen Version */
@media (min-width: 992px) {
    #azad-home-page .hero-section {
        height: 70vh;
    }

    #azad-home-page .hero-slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    #azad-home-page .hero-slide {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
    }

    #azad-home-page .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #azad-home-page .arabic-text-box {
        position: absolute;
        left: 5%;
        top: 20%;
        background: white;
        color: #333;
        padding: 25px 80px;
        border-radius: 30px;
        font-size: 35px;
        line-height: 1.4em;
        font-weight: bold;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 5;
    }

    #azad-home-page .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        background: linear-gradient(
            rgba(var(--heading-color-rgb), 0.6),
            rgba(var(--default-color-rgb), 0.8)
        );
        z-index: 2;
    }

    #azad-home-page .hero-content {
        position: relative;
        height: 100%;
        z-index: 3;
    }

    #azad-home-page .hero-stats {
        position: absolute;
        bottom: 5%;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(
            to right,
            rgba(75, 147, 177, 0.5),
            rgba(30, 95, 116, 0.5)
        );
        backdrop-filter: blur(5px);
        border-radius: 8px;
        padding: 15px;
        width: 90%;
        max-width: 800px;
        z-index: 5;
        display: block;
    }

    #azad-home-page .stats-container {
        display: flex;
        justify-content: space-around;
    }

    #azad-home-page .stat-item {
        text-align: center;
        padding: 0 10px;
    }

    #azad-home-page .stat-number {
        font-size: 1.2rem;
        font-weight: 600;
        color: white;
        margin-bottom: 0.3rem;
        line-height: 1;
    }

    #azad-home-page .stat-label {
        font-size: 0.8rem;
        color: white;
        font-weight: 500;
    }

    #azad-home-page .divider {
        width: 1px;
        background-color: rgba(255, 255, 255, 0.3);
        margin: 0 5px;
    }

    /* Splide Overrides */
    #azad-home-page .splide__pagination {
        bottom: 20px;
    }

    #azad-home-page .splide__pagination__page {
        background: rgba(255, 255, 255, 0.5);
        width: 12px;
        height: 12px;
        margin: 0 6px;
    }

    #azad-home-page .splide__pagination__page.is-active {
        background: white;
        transform: scale(1.2);
    }
}

/* Tablet/Mobile Version */
@media (max-width: 991.98px) {
    #azad-home-page .hero-section {
        /* Note: Ideally move this bg image to CSS file or keep inline if dynamic */
        background-image: url('../img/new-images/hero-bg.png'); 
        background-size: cover;
        background-position: center;
        min-height: 70vh;
        display: flex;
        align-items: center;
        padding: 40px 0;
    }

    #azad-home-page .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: .4;
        background: var(--default-color);
        z-index: 2;
    }

    #azad-home-page .hero-slider, 
    #azad-home-page .hero-stats, 
    #azad-home-page .arabic-text-box {
        display: none;
    }

    #azad-home-page .hero-content {
        width: 100%;
        text-align: center;
    }

    #azad-home-page .hero-title {
        color: var(--contrast-color);
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 2rem;
        line-height: 1.2;
    }

    #azad-home-page .stats-container {
        margin-top: 2rem;
    }

    #azad-home-page .stat-item {
        text-align: center;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    #azad-home-page .stat-number {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--accent-color);
        margin-bottom: 0.5rem;
        line-height: 1;
    }

    #azad-home-page .stat-label {
        font-size: 1rem;
        color: white;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 767.98px) {
    #azad-home-page .hero-section {
        min-height: 60vh;
        padding: 30px 0;
    }

    #azad-home-page .hero-title {
        font-size: 2rem;
    }

    #azad-home-page .stat-number {
        font-size: 1.8rem;
    }
}

/* =========================================
   SERVICES SECTION (head.blade.php)
   ========================================= */

#azad-home-page .services-azad-info {
    direction: rtl;
    padding: 0 10%; /* Uncommented this if you want padding */
}

#azad-home-page .services-azad-info .card {
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: 100%;
    background-color: var(--background-color);
}

#azad-home-page .services-azad-info .image-container {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 70%;
    height: 100px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

/* Shadow effect from bottom */
#azad-home-page .services-azad-info .image-container::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
}

#azad-home-page .services-azad-info .image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#azad-home-page .services-azad-info .image-container:hover img {
    transform: scale(1.05);
}

#azad-home-page .services-azad-info .description {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

#azad-home-page .services-azad-info .description span {
    font-size: 20px;
    display: block; /* Ensures title is on its own line */
    color: var(--default-color);
    margin-bottom: 5px;
}

#azad-home-page .services-azad-info .button {
    width: 70%;
    background-color: white;
    color: var(--default-color);
    border: 1px solid var(--default-color);
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

#azad-home-page .services-azad-info .button:hover {
    background-color: var(--default-color);
    color: white;
}

#azad-home-page .services-azad-info .row {
    justify-content: center;
}

/* =========================================
   WHAT MAKES US SECTION (what-make-us.blade.php)
   ========================================= */

#azad-home-page .difference-section {
    direction: rtl;
    position: relative;
    padding: 80px 15px;
    text-align: center;
    background: linear-gradient(to bottom, 
                #ffffff 0%, 
                #ffffff 50%, 
                #f4fbfa 50%, 
                #f4fbfa 100%);
}

#azad-home-page .difference-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

#azad-home-page .difference-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(23, 94, 119, 0.08);
    flex: 1 1 250px;
    max-width: 280px;
    transition: all 0.3s ease;
    border-top: 3px solid var(--default-color);
}

#azad-home-page .difference-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(23, 94, 119, 0.12);
}

#azad-home-page .card-icon {
    font-size: 2.5em;
    color: var(--icon-accent);
    margin-bottom: 25px;
    display: inline-block;
}

#azad-home-page .card-text {
    font-size: 1em;
    line-height: 1.7;
    color: #185e77;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    #azad-home-page .difference-section {
        background: linear-gradient(to bottom, 
                    #ffffff 0%, 
                    #ffffff 45%, 
                    #f4fbfa 45%, 
                    #f4fbfa 100%);
    }
    
    #azad-home-page .difference-card {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    #azad-home-page .section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    
    #azad-home-page .difference-section {
        padding: 60px 15px;
    }
}

@media (max-width: 576px) {
    #azad-home-page .difference-section {
        background: linear-gradient(to bottom, 
                    #ffffff 0%, 
                    #ffffff 40%, 
                    #f4fbfa 40%, 
                    #f4fbfa 100%);
    }
    
    #azad-home-page .difference-card {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 30px 20px;
    }
    
    #azad-home-page .card-icon {
        font-size: 2em;
        margin-bottom: 20px;
    }
}
/* =========================================
   PARTNERS SECTION (Global - Used on Home & Training)
   ========================================= */

.client-overlap-section {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 20px auto 0;
    position: relative;
    min-height: 300px;
}

.client-logos-container {
    flex-basis: 70%;
    background-color: white;
    /* padding: 25px; */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    bottom: -80px;
    margin-right: -60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logos-container img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: fill;
}

.client-title-section {
    flex-basis: 40%;
    color: white;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 10px 20px;
    border-radius: 0 8px 8px 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.client-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background: linear-gradient(135deg, 
                var(--default-color) 0%, 
                var(--heading-color) 100%);
    z-index: 7;
}

.client-title-section .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: translateX(-15%);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
    margin-left: 15px;
}

.client-title-section.scrolled-down .bg-image {
    transform: translateX(-25%);
}

.client-title-section.scrolled-up .bg-image {
    transform: translateX(0%);
}

.client-title-section h3 {
    margin: 0;
    font-size: 2em;
    text-align: center;
    position: absolute;
    top: 20px;
    left: 40%;
    transform: translateX(-50%);
    z-index: 10;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    color: #fff;
}

.client-title-section.animate h3 {
    opacity: 1;
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .client-overlap-section {
        flex-direction: column-reverse;
        align-items: center;
    }

    .client-title-section {
        width: 100%;
        padding: 100px 20px 60px;
        border-radius: 8px;
        margin-bottom: -40px;
        z-index: 2;
    }

    .client-logos-container {
        width: 100%;
        margin-right: 0;
        bottom: 0;
        margin-top: -40px;
        z-index: 1;
        padding: 25px;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .client-overlap-section {
        flex-direction: column-reverse;
        margin-top: 20px;
    }

    .client-title-section {
        width: 100%;
        padding: 80px 20px 40px;
        border-radius: 8px;
        margin-bottom: -30px;
        z-index: 2;
    }

    .client-logos-container {
        width: 100%;
        margin-right: 0;
        bottom: 0;
        margin-top: -10px;
        z-index: 5;
        padding: 20px;
    }

    .client-title-section h3 {
        font-size: 1.5em;
    }
    
    .client-title-section .bg-image {
        width: 100%;
        transform: none;
        transition: none;
        margin-left: 0;
    }
}

/* =========================================
   AZAD NEWS SECTION (azad-news.blade.php)
   ========================================= */

#azad-home-page .news-section {
    direction: rtl;
    padding: 60px 0;
    background-color: var(--background-color);
}

/* --- News Layout --- */
#azad-home-page .news-layout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* --- News Item Common Styles --- */
#azad-home-page .news-item {
    background-color: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(var(--default-color-rgb), 0.07);
    transition: all 0.3s ease;
}

#azad-home-page .news-item:hover {
    box-shadow: 0 6px 20px rgba(var(--default-color-rgb), 0.1);
}

/* --- Featured News Item --- */
#azad-home-page .news-item-featured .news-image-container img {
    border-radius: 8px 8px 0 0;
    width: 100%;
    height: auto;
    max-height: 80vh;
    display: block;
}

#azad-home-page .news-item-featured .news-content {
    padding: 25px 30px;
}

/* --- Secondary News List --- */
#azad-home-page .news-secondary-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#azad-home-page .news-item-secondary {
    box-shadow: 0 2px 8px rgba(var(--default-color-rgb), 0.06);
}

#azad-home-page .news-item-secondary:hover {
    box-shadow: 0 4px 12px rgba(var(--default-color-rgb), 0.08);
}

#azad-home-page .news-item-secondary .news-content {
    padding: 20px 25px;
}

/* --- Content Elements --- */
#azad-home-page .news-meta {
    font-size: 0.85em;
    color: var(--text-accent);
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
}

#azad-home-page .news-meta i {
    margin-right: 5px;
    color: var(--icon-accent);
}

#azad-home-page .news-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--default-color);
}

#azad-home-page .news-title a {
    color: var(--default-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

#azad-home-page .news-title a:hover {
    color: var(--accent-color);
}

#azad-home-page .news-item-featured .news-title {
    font-size: 1.6em;
}

#azad-home-page .news-item-secondary .news-title {
    font-size: 1.1em;
    margin-bottom: 5px;
}

#azad-home-page .news-excerpt {
    color: var(--text-accent);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95em;
}

/* --- Rounded Button Styles --- */
#azad-home-page .read-more-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.9em;
    color: var(--contrast-color);
    background-color: var(--heading-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

#azad-home-page .read-more-link:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(var(--default-color-rgb), 0.1);
}

#azad-home-page .read-more-link .icon-arrow {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

#azad-home-page .read-more-link:hover .icon-arrow {
    transform: translateX(-4px);
}

#azad-home-page .view-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    font-weight: 600;
    text-align: center;
    border: 2px solid var(--default-color);
    border-radius: 50px;
    background-color: transparent;
    color: var(--heading-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

#azad-home-page .view-all-link:hover {
    background-color: var(--default-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.15);
}

#azad-home-page .view-all-link .icon-arrow {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

#azad-home-page .view-all-link:hover .icon-arrow {
    transform: translateX(-4px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    #azad-home-page .news-layout-container {
        grid-template-columns: 1.5fr 1fr;
        gap: 30px;
    }
    #azad-home-page .news-item-featured .news-title {
        font-size: 1.4em;
    }
    #azad-home-page .news-item-secondary .news-title {
        font-size: 1.05em;
    }
}

@media (max-width: 768px) {
    #azad-home-page .news-layout-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    #azad-home-page .section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    #azad-home-page .news-item-featured .news-title {
        font-size: 1.5em;
    }
    #azad-home-page .news-secondary-list {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    #azad-home-page .news-item-featured .news-content {
        padding: 20px;
    }
    #azad-home-page .news-item-secondary .news-content {
        padding: 15px 20px;
    }
    #azad-home-page .news-meta {
        font-size: 0.8em;
    }
    #azad-home-page .news-excerpt {
        font-size: 0.9em;
    }
    #azad-home-page .read-more-link, 
    #azad-home-page .view-all-link {
        padding: 8px 16px;
        font-size: 0.85em;
    }
}

/* =========================================
   CLIENTS SECTION (Global - Used on Home & Training)
   ========================================= */

.client-swiper-container {
    width: 100%;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    box-sizing: border-box;
    transition: all 0.4s ease;
    height: auto;
}

.client-lines-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.client-line {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.client-line.first-line {
    justify-content: space-between;
}

.client-line.second-line {
    justify-content: center;
    padding: 0 12.5%;
}

/* Client Card Styles */
.client-card {
    width: calc(25% - 20px);
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.second-line .client-card {
    width: calc(33.33% - 20px);
}

.client-swiper-container .diagonal-card {
    width: 100%;
    height: 150px;
    position: relative;
    margin-bottom: 10px;
    background: white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 40px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.client-swiper-container .swiper-slide:hover .diagonal-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.client-swiper-container .diagonal-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.swiper-slide:hover img {
    opacity: 1;
    transform: scale(1.08);
}

.client-swiper-container .client-name {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 10px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.02);
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 100%;
}

.swiper-slide:hover .client-name {
    color: var(--default-color);
    background: rgba(var(--default-color-rgb), 0.08);
}

/* Hide pagination and style navigation arrows */
.client-swiper-container .swiper-pagination {
    display: none;
}

.client-swiper-container .swiper-button-next,
.client-swiper-container .swiper-button-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    color: var(--default-color, #000);
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}

.client-swiper-container .swiper-button-next {
    right: 20px;
}

.client-swiper-container .swiper-button-prev {
    left: 20px;
}

.client-swiper-container .swiper-button-next:hover,
.client-swiper-container .swiper-button-prev:hover {
    background: var(--default-color, #000);
    color: white;
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.client-swiper-container .swiper-button-next::after,
.client-swiper-container .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .client-card {
        width: calc(33.33% - 20px);
    }
    .second-line .client-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .client-lines-container {
        gap: 20px;
    }
    .client-line {
        flex-direction: column;
        align-items: center;
    }
    .client-card {
        width: 100%;
        max-width: 300px;
    }
    .second-line .client-card {
        width: 100%;
    }
    .client-line.second-line {
        padding: 0;
    }
}

@media (max-width: 576px) {
    .swiper-slide {
        padding: 0 5px;
    }
    .client-lines-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .client-line {
        flex-direction: row;
        gap: 15px;
    }
    .client-card {
        width: calc(50% - 15px);
        max-width: none;
        min-height: 180px;
    }
    .client-swiper-container .diagonal-card {
        height: 120px;
        flex-shrink: 0;
    }
    .client-swiper-container .client-name {
        font-size: 12px;
        margin-top: 5px;
        padding: 4px 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        flex-grow: 1;
    }
}

/* =========================================
   INSTRUCTOR SECTION (Global - Used on Home, Training & About)
   ========================================= */

.instructor-swiper-container {
    direction: rtl;
    width: 100%;
    padding: 60px 0;
    position: relative;
    background: #f8f9fb;
}

/* Scoped to this container to avoid breaking other swipers */
.instructor-swiper-container .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.instructor-card {
    width: 90%;
    max-width: 260px;
    height: 380px;
    position: relative;
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.instructor-swiper-container .swiper-slide:hover .instructor-card {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.instructor-image-container {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.instructor-image-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
}

.instructor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.instructor-swiper-container .swiper-slide:hover .instructor-card img {
    transform: scale(1.1);
}

.instructor-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    z-index: 2;
    color: white;
}

.title-background {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.instructor-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    color: #fff;
}

.instructor-title {
    font-size: 14px;
    opacity: 0.9;
    margin: 5px 0 0 0;
    color: #ddd;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Navigation styles */
.instructor-swiper-container .swiper-button-next,
.instructor-swiper-container .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    color: var(--default-color);
    transition: all 0.3s ease;
}

.instructor-swiper-container .swiper-button-next:hover,
.instructor-swiper-container .swiper-button-prev:hover {
    background: var(--default-color);
    color: white;
    transform: scale(1.1);
}

.instructor-swiper-container .swiper-button-next::after,
.instructor-swiper-container .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.instructor-swiper-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
}

.instructor-swiper-container .swiper-pagination-bullet-active {
    background: var(--default-color);
}

@media (max-width: 768px) {
    .instructor-card {
        height: 350px;
    }

    .instructor-name {
        font-size: 16px;
    }

    .instructor-title {
        font-size: 13px;
    }
}

/* =========================================
   FOOTER SECTION (Global)
   ========================================= */

.azad-footer {
    direction: rtl;
    background: var(--background-color);
    color: rgba(255, 255, 255, 0.8);
}

.azad-footer-top {
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
    padding: 30px 0 20px;
    border-bottom: 1px solid #444;
}

.azad-footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.azad-footer-col {
    display: flex;
    flex-direction: column;
}

.azad-footer-logo-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.azad-footer-logo {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    margin-bottom: 5px;
}

.azad-footer-logo-col p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.azad-footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--contrast-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.azad-footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.azad-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.azad-footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease, padding-right 0.3s ease;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.azad-footer-links li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

[dir="rtl"] .azad-footer-links li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.azad-footer-links li a i {
    margin-right: 8px;
    color: var(--accent-color);
    width: 16px;
    text-align: center;
    transition: color 0.3s ease;
}

.azad-footer-links li a:hover i {
    color: var(--contrast-color);
}

[dir="rtl"] .azad-footer-links li a i {
    margin-left: 8px;
    margin-right: 0;
}

.azad-footer-newsletter-col .azad-footer-title {
    margin-bottom: 12px;
}

.azad-footer-contact-col .azad-footer-links li a {
    white-space: normal;
}

.azad-footer-hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.azad-footer-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.azad-footer-input {
    padding: 10px 12px;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 13px;
    background: #333;
    color: #fff;
    box-shadow: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.azad-footer-input::placeholder {
    color: #888;
}

.azad-footer-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #444;
}

.azad-footer-button {
    padding: 10px 15px;
    background: var(--accent-color);
    color: var(--background-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.2s ease, color 0.3s ease;
    text-transform: uppercase;
    width: 100%;
    box-sizing: border-box;
}

.azad-footer-button:hover {
    background: var(--contrast-color);
    color: var(--background-color);
    transform: translateY(-2px);
}

/* Bottom Section */
.azad-footer-bottom {
    background: #111;
    padding: 15px 0;
    border-top: 1px solid #333;
    direction: var(--footer-dir, ltr);
}

.azad-footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.azad-footer-copyright {
    font-size: 12px;
    color: #888;
    flex-grow: 1;
    text-align: left;
}

[dir="rtl"] .azad-footer-copyright {
    text-align: right;
}

.azad-footer-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-grow: 1;
    text-align: right;
}

[dir="rtl"] .azad-footer-social {
    text-align: left;
    justify-content: center;
}

.azad-footer-social a {
    color: #aaa;
    font-size: 15px;
    transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    width: 36px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #555;
    border-radius: 50%;
    text-decoration: none;
}

.azad-footer-social a:hover {
    color: var(--background-color);
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1) translateY(-2px);
}

/* Laptop-specific adjustments */
@media (min-width: 992px) and (max-width: 1440px) {
    .azad-footer-top {
        padding: 25px 0 15px;
    }
    .azad-footer-container {
        gap: 15px 10px;
    }
    .azad-footer-logo {
        max-height: 100px;
    }
    .azad-footer-title {
        margin-bottom: 12px;
        font-size: 15px;
    }
    .azad-footer-links li a {
        font-size: 13px;
    }
}

/* =========================================
   FOOTER QR CODE & UPDATES
   ========================================= */

/* Container for Left Side Elements (Socials + QR) */
.azad-footer-left-side {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end; /* Align to left in RTL */
    flex-grow: 1;
}

[dir="rtl"] .azad-footer-left-side {
    justify-content: flex-end; /* In RTL, flex-end is the Left side */
}

[dir="ltr"] .azad-footer-left-side {
    justify-content: flex-end; /* In LTR, flex-end is the Right side */
}

/* QR Code Styling */
.azad-footer-qr {
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.azad-footer-qr img {
    width: 60px; /* Adjust size */
    height: 60px;
    object-fit: contain;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .azad-footer-bottom-container {
        flex-direction: column-reverse; /* Stack: QR/Socials top, Copyright bottom */
        gap: 20px;
    }

    .azad-footer-left-side {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }
    
    .azad-footer-copyright {
        text-align: center !important;
    }
}

/* Trust Badge in Footer */
.footer-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-decoration: none; /* Ensure no underline for link */
}

.footer-trust-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff; /* Ensure text stays white on hover */
}

.footer-trust-badge i {
    color: #22c55e; /* Green color indicating 'Active/Verified' */
    font-size: 16px;
}

.footer-trust-badge span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .footer-trust-badge {
        margin-top: 10px;
        width: auto;
        justify-content: center;
    }
}



/* Responsive adjustments */
@media (max-width: 992px) {
    .azad-footer-container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .azad-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px 15px;
    }
    .azad-footer-logo-col,
    .azad-footer-contact-col,
    .azad-footer-newsletter-col {
        grid-column: span 2;
        align-items: center;
        text-align: center;
    }
    .azad-footer-logo-col p {
        text-align: center;
    }
    .azad-footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    [dir="rtl"] .azad-footer-title::after {
        right: 50%;
        transform: translateX(50%);
        left: auto;
    }
    .azad-footer-links {
        align-items: center;
    }
    .azad-footer-form {
        align-items: center;
        max-width: 350px;
        margin: 0 auto;
    }
    .azad-footer-bottom-container {
        justify-content: center;
    }
    .azad-footer-copyright,
    .azad-footer-social {
        text-align: center;
        width: 100%;
    }
    .azad-footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .azad-footer-container {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px 12px !important;
        padding: 0 6px !important;
    }
    .azad-footer-logo-col,
    .azad-footer-contact-col,
    .azad-footer-newsletter-col {
        grid-column: span 2 !important;
        align-items: center;
        text-align: center;
    }
    .azad-footer-col {
        align-items: flex-start;
        text-align: right;
        grid-column: span 1 !important;
    }
    .azad-footer-links {
        align-items: flex-start;
        width: 100%;
    }
    .azad-footer-contact-col {
        grid-column: span 2 !important;
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .azad-footer-contact-col .azad-footer-title {
        text-align: right !important;
        width: 100%;
        margin-right: 0;
        margin-left: auto;
        padding-right: 10px;
        padding-left: 0;
    }
}


/* =========================================
   FOOTER QR CODE & UPDATES
   ========================================= */

/* Container for Left Side Elements (Socials + QR) */
.azad-footer-left-side {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end; /* Align to left in RTL */
    flex-grow: 1;
}

[dir="rtl"] .azad-footer-left-side {
    justify-content: flex-end; /* In RTL, flex-end is the Left side */
}

[dir="ltr"] .azad-footer-left-side {
    justify-content: flex-end; /* In LTR, flex-end is the Right side */
}

/* QR Code Styling */
.azad-footer-qr {
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Define the size of the container */
    width: 80px;  /* Adjust width as needed */
    height: 80px; /* Adjust height as needed */
    overflow: hidden; /* Ensure image stays inside */
}

.azad-footer-qr img {
    width: 100%;      /* Fill the container width */
    height: 100%;     /* Fill the container height */
    object-fit: cover; /* Cover the area without stretching (or contain to show full code) */
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .azad-footer-bottom-container {
        flex-direction: column-reverse; /* Stack: QR/Socials top, Copyright bottom */
        gap: 20px;
    }

    .azad-footer-left-side {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }
    
    .azad-footer-copyright {
        text-align: center !important;
    }
}
/* =========================================
   ABOUT PAGE (#azad-about-page)
   ========================================= */

/* Hero Section */
#azad-about-page .about-hero {
    background: linear-gradient(
        rgba(var(--default-color-rgb), 0.9), 
        rgba(var(--default-color-rgb), 0.8)
    ), url('../img/about-bg.jpg'); /* Adjusted path for CSS file */
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
}

#azad-about-page .about-hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(var(--default-color-rgb), 0.8), transparent);
    transform: skewY(-3deg);
    z-index: 1;
}

#azad-about-page .about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--contrast-color);
}

#azad-about-page .about-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Mission Section */
#azad-about-page .mission-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    position: relative;
    z-index: 2;
}

#azad-about-page .mission-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(20, 42, 100, 0.1);
    margin-top: -30px;
}

#azad-about-page .mission-card h2 {
    color: #142a64;
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

#azad-about-page .mission-card h2::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background: #e0d3c2;
}

#azad-about-page .mission-card h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--default-color);
}

/* Values Section */
#azad-about-page .values-section {
    padding: 80px 0;
    background-color: white;
}

#azad-about-page .value-card {
    text-align: center;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

#azad-about-page .value-card:hover {
    transform: translateY(-10px);
}

#azad-about-page .value-icon {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #142a64;
    font-size: 2rem;
}

#azad-about-page .value-card h3 {
    color: #142a64;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    #azad-about-page .about-hero {
        padding: 80px 0 60px;
    }
    
    #azad-about-page .about-hero h1 {
        font-size: 2.2rem;
    }
    
    #azad-about-page .mission-card {
        padding: 30px 20px;
    }
}

/* =========================================
   CONTACT PAGE (#azad-contact-page)
   ========================================= */

/* --- Contact Header --- */
#azad-contact-page .contact-header {
    background-image: linear-gradient(rgba(var(--default-color-rgb), 0.85), rgba(var(--default-color-rgb), 0.85)), url('../img/contact.png');
    background-size: cover;
    background-position: center;
    padding: 70px 0;
    text-align: center;
    color: var(--contrast-color);
    position: relative;
    overflow: hidden;
}

#azad-contact-page .contact-header::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(var(--default-color-rgb), 0.8), transparent);
    transform: skewY(-3deg);
    z-index: 1;
}

/* --- Main Contact Section --- */
#azad-contact-page .contact-main {
    direction: rtl;
    padding: 60px 0;
    position: relative;
    margin-top: -50px;
    z-index: 2;
}

#azad-contact-page .contact-layout-wrapper {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    background-color: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(var(--default-color-rgb), 0.1);
    position: relative;
}

/* --- Form Container (Left) --- */
#azad-contact-page .contact-form-container {
    padding: 40px 45px;
    position: relative;
}

#azad-contact-page .contact-form-container > * {
    position: relative;
    z-index: 1;
}

#azad-contact-page .contact-form-container h2 {
    font-size: 1.8em;
    color: var(--default-color);
    margin-bottom: 30px;
    font-weight: 600;
}

#azad-contact-page .form-group {
    position: relative;
    margin-bottom: 35px;
}

#azad-contact-page .contact-form input[type="text"],
#azad-contact-page .contact-form input[type="email"],
#azad-contact-page .contact-form input[type="tel"],
#azad-contact-page .contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--icon-accent);
    padding: 10px 0 10px 0;
    font-size: 1em;
    background-color: transparent;
    transition: border-color 0.3s ease;
    position: relative;
    z-index: 1;
    color: var(--default-color);
}

#azad-contact-page .contact-form input:focus,
#azad-contact-page .contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

#azad-contact-page .form-group .input-label {
    position: absolute;
    top: 10px;
    right: 0;
    font-size: 1em;
    color: var(--icon-accent);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 0;
}

#azad-contact-page .form-group textarea + .input-label {
   top: 10px;
}

#azad-contact-page .contact-form input:focus + .input-label,
#azad-contact-page .contact-form input:not(:placeholder-shown) + .input-label,
#azad-contact-page .contact-form textarea:focus + .input-label,
#azad-contact-page .contact-form textarea:not(:placeholder-shown) + .input-label {
    top: -18px;
    left: 0;
    font-size: 0.8em;
    color: var(--accent-color);
    z-index: 1;
}

#azad-contact-page .contact-form input:focus::placeholder,
#azad-contact-page .contact-form textarea:focus::placeholder {
    color: transparent;
}

#azad-contact-page .contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

#azad-contact-page .submit-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

#azad-contact-page .submit-button:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.2);
}

/* --- Info Container (Right) --- */
#azad-contact-page .contact-info-container {
    background-color: var(--default-color);
    color: var(--contrast-color);
    padding: 40px 45px;
}

#azad-contact-page .contact-info-container h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
    font-weight: 600;
}

#azad-contact-page .info-block {
    margin-bottom: 25px;
}

#azad-contact-page .info-block h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

#azad-contact-page .info-block p {
    margin: 8px 0;
    font-size: 1em;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
}

#azad-contact-page .info-block .icon {
    margin-right: 12px;
    font-size: 1.1em;
    width: 20px;
    text-align: center;
    color: var(--icon-accent);
    padding-top: 3px;
}

#azad-contact-page .info-block h3 .icon {
     padding-top: 0;
}

#azad-contact-page .info-block a {
    color: var(--contrast-color);
}
#azad-contact-page .info-block a:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

#azad-contact-page .map-container {
    margin-top: 20px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--accent-color);
}

#azad-contact-page .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    #azad-contact-page .contact-layout-wrapper {
        grid-template-columns: 1fr;
    }
    
    #azad-contact-page .contact-form-container::before {
        width: 100%;
        height: 200px;
        top: auto;
        bottom: 0;
        opacity: 0.2;
    }
    
    #azad-contact-page .contact-form-container,
    #azad-contact-page .contact-info-container {
        padding: 35px 30px;
    }
}

@media (max-width: 768px) {
    #azad-contact-page .contact-header {
        padding: 50px 0;
    }
    
    #azad-contact-page .contact-form-container h2,
    #azad-contact-page .contact-info-container h2 {
        font-size: 1.6em;
        margin-bottom: 25px;
    }
    
    #azad-contact-page .contact-form-container,
    #azad-contact-page .contact-info-container {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    #azad-contact-page .contact-form-container,
    #azad-contact-page .contact-info-container {
        padding: 25px 20px;
    }
    
    #azad-contact-page .submit-button {
        padding: 10px 30px;
        font-size: 1em;
    }
}

/* =========================================
   BLOG INDEX PAGE (#azad-blog-index)
   ========================================= */

#azad-blog-index .blog-main-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 2.7rem;
    background: linear-gradient(90deg, var(--default-color) 10%, var(--heading-color) 70%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 4px 26px rgba(30, 95, 116, 0.07);
    position: relative;
    display: inline-block;
    padding: 0.6rem 2.6rem 0.7rem 2.6rem;
    border-radius: 42px;
    box-shadow: 0 2px 28px rgba(30, 95, 116, 0.10);
    transition: transform 0.18s, box-shadow 0.18s;
    z-index: 2;
}

#azad-blog-index .blog-main-title::after {
    content: "";
    position: absolute;
    left: 18%;
    bottom: 12px;
    width: 64%;
    height: 7px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--accent-color), var(--heading-color));
    opacity: 0.22;
    z-index: -1;
    filter: blur(1.5px);
}

#azad-blog-index .blog-main-title:hover {
    transform: scale(1.035);
    box-shadow: 0 4px 46px rgba(244, 119, 33, 0.20);
}

#azad-blog-index .blog-post-item {
    margin-bottom: 2.5rem;
    text-align: left;
}

#azad-blog-index .blog-post-item .post-image-link {
    display: block;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

#azad-blog-index .blog-post-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

#azad-blog-index .blog-post-item:hover img {
    transform: scale(1.05);
}

#azad-blog-index .blog-post-item .post-date {
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

#azad-blog-index .blog-post-item .post-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

#azad-blog-index .blog-post-item .post-title a {
    text-decoration: none;
    color: #2c3e50;
    background-image: linear-gradient(transparent 97%, #3498db 3%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.4s, color 0.3s;
}

#azad-blog-index .blog-post-item:hover .post-title a {
    background-size: 100% 100%;
    color: #2980b9;
}

#azad-blog-index .blog-post-item .post-read-more {
    color: #777;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

#azad-blog-index .blog-post-item .post-read-more:hover {
    color: #2c3e50;
}

#azad-blog-index .azad-empty-message {
    padding: 2rem;
    border: 2px dashed #ccc;
    border-radius: 12px;
    background-color: #fdfdfd;
}

/* --- PAGINATION STYLES (Scoped to Blog Index) --- */
#azad-blog-index .pagination {
    --bs-pagination-padding-x: 0;
    --bs-pagination-padding-y: 0;
    --bs-pagination-border-width: 0;
    --bs-pagination-border-radius: 0;
    gap: 0.5rem;
}

#azad-blog-index .pagination .page-link {
    background-color: #f0f0f0;
    color: #333;
    font-weight: 600;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0.5rem;
}

#azad-blog-index .pagination .page-item.active .page-link {
    background-color: #212529;
    color: #fff;
}

#azad-blog-index .pagination .page-item:not(.active) .page-link:hover {
    background-color: #e0e0e0;
}

#azad-blog-index .pagination .page-item.disabled .page-link {
    background-color: #f0f0f0;
    color: #b0b0b0;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    #azad-blog-index .blog-main-title {
        font-size: 2.1rem;
        padding: 0.4rem 1.3rem 0.4rem 1.3rem;
    }
    
    #azad-blog-index .blog-main-title::after {
        bottom: 8px;
        width: 80%;
        left: 10%;
        height: 4px;
    }
    
    #azad-blog-index .blog-post-item img {
        height: 200px;
    }
}


/* =========================================
   BLOG SHOW PAGE (#azad-blog-show)
   ========================================= */

#azad-blog-show .azad-article-container {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

#azad-blog-show .azad-article-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--default-color);
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    line-height: 1.15;
    word-break: break-word;
}

#azad-blog-show .azad-article-excerpt {
    color: #838e9f;
    font-size: 1.16rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-style: italic;
}

#azad-blog-show .azad-article-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    box-shadow: 0 2px 20px rgba(30,95,116,0.13);
}

#azad-blog-show .azad-article-date {
    color: var(--heading-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#azad-blog-show .azad-article-content {
    color: #2c3e50;
    font-size: 1.15rem;
    line-height: 1.75;
    margin-top: 1.6rem;
    unicode-bidi: plaintext;
}

#azad-blog-show .azad-article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 18px 0;
}

/* Sidebar Styles */
#azad-blog-show .azad-sidebar {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 32px rgba(30,95,116,0.11);
    padding: 1.7rem 1.3rem;
    margin-bottom: 2.5rem;
}

#azad-blog-show .azad-sidebar-title {
    font-size: 1.23rem;
    color: var(--default-color);
    font-weight: bold;
    margin-bottom: 1.2rem;
    letter-spacing: 0.6px;
}

#azad-blog-show .azad-recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#azad-blog-show .azad-recent-posts-list li {
    margin-bottom: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

#azad-blog-show .azad-recent-post-link {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.03rem;
    line-height: 1.4;
    transition: color 0.2s;
}

#azad-blog-show .azad-recent-post-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

#azad-blog-show .azad-recent-post-date {
    color: #aaa;
    font-size: 0.85rem;
    margin-right: 3px;
}

#azad-blog-show .azad-recent-post-icon {
    color: var(--accent-color);
    font-size: 1.13rem;
    margin-top: 2px;
}

/* Responsive */
@media (max-width: 991px) {
    #azad-blog-show .azad-article-title { font-size: 1.6rem; }
}

@media (max-width: 767px) {
    #azad-blog-show .azad-article-container { margin-top: 1.1rem; }
    #azad-blog-show .azad-article-title { font-size: 1.11rem; }
    #azad-blog-show .azad-sidebar { margin-top: 2.3rem; }
}


/* =========================================
   TRAINING HOME & HEADER (#azad-training-home)
   ========================================= */

#azad-training-home .mm {
    height: 40px;
}

/* --- Header Styles (Specific to Training Center) --- */

/* Hidden container that will appear on hover (Mega Menu styles) */
#azad-training-home .hover-container-wrapper {
    position: fixed;
    top: 115px;
    left: 0;
    width: 100%;
    z-index: 999;
    pointer-events: none;
}

#azad-training-home .hover-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: 
        max-height 0.4s ease-in-out,
        opacity 0.3s ease-in-out,
        transform 0.3s ease-in-out;
}

/* Background colored sections */
#azad-training-home .dropdown-bg-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--default-color);
    z-index: -1;
}

#azad-training-home .dropdown-bg-bottom {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--background-color);
    z-index: -1;
}

/* Nav item hover trigger */
#azad-training-home .nav-item.hover-trigger:hover .hover-container {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Grid layout for categories */
#azad-training-home .categories-header-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 15px;
}

/* Diagonal card styling */
#azad-training-home .diagonal-header-card {
    width: 100%;
    height: 80px;
    position: relative;
    background: var(--default-color);
    clip-path: polygon(
        15% 0%,
        100% 0%,
        100% 85%,
        85% 100%,
        0% 100%,
        0% 15%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

#azad-training-home .category-header-card:hover .diagonal-header-card {
    background: var(--heading-color);
    transform: translateY(-3px);
}

#azad-training-home .diagonal-header-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inherit;
    transition: all 0.3s ease;
}

#azad-training-home .category-header-card:hover img {
    transform: scale(1.03);
}

/* Category text */
#azad-training-home .category-header-name {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--default-color);
    margin-top: 8px;
}

/* Nav item with dropdown arrow */
#azad-training-home .nav-item.hover-trigger {
    position: relative;
}

#azad-training-home .dropdown-icon {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

#azad-training-home .nav-item.hover-trigger:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    #azad-training-home .hover-container {
        width: 90%;
    }
}

@media (max-width: 992px) {
    #azad-training-home .categories-header-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    #azad-training-home .diagonal-header-card {
        height: 70px;
    }
}

@media (max-width: 768px) {
    #azad-training-home .hover-container-wrapper {
        display: none;
    }
}

/* =========================================
   TRAINING HERO SECTION (#azad-training-home)
   ========================================= */

#azad-training-home .new-hero-layout {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: white;
    background-color: #0a192f;
}

#azad-training-home .floating-btn {
    display: none; /* Hidden by default */
}

/* --- Desktop Styles (min-width: 992px) --- */
@media (min-width: 992px) {
    #azad-training-home .new-hero-layout {
        height: 75vh;
        min-height: 600px;
    }

    #azad-training-home .hero-video-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    #azad-training-home .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #azad-training-home .hero-content-row {
        position: relative;
        z-index: 3;
    }

    #azad-training-home .text-content-area {
        padding-right: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #azad-training-home .text-content-area.rtl {
        direction: rtl;
        text-align: right;
    }

    #azad-training-home .text-content-area.ltr {
        direction: ltr;
        text-align: left;
    }

    #azad-training-home .arabic-text-box-styled {
        color: #ffffff;
    }

    #azad-training-home .hero-main-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
        font-weight: 700;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        color: #ffffff;
    }

    #azad-training-home .hero-subtitle {
        font-size: 1.15rem;
        font-weight: 400;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.85);
        max-width: 450px;
    }

    /* Stats Styling (Desktop) */
    #azad-training-home .hero-stats-area {
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(4px);
        border-radius: 8px;
        padding: 1rem 1.5rem;
        max-width: 450px;
    }

    #azad-training-home .stats-container-styled {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #azad-training-home .stat-item-styled {
        text-align: center;
        padding: 0 0.5rem;
    }

    #azad-training-home .stat-number-styled {
        font-size: 1.4rem;
        font-weight: 600;
        color: #ffffff;
        margin-bottom: 0.25rem;
    }

    #azad-training-home .stat-label-styled {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.8);
        text-transform: uppercase;
    }

    #azad-training-home .divider-styled {
        width: 1px;
        height: 30px;
        background-color: rgba(255, 255, 255, 0.25);
    }

    /* Button Styling */
    #azad-training-home .hero-button-styled {
        padding: 0.8rem 2.2rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    #azad-training-home .hero-button-styled:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    /* New Button Container Styles */
    #azad-training-home .hero-btn-container {
        display: flex;
        gap: 1rem;
        margin-top: 2rem;
    }

    #azad-training-home .hero-primary-btn {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        border: none;
        border-radius: 4px;
        padding: 0.8rem 1.5rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #azad-training-home .hero-secondary-btn {
        background-color: transparent;
        color: var(--contrast-color);
        border: 2px solid var(--contrast-color);
        border-radius: 4px;
        padding: 0.8rem 1.5rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #azad-training-home .hero-primary-btn:hover {
        color: var(--default-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    #azad-training-home .hero-secondary-btn:hover {
        background-color: rgba(255,255,255,0.1);
    }

    #azad-training-home .hero-tertiary-btn {
        background-color: rgba(255, 255, 255, 0.12);
        color: var(--contrast-color);
        border: 2px solid var(--contrast-color);
        border-radius: 4px;
        padding: 0.8rem 1.5rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #azad-training-home .hero-tertiary-btn:hover {
        background-color: var(--contrast-color);
        color: var(--default-color);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }

    /* Swiper Area Styling */
    #azad-training-home .swiper-area {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #azad-training-home .heroImageSwiper {
        width: 100%;
        max-width: 600px;
        height: auto;
        aspect-ratio: 16 / 10;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    #azad-training-home .hero-swiper-slide {
        position: relative;
        background-color: #333;
    }

    #azad-training-home .hero-swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #azad-training-home .slide-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
        color: white;
        padding: 1.5rem 1rem 1rem 1rem;
        font-size: 0.9rem;
        font-weight: 500;
        text-align: right;
        box-sizing: border-box;
    }

    #azad-training-home .heroImageSwiper .swiper-pagination-bullet {
        background-color: rgba(255, 255, 255, 0.7);
        opacity: 1;
    }

    #azad-training-home .heroImageSwiper .swiper-pagination-bullet-active {
        background-color: #ffffff;
    }

    #azad-training-home .heroImageSwiper .swiper-button-next,
    #azad-training-home .heroImageSwiper .swiper-button-prev {
        color: #ffffff;
        background-color: rgba(0,0,0,0.3);
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    #azad-training-home .heroImageSwiper .swiper-button-next::after,
    #azad-training-home .heroImageSwiper .swiper-button-prev::after {
        font-size: 0.9rem;
    }
}

/* --- Mobile/Tablet Styles (max-width: 991.98px) --- */
@media (max-width: 991.98px) {
    #azad-training-home .new-hero-layout {
        position: relative;
        height: auto;
        min-height: 70vh;
        padding-top: 100px;
        padding-bottom: 60px;
        display: flex;
        align-items: center;
        text-align: center;
        /* Adjusted path to work from css folder */
        background: url('../img/new-images/hero-bg.png') center center / cover no-repeat;
        background-color: var(--accent-color);
        z-index: 1;
    }

    #azad-training-home .new-hero-layout::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 25, 47, 0.7);
        z-index: 2;
    }

    #azad-training-home .new-hero-layout > * {
        position: relative;
        z-index: 3;
    }

    #azad-training-home .hero-content-row {
        align-items: center;
    }

    #azad-training-home .text-content-area {
        order: 1;
        margin-bottom: 2rem;
        color: #ffffff;
    }

    #azad-training-home .swiper-area {
        order: 2;
    }

    #azad-training-home .hero-main-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        text-shadow: none;
    }

    #azad-training-home .hero-subtitle {
        display: block;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 1.5rem;
    }

    #azad-training-home .hero-stats-area {
        padding: 0;
        max-width: 100%;
    }

    #azad-training-home .stats-container-styled {
        flex-direction: column;
        align-items: center;
    }

    #azad-training-home .stat-item-styled {
        margin-bottom: 1rem;
        padding: 0;
    }

    #azad-training-home .divider-styled {
        display: none;
    }

    #azad-training-home .stat-number-styled {
        font-size: 1.8rem;
    }

    #azad-training-home .stat-label-styled {
        font-size: 0.9rem;
    }

    #azad-training-home .hero-btn-container {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    #azad-training-home .hero-primary-btn, 
    #azad-training-home .hero-secondary-btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    #azad-training-home .heroImageSwiper {
        width: 90%;
        max-width: 450px;
        margin: 0 auto;
        aspect-ratio: 16/11;
        border-radius: 10px;
    }

    #azad-training-home .slide-caption {
        font-size: 0.8rem;
        padding: 1rem 0.8rem 0.8rem 0.8rem;
    }

    #azad-training-home .heroImageSwiper .swiper-button-next,
    #azad-training-home .heroImageSwiper .swiper-button-prev {
        display: none;
    }
}

/* Fixed Download Button */
#azad-training-home .fixed-download-btn-container {
    position: relative;
    bottom: 25%;
    left: 0;
    z-index: 1050;
}

#azad-training-home .download-btn-arabic {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--default-color);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

#azad-training-home .download-btn-arabic:hover {
    background-color: var(--accent-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Desktop: Show normal hero-btn-container */
@media (min-width: 992px) {
    #azad-training-home .hero-btn-container { display: flex; }
    #azad-training-home .floating-btn, 
    #azad-training-home .floating-btn-menu { display: none !important; }
}

/* Mobile/Tablet: Hide normal hero-btn-container, show floating FAB */
@media (max-width: 991.98px) {
    #azad-training-home .hero-btn-container { display: none !important; }
    
    #azad-training-home .floating-btn {
        display: flex !important;
        position: fixed;
        bottom: 20px;
        left: 24px;
        z-index: 1002;
        background: var(--accent-color);
        color: var(--contrast-color);
        border-radius: 50%;
        width: 56px; height: 56px;
        align-items: center; justify-content: center;
        font-size: 2rem;
        box-shadow: 0 4px 18px rgba(0,0,0,0.2);
        cursor: pointer;
        transition: background 0.2s, opacity 0.3s ease, transform 0.3s ease;
        opacity: 0;
        transform: translateY(100px);
        pointer-events: none;
    }

    #azad-training-home .floating-btn.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    #azad-training-home .floating-btn:hover {
        background: var(--nav-hover-color);
    }

    #azad-training-home .floating-btn-menu {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        bottom: 96px;
        left: 24px;
        z-index: 1003;
        gap: 0.5rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px);
        transition: opacity 0.25s, transform 0.25s;
    }

    #azad-training-home .floating-btn-menu.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    #azad-training-home .floating-btn-menu a {
        min-width: 180px;
        padding: 0.7rem 1.3rem;
        border-radius: 8px;
        background: var(--accent-color);
        color: var(--contrast-color);
        text-align: center;
        text-decoration: none;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border: none;
        font-size: 1rem;
        transition: background 0.2s, color 0.2s;
        z-index: 50000;
    }

    #azad-training-home .floating-btn-menu a.btn-blue {
        background: var(--default-color);
        color: var(--contrast-color);
    }
    #azad-training-home .floating-btn-menu a.btn-outline {
        background:var(--background-color);
        color: var(--default-color);
        border: 2px solid var(--default-color);
    }
    #azad-training-home .floating-btn-menu a.btn-orange {
        background: var(--accent-color);
        color: var(--contrast-color);
    }
    #azad-training-home .floating-btn-menu a.btn-light {
        background: var(--surface-color);
        color: var(--default-color);
        border: 2px solid var(--default-color);
    }
    #azad-training-home .floating-btn-menu a:hover {
        background: var(--nav-hover-color);
        color: var(--surface-color);
    }
}

/* =========================================
   SOON COURSES SECTION (#azad-training-home)
   ========================================= */

#azad-training-home .course-swiper-container {
    direction: rtl;
    width: 100%;
    padding: 40px 0;
    position: relative;
}

#azad-training-home .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

#azad-training-home .course-card {
    width: 100%;
    height: 360px;
    position: relative;
    margin-bottom: 15px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#azad-training-home .swiper-slide:hover .course-card {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

#azad-training-home .course-image-container {
    height: 70%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

#azad-training-home .course-image-container::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 1;
}

#azad-training-home .course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

#azad-training-home .swiper-slide:hover .course-card img {
    transform: scale(1.1);
}

#azad-training-home .course-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    z-index: 2;
    color: white;
}

#azad-training-home .course-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

#azad-training-home .course-title {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

#azad-training-home .course-details {
    height: 30%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

#azad-training-home .course-expertise {
    font-size: 13px;
    color: #666;
    margin: 5px 0;
    display: flex;
    align-items: center;
}

#azad-training-home .course-expertise i {
    margin-left: 5px;
    color: var(--default-color);
}

/* Navigation styles */
#azad-training-home .course-swiper-container .swiper-button-next,
#azad-training-home .course-swiper-container .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    color: var(--default-color);
    transition: all 0.3s ease;
}

#azad-training-home .course-swiper-container .swiper-button-next:hover,
#azad-training-home .course-swiper-container .swiper-button-prev:hover {
    background: var(--default-color);
    color: white;
    transform: scale(1.1);
}

#azad-training-home .course-swiper-container .swiper-button-next::after,
#azad-training-home .course-swiper-container .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

#azad-training-home .course-swiper-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
}

#azad-training-home .course-swiper-container .swiper-pagination-bullet-active {
    background: var(--default-color);
}

/* Professional Arabic Title Section */
#azad-training-home .section-title-container {
    position: relative;
    width: 100%;
    margin: 2rem 0 3rem;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Right align for RTL */
    direction: rtl;
}

#azad-training-home .title-decoration {
    width: 60px;
    height: 4px;
    background-color: var(--default-color);
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
    margin-left: 15px;
}

#azad-training-home .section-title-arabic {
    color: var(--heading-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding: 0 15px;
}

#azad-training-home .title-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(
        to left,
        var(--default-color) 0%,
        rgba(0,0,0,0.1) 100%
    );
}

/* Optional: Add subtle background pattern */
#azad-training-home .section-title-container::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    /* Adjusted path for CSS file */
    background-image: url('../img/patterns/arabesque-pattern.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: -1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #azad-training-home .course-card {
        height: 280px;
    }
    
    #azad-training-home .course-name {
        font-size: 16px;
    }
    
    #azad-training-home .course-title {
        font-size: 13px;
    }

    #azad-training-home .section-title-arabic {
        font-size: 1.8rem;
    }
    
    #azad-training-home .title-decoration {
        width: 40px;
        height: 3px;
    }
}

@media (max-width: 576px) {
    #azad-training-home .section-title-arabic {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    
    #azad-training-home .section-title-container::before {
        width: 100px;
        height: 100px;
    }
}

/* =========================================
   TRAINING CATEGORIES SECTION (#azad-training-home)
   ========================================= */

#azad-training-home .category-grid-section {
    direction: rtl;
    padding: 40px 0;
}

#azad-training-home .category-grid-container {
    width: 100%;
    position: relative;
}

#azad-training-home .category-col {
    padding: 0 20px;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#azad-training-home .diagonal-card {
    width: 100%;
    height: 170px;
    background: var(--surface-color);
    clip-path: polygon(0% 10%, 10% 0%, 90% 0%, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0% 90%);
    box-shadow: 0 5px 15px var(--default-color);
    transition: 0.3s ease;
    overflow: hidden;
}

#azad-training-home .diagonal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inherit;
    transition: 0.3s ease;
}

#azad-training-home .diagonal-card:hover {
    background: var(--heading-color);
    transform: translateY(-5px);
}

#azad-training-home .diagonal-card:hover img {
    transform: scale(1.05);
}

#azad-training-home .category-divider {
    width: 60%;
    height: 1px;
    background-color: var(--default-color);
    opacity: 0.3;
    margin: 10px auto;
    transition: 0.3s ease;
}

#azad-training-home .category-link:hover .category-divider {
    opacity: 0.7;
    background-color: var(--heading-color);
}

#azad-training-home .know-more-btn {
    background: var(--default-color);
    color: #fff;
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

#azad-training-home .know-more-btn:hover {
    color: var(--surface-color);
    /* background: var(--surface-color); */
}

/* Bootstrap-like 4-column layout adjustments for category-col */
@media (min-width: 1200px) {
    #azad-training-home .category-col {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #azad-training-home .category-col {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #azad-training-home .category-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    #azad-training-home .category-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* =========================================
   COURSES OF CATEGORY PAGE (#azad-category-courses)
   ========================================= */

#azad-category-courses .mm {
    height: 40px;
}

#azad-category-courses .course-soon-container {
    direction: rtl;
    width: 100%;
    padding: 40px 0;
    position: relative;
    background-color: var(--background-color);
}

/* Clip Path Section */
#azad-category-courses .clip-path-section {
    position: relative;
    width: 100%;
    height: 100px;
    background: none;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
    background-color: transparent;
    border: 4px solid var(--default-color);
    border-left: 0;
    margin-bottom: 3rem;
    overflow: hidden;
}

#azad-category-courses .clip-path-section::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background-image: url('../img/new-images/support1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    filter: blur(2px);
    z-index: 1;
}

#azad-category-courses .clip-path-title {
    position: relative;
    z-index: 2;
    color: var(--default-color);
    font-size: 2rem;
    font-weight: bold;
    text-align: right;
    margin: 0;
    padding-top: 20px;
}

/* Course Cards Grid */
#azad-category-courses .course-grid .col {
    display: flex;
}

#azad-category-courses .course-card-wrapper {
    width: 100%;
    flex: 1;
}

/* Course Card Styles */
#azad-category-courses .course-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#azad-category-courses .course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #azad-category-courses .clip-path-title {
        font-size: 1.5rem;
        padding-top: 15px;
    }
    
    #azad-category-courses .clip-path-section::before {
        width: 50%;
    }
}


/* =========================================
   COURSE CARD INNER (Global Component)
   ========================================= */

.course-card {
    height: 320px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 38px;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(30,95,116,0.12), 0 1.5px 2.5px 0 rgba(30,95,116,0.06);
    transition: transform 0.28s cubic-bezier(.4,2,.6,1), box-shadow 0.28s;
    margin: 10px;
    position: relative;
}

.course-card:hover {
    transform: translateY(-7px) scale(1.03);
    box-shadow: 0 10px 36px 0 rgba(30,95,116,0.22), 0 4px 14px 0 rgba(30,95,116,0.09);
    z-index: 3;
}

.course-icon-container {
    position: relative;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(135deg, #d1ebf7 0%, #f5f7fa 100%);
    border-bottom: 2px solid #e6eef4;
}

.course-icon-bubble {
    background: linear-gradient(120deg, var(--default-color), #45b3cc 90%);
    box-shadow: 0 8px 28px 0 rgba(30,95,116,0.16), 0 1.5px 2.5px 0 rgba(30,95,116,0.08);
    border-radius: 50%;
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    transition: box-shadow 0.25s, transform 0.25s;
    border: 5px solid #fff;
    position: relative;
}

.course-card:hover .course-icon-bubble {
    box-shadow: 0 16px 44px 0 rgba(30,95,116,0.19), 0 2px 8px 0 rgba(30,95,116,0.10);
    transform: scale(1.08) rotate(-3deg);
}

.course-icon {
    font-size: 2.6rem;
    color: #fff;
    text-shadow: 0 1.5px 12px rgba(0,0,0,0.08);
}

.course-info {
    position: absolute;
    left: 0; right: 0; bottom: -1.2em;
    text-align: center;
    padding: 0 1.1em;
}

.course-name {
    font-size: 1.12rem;
    font-weight: bold;
    color: var(--default-color);
    margin: 0 0 0.3em 0;
    text-shadow: 1px 2px 8px rgba(30,95,116,0.05);
}

.course-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 20px 20px 20px;
}

.course-expertise {
    font-size: 0.82rem;
    color: #4fa4d6;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.course-expertise i {
    margin-left: 7px;
    color: var(--default-color,#1E5F74);
    font-size: 1.1em;
}

.course-card .know-more-btn {
    background: linear-gradient(90deg, var(--default-color), #45b3cc 90%);
    color: #fff;
    padding: 10px 0;
    font-size: 1rem;
    border-radius: 28px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.22s, color 0.22s;
    border: none;
    margin-top: 15px;
    width: 100%;
    box-shadow: 0 1.5px 8px rgba(30,95,116,0.06);
}

.course-card .know-more-btn:hover {
    background: linear-gradient(90deg, #45b3cc 0, var(--default-color) 100%);
    color: #fff;
    letter-spacing: 0.04em;
}

.course-card .know-more-btn.btn-unavailable {
    background: #b3bac2;
    color: #fff;
}

.course-card .know-more-btn.btn-unavailable:hover {
    background: var(--default-color,#1E5F74);
}

@media (max-width: 540px) {
    .course-card { height: auto; min-width: 250px;}
    .course-icon-container { height: 90px;}
    .course-icon-bubble { width: 62px; height: 62px; margin-top: 10px;}
    .course-details { padding: 14px 10px 10px 10px;}
}



/* =========================================
   BOOK COURSE PAGE (#azad-book-course-page)
   ========================================= */

#azad-book-course-page .book-course-main {
    direction: rtl;
    background-color: var(--surface-color);
}

#azad-book-course-page .course-details-card {
    border: 1px solid var(--default-color);
}

#azad-book-course-page .course-img-top {
    height: 220px; 
    object-fit: cover;
}

#azad-book-course-page .course-img-placeholder {
    height: 220px; 
    background: linear-gradient(135deg, var(--azad-gradient-1-start), var(--azad-gradient-1-end)); 
    color: white;
}

#azad-book-course-page .course-title-text {
    color: var(--default-color);
}

#azad-book-course-page .booking-form-title {
    color: var(--heading-color);
}

#azad-book-course-page .print-btn {
    border: 1px solid var(--default-color); 
    color: var(--default-color);
}

/* Custom checkbox styling */
#azad-book-course-page .custom-checkbox {
    width: 1.3rem; 
    height: 1.3rem; 
    accent-color: var(--accent-color);
}

#azad-book-course-page .terms-label {
    cursor: pointer; 
    font-size: 1rem;
}

#azad-book-course-page .btn-submit-booking {
    background: var(--accent-color); 
    color: white;
}

#azad-book-course-page .btn-submit-booking:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#azad-book-course-page .back-link {
    color: var(--text-accent);
}

/* Print Styles specific to this page */
@media print {
    body * {
        visibility: hidden;
    }
    #azad-book-course-page .card-body, 
    #azad-book-course-page .card-body * {
        visibility: visible;
    }
    #azad-book-course-page .card-body {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        padding: 0 !important;
    }
    #azad-book-course-page .btn,
    #azad-book-course-page header,
    #azad-book-course-page footer {
        display: none !important;
    }
}


/* =========================================
   CONSULTATION HOME PAGE (#azad-consultation-home)
   ========================================= */

#azad-consultation-home .mm {
    height: 40px;
}

/* --- Hero Section Styles --- */
#azad-consultation-home .hero-academy {
    position: relative;
    width: 100%;
    padding: 50px 20px 10px; /* Top padding to clear header */
    margin-top: -20px; /* Adjust if needed to prevent header gap */
}

#azad-consultation-home .hero-academy .hero-image-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 60vh;
    min-height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden; /* Changed to hidden to contain border radius */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#azad-consultation-home .hero-academy .hero-image {
    height: 100%;
    /* Default background, can be overridden inline for dynamic images */
    background: url("../img/new-images/cons-section.jpg") no-repeat center / cover;
    position: relative;
    border-radius: 20px; /* Added border radius to image */
}

#azad-consultation-home .hero-academy .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 20px; /* Added border radius to overlay */
    /* Added Flexbox to center content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Cloudy Effect */
#azad-consultation-home .hero-academy .cloud-effect {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(80px);
    z-index: 2; /* Below text, above overlay */
}

/* Floating Logo */
#azad-consultation-home .hero-academy .floating-logo {
    position: absolute;
    top: 40%;
    left: 10%;
    z-index: 3;
    width: 250px;
    height: 150px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* Title Styles - Now within the overlay */
#azad-consultation-home .hero-academy .hero-title {
    color: white;
    z-index: 3; /* Above overlay */
    width: 90%;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#azad-consultation-home .hero-academy .hero-title h1 {
    font-size: 3rem;
    margin: 0 0 15px 0; /* Added bottom margin */
    font-weight: bold;
    line-height: 1.2;
}

/* Description Text - Now within the overlay */
#azad-consultation-home .hero-academy .hero-description {
    max-width: 700px;
    font-size: 1.1rem;
    color: white; /* Changed to white */
    z-index: 3; /* Above overlay */
    padding: 0 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #azad-consultation-home .hero-academy {
        padding: 100px 15px 80px;
    }

    #azad-consultation-home .hero-academy .hero-image-container {
        height: 50vh;
        min-height: 300px;
        border-radius: 15px;
    }

    #azad-consultation-home .hero-academy .hero-image,
    #azad-consultation-home .hero-academy .overlay {
        border-radius: 15px;
    }

    #azad-consultation-home .hero-academy .hero-title h1 {
        font-size: 2rem;
    }

    #azad-consultation-home .hero-academy .floating-logo {
        width: 80px;
        top: 20px;
        left: 20px;
    }

    #azad-consultation-home .hero-academy .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #azad-consultation-home .hero-academy .hero-title h1 {
        font-size: 1.8rem;
    }

    #azad-consultation-home .hero-academy .hero-image-container,
    #azad-consultation-home .hero-academy .hero-image,
    #azad-consultation-home .hero-academy .overlay {
        border-radius: 10px;
    }
}

/* =========================================
   SERVICE TYPE PARTIAL (Global)
   ========================================= */

.type-service {
    padding: 10px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

/* Image Style */
.service-image {
    position: relative;
    padding: 15px 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
}

.service-image:hover {
    transform: scale(1.01);
}

.service-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: fill;
    border-radius: 16px;
    aspect-ratio: 16 / 9;
    transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
    .service-image img {
        max-height: 260px;
        aspect-ratio: 16 / 10;
    }
}

/* Content Box with Gradient */
.gradient-bg {
    background: linear-gradient(135deg, rgba(var(--heading-color-rgb), 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Title */
.service-title {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, #0f172a 0%, #334155 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 15px;
}

.title-decoration {
    width: 60px;
    height: 4px;
    /* Note: Dynamic background color is handled inline in blade */
    background: linear-gradient(90deg, var(--default-color) 0%, transparent 100%); 
    margin-top: -5px;
}

/* Description */
.service-description {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Dots List */
.dots-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dot-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    /* Note: Dynamic border color is handled inline in blade */
    border-left: 3px solid var(--default-color);
    border-radius: 8px;
    background-color: rgba(255,255,255,0.6);
    transition: 0.3s ease;
}

.dot-item:hover {
    transform: translateX(-5px);
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dot-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: relative;
}

.dot-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 5px;
}

.dot-text {
    font-size: 16px;
    color: #334155;
    font-weight: 700;
}

/* Button */
.service-btn {
    background: var(--accent-color); /* Fallback solid color */
    background: linear-gradient(
        135deg, 
        var(--default-color) 0%, 
        color-mix(in srgb, var(--accent-color), transparent 20%) 100%
    );
        
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

/* Animation - smooth */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.type-service.active .service-content {
    animation: fadeInUp 0.6s ease-out forwards;
}

.type-service.active .service-image {
    animation: fadeInUp 0.6s ease-out 0.1s forwards;
}

/* Responsive Tweaks */
@media (max-width: 991.98px) {
    .type-service {
        padding: 80px 0;
    }

    .service-title {
        font-size: 2.2rem;
    }

    .gradient-bg {
        padding: 30px;
        text-align: center;
    }

    .title-decoration {
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .type-service {
        padding: 60px 0;
    }

    .service-title {
        font-size: 1.6rem;
    }

    .gradient-bg {
        padding: 20px;
    }

    .dot-text {
        font-size: 14px;
    }

    .service-btn {
        font-size: 0.9rem;
        padding: 12px 28px;
    }
}

/* =========================================
   EDITING HOME PAGE (#azad-editting-home)
   ========================================= */

#azad-editting-home .mm {
    height: 40px;
}

/* --- Hero Section Styles (Inherited structure but scoped if customization needed) --- */
#azad-editting-home .hero-academy {
    position: relative;
    width: 100%;
    padding: 50px 20px 10px; /* Top padding to clear header */
    margin-top: -20px; /* Adjust if needed to prevent header gap */
}

#azad-editting-home .hero-academy .hero-image-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 60vh;
    min-height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#azad-editting-home .hero-academy .hero-image {
    height: 100%;
    /* Default background, can be overridden inline */
    background: url("../img/new-images/cons-section.jpg") no-repeat center / cover;
    position: relative;
    border-radius: 20px;
}

#azad-editting-home .hero-academy .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Cloudy Effect */
#azad-editting-home .hero-academy .cloud-effect {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(80px);
    z-index: 2;
}

/* Floating Logo */
#azad-editting-home .hero-academy .floating-logo {
    position: absolute;
    top: 40%;
    left: 10%;
    z-index: 3;
    width: 250px;
    height: 150px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

/* Title Styles */
#azad-editting-home .hero-academy .hero-title {
    color: white;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#azad-editting-home .hero-academy .hero-title h1 {
    font-size: 3rem;
    margin: 0 0 15px 0;
    font-weight: bold;
    line-height: 1.2;
}

/* Description Text */
#azad-editting-home .hero-academy .hero-description {
    max-width: 700px;
    font-size: 1.1rem;
    color: white;
    z-index: 3;
    padding: 0 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #azad-editting-home .hero-academy {
        padding: 100px 15px 80px;
    }

    #azad-editting-home .hero-academy .hero-image-container {
        height: 50vh;
        min-height: 300px;
        border-radius: 15px;
    }

    #azad-editting-home .hero-academy .hero-image,
    #azad-editting-home .hero-academy .overlay {
        border-radius: 15px;
    }

    #azad-editting-home .hero-academy .hero-title h1 {
        font-size: 2rem;
    }

    #azad-editting-home .hero-academy .floating-logo {
        width: 80px;
        top: 20px;
        left: 20px;
    }

    #azad-editting-home .hero-academy .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #azad-editting-home .hero-academy .hero-title h1 {
        font-size: 1.8rem;
    }

    #azad-editting-home .hero-academy .hero-image-container,
    #azad-editting-home .hero-academy .hero-image,
    #azad-editting-home .hero-academy .overlay {
        border-radius: 10px;
    }
}


/* =========================================
   SHARED HERO STYLES (Consultation, Editing, Project Management)
   ========================================= */

/* Scoping for all three pages */
#azad-consultation-home .mm,
#azad-editting-home .mm,
#azad-project-management-home .mm {
    height: 40px;
}

#azad-consultation-home .hero-academy,
#azad-editting-home .hero-academy,
#azad-project-management-home .hero-academy {
    position: relative;
    width: 100%;
    padding: 50px 20px 10px;
    margin-top: -20px;
}

#azad-consultation-home .hero-image-container,
#azad-editting-home .hero-image-container,
#azad-project-management-home .hero-image-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 60vh;
    min-height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#azad-consultation-home .hero-image,
#azad-editting-home .hero-image,
#azad-project-management-home .hero-image {
    height: 100%;
    /* Default background, overridden inline */
    background: url("../img/new-images/cons-section.jpg") no-repeat center / cover;
    position: relative;
    border-radius: 20px;
}

#azad-consultation-home .overlay,
#azad-editting-home .overlay,
#azad-project-management-home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#azad-consultation-home .cloud-effect,
#azad-editting-home .cloud-effect,
#azad-project-management-home .cloud-effect {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    filter: blur(80px);
    z-index: 2;
}

#azad-consultation-home .hero-title,
#azad-editting-home .hero-title,
#azad-project-management-home .hero-title {
    color: white;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#azad-consultation-home .hero-title h1,
#azad-editting-home .hero-title h1,
#azad-project-management-home .hero-title h1 {
    font-size: 3rem;
    margin: 0 0 15px 0;
    font-weight: bold;
    line-height: 1.2;
}

#azad-consultation-home .hero-description,
#azad-editting-home .hero-description,
#azad-project-management-home .hero-description {
    max-width: 700px;
    font-size: 1.1rem;
    color: white;
    z-index: 3;
    padding: 0 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #azad-consultation-home .hero-academy,
    #azad-editting-home .hero-academy,
    #azad-project-management-home .hero-academy {
        padding: 100px 15px 80px;
    }

    #azad-consultation-home .hero-image-container,
    #azad-editting-home .hero-image-container,
    #azad-project-management-home .hero-image-container {
        height: 50vh;
        min-height: 300px;
        border-radius: 15px;
    }

    #azad-consultation-home .hero-title h1,
    #azad-editting-home .hero-title h1,
    #azad-project-management-home .hero-title h1 {
        font-size: 2rem;
    }

    #azad-consultation-home .hero-description,
    #azad-editting-home .hero-description,
    #azad-project-management-home .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #azad-consultation-home .hero-title h1,
    #azad-editting-home .hero-title h1,
    #azad-project-management-home .hero-title h1 {
        font-size: 1.8rem;
    }

    #azad-consultation-home .hero-image-container,
    #azad-editting-home .hero-image-container,
    #azad-project-management-home .hero-image-container {
        border-radius: 10px;
    }
}


/* =========================================
   PROJECT MANAGEMENT CONTACT FORM (#azad-project-management-home)
   ========================================= */

#azad-project-management-home .services-contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#azad-project-management-home .services-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    border-left: 5px solid var(--default-color); /* Changed from --primary-color to match system */
    transition: transform 0.3s ease;
}

#azad-project-management-home .services-card:hover {
    transform: translateY(-5px);
}

#azad-project-management-home .services-card .icon {
    font-size: 50px;
    color: var(--default-color);
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(30,95,116,0.1) 0%, rgba(30,95,116,0.05) 100%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

#azad-project-management-home .services-card h3 {
    color: var(--heading-color);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

#azad-project-management-home .services-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--default-color);
}

#azad-project-management-home .services-card p {
    color: #555;
    line-height: 1.8;
}

#azad-project-management-home .contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 5px solid var(--default-color);
}

#azad-project-management-home .contact-form-card h3 {
    color: var(--heading-color);
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

#azad-project-management-home .contact-form-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--default-color);
}

#azad-project-management-home .form-group {
    margin-bottom: 25px;
    position: relative;
}

#azad-project-management-home .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

#azad-project-management-home .form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

#azad-project-management-home .form-control:focus {
    border-color: var(--default-color);
    box-shadow: 0 0 0 3px rgba(30, 95, 116, 0.1);
    background-color: white;
}

#azad-project-management-home .submit-btn {
    background: linear-gradient(135deg, var(--default-color) 0%, var(--default-color) 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 15px rgba(30, 95, 116, 0.2);
    position: relative;
    overflow: hidden;
}

#azad-project-management-home .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 95, 116, 0.3);
}

#azad-project-management-home .submit-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all 0.3s;
}

#azad-project-management-home .submit-btn:hover::after {
    left: 100%;
}

/* Floating labels effect */
#azad-project-management-home .form-group.focused label {
    color: var(--default-color);
}

/* Form icons */
#azad-project-management-home .input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

#azad-project-management-home .form-control:focus ~ .input-icon {
    color: var(--default-color);
}

@media (max-width: 768px) {
    #azad-project-management-home .services-card, 
    #azad-project-management-home .contact-form-card {
        padding: 30px;
    }
    
    #azad-project-management-home .services-card .icon {
        font-size: 40px;
        width: 70px;
        height: 70px;
    }
}


/* =========================================
   WHATSAPP FLOATING BUTTON (Global)
   ========================================= */

.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;              /* 👈 Left side */
    right: auto;             /* Make sure it's not stuck to the right */
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;

    /* Initial State (Hidden) */
    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
}

/* When JS adds .visible (after scroll) */
.whatsapp-floating.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hover state */
.whatsapp-floating:hover {
    background-color: #20b858;
    color: #fff;
    transform: translateY(-5px);
}

/* Pulse Animation Ring */
.whatsapp-floating::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.7;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Icon alignment fix inside circle */
.whatsapp-floating i {
    line-height: 1;
    display: inline-block;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .whatsapp-floating {
        bottom: 20px;
        left: 20px;   /* 👈 Also left on mobile */
        right: auto;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* =========================================
   AUTH MODAL (Global Partial)
   ========================================= */

/* --- Avatar Trigger in Navbar --- */
.user-avatar-trigger {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-color); /* Orange background */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #fff; /* White ring for separation */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.user-avatar-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-initials {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Status Dot (Green dot indicating online/active) */
.status-dot {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border: 2px solid #fff;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
}

/* --- Modal Styling --- */
.profile-modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Big Avatar in Modal */
.profile-modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid #fff;
}

.profile-modal-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--default-color);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid #fff;
}

/* --- Menu Items --- */
.profile-menu {
    padding-bottom: 10px;
}

.profile-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
    border-left: 3px solid transparent; /* Hover marker */
}

.profile-item:hover {
    background-color: #f8f9fa;
    color: var(--default-color);
    border-left-color: var(--accent-color); /* Orange marker on hover */
}

/* Icon Boxes */
.icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Color Utilities for Icons */
.bg-light-accent { background-color: rgba(244, 119, 33, 0.1); }
.text-accent { color: var(--accent-color); }

.bg-light-primary { background-color: rgba(30, 95, 116, 0.1); }
.text-primary { color: var(--default-color); }

.bg-light-info { background-color: rgba(13, 202, 240, 0.1); }
.text-info { color: #0dcaf0; }

.bg-light-danger { background-color: rgba(220, 53, 69, 0.1); }
.text-danger { color: #dc3545; }


/* =========================================
   SMALL HELP WIDGET (Compact Card)
   ========================================= */

#azad-home-page .azad-help-card {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 290px; /* Small width */
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 9990;
    font-family: var(--default-font);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy animation */
    pointer-events: none;
    border: 1px solid rgba(0,0,0,0.04);
}

#azad-home-page .azad-help-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#azad-home-page .card-content {
    padding: 18px;
    position: relative;
}

/* Close Button */
#azad-home-page .close-card-btn {
    position: absolute;
    top: 10px;
    right: 10px; /* Left on RTL */
    background: transparent;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.2s;
    z-index: 10;
}

[dir="rtl"] #azad-home-page .close-card-btn {
    right: auto;
    left: 10px;
}

#azad-home-page .close-card-btn:hover {
    background-color: #f0f0f0;
    color: #555;
}

/* Header (Avatar + Text) */
#azad-home-page .card-header-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

#azad-home-page .avatar-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    background: #f5f8fa;
    border-radius: 50%;
    padding: 3px;
    border: 1px solid #eef2f5;
}

#azad-home-page .avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

#azad-home-page .status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
}

#azad-home-page .text-wrap h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--default-color);
    margin: 0;
    line-height: 1.2;
}

#azad-home-page .text-wrap p {
    font-size: 0.75rem;
    color: #888;
    margin: 2px 0 0 0;
}

/* Inputs */
#azad-home-page .compact-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.85rem;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    transition: 0.2s;
    outline: none;
}

#azad-home-page .compact-input:focus {
    background-color: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(244, 119, 33, 0.1);
}

/* Submit Button */
#azad-home-page .compact-submit-btn {
    width: 100%;
    padding: 10px;
    background: var(--default-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#azad-home-page .compact-submit-btn:hover {
    background: var(--heading-color);
}

#azad-home-page .compact-submit-btn i {
    font-size: 1.2rem;
    transform: rotate(180deg); /* Adjust arrow direction for RTL */
}

/* Success State */
#azad-home-page .help-success-message {
    text-align: center;
    padding: 20px 0;
}

#azad-home-page .success-icon {
    width: 50px;
    height: 50px;
    background: #e6fffa;
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
}

#azad-home-page .help-success-message p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--default-color);
    margin: 0;
}

/* Responsive */
@media (max-width: 576px) {
    #azad-home-page .azad-help-card {
        left: 20px;
        bottom: 20px;
        width: calc(100% - 40px); /* Responsive but not full screen */
        max-width: 320px;
    }
}