﻿/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2196F3;
    --dark-blue: #0D47A1;
    --ocean-blue: #00BCD4;
    --navy-dark: #2B3990;
    --text-light: #ffffff;
    --text-gray: #6b6b6b;
    --bg-dark: #0a0a0a;
    --header-bg: #e8e8e8;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== HEADER ==================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #d3d3d3;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 10;
}

    .logo img {
        height: 45px;
        width: auto;
        transition: transform 0.3s ease;
    }

    .logo:hover img {
        transform: scale(1.05);
    }

/* ==================== NAVIGATION ==================== */
.main-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--navy-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    font-family: 'Michroma', sans-serif;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--navy-dark);
        transition: width 0.3s ease;
    }

    .nav-link:hover {
        color: var(--navy-dark);
        transform: scale(1.05);
    }

        .nav-link:hover::after {
            width: 100%;
        }

/* ==================== MOBILE MENU ==================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

    .mobile-menu-toggle span {
        width: 28px;
        height: 2px;
        background: var(--navy-dark);
        transition: all 0.3s ease;
    }

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height));
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.65) 0%, rgba(0, 188, 212, 0.45) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px;
    max-width: 1000px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(56px, 9vw, 120px);
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 12px;
    color: var(--text-light);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    line-height: 1.1;
}

    .hero-title .highlight {
        background: linear-gradient(135deg, #ffffff 0%, #00BCD4 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        display: block;
        margin-top: 10px;
    }

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn {
    padding: 18px 45px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: #67BBC6;
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.4);
}

    .btn-primary:hover {
        background: #14A8BB;
        transform: translateY(-3px);
        box-shadow: 0 6px 30px rgba(0, 188, 212, 0.6);
    }

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

    .btn-secondary:hover {
        background: var(--text-light);
        color: var(--navy-dark);
        transform: translateY(-3px);
    }

/* ==================== SECTIONS ==================== */
.content-section {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #00BCD4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== MARITIME DEFENCE PAGE ==================== */
.maritime-defence-page {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

.defence-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #0D47A1 0%, #00BCD4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(0,188,212,0.2) 0%, transparent 50%);
}

.hero-content-defence {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(36px, 6vw, 64px);
    color: white;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(255,255,255,0.9);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.content-wrapper {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Blocks */
.intro-block {
    margin-bottom: 80px;
}

.intro-text {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 80px;
}

.content-block-with-image {
    margin-bottom: 80px;
}

    .content-block-with-image .row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }


.block-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #00BCD4, #2196F3);
}

.block-title {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    color: white;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.block-text {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

/* Services Section */
.service-category {
    font-size: 18px;
    color: #00BCD4;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.services-content {
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    padding: 10px 0;
}

.service-icon {
    color: #00BCD4;
    font-size: 12px;
}

.software-note {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    margin-top: 20px;
}

.float-image-right {
    float: right;
    max-width: 420px;
    width: 40%;
    margin: 0 0 24px 40px;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .float-image-right {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 24px 0;
    }
}

.text-muted {
    color: rgb(100 112 124 / 75%) !important;
}

.float-image-left {
    float: left;
    max-width: 420px;
    width: 40%;
    margin: 0 0 24px 40px;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .float-image-left {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 24px 0;
    }
}

/* Focus Areas */
.focus-areas {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.focus-item {
    padding: 25px;
    background: rgba(255,255,255,0.03);
    border-left: 3px solid #00BCD4;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

    .focus-item:hover {
        background: rgba(255,255,255,0.05);
        transform: translateX(5px);
    }

.focus-title {
    font-size: 18px;
    color: #00BCD4;
    margin-bottom: 10px;
    font-weight: 600;
}

.focus-description {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0;
}

/* Images */
.image-container {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.defence-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.image-container:hover .defence-image {
    transform: scale(1.05);
}

/* Call to Action */
.cta-block {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(13,71,161,0.2) 0%, rgba(0,188,212,0.2) 100%);
    border-radius: 16px;
    margin-top: 60px;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    color: white;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
}

.btn-cta {
    padding: 18px 50px;
    font-size: 14px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== HOME PAGE ==================== */
.home-welcome-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    padding: 100px 0;
}

.welcome-title {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    color: white;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.what-we-do-section {
    margin-top: 100px;
    margin-bottom: 100px;
}

.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.home-service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    text-align: center;
}

    .home-service-card:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 188, 212, 0.2);
        border-color: rgba(0, 188, 212, 0.3);
    }

.service-card-icon {
    font-size: 64px;
    margin-bottom: 25px;
    opacity: 0.8;
}

.service-card-title {
    font-family: 'Michroma', sans-serif;
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.service-card-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.why-nav-section {
    margin-bottom: 80px;
}

.highlight-text {
    font-size: 19px;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
}

.home-cta-section {
    margin-top: 60px;
}

.cta-buttons-home {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

/* Home Page Responsive */
@media (max-width: 1024px) {
    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .home-welcome-section {
        padding: 60px 0;
    }

    .what-we-do-section {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .home-service-card {
        padding: 30px 25px;
    }

    .service-card-icon {
        font-size: 48px;
    }

    .cta-buttons-home {
        flex-direction: column;
    }

        .cta-buttons-home .btn {
            width: 100%;
        }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .main-nav {
        gap: 25px;
    }

    .nav-link {
        font-size: 12px;
    }

    .hero-section {
        max-height: 600px;
    }

    .defence-hero {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(232, 232, 232, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: left 0.3s ease;
    }

        .main-nav.active {
            left: 0;
        }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-link {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .hero-section {
        max-height: 500px;
    }

    .hero-title {
        letter-spacing: 6px;
    }

    /* Maritime Defence Page Responsive */
    .defence-hero {
        height: 300px;
    }

    .content-wrapper {
        padding: 50px 0;
    }

    .content-block-with-image {
        margin-bottom: 60px;
    }

    .image-container {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-block {
        padding: 50px 20px;
    }

    .block-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-line {
        width: 40px;
    }
}

/* ==================== SERVICES PAGE ==================== */
.services-page {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

.services-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #2B3990 0%, #67BBC6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-content-services {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Services Showcase */
.services-showcase {
    margin-top: 60px;
}

.service-card {
    margin-bottom: 60px;
    position: relative;
}

    .service-card::before {
        content: '';
        position: absolute;
        left: -50px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 60%;
        background: linear-gradient(180deg, #00BCD4, #2196F3);
        opacity: 0;
        transition: opacity 0.6s ease;
    }

    .service-card.visible::before {
        opacity: 1;
    }

.service-content {
    padding: 20px 0;
}

.service-number {
    font-family: 'Michroma', sans-serif;
    font-size: 72px;
    color: rgba(0, 188, 212, 0.15);
    font-weight: bold;
    line-height: 1;
    margin-bottom: -20px;
}

.service-title {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    color: white;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.service-description {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .service-features li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 15px;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.75);
        transition: all 0.3s ease;
    }

        .service-features li::before {
            content: '▸';
            position: absolute;
            left: 0;
            color: #00BCD4;
            font-size: 20px;
        }

        .service-features li:hover {
            color: rgba(255, 255, 255, 0.95);
            transform: translateX(5px);
        }

.service-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
}

.service-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.service-image-container:hover .service-image {
    transform: scale(1.08) rotate(1deg);
}

/* Services CTA */
.services-cta {
    margin-top: 100px;
    margin-bottom: 80px;
}

.cta-inner {
    text-align: center;
    padding: 100px 60px;
    background: linear-gradient(135deg, rgba(43, 57, 144, 0.3) 0%, rgba(103, 187, 198, 0.2) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

    .cta-inner::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
        animation: pulse 8s ease-in-out infinite;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.cta-inner > * {
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Page Responsive */
@media (max-width: 768px) {
    .services-hero {
        height: 300px;
    }

    .service-card {
        margin-bottom: 80px;
    }

        .service-card::before {
            display: none;
        }

    .service-number {
        font-size: 48px;
    }

    .service-image-container {
        margin-bottom: 30px;
    }

    .cta-inner {
        padding: 60px 30px;
    }

    .cta-buttons {
        flex-direction: column;
    }

        .cta-buttons .btn {
            width: 100%;
        }
}

/* ==================== APPLICATIONS PAGE ==================== */
.applications-page {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

.applications-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #14A8BB 0%, #2B3990 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-content-applications {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Applications Grid */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin: 80px 0;
}

.app-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .app-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #00BCD4, #2196F3);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .app-card:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 188, 212, 0.2);
        border-color: rgba(0, 188, 212, 0.3);
    }

        .app-card:hover::before {
            transform: scaleX(1);
        }

.app-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(33, 150, 243, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.app-card:hover .app-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.3), rgba(33, 150, 243, 0.3));
}

.app-icon {
    font-size: 36px;
    filter: grayscale(0.3);
}

.app-title {
    font-family: 'Michroma', sans-serif;
    font-size: 20px;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.app-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Featured Projects */
.featured-projects {
    margin: 100px 0 80px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.section-title-alt {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    color: white;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    height: 500px;
}

.project-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

/*.project-card:hover .project-image {
    transform: scale(1.1);
}*/

/*.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 1px;
}*/

/* Applications CTA */
.applications-cta {
    margin-top: 100px;
    margin-bottom: 80px;
}

/* Applications Page Responsive */
@media (max-width: 1024px) {
    .applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .applications-hero {
        height: 300px;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 50px 0;
    }

    .app-card {
        padding: 30px 25px;
    }

    .featured-projects {
        margin: 60px 0 50px;
    }

    .project-card {
        height: 250px;
        margin-bottom: 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==================== REFERENCES PAGE ==================== */
.references-page {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

.references-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #2B3990 0%, #14A8BB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-content-references {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Portfolio Sections */
.portfolio-section {
    margin: 100px 0;
}

.section-title-portfolio {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(24px, 4vw, 36px);
    color: white;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Portfolio Grids */
.portfolio-grid-ctv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

/* Portfolio Cards */
.portfolio-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .portfolio-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0, 188, 212, 0.3);
        border-color: rgba(0, 188, 212, 0.5);
    }

.portfolio-large-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.portfolio-large-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}


.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/*.portfolio-card:hover .portfolio-image {
    transform: scale(1.15);
}*/

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    /*transition: opacity 0.4s ease;*/
}



.overlay-content {
    width: 100%;
}

.portfolio-title {
    font-family: 'Michroma', sans-serif;
    font-size: 22px;
    color: white;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.portfolio-category {
    color: #00BCD4;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

    .portfolio-specs span {
        color: rgba(255, 255, 255, 0.8);
        font-size: 13px;
    }

.portfolio-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    margin-top: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .portfolio-link:hover {
        color: #00BCD4;
        transform: translateX(5px);
    }

.portfolio-info {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

    .portfolio-info h4 {
        color: white;
        font-size: 18px;
        margin: 0;
        font-weight: 600;
    }

.portfolio-badge {
    background: linear-gradient(135deg, #00BCD4, #2196F3);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.lng-badge {
    background: linear-gradient(135deg, #67BBC6, #14A8BB);
}

.eco-badge {
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
}

/* Statistics Section */
.stats-section {
    margin: 120px 0;
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border-top: 2px solid rgba(0, 188, 212, 0.3);
    border-bottom: 2px solid rgba(0, 188, 212, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-family: 'Michroma', sans-serif;
    font-size: clamp(42px, 6vw, 64px);
    color: #00BCD4;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* References CTA */
.references-cta {
    margin: 100px 0 80px;
}

/* ==================== PARTNERS PAGE (LARGE VERSION) ==================== */
.partners-page {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

.partners-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #67BBC6 0%, #2B3990 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-content-partners {
    position: relative;
    z-index: 2;
    text-align: center;
}

.container-large {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Large Partner Logos */
.partner-logo-large {
    background: white;
    padding: 20px 20px;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

    .partner-logo-large:hover {
        transform: translateY(-5px);
    }

.logo-large {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.partner-logos-dual-large {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.logo-large-dual {
    height: 70px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    background: white;
    padding: 25px 35px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

    .logo-large-dual:hover {
        transform: translateY(-5px);
    }

.partner-company-name-large {
    font-family: 'Michroma', sans-serif;
    font-size: 32px;
    color: #00BCD4;
    margin-bottom: 30px;
    letter-spacing: 3px;
    font-weight: 600;
}

.partner-description-large {
    font-size: 19px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.partner-visual-large {
    background: rgba(0, 188, 212, 0.1);
    border: 3px solid rgba(0, 188, 212, 0.3);
    border-radius: 24px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .partner-visual-large::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, transparent 70%);
        animation: pulse 8s ease-in-out infinite;
    }

    .partner-visual-large.electric {
        background: rgba(255, 215, 0, 0.1);
        border-color: rgba(255, 215, 0, 0.3);
    }

    .partner-visual-large.water {
        background: rgba(33, 150, 243, 0.1);
        border-color: rgba(33, 150, 243, 0.3);
    }

    .partner-visual-large.scrubber {
        background: rgba(76, 175, 80, 0.1);
        border-color: rgba(76, 175, 80, 0.3);
    }

    .partner-visual-large:hover {
        background: rgba(0, 188, 212, 0.15);
        border-color: rgba(0, 188, 212, 0.5);
        transform: scale(1.02);
    }

.visual-icon-large {
    font-size: 180px;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

.partner-image-large {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    height: 450px;
}

.partner-feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.partner-image-large:hover .partner-feature-image {
    transform: scale(1.1);
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.partner-tag {
    background: rgba(0, 188, 212, 0.2);
    color: #00BCD4;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 188, 212, 0.4);
    transition: all 0.3s ease;
}

    .partner-tag:hover {
        background: rgba(0, 188, 212, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
    }

/* Partners Page Responsive */
@media (max-width: 768px) {
    .container-large {
        padding: 0 20px;
    }

    .partner-section-large {
        margin-bottom: 80px;
        padding: 30px 0;
    }

    .partner-visual-large {
        height: 300px;
        margin-bottom: 40px;
    }

    .visual-icon-large {
        font-size: 120px;
    }

    .logo-large {
        max-width: 280px;
        height: 60px;
    }

    .logo-large-dual {
        max-width: 180px;
        height: 55px;
        padding: 20px 25px;
    }

    .partner-company-name-large {
        font-size: 24px;
    }

    .partner-description-large {
        font-size: 17px;
    }

    .partner-image-large {
        height: 300px;
        margin-bottom: 40px;
    }
}

/* References Page Responsive */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .references-hero {
        height: 300px;
    }

    .portfolio-section {
        margin: 60px 0;
    }

    .portfolio-grid-ctv,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-image-wrapper {
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 14px;
    }

    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 60%);
    }

    .overlay-content {
        padding-bottom: 10px;
    }

    .portfolio-title {
        font-size: 18px;
    }



}

/* Partners Page Responsive */
@media (max-width: 768px) {
    .container-large {
        padding: 0 20px;
    }

    .partner-section-large {
        margin-bottom: 80px;
        padding: 30px 0;
    }

    .partner-visual-large {
        height: 300px;
        margin-bottom: 40px;
    }

    .visual-icon-large {
        font-size: 120px;
    }

    .logo-large {
        max-width: 280px;
        height: 60px;
    }

    .logo-large-dual {
        max-width: 180px;
        height: 55px;
        padding: 20px 25px;
    }

    .partner-company-name-large {
        font-size: 24px;
    }

    .partner-description-large {
        font-size: 17px;
    }

    .partner-image-large {
        height: 300px;
        margin-bottom: 40px;
    }
}

/* ==================== CONTACT PAGE ==================== */
.contact-page {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    min-height: 100vh;
}

.contact-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #2B3990 0%, #67BBC6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero-content-contact {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-content-section {
    margin: 80px 0;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.contact-details {
    flex-grow: 1;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(33, 150, 243, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #00BCD4;
}

.contact-item-content {
    flex-grow: 1;
}

.contact-label {
    font-family: 'Michroma', sans-serif;
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-link {
    font-size: 18px;
    color: #00BCD4;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .contact-link:hover {
        color: #67BBC6;
        transform: translateX(5px);
        display: inline-block;
    }

.contact-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin: 0;
}

.contact-cta-box {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(43, 57, 144, 0.1));
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-top: auto;
}

.cta-box-title {
    font-family: 'Michroma', sans-serif;
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.cta-box-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

.map-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-header {
    padding: 40px 40px 30px;
    background: rgba(0, 188, 212, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-title {
    font-family: 'Michroma', sans-serif;
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.map-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.map-wrapper {
    flex-grow: 1;
    min-height: 450px;
    position: relative;
}

.google-map {
    width: 100%;
    height: 500px;
    display: block;
    filter: grayscale(20%) brightness(0.9);
    transition: filter 0.3s ease;
}

    .google-map:hover {
        filter: grayscale(0%) brightness(1);
    }

.contact-bottom-cta {
    margin-top: 100px;
    margin-bottom: 60px;
}

.cta-buttons-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 35px;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-hero {
        height: 300px;
    }

    .contact-content-section {
        margin: 50px 0;
    }

    .contact-info-card {
        padding: 40px 30px;
        margin-bottom: 30px;
    }

    .contact-description {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .contact-item {
        gap: 20px;
        margin-bottom: 35px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-label {
        font-size: 14px;
    }

    .contact-link {
        font-size: 16px;
    }

    .map-header {
        padding: 30px 25px 20px;
    }

    .map-title {
        font-size: 20px;
    }

    .map-wrapper {
        min-height: 350px;
    }

    .contact-bottom-cta {
        margin-top: 60px;
    }

    .cta-buttons-contact {
        flex-direction: column;
    }

        .cta-buttons-contact .btn {
            width: 100%;
        }
}