/* =========================================
   1. RESET & BASIC SETUP
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background-color: #121212;
    color: #ffffff;
}

/* =========================================
   2. NAVIGATION
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
    padding: 1.5rem 3rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border: none !important;
}

.logo {
    color: #00c853;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 200, 83, 0.8);
    transition: text-shadow 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 15px #00c853, 0 0 30px #00c853;
}

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

.nav-menu-horizontal {
    display: flex;
    gap: 25px;
    list-style: none;
    pointer-events: none;
}

/* Base state — staggered EXIT */
.nav-menu-horizontal .nav-item {
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.nav-menu-horizontal .nav-item:nth-child(1) { transition-delay: 0.3s; }
.nav-menu-horizontal .nav-item:nth-child(2) { transition-delay: 0.2s; }
.nav-menu-horizontal .nav-item:nth-child(3) { transition-delay: 0.1s; }
.nav-menu-horizontal .nav-item:nth-child(4) { transition-delay: 0.05s; }
.nav-menu-horizontal .nav-item:nth-child(5) { transition-delay: 0s; }

/* Active state — staggered ENTRY */
.nav-menu-horizontal.active {
    pointer-events: all;
}

.nav-menu-horizontal.active .nav-item:nth-child(1) { transition: all 0.6s ease 0.1s;  opacity: 1; transform: translateX(0); }
.nav-menu-horizontal.active .nav-item:nth-child(2) { transition: all 0.6s ease 0.25s; opacity: 1; transform: translateX(0); }
.nav-menu-horizontal.active .nav-item:nth-child(3) { transition: all 0.6s ease 0.4s;  opacity: 1; transform: translateX(0); }
.nav-menu-horizontal.active .nav-item:nth-child(4) { transition: all 0.6s ease 0.55s; opacity: 1; transform: translateX(0); }
.nav-menu-horizontal.active .nav-item:nth-child(5) { transition: all 0.6s ease 0.7s;  opacity: 1; transform: translateX(0); }

.nav-link {
    color: #e0f2f1 !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

/* Menu toggle button */
.menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.menu-text {
    color: #e0f2f1 !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu-btn:hover .menu-text {
    color: #ffffff;
}

.menu-icon {
    width: 30px;
    height: 20px;
    position: relative;
}

.line {
    position: absolute;
    height: 2px;
    background-color: #e0f2f1 !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    right: 0;
}

.top-line {
    top: 4px;
    width: 16px;
}

.bottom-line {
    bottom: 4px;
    width: 28px;
}

.menu-btn.active .top-line {
    width: 28px;
    top: 9px;
    transform: rotate(45deg);
}

.menu-btn.active .bottom-line {
    width: 28px;
    bottom: 9px;
    transform: rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-menu-horizontal {
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        background-color: rgba(5, 5, 5, 0.98);
        padding: 20px 40px;
        border-bottom-left-radius: 10px;
        border-bottom: 1px solid rgba(0, 200, 83, 0.2);
        border-left: 1px solid rgba(0, 200, 83, 0.2);
        gap: 20px;
        align-items: flex-end;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 1001; /* Forces the menu to the front layer */
    }

    .nav-menu-horizontal.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
}

/* =========================================
   3. SECTIONS & LAYOUT
   ========================================= */
section {
    padding: 40px 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Shared heading style */
#about h2,
#divisions h2,
#projects h2 {
    font-size: 2.5rem !important;
    color: #00c853 !important;
    transition: all 0.4s ease;
    cursor: default;
}

/* Shared glow on hover */
#about h2:hover,
#divisions h2:hover,
#projects h2:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px #00c853, 0 0 20px #00c853, 0 0 40px #00c853;
}

.about-separator {
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
    margin: 0 auto 40px auto;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

.hero-content {
    max-width: 1000px;
}

.hero-video-specific {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.brand-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 60px;
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: 3px;
    text-transform: none;
}

.brand-subheading {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 30px;
    margin-bottom: 30px;
    color: #00c853;
    text-transform: none;
}

@media screen and (max-width: 768px) {
    .brand-title { font-size: 35px; }
    .brand-subheading { font-size: 20px; }
}

/* =========================================
   5. VIDEO BACKGROUND
   ========================================= */
.video-background-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
}

.video-background-fixed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

/* =========================================
   6. ABOUT SECTION
   ========================================= */
#about {
    font-family: 'Orbitron', sans-serif;
}

