/* Reset and Base Styles */
:root {
    /* Brand Colors */
    --primary-color: #2c5aa0;
    --primary-dark: #1e3a8a;
    --primary-light: #4f7cc9;
    --accent-color: #10b981;
    --accent-light: #34d399;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #4b5563;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-muted: #e2e8f0;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-dark: #94a3b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    --gradient-light: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    
    /* Spacing Scale */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.4s ease;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-modal: 2000;
    --z-tooltip: 3000;

    /* Dropdown Sizing Controls (easy to edit) */
    --dropdown-min-width: 300px;           /* was 320px */
    --dropdown-max-width: 960px;           /* reduced overall width */
    --dropdown-viewport-margin: 24px;      /* margin from viewport edges */
    --dropdown-max-height-offset: 80px;    /* smaller offset -> taller menu */
    --dropdown-padding-y: 1.25rem;         /* vertical padding inside menu */
    --dropdown-padding-x: 0;               /* horizontal padding inside menu */
    --dropdown-grid-gap-y: 1rem;           /* row gap inside grid */
    --dropdown-grid-gap-x: 1.5rem;         /* column gap inside grid (reduced) */
    --dropdown-grid-width-extra: 32px;     /* accounts for scrollbar/inner padding */

    /* Navbar logo controls */
    --nav-logo-size: 80px;
    --nav-logo-scale: 3.75; /* ~80px * 3.75 ≈ 300px visual size */
}

/* Specialties dropdown: narrower width, taller panel, always-accessible scrollbar */
.dropdown-menu.specialties-dropdown {
    min-width: var(--dropdown-min-width);
    max-width: min(880px, calc(100vw - var(--dropdown-viewport-margin)));
    max-height: calc(100vh - var(--dropdown-max-height-offset));
    overflow-y: auto; /* ensure scrollbar is on the menu */
    scrollbar-gutter: stable both-edges;
}

/* Inner grid tweaks only for specialties */
.dropdown-menu.specialties-dropdown .dropdown-grid {
    width: auto; /* width governed by menu */
    padding: 1rem 1.25rem;
    gap: var(--dropdown-grid-gap-y) 1.25rem; /* slightly tighter columns */
}


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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

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

/* Common Styles */
.pseudo-cover {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
}

.card-body {
    padding: var(--spacing-md);
}

/* Section Styling */
.section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-sm { margin-bottom: var(--spacing-sm) !important; }
.mb-md { margin-bottom: var(--spacing-md) !important; }
.mb-lg { margin-bottom: var(--spacing-lg) !important; }
.mb-xl { margin-bottom: var(--spacing-xl) !important; }
.mb-2xl { margin-bottom: var(--spacing-2xl) !important; }
.mt-sm { margin-top: var(--spacing-sm) !important; }
.mt-md { margin-top: var(--spacing-md) !important; }
.mt-lg { margin-top: var(--spacing-lg) !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.px-sm { padding-left: var(--spacing-sm) !important; padding-right: var(--spacing-sm) !important; }
.px-md { padding-left: var(--spacing-md) !important; padding-right: var(--spacing-md) !important; }

/* Responsive Utilities */
.hidden-sm { display: block; }
.visible-sm { display: none; }

/* Navigation */
/* Common dropdown item styles */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: var(--z-dropdown);
    padding: 0.5rem 0;
    overflow: visible;
    transition: var(--transition-normal);
    animation: navbarSlideDown 0.8s ease-out;
}

@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* Image logo sizing and visual scaling */
.nav-logo img {
    height: var(--nav-logo-size);
    width: var(--nav-logo-size);
    object-fit: contain;
    transform: scale(var(--nav-logo-scale));
    transform-origin: left center;
    display: block;
}

.nav-logo .tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    animation: navLinkFadeIn 0.6s ease-out;
}

@keyframes navLinkFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

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

/* Desktop hover effect */
.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Base dropdown menu (hidden by default) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    min-width: var(--dropdown-min-width);
    max-width: min(var(--dropdown-max-width), calc(100vw - var(--dropdown-viewport-margin))); /* keep inside viewport */
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: var(--dropdown-padding-y) var(--dropdown-padding-x);
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    visibility: hidden;
    z-index: var(--z-dropdown);
    list-style: none;
    border: 1px solid var(--border-light);
    max-height: calc(100vh - var(--dropdown-max-height-offset)); /* increased usable height */
    overflow-y: auto; /* single scrollbar on the menu */
    scrollbar-gutter: stable both-edges; /* keep space for scrollbar */
}

/* Fix for Resources dropdown positioning */
.resources-dropdown {
    right: 0;
    left: auto;
}

/* Desktop hover opens menu */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Mobile tap support: .active class */
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Rotate arrow on mobile tap */
.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--bg-tertiary);
    position: relative;
    margin: 0;
    min-height: 50px;
    box-sizing: border-box;
}

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

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-muted) 100%);
    color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.dropdown-item i {
    width: 24px;
    height: 24px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
    background: rgba(44, 90, 160, 0.1);
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
}

.dropdown-item:hover i {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.dropdown-item span {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

/* Scrollbar styling */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Hamburger (hidden desktop, visible mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        gap: 5px;
    }

    .dropdown-menu {
        position: static; /* no absolute positioning on mobile */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px; /* expands when tapped */
    }
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge i {
    color: #10b981;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

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

.hero-graphic {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Achievements Banner */
.achievements {
    background: var(--bg-secondary);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--border-light);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.achievement-item {
    padding: 1.5rem;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.achievement-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Highlight 98% Achievement */
.achievement-item.highlight {
    position: relative;
    display: inline-block;
    padding: 2rem 2.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff; /* White text for contrast */
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.achievement-item.highlight .achievement-number {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff; /* Ensure number is white */
}

.achievement-item.highlight .achievement-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85); /* Slightly softer white for label */
}

.achievement-item.highlight:hover {
    transform: scale(1.1);
}


/* Why Choose ORMBS Section */
.why-choose {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
    font-family: 'Inter', sans-serif;
}

/* Section Header */
.section-header {
    text-align: center;
   
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #111827;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header .tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-header p {
    max-width: 750px;
    margin: 1rem auto 0;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.advantage-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.advantage-card .icon-container {
    width: 70px;
    height: 70px;
    background: rgba(44, 90, 160, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.advantage-card:hover .icon-container {
    background: #2c5aa0;
}

.advantage-card .icon-container i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.advantage-card:hover .icon-container i {
    color: #ffffff;
}

.advantage-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
}

.advantage-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.advantage-highlight {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.advantage-highlight span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Service Icon for Advantage Cards */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: rgba(44, 90, 160, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.advantage-card:hover .advantage-icon {
    background: #2c5aa0;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.advantage-card:hover .advantage-icon i {
    color: #ffffff;
}

/* Service Card Styling for Advantage Cards */
.advantage-card.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #7c3aed);
}

.advantage-card.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Testimonial Section */
.testimonial, .testimonial-highlight {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin: 3rem auto;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

.testimonial::before, .testimonial-highlight::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author, .testimonial-highlight .testimonial-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.testimonial-author-info {
    text-align: right;
}

.testimonial-author-name, .author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-author-title, .author-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

.quote-mark {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.cta-container {
    text-align: center;
    margin-top: 2rem;
}

.guarantee {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Summary Section */
.why-choose-summary {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.why-choose-summary h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111827;
    text-align: center;
}

.advantages-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.advantages-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantages-column ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: #374151;
    line-height: 1.6;
}

.advantages-column ul li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: #10b981;
}

.guarantee-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.guarantee-icon {
    font-size: 2.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.guarantee-text {
    font-size: 1.1rem;
    color: #111827;
    font-weight: 500;
    line-height: 1.6;
}

/* Specialty CTA - merged and optimized */
.specialty-cta {
    text-align: center;
    padding: 4rem 0;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    position: relative;
    overflow: hidden;

    /* Subtle glow animation */
    animation: ctaGlow 6s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }
}



@keyframes shimmerMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Title */
.specialty-cta h2 {
      color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;     /* fully centered */
    white-space: nowrap;    /* prevents line breaks */
    position: relative;
    z-index: 1;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(0,0,0,0.1); }
    50% { text-shadow: 0 0 20px rgba(0,0,0,0.2); }
}

/* Description */
.specialty-cta p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* CTA Button */
.specialty-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;

    /* Pulse effect */
    animation: pulseGlow 2s ease-in-out infinite;
}

.specialty-cta .btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255,255,255,0.3), 
        transparent
    );
    transition: left 0.5s ease;
}

.specialty-cta .btn:hover::before {
    left: 100%;
}

.specialty-cta .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
    }
    50% { 
        box-shadow: 0 5px 25px rgba(44, 90, 160, 0.6);
    }
}

.btn-primary {
    background: #10b981;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-columns {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-author {
        justify-content: flex-start;
    }
    
    .testimonial-author-info {
        text-align: left;
    }
    
    .guarantee-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}



