﻿/* === CSS Variables & Reset === */
:root {
    --primary-dark: #0a3d4f;
    --primary-green: #48b36b;
    --green-hover: #3a9657;
    --text-dark: #222;
    --text-gray: #666;
    --text-light-gray: #888;
    --bg-light: #f9fbff;
    --bg-lighter: #f4f7f9;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --footer-bg: #1a1d23;
    --footer-text: #b0b0b0;
    --blue-accent: #0056b3;
    --container-width: 1000px;
    --bg-blue-light: #eef5fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 90px;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 0px;
}

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

h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

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

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

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

.btn-blue:hover {
    background-color: #004494;
    transform: translateY(-2px);
}

.btn-orange {
    background-color: #e65c00;
    color: white;
}

.btn-orange:hover {
    background-color: #cc5200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 92, 0, 0.3);
}

/* === Scroll-triggered Animations === */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-in-up:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children .fade-in-up:nth-child(2) {
    transition-delay: 0.1s;
}

.stagger-children .fade-in-up:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children .fade-in-up:nth-child(4) {
    transition-delay: 0.2s;
}

.stagger-children .fade-in-up:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children .fade-in-up:nth-child(6) {
    transition-delay: 0.3s;
}

.stagger-children .fade-in-up:nth-child(7) {
    transition-delay: 0.35s;
}

.stagger-children .fade-in-up:nth-child(8) {
    transition-delay: 0.4s;
}

.stagger-children .fade-in-up:nth-child(9) {
    transition-delay: 0.45s;
}

/* === Header === */
header {
    background: #0a3d4f;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    transition: transform 0.3s ease;
    outline: none;
    border-radius: 100%;
}

.logo:hover img {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: rgb(228, 226, 226);
}

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

.chat-btn {
    color: #ffffff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s;
}

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

.chat-btn i {
    font-size: 1.2rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: white;
    border-radius: 2px;
    transition: all 0.35s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav Overlay */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-nav.open {
    display: flex;
    opacity: 1;
}

.mobile-nav a {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--primary-green);
}

/* === Hero Section === */
.hero {
    background-color: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: stretch;
    min-height: 520px;
}

.hero-content {
    flex: 1;
    padding: 80px 20px 80px 0;
    color: var(--white);
    z-index: 1000;
    max-width: 600px;
}

.hero-content h1 {
    color: var(--white);
    animation: fadeSlideIn 0.8s ease forwards;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #d0e0e3;
    animation: fadeSlideIn 0.8s ease 0.2s both;
}

.hero-content p strong {
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    animation: fadeSlideIn 0.8s ease 0.4s both;
}

.stat-item h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.85rem;
    color: #d0e0e3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1551076805-e1869033e561?w=1200&q=80');
    background-size: cover;
    background-position: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-dark) 0%, rgba(10, 61, 79, 0.6) 40%, rgba(10, 61, 79, 0.2) 100%);
}

/* === Why Trust Section === */
.why-trust {
    padding: 60px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.trust-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.trust-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.trust-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* === Services Section === */
.services {
    padding: 80px 0;
    position: relative;
}

.services-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 40px;
}

.services-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 25px 20px;
    border-radius: 10px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-green);
}

.service-icon {
    font-size: 1.5rem;
    color: var(--blue-accent);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15);
}

.service-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.help-card {
    width: 280px;
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: sticky;
    top: 90px;
    align-self: flex-start;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.help-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

.help-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.help-content {
    padding: 30px 20px;
}

.help-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.help-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* Background text graphic */
.bg-text {
    position: absolute;
    right: -50px;
    bottom: 50px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(240, 244, 248, 0.6);
    z-index: -1;
    user-select: none;
}

/* === Trusted Hospitals === */
.hospitals {
    padding: 80px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.hospitals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0;
}

.country-block {
    margin: 36px 0;
    text-align: left;
}

.country-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.country-title .flag {
    font-size: 1.6rem;
    line-height: 1;
}

.country-title .count {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light-gray);
}

.hospital-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background: var(--white);
    padding: 22px 14px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    color: var(--text-dark);
    text-align: center;
    min-height: 140px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hospital-logo .h-name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

.hospital-logo .h-spec {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-light-gray);
}