#about h2 {
    font-size: 3.5rem;
    color: #00c853;
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-weight: 700;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

/* =========================================
   7. GRID LAYOUTS (Bento / Divisions / Projects)
   ========================================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
}

.tech-grid {
    display: grid;
    gap: 15px;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto 0;
}

/* Divisions grid */
.divisions-layout {
    display: grid;
    grid-template-areas:
        "rnd rnd prop"
        "am marine prop";
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 150px;
    gap: 15px;
}

.box-rnd    { grid-area: rnd; }
.box-sand   { grid-area: am; }
.box-marine { grid-area: marine; }
.box-prop   { grid-area: prop; }

/* Projects grid */
.projects-layout {
    grid-template-columns: 1fr 1fr 2fr;
    grid-template-rows: 200px 200px;
}

.box-vessel { grid-area: 1 / 1 / 2 / 2; }
.box-v12    { grid-area: 1 / 2 / 2 / 3; }
.box-mtbm   { grid-area: 1 / 3 / 3 / 4; }

/* Dynamic info text box in projects */
.proj-info-box {
    grid-area: 2 / 1 / 3 / 3;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    padding: 20px 0;
}

/* Project card base */
.project-card {
    background-color: #1e1e1e !important;
    background-image: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative;
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

/* Hover glow overlay */
.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at top right,   rgba(16, 185, 129, 0.7) 0%, transparent 65%),
        radial-gradient(circle at bottom left,  rgba(16, 185, 129, 0.7) 0%, transparent 65%),
        #052e16;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
    border-radius: inherit;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: scale(1.02);
    border-color: #10b981 !important;
    box-shadow: 0 15px 40px rgba(5, 46, 22, 0.4) !important;
}

/* Card overlay content */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    background: transparent !important;
    z-index: 1;
}

.overlay h3 {
    font-size: 1.5rem;
    color: #00c853;
    margin-bottom: 5px;
}

/* Card text elements */
.green-title {
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    transition: color 0.4s ease;
    position: relative;
    z-index: 2;
}

.box-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.4;
    font-weight: 400;
    max-width: 95%;
    transition: color 0.4s ease;
    position: relative;
    z-index: 2;
}

.box-separator {
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    margin: 12px 0;
    transition: background 0.4s ease;
    position: relative;
    z-index: 2;
}

/* Hover state for card text */
.project-card:hover .green-title,
.project-card:hover .box-subtext,
.project-card:hover .proj-info-box {
    color: #000000 !important;
    text-shadow: none;
}

.project-card:hover .box-separator {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
}

@media (min-width: 768px) {
    .wide { grid-column: span 2; }
    .tall { grid-row: span 2; }
}

/* =========================================
   8. FOOTER & CONTACT
   ========================================= */
#contact {
    font-family: 'Orbitron', sans-serif;
}

.contact-heading {
    color: #00c853;
    font-size: 3.5rem;
    margin-bottom: 40px;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.4s ease;
    cursor: default;
}

.contact-heading:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #00c853, 0 0 20px #00c853, 0 0 40px #00c853;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    gap: 50px;
    width: 100%;
    text-align: left;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: #00c853;
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.4s ease;
}

.contact-info h3:hover {
    color: #ffffff;
    text-shadow: 0 0 8px #00c853, 0 0 15px #00c853;
}

.contact-info p {
    color: #cccccc;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin-bottom: 25px;
}

.contact-details p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin: 15px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.email-link {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    cursor: pointer;
}

.email-link:hover {
    color: #10b981;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.minimal-icon {
    width: 22px;
    height: 22px;
    color: #10b981;
    stroke-width: 1.5px;
}

.contact-form-wrapper {
    flex: 1;
    min-width: 300px;
    background-color: #1e1e1e !important;
    background-image: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 30px;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #0a0a0a;
    border: 1px solid #333;
    color: #ffffff;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #00c853;
    box-shadow: 0 0 8px rgba(0, 200, 83, 0.3);
}

.btn-submit {
    background-color: #00c853;
    color: #000;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: #ffffff;
    color: #000;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
    .contact-info {
        text-align: center;
    }
}

/* Footer directory */
.footer-directory {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 20px;
    border-top: 1px solid #333;
    padding-top: 40px;
    gap: 40px;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    color: #00c853;
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}

