@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i&display=swap');

@font-face {
    font-family: FontAwesome;
    src: url(../fonts/fontawesome-webfont.eot?v=4.6.3);
    src: url(../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3) format('embedded-opentype'), url(../fonts/fontawesome-webfont.woff2?v=4.6.3) format('woff2'), url(../fonts/fontawesome-webfont.woff?v=4.6.3) format('woff'), url(../fonts/fontawesome-webfont.ttf?v=4.6.3) format('truetype'), url(../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular) format('svg');
    font-weight: 400;
    font-style: normal
}



/* Halpee HomeCare */


      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

:root {
  /* Brand Colors – from HELPEE text */
  --primary: #1f4f7a;          /* logo blue */
  --primary-light: #3a78a8;    /* soft blue highlight */
  --primary-dark: #14324d;     /* deep trust blue */

  /* Care Accent – hand + leaf */
  --accent: #2cb1a1;           /* teal green from logo */
  --accent-light: #6fd6c8;     /* leaf light green */

  /* UI Backgrounds – medical clean */
  --background: #f3faf9;       /* greenish white (care feel) */
  --surface: #ffffff;

  /* Text */
  --text-primary: #1f2937;
  --text-muted: #6b7280;

  /* Borders & Effects – brand based */
  --border: #dcefee;
  --shadow: rgba(31, 79, 122, 0.15);     /* blue shadow */
  --shadow-dark: rgba(0, 0, 0, 0.08);
  --glow: rgba(44, 177, 161, 0.22);      /* logo green glow */
  --border-hover: rgba(44, 177, 161, 0.3);

  /* Spacing */
  --header-height: 80px;
  --mobile-header-height: 70px;
  --section-spacing: 100px;
  --card-spacing: 30px;

  /* Glass Effect – premium care UI */
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(44, 177, 161, 0.2);
  --glass-shadow: rgba(31, 79, 122, 0.12);
}


      body {
        font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
        background-color: var(--background);
        line-height: 1.6;
        overflow-x: hidden;
      }

/* Header Styling */
/* Header Styles with Complete Color Scheme */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

/* Solid header on scroll */
.header.scrolled {
    background: var(--surface);
    box-shadow: 0 6px 20px var(--shadow);
    border-bottom: 1px solid var(--border);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 83px;
    width: auto;
    object-fit: contain;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.header.scrolled .nav-link {
    text-shadow: none;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    transition: width 0.3s ease;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Common Button Style */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    cursor: pointer;
    white-space: nowrap;

    text-decoration: none !important; /* REMOVE WHITE LINE */
    outline: none;

    border: none;
    color: #fff;

    transition: all 0.3s ease;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    -webkit-tap-highlight-color: transparent; /* Mobile fix */
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover */
.btn-primary:hover {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary) 100%
    );
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--shadow);
}

/* Focus / Active fix */
.btn:focus,
.btn:active {
    outline: none;
    text-decoration: none;
}

.header.scrolled .btn-primary {
    background: var(--primary);
    box-shadow: 0 4px 12px var(--shadow);
}

.header.scrolled .btn-primary:hover {
    background-color: var(--primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--glass-shadow);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.05);
    border-color: var(--border-hover);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active {
    background: rgba(31, 79, 122, 0.1);
    border-color: var(--primary-light);
}

.mobile-menu-toggle.active span {
    background-color: var(--primary);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    box-shadow: 0 10px 40px var(--glass-shadow);
    padding: 0;
    z-index: 999;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.mobile-menu.active {
    max-height: calc(100vh - var(--header-height));
    padding: 24px;
    overflow-y: auto;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.mobile-nav-link:hover {
    color: var(--primary);
    padding-left: 8px;
}

.mobile-nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.mobile-nav-link.active::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
    font-size: 24px;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-action-buttons {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

.mobile-action-buttons .btn {
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/*Floating Call Button*/
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #38bdf8 100%
    );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 18px;;
}

/* Hover Effect */
.floating-call-btn:hover {
    background: linear-gradient(
        135deg,
        #1e40af 0%,
        #2563eb 100%
    );
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.6);
}

/* Click Feedback */
.floating-call-btn:active {
    transform: scale(1.05);
}

/* Tooltip (same as WhatsApp) */
.floating-call-btn .tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--glass-bg);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px var(--glass-shadow);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Tooltip Show */
.floating-call-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* ============================
   MOBILE RESPONSIVENESS
============================ */

/* Tablets & small laptops */
@media (max-width: 992px) {
    .floating-whatsapp-btn,
    .floating-call-btn {
        width: 56px;
        height: 56px;
        font-size: 24px;
        right: 24px;
    }

    .floating-call-btn {
        bottom: 100px;
    }

    .floating-whatsapp-btn {
        bottom: 30px;
    }
}

/* Large Mobile Devices */
@media (max-width: 768px) {
    .floating-whatsapp-btn,
    .floating-call-btn {
        width: 54px;
        height: 54px;
        font-size: 23px;
        right: 20px;
    }

    .floating-call-btn {
        bottom: 95px;
    }

    .floating-whatsapp-btn {
        bottom: 25px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .floating-whatsapp-btn,
    .floating-call-btn {
      width: 56px;
        height: 56px;
        font-size: 26px;
        bottom: 24px;
        right: 24px;
    }
    }

    .floating-call-btn {
        bottom: 85px;
    }

    .floating-whatsapp-btn {
        bottom: 20px;
    }

    /* Hide tooltip on very small screens */
    .floating-whatsapp-btn .tooltip,
    .floating-call-btn .tooltip {
        display: none;
    }
}

/* Extra Small Phones (Old Android / iPhone SE) */
@media (max-width: 360px) {
    .floating-whatsapp-btn,
    .floating-call-btn {
        width: 46px;
        height: 46px;
        font-size: 19px;
        right: 14px;
    }

    .floating-call-btn {
        bottom: 78px;
    }

    .floating-whatsapp-btn {
        bottom: 16px;
    }
}

/* ============================
   SAFE AREA (iOS Notch Support)
============================ */
@supports (bottom: env(safe-area-inset-bottom)) {
    .floating-whatsapp-btn {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }

    .floating-call-btn {
        bottom: calc(85px + env(safe-area-inset-bottom));
    }
}




/* Floating WhatsApp Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--accent) 0%,
        var(--accent-light) 100%
    );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 32px var(--glow);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: none;
    outline: none;
    text-decoration: none; /* IMPORTANT for <a> */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover Effect */
