/* =====================================================
   HEALTHIT - MODERN PROFESSIONAL STYLESHEET
   Inspired by HealthBridge's clean, professional design
   ===================================================== */

:root {
    /* Primary Brand Colors */
    --primary-red: #F2293A;
    --secondary-red: #F2274C;
    --dark-navy: #1a2332;
    --medium-navy: #2c3e50;
    --accent-teal: #22DDF2;

    /* Neutral Colors */
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* =====================================================
   BASE STYLES
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 130px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*/* =====================================================
   UPDATED TOP BAR - LARGE DESIGN LIKE HEALTHBRIDGE
   ===================================================== */

.top-info-bar {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.938rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    height: 60px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.top-info-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 40px;
}

.top-info-left {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.top-info-left span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.3px;
}

.top-info-left i {
    color: var(--accent-teal);
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.top-info-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-info-right a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-base);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-info-right a:hover {
    background-color: var(--accent-teal);
    color: var(--dark-navy);
    border-color: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 221, 242, 0.2);
}

/* =====================================================
   UPDATED HEADER - LARGE LOGO & NAVBAR
   ===================================================== */

header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 40px;
    z-index: 1000;
    border-bottom: 1px solid var(--light-gray);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    min-height: 80px;
    gap: 30px;
}

/* LARGE LOGO */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 100px !important;
    width: auto;
    max-width: 300px !important;
    vertical-align: middle;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
}

/* Alternative text logo styling */
.logo-text {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-navy);
    text-decoration: none;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--dark-navy), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* MAIN NAVIGATION */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: flex-end;
}

/* LARGE NAV LINKS */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
    margin: 0 2px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px !important;
    transition: var(--transition-base);
    padding: 16px 22px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: var(--radius-md);
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover i {
    color: var(--white) !important;
}

.nav-links a:not(:hover) {
    background-color: transparent;
}

.nav-links a.active {
    color: var(--dark-navy);
    font-weight: 700;
    background-color: rgba(242, 41, 58, 0.08);
    box-shadow: 0 2px 8px rgba(242, 41, 58, 0.1);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    border-radius: 2px;
}

/* LARGER DROPDOWN ARROWS */
.dropdown>a .fa-chevron-down {
    font-size: 12px !important;
    transition: transform 0.3s ease;
    margin-left: 6px;
}

.dropdown.active>a .fa-chevron-down,
.dropdown:hover>a .fa-chevron-down {
    transform: rotate(180deg);
}

/* LARGER DROPDOWN MENU */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px !important;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: var(--transition-base);
    z-index: 1000;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    margin-top: 10px;
    padding: 12px 0 !important;
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu a {
    display: block;
    padding: 16px 28px !important;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition-base);
    font-weight: 500;
    font-size: 15px !important;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-teal), var(--primary-red));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--light-bg);
    color: var(--primary-red);
    padding-left: 32px !important;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* LARGE CTA BUTTON IN NAV */
.nav-container .cta-button {
    padding: 18px 36px !important;
    font-size: 16px !important;
    font-weight: 700;
    border-radius: var(--radius-lg);
    margin-left: 20px;
    box-shadow: 0 6px 20px rgba(242, 41, 58, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-container .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--secondary-red), var(--primary-red));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-container .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 41, 58, 0.35);
    color: var(--white);
}

.nav-container .cta-button:hover::before {
    opacity: 1;
}

/* =====================================================
   ADJUST BODY PADDING FOR LARGER HEADER
   ===================================================== */

body {
    padding-top: 160px !important;
}

/* =====================================================
   MOBILE MENU BUTTON
   ===================================================== */

.mobile-menu-btn {
    display: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--primary-red);
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    z-index: 1001;
}

.mobile-menu-btn:hover {
    background-color: rgba(242, 41, 58, 0.08);
    transform: scale(1.05);
}

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

@media (max-width: 1200px) {
    .top-info-content,
    .nav-container {
        padding: 0 30px !important;
    }
    
    .nav-links a {
        padding: 14px 18px !important;
        font-size: 15px !important;
    }
    
    .nav-container .cta-button {
        padding: 16px 30px !important;
        font-size: 15px !important;
    }
    
    .logo-image {
        height: 55px !important;
        max-width: 160px !important;
    }
    
    .top-info-left {
        gap: 30px;
    }
}