.footer-brand p {
    color: #888;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.2;
    margin-top: 0;
    text-align: left;
    padding-left: 0;
    margin-left: -40px;
}

.footer-links-grid {
    display: flex;
    flex: 3;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: flex-end;
}

.footer-col {
    text-align: left;
    min-width: 140px;
}

.footer-col h4 {
    color: #e0f2f1;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

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

.footer-col ul li a {
    color: #888;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #e0f2f1;
    padding-left: 8px;
}

@media (max-width: 768px) {
    .footer-directory {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand, .footer-col {
        text-align: center;
    }
    .footer-links-grid {
        justify-content: center;
        width: 100%;
    }
}

/* Footer logo */
.footer-logo-img {
    height: 150px;
    width: auto;
    margin-bottom: -40px;
    margin-left: -110px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.3));
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 0 15px rgba(0, 200, 83, 0.6));
}

/* Copyright */
.copyright {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.copyright p {
    margin: 5px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #888;
}

.gst-number {
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================
   9. COOKIE CONSENT BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.98);
    border-top: 1px solid #333;
    padding: 20px;
    z-index: 2000;
    transition: bottom 0.5s ease-in-out;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content h3 {
    color: #00c853;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.cookie-content p {
    color: #ccc;
    font-size: 0.9rem;
    max-width: 600px;
    font-family: 'Inter', sans-serif;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: 0.3s;
}

.btn-cookie.accept {
    background-color: #00c853;
    color: #000;
}

.btn-cookie.accept:hover {
    background-color: #fff;
}

.btn-cookie.decline {
    background-color: transparent;
    border: 1px solid #666;
    color: #ccc;
}

.btn-cookie.decline:hover {
    border-color: #fff;
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   10. LIVE PROJECTS BUTTON
   ========================================= */
.live-projects-container {
    position: absolute;
    bottom: 50px;
    left: 50px;
    transform: none;
    z-index: 50;
}

.btn-live-projects {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 200px;
    border-radius: 20px;
    border: 2px solid #10b981;
    overflow: hidden;
    text-decoration: none;
    opacity: 0;
    animation: fadeInDelayed 0.5s ease-in forwards 2s;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.btn-live-projects:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
    border-color: #ffffff;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0;
    animation: btnSlideFade 12s infinite;
}

.slide-1 { animation-delay: 0s; }
.slide-2 { animation-delay: 4s; }
.slide-3 { animation-delay: 8s; }

@keyframes btnSlideFade {
    0%,  25% { opacity: 1; }
    33%, 92% { opacity: 0; }
    100%      { opacity: 1; }
}

.btn-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    transition: background 0.4s ease;
}

.btn-live-projects:hover .btn-overlay {
    background: rgba(44, 62, 53, 0.8);
}

.btn-text {
    position: relative;
    z-index: 3;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
}

@keyframes fadeInDelayed {
    to { opacity: 1; }
}

/* =========================================
   11. PROJECT SHOWCASE (project.html)
   ========================================= */
.project-showcase {
    padding: 120px 20px 50px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.version-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    background: rgba(18, 18, 18, 0.6);
    padding: 10px;
    border-radius: 50px;
    border: 1px solid rgba(0, 200, 83, 0.3);
    backdrop-filter: blur(10px);
}

.tab-btn {
    background: transparent;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn.active,
.tab-btn:hover {
    background: #00c853;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.5);
    font-weight: bold;
}

.version-content {
    display: none;
    width: 100%;
    max-width: 1000px;
    animation: fadeIn 0.5s ease-in-out;
}

.version-content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cinematic-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 2px solid #333;
    border-radius: 10px;
    overflow: hidden;
}

.cinematic-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    outline: none;
}

.version-selector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}

.version-card {
    background-color: #1e1e1e !important;
    background-image: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.version-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
    transition: 0.3s;
}

.version-card p {
    font-family: 'Inter', sans-serif;
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.version-card:hover {
    border-color: rgba(0, 200, 83, 0.5) !important;
    transform: translateY(-5px);
}

.version-card.active {
    border-color: #00c853 !important;
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.3) !important;
}

.version-card.active h3 {
    color: #00c853;
}

.version-display {
    display: none;
    width: 100%;
    max-width: 1100px;
    animation: fadeIn 0.4s ease-in-out;
}

.version-display.active {
    display: block;
}