.floating-whatsapp-btn:hover {
    background: linear-gradient(
        135deg,
        #239a8c 0%,
        var(--accent) 100%
    );
    transform: scale(1.1);
    box-shadow: 0 12px 40px var(--glow);
}

/* Click Feedback */
.floating-whatsapp-btn:active {
    transform: scale(1.05);
}

/* Tooltip */
.floating-whatsapp-btn .tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--glass-bg);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px var(--glass-shadow);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

/* Tooltip Show */
.floating-whatsapp-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .floating-whatsapp-btn {
        width: 52px;
        height: 52px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .floating-whatsapp-btn .tooltip {
        display: none;
    }
}


/* Responsive Design */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 15px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Tablet Styles */
@media (max-width: 900px) {
    .header-container {
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .logo-img {
        height: 70px;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .header {
        height: var(--mobile-header-height);
        border-bottom: 1px solid var(--border);
    }
    
    .header-container {
        height: var(--mobile-header-height);
        padding: 0 16px;
    }
    
    .nav-menu,
    .action-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
        top: var(--mobile-header-height);
        background: var(--background);
    }
    
    .mobile-action-buttons {
        display: flex;
    }
    
    .logo-img {
        height: 60px;
    }
    
    .mobile-menu.active {
        padding: 20px 16px;
        background: var(--surface);
    }
    
    .mobile-nav-link {
        font-size: 16px;
        padding: 14px 0;
    }
    
    .mobile-nav-link:hover {
        background: rgba(31, 79, 122, 0.05);
        border-radius: 6px;
        padding-left: 12px;
        margin: 0 -12px;
        padding-right: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .header-container {
        padding: 0 12px;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .mobile-menu-toggle {
        width: 44px;
        height: 44px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
    }
    
    .mobile-menu.active {
        padding: 16px 12px;
    }
    
    .mobile-nav-link {
        font-size: 15px;
        padding: 12px 0;
    }
    
    .mobile-action-buttons .btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .floating-whatsapp-btn {
        width: 56px;
        height: 56px;
        font-size: 26px;
        bottom: 24px;
        right: 24px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .header-container {
        padding: 0 10px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu.active {
        padding: 14px 10px;
    }
    
    .mobile-nav-link {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .floating-whatsapp-btn {
        width: 52px;
        height: 52px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* Prevent horizontal scroll on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (max-width: 900px) {
    .mobile-menu.active {
        max-height: 100vh;
        padding-bottom: 20px;
    }
    
    .mobile-nav-link {
        padding: 10px 0;
    }
}

/* Enhanced hover effects for brand consistency */
.nav-link:hover {
    background: linear-gradient(
        135deg,
        rgba(31, 79, 122, 0.05) 0%,
        rgba(44, 177, 161, 0.05) 100%
    );
    border-radius: 4px;
    padding: 8px 12px;
    margin: -8px -12px;
}

/* Active state enhancement */
.nav-link.active:hover::after {
    background: linear-gradient(
        135deg,
        var(--accent) 0%,
        var(--primary) 100%
    );
}

/* Loading animation for mobile menu */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}

.mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-link:nth-child(5) { animation-delay: 0.3s; }
.mobile-nav-link:nth-child(6) { animation-delay: 0.35s; }
.mobile-nav-link:nth-child(7) { animation-delay: 0.4s; }
.mobile-nav-link:nth-child(8) { animation-delay: 0.45s; }

        /* Hero Section */
        
        /* Hero Section with Brand Color Scheme */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 20px 0;
    background: linear-gradient(
        135deg,
        var(--background) 0%,
        rgba(255, 255, 255, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(31, 79, 122, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(44, 177, 161, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
    margin-top: 72px;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Consistent spacing between elements */
}

.hero-headline {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0; /* Remove bottom margin since we're using gap */
    color: var(--text-primary);
    animation: fadeInUp 1s ease forwards;
    font-size: 3.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-headline .highlight-text {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.hero-headline .highlight-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    opacity: 0.6;
}

.hero-subtext {
    font-size: 1.65rem;
    color: var(--text-muted);
    margin-bottom: 0; /* Remove bottom margin since we're using gap */
    max-width: 500px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 0; /* Remove bottom margin since we're using gap */
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    color: white;
    box-shadow: 0 10px 20px var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary) 100%
    );
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--shadow);
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 4px 12px rgba(31, 79, 122, 0.1);
}

.btn-secondary:hover {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--shadow);
    border-color: transparent;
}

/* Trust Indicator - FIXED VERSION */
.trust-indicator {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px var(--glass-shadow);
    max-width: 500px;
    margin-top: 0; /* No top margin since we're using gap */
    position: relative;
    z-index: 2;
    min-height: 88px; /* Ensure minimum height */
}

/* Avatar Group - FIXED */
.avatar-group {
    display: flex;
    position: relative;
    height: 48px;
    min-width: 180px;
    margin: 0;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid white;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        var(--accent-light) 0%,
        var(--primary-light) 100%
    );
    position: absolute;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    top: 0;
}

/* Avatar Positioning */
.avatar:nth-child(1) { 
    left: 0;
    z-index: 5;
}
.avatar:nth-child(2) { 
    left: 32px;
    z-index: 4;
}
.avatar:nth-child(3) { 
    left: 64px;
    z-index: 3;
}
.avatar:nth-child(4) { 
    left: 96px;
    z-index: 2;
}
.avatar:nth-child(5) { 
    left: 128px;
    z-index: 1;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Avatar Hover Effect */
.avatar:hover {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 6px 12px var(--shadow);
}

/* Trust Text - FIXED */
.trust-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
}

.trust-number {
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    font-size: 20px;
}

.trust-caption {
   
    color: var(--text-muted);
    white-space: nowrap;
    line-height: 1.4;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 450px;
    animation: fadeInRight 1s ease forwards;
    margin-top: 130px;
    width: 100%;
}

.image-container {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 20px 40px var(--shadow),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(31, 79, 122, 0.1) 0%,
        rgba(44, 177, 161, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.nurse-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(1.05) contrast(1.1);
}

.image-container:hover .nurse-image {
    transform: scale(1.05);
}

/* Decorative Elements */
.shape {
    position: absolute;
    z-index: -1;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid var(--glass-border);
}

.shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
    background: linear-gradient(
        135deg,
        rgba(58, 120, 168, 0.3),
        rgba(255, 255, 255, 0.1) 70%
    );
    top: -40px;
    right: -40px;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        rgba(111, 214, 200, 0.3),
        rgba(255, 255, 255, 0.1) 70%
    );
    bottom: -30px;
    left: -30px;
    opacity: 0.5;
    animation: float 8s ease-in-out infinite 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(
        225deg,
        rgba(31, 79, 122, 0.3),
        rgba(255, 255, 255, 0.1) 70%
    );
    top: 50%;
    left: -60px;
    transform: translateY(-50%);
    opacity: 0.3;
    animation: float 7s ease-in-out infinite 0.5s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Button focus states */
.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 177, 161, 0.3);
}

/* Trust indicator pulse animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 32px var(--glass-shadow);
    }
    50% {
        box-shadow: 0 12px 40px rgba(44, 177, 161, 0.25);
    }
}

/* =========================
   ALL MOBILE DEVICES
   (320px – 480px)
   ========================= */
@media (max-width: 480px) {

    .hero {
        padding: 32px 0;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
        padding: 0 16px;
        gap: 25px;
        align-items: center;
        max-width: 100%;
    }

    /* ✅ YOUR REQUIRED FONT SIZES */
    .hero-headline {
        font-size: 2.9rem;
        line-height: 1.2;
    }

    .hero-subtext {
        font-size: 2.1rem;
        line-height: 1.4;
        max-width: 95%;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 14px;
        width: 100%;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 1.5rem;
    }

    /* Trust Indicator */
    .trust-indicator {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }

    .avatar-group {
        height: 44px;
        min-width: 150px;
    }

    .avatar {
        width: 44px;
        height: 44px;
    }

    .trust-number {
        font-size: 1.8rem;
    }

    .trust-caption {
        font-size: 2.7rem;
        white-space: normal;
    }

    .hero-visual {
        height: 260px;
        margin-top: 32px;
        padding: 0 16px;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        display: none;
    }
}



/* Services Section */

/* Services Section - Original Design with Color Updates */
.services-section {
    width: 100%;
    max-width: 1200px;
    padding: var(--section-spacing) 0;
    align-items: center;
    padding: 0 15px;
    margin: 0 auto;
    margin-top: 60px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeInUp 0.8s ease forwards;
}

.hhc-section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    background: rgba(44, 177, 161, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
}

.main-heading {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.main-heading span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid - IMPORTANT: Set default to 3 columns */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-spacing);
    margin-bottom: 70px;
}

/* Service Cards */
.service-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: calc(var(--card-index) * 0.1s);
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px var(--shadow), 0 0 0 1px var(--border-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Service Icon */
.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(31, 79, 122, 0.1), rgba(44, 177, 161, 0.1));
    color: var(--primary);
    font-size: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(31, 79, 122, 0.2), rgba(44, 177, 161, 0.2));
    transform: scale(1.1);
    color: var(--accent);
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0.1;
    animation: pulse 2s infinite;
}

/* Service Content */
.service-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 16px;
}