.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}



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

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.services-footer {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
}

.services-footer p {
    font-size: 1.1rem;
    color: #374151;
    font-weight: 500;
}

/* RMC Support Section */
.rmc-support {
    padding: 5rem 0;
    background: white;
}

.rmc-content {
    max-width: 800px;
    margin: 0 auto;
}

.rmc-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.rmc-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.rmc-benefits {
    background: #f8fafc;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border-left: 4px solid #2c5aa0;
}

.rmc-benefits h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.rmc-benefits ul {
    list-style: none;
}

.rmc-benefits li {
    padding: 0.5rem 0;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.rmc-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #374151;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.author-info h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f8fafc;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.compliance-badges {
    margin: 1rem 0;
}

.compliance-badges .badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: #2c5aa0;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
    animation: socialBounce 0.3s ease-out;
}

@keyframes socialBounce {
    0% { transform: translateY(-3px) scale(1.1); }
    50% { transform: translateY(-5px) scale(1.15); }
    100% { transform: translateY(-3px) scale(1.1); }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* RIGHT side contact buttons */
.sticky-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* LEFT side rating */
.sticky-rating {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
}

/* Shared button style */
.sticky-btn {
    background: rgb(43, 89, 158); /* Main blue */
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;

    display: inline-flex;   /* IMPORTANT: keep only one display */
    align-items: center;
    gap: 0.5rem;

    font-weight: 600;
    box-shadow: 0 4px 20px rgba(43, 89, 158, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.sticky-btn:hover {
    background: #1d4077;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(29, 64, 119, 0.4);
}

/* ⭐ Rating stars */
.rating-btn i {
    color: gold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* Mobile Dropdown Styles */
    .dropdown {
        position: static;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        margin: 1rem 0;
        border-radius: var(--border-radius-sm);
        padding: 0.5rem 0;
        min-width: auto;
        display: none;
        max-height: none;
        overflow-y: visible;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        justify-content: center;
    }

    .dropdown-item {
        justify-content: center;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e2e8f0;
        transform: none !important;
    }

    .dropdown-item:hover {
        transform: none !important;
        background: #e2e8f0;
        box-shadow: none;
    }

    .dropdown-item i {
        background: none;
        padding: 0;
        border-radius: 0;
        min-width: auto;
        height: auto;
    }

    .dropdown-item:hover i {
        background: none;
        color: var(--primary-color);
        transform: none;
    }

    .dropdown-menu.specialties {
        grid-template-columns: 1fr;
        min-width: auto;
    }

    .dropdown-menu.specialties .dropdown-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-graphic {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .sticky-contact {
        bottom: 1rem;
        right: 1rem;
    }

    .sticky-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .sticky-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .achievement-number {
        font-size: 2rem;
    }

    .achievement-label {
        font-size: 0.9rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.testimonial-card,
.about-text,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
} 

/* Custom specialty icon image styling */
.specialty-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    background: rgba(44, 90, 160, 0.1);
    padding: 0.5rem;
    flex-shrink: 0;
    margin: 0;
    transition: var(--transition-normal);
}

.dropdown-item:hover .specialty-icon-img {
    background: #2c5aa0;
    transform: scale(1.1);
}

/* Ensure the image works in the specialties grid */
.dropdown-menu.specialties .specialty-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    background: rgba(44, 90, 160, 0.1);
    padding: 0.5rem;
    flex-shrink: 0;
    margin: 0;
    transition: var(--transition-normal);
}

.dropdown-menu.specialties .dropdown-item:hover .specialty-icon-img {
    background: #2c5aa0;
    transform: scale(1.1);
} 

/* Ensure specialties Font Awesome icons also invert on hover */
.dropdown-menu.specialties .dropdown-item:hover i {
    background: #2c5aa0;
    color: #ffffff;
}

.specialty-icon-img.hospice-icon {
    width: 34px !important;
    height: 34px !important;
}

.specialty-icon-img.nephrology-icon {
    width: 60px !important; /* example size */
    height: 60px !important;
}

/* BMI Calculator Styling */
/* ---------- BMI Section ---------- */
.bmi-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef8 100%);
    font-family: 'Poppins', sans-serif;
    position: relative;
}


/* ---------- Container Wrapper ---------- */
.calculator-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ---------- Section Header ---------- */
.section-header h2 {
    font-size: 36px;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 10px;
}
.section-header p.section-intro {
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

/* ---------- BMI Card ---------- */
.bmi-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.bmi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* ---------- Form Elements ---------- */
.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
    display: block;
}
.dual-input {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dual-input input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.dual-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(44,90,160,0.25);
    outline: none;
}
.dual-input span {
    font-weight: 600;
    color: #555;
}

/* Height ft-in */
.height-ft-in {
    display: flex;
    gap: 10px;
}

/* ---------- Age & Gender Row ---------- */
.form-row-2 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.form-row-2 .form-group {
    flex: 1;
}

/* ---------- Button ---------- */
.bmi-card button {
    width: 100%;
    padding: 16px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    color: #fff;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.bmi-card button:hover {
    transform: scale(1.03);
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
}

/* ---------- Result Card ---------- */
.bmi-result {
    margin-top: 30px;
    padding: 25px 20px;
    border-radius: 25px;
    background: #f1f4fb;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* BMI Progress */
.bmi-progress {
    width: 100%;
    background: #e1e5f0;
    border-radius: 30px;
    height: 20px;
    overflow: hidden;
}
.progress-bar {
    height: 100%;
    width: 0;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width 1s ease-in-out;
}

/* BMI Label */
.bmi-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 10px;
}

/* BMI Categories */
.bmi-categories {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    width: 100%;
}
.bmi-category {
    text-align: center;
}
.bmi-category-label {
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 12px;
    color: #fff;
    margin-bottom: 3px;
}
.bmi-underweight { background: #7ec8e3; }
.bmi-normal { background: #2c5aa0; }
.bmi-overweight { background: #fbc678; color: #333; }
.bmi-obese { background: #f56a6a; }

/* Recommendations */
.health-recommendations h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}
.recommendations-content {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.share-buttons .btn {
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 14px;
}

/* ---------- Animations ---------- */
@keyframes float {
    0%,100% { transform: translateY(0) rotate(0deg);}
    50% { transform: translateY(-10px) rotate(10deg);}
}



.height-options {
    display: flex;
    gap: 5px;
    align-items: center;
}

.height-options input {
    width: 70px;
}

.form-group select {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.share-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

#results {
    text-align: left;
    margin-top: 15px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: var(--border-radius-sm);
}



/* About Page Styles */
.page-header {
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2c5aa0 0%, #3d74c5 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>');
    z-index: 0;
}

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

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-header p {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    opacity: 0.95;
}

/* Page-specific header icons and animations */
/* Terms Page */
.page-header h1.terms-title::before {
    content: '📋';
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

/* Privacy Page */
.page-header h1.privacy-title::before {
    content: '🛡️';
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

/* Cancellation Page */
.page-header h1.cancellation-title::before {
    content: '🚫';
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

/* Return Page */
.page-header h1.return-title::before {
    content: '🔄';
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

/* Shipping Page */
.page-header h1.shipping-title::before {
    content: '📦';
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

/* Refund Page */
.page-header h1.refund-title::before {
    content: '💳';
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

/* About Page */
.page-header h1.about-title::before {
    content: '🏢';
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

/* Contact Page */
.page-header h1.contact-title::before {
    content: '📞';
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}



.ceo-message-content {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid #0ea5e9;
    margin: 2rem 0;
}

.ceo-message-content details {
    margin-top: 1rem;
}

.ceo-message-content summary {
    cursor: pointer;
    color: var(--brand);
    font-weight: 600;
    padding: 0.5rem 0;
}

.benefits-grid ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.benefits-grid li {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 3px solid #22c55e;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease;
}

.benefits-grid li:hover {
    transform: translateX(4px);
}

.benefits-grid i {
    color: #22c55e;
    font-size: 1.1rem;
}
.team-section {
    margin-top: 2rem;
}

.team-section h3 {
    color: var(--brand);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;

    /* ✅ Keep all cards aligned */
    align-items: stretch;
    justify-items: center;
}

.team-member-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e7eb;

    /* ✅ Make all cards equal height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.team-member-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--brand);
}

.team-member-card h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.team-member-card p {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0; /* ✅ prevent uneven spacing */
}



/* Who We Are section */
.about-intro {
    padding: 50px 20px;
    background: #fff;
}

.about-intro .container {
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.about-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.about-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Mission & Vision section */
.mission-vision {
    background: #f0f4fa;
    padding: 50px 20px;
}

.mission-vision .container {
    max-width: 1000px;
    margin: auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.mission-vision .mv-item {
    flex: 1 1 300px;
    text-align: center;
}

.mission-vision h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.mission-vision i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* Why Choose Us section */
.why-choose {
    padding: 50px 20px;
    background: #fff;
}

.why-choose .container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.why-choose h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.why-choose ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.why-choose li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #374151;
}

.why-choose li i {
    color: var(--primary-color);
    margin-right: 8px;
}










    /* Page-specific styling for inetranl Medicine */
    .im-hero {
        background-color: #2c5aa0; /* Main blue background */
        padding: 80px 20px;
        color: #fff;
        text-align: center;
        position: relative;
    }
    .im-hero h1, .im-hero p {
        position: relative;
        z-index: 1;
    }
    .im-content {
        padding: 50px 20px;
        background-color: #f7f9fc;
        border-radius: var(--border-radius-sm);
        max-width: 900px;
        margin: 40px auto;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    .im-content h2 {
        color: var(--primary-color);
        margin-bottom: 20px;
    }
    .im-content p {
        line-height: 1.8;
        margin-bottom: 20px;
    }
    .im-content i {
        color: var(--primary-color);
        margin-right: 10px;
    }

    /* Floating hero graphic */
    .hero-image {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        font-size: 150px;
        color: rgba(255, 255, 255, 0.1); /* Subtle transparent white */
        z-index: 0; /* Behind text */
    }
    .hero-overlay {
        position: relative;
    }
    .hero-graphic i {
        display: block;
    }

    /* Ensure navbar does not cover content */
    body.ar-page {
        padding-top: 80px; /* Adjust based on your navbar height */
    }
    /* Optional: make navbar sticky at top */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }




/* ========================================
   ROI CALCULATOR MODERN STYLING
   ======================================== */

/* ROI Calculator Section */
.roi-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.roi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.roi-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.roi-container h2 {
    text-align: center;
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.roi-container h2 i {
    color: var(--primary-color);
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

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

/* ROI Form Styling */
.roi-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.roi-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #7c3aed);
    border-radius: 20px 20px 0 0;
}

.roi-form label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
}

.roi-form label::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
    top: 2px;
}

.roi-form input[type="number"] {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    font-size: 1.2rem;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #fafbfc, #f1f5f9);
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.roi-form input[type="number"]:focus {
    outline: none;
    border-color: #2c5aa0;
    background: white;
    box-shadow: 0 0 0 6px rgba(44, 90, 160, 0.15), 0 8px 25px rgba(44, 90, 160, 0.2);
    transform: translateY(-2px) scale(1.02);
}

.roi-form input[type="number"]:hover {
    border-color: #64748b;
    background: white;
    transform: translateY(-1px);
}

.roi-form button {
    width: 100%;
    background: linear-gradient(90deg, #2c5aa0, #7c3aed);
    color: white;
    border: none;
    padding: 22px 40px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.roi-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.roi-form button:hover::before {
    left: 100%;
}

.roi-form button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.4);
    background: linear-gradient(90deg, #1e40af, #6d28d9);
}

.roi-form button:active {
    transform: translateY(-2px) scale(1.01);
}

/* ROI Results Styling */
.roi-result {
    background: white;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    border-left: 6px solid #10b981;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
}

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

.roi-result::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 0 0 0 100px;
    opacity: 0.1;
}

.roi-result h3 {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.roi-result h3::before {
    content: '📊';
    font-size: 1.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.roi-result p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    margin: 15px 0;
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    border-left: 4px solid #e2e8f0;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.roi-result p::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(44, 90, 160, 0.1), rgba(16, 185, 129, 0.1));
    transition: width 0.4s ease;
}

.roi-result p:hover::before {
    width: 100%;
}

.roi-result p:hover {
    background: white;
    border-left-color: #2c5aa0;
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.roi-result p strong {
    color: #374151;
    font-weight: 700;
    flex: 1;
    position: relative;
    z-index: 1;
}

.roi-result p span {
    color: #059669;
    font-weight: 800;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    border: 2px solid #a7f3d0;
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
}

/* Special styling for extra revenue */
.roi-result p:last-of-type {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-left-color: #dc2626;
}

.roi-result p:last-of-type span {
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border-color: #f87171;
    font-size: 1.3rem;
    font-weight: 900;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(220, 38, 38, 0.3); }
    to { box-shadow: 0 0 20px rgba(220, 38, 38, 0.6); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .roi-section {
        padding: 60px 0;
    }
    
    .roi-container {
        padding: 0 15px;
    }
    
    .roi-container h2 {
        font-size: 2.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .roi-form {
        padding: 30px;
    }
    
    .roi-form input[type="number"] {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .roi-form button {
        padding: 18px 30px;
        font-size: 1.2rem;
    }
    
    .roi-result {
        padding: 30px;
    }
    
    .roi-result h3 {
        font-size: 1.6rem;
    }
    
    .roi-result p {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        text-align: left;
    }
    
    .roi-result p span {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .roi-container h2 {
        font-size: 1.8rem;
    }
    
    .roi-form {
        padding: 25px;
    }
    
    .roi-result {
        padding: 25px;
    }
    
    .roi-result h3 {
        font-size: 1.4rem;
    }
    
    .roi-result p {
        padding: 15px 20px;
    }
}

/* ========================================
   TERMS AND CONDITIONS MODERN STYLING
   ======================================== */

/* Terms Page Header Enhancement */
.page-header {
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="legal-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20,5 L35,20 L20,35 L5,20 Z" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23legal-pattern)"/></svg>');
    z-index: 0;
}

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

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-header h1::before {
    content: '📋';
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.page-header p {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Terms Content Container */
.terms-content {
    max-width: 1000px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Main Terms Card */
.terms-content {
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    border-top: 6px solid #2c5aa0;
    position: relative;
    overflow: hidden;
}

.terms-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2c5aa0 0%, #3d74c5 100%);
    border-radius: 0 0 0 200px;
    opacity: 0.03;
}

/* Typography Styling */
.terms-content h1 {
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.terms-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2c5aa0 0%, #3d74c5 100%);
    border-radius: 2px;
}

.terms-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 50px 0 25px;
    padding: 20px 0;
    border-bottom: 3px solid #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-content h2::before {
    content: '⚖️';
    font-size: 1.8rem;
}

.terms-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradientlinear-gradient(180deg, #2c5aa0, #1e3a8a);
}

.terms-content h3 {
    color:  #2c5aa0;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 35px 0 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    border-left: 4px solid #2c5aa0;
    position: relative;
    transition: var(--transition-normal);
}

.terms-content h3:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
}

.terms-content h3::before {
    content: '📄';
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Paragraph Styling */
.terms-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
    position: relative;
    padding: 20px 0;
}

.terms-content p:hover {
    color: #374151;
    transition: color 0.3s ease;
}

/* List Styling */
.terms-content ul {
    margin: 25px 0;
    padding-left: 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 4px solid #10b981;
}

.terms-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
    transition: var(--transition-normal);
}

.terms-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    background: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.terms-content li:hover {
    transform: translateX(5px);
    color: #374151;
}

/* Link Styling */
.terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition-normal);
}

.terms-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradientlinear-gradient(135deg, #2c5aa0 0%, #3d74c5 100%);
    transition: width 0.3s ease;
}

.terms-content a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.terms-content a:hover::after {
    width: 100%;
}

/* Contact Section Special Styling */
.terms-content p:last-of-type {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #bae6fd;
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Terms & Conditions Page - Phone emoji */
.page-header .terms-title ~ .terms-content p:last-of-type::before {
    content: '📞';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

/* About Page - Diamond emoji */
.page-header .about-title ~ .terms-content p:last-of-type::before {
    content: '💎';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.8rem;
        flex-direction: column;
        gap: 15px;
    }
    
    .terms-content {
        margin: -40px auto 60px;
        padding: 40px 30px;
    }
    
    .terms-content h1 {
        font-size: 2.2rem;
    }
    
    .terms-content h2 {
        font-size: 1.8rem;
        margin: 40px 0 20px;
    }
    
    .terms-content h3 {
        font-size: 1.4rem;
        padding: 12px 20px;
    }
    
    .terms-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .terms-content ul {
        padding: 20px;
    }
    
    .terms-content li {
        padding-left: 30px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .terms-content {
        padding: 30px 20px;
    }
    
    .terms-content h1 {
        font-size: 1.9rem;
    }
    
    .terms-content h2 {
        font-size: 1.6rem;
    }
    
    .terms-content h3 {
        font-size: 1.3rem;
        padding: 10px 15px;
    }
    
    .terms-content ul {
        padding: 15px;
    }
}

/* ========================================
   PRIVACY POLICY MODERN STYLING
   ======================================== */

/* Privacy Policy Styling */
.privacy-content {
    max-width: 1000px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    border-top: 6px solid #2c5aa0;
    position: relative;
    overflow: hidden;
}

.privacy-content::after {
    content: '🔒';
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    opacity: 0.1;
    animation: float 3s ease-in-out infinite reverse;
    z-index: 0;
}

.privacy-content .floating-shield {
    position: absolute;
    bottom: 40px;
    left: 40px;
    font-size: 2.5rem;
    opacity: 0.08;
    animation: float 4s ease-in-out infinite reverse;
    z-index: 0;
}

.privacy-content .floating-shield::before {
    content: '🛡️';
}


.privacy-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2c5aa0, #4f7cc9);
    border-radius: 0 0 0 200px;
    opacity: 0.03;
}

/* Privacy Typography Styling */
.privacy-content h1 {
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.privacy-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    border-radius: 2px;
}

.privacy-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 50px 0 25px;
    padding: 20px 0;
    border-bottom: 3px solid #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.privacy-content h2::before {
    content: '🔒';
    font-size: 1.8rem;
}

.privacy-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
}

.privacy-content h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 35px 0 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    border-left: 4px solid #2c5aa0;
    position: relative;
    transition: var(--transition-normal);
}

.privacy-content h3:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
}

.privacy-content h3::before {
    content: '🛡️';
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Privacy Paragraph Styling */
.privacy-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
    position: relative;
    padding: 20px 0;
}

.privacy-content p:hover {
    color: #374151;
    transition: color 0.3s ease;
}

/* Privacy List Styling */
.privacy-content ul {
    margin: 25px 0;
    padding-left: 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 4px solid #10b981;
}

.privacy-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
    transition: var(--transition-normal);
}

.privacy-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    background: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.privacy-content li:hover {
    transform: translateX(5px);
    color: #374151;
}

/* Privacy Link Styling */
.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition-normal);
}

.privacy-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    transition: width 0.3s ease;
}

.privacy-content a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.privacy-content a:hover::after {
    width: 100%;
}

/* Privacy Contact Section Special Styling */
.privacy-content p:last-of-type {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #bae6fd;
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.privacy-content p:last-of-type::before {
    content: '📧';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.3;
}

/* Responsive Design for Privacy */
@media (max-width: 768px) {
    .privacy-content {
        margin: -40px auto 60px;
        padding: 40px 30px;
    }
    
    .privacy-content h1 {
        font-size: 2.2rem;
    }
    
    .privacy-content h2 {
        font-size: 1.8rem;
        margin: 40px 0 20px;
    }
    
    .privacy-content h3 {
        font-size: 1.4rem;
        padding: 12px 20px;
    }
    
    .privacy-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .privacy-content ul {
        padding: 20px;
    }
    
    .privacy-content li {
        padding-left: 30px;
    }
}

@media (max-width: 480px) {
    .privacy-content {
        padding: 30px 20px;
    }
    
    .privacy-content h1 {
        font-size: 1.9rem;
    }
    
    .privacy-content h2 {
        font-size: 1.6rem;
    }
    
    .privacy-content h3 {
        font-size: 1.3rem;
        padding: 10px 15px;
    }
    
    .privacy-content ul {
        padding: 15px;
    }
}

/* ========================================
   POLICY PAGES MODERN STYLING (CANCELLATION, RETURNS, SHIPPING, REFUNDS)
   ======================================== */

/* Cancellation Policy Styling */
.cancellation-content {
    max-width: 1000px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    border-top: 6px solid #2c5aa0;
    position: relative;
    overflow: hidden;
}

.cancellation-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2c5aa0, #4f7cc9);
    border-radius: 0 0 0 200px;
    opacity: 0.03;
}

.cancellation-content h1 {
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cancellation-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    border-radius: 2px;
}

.cancellation-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 50px 0 25px;
    padding: 20px 0;
    border-bottom: 3px solid #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cancellation-content h2::before {
    content: '❌';
    font-size: 1.8rem;
}

.cancellation-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
}

.cancellation-content h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 35px 0 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    border-left: 4px solid #2c5aa0;
    position: relative;
    transition: var(--transition-normal);
}

.cancellation-content h3:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
}

.cancellation-content h3::before {
    content: '🚫';
    margin-right: 10px;
    font-size: 1.2rem;
}

.cancellation-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
    position: relative;
    padding: 20px 0;
}

.cancellation-content p:hover {
    color: #374151;
    transition: color 0.3s ease;
}

.cancellation-content ul {
    margin: 25px 0;
    padding-left: 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 4px solid #10b981;
}

.cancellation-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
    transition: var(--transition-normal);
}

