/* ===== HEADER STYLES ===== */

/* Main Header Navigation */
.main-header {
    padding: 12px 0;
    background: white;
    box-shadow: 0 1px 4px rgba(10, 53, 86, 0.1);
    display: flex;
    align-items: center;
    z-index: 100;
    margin: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

/* Logo Styling */
.header-logo {
    display: block;
    height: 50px;
    flex-shrink: 0;
}

.header-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navigation Menu Container */
.header-nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background-color: white;
    padding: 12px 48px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(10, 53, 86, 0.1);
}

/* Navigation Links */
.nav-link {
    color: #62737b;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.3s ease;
    padding: 4px 8px;
}

.nav-link:hover {
    color: #045881;
}

.nav-link.active {
    color: #045881;
}

/* User Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Action Button Styles */
.action-btn {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Primary Button (Services) */
.btn-primary {
    background-color: #045881;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #034668;
    text-decoration: none;
    color: white;
}

.btn-primary:active {
    background-color: #022d4a;
}

/* Secondary Button (Application Check) */
.btn-secondary {
    background-color: transparent;
    color: #045881;
    padding: 8px 16px;
    border: 1px solid #045881;
    border-radius: 24px;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #045881;
}

.btn-secondary:active {
    background-color: #e8e8e8;
}

/* Register Button */
.btn-register {
    background-color: #045881;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 24px;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-register:hover {
    background-color: #034668;
    text-decoration: none;
    color: white;
}

/* User Dropdown Toggle */
.user-dropdown-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #045881;
    font-family: 'Cairo', sans-serif;
    padding: 4px;
    transition: color 0.3s ease;
}

.user-dropdown-toggle:hover {
    color: #034668;
}

.user-dropdown-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.user-dropdown-name {
    font-size: 14px;
}

/* Dropdown Container */
.user-dropdown {
    position: relative;
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.50);
    border-radius: 150px;

    

}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #045881;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(12px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-12px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Mobile Menu Container - Legacy (keep for compatibility) */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 12px rgba(10, 53, 86, 0.2);
    z-index: 1000;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
}

/* Mobile Sidebar Navigation */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -290px;
    width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: -9px;
}

/* Sidebar Close Button */
.mobile-sidebar-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.mobile-sidebar-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Sidebar Logo */
.mobile-sidebar-logo {
    width: 100%;
    height: 155px;
    max-width: 318px;
    background: linear-gradient(270deg, #134368 5.86%, #24557B 41.61%, #007CAD 70.69%, #03A3C3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.mobile-sidebar-logo img {
    max-width: 180px;
    height: auto;
}

/* Sidebar Navigation */
.mobile-sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    flex: 1;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.sidebar-nav-link:hover {
    background-color: #f8f9fa;
    color: #19BBB7;
    border-right-color: #19BBB7;
}

.sidebar-nav-link.active {
    background-color: rgba(25, 187, 183, 0.1);
    color: #19BBB7;
    border-right-color: #19BBB7;
}

.sidebar-nav-link ion-icon {
    font-size: 22px;
}

/* Sidebar Bottom Section */
.mobile-sidebar-bottom {
    padding: 20px 24px;
   
    margin-top: auto;
}

.sidebar-logout-form {
    width: 100%;
}

.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background-color: #f8f9fa;
    border: none;
    color: #E71F22;
    border-radius: 8px;
    
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}



.sidebar-login-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(25, 187, 183, 0.1);
    border: none;
    border-radius: 8px;
    color: #19BBB7;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}










.sidebar-login-btn svg path {
    stroke: #19BBB7;
}

/* Mobile Menu Navigation - Legacy */
.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: white;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    flex: none;
    width: 100%;
}

.mobile-nav-menu .nav-link {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
    white-space: normal;
    display: block;
}

.mobile-nav-menu .nav-link:hover,
.mobile-nav-menu .nav-link.active {
    background-color: #f8f9fa;
    color: #045881;
}