/* CTA Button */
.cta-container {
    text-align: center;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 40px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px var(--shadow);
    text-decoration: none;
}

.view-all-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--shadow);
    gap: 16px;
}

.view-all-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.view-all-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}



/* Small Mobile: Still 2 columns (480px and below) */
@media (max-width: 480px) {
    /* Keep 2 columns even on small screens */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
    
    .hhc-section-label {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .service-card {
        padding: 20px 12px;
        border-radius: 15px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .service-title {
        font-size: 2.3rem;
    }
    
    .service-description {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        padding: 0 10px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile: Still 2 columns (360px and below) */
@media (max-width: 360px) {
    /* Keep 2 columns for very small screens */
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .service-card {
        padding: 18px 10px;
    }
    
    .main-heading {
        font-size: 1.6rem;
    }
    
    .service-title {
        font-size: 2.1rem;
    }
    
    .service-description {
        font-size: 1.7rem;
    }
}

/* Accessibility */
button:focus,
.service-card:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Loading animation for cards */
@keyframes cardLoad {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Debug styles to ensure cards are visible */
.service-card {
    visibility: visible !important;
    display: flex !important;
    opacity: 1 !important;
    animation: cardLoad 0.6s ease forwards !important;
}

.service-card:hover {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .main-heading {
        font-size: 2.5rem;
    }
}

         /* Footer Styles */
footer {
    background: linear-gradient(135deg, #1f4f7a 0%, #2cb1a1 100%);
    color: white;
    margin-top: auto;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -5px 20px rgba(44, 177, 161, 0.25);
    position: relative;
    overflow: hidden;
    margin-top: 25px;
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(110, 214, 200, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(31, 79, 122, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
    color: var(--background);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 3px;
}

/* Brand Column with Simple Logo */
.brand-column {
    display: flex;
    flex-direction: column;
}

.brand-logo {
    width: 159px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-3px);
}

.brand-column p {
    color: #dcefee;
    margin-bottom: 25px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid var(--glass-border);
}

.social-link:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--glow);
    border-color: var(--accent-light);
}

/* Navigation & Services Columns */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #dcefee;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--accent);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
    text-shadow: 0 0 8px var(--glow);
}

.footer-links a:hover i {
    opacity: 1;
}

/* Contact Column */
.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    color: var(--accent-light);
    margin-right: 12px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.contact-info span {
    color: #dcefee;
    line-height: 1.5;
}

.contact-info span a {
    color: #dcefee;
    text-decoration: none;
    display: inline-block;
}

.contact-info span a:hover {
    color: var(--accent-light);
}


/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(44, 177, 161, 0.2);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    color: #a8c6d8;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: #dcefee;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-bottom-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

/* ===============================
   FOOTER MOBILE HEIGHT OPTIMIZATION
=============================== */

/* Tablets */
@media (max-width: 768px) {

    .footer-container {
        padding: 40px 16px 20px; /* reduced */
    }

    .footer-grid {
        gap: 24px;
        margin-bottom: 30px;
    }

    .footer-column h3 {
        margin-bottom: 18px;
        font-size: 1.1rem;
    }

    .brand-logo {
        width: 140px;
        margin-bottom: 18px;
    }

    .brand-column p {
        margin-bottom: 18px;
        line-height: 1.6;
        font-size: 0.95rem;
    }

    .footer-links li {
        margin-bottom: 10px;
    }

    .contact-info li {
        margin-bottom: 14px;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {

    footer {
        border-top-left-radius: 18px;
        border-top-right-radius: 18px;
    }

    .footer-container {
        padding: 30px 14px 16px; /* IMPORTANT: height reduction */
    }

    .footer-grid {
        gap: 22px;
        margin-bottom: 24px;
    }

    .brand-logo {
        width: 125px;
        margin-bottom: 14px;
    }

    .brand-column p {
        font-size: 2.1rem;
        margin-bottom: 14px;
    }

    .social-links {
        gap: 12px;
    }

    .social-link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .contact-info li {
        margin-bottom: 12px;
    }

    .footer-bottom {
        padding-top: 18px;
        gap: 12px;
    }

    .copyright {
        font-size: 1.8rem;
    }

    
}

/* Extra Small Phones */
@media (max-width: 360px) {

    .footer-container {
        padding: 24px 12px 14px;
    }

    .footer-column h3 {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .brand-logo {
        width: 110px;
    }

    .brand-column p {
        font-size: 0.85rem;
    }
}
/* =========================================
   MOBILE: NAVIGATION + SERVICES IN ONE ROW
========================================= */

@media (max-width: 768px) {

    /* Turn footer grid into flexible layout */
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    /* Wrap Navigation + Services in 2-column grid */
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        width: 100%;
    }

    /* Create 2-column row only for nav + services */
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        display: inline-block;
    }

    .footer-grid {
        grid-auto-flow: dense;
    }

    /* Force nav + services into one row */
    .footer-column:nth-child(2),
    .footer-column:nth-child(3) {
        grid-column: span 1;
    }

    /* Two columns only for these two */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Brand & Contact full width */
    .footer-column:nth-child(1),
    .footer-column:nth-child(4) {
        grid-column: span 2;
    }

    /* Compact spacing */
    .footer-column h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-links a {
        font-size: 1.5rem;
    }
}

/* EXTRA SMALL PHONES */
@media (max-width: 420px) {

    .footer-grid {
        gap: 18px;
    }

    .footer-column h3 {
        font-size: 0.95rem;
    }

    .footer-links a {
        font-size: 1.8rem;
    }
}


        /* Scroll to top button */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px var(--shadow);
            border: none;
            z-index: 100;
            opacity: 0;
            visibility: hidden;
        }

        .scroll-top.show {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            transform: translateY(-5px);
            box-shadow: 0 8px 20px var(--shadow);
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px 30px;
            }
            
            .brand-logo {
                width: 180px;
            }
            
            .main-content {
                padding: 30px;
            }
        }

        @media (max-width: 768px) {
            .brand-logo {
                width: 160px;
            }
        }

        @media (max-width: 576px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .brand-logo {
                width: 200px;
                margin: 0 auto 25px;
            }
            
            .footer-bottom {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }
            
            .footer-bottom-links {
                justify-content: center;
            }
            
            .main-content {
                padding: 20px;
            }
            
            .scroll-top {
                bottom: 20px;
                right: 20px;
                width: 45px;
                height: 45px;
            }
        }

        /* Demo content styling */
        .demo-content {
            background: var(--surface);
            border-radius: 16px;
            padding: 30px;
            box-shadow: 0 5px 20px var(--shadow);
            margin-top: 30px;
            text-align: center;
        }

        .demo-title {
            color: var(--primary);
            margin-bottom: 15px;
            font-weight: 600;
        }

        .demo-description {
            color: var(--text-muted);
            margin-bottom: 25px;
        }

        .logo-preview {
            background: linear-gradient(45deg, #2cb1a1, #6b6fe8);
            border-radius: 12px;
            padding: 30px;
            margin: 20px auto;
            max-width: 400px;
            box-shadow: 0 8px 25px rgba(107, 111, 232, 0.2);
        }

        .logo-preview h2 {
            color: white;
            font-size: 2rem;
            margin-bottom: 5px;
            font-weight: 700;
        }

        .logo-preview p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
            letter-spacing: 2px;
            font-weight: 600;
            margin-bottom: 0;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .feature {
            background: var(--background);
            border-radius: 12px;
            padding: 20px;
            border-left: 4px solid var(--accent);
        }

        .feature h4 {
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .feature p {
            color: var(--text-muted);
            font-size: 0.9rem;
        }

          .service-finder-section {
            max-width: 1200px;
            margin: 0 auto;
            border-radius: 24px;
            padding: 60px 50px;
        }

        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title {
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 12px;
            letter-spacing: -0.5px;
        }

        .section-subtitle {
            color: var(--text-muted);
            font-weight: 400;
            font-size: 20px;
        }

        .city-selection-area {
            max-width: 700px;
            margin: 0 auto 60px;
        }

        .input-label {
            display: block;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 16px;
            text-align: center;
        }

        .input-group {
            display: flex;
            gap: 12px;
            align-items: stretch;
        }

        .select-wrapper {
            position: relative;
            flex: 1;
        }

        .select-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--primary);
            pointer-events: none;
            z-index: 1;
        }

        .city-select {
            width: 100%;
            padding: 18px 24px 18px 56px;
            border: 2px solid var(--border);
            border-radius: 50px;
            background: var(--surface);
            color: var(--text-primary);
            cursor: pointer;
            transition: all 0.3s ease;
            appearance: none;
            font-family: inherit;
            outline: none;
        }

        .city-select:hover {
            border-color: var(--border-hover);
            background: var(--glow);
        }

        .city-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px var(--glow);
        }

        .city-select option {
            padding: 12px;
        }

        .dropdown-arrow {
            position: absolute;
            right: 24px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            pointer-events: none;
            transition: transform 0.3s ease;
        }

        .cta-button {
            padding: 18px 36px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
            white-space: nowrap;
            box-shadow: 0 4px 16px var(--shadow);
        }

        .cta-button:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 24px var(--shadow);
        }

        .cta-button:active {
            transform: translateY(0);
        }

        .cta-button i {
            font-size: 1.125rem;
        }

        .error-message {
            display: none;
            text-align: center;
            color: #ef4444;
            font-size: 0.875rem;
            margin-top: 12px;
            animation: shake 0.3s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-8px); }
            75% { transform: translateX(8px); }
        }

        .services-results {
            display: none;
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .results-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .results-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .results-subtitle {
            color: var(--text-muted);
            font-size: 1rem;
        }

        .city-name {
            color: var(--primary);
            font-weight: 600;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
        }

       

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .service-finder-section {
                padding: 40px 24px;
                border-radius: 16px;
            }

            .section-title {
                font-size: 2rem;
            }

            .section-subtitle {
                font-size: 1rem;
            }

            .input-group {
                flex-direction: column;
            }

            .cta-button {
                width: 100%;
                justify-content: center;
                padding: 20px 36px;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .results-title {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 20px 12px;
            }

            .service-finder-section {
                padding: 32px 20px;
            }

            .section-title {
                font-size: 1.75rem;
            }

            .section-subtitle {
                font-size: 21px;
            }
        }


        /*Why Choose us  */
        
        /* ===============================
   HEALTHCARE SECTION
================================ */
.healthcare-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

/* ===============================
   ANIMATIONS
================================ */
@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* ===============================
   GRID LAYOUT
================================ */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ===============================
   VISUAL SECTION
================================ */
.visual-section {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-2deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.main-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.image-wrapper:hover .main-image {
    transform: scale(1.05);
}

/* ===============================
   FLOATING STATS CARD
================================ */
.stats-card {
    position: absolute;
    top: 40px;
    right: -30px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: slideInRight 1s ease 0.3s both;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.stat-content h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.stat-content p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===============================
   TRUST BADGE
================================ */
.trust-badge {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInUp 1s ease 0.5s both;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    margin-left: -14px;
    transition: transform 0.3s ease;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-4px);
    z-index: 10;
}

.rating-info {
    text-align: right;
}

.stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    justify-content: flex-end;
}

.stars i {
    color: #FFA000;
    font-size: 16px;
}

.rating-score {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: 8px;
}

.reviews-count {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===============================
   CONTENT SECTION
================================ */
.content-section {
    animation: fadeInRight 1s ease 0.2s both;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 170, 0.1));
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.section-badge i {
    font-size: 14px;
}

.main-headline {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.main-headline .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-top: 8px;
}

/* ===============================
   DESCRIPTION BOX
================================ */
.description-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 212, 170, 0.05));
    border-left: 4px solid var(--primary);
    padding: 28px;
    border-radius: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.description-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1), transparent);
    border-radius: 50%;
}