.cancellation-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    background: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.cancellation-content li:hover {
    transform: translateX(5px);
    color: #374151;
}

.cancellation-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition-normal);
}

.cancellation-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    transition: width 0.3s ease;
}

.cancellation-content a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.cancellation-content a:hover::after {
    width: 100%;
}

/* Returns Policy Styling */
.return-content {
    max-width: 1000px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    border-top: 6px solid #2c5aa0;
    position: relative;
    overflow: hidden;
}

.return-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2c5aa0, #4f7cc9);
    border-radius: 0 0 0 200px;
    opacity: 0.03;
}

.return-content h1 {
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.return-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    border-radius: 2px;
}

.return-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 50px 0 25px;
    padding: 20px 0;
    border-bottom: 3px solid #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.return-content h2::before {
    content: '↩️';
    font-size: 1.8rem;
}

.return-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
}

.return-content h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 35px 0 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    border-left: 4px solid #2c5aa0;
    position: relative;
    transition: var(--transition-normal);
}

.return-content h3:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
}

.return-content h3::before {
    content: '🔄';
    margin-right: 10px;
    font-size: 1.2rem;
}

.return-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
    position: relative;
    padding: 20px 0;
}

.return-content p:hover {
    color: #374151;
    transition: color 0.3s ease;
}

