:root {
    --primary: #00466d;
    --dark-primary: #1a2a3a;
    --secondary: #71809d;
    --accent: #2596be;
    --concrete: #e0e0e0;
    --dark: #111111;
    --light: #f4f7f6;
    --white: #ffffff;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.technical-grid {
    background-image: radial-gradient(circle, #e2e2e2 1px, transparent 1px);
    background-size: 32px 32px;
}

.glass-card {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Page Components & Sections */
section {
    padding: 8rem 0;
}

.bg-light {
    background-color: var(--light);
    color: var(--dark);
}

.bg-dark {
    background-color: var(--dark);
    color: var(--white);
}

.bg-primary {
    background-color: var(--dark-primary);
    color: var(--white);
}

.bg-white {
    background-color: var(--white);
    color: var(--dark);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title-alt {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.section-title-alt h2 {
    font-size: 3rem;
    margin-bottom: 0;
    white-space: nowrap;
}

.title-line {
    height: 2px;
    flex-grow: 1;
    background: var(--concrete);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bento-col-2 {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-col-2 {
        grid-column: span 1;
    }
}

/* Masterpiece Grid */
.masterpiece-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 450px;
    gap: 1.5rem;
}

.span-2-2 {
    grid-column: span 2;
    grid-row: span 2;
    height: 100% !important;
}

.span-2 {
    grid-column: span 2;
}

@media (max-width: 992px) {
    .masterpiece-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .masterpiece-grid {
        grid-template-columns: 1fr;
    }

    .span-2-2,
    .span-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Progress Section */
.progress-card {
    position: relative;
    overflow: hidden;
    height: 500px;
}

.progress-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
}

/* Showcase Section */
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.showcase-subtitle {
    color: var(--secondary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    margin-left: 0.2rem;
    display: block;
}

.showcase-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.showcase-desc {
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 2.5rem;
}

/* Whisper Animation Styles */
.whisper-word {
    display: inline-block;
    white-space: nowrap;
}

.whisper-char {
    display: inline-block;
    opacity: 0;
    filter: blur(12px);
    transform: translateY(10px) scale(0.9);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1.5s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, filter, transform;
}

.whisper-char.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .whisper-char {
        transition: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
}



.showcase-stats {
    display: flex;
    justify-content: center;
    gap: 8rem;
    margin-bottom: 3rem;
}

.showcase-stat-item {
    width: fit-content;
}

.showcase-stat-value {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.showcase-stat-label {
    font-size: 1rem;
    letter-spacing: 0.05rem;
    font-weight: 600;
}

.parallax-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
}

@media (max-width: 768px) {
    .parallax-container {
        height: 300px;
    }
}

.parallax-img {
    width: 100%;
    height: 140% !important;
    /* Increased height for better parallax range */
    object-fit: cover;
    position: absolute;
    top: -20%;
    /* Centered start */
    left: 0;
    will-change: transform;
}

.glass-quote-card {
    position: absolute;
    bottom: -4rem;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 300px;
    color: var(--dark);
}

.quote-text {
    font-style: italic;
    font-size: 0.9rem;
}

.quote-attribution {
    margin-top: 1rem;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.hidden-honeypot {
    display: none;
}

.infrastructure-tag {
    background: var(--light);
    padding: 0.3rem 0.8rem;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    height: fit-content;
}

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Fleet Full Width Section */
.fleet-section {
    padding-bottom: 0;
}

.fleet-banner {
    position: relative;
    width: 100%;
}

.fleet-banner-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.fleet-quote-wrapper {
    position: relative;
    height: 0;
    /* Allows card to be positioned relative to this point */
}

.fleet-banner .glass-quote-card {
    position: absolute;
    bottom: 1rem;
    left: 0;
    z-index: 10;
    max-width: 350px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.fleet-desc-area {
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .fleet-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fleet-banner-img {
        height: 350px;
    }

    .fleet-banner .glass-quote-card {
        bottom: 2rem;
        left: 0;
        max-width: 90%;
        padding: 1.5rem;
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    line-height: 1.1;
}

p {
    letter-spacing: 0.005em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

@media (max-width: 1024px) {

    .container,
    .hero-content {
        padding: 0 1rem;
    }
}

/* Navigation */
site-navbar {
    display: contents;
}

nav {
    position: sticky;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
}



.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: filter 0.5s ease, height 0.3s ease;
}

nav.scrolled {
    padding: 0.7rem 2rem;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

nav.scrolled .nav-logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--light);
    min-width: 220px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.dropdown-content a {
    color: var(--dark) !important;
    padding: 0.8rem 1.5rem !important;
    display: block !important;
    font-size: 0.8rem !important;
    text-align: left;
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background: var(--concrete);
    color: var(--primary) !important;
}

.dropbtn i {
    font-size: 0.7rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn i {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-content {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border-top: none;
        margin-top: 0;
        min-width: 100%;
    }

    .dropdown-content a {
        color: var(--white) !important;
        text-align: center;
        padding: 1rem !important;
    }

    .dropdown .dropbtn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem !important;
    }

    .dropdown .dropbtn i {
        transform: rotate(180deg);
    }

    .about-icon {
        display: none;
    }
}

.mobile-toggle {
    display: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
    transition: color 0.3s ease;
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--dark-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links a {
        color: var(--white) !important;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle {
        display: block;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.png') no-repeat center center/cover;
    filter: brightness(0.4);
    z-index: 1;
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(50px);
    text-transform: uppercase;
    animation: fadeInUp 1s 0.5s forwards;
}

.hero-title span {
    color: var(--secondary);
    display: block;
    font-size: 2rem;
    letter-spacing: 5px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--concrete);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.8s forwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: var(--light);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s 1.1s forwards;
}

.btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-full {
    width: 100%;
    border: none;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about {
    padding-bottom: 0;
    position: relative;
    background: var(--light);
    color: var(--dark);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 5px;
    background: var(--primary);
}

.about-text .section-desc {
    margin: 1rem 0;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--dark);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stats h4 {
    font-size: 2.5rem;
    color: var(--dark-primary);
    margin-bottom: 0.5rem;
}

.below-stats {
    flex-direction: column;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 3rem;
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-systems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    padding: 10px;
}

@media (max-width: 1024px) {
    .about-systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .system-card:nth-child(2n) {
        border-right: none;
    }

    .system-card:nth-child(1),
    .system-card:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 600px) {
    .about-systems-grid {
        grid-template-columns: 1fr;
    }

    .system-card {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .system-card:last-child {
        border-bottom: none;
    }
}

.system-card {
    background: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: default;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.system-card:last-child {
    border-right: none;
}

.system-card::after,
.system-card::before {
    display: none;
}

.system-card-inner {
    background: transparent;
    padding: 4rem 2rem;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.system-icon {
    width: 100px;
    height: 100px;
    background: #e5edff;
    color: var(--primary);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.system-card p {
    font-size: 0.9rem;
    color: var(--dark-primary);
    margin-bottom: 0;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 1px;
    font-weight: 800;
}

/* ISO Standards Row */
.iso-standards-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 4rem;
    padding-top: 3rem;
    position: relative;
    z-index: 2;
}

.iso-standards-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.iso-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0.4;
    transition: none;
}

@media (max-width: 768px) {
    .iso-standards-row {
        gap: 3rem 2rem;
        padding-top: 2.5rem;
    }

    .iso-standards-row::before {
        width: 60%;
    }
}

@media (max-width: 600px) {
    .iso-standards-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
}

/* Vision & Mission Split */
.split-section {
    display: flex;
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 0;
}

.split-panel-stack {
    flex: 5;
    display: flex;
    flex-direction: column;
}

.split-panel p {
    font-size: 1.1rem;
}

.split-panel {
    flex: 1;
    min-width: 350px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.vision {
    background: var(--light);
    color: var(--dark);
    flex: 1;
}

.mission {
    background: var(--light);
    color: var(--dark);
    flex: 1;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.why-us-panel {
    flex: 4;
    background: var(--light);
    color: var(--dark);
}

.why-us-panel::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.why-us-list-minimal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.why-us-item-minimal {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #444;
}

.why-us-item-minimal i {
    color: var(--primary);
    font-size: 1.2rem;
}

.split-panel-text-container {
    width: 100%;
    height: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.split-panel-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.split-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0;
}

.split-title {
    font-size: 2.2rem;
    margin-bottom: 0;
}

.why-us-panel h3::after {
    content: '';
    display: block;
    position: relative;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 5px;
    background: var(--primary);
}

.why-us-panel .section-desc {
    margin-top: 1.5rem;
}

/* Services Section v2 */
.services-v2 {
    padding: 0;
    padding-top: 8rem;
    background: var(--light);
    color: var(--dark);
}

.services-v2 .container {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    gap: 7rem;
}

.services-v2 .services-desc {
    max-width: 100%;
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin: 1.4rem auto 0;
}

.services-v2 .section-header {
    margin-bottom: 0;
}

.service-v2-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.service-v2-item.reverse {
    direction: rtl;
}

.service-v2-item.reverse>* {
    direction: ltr;
    /* Reset direction for content inside rtl container */
}

.service-v2-img {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.service-v2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s ease;
}

.service-v2-item:hover .service-v2-img img {
    transform: scale(1.05);
}

.service-v2-content h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
}

.service-v2-content h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--primary);
}

.service-v2-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.subservices-list {
    list-style: none;
    display: grid;
    grid-template-columns: max-content max-content;
    column-gap: 2rem;
    row-gap: 1.5rem;
}

.subservices-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--dark-primary);
    font-weight: 600;
    white-space: nowrap;
}

.subservices-list li i {
    color: var(--primary);
    width: 24px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .subservices-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .subservices-list li {
        align-items: flex-start;
        white-space: normal;
    }

    .subservices-list li i {
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    .subservices-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .service-v2-item {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-v2-item.reverse {
        direction: ltr;
    }
}


/* Projects Section */
.projects {
    padding-bottom: 0;
    background: var(--light);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.projects .section-header {
    margin-bottom: 0;
}

.section-header h2 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

#projects .section-header h2,
#projects .section-header p {
    color: var(--dark);
}

#completed .section-header p {
    color: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 2rem 0;
    overflow-x: hidden;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    aspect-ratio: 16 / 9;
    height: auto;
    background-color: var(--light);
    opacity: 0;
    transform: translateY(20px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img {
    transform: scale(1.04);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: var(--white);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-tag,
.project-overlay p {
    font-size: 0.8rem;
    opacity: 0;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay h3 {
    margin-bottom: 1rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-tag {
    opacity: 1;
    max-height: 50px;
    margin-bottom: 0.75rem;
}

.project-card:hover p {
    opacity: 1;
    max-height: 100px;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.project-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    gap: 0.5rem;
}

.project-card:hover .project-btn {
    background: var(--dark-primary);
}

.project-tag {
    width: fit-content;
    background: var(--primary);
    color: var(--light);
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 1rem;
    font-size: 1.2rem;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    padding: 0.5rem;
}

.lightbox-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: var(--primary);
    color: var(--dark);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Why Choose Us Section */
/* Obsolote why-us styles removed */

/* Careers Section */
.careers {
    padding: 8rem 0;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.careers h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.careers-email {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.careers-email:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 8rem 0 4rem;
    background: var(--dark-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent, black);
    -webkit-mask-image: linear-gradient(to right, transparent, black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    margin: 2rem 0rem;
}

.contact-label {
    display: flex;
    flex-direction: column;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.contact-value,
#phone-value1,
#phone-value2,
#email-value {
    /* font-size: 1.2rem; */
    font-family: 'Manrope', sans-serif;
    color: var(--white);
    text-decoration: none;
}

.contact-linkedin-wrapper {
    margin-top: 0.8rem;
}

.contact-linkedin {
    color: var(--accent);
    font-size: 1.8rem;
    line-height: 1;
    display: inline-block;
    transition: var(--transition);
}

.contact-linkedin:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    background: rgba(26, 42, 58, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(26, 42, 58, 0.8);
}

/* File Upload Styling */
.file-upload-wrapper {
    margin-bottom: 1.5rem;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.file-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.file-label input {
    display: none;
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary);
    font-style: italic;
}

#immersec-logo {
    height: 22px;
    margin-left: 0.1rem;
    vertical-align: middle;
    display: inline-block;
}

footer {
    background: var(--dark);
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Toast */
#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--primary);
    color: var(--dark);
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 2000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-top: 3rem;
    }

    .contact-bg-img {
        width: 100%;
        opacity: 0.1;
    }

    .about-systems-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 2rem;
        width: 45px;
        height: 45px;
        padding: 0.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-text h2 {
        font-size: 2.5rem;
    }

    .split-section {
        flex-direction: column;
    }

    .split-panel {
        padding: 4rem 2rem;
        min-width: unset;
    }

    .why-us-panel::after {
        right: 10%;
        top: auto;
        bottom: 0;
        height: 1px;
        width: 80%;
    }

    .mission::before {
        left: 10%;
        width: 80%;
    }

    .project-card {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .why-us-content {
        padding-left: 2rem;
    }

    .why-us-item::before {
        left: -2.65rem;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .about-systems-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .showcase-desc,
    .showcase-stats {
        padding: 0 2rem;
    }

    .showcase-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 1024px) {

    .showcase-desc,
    .showcase-stats {
        padding: 0 1rem;
    }
}

/* Logo Showcase Section */
.logo-showcase {
    overflow: hidden;
    background: transparent;
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    /* Progressive blur effect on both sides using mask-image */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
    display: flex;
    width: calc(250px * 32);
    animation: scroll-logos 40s linear infinite;
    align-items: center;
}

.logo-slide {
    width: 250px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    flex-shrink: 0;
}

.logo-slide img {
    max-width: 180px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.5;
    transition: all 0.5s ease;
}

.logo-slide.active img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 16));
    }
}

@media (max-width: 768px) {
    .logo-showcase {
        padding: 3rem 0;
    }

    .logo-track {
        width: calc(180px * 32);
    }

    .logo-slide {
        width: 180px;
        height: 80px;
        padding: 0 25px;
    }

    .logo-slide img {
        max-width: 130px;
        max-height: 45px;
    }

    @keyframes scroll-logos {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-180px * 16));
        }
    }
}