.description-box p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.description-box p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary);
}

/* ===============================
   RESPONSIVE DESIGN
================================ */

/* Tablets & small laptops */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .visual-section {
        order: -1;
    }

    .main-headline {
        font-size: 48px;
    }

    .main-image {
        height: 560px;
    }

    .stats-card {
        right: 20px;
    }
}

/* Tablets & large phones */
@media (max-width: 768px) {
    .healthcare-section {
        padding: 60px 20px;
    }

    .main-headline {
        font-size: 40px;
    }

    .main-image {
        height: 460px;
    }

    .image-wrapper {
        transform: none;
    }

    .stats-card {
        position: static;
        margin-top: 20px;
    }

    .trust-badge {
        flex-direction: column;
        gap: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .rating-info {
        text-align: center;
    }

    .stars {
        justify-content: center;
    }

    .content-grid {
        gap: 40px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .main-headline {
        font-size: 32px;
    }

    .section-badge {
        font-size: 11px;
        padding: 8px 16px;
    }

    .description-box {
        padding: 20px;
    }

    .main-image {
        height: 360px;
    }

    .avatar {
        width: 38px;
        height: 38px;
    }

    .trust-badge {
        padding: 18px;
    }
}




      
         

       /* ================= ROOT VARIABLES ================= */
:root {
  /* Brand Colors */
  --primary: #6b6fe8;
  --primary-light: #8e91f0;
  --primary-dark: #4e53c9;

  /* Accent */
  --accent: #2cb1a1;
  --accent-light: #7fd1c3;

  /* Backgrounds */
  --background: #f7f8ff;
  --surface: #ffffff;

  /* Text */
  --text-primary: #1f2937;
  --text-muted: #6b7280;

  /* Borders & Effects */
  --border: #e5e7eb;
  --shadow: rgba(107, 111, 232, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0.08);
  --glow: rgba(107, 111, 232, 0.1);
  --border-hover: rgba(107, 111, 232, 0.2);

  /* Spacing */
  --section-spacing: 60px;
  --card-spacing: 24px;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.18);
}

/* ================= MAIN SECTION ================= */
.hhc-why-choose-section {
  max-width: 1200px;
  width: 100%;
  height: 70vh;
  min-height: 520px;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--background);
}