.return-content ul {
    margin: 25px 0;
    padding-left: 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 4px solid #10b981;
}

.return-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
    transition: var(--transition-normal);
}

.return-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    background: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.return-content li:hover {
    transform: translateX(5px);
    color: #374151;
}

.return-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition-normal);
}

.return-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    transition: width 0.3s ease;
}

.return-content a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.return-content a:hover::after {
    width: 100%;
}

/* Shipping Policy Styling */
.shipping-content {
    max-width: 1000px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    border-top: 6px solid #2c5aa0;
    position: relative;
    overflow: hidden;
}

.shipping-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2c5aa0, #4f7cc9);
    border-radius: 0 0 0 200px;
    opacity: 0.03;
}

.shipping-content h1 {
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.shipping-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    border-radius: 2px;
}

.shipping-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 50px 0 25px;
    padding: 20px 0;
    border-bottom: 3px solid #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.shipping-content h2::before {
    content: '🚚';
    font-size: 1.8rem;
}

.shipping-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
}

.shipping-content h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 35px 0 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    border-left: 4px solid #2c5aa0;
    position: relative;
    transition: var(--transition-normal);
}

.shipping-content h3:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
}

.shipping-content h3::before {
    content: '📦';
    margin-right: 10px;
    font-size: 1.2rem;
}