.sub-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.sub-box {
    background-color: #1e1e1e !important;
    background-image: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sub-box h4 {
    color: #00c853;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sub-box-desc {
    color: #aaa;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.doc-links-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.doc-links-row .nav-link {
    width: auto;
    min-width: 200px;
    font-size: 0.9rem;
}

.doc-links-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.doc-links-col .nav-link {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .version-selector-grid,
    .sub-box-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   12. M-TBM ZIGZAG LAYOUT (project.html)
   ========================================= */
.mtbm-main-title {
    color: #00c853 !important;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 120px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sub-heading-orbitron {
    font-family: 'Orbitron', sans-serif !important;
    color: #00c853 !important;
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.mtbm-dark-container {
    padding: 120px 50px 80px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.font-inter {
    font-family: 'Inter', sans-serif !important;
}

.mtbm-zigzag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px 80px;
    align-items: center;
}

.mtbm-text-body p,
.mtbm-text-body ul {
    font-family: 'Inter', sans-serif !important;
    color: #ffffff;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

.mtbm-text-body ul {
    padding-left: 25px;
}

.mtbm-text-body li {
    font-family: 'Inter', sans-serif !important;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 8px;
}

.mtbm-text-body p strong {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
}

.media-container {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    overflow: hidden;
}

.border-green-main {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.1);
}

.media-container video,
.media-container iframe,
model-viewer {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    outline: none;
    border: none;
}

.hero-shot model-viewer {
    height: 100%;
}

.btn-pdf-red {
    display: inline-block;
    padding: 15px 45px;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    min-width: 250px;
    background-color: #dc2626;
    border: 2px solid #dc2626;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
    transition: 0.3s;
}

.btn-pdf-red:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.6);
    transform: translateY(-3px);
}

.mtbm-button-row {
    grid-column: span 2;
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
}

.btn-glow-home-main {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid #00c853;
    color: #00c853;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.3);
}

.btn-glow-home-main:hover {
    background: rgba(0, 200, 83, 0.1);
    box-shadow: 0 0 25px #00c853;
}



/* =========================================
   14. MOBILE RESPONSIVE FIXES
   ========================================= */
@media screen and (max-width: 768px) {

    .live-projects-container {
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
    }

    .btn-live-projects {
        width: 80%;
        max-width: 280px;
    }

    section { padding: 80px 20px !important; }
    .mtbm-dark-container { padding: 80px 20px 40px !important; }
    .brand-title { font-size: 2.2rem; }
    #about h2, #divisions h2, #projects h2, .contact-heading { font-size: 2rem !important; }
    .mtbm-main-title { font-size: 1.8rem !important; margin-bottom: 60px; }

    .divisions-layout, .projects-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .project-card {
        width: 100% !important;
        min-height: 250px !important;
    }

    .proj-info-box {
        display: block !important;
        width: 100%;
        padding: 20px 0 !important;
    }

    .mtbm-zigzag-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    /* M-TBM mobile reordering */
    .mtbm-zigzag-grid > div:nth-child(1)  { order: 1; }
    .mtbm-zigzag-grid > div:nth-child(2)  { order: 2; }
    .mtbm-zigzag-grid > div:nth-child(4)  { order: 3; }
    .mtbm-zigzag-grid > div:nth-child(3)  { order: 4; }
    .mtbm-zigzag-grid > div:nth-child(5)  { order: 5; }
    .mtbm-zigzag-grid > div:nth-child(6)  { order: 6; }
    .mtbm-zigzag-grid > div:nth-child(8)  { order: 7; }
    .mtbm-zigzag-grid > div:nth-child(7)  { order: 8; }
    .mtbm-zigzag-grid > div:nth-child(9)  { order: 9; }
    .mtbm-zigzag-grid > div:nth-child(10) { order: 10; }
    .mtbm-zigzag-grid > div:nth-child(12) { order: 11; }
    .mtbm-zigzag-grid > div:nth-child(11) { order: 12; }

    .mtbm-button-row {
        order: 13;
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .btn-glow-home-main, .btn-pdf-red {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .footer-col.footer-contact .contact-details p {
        justify-content: center;
    }
}

/* =========================================
   15. M-TBM PROJECT PAGE SPECIFIC STYLES
   ========================================= */

/* 1. Page Background & Navbar */
body.project-page {
    background-color: #636363 !important;
}

body.project-page .video-background-fixed {
    display: none !important;
}

body.project-page .navbar {
    background: rgba(40, 40, 40, 0.75) !important; 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease;
}

/* 2. Title & Spacing */
.mtbm-mint-title {
    color: #00F5A0 !important;
    font-size: 2.8rem !important;
    text-align: left !important;
    letter-spacing: 2px;
    margin-top: 100px; 
    margin-bottom: 100px;
    text-transform: uppercase;
}

/* 3. Three Column Section Styling */
.mtbm-three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-left: 35%; /* Reduced margin since the image is smaller */
    margin-bottom: 40px;
}

.mtbm-three-cols p {
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    font-weight: 400;
}

/* 4. Curved Green Highlight Box */
.mtbm-highlight-banner {
    background-color: #00F5A0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 50px 60px 50px 40%; /* Adjusted padding for smaller image clearance */
    position: relative;
    overflow: visible; 
    border-radius: 30px; /* Added curved edges */
    min-height: 160px; 
}

.mtbm-highlight-text p {
    font-family: 'Inter', sans-serif;
    color: #000000 !important;
    font-weight: 400 !important;
    font-size: 1.15rem; 
    line-height: 1.5;
    max-width: 700px;
    text-align: left;
}

/* 5. Scaled-Down Centrally Aligned Image */
.mtbm-floating-image {
    position: absolute;
    top: 18.5%;
    transform: translateY(-50%);
    left: -70px;
    width: 60%;        /* increased from 50% */
    max-width: 650px;  /* increased from 500px */
    z-index: 10;
    pointer-events: none;
}

.mtbm-floating-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(15px 25px 40px rgba(0,0,0,0.4));
}

/* 6. Mobile Logic (Maintains curve and scale) */
@media (max-width: 1100px) {
    .mtbm-three-cols { margin-left: 0; }
    .mtbm-floating-image { 
        position: relative; 
        top: 0; 
        left: 0; 
        transform: none; 
        width: 100%; 
        margin: 0 auto -20px auto;
    }
    .mtbm-highlight-banner { 
        padding: 40px 30px; 
        min-height: auto;
        border-radius: 20px; /* Slightly smaller curve for mobile screens */
    }
    .mtbm-highlight-text p { font-size: 1.05rem; }
}

/* =========================================
   TECHNICAL EXPLANATION SECTION
   ========================================= */

.mtbm-tech-detail-section {
    margin-top: 150px;
    padding: 100px 50px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
}

.mtbm-tech-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 0;
}