/* Mobile Actions - Legacy */
.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
}

.mobile-actions .action-btn {
    padding: 12px 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    border-radius: 6px;
}

.mobile-actions .action-btn:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 40px;
        gap: 16px;
    }

    .header-nav-menu {
        gap: 16px;
        padding: 12px 32px;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 20px;
        gap: 12px;
        flex-wrap: nowrap;
    }

    /* Show hamburger menu on tablet */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Hide desktop navigation on tablet */
    .header-nav-menu {
        display: none;
    }

    .header-logo {
        height: 40px;
    }

    .header-logo img {
        height: 40px;
    }

    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }

    .action-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .nav-link {
        font-size: 12px;
        padding: 2px 4px;
    }

    /* Mobile menu styling for tablet */
    .mobile-menu.active {
        top: 60px;
    }

    .mobile-nav-menu .nav-link {
        padding: 14px 16px;
        font-size: 14px;
    }

    .mobile-actions .action-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 12px;
    }

    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Hide desktop navigation on mobile */
    .header-nav-menu {
        display: none;
    }

    .nav-link {
        font-size: 11px;
        padding: 2px 3px;
    }

    .action-btn {
        padding: 4px 8px;
        font-size: 11px;
        gap: 4px;
    }

    .btn-secondary {
        padding: 6px 12px;
    }

    /* Mobile menu styling for phone */
    .mobile-menu.active {
        top: 50px;
    }

    .mobile-nav-menu .nav-link {
        padding: 12px 14px;
        font-size: 13px;
    }

    .mobile-actions {
        padding: 12px 14px;
    }

    .mobile-actions .action-btn {
        padding: 10px 12px;
        font-size: 11px;
    }
}

/* Accessibility */
.nav-link:focus,
.action-btn:focus {
    outline: 2px solid #045881;
    outline-offset: 2px;
}

.user-dropdown-toggle:focus {
    outline: 2px solid #045881;
    outline-offset: 2px;
}
/* ===== HERO SECTION STYLES ===== */

/* Hero Section Container */
.hero-section:before {
    content: "";
    position: absolute;
    left: 0;
    top:0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.5;
    background: linear-gradient(180deg, #23567D 0%, rgba(25, 187, 183, 0.48) 53.37%, rgba(255, 255, 255, 0.08) 100%);
    display: flex;
    z-index: 2;
}
.hero-section:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    left: 0;
    top:0;
    background-image: url('../images/1518.png');
    background-repeat: no-repeat;
    background-size:cover ;
}

@media (max-width: 768px) {
    .hero-section:after {
        
        background-image: url('../images/heroMobile.png');
    }
    .hero-section:before {
        background:linear-gradient(
            209deg, #23567D 0%, rgba(25, 187, 183, 0.48) 53.37%
            53.37%
            , rgba(255, 255, 255, 0.08) 100%)
    }
}
.hero-section{  
    width: 100%;
    flex-direction: column;
    height: 720px;
    position: relative;
}
/* Hero Header Overlay (Semi-transparent header on hero) */
.hero-header-container {
   position: relative;
    z-index: 100;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    /* padding: 0 80px; */
}
.z-index-100{
    z-index: 100;
}
.header-fixed{
    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
}

/* Sticky hamburger button only */
.mobile-menu-toggle.sticky-burger {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.50);
    border-radius: 150px;
}
/* Hero Logo */
.hero-logo {
    display: block;
}

.hero-logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