@media (max-width: 1100px) {
    .nav-links a {
        padding: 14px 16px !important;
        font-size: 14px !important;
    }
    
    .nav-container .cta-button {
        padding: 14px 24px !important;
        font-size: 14px !important;
        margin-left: 15px;
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 110px !important;
    }
    
    .top-info-bar {
        height: 50px;
        padding: 10px 0;
    }
    
    header {
        top: 50px;
        padding: 10px 0;
    }
    
    .nav-container {
        min-height: 70px;
        padding: 0 20px !important;
        gap: 20px;
    }
    
    .logo-image {
        height: 45px !important;
        max-width: 140px !important;
    }
    
    .top-info-content {
        padding: 0 20px !important;
    }
    
    .top-info-left {
        gap: 20px;
    }
    
    .top-info-right a {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 100px 32px 32px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        align-items: flex-start;
        z-index: 999;
        overflow-y: auto;
        margin: 0;
        border-left: 1px solid var(--light-gray);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        margin-bottom: 4px;
    }
    
    .nav-links a {
        display: block;
        padding: 16px 0 !important;
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
        font-size: 1.125rem !important;
        margin: 0;
        text-align: left;
        border-radius: 0;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-links a.active {
        color: var(--primary-red);
        font-weight: 700;
        background-color: rgba(242, 41, 58, 0.06);
        padding-left: 16px !important;
        border-radius: var(--radius-sm);
    }
    
    .nav-container .cta-button {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
        justify-content: center;
    }
    
    /* Mobile dropdown styles */
    .dropdown-menu {
        position: static;
        margin-left: 20px !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        width: calc(100% - 40px);
        padding: 0 !important;
        border-left: 2px solid var(--light-gray);
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 400px !important;
        margin-top: 8px !important;
        margin-bottom: 16px !important;
    }
    
    .dropdown-menu a {
        padding: 12px 16px !important;
        font-size: 0.938rem !important;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .top-info-bar {
        display: none !important;
    }
    
    header {
        top: 0 !important;
        padding: 8px 0;
    }
    
    body {
        padding-top: 70px !important;
    }
    
    .nav-container {
        min-height: 60px;
        padding: 0 16px !important;
    }
    
    .logo-image {
        height: 40px !important;
        max-width: 120px !important;
    }
    
    .main-nav {
        width: 90%;
        padding: 90px 24px 24px;
    }
    
    .nav-links a {
        font-size: 1rem !important;
        padding: 14px 0 !important;
    }
    
    .mobile-menu-btn {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 12px !important;
    }
    
    .logo-image {
        height: 35px !important;
        max-width: 100px !important;
    }
    
    .main-nav {
        width: 95%;
        padding: 80px 20px 20px;
    }
    
    .nav-links a {
        font-size: 0.938rem !important;
        padding: 12px 0 !important;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    header {
        background-color: #1a1a1a;
        border-bottom-color: #333333;
    }
    
    .nav-links a {
        color: #e0e0e0;
    }
    
    .nav-links a.active {
        background-color: rgba(242, 41, 58, 0.15);
    }
    
    .dropdown-menu {
        background-color: #1a1a1a;
        border-color: #333333;
    }
    
    .dropdown-menu a {
        background-color: #1a1a1a;
        color: #e0e0e0;
        border-bottom-color: #333333;
    }
    
    .dropdown-menu a:hover {
        background-color: #2a2a2a;
    }
    
    .main-nav {
        background-color: #1a1a1a !important;
        border-left-color: #333333;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nav-links a,
    .dropdown-menu,
    .nav-container .cta-button,
    .mobile-menu-btn,
    .top-info-right a {
        transition: none !important;
        animation: none !important;
    }
    
    .nav-links a:hover,
    .nav-container .cta-button:hover,
    .top-info-right a:hover {
        transform: none !important;
    }
}

/* =====================================================
   BUTTONS - MODERN PROFESSIONAL STYLE
   ===================================================== */

.cta-button {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.938rem;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(242, 41, 58, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--secondary-red), var(--primary-red));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 41, 58, 0.3);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid currentColor;
    color: var(--white);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
}

/* =====================================================
   HERO SECTION - MODERN CLEAN DESIGN
   ===================================================== */

.hero {
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(44, 62, 80, 0.92) 100%),
        url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-4.0.3&auto=format&fit=crop&w=1480&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(34, 221, 242, 0.1), transparent 50%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
}

/* =====================================================
   PAGE HERO - CLEAN GRADIENT DESIGN
   ===================================================== */

.page-hero,
.about-hero {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--medium-navy) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::after,
.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(34, 221, 242, 0.15), transparent 60%);
    pointer-events: none;
}

.page-hero h1,
.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.page-hero p,
.about-hero p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* =====================================================
   SECTION TITLES - MODERN CLEAN STYLE
   ===================================================== */

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

.section-title h2 {
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 2px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
}

.view-all {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    transition: var(--transition-fast);
    font-size: 0.938rem;
}

.view-all:hover {
    color: var(--primary-red);
    gap: 10px;
}

/* =====================================================
   BENEFITS SECTION - CARD GRID
   ===================================================== */

.benefits {
    padding: 20px 0;
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px; /* Reduced gap for more width */
    width: 100%;
}

.benefit-card {
    background: linear-gradient(135deg, 
        rgba(34, 221, 242, 0.08) 0%, 
        rgba(248, 249, 250, 0.9) 100%);
    border-radius: var(--radius-lg);
    padding: 0 0 48px 0;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid rgba(34, 221, 242, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%; /* Ensure full width */
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), var(--primary-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, 
        rgba(34, 221, 242, 0.12) 0%, 
        rgba(248, 249, 250, 0.95) 100%);
    border-color: var(--accent-teal);
}

/* Updated: Replaced .benefit-icon with .benefit-image */
.benefit-image {
    height: 220px;
    overflow: hidden;
    margin-bottom: 32px;
    position: relative;
    background-color: var(--white);
    width: 100%; /* Full width image */
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-image img {
    transform: scale(1.05);
}

.benefit-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, 
        rgba(248, 249, 250, 0.9), 
        transparent);
}

.benefit-card h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0 24px; /* Reduced side padding for more text width */
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    padding: 24px 24px; /* Reduced side padding */
    flex-grow: 1;
    border-radius: var(--radius-md);
    margin: 0 16px 24px 16px; /* Reduced side margins */
    position: relative;
    overflow: hidden;
}

/* Option A: If you want the container to be full width */
.container {
    max-width: 100%;
    padding-left: 40px; /* Add some side padding */
    padding-right: 40px;
}

/* OR Option B: Remove max-width constraints from container if they exist */
.container {
    max-width: none !important;
    padding-left: 60px;
    padding-right: 60px;
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .benefit-card h3 {
        font-size: 1.375rem;
        padding: 0 20px;
    }
    
    .benefit-card p {
        font-size: 0.938rem;
        padding: 20px 20px;
    }
}

