/* =====================================================
   CA SOMESH CHANDAK & ASSOCIATES - Main Stylesheet
   Design System & Base Styles
   ===================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Font Awesome ships font-display:block by default (blocks icon glyphs up to 3s).
   Override with matching @font-face descriptors + font-display:swap for the two
   weights this site uses (fa-solid-900, fa-brands-400). Safe: this file loads
   after Font Awesome's stylesheet in every page's head, so per the CSS spec the
   later-declared @font-face with matching family/style/weight wins. */
@font-face {
	font-family: "Font Awesome 6 Free";
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: url("/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
	font-family: "Font Awesome 6 Brands";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("/webfonts/fa-brands-400.woff2") format("woff2");
}

/* =====================================================
   CSS Variables - Design Tokens
   ===================================================== */
:root {
    /* Professional Light Blue Theme */
    --primary-blue: #4A90E2;
    --primary-blue-dark: #3A7BC8;
    --primary-blue-light: #E8F4FD;
    --primary-green: #4CAF50;
    --primary-green-light: #81C784;
    --primary-green-dark: #388E3C;
    --primary-blue-a11y: #1E67BC;
    --primary-green-a11y: #367D39;
    --accent-red-a11y: #E21313;

    /* Logo Green - Keep Original */
    --logo-green: #22C55E;
    --logo-green-dark: #16A34A;

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --light-grey: #F1F5F9;
    --grey: #94A3B8;
    --dark-grey: #64748B;
    --text-dark: #1E293B;
    --text-light: #475569;

    /* Accent Colors */
    --accent-red: #EF4444;
    --accent-orange: #F97316;
    --accent-yellow: #EAB308;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Spacing */
    --container-max: 1280px;
    --container-padding: 1.5rem;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

/* =====================================================
   CSS Reset & Base Styles
   ===================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* =====================================================
   Typography
   ===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.text-primary {
    color: var(--primary-blue);
}

.text-green {
    color: var(--primary-green);
}

.text-white {
    color: var(--white);
}

.text-grey {
    color: var(--grey);
}

/* =====================================================
   Layout Utilities
   ===================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-grey {
    background-color: var(--light-grey);
}

.section-blue {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 2rem;
}

/* Grid Utilities */
.grid {
    display: grid;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Text Alignment */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Margin & Padding Utilities */
.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* =====================================================
   Section Headers
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
}

/* =====================================================
   Responsive Breakpoints
   ===================================================== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}/* =====================================================
   CA SOMESH CHANDAK & ASSOCIATES - Component Styles
   ===================================================== */

/* Clickable Service Cards */
a.dept-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

a.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.15);
}


/* =====================================================
   Top Bar
   ===================================================== */
.top-bar {
    background-color: var(--primary-blue-a11y);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-item i {
    color: var(--primary-green-light);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emergency-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-red-a11y);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* =====================================================
   Header / Navigation
   ===================================================== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* CA text styling - handled by HTML span, not pseudo-element */
.logo-icon::before {
    content: none;
}

.logo-icon::after {
    content: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue-a11y);
    line-height: 1.2;
}

.logo-text .name span {
    color: var(--primary-green-a11y);
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: var(--dark-grey);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    white-space: nowrap;
    font-size: 0.9375rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue-a11y);
    background-color: var(--light-grey);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* =====================================================
   Mega Menu (3-Column Layout)
   ===================================================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-dropdown>.nav-link i {
    font-size: 0.7rem;
    transition: var(--transition-normal);
}

.nav-dropdown:hover>.nav-link i {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: none;
    min-width: 650px;
    z-index: 1001;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .mega-menu {
    display: flex;
    gap: 2rem;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.mega-menu-column {
    flex: 1;
    min-width: 180px;
}

.mega-menu-column h5 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-green);
}

.mega-menu-column a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.875rem;
    transition: var(--transition-normal);
}

.mega-menu-column a:hover {
    color: var(--primary-blue);
    padding-left: 0.5rem;
}

/* Simple Dropdown (fallback) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: 0.5rem 0;
    display: none;
    min-width: 220px;
    z-index: 1001;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: var(--transition-normal);
    border-bottom: 1px solid var(--light-grey);
}

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

.dropdown-menu a:hover {
    background: var(--primary-blue-light);
    color: var(--primary-blue);
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--primary-blue);
    font-size: 0.875rem;
}

.dropdown-menu .dropdown-header {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--light-grey);
}

/* =====================================================
   Credentials Section
   ===================================================== */
.credentials-section {
    background: var(--light-grey);
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.credentials-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
}

.credential-item i {
    color: var(--primary-green);
    font-size: 1.25rem;
}

/* =====================================================
   Founder Profile Section
   ===================================================== */
.founder-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d5a87 100%);
    padding: 3rem 0;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.founder-photo {
    flex-shrink: 0;
}

.founder-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.founder-initials {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green) 0%, #388E3C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.founder-info {
    flex: 1;
}