/* Hero Navigation Menu */
.hero-nav-menu {
    /* flex: 1; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(10, 53, 86, 0.1);
    backdrop-filter: blur(4px);
    height: 64px;
    padding: 0 32px;
}

/* Hero Navigation Links */
.hero-nav-link {
    color: #62737b;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.3s ease;
    padding: 4px 8px;
}

.hero-nav-link:hover {
    color: #045881;
}

.hero-nav-link.active {
    color: #045881;
}

/* Hero User Actions */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Override Bootstrap dropdown-toggle arrow */
.hero-user-dropdown-toggle.dropdown-toggle::after {
  display: none;
}

/* Hero User Dropdown Styles */
.hero-user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hero-user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-user-avatar svg {
  width: 32px;
  height: 32px;
}

.hero-user-dropdown-menu {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  overflow: hidden;
  border: none;
  padding: 0;
}

.hero-dropdown-user-name {
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #23567D;
  border-bottom: 1px solid #E0E0E0;
  text-align: right;
}

.hero-dropdown-logout-form {
  display: block;
  margin: 0;
  padding: 0;
}

.hero-dropdown-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: none;
  border: none;
  color: #D32F2F;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: right;
  direction: rtl;
}

.hero-dropdown-logout-btn:hover {
  background-color: #FFF5F5;
}