.shipping-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
    position: relative;
    padding: 20px 0;
}

.shipping-content p:hover {
    color: #374151;
    transition: color 0.3s ease;
}

.shipping-content ul {
    margin: 25px 0;
    padding-left: 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 4px solid #10b981;
}

.shipping-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
    transition: var(--transition-normal);
}

.shipping-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    background: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.shipping-content li:hover {
    transform: translateX(5px);
    color: #374151;
}

.shipping-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition-normal);
}

.shipping-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    transition: width 0.3s ease;
}

.shipping-content a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.shipping-content a:hover::after {
    width: 100%;
}

/* Refunds Policy Styling */
.refund-content {
    max-width: 1000px;
    margin: -60px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    border-top: 6px solid #2c5aa0;
    position: relative;
    overflow: hidden;
}

.refund-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2c5aa0, #4f7cc9);
    border-radius: 0 0 0 200px;
    opacity: 0.03;
}

.refund-content h1 {
    color: var(--text-primary);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.refund-content h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    border-radius: 2px;
}

.refund-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 50px 0 25px;
    padding: 20px 0;
    border-bottom: 3px solid #f1f5f9;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.refund-content h2::before {
    content: '💰';
    font-size: 1.8rem;
}

.refund-content h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
}

.refund-content h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 35px 0 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    border-left: 4px solid #2c5aa0;
    position: relative;
    transition: var(--transition-normal);
}

.refund-content h3:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
}

.refund-content h3::before {
    content: '💳';
    margin-right: 10px;
    font-size: 1.2rem;
}

.refund-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
    position: relative;
    padding: 20px 0;
}