@media (max-width: 1200px) {
    .benefits-grid {
        gap: 20px; /* Even less gap */
    }

    .benefit-image {
        height: 200px;
        margin-bottom: 28px;
    }

    .benefit-card h3 {
        padding: 0 20px;
        font-size: 1.25rem;
    }
    
    .benefit-card p {
        padding: 20px 20px;
        margin: 0 12px 20px 12px;
        font-size: 0.875rem;
    }
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .benefit-image {
        height: 180px;
        margin-bottom: 24px;
    }

    .benefit-card {
        padding: 0 0 40px 0;
    }

    .benefit-card h3 {
        font-size: 1.375rem;
        margin-bottom: 18px;
        padding: 0 24px;
    }

    .benefit-card p {
        font-size: 0.938rem;
        margin: 0 16px 20px 16px;
        padding: 20px 24px;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .benefits {
        padding: 60px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%; /* Remove the 500px constraint */
        margin: 0 auto;
    }

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .benefit-image {
        height: 200px; /* Keep decent height on mobile */
        margin-bottom: 20px;
    }

    .benefit-card {
        padding: 0 0 36px 0;
    }

    .benefit-card h3 {
        font-size: 1.375rem;
        padding: 0 20px;
        margin-bottom: 16px;
    }

    .benefit-card p {
        font-size: 0.938rem;
        line-height: 1.6;
        padding: 20px 20px;
        margin: 0 20px 20px 20px;
    }
}

/* For very large screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px; /* Or remove max-width entirely */
        margin: 0 auto;
    }
    
    .benefits-grid {
        gap: 32px; /* Slightly more gap on very large screens */
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .benefits {
        padding: 48px 0;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .benefits-grid {
        gap: 16px;
    }
    
    .benefit-image {
        height: 180px;
        margin-bottom: 16px;
    }
    
    .benefit-card {
        padding: 0 0 32px 0;
    }
    
    .benefit-card h3 {
        font-size: 1.25rem;
        padding: 0 16px;
        margin-bottom: 12px;
    }
    
    .benefit-card p {
        font-size: 0.875rem;
        padding: 16px 16px;
        margin: 0 12px 16px 12px;
    }
}

/* =====================================================
   SERVICES SECTION - MODERN CARD DESIGN
   ===================================================== */

.services {
    padding: 10px 0;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Use 6 columns for more control */
    gap: 32px;
    justify-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--dark-navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 380px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

/* Position cards in 3 columns */
.services-grid .service-card:nth-child(1) {
    grid-column: 1 / span 2;
}

.services-grid .service-card:nth-child(2) {
    grid-column: 3 / span 2;
}

.services-grid .service-card:nth-child(3) {
    grid-column: 5 / span 2;
}

/* Position bottom two cards centered together */
.services-grid .service-card:nth-child(4) {
    grid-column: 2 / span 2;
    grid-row: 2;
}

.services-grid .service-card:nth-child(5) {
    grid-column: 4 / span 2;
    grid-row: 2;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.service-img {
    height: 220px;
    background-color: var(--dark-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.3), rgba(34, 221, 242, 0.2));
    pointer-events: none;
}

.service-img img.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img.service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Service Title Wrapper */
.service-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.service-title-wrapper h3 {
    margin-bottom: 0;
    color: var(--white);
    font-size: 1.375rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Partner Logo */
.partner-logo {
    display: flex;
    align-items: center;
    height: 30px;
    background-color: var(--white);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--light-gray);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.partner-logo-img {
    height: 20px;
    width: auto;
    max-height: 20px;
    object-fit: contain;
}

.service-content p {
    color: var(--white);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.938rem;
    flex-grow: 1;
}

.service-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    margin-top: auto;
}

.service-link:hover {
    color: var(--primary-red);
    gap: 10px;
}

/* Responsive adjustments for services */
@media (max-width: 1200px) {
    .services-grid {
        gap: 24px;
    }

    .service-img {
        height: 200px;
    }

    .service-content {
        padding: 24px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    /* Reset positioning on tablets */
    .services-grid .service-card:nth-child(1) {
        grid-column: 1 / span 2;
    }
    
    .services-grid .service-card:nth-child(2) {
        grid-column: 3 / span 2;
    }
    
    .services-grid .service-card:nth-child(3) {
        grid-column: 1 / span 2;
        grid-row: 2;
    }
    
    .services-grid .service-card:nth-child(4) {
        grid-column: 3 / span 2;
        grid-row: 2;
    }
    
    .services-grid .service-card:nth-child(5) {
        grid-column: 2 / span 2;
        grid-row: 3;
        justify-self: center;
    }

    .service-img {
        height: 180px;
    }

    .service-content h3 {
        font-size: 1.25rem;
    }

    .service-content p {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Reset all positioning on mobile */
    .services-grid .service-card:nth-child(1),
    .services-grid .service-card:nth-child(2),
    .services-grid .service-card:nth-child(3),
    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
    }

    .service-img {
        height: 200px;
    }

    .service-content {
        padding: 20px;
    }

    .service-content h3 {
        font-size: 1.375rem;
    }

    .service-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .services-grid {
        gap: 20px;
    }
    
    .service-img {
        height: 180px;
    }
    
    .service-card {
        min-height: 400px;
    }
    
    .service-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .service-title-wrapper h3 {
        font-size: 1.25rem;
    }
}

/* =====================================================
   SOLUTIONS PREVIEW - GRID LAYOUT
   ===================================================== */

/* =====================================================
   SOLUTIONS PREVIEW - GRID LAYOUT
   ===================================================== */

.solutions-preview {
    padding: 10px 0;
    background-color: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    text-align: center;
}

.solution-item {
    padding: 32px 24px;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid transparent;
}

/* Apply dark blue background to every other card */
.solution-item:nth-child(odd) {
    background-color: #1a365d; /* Dark blue color */
    color: var(--white);
}

/* Keep original icon size */
.solution-item i {
    font-size: 2.5rem;
    margin-bottom: 16px;
    transition: var(--transition-base);
}

/* Update icon colors based on card background */
.solution-item:nth-child(odd) i {
    color: var(--white);
}

.solution-item:nth-child(even) i {
    color: var(--primary-red);
}

/* Update text colors */
.solution-item:nth-child(odd) h4 {
    color: var(--white);
}

.solution-item:nth-child(even) h4 {
    color: var(--text-primary);
}

/* Hover effect - subtle lift and shadow */
.solution-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Optional: Add a subtle border to even cards for definition */
.solution-item:nth-child(even) {
    border: 1px solid var(--border-light);
}

/* For larger screens, show more items per row */
@media (min-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .solutions-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* =====================================================
   TESTIMONIALS - MODERN CARD DESIGN
   ===================================================== */

.testimonials {
    padding: 40px 0;
    background-color: var(--light-bg);
    color: var(--white);
}

.testimonials .section-title h2 {
    color: #2c3e50;
}

.testimonials .section-title p {
    color: #2c3e50;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Changed from auto-fit to 4 equal columns */
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-avatar i {
    font-size: 1.5rem;
    color: var(--white);
}

.client-info h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 600;
}

.rating {
    color: #FFC107;
    font-size: 0.875rem;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    position: relative;
    font-size: 0.938rem;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-teal);
    position: absolute;
    left: -8px;
    top: -20px;
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--light-gray);
    font-size: 0.813rem;
}

.testimonial-date {
    color: var(--text-secondary);
}

/* Responsive adjustments for testimonials */
@media (max-width: 1200px) {
    .testimonials-grid {
        gap: 24px;
    }

    .testimonial-card {
        padding: 28px 24px;
    }

    .testimonial-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablets */
        gap: 20px;
    }

    .client-avatar {
        width: 48px;
        height: 48px;
    }

    .client-avatar i {
        font-size: 1.25rem;
    }

    .client-info h4 {
        font-size: 1rem;
    }

    .testimonial-text::before {
        font-size: 2.5rem;
        top: -16px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
        gap: 16px;
        max-width: 500px;
        margin: 0 auto;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .testimonial-text {
        font-size: 0.813rem;
        line-height: 1.6;
    }

    .testimonial-footer {
        font-size: 0.75rem;
    }
}

/* =====================================================
   CTA SECTION - MODERN GRADIENT DESIGN
   ===================================================== */

.cta-section,
.page-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--medium-navy) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before,
.page-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 221, 242, 0.1), transparent 70%);
    border-radius: 50%;
}

