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

:root {
    /* Modern Palette */
    --primary-color: #3b82f6;
    /* More vivid blue */
    --primary-dark: #2563eb;
    --secondary-color: #0f172a;
    /* Dark slate */
    --accent-color: #ef4444;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);

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

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', 'Noto Sans SC', 'Noto Sans Tamil', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    padding-top: 0;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Button Styles - Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
    color: white;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--white);
    color: white;
}

.btn-link {
    background: transparent;
    color: var(--primary-color);
    padding: 0;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    gap: 12px;
}

/* Header & Navigation - Sticky Glass */
header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 5px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    max-width: 1280px;
    margin: 0 auto;
    transition: var(--transition);
}

header.scrolled .navbar {
    padding: 15px 24px;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -1px;
}

.logo i {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Selector */
.lang-selector {
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-selector:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

#current-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 150px;
    display: none;
    flex-direction: column;
    animation: fadeIn 0.2s ease;
}

.lang-dropdown.show {
    display: flex;
}

.lang-option {
    padding: 10px 16px;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
}

.lang-option:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Mobile Menu - Side Drawer */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Hero Section - Premium Gradient */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    background-attachment: fixed;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p.subtitle {
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 500;
    color: #93c5fd;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero p.description {
    font-size: 1.25rem;
    margin-bottom: 48px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Common */
.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: var(--secondary-color);
    color: var(--white);
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
    padding: 140px 0;
}

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

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-dark .section-title h2 {
    background: linear-gradient(to right, var(--white), #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.section-dark .section-title p {
    color: #cbd5e1;
}

/* Services Grid - Hover Lift */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

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

.service-img {
    height: 240px;
    background-color: #e2e8f0;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 32px;
}

.service-content h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.7;
}

/* Glass Card Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.glass-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: var(--transition);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 3.5rem;
    color: #60a5fa;
    margin-bottom: 24px;
    display: inline-block;
    transition: var(--transition);
}

.glass-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--white);
}

.feature-item h3 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.feature-item p {
    color: #cbd5e1;
    font-size: 1rem;
}

/* Stats */
.stats {
    background-color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 0px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-item .plus {
    font-size: 2.5rem;
    vertical-align: top;
    color: var(--secondary-color);
}

.stat-item p {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
    position: relative;
    border: 1px solid var(--border-color);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text-color);
    font-size: 1.125rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.info-icon {
    width: 56px;
    height: 56px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
    box-shadow: var(--shadow-md);
}

/* Floor Map */
.floor-map-container {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background-color: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

/* WhatsApp Float - Pulse Effect */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.whatsapp-float i {
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

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

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #94a3b8;
    padding: 100px 0 30px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.25rem;
}

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

.footer-links a {
    color: #94a3b8;
}

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

.social-links a {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

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

.copyright {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Responsive - Mobile Optimized */
@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar {
        background-color: var(--text-color);
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Full Screen Mobile Menu */
    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateY(-100%);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 24px;
        font-weight: 700;
        color: var(--secondary-color);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p.subtitle {
        font-size: 1.1rem;
    }

    .section-dark {
        clip-path: none;
    }
}