/* ================= SVG DECOR ================= */
.hhc-svg-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hhc-curve-1 {
  top: 15%;
  left: 6%;
  width: 120px;
  opacity: 0.25;
  stroke: var(--primary);
}

.hhc-curve-2 {
  bottom: 18%;
  right: 8%;
  width: 90px;
  opacity: 0.2;
  stroke: var(--accent);
}

.hhc-dots {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  opacity: 0.15;
  stroke: var(--primary);
}

.hhc-svg-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: hhc-drawStroke 3s ease forwards;
}

/* ================= LEFT IMAGE AREA ================= */
.hhc-visual-area {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hhc-image-container {
  width: 100%;
  height: 100%;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* REAL IMAGE */
.hhc-left-image {
  width: 85%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 20px 40px var(--shadow-dark);
  animation: hhc-float 8s ease-in-out infinite;
}

/* ================= TRUST BADGE ================= */
.hhc-trust-badge {
  position: absolute;
  bottom: 8%;
  left: 6%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.hhc-avatar-stack {
  display: flex;
}

.hhc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  margin-left: -12px;
  object-fit: cover;
}

.hhc-avatar:first-child {
  margin-left: 0;
}

.hhc-stars {
  color: #ffc107;
  font-size: 14px;
}

.hhc-reviews {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ================= CONTENT AREA ================= */
.hhc-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hhc-section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(107, 111, 232, 0.1);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(107, 111, 232, 0.2);
  width: fit-content;
  margin-bottom: -5px;
}

.hhc-headline {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.hhc-headline span {
  color: var(--primary);
  position: relative;
}

.hhc-headline span::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--glow);
  z-index: -1;
}

/* ================= FEATURES ================= */
.hhc-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-spacing);
}

.hhc-feature-card {
  background: var(--surface);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.hhc-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 15px 30px var(--shadow);
}

.hhc-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-light)
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.hhc-feature-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.hhc-feature-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ================= ANIMATIONS ================= */
.hhc-animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  
}

