﻿/* ─── GLOBAL VARIABLES & RESETS ─── */
:root {
    --teal-dark: #1a6b7c;
    --teal-mid: #2a8fa3;
    --teal-light: #3fb3cc;
    --green-accent: #7dc656;
    --green-bright: #9ed974;
    --slate: #2c3e4a;
    --slate-light: #4a5e6b;
    --offwhite: #f4f7f8;
    --white: #ffffff;
    --text-dark: #1a2530;
    --text-mid: #3a4f5c;
    --text-light: #6b8090;
    --border: rgba(26,107,124,0.12);
    --shadow-sm: 0 2px 12px rgba(26,107,124,0.08);
    --shadow-md: 0 8px 40px rgba(26,107,124,0.14);
    --shadow-lg: 0 20px 60px rgba(26,107,124,0.18);
    --radius: 16px;
    --radius-sm: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ─── GLOBAL FONT UPDATE (Inter) ─── */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .nav-links a, .btn-primary, .btn-secondary, .btn-white, .btn-outline-white {
    font-family: 'Inter', sans-serif;
}

/* ─── NAVBAR ─── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

    nav.scrolled {
        box-shadow: var(--shadow-sm);
    }

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 72px;
}

.nav-logo img {
    height: 60px; /* ലോഗോ സൈസ് ഒതുക്കി */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem; /* ഗ്യാപ്പ് കുറച്ചു */
    list-style: none;
}

    .nav-links a {
        text-decoration: none;
        color: var(--text-mid);
        font-weight: 600;
        font-size: 0.85rem; /* സൈസ് ചെറുതാക്കി */
        letter-spacing: 0.02em;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 2px;
        transition: color 0.2s;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--teal-mid), var(--green-accent));
            transition: width 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--teal-dark);
        }

            .nav-links a:hover::after {
                width: 100%;
            }

.nav-cta {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
    color: white !important;
    padding: 0.5rem 1.2rem; /* ബട്ടൺ വലിപ്പം ഒതുക്കി */
    border-radius: 50px;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

    .nav-cta::after {
        display: none !important;
    }

    .nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(26,107,124,0.35) !important;
    }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--slate);
        border-radius: 2px;
        transition: all 0.3s;
    }

/* ─── MOBILE MENU ─── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

    .mobile-menu.open {
        display: block;
    }

    .mobile-menu ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .mobile-menu a {
        text-decoration: none;
        color: var(--text-mid);
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .mobile-menu .nav-cta {
        background: linear-gradient(135deg, var(--teal-dark), var(--teal-mid));
        color: white !important;
        display: inline-block;
        padding: 0.6rem 1.5rem;
        border-radius: 50px;
        margin-top: 0.5rem;
    }

/* ─── FOOTER (Compact & Professional) ─── */
footer {
    background: #0e1c24;
    color: rgba(255,255,255,0.65);
    font-family: 'Inter', sans-serif;
}

.footer-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.1);
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 280px;
    font-weight: 400;
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 1.2rem;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.25s;
}

    .social-icon:hover {
        background: var(--teal-mid);
        border-color: transparent;
        color: white;
    }

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

    .footer-links a {
        text-decoration: none;
        color: rgba(255,255,255,0.55);
        font-size: 0.85rem;
        font-weight: 400;
        transition: color 0.2s;
    }

        .footer-links a:hover {
            color: var(--teal-light);
        }

.footer-contact-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.fci-icon {
    color: var(--teal-light);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.2rem 2rem;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.2rem;
}

    .footer-bottom-links a {
        color: rgba(255,255,255,0.4);
        text-decoration: none;
        font-weight: 400;
        transition: color 0.2s;
    }

        .footer-bottom-links a:hover {
            color: var(--teal-light);
        }

/* ─── RESPONSIVE FOR MASTER PAGE ─── */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}