.hospital-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.hospital-logo i {
    font-size: 1.9rem;
}

/* Logo Colors */
.c-apollo {
    color: #007bff;
}

.c-max {
    color: #17a2b8;
}

.c-sims {
    color: #f39c12;
}

.c-mgm {
    color: #6f42c1;
}

.c-kaveri {
    color: #e83e8c;
}

.c-ibs {
    color: #20c997;
}

.c-sami {
    color: #28a745;
}

.c-mani {
    color: #fd7e14;
}

.browse-link {
    color: var(--blue-accent);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 20px;
    transition: color 0.3s;
}

.browse-link:hover {
    color: #003d80;
}

/* === Testimonials === */
.testimonials {
    padding: 80px 0;
    background-color: #f2f7fa;
    text-align: center;
}

.stars {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.google-reviews-link {
    font-size: 0.9rem;
    color: var(--primary-green);
    text-decoration: underline;
    margin-bottom: 40px;
    display: inline-block;
    transition: color 0.3s;
}

.google-reviews-link:hover {
    color: var(--green-hover);
}

.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    min-height: 180px;
}

.test-content {
    flex: 1;
    overflow: hidden;
}

.test-slide {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.test-slide.entering {
    opacity: 0;
    transform: translateX(30px);
}

.test-quote {
    font-size: 1rem;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.test-author {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 5px;
}

.slider-arrow {
    background: none;
    border: 2px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--text-light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    background: var(--bg-light);
}

/* Testimonial dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots span.active {
    background: var(--primary-green);
    transform: scale(1.3);
}

/* === Simple Steps === */
.steps-section {
    padding: 80px 0;
    background: var(--white);
}

/* === Support Section === */
.support-section {
    background-color: var(--bg-blue-light);
    padding: 60px 0 0 0;
    overflow: hidden;
}

.support-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.support-content {
    flex: 1;
    padding-bottom: 60px;
    max-width: 500px;
}

.support-content p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

.support-contact {
    margin-bottom: 30px;
}

.support-contact p {
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--text-dark);
}

.support-image {
    flex: 1;
    text-align: right;
    align-self: flex-end;
}

.support-image img {
    max-width: 90%;
    display: inline-block;
    margin-bottom: -10px;
    filter: drop-shadow(0 -10px 20px rgba(0, 0, 0, 0.05));
    border-radius: 20px 20px 0 0;
    transition: transform 0.4s ease;
}

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

/* === Footer === */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 30px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.social-icons a {
    color: var(--white);
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--footer-text);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.footer-links ul li a {
    color: var(--footer-text);
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-green);
    padding-left: 4px;
}

.address-block {
    margin-bottom: 25px;
}

.address-block h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--white);
}

.address-block p {
    color: var(--footer-text);
    font-size: 0.85rem;
    line-height: 1.6;
}

.disclaimer {
    text-align: center;
    color: #9aa0a6;
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 1000px;
    margin: 20px auto 0;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease;
    animation: pulse-wa 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

@keyframes pulse-wa {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.9;
    }
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-inner {
        min-height: 420px;
    }

    .hero-content {
        padding: 60px 20px 60px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

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

    .services-layout {
        flex-direction: column;
    }

    .help-card {
        width: 100%;
        min-width: unset;
        position: static;
    }

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

@media (max-width: 768px) {

    .nav-links,
    .chat-btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 280px;
    }

    .hero-image::before {
        background: linear-gradient(to top, var(--primary-dark) 0%, rgba(10, 61, 79, 0.5) 100%);
    }

    .hero-inner {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .hero-content {
        padding: 40px 0;
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

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

    .support-inner {
        flex-direction: column;
    }

    .support-image {
        text-align: center;
    }

    .support-image img {
        max-width: 70%;
    }

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

    .testimonial-slider {
        gap: 15px;
    }

    .bg-text {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-item h3 {
        font-size: 1.4rem;
    }

    .support-image img {
        max-width: 90%;
    }

    .hospitals-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hospital-logo {
        font-size: 0.8rem;
        padding: 12px 8px;
        gap: 8px;
    }

    .hospital-logo i {
        font-size: 1.3rem;
    }
}