.cta-section h2,
.page-cta h2 {
    font-size: 2.75rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cta-section p,
.page-cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

/* =====================================================
   FOOTER - MODERN CLEAN DESIGN
   ===================================================== */

footer {
    background-color: var(--light-bg); /* #f8f9fa */
    color: var(--text-primary);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 50px;
}

.footer-about p {
    color: var(--text-secondary); /* Changed from white */
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.938rem;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--text-primary); /* Changed from white */
    margin-bottom: 24px;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary); /* Changed from white */
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.938rem;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--primary-red); /* Changed from teal to red for better contrast */
    padding-left: 4px;
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start; /* Changed from center for better alignment */
    color: var(--text-secondary); /* Changed from white */
    font-size: 0.938rem;
    line-height: 1.6;
}

.footer-contact i {
    margin-right: 12px;
    color: var(--primary-red);
    width: 20px;
    margin-top: 2px; /* Better icon alignment */
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--light-gray); /* Changed from dark */
    color: var(--text-primary); /* Changed from white */
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition-base);
}

.social-links a:hover {
    background-color: var(--primary-red); /* Changed to red */
    color: var(--white); /* Changed to white on hover */
    transform: translateY(-3px);
}

.footer-bottom {
    display:flex;
    justify-content: space-between;
    align-items:center;
    padding-top: 32px;
    border-top: 1px solid var(--light-gray); /* Changed from white */
}

.copyright {
    color: var(--medium-gray); /* Changed from white */
    font-size: 0.875rem;
}

.footer-policies {
    display: flex;
    gap: 24px;
}

.footer-policies a {
    color: var(--medium-gray); /* Changed from white */
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-policies a:hover {
    color: var(--primary-red); /* Changed from teal to red */
}

/* =====================================================
   BACK TO TOP BUTTON - MODERN STYLE
   ===================================================== */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* =====================================================
   MOBILE MENU BUTTON
   ===================================================== */

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-red);
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.service-card,
.testimonial-card,
.solution-item {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation delays */
.benefit-card:nth-child(1),
.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2),
.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.benefit-card:nth-child(3),
.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* =====================================================
   PAGE-SPECIFIC STYLES
   ===================================================== */

/* ABOUT PAGE SPECIFIC */
.company-story {
    padding: var(--spacing-sm) 0;
    background-color: var(--white);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.story-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.063rem;
}

.story-image .image-placeholder {
    height: 320px;
    background: linear-gradient(135deg, var(--dark-navy), var(--medium-navy));
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.story-image i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-teal);
}

.story-image p {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Mission & Values */
.mission-values {
    padding: var(--spacing-sm) 0;
    background-color: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.value-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--light-gray);
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.value-card h3 {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.core-values h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 700;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.core-value {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.core-value:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.core-value i {
    font-size: 2.5rem;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

.core-value h4 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.core-value p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.6;
}

/* Timeline */
/* Option 3: Minimalist Clean Cards */
.clean-timeline {
    padding: 40px 0;
}

.timeline-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.timeline-card.clean {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--light-gray);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-card.clean:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(34, 221, 242, 0.1);
    border-color: var(--accent-teal);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.year-badge {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-red));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(34, 221, 242, 0.3);
}

.year-badge.future {
    background: linear-gradient(135deg, var(--dark-navy), var(--medium-navy));
    box-shadow: 0 4px 15px rgba(26, 35, 50, 0.3);
}

.connector {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-teal), var(--light-gray));
}

.card-body h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.card-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.938rem;
    margin: 0;
}

.future-arrow {
    margin-top: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--dark-navy), var(--medium-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 35, 50, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(26, 35, 50, 0);
    }
}

/* Responsive for clean timeline */
@media (max-width: 992px) {
    .timeline-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .timeline-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }
    
    .timeline-card.clean {
        padding: 25px;
    }
    
    .year-badge {
        padding: 8px 16px;
        font-size: 1rem;
        min-width: 70px;
    }
}



/* Certifications */
.certifications {
    padding: var(--spacing-sm) 0;
    background-color: var(--light-bg);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cert-item {
    text-align: center;
    padding: 32px 20px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.cert-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.cert-item i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.cert-item h4 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.cert-item p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.6;
}

/* Community */
.community {
    padding: var(--spacing-md) 0;
    background-color: var(--white);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-text h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.community-text>p {
    margin-bottom: 40px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.063rem;
}

.initiatives {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.initiative {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: start;
}

.initiative i {
    font-size: 1.75rem;
    color: var(--accent-teal);
    margin-top: 4px;
}

.initiative h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.initiative p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.6;
}

.community-image .image-placeholder {
    height: 320px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.community-image i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-teal);
}

.community-image p {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* =====================================================
   SERVICES PAGE SPECIFIC
   ===================================================== */

.service-detail {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.service-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.service-tab {
    background: transparent;
    border: 2px solid var(--light-gray);
    color: var(--text-primary);
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.service-tab:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.service-tab.active {
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    border-color: transparent;
}

.service-detail-card {
    background-color: var(--light-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 60px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-md);
}

.service-detail-header {
    background: linear-gradient(135deg, var(--dark-navy), var(--medium-navy));
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-detail-header i {
    font-size: 3rem;
    color: var(--accent-teal);
}

.service-detail-header h2 {
    color: var(--white);
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.service-detail-content {
    padding: 40px;
}

.service-detail-content h3 {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.service-detail-content>p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 1.063rem;
}

.service-features {
    margin-bottom: 40px;
}

.service-features h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.service-features ul {
    list-style: none;
}

.service-features li {
    margin-bottom: 14px;
    display: flex;
    align-items: start;
    gap: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-features i.fa-check {
    color: var(--accent-teal);
    margin-top: 4px;
    flex-shrink: 0;
}

.service-process h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.service-process-steps {
    list-style: none;
    counter-reset: step-counter;
}

.service-process-steps li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 60px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-process-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Service Comparison */
.comparison-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
}

.comparison-table {
    width: 100%;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border-collapse: collapse;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--dark-navy), var(--medium-navy));
}

.comparison-table th {
    color: var(--white);
    padding: 24px;
    text-align: left;
    font-weight: 600;
    font-size: 1.125rem;
}

.comparison-table th:first-child {
    background-color: rgba(255, 255, 255, 0.1);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--light-gray);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 20px 24px;
    color: var(--text-primary);
}

.comparison-table td:first-child {
    font-weight: 600;
    background-color: var(--light-bg);
}

.comparison-table .check {
    color: var(--accent-teal);
    font-weight: 700;
    font-size: 1.25rem;
}

/* FAQ */
.faq-section {
    padding: var(--spacing-md) 0;
    background-color:var(--light-bg);
}

.faq-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition-base);
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-teal);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.063rem; /* ~17px */
    color: var(--text-primary);
    transition: var(--transition-base);
    background-color: var(--light-bg);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 20px;
    line-height: 1.5;
}