/* Text Content Styling */
.mtbm-tech-text-left p {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: left !important;
}

.mtbm-tech-text-right {
    align-self: center;
    padding-top: 0;
    margin-top: 0;
}

.mtbm-objective-list {
    margin-top: 16px;
    margin-bottom: 16px;
}

.mtbm-objective-list p { 
    margin-bottom: 15px;
    text-align: left !important;
}

.mtbm-objective-list ul { 
    padding-left: 25px; /* Ensures bullets are visible while staying left-aligned */
    text-align: left !important;
}

.mtbm-objective-list li {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 12px;
    list-style-type: disc;
    text-align: left !important; /* Forces left alignment for the bullet points */
}

/* The Large Video Window */
.video-window-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #d1d1d1; /* Light grey base from your image */
    border-radius: 50px; /* Large curves as requested */
    overflow: hidden;
    border: 3px solid #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.video-window-frame iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Row & Button */
.mtbm-tech-footer-row {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    margin-top: 4px;   /* was 12px */
    width: 100%;
}

.youtube-btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-youtube-link {
    display: inline-block;
    background-color: #00F5A0;
    color: #000;
    padding: 14px 70px;   /* was 14px 40px — increase 70px to make wider */
    text-align: center;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-youtube-link:hover {
    padding-left: 70px;
    padding-right: 70px;
    box-shadow: 0 8px 24px rgba(0, 245, 160, 0.45);
    transform: translateY(-2px);
}

.deployable-fields-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 40px;
    padding-top: 0;
    border-top: none;
    gap: 80px;        /* controls equal space between all 3 — change this number */
    padding-right: 400px;  /* controls how far left they sit — change this number */
}

.deployable-fields-grid .field-item {
    flex: none;       /* stops stretching */
    background: none;
    border: none;
    padding: 0;
}

.deployable-fields-grid p {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.01em;
}

