/* 
    Aya Centre - Modern Healthcare UI Design System
    Colors: Cyan, Blue, Yellow, White
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #00A3C4; /* Cyan */
    --primary-dark: #007A92;
    --secondary: #FFC107; /* Yellow */
    --accent: #3A7BD5; /* Blue */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark: #1A1A1A;
    --text-muted: #6C757D;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #00D2FF 0%, #3A7BD5 100%);
    --gradient-yellow: linear-gradient(135deg, #FFD200 0%, #F7971E 100%);
    --radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Hind Siliguri', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.sticky {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px; /* Increased gap */
    color: var(--primary);
    line-height: 1;
}

.logo-text {
    font-size: 1rem; /* 1rem is exactly 33% smaller than 1.5rem */
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.logo span {
    color: var(--secondary);
    font-size: 0.85em; /* Slightly smaller for the second line */
    letter-spacing: 1px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--dark);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.cta-btn {
    background: var(--gradient);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
    color: var(--white);
}

/* --- Mobile Nav --- */
.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero_bg.png') center/cover no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--secondary);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-secondary {
    background: var(--gradient-yellow);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
}

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

/* --- Stats Section --- */
.stats {
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-item {
    text-align: center;
}

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

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

/* --- About Us --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-img::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--gradient-yellow);
    z-index: -1;
    border-radius: 20px;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.mv-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
}

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

.mv-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary);
    box-shadow: var(--shadow-hover);
}

.service-card i {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* --- Why Choose Us --- */
.why-choose {
    background: var(--light-gray);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.why-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.why-card:hover {
    background: var(--primary);
    color: var(--white);
}

.why-card i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.why-card:hover i {
    color: var(--white);
}

.why-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- Booking Section --- */
.booking-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.booking-info {
    background: var(--gradient);
    color: var(--white);
    padding: 60px;
}

.booking-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.booking-form {
    padding: 60px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

textarea {
    height: 120px;
}

.submit-btn {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    position: relative;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 163, 196, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* --- Reviews --- */
.reviews {
    background: var(--light-gray);
}

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

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stars {
    color: var(--secondary);
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.reviewer h5 {
    font-size: 1rem;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: var(--white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-answer {
    background: var(--white);
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-card i {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--secondary);
}

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

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

/* --- Floating Buttons --- */
.floating-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.btn-whatsapp {
    background: #25D366;
}

.btn-call {
    background: var(--primary);
}

.float-btn:hover {
    transform: scale(1.1);
}

.scroll-top {
    width: 40px;
    height: 40px;
    background: var(--dark);
    color: var(--white);
    position: fixed;
    bottom: 30px;
    left: 30px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Loader --- */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

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

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .contact-grid, .booking-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    header {
        position: fixed !important;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        padding: 8px 0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    }
    
    header .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 0.9rem; /* Perfectly scaled down */
    }

    .menu-btn { 
        display: block; 
        margin-left: auto;
        z-index: 1001;
        color: var(--primary);
        font-size: 1.8rem; /* Slightly larger icon */
        padding: 5px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 120px 40px;
        transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
    }
    .nav-links.active { right: 0; }
    .hero h1 { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; padding: 25px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
