@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&display=swap');

:root {
    /* Royal Naval Modernist Palette */
    --navy: #1a2a44;
    --gold: #d4a017;
    --white: #ffffff;
    --soft-gray: #f5f6f5;
    --teal: #2a9d8f;
    --text: #1a2a44;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-lg: 16px;
    --shadow: 0 10px 30px rgba(26, 42, 68, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--white);
    color: var(--navy);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 🔝 NAVBAR - ROYAL NAVY STICKY */
.navbar {
    background-color: transparent;
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--navy);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta .btn {
    background-color: var(--gold);
    color: var(--navy);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
}

.nav-cta .btn:hover {
    background-color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent !important;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
}

.btn-outline:hover {
    background-color: var(--gold) !important;
    color: var(--navy) !important;
}

/* 🎥 HERO SECTION - CINEMATIC CANVAS */
.hero-sec {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
}

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0.8;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(26, 42, 68, 0.4) 0%,
            transparent 50%,
            rgba(26, 42, 68, 0.4) 100%);
    z-index: 2;
}




/* 📜 SECTION ARCHITECTURE */
.section {
    padding: 120px 0;
}

.section-label {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 50px;
    color: var(--navy);
    line-height: 1.1;
}

/* 👥 DIRECTORS GRID */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.director-card {
    background: var(--soft-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

.director-card:hover {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.director-img-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--navy);
}

.director-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.9;
}

.director-card:hover .director-img-wrapper img {
    transform: scale(1.05);
    opacity: 1;
}

.director-info {
    padding: 20px;
}

.director-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--navy);
}

.director-info p {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.director-label {
    font-size: 0.7rem;
    opacity: 0.6;
    font-weight: 500;
    display: block;
}

/* 🛠️ SERVICES / FEATURES - BENTO GRID */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    background-color: var(--soft-gray);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.bento-card:hover {
    background-color: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}

.bento-card .icon {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 30px;
    display: block;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* 📐 PROJECTS / ARCHIVE - TECHNICAL GRID */
.projects-sec {
    background-color: #fcfcfc;
}

.category-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.4em;
    margin-bottom: 50px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
    opacity: 0.8;
}

.projects-grid-six {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.style-card {
    background-color: #f7f7f7;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.style-card:hover {
    background-color: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(26, 42, 68, 0.1);
}

.project-img-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #eee;
    padding: 15px;
}

.project-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.style-card:hover .project-img-box img {
    transform: scale(1.03);
}

.project-info {
    padding: 35px 40px;
}

.p-tag {
    color: var(--gold);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 2.0rem;
    margin-bottom: 20px;
    font-weight: 900;
    color: #1a2a44;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-facts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.quick-facts p {
    font-size: 0.85rem;
    color: #333;
    display: flex;
    gap: 10px;
}

.quick-facts b {
    color: var(--gold);
    min-width: 60px;
    font-weight: 700;
}

/* 💬 TESTIMONIALS SLIDER */
.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 40px;
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 30px;
    opacity: 0.5;
}

.test-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.4;
    margin-bottom: 40px;
    font-style: italic;
}