.refund-content p:hover {
    color: #374151;
    transition: color 0.3s ease;
}

.refund-content ul {
    margin: 25px 0;
    padding-left: 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--border-radius);
    padding: 25px;
    border-left: 4px solid #10b981;
}

.refund-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
    transition: var(--transition-normal);
}

.refund-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    background: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.refund-content li:hover {
    transform: translateX(5px);
    color: #374151;
}

.refund-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition-normal);
}

.refund-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2c5aa0, #4f7cc9);
    transition: width 0.3s ease;
}

.refund-content a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.refund-content a:hover::after {
    width: 100%;
}

/* Responsive Design for All Policy Pages */
@media (max-width: 768px) {
    .cancellation-content,
    .return-content,
    .shipping-content,
    .refund-content {
        margin: -40px auto 60px;
        padding: 40px 30px;
    }
    
    .cancellation-content h1,
    .return-content h1,
    .shipping-content h1,
    .refund-content h1 {
        font-size: 2.2rem;
    }
    
    .cancellation-content h2,
    .return-content h2,
    .shipping-content h2,
    .refund-content h2 {
        font-size: 1.8rem;
        margin: 40px 0 20px;
    }
    
    .cancellation-content h3,
    .return-content h3,
    .shipping-content h3,
    .refund-content h3 {
        font-size: 1.4rem;
        padding: 12px 20px;
    }
    
    .cancellation-content p,
    .return-content p,
    .shipping-content p,
    .refund-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .cancellation-content ul,
    .return-content ul,
    .shipping-content ul,
    .refund-content ul {
        padding: 20px;
    }
    
    .cancellation-content li,
    .return-content li,
    .shipping-content li,
    .refund-content li {
        padding-left: 30px;
    }
}

@media (max-width: 480px) {
    .cancellation-content,
    .return-content,
    .shipping-content,
    .refund-content {
        padding: 30px 20px;
    }
    
    .cancellation-content h1,
    .return-content h1,
    .shipping-content h1,
    .refund-content h1 {
        font-size: 1.9rem;
    }
    
    .cancellation-content h2,
    .return-content h2,
    .shipping-content h2,
    .refund-content h2 {
        font-size: 1.6rem;
    }
    
    .cancellation-content h3,
    .return-content h3,
    .shipping-content h3,
    .refund-content h3 {
        font-size: 1.3rem;
        padding: 10px 15px;
    }
    
    .cancellation-content ul,
    .return-content ul,
    .shipping-content ul,
    .refund-content ul {
        padding: 15px;
    }
}
    .bh-content p {
        line-height: 1.8;
        margin-bottom: 20px;
    }
    .bh-content i {
        color: var(--primary-color);
        margin-right: 10px;
    }
  



/* Enhanced Dropdown Styles for Services and Specialties */
.dropdown-menu.services-dropdown,
.dropdown-menu.specialties-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    min-width: 480px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    border: 1px solid rgba(44, 90, 160, 0.1);
    max-height: 500px;
    overflow: visible;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu.services-dropdown,
.dropdown:hover .dropdown-menu.specialties-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Header */
.dropdown-header {
    padding: 1rem 1.5rem 0.75rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px 20px 0 0;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Dropdown Grid Layout */
.dropdown-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    gap: var(--dropdown-grid-gap-y) var(--dropdown-grid-gap-x);
    padding: 1rem 1.25rem;
    width: min(var(--dropdown-max-width), calc(100vw - (var(--dropdown-viewport-margin) + var(--dropdown-grid-width-extra)))); /* reduced width */
    max-height: none; /* scrolling handled by parent menu */
    background: var(--bg-primary);
    border-radius: 0 0 20px 20px;
    align-items: start;
    grid-auto-rows: minmax(64px, auto);
}

/* Helper: right-align menu to keep it on-screen when trigger is near right edge */
.dropdown.align-right .dropdown-menu,
.dropdown .dropdown-menu.align-right,
.resources-dropdown {
    right: 0;
    left: auto;
}

/* Optional layout with right-side help/links column */
.dropdown-grid.has-aside {
    grid-template-columns: 2fr 1fr;
}

.dropdown-aside {
    padding-left: 1.25rem;
    border-left: 1px solid var(--border-light);
}

.dropdown-aside h4 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-aside ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-aside li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-primary);
}

.dropdown-aside li i {
    color: var(--primary-color);
}

/* Make items inside the grid a bit larger without changing global dropdown items */
.dropdown-grid .dropdown-item {
    padding: 1rem 1.25rem;
    min-height: 64px;
    gap: 1rem;
}

.dropdown-grid .dropdown-item i {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 1.25rem;
}

.dropdown-grid .dropdown-item span {
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive: collapse to one column on smaller screens */
@media (max-width: 992px) {
    .dropdown-grid,
    .dropdown-grid.has-aside {
        grid-template-columns: 1fr;
        width: min(95vw, 700px);
    }
    .dropdown-aside {
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding-left: 0;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
    color: #334155;
    text-decoration: none;
    transition: var(--transition-normal);
    border-radius: var(--border-radius);
    position: relative;
    margin: 0;
    min-height: 70px;
    box-sizing: border-box;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.15);
    border-color: rgba(44, 90, 160, 0.2);
}

/* Icons */
.dropdown-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(44, 90, 160, 0.05) 100%);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid rgba(44, 90, 160, 0.1);
    transition: var(--transition-normal);
    min-width: 36px;
}

.dropdown-item:hover i {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

/* Item Content */
.item-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 0;
}

.item-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.2;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.item-description {
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
    transition: color 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.dropdown-item:hover .item-title {
    color: var(--primary-color);
}

.dropdown-item:hover .item-description {
    color: #475569;
}

/* Specialties dropdown specific styling */
.dropdown-menu.specialties-dropdown {
    min-width: 520px;
}

.dropdown-menu.specialties-dropdown .dropdown-grid {
    grid-template-columns: 1fr 1fr;
    max-height: 430px;
    overflow-y: auto;
}

/* Scrollbar styling for dropdown */
.dropdown-grid::-webkit-scrollbar {
    width: 6px;
}

.dropdown-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
    margin: 0.5rem;
}

.dropdown-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #cbd5e1, #94a3b8);
    border-radius: 3px;
}

.dropdown-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #94a3b8, #64748b);
}

/* Dropdown arrow indicator */
.dropdown-menu.services-dropdown::before,
.dropdown-menu.specialties-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    z-index: 2;
}

.dropdown-menu.services-dropdown::after,
.dropdown-menu.specialties-dropdown::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(44, 90, 160, 0.1);
    z-index: 1;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .dropdown-menu.services-dropdown,
    .dropdown-menu.specialties-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(44, 90, 160, 0.1);
        background: white;
        margin: 0.5rem 1rem;
        border-radius: var(--border-radius);
        min-width: auto;
        display: none;
        max-height: none;
        overflow: visible;
    }

    .dropdown.active .dropdown-menu.services-dropdown,
    .dropdown.active .dropdown-menu.specialties-dropdown {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .dropdown-grid {
        grid-template-columns: 1fr;
        padding: 0.75rem;
        max-height: none;
        overflow-y: visible;
    }

    .dropdown-item {
        padding: 0.75rem;
        min-height: 65px;
        margin: 0.25rem 0;
    }

    .dropdown-item i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        min-width: 32px;
    }

    .item-title {
        font-size: 0.8rem;
    }

    .item-description {
        font-size: 0.65rem;
    }
}