.hhc-animate-in.hhc-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hhc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes hhc-drawStroke {
  to { stroke-dashoffset: 0; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hhc-why-choose-section {
    height: auto;
    min-height: auto;
    flex-direction: column;
    padding: 30px;
  }

  .hhc-visual-area {
    height: 320px;
  }

  .hhc-content-area {
    align-items: center;
    text-align: center;
  }

  .hhc-feature-grid {
    max-width: 600px;
  }

  .hhc-svg-decoration {
    display: none;
  }

  .hhc-trust-badge {
    left: 13%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hhc-feature-grid {
    grid-template-columns: 1fr;
  }

  .hhc-headline {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .hhc-headline {
    font-size: 28px;
  }

  .hhc-left-image {
    width: 100%;
  }
  
  .helpee-testimonials-main-heading{
    font-size: 28px !important;  
  }
}

/* How it works */
  .how-it-works-section {
            padding: 100px 20px;
            background: var(--background);
            overflow: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .how-it-works-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        /* Left Side - Steps Content */
        .steps-content {
            opacity: 0;
            transform: translateX(-30px);
            animation: slideInLeft 0.8s ease-out forwards;
        }

        @keyframes slideInLeft {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .label {
            display: inline-block;
            color: var(--primary);
            font-weight: 600;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 16px;
            padding: 8px 20px;
            background: var(--surface);
            border-radius: 30px;
            border: 2px solid var(--border);
        }

        .main-heading {
            font-size: 42px;
            font-weight: 700;
            color: var(--text-primary);
            line-height: 1.3;
            margin-bottom: 50px;
        }

        .steps-list {
            list-style: none;
            position: relative;
        }

        .steps-list::before {
            content: '';
            position: absolute;
            left: 23px;
            top: 50px;
            bottom: 50px;
            width: 2px;
            background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
            opacity: 0.2;
        }

        .step-item {
            display: flex;
            gap: 24px;
            margin-bottom: 40px;
            opacity: 0;
            transform: translateY(20px);
        }

        .step-item.visible {
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .step-item:nth-child(1) { animation-delay: 0.1s; }
        .step-item:nth-child(2) { animation-delay: 0.2s; }
        .step-item:nth-child(3) { animation-delay: 0.3s; }
        .step-item:nth-child(4) { animation-delay: 0.4s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .step-number {
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: var(--surface);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 18px;
            box-shadow: 0 4px 15px var(--shadow);
            position: relative;
            z-index: 2;
            transition: transform 0.3s ease;
        }

        .step-item:hover .step-number {
            transform: scale(1.1);
        }

        .step-item:nth-child(3) .step-number {
            background: linear-gradient(135deg, var(--accent), var(--accent-light));
        }

        .step-content h3 {
            font-size: 22px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .step-content p {
            font-size: 16px;
            color: var(--text-muted);
            line-height: 1.6;
        }

       

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px var(--shadow);
        }

        .cta-button i {
            font-size: 18px;
        }

        /* Right Side - Visual */
        .visual-content {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transform: translateX(30px);
            animation: slideInRight 0.8s ease-out 0.2s forwards;
        }

        @keyframes slideInRight {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .image-wrapper {
            position: relative;
            z-index: 2;
            height: 500px;
        }

        .circular-background {
            width: 450px;
            height: 450px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--surface), var(--background));
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 20px 60px var(--shadow-dark);
            position: relative;
            overflow: hidden;
        }

        .circular-background::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            opacity: 0.1;
            z-index: -1;
        }

        .doctor-image {
            width: 380px;
            height: 380px;
            border-radius: 50%;
            object-fit: cover;
            border: 6px solid var(--surface);
        }

        /* SVG Decorations */
        .svg-decoration {
            position: absolute;
            pointer-events: none;
        }

        .ring-1 {
            top: -40px;
            left: -40px;
            width: 530px;
            height: 530px;
            opacity: 0;
            animation: float 6s ease-in-out infinite, fadeIn 1s ease-out 0.5s forwards;
        }

        .ring-2 {
            top: -60px;
            left: -60px;
            width: 570px;
            height: 570px;
            opacity: 0;
            animation: float 8s ease-in-out infinite reverse, fadeIn 1s ease-out 0.7s forwards;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }

        @keyframes fadeIn {
            to { opacity: 1; }
        }

        .floating-card {
            position: absolute;
            bottom: 20px;
            right: -20px;
            background: var(--surface);
            padding: 20px 24px;
            border-radius: 16px;
            box-shadow: 0 10px 40px var(--shadow-dark);
            display: flex;
            align-items: center;
            gap: 16px;
            z-index: 3;
            opacity: 0;
            animation: slideInCard 0.8s ease-out 1s forwards;
        }

        @keyframes slideInCard {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .card-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--accent), var(--accent-light));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--surface);
            font-size: 24px;
        }

        .card-text {
            display: flex;
            flex-direction: column;
        }

        .card-text .title {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .card-text .subtitle {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* Responsive Design */
        @media (max-width: 968px) {
            .how-it-works-grid {
                grid-template-columns: 1fr;
                gap: 60px;
            }

            .visual-content {
                order: -1;
                margin-bottom: 20px;
            }

            .main-heading {
                font-size: 32px;
            }

            .circular-background {
                width: 350px;
                height: 350px;
            }

            .doctor-image {
                width: 290px;
                height: 290px;
            }

            .ring-1, .ring-2 {
                display: none;
            }

            .floating-card {
                right: 50%;
                transform: translateX(50%);
                bottom: -30px;
            }
        }

        @media (max-width: 640px) {
            .how-it-works-section {
                padding: 60px 20px;
            }

            .main-heading {
                font-size: 28px;
                margin-bottom: 10px;
            }

            .circular-background {
                width: 280px;
                height: 280px;
            }

            .doctor-image {
                width: 230px;
                height: 230px;
            }

            .step-number {
                width: 42px;
                height: 42px;
                font-size: 16px;
            }

            .step-content h3 {
                font-size: 18px;
            }

            .step-content p {
                font-size: 14px;
            }

            .cta-button {
                width: 100%;
                justify-content: center;
                padding: 14px 28px;
            }

            .floating-card {
                padding: 16px 20px;
                bottom: -25px;
            }

            .steps-list::before {
                left: 20px;
            }
        }
        
        /* Add these styles to your existing CSS */

.highlighted-text {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content p .payment-info {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--surface);
    border-radius: 8px;
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
}

.payment-card {
    background: linear-gradient(135deg, var(--surface), var(--background));
    border-radius: 16px;
    padding: 24px;
    margin: 40px 0 30px;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 25px var(--shadow);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

.payment-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--surface);
    font-size: 28px;
    flex-shrink: 0;
}

.payment-details h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.price-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.price-tag {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.price-tag.primary {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
}

.price-tag.accent {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
}

.price-tag i {
    font-size: 12px;
}

.payment-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    padding: 8px 12px;
    background: var(--surface-light);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.payment-note i {
    color: var(--accent);
    margin-right: 8px;
}

/* Additional floating card for payment */
.floating-card.payment-rate {
    top: 30px;
    right: -30px;
    bottom: auto;
    animation: slideInCard 0.8s ease-out 1.2s forwards;
}

.floating-card.payment-time {
    bottom: 20px;
    right: -20px;
    animation: slideInCard 0.8s ease-out 1s forwards;
}

.floating-card.payment-rate .card-icon {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

/* Responsive updates */
@media (max-width: 968px) {
    .price-tags {
        flex-direction: column;
        gap: 8px;
    }
    
    .payment-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .floating-card.payment-rate {
        top: -30px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .floating-card.payment-time {
        bottom: -50px;
        right: 0%;
        transform: translateX(50%);
    }
}

@media (max-width: 640px) {
    .payment-card {
        padding: 20px;
    }
    
    .payment-details h4 {
        font-size: 18px;
    }
    
    .price-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .payment-note {
        font-size: 13px;
    }
    
    .step-content p .payment-info {
        font-size: 13px;
        padding: 6px 10px;
    }
}

        /* Scroll to Top Button Styles */
        #scrollToTopBtn {
            position: fixed;
            bottom: 40px;
            right: 40px;
            width: 53px;
            height: 53px;
            background: linear-gradient(135deg, #1f4f7a 0%, #2cb1a1 100%);
            color: var(--surface);
            border: none;
            border-radius: 30%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 20px var(--shadow), 0 3px 6px var(--shadow-dark);
            opacity: 0;
            visibility: hidden;
            transform: translateY(30px) scale(0.8);
            transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            z-index: 1000;
            overflow: hidden;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            margin-bottom: 94px;
        }

        #scrollToTopBtn.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
            margin-bottom: 150px;
        }

        #scrollToTopBtn:hover {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            transform: translateY(-5px) scale(1.05);
            box-shadow: 0 10px 30px var(--shadow), 0 6px 12px var(--shadow-dark),
                        0 0 0 6px var(--glow);
            border: 1px solid var(--border-hover);
        }

        #scrollToTopBtn:active {
            transform: translateY(0) scale(0.98);
            transition: transform 0.1s ease;
        }

        #scrollToTopBtn i {
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

        #scrollToTopBtn:hover i {
            transform: translateY(-4px);
        }

        /* Pulse animation when button appears */
        @keyframes buttonPulse {
            0% {
                box-shadow: 0 6px 20px var(--shadow), 0 3px 6px var(--shadow-dark);
            }
            50% {
                box-shadow: 0 8px 25px var(--shadow), 0 5px 10px var(--shadow-dark),
                            0 0 0 5px var(--glow);
            }
            100% {
                box-shadow: 0 6px 20px var(--shadow), 0 3px 6px var(--shadow-dark);
            }
        }

        #scrollToTopBtn.pulse {
            animation: buttonPulse 2s ease-in-out 2;
        }

        /* Glass morphism overlay */
        #scrollToTopBtn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--glass-bg);
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        #scrollToTopBtn:hover::before {
            opacity: 0.2;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            #scrollToTopBtn {
                bottom: 30px;
                right: 30px;
                width: 55px;
                height: 55px;
            }
            
            h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 480px) {
            #scrollToTopBtn {
                bottom: 25px;
                right: 25px;
                width: 50px;
                height: 50px;
            }
            
            #scrollToTopBtn i {
                font-size: 1.3rem;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .demo-section {
                padding: 25px;
            }
        }

        /* Accessibility focus styles */
        #scrollToTopBtn:focus {
            outline: none;
            box-shadow: 0 0 0 4px var(--accent-light), 
                        0 6px 20px var(--shadow), 
                        0 3px 6px var(--shadow-dark);
        }

        /* Progress indicator (optional enhancement) */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 0%;
            height: 4px;
            background: linear-gradient(to right, var(--primary), var(--accent));
            z-index: 1001;
            transition: width 0.1s ease;
        }
        
        /*Testimonial section*/
        
        :root{
--primary:#6b6fe8;
--primary-light:#8e91f0;
--primary-dark:#4e53c9;
--accent:#2cb1a1;
--accent-light:#7fd1c3;
--background:#f7f8ff;
--surface:#ffffff;
--text-primary:#1f2937;
--text-muted:#6b7280;
--border:#e5e7eb;
--shadow:rgba(107,111,232,0.15);
--shadow-dark:rgba(0,0,0,0.08);
--glow:rgba(107,111,232,0.1);
--star-gold:#fbbf24;
}

