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

:root {
    /* 🔵 Exact Dark Navy Blue Color from Reference Image */
    --navy-blue: #00204A;
    --navy-dark: #001530;
    
    /* 💛 Golden Yellow Accent Palette */
    --accent-gold: #D49B27;
    --accent-gold-hover: #B8821B;
    
    --light-bg: #F8FAFC;
    --card-border: #E2E8F0;
    --text-dark: #1E293B;
    --text-muted: #64748B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.25s ease-in-out;
}



body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Base Image Helper */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   ⚪ WHITE NAVBAR & INTEGRATED LOGO
   ========================================== */
.navbar {
    background-color: #FFFFFF;     /* Pure White Navbar */
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #E5E7EB;
}

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

/* Integrated Logo & Brand Name */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: transparent;
}

.logo-img {
    height: 70px;                 /* அளவை பெரிதாக்க 42px-ல் இருந்து 55px ஆக மாற்றப்பட்டுள்ளது */
    width: auto;
    object-fit: contain;
    background: transparent;      
    border: none;
    box-shadow: none;
    padding: 0;
}

.brand-text h2 {
    color: var(--navy-blue);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.3px;
}

.brand-text p {
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-link {
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    position: relative;
    padding-bottom: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--navy-blue);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
}

/* ==========================================
   💛 BUTTONS
   ========================================== */
.btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}

.btn-accent {
    background-color: var(--accent-gold);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(212, 155, 39, 0.25);
}

.btn-accent:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(212, 155, 39, 0.35);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #FFFFFF;
    color: #FFFFFF;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-dark {
    background-color: var(--navy-blue);
    color: #FFFFFF;
}

.btn-dark:hover {
    background-color: var(--navy-dark);
}

/* ==========================================
   🔵 HERO SECTION & STATS
   ========================================== */
.hero-section {
    position: relative;
    padding: 250px 0 130px;
    background:  url('../images/hero.png') no-repeat center center/cover;
    color: #FFFFFF;
}

/* Center Align or Left Align Content */
.hero-content {
    max-width: 650px; /* text background gradient மேலே தெளிவாகத் தெரிய */
}

.hero-content h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content h1 span {
    color: var(--accent-gold);
}

.hero-content p {
    color: #E2E8F0;
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}
/* Stats Counter Section */
.stats-wrapper {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: var(--navy-blue);          /* Blue background matching image */
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    color: #FFFFFF;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child { border-right: none; }

.stat-item h3 {
    font-size: 28px;
    color: #FFFFFF;
    font-weight: 800;
}

.stat-item p {
    color: #94A3B8;
    font-size: 12px;
    font-weight: 500;
}

/* ==========================================
   👑 SECTIONS & CARDS
   ========================================== */
.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 30px;
    color: var(--navy-blue);
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 14.5px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

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

/* White Cards (Our Services) */
.service-card {
    background: #FFFFFF;
    padding: 28px 20px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-gold);
}

.service-card .icon-box {
    width: 55px;
    height: 55px;
    background: #FFFBEB;
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
    border: 1px solid rgba(212, 155, 39, 0.3);
}

.service-card h4 {
    font-size: 17px;
    color: var(--navy-blue);
    margin-bottom: 8px;
    font-weight: 700;
}

.service-card p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Blue Section (Why Choose Us) */
.why-choose-us-section {
    background-color: var(--navy-blue);   /* Blue Color Applied */
    color: #FFFFFF;
    padding: 60px 0;
}

.why-choose-us-section .section-header h2 {
    color: #FFFFFF;
}

.why-choose-us-section .section-header p {
    color: #CBD5E1;
}

.why-choose-us-section .service-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.why-choose-us-section .service-card h4 {
    color: #FFFFFF;
}

.why-choose-us-section .service-card p {
    color: #94A3B8;
}

.why-choose-us-section .service-card .icon-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--accent-gold);
}

/* Page Banner */
.page-banner {
    background-color: var(--navy-blue);
    color: #FFFFFF;
    padding: 40px 0;
    text-align: center;
    border-bottom: 2px solid var(--accent-gold);
}

.page-banner h1 {
    font-size: 28px;
    font-weight: 800;
}

.page-banner p {
    color: var(--accent-gold);
    font-size: 13px;
    margin-top: 5px;
    font-weight: 600;
}

/* ==========================================
   💬 TESTIMONIALS & FAQ
   ========================================== */
.testimonial-card {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    position: relative;
}

.quote-icon {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.stars { color: #FFD700; font-size: 12px; margin-top: 4px; }

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

.faq-item {
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 14.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-answer {
    padding: 0 20px 16px;
    display: none;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--accent-gold);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

/* ==========================================
   📝 FORMS & TABLES
   ========================================== */
.form-box {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    font-size: 13.5px;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 155, 39, 0.2);
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    margin-top: 20px;
}

.admin-table th, .admin-table td {
    padding: 12px;
    border: 1px solid var(--card-border);
    font-size: 13px;
    text-align: left;
}

.admin-table th { 
    background: var(--navy-blue); 
    color: white; 
}

/* ==========================================
   📱 FLOATING WHATSAPP BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* ==========================================
   🔻 FOOTER (EXACT IMAGE ALIGNMENT)
   ========================================== */
/* ==========================================
   🔻 FOOTER SECTION (FIXED & ALIGNED)
   ========================================== */
.footer {
    background-color: var(--navy-blue);   /* Exact Navy Blue */
    color: #CBD5E1;
    padding: 50px 0 20px;
    margin-top: auto;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

/* 🖼️ Footer Logo & Brand Text Fix */
.footer-col .brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    text-decoration: none;
}

/* Image overlap ஆகாமல் தடுக்க இந்த அளவு கட்டுப்பாடு அவசியம் */
.footer-col .logo-img,
.footer-col .logo-img-footer {
    height: 45px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: block;
}

.footer-col .brand-text h2 {
    color: #FFFFFF !important;     /* ஃபூட்டரில் வெள்ளை நிற எழுத்துக்கள் */
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.footer-col .brand-text p {
    color: var(--accent-gold) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 2px 0 0 0;
}

.footer-desc {
    margin-top: 12px;
    line-height: 1.6;
    color: #94A3B8;
    font-size: 12.5px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* 📞 Contact Info Layout */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    color: var(--accent-gold);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-item span, 
.contact-item strong {
    color: #FFFFFF;
    line-height: 1.5;
    font-size: 13px;
}

/* 🌐 Copyright & Social Icons Row */
.copyright-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 12px;
    color: #94A3B8;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: transform 0.2s ease;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.fb { background-color: #1877F2; }
.social-btn.li { background-color: #0A66C2; }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.wa { background-color: #25D366; }

/* 📱 Mobile Navigation Styling */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--navy-dark, #00204A);
    cursor: pointer;
    padding: 5px 10px;
}

.mobile-appointment {
    display: none;
}

/* Screen width 768px அல்லது அதற்கு குறைவாக இருக்கும் போது (Mobile Devices) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* 3 Dots Icon மட்டும் தெரியும் */
    }

    .desktop-appointment {
        display: none; /* Desktop Appointment பட்டன் மறையும் */
    }

    .mobile-appointment {
        display: block;
        margin-top: 10px;
    }

    .nav-menu {
        display: none; /* Mobile-ல் Navigation Links மறையும் */
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #ffffff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        border-radius: 8px;
        flex-direction: column;
        width: 200px;
        padding: 15px;
        z-index: 1000;
    }

    /* 3 Dots கிளிக் செய்தவுடன் Menu ஓபன் ஆகும் */
    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
        text-align: left;
    }
}