/* Enhanced Global Styles and Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Enhanced Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2c5aa0, #1e3a8a);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1e3a8a, #1e40af);
}

/* Enhanced Selection */
::selection {
    background: rgba(44, 90, 160, 0.2);
    color: var(--text-primary);
}

/* Enhanced Focus States */
*:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--border-radius);
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Enhanced Card Styles */
.service-card, .team-member-card, .testimonial-card {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(44, 90, 160, 0.1);
    overflow: hidden;
}

.service-card::before, .team-member-card::before, .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before, .team-member-card:hover::before, .testimonial-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover, .team-member-card:hover, .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced Service Icons */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(44, 90, 160, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
    border: 2px solid rgba(44, 90, 160, 0.1);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon i {
    color: white;
}



/* Enhanced Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* Enhanced Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    outline: none;
}

/* Enhanced Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Enhanced Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .hero-buttons {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}

/* Enhanced UI Components for New JavaScript Features */

/* Sticky Contact Button */
.sticky-contact-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    font-size: 0.9rem;
}

.sticky-contact-btn:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(44, 90, 160, 0.4);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-normal);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Enhanced Navbar Scrolled State */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
}

/* Notification System */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid #2c5aa0;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: #10b981;
}



.notification-error {
    border-left-color: #ef4444;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-consent p {
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent .btn {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}


/* Enhanced Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #2c5aa0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Form Validation Styles */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message {
    color: #10b981;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



/* Enhanced Mobile Menu Improvements */
@media (max-width: 768px) {
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .sticky-contact-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .back-to-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .cookie-consent .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Enhanced Print Styles */
@media print {
    .sticky-contact-btn,
    .back-to-top-btn,
    .notification,
    .cookie-consent,
    .loading-overlay {
        display: none !important;
    }
}




/* Enhanced BMI Calculator Styles */

/* Calculator Container */
.bmi-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.bmi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="health-dots" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="rgba(44,90,160,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23health-dots)"/></svg>');
    opacity: 0.3;
}

.calculator-wrapper {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.bmi-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(44, 90, 160, 0.1);
    transition: var(--transition-normal);
}

.bmi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Enhanced Input Groups */
.dual-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dual-input span {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.height-ft-in {
    display: flex;
    gap: 0.5rem;
}

/* Form Row Layouts */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Enhanced Form Groups */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition-normal);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    outline: none;
}

/* Enhanced Results Section */
.bmi-result {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.bmi-result.show {
    opacity: 1;
    transform: translateY(0);
}

.bmi-result h3 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Hide floating icons on mobile */
    .floating-icon {
        display: none !important;
    }
    
    /* BMI Layout Adjustments */
    .bmi-layout {
        flex-direction: column;
    }
    
    .bmi-left, 
    .bmi-visual {
        width: 100%;
        max-width: 100%;
    }
    
    .bmi-visual {
        margin-top: 2rem;
        height: 250px;
    }
    
    .bmi-visual-overlay {
        padding: 1rem;
    }
    
    .bmi-visual-overlay h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .bmi-visual-overlay p {
        font-size: 1rem;
    }
    
    /* Form adjustments */
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .dual-input {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .height-ft-in {
        width: 100%;
    }
    
    /* Button adjustments */
    .share-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .share-buttons .btn {
        width: 100%;
    }
}

/* BMI Bar Alternative */
.bmi-bar-wrapper {
    margin-bottom: 2rem;
}

.bmi-progress {
    width: 100%;
    height: 25px;
    background: linear-gradient(90deg, #8b5cf6, #6d28d9);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    width: 0; /* start empty */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    position: relative;
    backdrop-filter: blur(5px);
    transition: width 1.5s ease; /* smooth load animation */
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    );
    animation: shine 2s infinite;
}

/* Shiny sweeping effect */
@keyframes shine {
    0% { left: -50%; }
    100% { left: 100%; }
}

.bmi-label {
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* BMI Category Labels */
.bmi-categories {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bmi-category {
    text-align: center;
    flex: 1;
}

.bmi-category-label {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bmi-category-range {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Enhanced Report Grid */
.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.report-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(44, 90, 160, 0.1);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.report-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2c5aa0, #7c3aed);
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.report-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-card h4 i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.report-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.report-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.report-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Health Recommendations */
.health-recommendations {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.health-recommendations h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.health-recommendations h4 i {
    color: var(--accent-color);
}

.recommendations-content {
    display: grid;
    gap: 1rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid #2c5aa0;
}

.recommendation-item i {
    color: var(--accent-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.recommendation-text {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced Share Buttons */
.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-buttons .btn {
    min-width: 160px;
}

/* BMI Category Colors */
.bmi-underweight { color: rgb(59, 130, 246); }
.bmi-normal { color: rgb(22, 163, 74); }
.bmi-overweight { color: #f59e0b; }
.bmi-obese { color: #ef4444; }

/* Enhanced Loading States for Calculator */
.calculator-loading {
    position: relative;
    overflow: hidden;
}

.calculator-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

/* Enhanced Input Validation Styles */
.form-group.error input,
.form-group.error select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.success input,
.form-group.success select {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Enhanced Animation for Results */
.report-card:nth-child(1) { animation-delay: 0.1s; }
.report-card:nth-child(2) { animation-delay: 0.2s; }
.report-card:nth-child(3) { animation-delay: 0.3s; }
.report-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 768px) {
    .bmi-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .dual-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .height-ft-in {
        flex-direction: column;
    }
    
    .report-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    

}

/* Enhanced Print Styles for Calculator */
@media print {
    .bmi-card {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .share-buttons {
        display: none;
    }
    
    .report-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ===========================
   Contact Section Styles
=========================== */
.contact {
    padding: 5rem 0;
    background: #f8fafc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;

    margin-bottom: 0.5rem;
}

.page-header p {

    font-size: 1.1rem;
}

/* Grid Layout */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
    margin-top: 4px;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-item a {
    display: inline-block;
    margin-top: 0.25rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Form Fields */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #2c5aa0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.2);
}

/* Submit Button */
.contact-form button {
    padding: 0.9rem;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background: #1d4077;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}



/* Specialty Pages - New Modern Layout */
.specialty-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease-in-out infinite;
}


.specialty-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

/* Floating particles animation */
.specialty-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: particleFloat 10s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.specialty-hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: slideInUp 1s ease-out;
}

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

.specialty-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(
            45deg,
    #ffffff 0%,          
    #ffffff 40%, 
    #2c5aa0 50%,   /* blue flare */
    #ffffff 60%, 
    #e5e5e5 100%         
);
color: #ffffff; /* white text */
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite, bounceIn 1.2s ease-out 0.3s both;
}

@keyframes shimmer {
    0% { background-position: -200% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}


/* Target ONLY the h1 inside <section class="specialty-hero whitebackground"> */
.specialty-hero.whitebackground h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(
        45deg,
        #2c5aa0 0%,
        #2c5aa0 40%,
        rgba(255, 255, 255, 0.3) 50%,  /* thin light band */
        #2c5aa0 60%,
        #1e3a8a 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite, bounceIn 1.2s ease-out 0.3s both;
}

/* Shimmer effect */
@keyframes shimmer {
    0%   { background-position: -200% 50%; }
    100% { background-position: 200% 50%; }
}

/* Bounce-in animation (for the text entrance) */
@keyframes bounceIn {
    0%   { transform: scale(0.5); opacity: 0; }
    60%  { transform: scale(1.05); opacity: 1; }
    80%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}





.specialty-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.specialty-hero .hero-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
    animation: iconFloat 3s ease-in-out infinite, glowPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) rotate(5deg); 
    }
    50% { 
        transform: translateY(-5px) rotate(-5deg); 
    }
    75% { 
        transform: translateY(-15px) rotate(3deg); 
    }
}

@keyframes glowPulse {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(255,255,255,0.6));
    }
}

.specialty-content {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.specialty-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-secondary));
    z-index: 1;
}

.specialty-content .container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.specialty-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    color: #2c5aa0;
}



.specialty-section h2 i {
    color: var(--accent-color);
    font-size: 2rem;
}

.specialty-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.specialty-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}



.specialty-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.specialty-card h3 i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.specialty-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.specialty-benefits {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin: 3rem 0;
}

.specialty-benefits h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.specialty-benefits ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.specialty-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pricing Page Layout */
.pricing-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.pricing-intro h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.pricing-intro p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.pricing-section {
    margin-bottom: var(--spacing-2xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.pricing-card.popular {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: var(--gradient-accent);
    color: #ffffff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0 0.25rem;
}

.pricing-subtext {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--accent-color);
    margin-top: 0.2rem;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-note {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

/* Why Choose Us on Pricing Page */
.pricing-why {
    margin-top: var(--spacing-2xl);
}

.pricing-why h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.pricing-why-subtitle {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--spacing-xl);
    color: var(--text-secondary);
}

.pricing-why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
}

.pricing-why-item {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.pricing-why-item i {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.pricing-why-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-why-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

/* FAQ Accordion */
.pricing-faq {
    margin-top: var(--spacing-2xl);
}

.pricing-faq h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-primary);
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.faq-icon {
    margin-left: 1rem;
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: max-height var(--transition-normal), padding-bottom var(--transition-normal);
}

.faq-item.active .faq-answer {
    padding-bottom: 1rem;
    max-height: 400px;
}



/* Responsive Pricing Layout */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        transform: none;
    }

    .pricing-why-grid {
        grid-template-columns: 1fr;
    }

    .pricing-final-cta {
        padding: var(--spacing-lg);
        flex-direction: column;
        align-items: flex-start;
    }
}

.specialty-benefits li i {
    color: var(--accent-light);
    font-size: 1.1rem;
}


/* Enhanced specialty cards with animations */
.specialty-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: cardSlideIn 0.8s ease-out;
}

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

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

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

.specialty-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.specialty-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.3s ease;
}

.specialty-card:hover h3 {
    color: var(--accent-color);
}

.specialty-card h3 i {
    color: var(--accent-color);
    font-size: 1.25rem;
    animation: iconWiggle 2s ease-in-out infinite;
}

@keyframes iconWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.specialty-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.specialty-card:hover p {
    color: var(--text-primary);
}

/* Enhanced specialty benefits */
.specialty-benefits {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    animation: benefitsGlow 4s ease-in-out infinite;
}

@keyframes benefitsGlow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }
}