.founder-name {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.founder-title {
    color: var(--primary-green-light);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.credential-badge i {
    color: var(--primary-green-light);
}

.founder-bio {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.founder-social {
    display: flex;
    gap: 0.75rem;
}

.founder-social .social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: var(--transition-normal);
}

.founder-social .social-link.linkedin {
    background: #0077B5;
}

.founder-social .social-link.whatsapp {
    background: #25D366;
}

.founder-social .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   Process Cards
   ===================================================== */
.process-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.process-card .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-card h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.process-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.9375rem;
}

/* =====================================================
   Google Reviews Section
   ===================================================== */
.google-reviews-container {
    display: flex;
    justify-content: center;
}

.google-reviews-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.google-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.rating-info {
    text-align: left;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.rating-stars .stars {
    color: #FBBC04;
    font-size: 1.25rem;
}

.review-count {
    color: var(--text-light);
    font-size: 0.875rem;
}

.google-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue-a11y);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-green {
    background-color: var(--primary-green-a11y);
    color: var(--white);
}

.btn-green:hover {
    background-color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-white:hover {
    background-color: var(--light-grey);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* =====================================================
   Cards
   ===================================================== */
.card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

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

.card-body {
    padding: 1.5rem;
}

/* Doctor Card */
.doctor-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

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

.doctor-card .image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-grey) 0%, var(--off-white) 100%);
}

.doctor-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.doctor-card .specialty-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.doctor-card .card-body {
    padding: 1.5rem;
}

.doctor-card h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.doctor-card .specialization {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.doctor-card .info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.doctor-card .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doctor-card .info-item i {
    color: var(--primary-green);
    width: 16px;
}

/* Department Card */
.dept-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.dept-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.dept-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-normal);
}

.dept-card:hover .icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
}

.dept-card h3 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

.dept-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Service Card */
.service-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
}

.service-card .icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-card h5 {
    margin-bottom: 0.25rem;
}

.service-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary-green-light);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

.hero-features {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-feature .icon {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-feature span {
    font-weight: 500;
}

/* =====================================================
   Stats Section
   ===================================================== */
.stats {
    background-color: var(--white);
    padding: 2rem 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    padding: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.stat-item .label {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* =====================================================
   Testimonial Card
   ===================================================== */
.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.testimonial-card .quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.testimonial-card .author-info h5 {
    margin-bottom: 0.25rem;
}

.testimonial-card .author-info span {
    font-size: 0.875rem;
    color: var(--grey);
}

.testimonial-card .stars {
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text .name {
    color: var(--white);
}

.footer-brand .logo-text .name span {
    color: var(--primary-green);
}

.footer-brand p {
    color: var(--grey);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--grey);
    transition: var(--transition-normal);
}

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

.footer-contact .contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--grey);
}

.footer-contact .contact-item i {
    color: var(--primary-green);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--grey);
    margin-bottom: 0;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.75rem;
}

.footer-bottom-links a {
    color: var(--grey);
    font-size: 0.8125rem;
    transition: var(--transition-normal);
}

.footer-bottom-links a:hover {
    color: var(--primary-green);
}

/* =====================================================
   Legal Pages Styling
   ===================================================== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-green);
}

.legal-section h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin: 1.25rem 0 0.75rem;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.legal-date {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-grey);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* =====================================================
   Forms
   ===================================================== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--light-grey);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition-normal);
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-control::placeholder {
    color: var(--grey);
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
}

/* =====================================================
   Page Header
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

/* =====================================================
   Contact Info Cards
   ===================================================== */
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-card .icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-card h5 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* =====================================================
   Gallery
   ===================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: var(--transition-normal);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay span {
    color: var(--white);
    font-weight: 500;
}

/* =====================================================
   Doctor Profile Grid
   ===================================================== */
.doctor-profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: start;
}