.faq-question:hover {
    background-color: rgba(34, 221, 242, 0.03);
}

.faq-question .faq-toggle {
    font-size: 1.25rem; /* 20px */
    color: var(--accent-teal);
    transition: var(--transition-base);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-question {
    background-color: rgba(34, 221, 242, 0.05);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-red);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--light-bg);
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.938rem; /* ~15px */
    margin: 0;
}

/* Make columns more balanced visually */
@media (min-width: 993px) {
    .faq-column:first-child .faq-item:last-child {
        margin-bottom: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .faq-columns {
        max-width: 100%;
        padding: 0 20px;
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .faq-columns {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .faq-column {
        gap: 12px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 1rem; /* 16px */
    }
    
    .faq-question span:first-child {
        padding-right: 16px;
    }
    
    .faq-question .faq-toggle {
        font-size: 1.125rem; /* 18px */
        width: 22px;
        height: 22px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 18px;
    }
    
    .faq-answer p {
        font-size: 0.875rem; /* 14px */
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: var(--spacing-md) 0;
    }
    
    .faq-question {
        padding: 16px 18px;
        font-size: 0.938rem; /* 15px */
    }
    
    .faq-question span:first-child {
        padding-right: 14px;
    }
    
    .faq-question .faq-toggle {
        font-size: 1.063rem; /* 17px */
        width: 20px;
        height: 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 18px 16px;
    }
    
    .faq-answer p {
        font-size: 0.813rem; /* 13px */
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .faq-columns {
        padding: 0 12px;
    }
    
    .faq-question {
        padding: 14px 16px;
        font-size: 0.875rem; /* 14px */
    }
    
    .faq-question span:first-child {
        padding-right: 12px;
    }
    
    .faq-question .faq-toggle {
        font-size: 1rem; /* 16px */
        width: 18px;
        height: 18px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 16px 14px;
    }
    
    .faq-answer p {
        font-size: 0.75rem; /* 12px */
    }
}
/* =====================================================
   SOLUTIONS PAGE SPECIFIC
   ===================================================== */

.solutions-overview {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.overview-card {
    text-align: center;
    padding: 32px 20px;
    background-color: var(--light-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    transition: var(--transition-base);
    animation: fadeInUp 0.6s ease forwards;
}

.overview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.overview-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.overview-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.overview-card p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.6;
}

/* Specialty Solutions */
.specialty-solutions {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-bg);
}

.specialty-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.6s ease forwards;
}

.specialty-header {
    background: linear-gradient(135deg, var(--dark-navy), var(--medium-navy));
    padding: 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}

.specialty-icon i {
    font-size: 3rem;
    color: var(--accent-teal);
}

.specialty-title h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.specialty-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.specialty-content {
    padding: 32px;
}

.specialty-features {
    margin-bottom: 30px;
}

.specialty-features h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.specialty-features ul {
    list-style: none;
}

.specialty-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: start;
    gap: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.specialty-features i.fa-check {
    color: var(--accent-teal);
    margin-top: 4px;
    flex-shrink: 0;
}

.specialty-subspecialties {
    margin-bottom: 30px;
}

.specialty-subspecialties h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.subspecialties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.subspecialty {
    background-color: var(--light-bg);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
}

.specialty-cta {
    margin-top: 40px;
}

/* Integration Section - UPDATED STYLES */
/* Integration Accordion Styles */

.integration-section {
    background: var(--light-bg);
    padding: 20px 0;
}

.integration-accordion {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.integration-dropdown {
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--light-gray);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.integration-dropdown.active {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-teal);
}

/* Dropdown Header */
.integration-dropdown-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: white;
}

.integration-dropdown-header:hover {
    background-color: var(--light-bg);
}

.integration-dropdown.active .integration-dropdown-header {
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--light-gray);
}

/* Integration Icon */
.integration-dropdown-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, rgba(34, 221, 242, 0.1), rgba(242, 41, 58, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.integration-dropdown.active .integration-dropdown-icon {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-red));
    transform: scale(1.05);
}

.integration-dropdown-icon i {
    font-size: 24px;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.integration-dropdown.active .integration-dropdown-icon i {
    color: white;
}

/* Header Content */
.integration-dropdown-header-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.integration-dropdown-title {
    flex: 1;
}

.integration-dropdown-title h3 {
    font-size: 1.375rem;
    color: var(--text-primary);
    margin-bottom: 6px;
    font-weight: 600;
}

.integration-dropdown-subtitle {
    color: var(--text-secondary);
    font-size: 0.938rem;
    margin: 0;
    line-height: 1.4;
}

.partner-badge {
    background: var(--primary-red);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-top: 8px;
}

/* Dropdown Toggle */
.integration-dropdown-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.integration-dropdown.active .integration-dropdown-toggle {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-red));
    color: white;
    transform: rotate(180deg);
}

.integration-dropdown-toggle i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Dropdown Content */
.integration-dropdown-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: white;
}

.integration-dropdown.active .integration-dropdown-content {
    padding: 24px;
    max-height: 4000px;
}

/* Integration Features */
.integration-features {
    margin-top: 20px;
}

.integration-features h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-gray);
}