/* Mobile Resizing */
@media (max-width: 1000px) {
    .mtbm-tech-layout-grid, .mtbm-tech-footer-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .video-window-frame { border-radius: 30px; }
    .deployable-fields-grid { grid-template-columns: 1fr; }
}

/* =========================================
   M-TBM PAGE BEHAVIOR & SPACING UPDATES
   ========================================= */

/* Disable Scroll-Snap for project page only — NOT html globally */
body.project-page {
    scroll-snap-type: none !important;
    overflow-y: auto !important;
}

body.project-page section {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    min-height: auto !important; /* Allows sections to be as tall as their content */
    padding: 60px 50px !important;
}

/* Add space between the 3 text boxes and the green highlight box */
.mtbm-three-cols {
    margin-bottom: 80px !important; /* Increased gap as requested */
}

/* Update Technical Video to match "previous boxes" (media-container style) */
.video-window-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    border-radius: 12px; /* Matches your other media containers */
    overflow: hidden;
    /* Reusing your consistent green glow/border logic */
    border: 1px solid rgba(0, 200, 83, 0.2); 
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.1);
}

/* =========================================
   LAYERED VIDEO SECTION (Shorts Style)
   ========================================= */

.mtbm-layered-section {
    padding: 120px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.mtbm-layered-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 80px;
}

/* Video Stack Container */
.video-stack-container {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: flex-end; /* Keeps front video right-aligned initially */
    align-items: center;
}

.video-window-shorts {
    width: 320px; /* Shorts-style width */
    height: 560px; /* 9:16 ratio height */
    background: #d1d1d1;
    border-radius: 40px;
    border: 2px solid #000;
    overflow: hidden;
    position: absolute;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.1s linear; /* Smooth scroll reaction */
}

/* Back Video - Hidden behind front initially */
.video-back {
    z-index: 5;
    transform: translateX(-50px) scale(0.95); /* Tucked behind slightly */
}

/* Front Video */
.video-front {
    z-index: 10;
    position: relative; /* Acts as the anchor */
}

.video-window-shorts iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-label-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', sans-serif;
    color: #333;
    font-weight: bold;
    text-align: center;
    pointer-events: none; /* Allows clicks through to video */
}

/* Footer & Buttons */
.mtbm-layered-footer {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin-top: 50px;
}

.mint-wide {
    width: 40%;
    border-radius: 20px;
}

.btn-download-pdf {
    display: block;
    width: 40%;
    background-color: #d1d1d1;
    color: #000;
    padding: 22px 0;
    text-align: center;
    border-radius: 50px;
    border: 1px solid #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-download-pdf:hover {
    background-color: #ffffff;
    transform: translateY(-5px);
}

/* =========================================
   3RD SECTION — REDESIGNED SHORTS PLAYER
   ========================================= */

.mtbm-layered-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

/* Left column wrapper */
.shorts-redesigned-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Toggle Tabs */
.shorts-toggle-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    background: rgba(0,0,0,0.18);
    border-radius: 50px;
    padding: 5px;
    border: 1px solid rgba(0, 245, 160, 0.2);
}

.shorts-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: #aaa;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.08em;
}

.shorts-tab.active {
    background: #00F5A0;
    color: #000;
    box-shadow: 0 0 18px rgba(0, 245, 160, 0.5);
}

.shorts-tab:hover:not(.active) {
    color: #00F5A0;
}

.tab-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    flex-shrink: 0;
}

/* Single Video Window */
.shorts-single-window {
    position: relative;
    width: 290px;
    height: 480px;
    border-radius: 28px;
    overflow: hidden;
    background: #1a1a1a;
    border: none;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.6),
        0 25px 60px rgba(0,0,0,0.6),
        0 25px 60px rgba(0,0,0,0.6);
}

/* Video slides inside window */
.shorts-video-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.shorts-video-slide.active-slide {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.shorts-video-slide.slide-out {
    opacity: 0;
    transform: translateX(100%);
}

.shorts-video-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* YouTube + PDF buttons below window */
.shorts-yt-btn-row {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    width: 290px;
}

.btn-shorts-youtube {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 0;
    background: #00F5A0;
    color: #000;
    border-radius: 14px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-shorts-youtube:hover {
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 245, 160, 0.4);
    transform: translateY(-2px);
}

/* PDF button — matches uploaded reference image */
.btn-pdf-image-style {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 32px auto 0 auto;
    padding: 16px 0;
    background: #d4d4d4;
    color: #3a3a3a;
    text-align: center;
    border-radius: 50px;
    border: 2px solid #888;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 3px 8px rgba(0,0,0,0.35);
}

.btn-pdf-image-style:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 6px 16px rgba(0,0,0,0.4);
}