/* =====================================================
   Lightbox
   ===================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* =====================================================
   Responsive Adjustments
   ===================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    /* Grid adjustments for tablets */
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {

    /* Top Bar Mobile */
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }

    .top-bar-left {
        display: none;
    }

    .top-bar-item {
        font-size: 0.85rem;
    }

    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-normal);
        z-index: 999;
        overflow-y: auto;
    }

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

    .nav-link {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Header Mobile */
    .header {
        padding: 0.75rem 0;
    }

    .logo-text .name {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .logo-text .name span {
        display: block;
        font-size: 0.7rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo img {
        height: 40px !important;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    /* Dropdown Menu Mobile */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding-left: 1rem;
        background: var(--off-white);
    }

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

    .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown>.nav-link i {
        display: inline-block;
    }

    /* Mega Menu Mobile */
    .mega-menu {
        position: static;
        transform: none;
        min-width: 100%;
        flex-direction: column;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 0;
        background: var(--light-grey);
    }

    .nav-dropdown:hover .mega-menu {
        display: none;
    }

    .nav-dropdown.active .mega-menu {
        display: flex;
    }

    .mega-menu::before {
        display: none;
    }

    .mega-menu-column {
        padding: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mega-menu-column:last-child {
        border-bottom: none;
    }

    .mega-menu-column h5 {
        margin-bottom: 0.5rem;
    }

    .mega-menu-column a {
        padding: 0.4rem 0;
    }

    /* Credentials Section Mobile */
    .credentials-grid {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .credential-item {
        justify-content: center;
        font-size: 0.875rem;
    }

    /* Founder Section Mobile */
    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }

    .founder-initials,
    .founder-photo img {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }

    .founder-name {
        font-size: 1.5rem;
    }

    .founder-credentials {
        justify-content: center;
    }

    .founder-social {
        justify-content: center;
    }

    /* Process Cards Mobile */
    .process-card {
        padding: 1.5rem;
    }

    /* Google Reviews Mobile */
    .google-reviews-card {
        padding: 2rem;
    }

    .google-header {
        flex-direction: column;
        gap: 1rem;
    }

    .rating-info {
        text-align: center;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: auto;
        padding: 3rem 0 2rem;
    }

    .hero::before {
        width: 100%;
        opacity: 0.1;
    }

    .hero-content h1 {
        font-size: 1.875rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Stats Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 0;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .stats {
        margin-top: 0;
    }

    .stat-item .number {
        font-size: 2rem;
    }

    .stat-item .label {
        font-size: 0.75rem;
    }

    /* Grid Mobile - Force single column on mobile for most grids */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Doctor cards - 1 column on mobile */
    .doctor-card .image-wrapper {
        height: 250px;
    }

    /* Page header mobile */
    .page-header {
        padding: 3rem 0 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-contact .contact-item {
        justify-content: center;
        text-align: left;
    }

    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Doctor Profile Mobile - Stack vertically */
    .doctor-profile-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .doctor-info-section {
        order: 1;
    }

    .doctor-appointment-section {
        order: 2;
    }

    /* Contact Cards Mobile */
    .contact-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    /* Forms Mobile */
    .form-control {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    /* Buttons Mobile - Better touch targets */
    .btn {
        min-height: 48px;
        padding: 0.875rem 1.5rem;
    }

    /* Section spacing mobile */
    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

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

    /* Testimonials Mobile */
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-card .quote {
        font-size: 1rem;
    }
}

/* Extra small devices (phones in portrait, less than 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

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

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .dept-card {
        padding: 1.5rem;
    }

    .dept-card .icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }
}/* =====================================================
   CENTRAL HOSPITAL - Animations
   ===================================================== */

/* =====================================================
   Keyframe Animations
   ===================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

@keyframes fadeInDown {
    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 scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(30, 64, 175, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(30, 64, 175, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

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

    100% {
        background-position: 200% 0;
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   Animation Classes (Applied via JS)
   ===================================================== */
.animate {
    opacity: 0;
}

.animate.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.animate-fade-in.animated {
    animation-name: fadeIn;
}

.animate-fade-up.animated {
    animation-name: fadeInUp;
}

.animate-fade-down.animated {
    animation-name: fadeInDown;
}

.animate-fade-left.animated {
    animation-name: fadeInLeft;
}

.animate-fade-right.animated {
    animation-name: fadeInRight;
}

.animate-scale.animated {
    animation-name: scaleIn;
}

.animate-slide-up.animated {
    animation-name: slideInFromBottom;
}

/* Animation Delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

.delay-7 {
    animation-delay: 0.7s;
}

.delay-8 {
    animation-delay: 0.8s;
}

/* =====================================================
   Hover Animations
   ===================================================== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(30, 64, 175, 0.3);
}

/* =====================================================
   Continuous Animations
   ===================================================== */
.animate-float {
    animation: float 4s ease-in-out infinite;
}

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

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

.animate-rotate {
    animation: rotate 10s linear infinite;
}

/* =====================================================
   Loading Animation
   ===================================================== */
.loading-skeleton {
    background: linear-gradient(90deg, var(--light-grey) 25%, var(--off-white) 50%, var(--light-grey) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* =====================================================
   Counter Animation Support
   ===================================================== */
.counter {
    display: inline-block;
}

/* =====================================================
   Page Transition
   ===================================================== */
.page-transition {
    animation: fadeIn 0.5s ease;
}

/* =====================================================
   Scroll Progress Bar
   ===================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* =====================================================
   Back to Top Button
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

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

.back-to-top:hover {
    background-color: var(--primary-green);
    transform: translateY(-5px);
}

/* =====================================================
   WhatsApp Button
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

/* =====================================================
   Responsive Animation Adjustments
   ===================================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {

    .back-to-top,
    .whatsapp-float {
        right: 1rem;
    }

    .back-to-top {
        bottom: 1rem;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float {
        bottom: 4rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}