/* Features Grid */
.integration-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.integration-feature-item {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: transform 0.2s ease;
}

.integration-feature-item:hover {
    transform: translateY(-2px);
    background: #f0f9ff;
}

.integration-feature-icon {
    flex-shrink: 0;
}

.integration-feature-icon i {
    font-size: 20px;
    color: var(--accent-teal);
}

.integration-feature-content h5 {
    margin: 0 0 6px 0;
    color: var(--text-primary);
    font-size: 0.938rem;
    font-weight: 600;
}

.integration-feature-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Solution Cards */
.solution-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.solution-card-dropdown {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid var(--accent-teal);
}

.solution-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.solution-card-header i {
    font-size: 20px;
    color: var(--primary-red);
}

.solution-card-header h5 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.solution-card-dropdown p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* iHealth Features Grid */
.ihealth-features-grid-dropdown {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.ihealth-feature-dropdown {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all 0.2s ease;
}

.ihealth-feature-dropdown:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
}

.ihealth-feature-dropdown i {
    font-size: 18px;
    color: var(--primary-red);
    margin-top: 2px;
    flex-shrink: 0;
}

.ihealth-feature-content {
    flex: 1;
}

.ihealth-feature-content h5 {
    margin: 0 0 4px 0;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
}

.ihealth-feature-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.813rem;
    line-height: 1.4;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .integration-dropdown-header {
        padding: 20px;
        gap: 16px;
    }
    
    .integration-dropdown-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }
    
    .integration-dropdown-icon i {
        font-size: 20px;
    }
    
    .integration-dropdown-title h3 {
        font-size: 1.125rem;
    }
    
    .integration-dropdown-subtitle {
        font-size: 0.875rem;
    }
    
    .integration-dropdown.active .integration-dropdown-content {
        padding: 20px;
    }
    
    .integration-features-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-cards-container {
        grid-template-columns: 1fr;
    }
    
    .ihealth-features-grid-dropdown {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .integration-dropdown-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .integration-dropdown-header-content {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .integration-dropdown-toggle {
        align-self: flex-end;
        margin-top: -40px;
    }
    
    .integration-dropdown.active .integration-dropdown-content {
        padding: 16px;
    }
}
.integration-logos {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.system-logo {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background: var(--light-bg);
    transition: all 0.3s ease;
}

.system-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.system-logo i {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.system-logo span {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.logo-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.integration-cta {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    color: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.integration-cta h3 {
    color: white;
    margin-bottom: 15px;
}

.integration-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 18px;
}

.integration-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.integration-cta .cta-button {
    background: white;
    color: var(--primary-red);
    border: none;
}

.integration-cta .cta-button.secondary {
    background: var(--accent-teal);
    color: white;
}

.integration-cta .cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

/* Responsive Styles for Integration Section */
@media (max-width: 768px) {
    .integration-partners {
        gap: 20px;
    }

    .partner-detail {
        padding: 20px;
    }

    .solution-cards {
        grid-template-columns: 1fr;
    }

    .ihealth-features-grid {
        grid-template-columns: 1fr;
    }

    .logo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .integration-cta {
        padding: 30px 20px;
    }

    .integration-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .integration-cta .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Selection Guide */
.selection-guide {
    padding: var(--spacing-xs) 0;
    background-color: var(--light-bg);
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.guide-step {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    position: relative;
    animation: fadeInUp 0.6s ease forwards;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.guide-step h4 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.guide-step p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.6;
}

.guide-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--dark-navy), var(--medium-navy));
    color: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.guide-cta p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* =====================================================
   CONTACT PAGE SPECIFIC
   ===================================================== */

/* Combined Contact Card */
.contact-section {
    padding: var(--spacing-sm) 0;
    background-color: var(--light-bg);
}

.combined-contact-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.card-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--light-gray);
}

.card-header h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 600;
}

.card-header h1 i {
    color: var(--primary-red);
    font-size: 2.25rem;
}

.card-header p {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Left Side - Contact Info */
.card-contact-info h2,
.card-contact-form h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-size: 1.375rem;
    font-weight: 600;
}

.card-contact-info h2 i,
.card-contact-form h2 i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.contact-details-compact {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-group {
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 20px;
}

.contact-detail-group h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-detail-group h3 i {
    color: var(--primary-red);
    font-size: 1.25rem;
}

.contact-detail-group p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 4px;
}

.contact-detail-group strong {
    color: var(--text-primary);
}

/* Map in Card */
.card-map {
    margin-top: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    border: 1px solid var(--light-gray);
}

.card-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Right Side - Form */
.card-contact-form {
    background-color: var(--light-bg);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: fit-content;
}

.form-header-compact {
    margin-bottom: 30px;
}

.form-header-compact h2 {
    margin-bottom: 8px;
}

.form-header-compact p {
    color: var(--text-secondary);
    font-size: 0.938rem;
    line-height: 1.6;
}

.contact-form-compact .form-group {
    margin-bottom: 20px;
}

.contact-form-compact label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.938rem;
}

.contact-form-compact input,
.contact-form-compact select,
.contact-form-compact textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.938rem;
    color: var(--text-primary);
    background-color: var(--white);
    transition: var(--transition-fast);
}

.contact-form-compact input:focus,
.contact-form-compact select:focus,
.contact-form-compact textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(34, 221, 242, 0.1);
}

.contact-form-compact button[type="submit"] {
    width: 100%;
    padding: 16px;
    font-size: 1.063rem;
    font-weight: 600;
    margin-top: 10px;
}

.contact-form-compact button[type="submit"] i {
    margin-right: 8px;
}

.form-note-compact {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.813rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-note-compact i {
    color: var(--accent-teal);
}

/* Responsive Design */
@media (max-width: 992px) {
    .card-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .combined-contact-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .combined-contact-card {
        padding: 24px;
    }
    
    .card-header h1 {
        font-size: 1.75rem;
    }
    
    .card-contact-form {
        padding: 24px;
    }
}
/* Sitemap */
.sitemap-section {
    padding: var(--spacing-xs) 0;
    background-color: var(--white);
}

.sitemap-section .section-title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sitemap-section .section-title h2 i {
    color: var(--primary-red);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sitemap-category {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
}

.sitemap-category h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.sitemap-category h3 i {
    color: var(--primary-red);
    font-size: 1.5rem;
}

.sitemap-category ul {
    list-style: none;
}

.sitemap-category li {
    margin-bottom: 12px;
}

.sitemap-category a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.938rem;
    transition: var(--transition-fast);
}

.sitemap-category a:hover {
    color: var(--primary-red);
    padding-left: 4px;
}

.sitemap-category a i {
    font-size: 0.75rem;
    color: var(--accent-teal);
}

/* =====================================================
   UNIQUE CAROUSEL DESIGN - BLUE THEME, NO STATISTICS
   ===================================================== */

.hero-carousel {
    position: relative;
    height: 500px;
    margin: 0 auto;
    max-width: 1200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    z-index: 1;
    display: flex;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 54, 93, 0.9) 0%, 
        rgba(44, 82, 130, 0.85) 50%,
        rgba(66, 153, 225, 0.1) 100%);
    z-index: 1;
}