.hero-dropdown-logout-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Responsive adjustments for user dropdown */
@media (max-width: 768px) {
  .hero-user-dropdown-menu {
    min-width: 180px;
  }

  .hero-dropdown-user-name {
    font-size: 14px;
    padding: 12px;
  }

  .hero-dropdown-logout-btn {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* Hero Action Buttons */
.hero-action-btn {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #045881;
    color: white;
    padding: 8px 16px;
    height: 44px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.btn-white       {
    background-color: white;
    color: #045881;
    padding: 8px 16px;
    height: 44px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.btn-primary:hover {
    background-color: #034668;
}
.btn-transparent {
    background-color: transparent;
    color: #23567D;
    padding: 8px 16px;
    height: 44px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.hero-btn-secondary {
    background-color: transparent;
    color: #045881;
    padding: 8px 16px;
    border: 1px solid #045881;
    border-radius: 24px;
}

.hero-btn-secondary:hover {
    background-color: #f5f5f5;
}

.hero-btn-register {
    background-color: #045881;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 24px;
}

.hero-btn-register:hover {
    background-color: #034668;
}

/* Hero Content Container */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 10;
    margin-top: 150px;
}


/* Hero Text Section */
.hero-text-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 627px;
    text-align: center;
    flex: 0 1 627px;
    margin-bottom: 40px;
}

/* Hero Heading */
.hero-heading {
    font-family: 'Tajawal', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 64px;
    color: white;
    margin: 0;
    padding: 0;
}

/* Hero Subheading */
.hero-subheading {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: white;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Hero CTA Button */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #19BBB7;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    padding: 18px 32px;
    border-radius: 28px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-cta-btn:hover {
    background-color: #18a3a0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.hero-cta-btn:active {
    background-color: #169895;
}

.hero-cta-icon {
    width: 8px;
    height: 8px;
    transform: rotate(180deg);
}


.upm-button{
    display:flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 10px;
    padding: 8px 16px;
    height: 40px;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 133px;

}

    .upm-button:hover{
       transform: scale(1.05);
    }

/* Hero Image Section */
.hero-image-section {
    position: relative;
    height: 425px;
}

/* Hero Image */
.hero-image {
    width: 285px;
    height: 100%;
    object-fit: contain;
}

/* Hero Stats Card Animations */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatLeftRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Stats Card Base */
.hero-stat-card {
    position: absolute;
    border-radius: 41.5px;
    border: 1px solid #FFF;
    background: rgba(255, 255, 255, 0.80);

    /* Blur/Glass */
    backdrop-filter: blur(50);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero-stat-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/* Top Right Card */
.hero-stat-card-top-right {
    top: -10%;
    right: 40px;
    transform: translateX(50%);
    border-radius: 41px;
    min-width: 200px;
    animation: fadeInUp 0.6s ease-out forwards, floatUpDown 3s ease-in-out 0.6s infinite;
    animation-delay: 0.1s;
}

/* Middle Right Card */
.hero-stat-card-middle-right {
    height: 150px;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    border-radius: 16px;
    max-width: 135px;
    flex-direction: column;
    align-items: start;
    animation: fadeInUp 0.6s ease-out forwards, floatLeftRight 3.5s ease-in-out 0.6s infinite;
    animation-delay: 0.2s;
}

/* Bottom Right Card */
.hero-stat-card-bottom-right {
    top: 90%;
    right: -20px;
    transform: translateY(-50%);
    border-radius: 41px;
    min-width: 200px;
    animation: fadeInUp 0.6s ease-out forwards, pulse 3s ease-in-out 0.6s infinite;
    animation-delay: 0.3s;
}

/* Bottom Left Card */
.hero-stat-card-bottom-left {
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    border-radius: 16px;
    min-width: 135px;
    animation: fadeInUp 0.6s ease-out forwards, floatUpDown 4s ease-in-out 0.6s infinite;
    animation-delay: 0.4s;
}

/* Stat Icon */
.stat-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #19BBB7;
}

/* Stat Content */
.stat-content {
    text-align: right;
}

/* Stat Number */
.stat-number {
    font-family: 'Tajawal', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #23567d;
    margin: 0;
    line-height: 1;
}

/* Stat Label */
.stat-label {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #23567d;
    margin: 2px 0 0 0;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-bottom: 60px;
    }

    .hero-nav-menu {
        padding: 10px 32px;
        gap: 16px;
    }

    /* ---= Mobile Responsive =--- */

    .hero-content {
        flex-direction: column;
        padding: 40px 20px;
        align-items: center;
        margin-top: 80px;
    }
    .hero-text-section {
        max-width: 100%;
        text-align: center;
        margin-bottom: 40px;
        flex: 0 1 100%;
        gap: 24px;
        order: 2;
    }
    .hero-image-section {
        order: 1;
        position: relative;
        top: 0;
        width: 100%;
        max-width: 350px;
        height: auto;
        min-height: 350px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 20px;
    }
    .hero-heading {
  
        line-height: 44px;
    }

    .hero-image {
        width: 250px;
        height: auto;
        position: relative;
        z-index: 1;
    }

    /* Reposition stat cards for tablet */
    .hero-stat-card {
        position: absolute;
        padding: 10px 14px;
        z-index: 10;
    }

    .hero-stat-card-middle-right {
        height: auto;
        max-width: 120px;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .hero-stat-card-top-right {
        top: 0;
        right: 20%;
        transform: none;
    }
    .hero-stat-card-bottom-right {
        top: auto;
        bottom: 0;
        right: 10%;
        transform: none;
        min-width: 160px;
    }
    .hero-stat-card-bottom-left {
        top: auto;
        bottom: 20%;
        left: 0;
        transform: none;
        min-width: 120px;
    }

    .stat-number {
        font-size: 20px;
    }
    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-bottom: 40px;
    }

    .hero-nav-menu {
        flex: 1 1 100%;
        padding: 10px 20px;
        gap: 12px;
    }

    .hero-content {
        margin-top: 60px;
        padding: 20px 16px;
    }

    .hero-image-section {
        max-width: 300px;
        min-height: 300px;
    }

    .hero-image {
        width: 215px;
    }

    .hero-stat-card {
        padding: 8px 12px;
        min-width: auto;
        border-radius: 20px;
        z-index: 10;
    }

    .hero-stat-card-top-right {
        right: 5%;
        min-width: 140px;
    }
    .hero-stat-card-middle-right {
       
        flex-direction: row;
        align-items: center;
    }
    .hero-stat-card-bottom-right {
        right: 5%;
        min-width: 140px;
    }
    .hero-stat-card-bottom-left {
        min-width: 100px;
    }

    .stat-icon {
        width: 24px;
        height: 24px;
    }

    .stat-number {
        font-size: 18px;
    }
    .stat-label {
        font-size: 11px;
    }

    .hero-heading {
        font-size: 32px;

        line-height: 40px;
        max-width: 72%;
    }

    .hero-subheading {
        font-size: 14px;
        line-height: 22px;
    }

    .hero-text-section {
        gap: 20px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-bottom: 30px;
    }

    .hero-content {
        margin-top: 50px;
        padding: 16px 12px;
    }

    .hero-image-section {
        max-width: 280px;
        min-height: 280px;
    }

    .hero-image {
        width: 215px;
    }

    .hero-stat-card {
        padding: 6px 10px;
        border-radius: 16px;
        z-index: 10;
    }

    .hero-stat-card-top-right {
        top: -10px;
        right: 0;
        min-width: 120px;
    }
    .hero-stat-card-middle-right {
      
        right: -5px;
    }
    .hero-stat-card-bottom-right {
        bottom: -10px;
        right: 0;
        min-width: 120px;
    }
    .hero-stat-card-bottom-left {
        bottom: 30%;
        left: -5px;
        min-width: 90px;
    }

    .stat-icon {
        width: 20px;
        height: 20px;
    }

    .stat-number {
        font-size: 16px;
    }
    .stat-label {
        font-size: 10px;
    }

    .hero-heading {
        font-size: 32px;
        max-width: 72%;
        line-height: 36px;
    }

    .hero-subheading {
        font-size: 13px;
        line-height: 20px;
    }

    .hero-cta-btn {
        padding: 12px 24px;
    }

    .hero-nav-menu {
        padding: 8px 12px;
        gap: 8px;
    }

    .hero-text-section {
        gap: 16px;
        margin-bottom: 20px;
    }

   
}

/* Accessibility */
.hero-nav-link:focus,
.hero-action-btn:focus,
.hero-cta-btn:focus {
    outline: 2px solid #19BBB7;
    outline-offset: 2px;
}

/* ===== ABOUT US SECTION STYLES (Figma Node 421:2681) ===== */

/* Main About Us Section */
.about-us-section {
    width: 100%;
    background-color: #ffffff;
}

.about-us-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

/* LEFT COLUMN: Images Grid */
.about-us-images-column {
    flex: 0 0 auto;
    width: 400px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-content: start;
}

/* Large Image - Top Left (spans 1 column) */
.about-image-large {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    border: 10px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-image-large .about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Person Image with Color Cards Group */
.about-images-person-group {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: flex-start;
}

/* Person Image */
.about-image-person {
    grid-column: 1 / 2;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    border: 10px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-image-person .about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Color Cards */
.about-color-cards {
    grid-column: 2 / 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 200px;
    justify-content: flex-start;
}

.color-card {
    flex: 1;
    border-radius: 12px;
    min-height: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.color-card.card-dark-blue {
    background-color: #23567d;
}

.color-card.card-teal {
    background-color: #19BBB7;
    border-radius: 25px;
}

/* Medium Image - Bottom Left */
.about-image-medium {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    border: 10px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-image-medium .about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image Base Styles */
.about-image {
    display: block;
    max-width: 100%;
    height: 100%;
    width: 100%;
}

/* RIGHT COLUMN: Content */
.about-us-content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
    padding-top: 20px;
}

/* Section Header with Icon */
.about-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.about-header-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.about-header-title {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #19BBB7;
    margin: 0;
    line-height: 1;
    text-align: right;
}

/* Content Group (About + Mission sections) */
.about-content-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-content-heading {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #23567d;
    margin: 0;
    line-height: 1.2;
    text-align: right;
}

.about-content-text {
    font-family: 'Tajawal', 'Noto Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #23567d;
    line-height: 1.6;
    margin: 0;
    text-align: right;
}

/* Learn More Button */
.about-btn-learn-more {
    align-self: flex-end;
    background: linear-gradient(135deg, #19BBB7 0%, #17a8a5 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 28px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(25, 187, 183, 0.3);
    margin-top: 20px;
}

.about-btn-learn-more:hover {
    background: linear-gradient(135deg, #17a8a5 0%, #15928f 100%);
    box-shadow: 0 8px 20px rgba(25, 187, 183, 0.4);
    transform: translateY(-2px);
}

.about-btn-learn-more:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(25, 187, 183, 0.3);
}

.about-btn-learn-more .btn-text {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.about-btn-learn-more .btn-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transform: scaleX(-1);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Tablet: 1024px and below */
@media (max-width: 1200px) {
    .about-us-wrapper {
        gap: 40px;
        padding: 0 40px;
    }

    .about-us-images-column {
        width: 320px;
        gap: 16px;
    }

    .about-image-large,
    .about-image-person,
    .about-image-medium {
        height: 160px;
        border-width: 8px;
    }

    .about-header-title {
        font-size: 28px;
    }

    .about-content-heading {
        font-size: 22px;
    }

    .about-content-text {
        font-size: 18px;
    }

    .about-btn-learn-more {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* Small Tablet: 768px and below */
@media (max-width: 768px) {


    .about-us-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .about-us-images-column {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-us-content-column {
        order: 2;
    }

    .about-section-header {
        justify-content: flex-end;
    }

    .about-header-title {
        font-size: 28px;
    }

    .about-content-heading {
        font-size: 20px;
    }

    .about-content-text {
        font-size: 16px;
    }

    .about-btn-learn-more {
        align-self: flex-end;
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Mobile: 480px and below */
@media (max-width: 768px) {
    .about-us-section {
        padding: 40px 0;
    }

    .about-us-wrapper {
        gap: 24px;
        padding: 0 16px;
    }

    .about-us-images-column {
        width: 100%;
        max-width: 280px;
        gap: 12px;
    }

    .about-image-large,
    .about-image-person,
    .about-image-medium {
        height: 120px;
        border-width: 6px;
        border-radius: 16px;
    }

    .about-section-header {
        margin-bottom: 16px;
    }

    .about-header-icon {
        width: 40px;
        height: 40px;
    }

    .about-header-title {
        font-size: 24px;
    }

    .about-content-heading {
        font-size: 18px;
    }

    .about-content-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .about-color-cards {
        gap: 10px;
    }

    .color-card {
        min-height: 50px;
    }

    .about-btn-learn-more {
        padding: 10px 20px;
        font-size: 13px;
        gap: 8px;
    }

    .about-btn-learn-more .btn-arrow {
        width: 16px;
        height: 16px;
    }
}

/* ===== ACCESSIBILITY ===== */
.about-section-header:focus-within,
.about-btn-learn-more:focus {
    outline: 2px solid #19BBB7;
    outline-offset: 2px;
}

/* ===== WORK SECTION / PROCESS TIMELINE (Figma Node 421:3387) ===== */

.work-section {
    width: 100%;
    background-color: #ffffff;
    padding: 80px 0;
}

.work-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.work-section-title {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #23567d;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.work-section-description {
    font-family: 'Tajawal', 'Noto Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #62737b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Timeline Container */
.work-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Timeline Step */
.timeline-step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    margin-bottom: 20px;
}

/* Step Cards */
.step-card {
    position: relative;
    width: 100%;
    max-width: 650px;
    padding: 30px 40px;
    border-radius: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Decorative element behind card */
.step-card::before {
    content: "";
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    opacity: 0.3;
    z-index: 0;
}

/* Step Number - Centered Circle */
.step-number {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #23567d;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
    flex-shrink: 0;
}

.step-title {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: right;
    line-height: 1.3;
}

.step-description {
    font-family: 'Tajawal', 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: right;
    line-height: 1.5;
    opacity: 0.95;
}

/* Color Variants for Cards */
.card-blue {
    background: linear-gradient(135deg, #23567d 0%, #1a3f5e 100%);
}

.card-blue::before {
    background: #23567d;
}

.card-teal {
    background: linear-gradient(135deg, #19BBB7 0%, #16a8a5 100%);
}

.card-teal::before {
    background: #19BBB7;
}

.card-pink {
    background: linear-gradient(135deg, #d94b9a 0%, #c53d8a 100%);
}

.card-pink::before {
    background: #d94b9a;
}

.card-gold {
    background: linear-gradient(135deg, #d4a574 0%, #c9945f 100%);
}

.card-gold::before {
    background: #d4a574;
}

.card-purple {
    background: linear-gradient(135deg, #9b4b9b 0%, #8a3d8a 100%);
}

.card-purple::before {
    background: #9b4b9b;
}

/* Vertical Timeline Connector Line (optional visual element) */
.work-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 100px;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
        #23567d 0%,
        #19BBB7 20%,
        #d94b9a 40%,
        #d4a574 60%,
        #9b4b9b 80%,
        #9b4b9b 100%);
    opacity: 0.2;
    transform: translateX(-50%);
    pointer-events: none;
}

/* ===== RESPONSIVE ADJUSTMENTS FOR WORK SECTION ===== */

@media (max-width: 1200px) {
    .work-section {
        padding: 60px 0;
    }

    .work-section-title {
        font-size: 36px;
    }

    .work-timeline {
        max-width: 750px;
        gap: 25px;
    }

    .step-card {
        max-width: 600px;
        padding: 25px 35px;
    }

    .step-number {
        left: -70px;
        width: 100px;
        height: 100px;
        font-size: 48px;
    }

    .step-title {
        font-size: 18px;
    }

    .step-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .work-section {
        padding: 50px 0;
    }

    .work-section-title {
        font-size: 32px;
    }

    .work-section-description {
        font-size: 16px;
    }

    .work-timeline {
        max-width: 100%;
        padding: 20px;
        gap: 20px;
    }

    .timeline-step {
        min-height: 180px;
    }

    .step-card {
        max-width: 100%;
        margin-left: 80px;
        padding: 20px 30px;
        border-radius: 30px;
    }

    .step-card::before {
        right: -30px;
        width: 80px;
        height: 80px;
    }

    .step-number {
        left: -70px;
        width: 90px;
        height: 90px;
        font-size: 42px;
    }

    .step-title {
        font-size: 17px;
    }

    .step-description {
        font-size: 14px;
    }

    .work-timeline::before {
        left: calc(50% - 120px);
    }
}

@media (max-width: 768px) {
    .work-section {
        padding: 40px 0;
    }

    .work-section-title {
        font-size: 26px;
    }

    .work-section-description {
        font-size: 14px;
    }

    .work-timeline {
        max-width: 100%;
        padding: 20px 16px;
        gap: 15px;
    }

    .timeline-step {
        min-height: 160px;
    }

    .step-card {
        max-width: 100%;
        margin-left: 70px;
        padding: 16px 20px;
        border-radius: 24px;
    }

    .step-card::before {
        right: -20px;
        width: 60px;
        height: 60px;
    }

    .step-number {
        left: -65px;
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .step-title {
        font-size: 15px;
        margin-top: 4px;
    }

    .step-description {
        font-size: 12px;
        line-height: 1.4;
    }

    .work-timeline::before {
        left: calc(50% - 110px);
    }
}

/* Accessibility */
.step-card:focus-within {
    outline: 2px solid #19BBB7;
    outline-offset: 2px;
}

.w-100-vw{
    width: 100vw;
}

.padding-section-y-30{
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}
.w-fit-content{
    width: fit-content;
}

/* ===== FIXED SUPPORT ICON ===== */
.support-icon-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: supportPulse 2s infinite;
}

.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #19BBB7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.support-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.support-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.support-btn:hover .support-icon {
    transform: scale(1.1);
}

@keyframes supportPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

[dir="rtl"] .support-icon-fixed {
    right: 20px;
    left: auto;
}

/* Mobile Responsive for Support Icon */
@media (max-width: 768px) {
    .support-icon-fixed {
        bottom: 150px;
        right: 15px;
    }

    [dir="rtl"] .support-icon-fixed {
        right: 15px;
        right: auto;
    }

    .support-btn {
        width: 50px;
        height: 50px;
    }

    .support-icon {
        width: 30px;
        height: 30px;
    }
}