.test-user {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-name {
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.user-desc {
    font-size: 0.9rem;
    opacity: 0.6;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

.slider-nav button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav button:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* 📞 FOOTER - ROYAL DEEP */
footer {
    background-color: #0c121d;
    /* Deeper Midnight for contrast */
    color: var(--white);
    padding: 100px 0 40px;
    border-top: 1px solid var(--gold);
    /* Structural Accent Line */
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 1.4fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-nav h4,
.footer-newsletter h4,
.footer-contact h4 {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    margin-bottom: 30px;
}

.footer-links li {
    list-style: none;
    margin-bottom: 15px;
}

.newsletter-form button:hover {
    background-color: var(--white) !important;
    transform: translateY(-3px);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* 🔘 MODAL SYSTEM */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(26, 42, 68, 0.98);
    z-index: 2000;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 1000px;
    margin: 5vh auto;
    padding: 60px;
    border-radius: 20px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    font-weight: 800;
    cursor: pointer;
    color: var(--navy);
}

/* 🏗️ FLOATING ONGOING PROJECT BUTTON */
.floating-ongoing {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    background-color: var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
    transition: var(--transition);
    border: 2px solid var(--white);
}

.floating-ongoing i {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.fab-label {
    color: var(--navy);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.floating-ongoing:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--white);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.floating-ongoing:hover i,
.floating-ongoing:hover .fab-label {
    color: var(--navy);
}

/* 🌟 FLOATING UPCOMING PROJECT BUTTON */
.floating-upcoming {
    position: fixed;
    bottom: 130px;
    right: 40px;
    width: 80px;
    height: 80px;
    background-color: #2a9d8f;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(42, 157, 143, 0.4);
    transition: var(--transition);
    border: 2px solid var(--white);
}

.floating-upcoming i {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.floating-upcoming .fab-label {
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.floating-upcoming:hover {
    transform: scale(1.1) rotate(-5deg);
    background-color: var(--white);
}

.floating-upcoming:hover i,
.floating-upcoming:hover .fab-label {
    color: #2a9d8f;
}

/* ✅ FLOATING COMPLETED PROJECT BUTTON */
.floating-completed {
    position: fixed;
    bottom: 220px;
    right: 40px;
    width: 80px;
    height: 80px;
    background-color: #1a2a44;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    border: 2px solid var(--white);
}

.floating-completed i {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.floating-completed .fab-label {
    color: var(--gold);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.floating-completed:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--white);
}

.floating-completed:hover i,
.floating-completed:hover .fab-label {
    color: #1a2a44;
}

/* 🎆 PULSE ANIMATION */
.fab-pulse {
    position: absolute;
    inset: -10px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    z-index: -1;
    animation: fabPulse 2s infinite;
}

@keyframes fabPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* 📱 COMPREHENSIVE RESPONSIVE PROTOCOL */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .directors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .projects-grid-six {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .directors-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid-six {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonial-slide {
        padding: 0 20px;
    }

    .test-text {
        font-size: 1.5rem;
    }
}

.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .navbar {
        padding: 15px 0;
    }

    .nav-links {
        display: none !important;
        /* Hide desktop nav */
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 2100;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 32px;
        height: 3px;
        background: var(--white);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-radius: 2px;
    }

    /* Animation to X */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* 📱 Premium Mobile Overlay */
    .mobile-menu {
        position: fixed;
        inset: 0;
        background: var(--navy);
        z-index: 2000;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding: 40px;
    }

    .mobile-link {
        color: var(--white);
        font-size: 1.8rem;
        font-weight: 700;
        text-decoration: none;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        transition: var(--transition);
    }

    .mobile-link:hover {
        color: var(--gold);
        transform: scale(1.1);
    }

    .close-mobile {
        position: absolute;
        top: 30px;
        right: 30px;
        background: none;
        border: none;
        color: var(--white);
        font-size: 2rem;
        cursor: pointer;
        transition: var(--transition);
        padding: 10px;
    }

    .close-mobile:hover {
        color: var(--gold);
        transform: rotate(90deg);
    }

    .nav-cta .btn {
        display: none !important;
        /* Hide desktop CTA */
    }

    .directors-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .company-name {
        font-size: 1.2rem !important;
    }

    .stats-row {
        flex-direction: column;
        gap: 30px;
    }

    .footer-top {
        text-align: center;
    }

    .footer-newsletter .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-contact p {
        justify-content: center;
        text-align: center;
    }

    .floating-ongoing,
    .floating-upcoming,
    .floating-completed {
        width: 60px;
        height: 60px;
        right: 20px;
    }

    .floating-ongoing {
        bottom: 20px;
    }

    .floating-upcoming {
        bottom: 90px;
    }

    .floating-completed {
        bottom: 160px;
    }

    .floating-ongoing i {
        font-size: 1.2rem;
    }

    .fab-label {
        font-size: 0.5rem;
    }

    .modal-content {
        padding: 40px 20px;
        margin: 2vh auto;
    }

    .modal-content>div {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }



    .footer-brand h2 {
        font-size: 2rem;
    }

    .test-text {
        font-size: 1.2rem;
    }
}