.slide-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 60px;
    pointer-events: none;
}

.slide-content {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.98) 100%);
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-left: 6px solid #2b6cb0;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.slide-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a365d;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a365d, #2b6cb0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    color: #4a5568;
    font-size: 1.063rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.slide-content .cta-button {
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.2);
}

.slide-content .cta-button:hover {
    background: linear-gradient(135deg, #1a365d, #2b6cb0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 108, 176, 0.3);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    color: #2b6cb0;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carousel-control:hover {
    background: #2b6cb0;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(43, 108, 176, 0.25);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 0;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scaleX(1.2);
}

.indicator.active {
    background: linear-gradient(90deg, #22DDF2, #2b6cb0);
    transform: scaleX(1.2);
}

.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #22DDF2, #2b6cb0);
    width: 0%;
    transition: width 0.1s linear;
}

.slide-number {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* =====================================================
   RESPONSIVE CAROUSEL - KEEP SPLIT LAYOUT ON ALL DEVICES
   ===================================================== */

@media (max-width: 1200px) {
    .hero-carousel {
        height: 450px;
        margin: 30px 20px 60px;
    }
    
    .slide-content {
        max-width: 450px;
        padding: 35px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-carousel {
        height: 400px;
        margin: 20px 15px 40px;
    }
    
    .carousel-slide {
        display: flex !important;
        flex-direction: row !important;
    }
    
    .slide-visual {
        flex: 1;
        height: 100%;
    }
    
    .slide-content-overlay {
        padding: 40px;
    }
    
    .slide-content {
        max-width: 400px;
        padding: 30px;
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
    }
    
    .slide-content p {
        font-size: 0.938rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 380px;
        margin: 15px 15px 30px;
        border-radius: 12px;
    }
    
    .carousel-slide {
        flex-direction: row !important;
    }
    
    .slide-content-overlay {
        padding: 30px;
    }
    
    .slide-content {
        max-width: 350px;
        padding: 25px;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .slide-content p {
        font-size: 0.875rem;
        margin-bottom: 20px;
    }
    
    .slide-content .cta-button {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
    
    .carousel-control {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-carousel {
        height: 400px;
        margin: 10px 10px 25px;
        border-radius: 12px;
    }
    
    .carousel-slide {
        flex-direction: row !important;
    }
    
    .slide-visual {
        flex: 1;
        width: 50%;
    }
    
    .slide-content-overlay {
        position: absolute;
        padding: 20px;
        background: transparent !important;
    }
    
    .slide-content {
        max-width: 280px;
        padding: 20px;
        margin: 0;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%, 
            rgba(255, 255, 255, 0.99) 100%);
        border-left: 6px solid #2b6cb0;
    }
    
    .slide-content h1 {
        font-size: 1.25rem;
        margin-bottom: 10px;
        -webkit-text-fill-color: #1a365d;
        color: #1a365d;
        background: none;
    }
    
    .slide-content p {
        font-size: 0.813rem;
        margin-bottom: 16px;
        color: #4a5568;
    }
    
    .slide-content .cta-button {
        padding: 10px 20px;
        font-size: 0.813rem;
        width: auto;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 0.875rem;
        display: flex !important;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 30px;
        height: 4px;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 380px;
    }
    
    .slide-visual {
        width: 45%;
    }
    
    .slide-content {
        max-width: 240px;
        padding: 18px;
    }
    
    .slide-content h1 {
        font-size: 1.125rem;
    }
    
    .slide-content p {
        font-size: 0.75rem;
    }
    
    .carousel-control {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 360px) {
    .hero-carousel {
        height: 360px;
    }
    
    .slide-visual {
        width: 40%;
    }
    
    .slide-content {
        max-width: 200px;
        padding: 16px;
    }
    
    .slide-content h1 {
        font-size: 1rem;
    }
    
    .slide-content p {
        font-size: 0.688rem;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .hero-carousel {
        height: 300px;
    }
    
    .carousel-slide {
        flex-direction: row !important;
    }
    
    .slide-content {
        max-width: 300px;
        padding: 20px;
    }
    
    .slide-content h1 {
        font-size: 1.125rem;
        margin-bottom: 8px;
    }
    
    .slide-content p {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }
}

@media (prefers-color-scheme: dark) {
    .slide-content {
        background: linear-gradient(135deg, 
            rgba(30, 30, 30, 0.98) 0%, 
            rgba(40, 40, 40, 0.98) 100%);
    }
    
    .slide-content h1 {
        -webkit-text-fill-color: #4299e1;
        color: #4299e1;
        background: none;
    }
    
    .slide-content p {
        color: #e0e0e0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel-slide,
    .slide-content,
    .carousel-control,
    .indicator {
        transition: none !important;
    }
}



/* =====================================================
   SERVICES DROPDOWN/ACCORDION STYLES
   ===================================================== */

/* Services Overview Section */
.services-overview-section {
    padding: 40px 0 40px;
    background-color: var(--white);
}

.services-overview-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-overview-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.services-overview-divider::before,
.services-overview-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--medium-gray), transparent);
}

.services-overview-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--medium-gray);
}

.services-overview-header h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.services-overview-header p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Services Accordion Container */
.services-accordion {
    max-width: 900px;
    margin: 0 auto;
}

/* Service Dropdown Item */
.service-dropdown {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-base);
}

.service-dropdown.active {
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-teal);
}

/* Dropdown Header */
.service-dropdown-header {
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    transition: var(--transition-base);
    background-color: var(--white);
}

.service-dropdown-header:hover {
    background-color: var(--light-bg);
}

.service-dropdown.active .service-dropdown-header {
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--light-gray);
}

