/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Design tokens */
:root {
    --bg: #0b1022;
    --bg-elev: #0f172a;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --accent: #facc15;
    --accent-2: #22d3ee;
    --glass: rgba(255, 255, 255, 0.06);
    --glass-stroke: rgba(255, 255, 255, 0.12);
    --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.45);
}

html { font-size: 16px; }

body {
    background: radial-gradient(1200px 800px at 10% 10%, rgba(250, 204, 21, 0.08), transparent 40%),
                radial-gradient(1200px 800px at 90% 5%, rgba(34, 211, 238, 0.10), transparent 45%),
                linear-gradient(180deg, var(--bg), var(--bg-elev));
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
}

/* HEADER */
header {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    padding: 16px 0;
    /* Removed sticky header per request */
    position: relative;
    width: 100%;
    z-index: 10;
    border-bottom: 1px solid var(--glass-stroke);
}

/* Header Container */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 90px;
    margin-right: 12px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

.logo img:hover {
    transform: scale(1.05);
}

/* Header title (explicit class in HTML) */
header .site-title {
    font-size: clamp(1.1rem, 1.6vw, 1.6rem);
    font-weight: 600;
    letter-spacing: 0.8px;
}

/* NAVIGATION */
nav {
    flex-grow: 1;
    text-align: right;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-size: .95rem;  /* Slightly smaller */
    font-weight: 500;
    text-transform: uppercase;
    padding: 10px 14px;
    transition: color .25s ease, transform .25s ease, background .25s ease, box-shadow .25s ease;
    border-radius: 8px;
    border: 1px solid transparent;
}

nav ul li a:hover {
    background: rgba(250, 204, 21, 0.15);
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(250, 204, 21, 0.18);
}

/* RESPONSIVE MENU */
@media (max-width: 992px) {
    .header-content {
        gap: 10px;
    }

    .logo img {
        max-width: 80px;
    }

    header .site-title {
        font-size: 1.25rem;
    }
}

/* Mobile nav toggle button */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--glass-stroke);
    background: var(--glass);
    color: var(--text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle:hover { border-color: rgba(250, 204, 21, 0.45); }

@media (max-width: 992px) {
    .nav-toggle { display: inline-flex; }
    nav ul {
        position: absolute;
        top: 100%;
        right: 16px;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.92);
        border: 1px solid var(--glass-stroke);
        border-radius: 12px;
        padding: 10px;
        margin-top: 10px;
        box-shadow: var(--shadow-1);
        display: none;
        width: min(85vw, 320px);
    }
    nav ul.show { display: flex; }
    nav ul li { margin: 4px 0; }
    nav ul li a { width: 100%; display: block; text-align: left; }
}

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    text-align: center;
    color: var(--text);
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.65) 55%, rgba(0,0,0,0.7));
}

.hero-text {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    animation: fadeIn 1.5s ease-in-out;
}

.hero-text h2 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-top: 15px;
    color: var(--muted);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent), #ffe580);
    color: #0a0a0a;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    transition: transform .18s ease, filter .18s ease, box-shadow .3s ease;
    margin-top: 22px;
    box-shadow: 0 12px 30px rgba(250, 204, 21, 0.35);
}

.btn:hover { transform: translateY(-2px); filter: brightness(0.98); }
.btn:active { transform: translateY(0); filter: brightness(0.95); }

/* SECTIONS */
section {
    padding: 96px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section headings */
section h2 {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: .5px;
    display: inline-block;
    position: relative;
}

section h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 999px;
}

/* ABOUT SECTION */
.about-image {
    max-width: 100%;
    border-radius: 16px;
    margin-top: 24px;
    box-shadow: 0 12px 28px rgba(250, 204, 21, 0.22);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(250, 204, 21, 0.28);
}

/* EXPERTISE SECTION */
.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    font-size: 1.15rem;
    margin-bottom: 18px;
    transition: transform 0.25s ease-in-out, color .25s ease;
}

.expertise-list li:hover { transform: translateX(4px); color: var(--accent); }

/* VISION & MISSION */
.vision-mission-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 30px;
}

.card {
    background: var(--glass);
    border: 1px solid var(--glass-stroke);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    transition: transform 200ms ease, border-color .3s ease, box-shadow .3s ease;
}

.card:hover { transform: translateY(-4px); border-color: rgba(250, 204, 21, 0.4); box-shadow: 0 16px 36px rgba(0,0,0,0.5);} 

.vision h3, .mission h3 {
    color: var(--accent);
    font-size: clamp(1.35rem, 2.1vw, 1.7rem);
    margin-bottom: 12px;
}

/* WHY CHOOSE US */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
}

.why-item {
    background: var(--glass);
    border: 1px solid var(--glass-stroke);
    padding: 26px;
    border-radius: 16px;
    box-shadow: var(--shadow-1);
    transition: transform .2s ease, border-color .3s ease, box-shadow .3s ease;
    grid-column: span 6;
}

.why-item:hover { transform: translateY(-4px); border-color: rgba(250, 204, 21, 0.4); box-shadow: 0 16px 36px rgba(0,0,0,0.5);} 

.why-item h3 {
    color: var(--accent);
    font-size: 1.35rem;
    margin-bottom: 6px;
}

/* CONTACT SECTION */
.contact-details {
    margin-top: 30px;
}

.contact-details p {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text);
}

.contact-details i {
    color: var(--accent);
    margin-right: 12px;
}

/* Ensure contact links are readable on dark background */
.contact-details a {
    color: var(--text);
    text-decoration-color: rgba(250, 204, 21, 0.65);
    text-underline-offset: 3px;
}

.contact-details a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.contact-details a:visited {
    color: var(--text);
}

/* FOOTER */
footer {
    background: rgba(15, 23, 42, 0.85);
    color: var(--text);
    text-align: center;
    padding: 24px 0;
    margin-top: 50px;
    box-shadow: 0 -4px 10px rgba(255, 204, 0, 0.15);
    border-top: 1px solid var(--glass-stroke);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal utility */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.show { opacity: 1; transform: none; }

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .vision-mission-box { grid-template-columns: 1fr; }
    .why-us-grid { grid-template-columns: 1fr; }
    .why-item { grid-column: auto; }
    .hero-text h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .hero-text p { font-size: 1.05rem; }
}

@media (max-width: 768px) {
    .header-content { flex-direction: row; }
    .hero { height: 75vh; }
}