.specialty-benefits::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.specialty-benefits h2 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.specialty-benefits ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.specialty-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: listItemSlideIn 0.6s ease-out;
}

@keyframes listItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.specialty-benefits li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.specialty-benefits li i {
    color: var(--accent-light);
    font-size: 1.1rem;
    animation: checkPulse 2s ease-in-out infinite;
}

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



/* Additional Exciting Animations */

/* Glowing border effect for specialty sections */
.specialty-section::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--primary-color));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}



@keyframes borderGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Floating animation for specialty cards */
.specialty-card:nth-child(odd) {
    animation: floatCard 6s ease-in-out infinite;
}

.specialty-card:nth-child(even) {
    animation: floatCard 6s ease-in-out infinite reverse;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Text highlight effect */
.specialty-section h2:hover {
    background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.1), transparent);
    background-size: 200% 100%;
    animation: textHighlight 1s ease-in-out;
}

@keyframes textHighlight {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}


/* Responsive Design for Specialty Pages */
@media (max-width: 768px) {
    .specialty-hero h1 {
        font-size: 2.5rem;
    }
    
    .specialty-hero p {
        font-size: 1.1rem;
    }
    
    .specialty-section {
        padding: 2rem;
    }
    
    .specialty-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .specialty-benefits ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .specialty-hero {
        padding: 100px 0 60px;
    }
    
    .specialty-hero h1 {
        font-size: 2rem;
    }
    
    .specialty-section {
        padding: 1.5rem;
    }
    
    .specialty-card {
        padding: 1.5rem;
    }
}



/* Floating Icons */
.floating-icon {
    position: absolute;
    font-size: 60px;
    color: rgba(0, 123, 255, 0.1);
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}
.floating-icon:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: 2s;
}
.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}
.floating-icon:nth-child(4) {
    bottom: 10%;
    right: 5%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}

/* Floating Icons */
.why-choose {
    position: relative;
    background: #f8f9fa;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    font-size: 60px;
    color: rgba(0, 123, 255, 0.1);
    animation: float 8s ease-in-out infinite;
    z-index: 5;

}

.icon-1 { top: 5%; left: -69%; animation-delay: 0s; font-size: 250px; }
.icon-2 { top: 10%; right: -50%; animation-delay: 2s; font-size: 180px; }
.icon-3 { bottom: 20%; left: -80%; animation-delay: 4s; font-size: 220px; }
.icon-4 { bottom: 35%; right: 5%; animation-delay: 6s; font-size: 150px; }
.icon-5 { bottom: 35%; left: 5%; animation-delay: 8s; font-size: 150px; }
.icon-6 { bottom: 10%; right: 5%; animation-delay: 10s; font-size: 150px; }
.icon-7 { top: 30%; right: 5%; animation-delay: 10s; font-size: 150px; }
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}


.ceo-message-content details {
    position: relative;
}

/* Team wrapper hidden by default */
.team-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
    margin-top: 20px; /* spacing from text */
}

/* Show only when details is open */
.ceo-message-content details[open] .team-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* Image styling */
.team-image {
    max-width: 200px; /* smaller image */
    width: 100%;
    height: auto;
    border-radius: 8px; /* optional rounded corners */
}

/* Small title above image */
.team-title {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}