/* Service Icon */
.service-dropdown-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, rgba(34, 221, 242, 0.1), rgba(242, 41, 58, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.service-dropdown.active .service-dropdown-icon {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-red));
    transform: scale(1.05);
}

.service-dropdown-icon i {
    font-size: 1.75rem;
    color: var(--primary-red);
    transition: var(--transition-base);
}

.service-dropdown.active .service-dropdown-icon i {
    color: var(--white);
}

/* Service Header Content */
.service-dropdown-header-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-dropdown-title h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.service-dropdown-title p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    max-width: 500px;
}

/* Dropdown Toggle */
.service-dropdown-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-navy), var(--medium-navy));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.service-dropdown.active .service-dropdown-toggle {
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-red));
    transform: rotate(180deg);
}

.service-dropdown-toggle i {
    font-size: 1.125rem;
    transition: var(--transition-base);
}

/* Dropdown Content */
.service-dropdown-content {
    padding: 0 40px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--white);
}

.service-dropdown.active .service-dropdown-content {
    padding: 40px 40px 32px;
    max-height: 3000px; /* Large enough for all content */
}

/* Service Features in Dropdown */
.service-features-dropdown {
    margin-bottom: 30px;
}

.service-features-dropdown h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.service-features-dropdown ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-features-dropdown li {
    display: flex;
    align-items: start;
    gap: 10px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.938rem;
}

.service-features-dropdown i.fa-check {
    color: var(--accent-teal);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Service Process in Dropdown */
.service-process-dropdown {
    margin-bottom: 30px;
}

.service-process-dropdown h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.service-process-steps-dropdown {
    list-style: none;
    counter-reset: step-counter;
}

.service-process-steps-dropdown li {
    counter-increment: step-counter;
    margin-bottom: 16px;
    padding-left: 50px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-process-steps-dropdown li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-teal), var(--primary-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* Service Benefits in Dropdown */
.service-benefits-dropdown {
    margin-bottom: 30px;
}

.service-benefits-dropdown h4 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.service-benefits-dropdown ul {
    list-style: none;
}

.service-benefits-dropdown li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.938rem;
}

.service-benefits-dropdown li strong {
    color: var(--text-primary);
}

/* Quick Action Buttons */
.service-dropdown-actions {
    display: flex;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--light-gray);
}

.action-button {
    background: transparent;
    border: 2px solid var(--accent-teal);
    color: var(--accent-teal);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.938rem;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.action-button:hover {
    background: var(--accent-teal);
    color: var(--white);
    transform: translateY(-2px);
}

.action-button.secondary {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.action-button.secondary:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Remove old tabs and detailed sections */
.service-tabs,
.service-detail-card {
    display: none;
}

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

.service-dropdown {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-dropdown:nth-child(1) { animation-delay: 0.1s; }
.service-dropdown:nth-child(2) { animation-delay: 0.2s; }
.service-dropdown:nth-child(3) { animation-delay: 0.3s; }
.service-dropdown:nth-child(4) { animation-delay: 0.4s; }
.service-dropdown:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Styles */
@media (max-width: 768px) {
    .services-overview-section {
        padding: 60px 0 40px;
    }
    
    .services-overview-header h2 {
        font-size: 1.875rem;
    }
    
    .service-dropdown-header {
        padding: 24px;
        gap: 16px;
    }
    
    .service-dropdown-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .service-dropdown-icon i {
        font-size: 1.5rem;
    }
    
    .service-dropdown-title h3 {
        font-size: 1.25rem;
    }
    
    .service-dropdown-title p {
        font-size: 0.938rem;
    }
    
    .service-dropdown.active .service-dropdown-content {
        padding: 24px;
    }
    
    .service-features-dropdown ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .service-features-dropdown li {
        font-size: 0.875rem;
    }
    
    .service-dropdown-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .action-button {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .service-dropdown-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .service-dropdown-header-content {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .service-dropdown-toggle {
        align-self: flex-end;
    }
    
    .service-dropdown.active .service-dropdown-content {
        padding: 20px;
    }
}
.service-dropdown.active .service-dropdown-toggle {
    transform: rotate(180deg);
}
/* =====================================================
   SERVICES TWO-COLUMN LAYOUT
   ===================================================== */

.services-two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Keep all existing dropdown styles but adjust for two-column layout */
.service-dropdown {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--light-gray);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-base);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

/* Adjust animation delays for two columns */
.services-column:first-child .service-dropdown:nth-child(1) { animation-delay: 0.1s; }
.services-column:first-child .service-dropdown:nth-child(2) { animation-delay: 0.2s; }
.services-column:first-child .service-dropdown:nth-child(3) { animation-delay: 0.3s; }
.services-column:first-child .service-dropdown:nth-child(4) { animation-delay: 0.4s; }
.services-column:first-child .service-dropdown:nth-child(5) { animation-delay: 0.5s; }
.services-column:first-child .service-dropdown:nth-child(6) { animation-delay: 0.6s; }

.services-column:last-child .service-dropdown:nth-child(1) { animation-delay: 0.1s; }
.services-column:last-child .service-dropdown:nth-child(2) { animation-delay: 0.2s; }
.services-column:last-child .service-dropdown:nth-child(3) { animation-delay: 0.3s; }
.services-column:last-child .service-dropdown:nth-child(4) { animation-delay: 0.4s; }
.services-column:last-child .service-dropdown:nth-child(5) { animation-delay: 0.5s; }
.services-column:last-child .service-dropdown:nth-child(6) { animation-delay: 0.6s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-two-column-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-column {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .service-dropdown-header {
        padding: 20px;
    }
    
    .service-dropdown.active .service-dropdown-content {
        padding: 20px;
    }
    
    .service-features-dropdown ul {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    /* Force all dropdowns to be closed by default on mobile */
    .dropdown.active .dropdown-menu,
    .dropdown .dropdown-menu {
        max-height: 0 !important;
        opacity: 0;
        visibility: hidden;
        margin: 0;
        padding: 0 !important;
        border: none;
        display: none;
    }
    
    /* Only show when active class is added */
    .dropdown.active .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        max-height: 400px !important;
        margin-top: 8px !important;
        margin-bottom: 16px !important;
        padding: 12px 0 !important;
        border-left: 2px solid var(--light-gray);
    }
}