/* PDF Dropdown Menu */
.pdf-dropdown-wrapper {
    position: relative;
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 32px auto 0 auto;
}

.pdf-dropdown-wrapper .btn-pdf-image-style {
    width: 100%;
    margin: 0;
    cursor: pointer;
    border: none;
}

.pdf-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #2a2a2a;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    overflow: hidden;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.pdf-dropdown-menu.open {
    display: block;
}

.pdf-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s ease, color 0.2s ease;
}

.pdf-dropdown-item:last-child {
    border-bottom: none;
}

.pdf-dropdown-item:hover {
    background: rgba(0, 245, 160, 0.1);
    color: #00F5A0;
}

.pdf-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Inter font for 3rd section body text */
.mtbm-layered-section p,
.mtbm-layered-section ul,
.mtbm-layered-section li,
.text-block-aligned p,
.text-block-aligned ul,
.text-block-aligned li,
.obj-list li {
    font-family: 'Inter', sans-serif !important;
}

/* 2. Right Column Typography */
.text-block-aligned {
    text-align: left !important;
    margin-bottom: 50px;
}

.section-eyebrow {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #00F5A0;
    margin-bottom: 20px;
    opacity: 0.85;
}

.obj-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #00F5A0;
    margin-bottom: 8px;
    font-weight: 500;
}

.obj-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #fffdfd;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Legacy — keep for safety */
.btn-pdf-grey-aligned {
    background-color: #636363;
    color: #fff;
    width: 280px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.15);
    transition: background 0.3s ease;
}
.btn-pdf-grey-aligned:hover { background-color: #7a7a7a; }
/* =========================================
   4TH SECTION — FUTURE CAPABILITIES + MODEL
   ========================================= */

.mtbm-fourth-section {
    padding: 80px 50px 120px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.mtbm-fourth-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
}

/* LEFT TEXT COLUMN */
.fourth-text-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

.fourth-text-col p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 8px;
    text-align: left;
}

.fourth-list {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 16px;
    text-align: left;
}

.fourth-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 4px;
}

/* RETURN HOME button — matches blueprint: mint green, rounded pill */
.btn-fourth-home {
    display: inline-block;
    margin-top: 36px;
    padding: 16px 36px;
    background: #00F5A0;
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 245, 160, 0.35);
    align-self: center;
}

.btn-fourth-home:hover {
    background: #fff;
    box-shadow: 0 6px 28px rgba(0, 245, 160, 0.5);
    transform: translateY(-2px);
}

/* RIGHT MODEL COLUMN */
.fourth-model-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.fourth-model-window {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #a0a0a0;
    border-radius: 28px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.fourth-model-window model-viewer {
    width: 100%;
    height: 100%;
    background: #a0a0a0;
}

@media (max-width: 900px) {
    .mtbm-fourth-grid {
        grid-template-columns: 1fr;
    }
    .fourth-model-window {
        aspect-ratio: 1 / 1;
    }
    .btn-fourth-home {
        align-self: center;
    }
}

/* =========================================
   MAIN PAGE — FLOATING SECTION BACKGROUND
   ========================================= */

.section-float-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #3d3d3d !important;
    z-index: 0 !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.section-float-bg.visible {
    opacity: 1 !important;
}

#about,
#divisions,
#projects {
    background: transparent;
    margin: 0;
    max-width: none;
    padding: 0;
}

.section-grey-box {
    background: rgba(61, 61, 61, 0.85);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 60px 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.industrial-app-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
    width: 100%;
}

.industrial-app-cols {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

.industrial-app-list {
    list-style: disc;
    padding-left: 20px;
    flex: 1;
    min-width: 260px;
}

.industrial-app-list li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.5;
    text-align: left;
    white-space: nowrap;
    word-break: normal;
}

/* =========================================
   PROJECT TIMELINE — CONSOLIDATED FIX
   ========================================= */

.proj-timeline-wrapper {
    width: 100%;
    padding: 0;
    overflow: visible;
}