body{
font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto;
background:var(--background);
color:var(--text-primary);
line-height:1.6;
}

/* ================= SECTION ================= */
.hhc-testimonials-section{
padding:clamp(60px,8vw,100px) 16px;
background:var(--background);
}

.hhc-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:1fr 1.2fr;
gap:80px;
align-items:center;
}

.helpee-testimonials-main-heading {
    font-size: 48px;
    font-weight: 700;
    color: var(--helpee-text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.helpee-testimonials-main-heading .highlight-text {
    color: var(--primary); /* second color */
}


/* ================= LEFT ================= */
.hhc-left-column{
padding-right:20px;
}

.hhc-label{
color:var(--primary);
font-size:14px;
font-weight:600;
letter-spacing:1.5px;
text-transform:uppercase;
margin-bottom:16px;
display:inline-block;
}

.hhc-main-heading{
font-size:clamp(28px,4vw,48px);
font-weight:700;
line-height:1.2;
margin-bottom:20px;
}

.hhc-supporting-text{
font-size:clamp(15px,2vw,18px);
color:var(--text-muted);
margin-bottom:40px;
max-width:520px;
}

.hhc-trust-indicators{
display:flex;
flex-direction:column;
gap:24px;
}

.hhc-happy-families{
display:flex;
align-items:center;
gap:16px;
flex-wrap:wrap;
}

.hhc-avatar-stack{
display:flex;
}

.hhc-avatar{
width:48px;
height:48px;
border-radius:50%;
border:3px solid var(--surface);
object-fit:cover;
margin-left:-12px;
}

.hhc-avatar:first-child{
margin-left:0;
}

.hhc-families-text{
font-size:16px;
font-weight:600;
}

.hhc-families-count{
color:var(--primary);
font-weight:700;
}

.hhc-google-rating{
display:flex;
align-items:center;
gap:12px;
padding:16px 24px;
background:var(--surface);
border-radius:16px;
box-shadow:0 4px 20px var(--shadow-dark);
width:fit-content;
}

.hhc-rating-stars i{
color:var(--star-gold);
}

/* ================= RIGHT / SLIDER ================= */
.hhc-right-column{
position:relative;
}

.hhc-testimonial-slider{
overflow:hidden;
width:100%;
}

.hhc-testimonial-track{
display:flex;
transition:transform .6s ease;
}

.hhc-testimonial-card{
min-width:100%;
background:var(--surface);
border-radius:24px;
padding:clamp(24px,4vw,48px);
/*box-shadow:0 8px 40px var(--shadow);*/
position:relative;
}

.hhc-quote-icon{
position:absolute;
top:24px;
right:32px;
font-size:clamp(40px,6vw,64px);
color:var(--glow);
opacity:.5;
}

.hhc-card-header{
display:flex;
align-items:center;
gap:20px;
margin-bottom:24px;
}

.hhc-client-image{
width:72px;
height:72px;
border-radius:50%;
object-fit:cover;
}

.hhc-client-info h4{
font-size:20px;
font-weight:700;
}

.hhc-client-role{
font-size:14px;
color:var(--text-muted);
display:flex;
align-items:center;
gap:6px;
}

.hhc-client-role i{
color:var(--accent);
}

.hhc-testimonial-stars i{
color:var(--star-gold);
}

.hhc-testimonial-text{
font-size:clamp(15px,2vw,17px);
line-height:1.8;
}

/* ================= CONTROLS ================= */
.hhc-slider-controls{
display:flex;
justify-content:center;
align-items:center;
gap:16px;
margin-top:32px;
}

.hhc-slider-arrow{
width:48px;
height:48px;
border-radius:50%;
background:var(--surface);
border:2px solid var(--border);
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
transition:.3s;
}

.hhc-slider-arrow:hover{
background:var(--primary);
color:#fff;
border-color:var(--primary);
}

.hhc-slider-dots{
display:flex;
gap:8px;
}

.hhc-dot{
width:10px;
height:10px;
border-radius:50%;
background:var(--border);
cursor:pointer;
transition:.3s;
}

.hhc-dot.hhc-active{
width:32px;
border-radius:6px;
background:var(--primary);
}

/* ================= TABLET ================= */
@media(max-width:992px){
.hhc-container{
grid-template-columns:1fr;
gap:60px;
text-align:center;
}

.hhc-left-column{
padding-right:0;
}

.hhc-supporting-text{
margin:auto;
}

.hhc-trust-indicators{
align-items:center;
}

.hhc-google-rating{
margin:auto;
}

.hhc-card-header{
flex-direction:column;
text-align:center;
}
}

/* ================= MOBILE ================= */
@media(max-width:480px){
.hhc-slider-arrow{
width:40px;
height:40px;
}

.hhc-client-image{
width:64px;
height:64px;
}

.hhc-quote-icon{
top:16px;
right:20px;
}
}
        
/* ================= MOBILE FIX: ADD REVIEW BUTTON ================= */
@media (max-width: 480px) {

    .hhc-add-review-btn {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .hhc-add-review-btn button {
        width: 100%;
        max-width: 320px;
        padding: 14px 18px;
        font-size: 0.95rem;
        box-sizing: border-box;
        white-space: normal;
    }
}

      
        

    

       
        
        /*Call to action section*/
        
.helpee-cta-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background); /* f3faf9 */
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.helpee-cta-section {
    width: 100%;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.helpee-cta-container {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%); /* 1f4f7a → 3a78a8 → 2cb1a1 */
    border-radius: 32px;
    padding: 90px 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow), 0 8px 16px var(--shadow-dark); /* rgba(31, 79, 122, 0.15) & rgba(0, 0, 0, 0.08) */
}

/* Animated Background Shapes */
.helpee-bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: helpeeFloat 20s infinite ease-in-out;
}

