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

:root {
    /* Color Palette - Premium VIP */
    --primary: #0c4a6e;
    --primary-light: #075985;
    --primary-dark: #083344;
    --accent: #d4af37; /* Premium Gold */
    --accent-light: #e5c158;
    --secondary: #0ea5e9;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.15);
    --shadow-accent: 0 10px 20px rgba(212, 175, 55, 0.2);
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

/* --- Layout Components --- */

.site-main {
    min-height: 60vh;
}

/* --- Utility Classes --- */
.bg-primary-dark { background-color: var(--primary-dark) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-light-blue { background-color: #f0f9ff !important; }
.bg-gradient-dark { background: linear-gradient(to top, rgba(0,0,0,0.8), transparent) !important; }

.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.text-light-muted { color: rgba(255, 255, 255, 0.7) !important; }
.max-width-700 { max-width: 700px; }

/* --- Custom Spacing --- */
.py-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.py-7 { padding-top: 7rem !important; padding-bottom: 7rem !important; }
.py-8 { padding-top: 10rem !important; padding-bottom: 10rem !important; }

.mt-6 { margin-top: 5rem !important; }
.mt-7 { margin-top: 7rem !important; }
.mt-8 { margin-top: 10rem !important; }

@media (max-width: 768px) {
    .py-6 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
    .py-7 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
    .py-8 { padding-top: 7rem !important; padding-bottom: 7rem !important; }
}


/* --- Premium Navbar --- */
.site-navbar {
    transition: var(--transition);
    padding: 1.25rem 0;
    background: transparent !important;
    border-bottom: 1px solid transparent;
}

/* Gradient shadow for readability on transparent state */
.site-navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    height: 150%; /* Extended height for smoother fade */
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    z-index: -1;
    transition: var(--transition);
    opacity: 1;
}

.site-navbar.is-scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(12, 74, 110, 0.1);
    box-shadow: var(--shadow-sm);
}

.site-navbar.is-scrolled::before {
    opacity: 0;
}

.navbar-brand img {
    height: 90px; /* Increased from 65px */
    transition: var(--transition);
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.2));
}

.is-scrolled .navbar-brand img {
    height: 70px; /* Increased from 50px */
    filter: none;
}

.nav-link {
    font-weight: 600;
    color: #ffffff !important;
    margin: 0 10px;
    position: relative;
    padding: 5px 0 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.is-scrolled .nav-link {
    color: var(--primary-dark) !important;
    text-shadow: none;
}

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

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

.nav-call-btn {
    background: var(--primary);
    color: white !important;
    border-radius: 50px;
    padding: 10px 25px !important;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary);
}

.nav-call-btn:hover {
    background: transparent;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- Hero Section --- */
.hero-21st-style {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(8, 51, 68, 0.8), rgba(8, 51, 68, 0.4));
    z-index: 1;
}

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

.eyebrow {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.hero-heading-gradient {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    color: white !important;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-subtext {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-21st-btn {
    background: var(--accent);
    color: var(--primary-dark) !important;
    border: none;
    padding: 18px 45px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: var(--shadow-accent);
    transition: var(--transition);
}

.hero-21st-btn:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Ensure all text in heroes is white */
.hero-21st-style h1, 
.hero-21st-style h2, 
.hero-21st-style h3, 
.hero-21st-style p, 
.hero-21st-style span,
.inner-hero h1, 
.inner-hero h2, 
.inner-hero h3, 
.inner-hero p,
.inner-hero span {
    color: white !important;
}

/* --- Section Styling --- */
.section-tag {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* --- Cards & Features --- */
.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.feature-poster {
    height: 450px;
    cursor: pointer;
}

.feature-poster img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-poster:hover img {
    transform: scale(1.05);
}

.why-card {
    padding: 40px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.why-card > i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

/* --- Team Card Styles --- */
.team-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.team-card h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.team-info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.team-info-row i {
    color: var(--accent);
    margin-top: 4px;
    margin-right: 12px;
    font-size: 1.1rem;
}

.team-info-row p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Inner Hero --- */
.inner-hero {
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(8, 51, 68, 0.85), rgba(8, 51, 68, 0.6));
}

.inner-hero .container {
    position: relative;
    z-index: 1;
}

/* --- Footer --- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.site-footer h5 {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 1.25rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: rotate(360deg);
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Fixes --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-collapse .nav-link {
        color: var(--primary-dark) !important;
        text-shadow: none;
        padding: 10px 0 !important;
    }
    
    .hero-21st-style {
        height: auto;
        padding: 150px 0 100px;
    }
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white !important;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}