.proj-timeline-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #00F5A0; /* This is your mint green */
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ptl-row {
    margin-bottom: 0;
    overflow: visible; 
}

.ptl-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

/* Horizontal line truncation */
.ptl-cols::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 7px;                /* Centers on start dot */
    right: calc(25% - 7px);   /* Truncates at center of 4th dot */
    height: 2px;
    background: #00F5A0;
    z-index: 0;
}

/* Row 2 specific horizontal span (Point 8 to Point 5) */
.ptl-row:nth-of-type(2) .ptl-cols::before {
    left: 7px;
    right: 7px; 
}

.ptl-col {
    display: flex;
    flex-direction: column;
    padding-right: 12px;
    position: relative; /* Required for vertical line anchoring */
}

.ptl-top {
    height: 16px;
    margin-bottom: 8px;
    position: relative;
    z-index: 5;
}

.ptl-dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    background: #00F5A0;
    border-radius: 3px;
    position: relative;
    z-index: 10;
}

/* Vertical Connection: Point 4 to Point 5 (Right Side) */
.ptl-row:nth-of-type(1) .ptl-col-last::after {
    content: '';
    position: absolute;
    top: 7px;                 /* Center of Point 4 dot */
    left: 6px;                 /* Horizontal centering */
    width: 2px;
    height: calc(100% + 24px); /* Extends through the row and snake gap */
    background: #00F5A0;
    z-index: 1;
}

/* Vertical Connection: Point 8 to Point 9 (Left Side) */
.ptl-row:nth-of-type(2) .ptl-col:first-child::after {
    content: '';
    position: absolute;
    top: 7px;                 /* Center of Point 8 dot */
    left: 6px;                 /* Horizontal centering */
    width: 2px;
    height: calc(100% + 24px); /* Extends through the row and snake gap */
    background: #00F5A0;
    z-index: 1;
}



/* this is vertical line for point 8 - 9 */
.ptl-row:nth-of-type(3) .ptl-col:first-child::after {
    content: '';
    position: absolute;
    top: 7px;                 /* Center of Point 8 dot */
    left: 6px;                /* Horizontal centering */
    width: 2px;
    height: calc(100% + 24px); /* Extends through the row and snake gap */
    background: #00F5A0;
    z-index: 1;
}

/* Text alignment and indentation */
.ptl-date, 
.ptl-date strong {
    font-family: 'Inter', sans-serif !important;
}

.ptl-date {
    font-size: 0.72rem;
    color: #cccccc;
    margin-bottom: 5px;
    line-height: 1.3;
    text-align: left;
    padding-left: 16px;
}

.ptl-date strong {
    color: #ffffff;
    font-weight: 700;
}

.ptl-col ul {
    padding-left: 30px !important; /* Relative indent to shifted date */
    margin: 0;
    list-style-type: disc;
    text-align: left;
}

.ptl-col ul li {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    color: #cccccc;
    line-height: 1.4;
    margin-bottom: 2px;
}

/* Gap management between rows */
.ptl-snake-right, .ptl-snake-left {
    height: 16px;
    width: 100%;
}

/* Hover state for specific timeline points */
.ptl-col:hover .ptl-date,
.ptl-col:hover .ptl-date strong,
.ptl-col:hover ul li {
    color: #000000 !important;
}

/* Smooth color transition */
.ptl-date, 
.ptl-date strong, 
.ptl-col ul li {
    transition: color 0.25s ease;
}

/* =========================================
   16. CERTIFICATIONS SECTION
   ========================================= */
.certifications-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto 40px auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 60px;
    z-index: 1;
}

.cert-heading {
    font-family: 'Orbitron', sans-serif;
    color: #e0e0e0;
    font-size: 1.8rem;
    letter-spacing: 6px;
    margin-bottom: 60px;
}

.cert-logos-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 40px;
}

.cert-logo {
    height: 120px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    opacity: 0.85;
    filter: grayscale(30%) brightness(1.1);
    transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

/* Specific styling for the tiger logo */

.tiger-logo {
    height: 180px !important; /* Adjust as needed (size increase */
    max-width: 300px !important;
}

.cert-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1.2);
    transform: scale(1.06);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cert-logos-container {
        gap: 40px;
        padding: 0 20px;
    }
    .cert-logo {
        height: 80px;
        max-width: 150px;
    }
    .cert-heading {
        font-size: 1.3rem;
        letter-spacing: 4px;
    }
}