.helpee-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--surface); /* ffffff */
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.helpee-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent); /* 2cb1a1 */
    bottom: -80px;
    left: -80px;
    animation-delay: 5s;
}

.helpee-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--surface); /* ffffff */
    top: 50%;
    left: 10%;
    animation-delay: 10s;
}

@keyframes helpeeFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    33% {
        transform: translateY(-30px) translateX(30px) scale(1.1);
    }
    66% {
        transform: translateY(20px) translateX(-20px) scale(0.9);
    }
}

/* Gradient Animation */
.helpee-cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        var(--glow) 50%, /* rgba(44, 177, 161, 0.22) */
        transparent 100%);
    animation: helpeeGradientShift 8s ease-in-out infinite;
}

@keyframes helpeeGradientShift {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-10%);
    }
    50% {
        opacity: 0.6;
        transform: translateX(10%);
    }
}

.helpee-cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.helpee-cta-heading {
    font-size: 4.68rem;
    font-weight: 800;
    color: var(--surface); /* ffffff */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.helpee-cta-text {
    font-size: 1.85rem;
    color: var(--surface); /* ffffff */
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

.helpee-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.helpee-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.45rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.helpee-cta-btn i {
    font-size: 1.25rem;
}

.helpee-cta-btn-primary {
    background: var(--surface); /* ffffff */
    color: var(--primary); /* 1f4f7a */
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.helpee-cta-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4);
    background: var(--surface);
    color: var(--primary-dark); /* 14324d */
}

.helpee-cta-btn-primary:active {
    transform: translateY(-2px);
}

.helpee-cta-btn-secondary {
    background: transparent;
    color: var(--surface); /* ffffff */
    border: 2.5px solid var(--surface);
    box-shadow: 0 4px 12px var(--glow); /* rgba(44, 177, 161, 0.22) */
}

.helpee-cta-btn-secondary:hover {
    background: var(--surface); /* ffffff */
    color: var(--primary); /* 1f4f7a */
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
    border-color: var(--border-hover); /* rgba(44, 177, 161, 0.3) */
}

.helpee-cta-btn-secondary:active {
    transform: translateY(-2px);
}

/* Ripple Effect */
.helpee-cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.helpee-cta-btn.helpee-ripple::before {
    width: 300px;
    height: 300px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .helpee-cta-wrapper {
        padding: 20px 16px;
    }

    .helpee-cta-container {
        padding: 60px 30px;
        border-radius: 24px;
        box-shadow: 0 10px 30px var(--shadow), 0 4px 8px var(--shadow-dark);
    }

    .helpee-cta-heading {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .helpee-cta-text {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }

    .helpee-cta-buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .helpee-cta-btn {
        width: 100%;
        min-width: unset;
        padding: 16px 32px;
        font-size: 16px;
    }

    .helpee-shape-1 {
        width: 250px;
        height: 250px;
    }

    .helpee-shape-2 {
        width: 200px;
        height: 200px;
    }

    .helpee-shape-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .helpee-cta-container {
        padding: 40px 24px;
        border-radius: 20px;
        box-shadow: 0 8px 20px var(--shadow), 0 3px 6px var(--shadow-dark);
    }

    .helpee-cta-heading {
        font-size: 25px;
    }

    .helpee-cta-text {
        font-size: 16px;
    }

    .helpee-cta-btn {
        padding: 14px 28px;
    }
}