﻿/* Geist Mono Font Face Definitions - Local Fonts */
@font-face {
    font-family: "Geist Mono";
    src: url('/App_Themes/RmkMarine/Geist_Mono/static/GeistMono-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geist Mono";
    src: url('/App_Themes/RmkMarine/Geist_Mono/static/GeistMono-ExtraLight.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geist Mono";
    src: url('/App_Themes/RmkMarine/Geist_Mono/static/GeistMono-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geist Mono";
    src: url('/App_Themes/RmkMarine/Geist_Mono/static/GeistMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geist Mono";
    src: url('/App_Themes/RmkMarine/Geist_Mono/static/GeistMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geist Mono";
    src: url('/App_Themes/RmkMarine/Geist_Mono/static/GeistMono-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geist Mono";
    src: url('/App_Themes/RmkMarine/Geist_Mono/static/GeistMono-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geist Mono";
    src: url('/App_Themes/RmkMarine/Geist_Mono/static/GeistMono-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geist Mono";
    src: url('/App_Themes/RmkMarine/Geist_Mono/static/GeistMono-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Azonix';
    src: url('/App_Themes/RmkMarine/assets/Azonix.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: white;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.container-fluid {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-limit-1104 {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.logo-icon {
    display: flex;
    align-items: center;
}

    .logo-icon svg {
        width: 40px;
        height: 40px;
    }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-rmk {
    font-size: 32px;
    font-weight: 900;
    color: #000000;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-marine {
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1;
    margin-top: 2px;
}

/* Navigation Styles */
.navbar {
    padding: 20px 0;
}

.navbar-nav {
    list-style: none;
    gap: 15px; /* Reduced from 30px */
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px !important; /* Reduced padding from 16px */
    border-radius: 4px;
}

    .nav-link:hover, .nav-link:focus {
        background-color: #f5f5f5; /* Light gray background */
        color: #ED2215;
    }

    /* Active page navigation link */
    .nav-link.active,
    body.about-page .nav-link[href="about.html"],
    body.shipyard-page .nav-link[href="shipyard.html"],
    body.projects-page .nav-link[href="all-projects.html"],
    body.services-page .nav-link[href="services.html"],
    body.news-page .nav-link[href="news.html"],
    body.career-page .nav-link[href="career.html"],
    body.contact-page .nav-link[href="contact.html"] {
        font-family: 'DM Sans', sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0.56px; /* 4% of 14px = 0.56px */
    }

.dropdown-indicator {
    font-size: 18px;
    font-weight: 300;
    margin-left: 2px;
    line-height: 1; /* Added line-height fix */
    transition: transform 0.3s ease;
}

.nav-link:hover .dropdown-indicator {
    transform: rotate(-45deg); /* Rotate 45 degrees left */
}

/* Header Right Section */
.header-right {
    gap: 20px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    color: #000000;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

    .social-icon:hover {
        color: #ED2215;
    }

/* Language Selector */
.language-selector {
    margin-left: 10px;
}

.btn-language {
    background-color: #E8E8E8;
    color: #000000;
    border: none;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .btn-language::after {
        margin-left: 5px;
        font-size: 10px;
    }

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 5px 0;
    min-width: 80px;
}

.dropdown-item {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    text-align: center;
}

    .dropdown-item:hover {
        background-color: #f5f5f5;
        color: #ED2215;
    }

.btn-language:hover {
    background-color: #D0D0D0;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0;
    outline: none;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .navbar-nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .container-fluid {
        padding: 0 20px;
    }

    .navbar-collapse {
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px !important;
        text-align: left;
    }

    .header-right {
        margin-top: 15px;
        justify-content: space-between;
        width: 100%;
        padding-top: 20px;
        border-top: 1px solid #eeeeee;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 10px 0 !important;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .logo-rmk {
        font-size: 24px;
    }

    .logo-marine {
        font-size: 12px;
    }

    .logo-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    width: 100%;
    height: 864px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.hero-text {
    color: #ffffff;
    font-family: "Geist Mono", monospace;
    font-weight: 400;
}

.hero-company {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #ffffff;
    opacity: 0.9;
    font-family: "Geist Mono", monospace;
}

.hero-title {
    font-family: DM Sans;
    font-weight: 600;
    font-size: 81px;
    line-height: 100%;
    text-align: center;
}

.hero-description {
    font-family: DM Sans;
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
    margin-top: 20px;
}

    .hero-description p {
        margin-bottom: 8px;
    }

.hero-buttons {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.btn-learn-more {
    background-color: #ffffff;
    color: #262626;
    font-family: "Geist Mono", monospace;
    font-weight: 500;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    border: 1px solid transparent; /* Changed from none to prevent layout shift */
    border-radius: 6px 0 0 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-learn-more:hover {
        background-color: transparent;
        color: #ED2215;
        border-color: #ED2215;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

.btn-contact-us {
    background-color: #ED2215;
    color: #ffffff;
    padding: 12px 20px;
    font-family: "Geist Mono", monospace;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    border-radius: 0 30px 30px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden; /* Ensure content stays within bounds */
}

    .btn-contact-us:hover {
        background-color: #B8122F;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
        padding-right: 20px; /* Increased padding for more expansion */
    }

.arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

    .arrow-icon i {
        font-size: 14px;
        color: #ED2215;
        font-weight: 700;
    }

.btn-contact-us:hover .arrow-icon {
    transform: translateX(5px); /* Move arrow to sync with padding expansion */
}

    .btn-contact-us:hover .arrow-icon i {
        color: #B8122F;
    }

/* Hero Section Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px;
    }

    .hero-description {
        font-size: 17px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: 600px;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        gap: 0;
    }

    .btn-learn-more {
        padding: 12px 35px;
        font-size: 13px;
        border-radius: 6px 0 0 6px;
    }

    .btn-contact-us {
        padding: 12px 25px 12px 35px;
        font-size: 13px;
        border-radius: 0 25px 25px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }

    .hero-content {
        padding: 50px 0;
    }

    .hero-company {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: 25px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 35px;
    }

        .hero-description p {
            margin-bottom: 6px;
        }

    .hero-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0;
        margin-top: 35px;
        justify-content: center;
    }

    .btn-learn-more {
        width: auto;
        max-width: none;
        padding: 14px 30px;
        font-size: 13px;
        border-radius: 6px 0 0 6px;
    }

    .btn-contact-us {
        width: auto;
        max-width: none;
        padding: 14px 25px 14px 30px;
        font-size: 13px;
        border-radius: 0 25px 25px 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 450px;
    }

    .hero-content {
        padding: 40px 0;
    }

    .hero-company {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        margin-top: 30px;
    }

    .btn-learn-more {
        max-width: none;
        padding: 12px 25px;
        font-size: 12px;
        border-radius: 6px 0 0 6px;
    }

    .btn-contact-us {
        max-width: none;
        padding: 5px 20px 5px 25px;
        font-size: 12px;
        border-radius: 0 20px 20px 0;
    }

    .arrow-icon {
        width: 24px;
        height: 24px;
    }

        .arrow-icon i {
            font-size: 11px;
        }
}

/* Featured Projects Section */
.featured-projects-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.projects-header {
    margin-bottom: 60px;
}

.projects-label {
    color: #ED2215;
    font-family: "Geist Mono", monospace;
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.projects-title {
    color: #171717;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-family: DM Sans;
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.projects-subtitle {
    color: #525252;
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    margin-bottom: 60px;
}

.projects-cards {
    margin-bottom: 60px;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.project-card {
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .project-card:hover {
        transform: none;
        box-shadow: none;
    }

.project-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

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

/* Specific Card Styles */
.project-card-left .project-image {
    height: 539px;
    width: 336px;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 90%);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.project-card-left .project-info {
    text-align: left;
    padding-left: 20px; /* Adjust alignment if needed */
}

.project-card-left .project-icon {
    justify-content: flex-start;
}

.project-card-right .project-image {
    height: 539px;
    width: 336px;
    gap: 20px;
    clip-path: polygon(0 5%, 100% 0, 100% 90%, 0 100%);
}

.project-card-center {
    justify-content: flex-end;
}

    .project-card-center .project-info {
        order: 1;
        margin-bottom: 30px;
        text-align: center;
    }

    .project-card-center .project-icon {
        justify-content: center;
    }

    .project-card-center .project-image {
        order: 2;
        height: 531px;
        width: 336px;
        margin-bottom: 0;
    }

.project-icon {
    padding: 0 0 15px;
    display: flex;
    align-items: center;
}

    .project-icon img {
        color: #171717;
        background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.project-content {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card-title-1 {
    font-family: DM Sans;
    font-weight: 600;
    color: #171717;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -4%;
    text-align: left;
}

.project-card-title-2 {
    font-family: DM Sans;
    font-weight: 600;
    color: #171717;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -4%;
    text-align: center;
}

.project-card-title-3 {
    font-family: DM Sans;
    font-weight: 600;
    color: #171717;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: -4%;
    text-align: right;
}

.project-description-1 {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: left;
    color: #525252;
}

.project-description-2 {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
    color: #525252;
}

.project-description-3 {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: right;
    color: #525252;
}

.btn-explore-all {
    display: inline-block;
    background-color: #0000000F;
    color: #333333;
    padding: 14px 80px;
    font-family: "Geist Mono", monospace;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-explore-all:hover {
        background-color: #E8E8E8;
        color: #ED2215;
        border-color: #D0D0D0;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

/* Featured Projects Section - Mobile Responsive */
@media (max-width: 768px) {
    .featured-projects-section {
        padding: 60px 0;
    }

        .featured-projects-section .container-fluid {
            max-width: 100%;
            padding: 0 15px;
        }

    .projects-header {
        margin-bottom: 40px;
        text-align: center;
    }

    .projects-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .projects-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .projects-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .projects-cards {
        margin-bottom: 40px;
        justify-content: center;
    }

        .projects-cards .col-lg-3 {
            max-width: 100%;
            width: 100%;
            margin-bottom: 30px;
        }

    .project-card {
        max-width: 100%;
        margin: 0 auto;
        align-items: center;
    }

    /* Tüm kartlarda resim-yazı sıralaması için */
    .project-card-left,
    .project-card-center,
    .project-card-right {
        flex-direction: column;
    }

        .project-card-left .project-image,
        .project-card-center .project-image,
        .project-card-right .project-image {
            order: 0;
            width: 100%;
            max-width: 100%;
            height: auto;
            min-height: 300px;
            clip-path: none;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 20px;
        }

        .project-card-left .project-info,
        .project-card-center .project-info,
        .project-card-right .project-info {
            order: 1;
            text-align: center !important;
            padding: 0;
            width: 100%;
        }

            .project-card-right .project-info.text-end {
                text-align: center !important;
            }

        .project-card-center .project-info {
            order: 1;
            margin-bottom: 0;
        }

        .project-card-left .project-icon,
        .project-card-center .project-icon,
        .project-card-right .project-icon {
            justify-content: center !important;
            margin-bottom: 15px;
        }

        .project-card-right .project-info .project-icon {
            justify-content: center !important;
        }

    .project-card-title-1,
    .project-card-title-2,
    .project-card-title-3 {
        text-align: center;
        font-size: 22px;
        margin-bottom: 12px;
    }

    .project-description-1,
    .project-description-2,
    .project-description-3 {
        text-align: center;
        font-size: 15px;
    }

    .btn-explore-all {
        padding: 12px 35px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .featured-projects-section {
        padding: 40px 0;
    }

    .projects-header {
        margin-bottom: 35px;
        padding: 0 15px;
    }

    .projects-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .projects-title {
        font-size: 28px;
    }

    .projects-subtitle {
        font-size: 14px;
        margin-bottom: 35px;
    }

    .project-card-left .project-image,
    .project-card-center .project-image,
    .project-card-right .project-image {
        min-height: 250px;
        margin-bottom: 15px;
    }

    .project-card-title-1,
    .project-card-title-2,
    .project-card-title-3 {
        font-size: 20px;
    }

    .project-description-1,
    .project-description-2,
    .project-description-3 {
        font-size: 14px;
    }

    .btn-explore-all {
        padding: 12px 30px;
        font-size: 12px;
    }
}

/* New Projects Section (Duplicate of Featured) */
.new-projects-section {
    background-color: #ffffff;
    padding: 50px 0;
    max-width: 1440px;
    margin: 0 auto;
}

.new-projects-header {
    /*margin-bottom: 60px;*/
    max-width: 1010px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.new-projects-label {
    font-family: "Geist Mono", monospace;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    color: #ED2215;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.new-projects-title {
    font-family: DM Sans, sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 120%;
    text-align: center;
    background: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    letter-spacing: -3px;
}

.new-projects-subtitle {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: #525252;
    margin-bottom: 0px;
}


.new-project-card {
    background-color: transparent;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .new-project-card:hover {
        transform: none;
        box-shadow: none;
    }

.new-project-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

    .new-project-image img {
        width: 336px;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.new-project-card:hover .new-project-image img {
    transform: scale(1.05);
}

/* Specific Card Styles for New Section */
.new-project-card-left .new-project-image {
    height: 539px;
    clip-path: polygon(0 5%, 100% 0, 100% 90%, 0 100%);
}

.new-project-card-right .new-project-image {
    height: 539px;
    clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 90%);
}

.new-project-card-center {
    justify-content: flex-start;
}

    .new-project-card-center .new-project-info {
        /* Order removed to follow HTML flow */
        margin-bottom: 30px;
        text-align: center;
    }

    .new-project-card-center .new-project-image {
        /* Order removed to follow HTML flow */
        height: 531px;
        margin-bottom: 0;
    }

.new-project-content {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.new-project-card-title {
    font-family: DM Sans;
    font-size: 24px;
    font-weight: 600;
    margin-top: 80px;
    color: #171717;
    margin-bottom: 15px;
    line-height: 1.3;
}

.new-project-card-title-right {
    font-family: DM Sans;
    font-size: 24px;
    font-weight: 600;
    margin-top: 80px;
    color: #171717;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: right;
}

.new-project-card-title-center {
    font-size: 24px;
    font-weight: 500;
    color: #171717;
    margin-bottom: 15px;
    line-height: 1.3;
}

.new-project-description {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
}

.new-project-description-right {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: right;
}

.btn-new-explore {
    display: inline-block;
    background-color: #F5F5F5;
    color: #333333;
    padding: 14px 40px;
    font-family: "Geist Mono", monospace;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-new-explore:hover {
        background-color: #E8E8E8;
        color: #ED2215;
        border-color: #D0D0D0;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

/* Responsive adjustments for New Section */
@media (max-width: 1200px) {
    .new-projects-title {
        font-size: 40px;
    }

    .new-projects-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 992px) {
    .new-projects-section {
        padding: 80px 0;
    }

    .new-projects-header {
        margin-bottom: 50px;
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }

    .new-projects-title {
        font-size: 36px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .new-projects-subtitle {
        font-size: 16px;
    }

    .new-projects-cards {
        margin-bottom: 50px;
    }

    .new-project-card-left .new-project-image,
    .new-project-card-right .new-project-image,
    .new-project-card-center .new-project-image {
        height: 350px;
        clip-path: none;
        order: 0;
        margin-bottom: 20px;
    }

    .new-project-card-center .new-project-info {
        order: 1;
        margin-bottom: 0;
        text-align: left;
    }

    .new-project-card-center {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .new-projects-section {
        padding: 30px 0 0px 0;
    }

        .new-projects-section .container-fluid {
            max-width: 100%;
            padding: 0 15px;
        }

    .new-projects-header {
        margin-bottom: 40px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .new-projects-label {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .new-projects-title {
        font-size: 32px;
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .new-projects-subtitle {
        font-size: 15px;
        padding: 0;
    }

    .new-projects-cards {
        margin-bottom: 40px;
        justify-content: center;
    }

        .new-projects-cards .col-lg-3 {
            max-width: 100%;
            width: 100%;
            margin-bottom: 30px;
        }

    .new-project-card {
        max-width: 100%;
        margin: 0 auto;
        align-items: center;
    }

    /* Tüm kartlarda resim-yazı sıralaması için */
    .new-project-card-left,
    .new-project-card-center,
    .new-project-card-right {
        flex-direction: column;
    }

        .new-project-card-left .new-project-image,
        .new-project-card-center .new-project-image,
        .new-project-card-right .new-project-image {
            order: 0;
            width: 100%;
            max-width: 100%;
            height: auto;
            min-height: 300px;
            clip-path: none;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 20px;
        }

    .new-project-image img {
        width: 100% !important;
        max-width: 100%;
        height: auto;
    }

    .new-project-card-left .new-project-info,
    .new-project-card-center .new-project-info,
    .new-project-card-right .new-project-info {
        order: 1;
        text-align: center;
        padding: 0;
        width: 100%;
        margin-bottom: 0;
    }

    .new-project-card-center {
        justify-content: flex-start;
    }

    .new-project-content {
        padding: 0 20px 25px;
        text-align: center;
    }

    .new-project-card-title,
    .new-project-card-title-center,
    .new-project-card-title-right {
        font-size: 22px;
        margin-bottom: 12px;
        margin-top: 0;
        text-align: center;
    }

    .new-project-description,
    .new-project-description-right {
        font-size: 15px;
        text-align: center;
    }

    .btn-new-explore {
        padding: 12px 35px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .new-projects-section {
        padding: 30px 0 30px 0;
    }

        .new-projects-section .container-fluid {
            max-width: 100%;
            padding: 0 15px;
        }

    .new-projects-header {
        margin-bottom: 35px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .new-projects-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .new-projects-title {
        font-size: 28px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .new-projects-subtitle {
        font-size: 14px;
    }

    .new-projects-cards {
        justify-content: center;
    }

        .new-projects-cards .col-lg-3 {
            max-width: 100%;
            width: 100%;
            margin-bottom: 30px;
        }

    .new-project-card-left .new-project-image,
    .new-project-card-center .new-project-image,
    .new-project-card-right .new-project-image {
        min-height: 250px;
        margin-bottom: 15px;
    }

    .new-project-image img {
        width: 100% !important;
        max-width: 100%;
        height: auto;
    }

    .new-project-card-title,
    .new-project-card-title-center,
    .new-project-card-title-right {
        font-size: 20px;
        margin-top: 0;
        text-align: center;
    }

    .new-project-description,
    .new-project-description-right {
        font-size: 14px;
        text-align: center;
    }

    .btn-new-explore {
        padding: 12px 30px;
        font-size: 12px;
    }
}

/* Shipyard Section Styles */
.shipyard-section {
    position: relative;
    width: 100%;
    min-height: 800px;
    /* background-image removed, moving to inline HTML */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-top: 100px; /* Space for overlap */
}

/* Stats Section (New) */
.stats-section {
    position: relative;
    z-index: 20;
    margin-bottom: -40px; /* Increased overlap */
    pointer-events: none; /* Let clicks pass through if needed */
    transform: translateY(40px); /* Push down into the image */
}

@media (max-width: 768px) {
    .stats-section {
        margin-bottom: 0px;
    }
}

/* Stats Bar */
.stats-bar-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background: transparent;
    pointer-events: auto; /* Re-enable clicks */
}

.stats-bar {
    background: linear-gradient(180deg, rgba(245, 245, 245, 0.9) 0%, rgba(224, 224, 224, 0.9) 100%);
    backdrop-filter: blur(5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1104px;
    height: 164px;
    border: none;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

    /* Inner bottom shadow gradient */
    .stats-bar::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(to top, rgba(0,0,0,0.1) 0%, transparent 100%);
        pointer-events: none;
    }

.stats-item-first {
    text-align: center;
    padding: 0;
    background: #0000001A;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.stats-item {
    text-align: center;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .stats-item.active {
        background: #0000001A !important;
    }

        .stats-item.active .stats-number {
            color: #ED2215 !important;
        }

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    display: none;
}

.stats-item.active .progress-bar-container {
    display: block;
}

.progress-bar {
    width: 0;
    height: 100%;
    background-color: white;
    transition: width 0.1s linear;
}

.shipyard-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

    .shipyard-slide.active {
        opacity: 1;
        z-index: 5;
        pointer-events: auto;
    }

/* Vertical dividers */
.stats-item::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(0,0,0,0.1);
}

.stats-item:last-child::before {
    display: none;
}

.stats-item:first-child {
    background-color: rgba(0,0,0,0.05); /* Slightly darker first item */
    background: linear-gradient(180deg, rgba(232, 232, 232, 0.8) 0%, rgba(208, 208, 208, 0.8) 100%);
}

    .stats-item:first-child .stats-number {
        color: #000000A3;
    }

.stats-number {
    font-family: DM Sans;
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: -5%;
    text-align: center;
}

/* Ensure subsequent items are strictly grey */
.stats-item:not(:first-child) .stats-number {
    background: none;
    -webkit-text-fill-color: initial;
    color: #444444;
}

.stats-label {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: #525252;
}

/* Shipyard Content */
.shipyard-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    padding-top: 100px;
}

.shipyard-text-content {
    background: transparent;
    padding: 0;
    margin-top: -370px;
    padding-left: 130px;
}

.shipyard-title {
    font-family: DM Sans;
    font-weight: 600;
    font-size: 92px;
    line-height: 100%;
    letter-spacing: -5%;
    color: #ffffff;
    margin-top: 20px;
}

.shipyard-description {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 35px;
    line-height: 1.5;
    max-width: 450px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 400;
    margin-bottom: 20px;
}

.btn-shipyard {
    background-color: #ffffff;
    color: #000000;
    font-family: "Geist Mono", monospace;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 50px 50px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width: auto;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .btn-shipyard {
        margin-bottom: 0px;
        padding: 5px 20px 5px 25px;
        font-size: 12px;
        border-radius: 0 20px 20px 0;
    }
}

.btn-shipyard:hover {
    background-color: #f8f8f8;
    color: #ED2215;
    padding-right: 30px; /* Increased from 20px to 40px (20px base + 20px extra) */
    transform: none;
}

.shipyard-arrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .shipyard-arrow-icon i {
        font-size: 14px;
        color: #ED2215;
        font-weight: 700;
        transition: color 0.3s ease;
    }

.btn-shipyard:hover .shipyard-arrow-icon {
    transform: translateX(5px);
    background-color: #ED2215;
}

    .btn-shipyard:hover .shipyard-arrow-icon i {
        color: #ffffff;
    }

/* Hotspots */
.hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #A0A0A0;
    border: 6px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

    .hotspot:hover {
        transform: scale(1.2);
        background-color: #ffffff;
    }

.hotspot-active {
    width: auto;
    height: auto;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    box-shadow: none;
    border: none;
}

    .hotspot-active:hover {
        transform: none;
        background-color: transparent;
    }

.hotspot-dot {
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: relative;
    border: none;
}

.dot-center {
    width: 12px;
    height: 12px;
    background-color: #C2272D;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #C2272D;
}

.hotspot-card {
    background-color: #ffffff;
    padding: 20px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-left: 4px solid #C2272D;
    min-width: 200px;
    border-radius: 0; /* Sharp corners */
}

.hotspot-label {
    font-family: "Geist Mono", monospace;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    color: #525252;
    letter-spacing: 8%;
    margin-bottom: 10px;
}

.hotspot-value {
    font-family: DM Sans;
    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    color: #171717;
}

/* Shipyard Responsive Styles */
@media (max-width: 992px) {
    .stats-bar {
        height: auto;
        max-width: 90%;
    }

    .stats-item {
        padding: 20px 10px;
    }

    .shipyard-section {
        min-height: 700px;
    }

    .stats-number {
        font-size: 28px;
    }

    .stats-label {
        font-size: 12px;
    }

    .shipyard-title {
        font-size: 40px;
    }

    .hotspot {
        display: none; /* Hide non-active hotspots on smaller screens */
    }

    .hotspot-active {
        display: flex;
        top: auto !important;
        left: 50% !important;
        bottom: 50px;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .shipyard-section {
        min-height: 420px;
        padding-bottom: 120px;
        background-position: 70% center;
    }

    .stats-bar {
        border-radius: 0;
        margin-top: 0; /* Reset negative margin on mobile */
    }

    .stats-item {
        padding: 20px 10px;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

        .stats-item:nth-child(2),
        .stats-item:nth-child(4) {
            border-right: none;
        }

        .stats-item:nth-child(even) {
            border-left: 1px solid rgba(0,0,0,0.05);
        }

    .shipyard-content-wrapper {
        position: relative;
        height: auto;
        padding-top: 20px;
    }

    .shipyard-text-content {
        margin-top: 30px;
        text-align: center;
        padding: 0 20px;
    }

    .shipyard-title {
        font-size: 36px;
    }

    .shipyard-description {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .hotspot-active {
        position: relative;
        left: auto !important;
        transform: none;
        bottom: auto;
        width: 100%;
        justify-content: center;
        margin-top: 40px;
    }

    .hotspot-card {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .stats-number {
        font-size: 24px;
    }

    .stats-label {
        font-size: 11px;
    }

    .shipyard-title {
        font-size: 32px;
    }

    .hotspot-card {
        padding: 12px 20px;
        min-width: 150px;
    }

    .hotspot-value {
        font-size: 18px;
    }
}

/* About Us Section Styles */
.about-us-section {
    position: relative;
    width: 100%;
    height: 967px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
}

    .about-us-section::before {
        display: none;
    }

.about-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 440px;
}

.about-label {
    font-family: 'Geist Mono', monospace;
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 92px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #ffffff;
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
}

.about-title-word {
    display: block;
    margin-top: -20px;
}

.about-description {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 40px;
    color: #ffffff;
}

    .about-description p {
        margin-bottom: 20px;
    }

.btn-about {
    background-color: #ED2215;
    color: #ffffff;
    padding: 16px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0 30px 30px 0; /* Pill shape */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    position: relative;
    overflow: hidden;
}

    .btn-about:hover {
        background-color: #B8122F;
        color: #ffffff;
        padding-right: 40px;
        box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    }

    .btn-about i {
        font-size: 16px;
        background: #ffffff;
        color: #ED2215;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    .btn-about:hover i {
        transform: translateX(20px);
    }

/* About Us Responsive Styles */
@media (max-width: 1200px) {
    .about-us-section {
        height: 800px;
    }

    .about-title {
        font-size: 64px;
    }
}

@media (max-width: 992px) {
    .about-us-section {
        height: 700px;
    }

    .about-title {
        font-size: 56px;
    }

    .about-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .about-us-section {
        height: 600px;
        background-position: 70% center;
    }

    .about-content {
        text-align: left;
        padding: 0 20px;
    }

    .about-title {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .about-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .btn-about {
        padding: 14px 30px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .about-us-section {
        height: 500px;
    }

    .about-title {
        font-size: 40px;
    }

    .about-description {
        font-size: 15px;
    }

    .btn-about {
        width: 100%;
        justify-content: center;
    }
}

/* Latest News Section */
.latest-news-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.news-header {
    margin-bottom: 60px;
}

.news-label {
    color: #ED2215;
    font-family: "Geist Mono", monospace;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 8%;
    text-align: center;
    letter-spacing: 1px;
}

.news-title {
    font-family: DM Sans;
    font-weight: 500;
    font-size: 56px;
    line-height: 100%;
    letter-spacing: -5%;
    text-align: center;
    margin-bottom: 20px;
    color: #171717;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -3px;
}

.news-subtitle {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
}

.news-cards {
    margin-bottom: 60px;
}

.news-card {
    background-color: transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.news-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin-bottom: 25px;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ED2215;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-badge {
    opacity: 0;
}

.news-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-family: "Geist Mono", monospace;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #737373;
    text-decoration: none;
}

.news-card-title {
    font-family: DM Sans;
    font-weight: 500;
    font-size: 20px;
    color: #171717;
    line-height: 130%;
    letter-spacing: 0%;
    text-decoration: none;
}

.news-card:hover .news-card-title {
    color: #ED2215;
}

.btn-see-all {
    display: inline-block;
    background-color: #EFEFEF;
    color: #333333;
    padding: 14px 40px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 2px;
}

    .btn-see-all:hover {
        background-color: #E0E0E0;
        color: #ED2215;
    }

/* Latest News Responsive */
@media (max-width: 992px) {
    .latest-news-section {
        padding: 80px 0;
    }

    .news-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .latest-news-section {
        padding: 60px 0;
    }

    .news-header {
        margin-bottom: 40px;
    }

    .news-title {
        font-size: 32px;
    }

    .news-image-wrapper {
        height: 200px;
        margin-bottom: 20px;
    }

    .news-card-title {
        font-size: 16px;
    }

    .news-cards {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .latest-news-section {
        padding: 50px 0;
    }

    .news-title {
        font-size: 28px;
    }
}


/* Projects Filter Section */
.project-filter-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.filter-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .filter-nav::-webkit-scrollbar {
        display: none;
    }

@media (max-width: 992px) {
    .filter-nav {
        justify-content: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }
}

.filter-nav li {
    margin: 0 15px;
}

    .filter-nav li a,
    .filter-btn {
        display: block;
        padding: 20px 10px;
        color: #333;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        position: relative;
        transition: color 0.3s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
    }

        .filter-nav li a:hover,
        .filter-btn:hover {
            color: #000;
        }

        .filter-nav li a.active,
        .filter-btn.active {
            color: #000;
            font-weight: 600;
        }

            /* Underline indicator for active tab */
            .filter-nav li a.active::after,
            .filter-btn.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 1px;
                background-color: #000;
            }

.filter-arrow {
    font-size: 12px;
}

@media (max-width: 768px) {
    .filter-nav li {
        margin: 0 10px;
    }

        .filter-nav li a,
        .filter-btn {
            font-size: 14px;
            padding: 15px 8px;
        }
}

/* Sidebar Filters */
.filters-main-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #171717;
}

.btn-clear-all {
    font-family: "Geist Mono", monospace;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #171717;
    text-decoration: none;
    letter-spacing: 0.8px;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.filter-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000;
}

.custom-checkbox {
    padding: 15px;
    margin-bottom: 10px !important;
    border: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    background-color: #fff;
    min-height: auto;
}

    /* Active state for the container when checkbox is checked */
    .custom-checkbox:has(.form-check-input:checked) {
        border: 3px solid #395765;
        padding: 14px; /* Compensate for border width */
    }

    .custom-checkbox .form-check-input {
        width: 20px;
        height: 20px;
        border: 1px solid #E0E0E0;
        border-radius: 2px;
        margin-top: 0;
        margin-left: 0;
        margin-right: 15px;
        cursor: pointer;
        float: none;
        flex-shrink: 0;
    }

        .custom-checkbox .form-check-input:checked {
            background-color: #395765;
            border-color: #395765;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
        }

        .custom-checkbox .form-check-input:focus {
            box-shadow: none;
            border-color: #395765;
        }

    .custom-checkbox .form-check-label {
        font-family: 'DM Sans', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        color: #171717;
    }

/* Category Tabs (Top of Grid) */
.category-tabs-container {
    width: 100%;
    margin-top: -20px;
}

.category-tab {
    display: block;
    text-align: center;
    padding: 15px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #737373;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

    .category-tab:hover {
        color: #171717;
    }

    .category-tab.active {
        font-weight: 600;
        color: #171717;
    }

        .category-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px; /* Align exactly with border bottom */
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #ED2215;
        }

/* All Projects List - Card Updates */
.all-projects-list .project-card {
    border: none;
    background: transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.all-projects-list .project-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    height: 200px; /* Görseldeki gibi sabit yükseklik */
    width: 100%;
}

    .all-projects-list .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.all-projects-list .project-category-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #ED2215;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 12px;
    letter-spacing: 0.5px;
    z-index: 2;
    border-radius: 0;
}

.all-projects-list .project-info {
    padding: 0;
}

.all-projects-list .project-vessel-type {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 8px;
    display: block;
}

.all-projects-list .project-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
    line-height: 1.2;
}

.all-projects-list .project-status {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #171717;
    margin: 0;
}

    .all-projects-list .project-status.ongoing {
        color: #22A24E;
        font-weight: 500;
        position: relative;
        padding-left: 16px;
    }

        .all-projects-list .project-status.ongoing::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background-color: #22A24E;
            border-radius: 50%;
            box-shadow: 0 0 4px rgba(34, 162, 78, 0.8), 0 0 8px rgba(34, 162, 78, 0.6), 0 0 12px rgba(34, 162, 78, 0.4), 0 0 16px rgba(34, 162, 78, 0.2);
        }

/* Similar Projects Section - Card Styles */
.similar-projects-section .project-card {
    border: none;
    background: transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.similar-projects-section .project-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    height: 200px;
    width: 100%;
}

    .similar-projects-section .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.similar-projects-section .project-category-badge {
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #ED2215;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 12px;
    letter-spacing: 0.5px;
    z-index: 2;
    border-radius: 0;
}

.similar-projects-section .project-info {
    padding: 0;
}

.similar-projects-section .project-vessel-type {
    font-family: 'Geist Mono', monospace;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 8px;
    display: block;
}

.similar-projects-section .project-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
    line-height: 1.2;
}

.similar-projects-section .project-status {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #171717;
    margin: 0;
}

/* Map Styles */
.map-container {
    background-color: #F8F9FA;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

#map {
    width: 100%;
    height: 80vh;
    border-radius: 12px;
    overflow: hidden;
}

.map-dot-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e53935;
    box-shadow: 0 0 0 3px rgba(229,57,53,.25);
}

/* Map Project Card Styles */
.map-project-card {
    width: 360px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    font-family: 'DM Sans', sans-serif;
}

    .map-project-card .map-card-img {
        position: relative;
        width: 100%;
        height: 140px;
        overflow: hidden;
    }

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

    .map-project-card .map-card-tag {
        position: absolute;
        top: 10px;
        left: 10px;
        background: #e53935;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        padding: 4px 8px;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .map-project-card .map-card-body {
        padding: 14px;
    }

    .map-project-card .map-card-meta {
        font-size: 12px;
        color: #888;
        letter-spacing: .08em;
        text-transform: uppercase;
        font-family: 'DM Sans', sans-serif;
        margin-bottom: 6px;
    }

    .map-project-card .map-card-title {
        font-size: 20px;
        font-weight: 600;
        margin: 6px 0 4px;
        color: #171717;
        font-family: 'DM Sans', sans-serif;
    }

    .map-project-card .map-card-status {
        font-size: 14px;
        color: #555;
        margin: 0;
        font-family: 'DM Sans', sans-serif;
    }

.map-card-overlay .project-card {
    height: auto;
}

/* References Table */
.references-table-section {
    background-color: #ffffff;
}

.references-table-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important; /* Fallback for browsers that don't support -webkit-text-fill-color */
    display: inline-block; /* Required for gradient text to work */
    margin-bottom: 30px;
}

.references-table {
    width: 100%;
    border-collapse: collapse;
}

    .references-table thead th {
        font-family: 'DM Sans', sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: #171717;
        border-bottom: none;
        padding: 15px 0;
        text-align: left;
    }

    .references-table tbody tr {
        border-bottom: 1px solid #EAEAEA;
    }

    .references-table tbody td {
        font-family: 'DM Sans', sans-serif;
        font-size: 18px;
        font-weight: 400;
        color: #171717;
        padding: 12px 0;
        vertical-align: middle;
    }

/* Footer Section Styles */
.footer-section {
    width: 100%;
    position: relative;
    background-image: url('../Footer.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 835px; /* Fixed height as requested */
}

    .footer-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 250px;
        background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 92%);
        z-index: 1;
        pointer-events: none;
    }

.footer-content-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.footer-contact-content {
    background: transparent;
}

.footer-label {
    font-size: 20px;
    font-family: "Geist Mono", monospace;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-title {
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.footer-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.7;
    max-width: 450px;
}

.btn-footer-contact {
    background-color: #ED2215;
    color: #ffffff;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 0 30px 30px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

    .btn-footer-contact:hover {
        background-color: #B8122F;
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
        padding-right: 40px;
    }

    .btn-footer-contact i {
        background: #ffffff;
        color: #ED2215;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .btn-footer-contact:hover i {
        transform: translateX(10px);
    }

.footer-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0) 90%);
    z-index: 1;
    pointer-events: none;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    background-color: transparent;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

    .footer-logo .logo-icon svg {
        width: 32px;
        height: 32px;
    }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

    .footer-nav a {
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: opacity 0.3s ease;
    }

        .footer-nav a:hover {
            opacity: 1;
            color: #ED2215;
        }

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

    .footer-social a {
        color: #ffffff;
        font-size: 16px;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

        .footer-social a:hover {
            opacity: 1;
        }

.footer-lang {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 2px;
    margin-left: 10px;
    cursor: pointer;
}

.footer-copyright-row {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.koc-logo {
    font-weight: 700;
    margin-right: 5px;
}

.legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.agency-credit {
    margin: 0;
    opacity: 0.6;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-title {
        font-size: 48px;
    }

    .footer-nav {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .footer-section {
        height: auto; /* Allow auto height on mobile */
        min-height: 600px;
    }

        .footer-section .container-fluid {
            padding: 0 15px;
        }

    .footer-content-wrapper {
        padding: 60px 0;
        text-align: center;
        justify-content: center;
    }

        .footer-content-wrapper .row {
            justify-content: center;
        }

        .footer-content-wrapper .col-lg-5 {
            max-width: 100%;
            width: 100%;
        }

    .footer-contact-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-label {
        text-align: center;
    }

    .footer-title {
        font-size: 36px;
        text-align: center;
    }

    .footer-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-footer-contact {
        margin: 0 auto;
    }

    .footer-bottom-bar {
        text-align: center;
    }

        .footer-bottom-bar .container-fluid {
            padding: 0 15px;
        }

    .footer-main-row {
        justify-content: center;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
        margin: 0 auto 20px;
    }

    .footer-nav {
        justify-content: center;
        margin: 20px 0;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        margin-top: 20px;
    }

    .footer-copyright-row {
        text-align: center;
    }

        .footer-copyright-row .col-md-4 {
            text-align: center !important;
            margin-bottom: 10px;
        }

    .copyright-text {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }

    .legal-link {
        text-align: center;
    }

    .agency-credit {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-section {
        min-height: 500px;
    }

    .footer-content-wrapper {
        padding: 40px 0;
    }

    .footer-title {
        font-size: 32px;
        text-align: center;
    }

    .footer-label {
        font-size: 16px;
        text-align: center;
    }

    .footer-description {
        font-size: 14px;
        text-align: center;
        max-width: 100%;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-copyright-row {
        text-align: center;
    }

    .copyright-text {
        justify-content: center;
        text-align: center;
    }

    .legal-link {
        text-align: center;
    }

    .agency-credit {
        text-align: center;
    }
}
.milestones-section {
    position: relative;
    padding-top: 0px;
    overflow: hidden;
}

/* Vertical Line */
.milestone-timeline-line {
    position: absolute;
    left: 50%;
    top: 0px;
    bottom: 0;
    width: 2px;
    background-color: #DC143C; /* Red line */
    transform: translateX(-50%);
    z-index: 1;
}

.milestone-item {
    position: relative;
    margin-bottom: 100px;
    width: 50%;
    z-index: 2;
}

.item-left {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.item-right {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

/* Internal Layout */
.milestone-content {
    display: flex;
    flex-direction: column;
}

/* Top Row (Image + Year) */
.milestone-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* 1978 (Left) */
.item-left .milestone-top-row {
    flex-direction: row;
}

.item-left .img-wrapper {
    margin-right: auto; /* Push image left */
}

.item-left .year-wrapper {
    display: flex;
    align-items: center;
    margin-right: -50px; /* Connect to center line */
}

/* 1984 (Right) */
.item-right .milestone-top-row {
    flex-direction: row-reverse;
}

.item-right .img-wrapper {
    margin-left: auto; /* Push image right */
}

.item-right .year-wrapper {
    display: flex;
    align-items: center;
    margin-left: -50px; /* Connect to center line */
}

/* Year Styles */
.year-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: #DC143C;
    background: #fff;
    padding: 0 10px;
    z-index: 3;
}

.year-line {
    height: 2px;
    background-color: #DC143C;
    width: 60px;
}

/* Image Styles */
.milestone-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
}

.milestone-image-group {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    position: relative;
    border-radius: 50%;
}

.milestone-image-group img,
.milestone-image-group .milestone-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}

/* Body (Title + Text) */
.milestone-body-row {
    max-width: 400px;
}

.item-left .milestone-body-row {
    margin-left: auto; /* Align to right side of left block */
    text-align: right;
    padding-right: 20px;
}

.item-right .milestone-body-row {
    margin-right: auto; /* Align to left side of right block */
    text-align: left;
    padding-left: 20px;
}

.milestone-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #395765;
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.milestone-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 200;
    color: #525252;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-milestone-learn {
    display: inline-block;
    background-color: #F5F5F5;
    color: #171717;
    font-family: "Geist Mono", monospace;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-milestone-learn:hover {
    background-color: #E0E0E0;
    color: #000;
}

/* Responsive */
@media (max-width: 992px) {
    /* Keep Timeline Line centered */
    .milestone-timeline-line {
        left: 50%;
        transform: translateX(-50%);
        background-color: #DC143C; /* Original red */
    }

    /* Items - Keep 50% width and positions */
    .milestone-item {
        width: 50%;
        margin-bottom: 40px;
        position: relative;
    }
    
    .item-left {
        left: 0;
        padding-right: 20px;
        padding-left: 10px;
        text-align: right;
    }
    
    .item-right {
        left: 50%;
        padding-left: 20px;
        padding-right: 10px;
        text-align: left;
    }

    /* Content Layout - Stack vertically in mobile to fit 50% width */
    .milestone-item .d-flex {
        flex-direction: column !important;
    }
    
    /* Left Items Alignment */
    .item-left .d-flex {
        align-items: flex-end !important; /* Align to right (towards center line) */
    }
    
    /* Right Items Alignment */
    .item-right .d-flex {
        align-items: flex-start !important; /* Align to left (towards center line) */
    }

    /* Order Adjustments: Keep consistent (Image top or bottom based on design)
       Let's put Year/Text on top, Image bottom for better flow or vice versa.
       Original desktop: Left(Image-Text), Right(Text-Image).
    */
    
    /* Image Sizing */
    .milestone-image-group {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
        flex-shrink: 0;
    }
    
    .milestone-img {
        width: 100px;
        height: 100px;
        border-radius: 50%; /* Keep circular */
    }
    
    .milestone-image-group img {
        border-radius: 50%;
    }

    /* Text Group Adjustment */
    .milestone-text-group {
        width: 100%;
        padding: 0 !important; /* Remove bootstrap padding */
    }
    
    /* Left Item Text */
    .item-left .milestone-text-group {
        text-align: right !important;
        align-items: flex-end;
        display: flex;
        flex-direction: column;
    }
    
    /* Right Item Text */
    .item-right .milestone-text-group {
        text-align: left !important;
        align-items: flex-start;
        display: flex;
        flex-direction: column;
    }

    /* Typography */
    .milestone-title {
        font-size: 16px;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .milestone-description {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    /* Year Wrapper & Line */
    .year-wrapper {
        margin-bottom: 5px !important;
    }
    
    .year-text {
        font-size: 20px;
        padding: 0 5px;
    }
    
    .year-line {
        width: 20px; /* Shorter line */
        display: block !important; /* Show lines again */
    }
    
    /* Adjust margins for year wrapper to connect to center line */
    .item-left .year-wrapper {
        margin-right: -20px; /* Pull towards center */
        justify-content: flex-end;
    }
    
    .item-right .year-wrapper {
        margin-left: -20px; /* Pull towards center */
        justify-content: flex-start;
    }
    
    /* Hide the mobile dot we added before since we are back to desktop style */
    .milestone-item::before {
        display: none;
    }
    
    /* Koc Section Mobile Adjustments if needed */
    .koc-image-wrapper {
        height: 200px !important;
    }
/* Order adjustments for Koc Section */
    .order-lg-1, .order-lg-2 {
        order: unset !important;
    }
}



/* =========================================
   Project Detail Page Styles
   ========================================= */
.project-detail-header-section {
    padding: 60px 0 60px;
    background-color: #ffffff;
}

.back-link {
    font-family: "Geist Mono", monospace;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    text-decoration: none;
    color: #ED2215;
    margin-bottom: 20px;
}

    .back-link:hover {
        color: #ED2215;
    }

.detail-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 56px;
    color: #171717;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -3px;
}

.detail-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #525252;
    margin-bottom: 40px;
    font-weight: 400;
}

.detail-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-detail-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    background-color: #0000000F;
    font-family: "Geist Mono", monospace;
    font-size: 14px;
    font-weight: 500;
    color: #171717;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .btn-detail-action:hover {
        background-color: #f5f5f5;
        color: #ED2215;
        border-color: #ED2215;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

/* Video Section */
.project-video-section {
    position: relative;
    padding-bottom: 40px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.video-wrapper:hover .video-cover-image {
    transform: scale(1.03);
}

/* Project Carousel Styles */
#projectCarousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

    #projectCarousel .carousel-inner {
        height: 700px;
    }

    #projectCarousel .carousel-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #projectCarousel .carousel-control-prev,
    #projectCarousel .carousel-control-next {
        width: 50px;
        height: 50px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    #projectCarousel .carousel-control-prev {
        left: 20px;
    }

    #projectCarousel .carousel-control-next {
        right: 20px;
    }

        #projectCarousel .carousel-control-prev:hover,
        #projectCarousel .carousel-control-next:hover {
            opacity: 1;
        }

    #projectCarousel .carousel-control-prev-icon,
    #projectCarousel .carousel-control-next-icon {
        background-color: transparent;
        width: 24px;
        height: 24px;
        background-size: 24px 24px;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* Custom thin left arrow */
    #projectCarousel .carousel-control-prev-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15 18L9 12L15 6' stroke='%23000' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    /* Custom thin right arrow */
    #projectCarousel .carousel-control-next-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 18L15 12L9 6' stroke='%23000' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    #projectCarousel .carousel-indicators {
        bottom: 20px;
        margin-bottom: 0;
        gap: 8px;
    }

        #projectCarousel .carousel-indicators button {
            width: 8px !important;
            height: 8px !important;
            border-radius: 50% !important;
            background-color: rgba(255, 255, 255, 0.5) !important;
            border: 1px solid rgba(255, 255, 255, 0.8) !important;
            margin: 0 !important;
            opacity: 1 !important;
            padding: 0 !important;
            box-sizing: border-box !important;
            flex-shrink: 0 !important;
            text-indent: 0 !important;
            overflow: visible !important;
        }

            #projectCarousel .carousel-indicators button.active {
                background-color: #fff !important;
                border-color: #fff !important;
                width: 8px !important;
                height: 8px !important;
            }

/* Indicators below image */
.carousel-indicators-bottom {
    position: static;
    margin-top: 20px;
    margin-bottom: 0;
    justify-content: center;
    display: flex;
    list-style: none;
    padding: 0;
    gap: 8px;
}

    .carousel-indicators-bottom button {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background-color: rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(0, 0, 0, 0.5) !important;
        margin: 0 !important;
        opacity: 1 !important;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0 !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        text-indent: 0 !important;
        overflow: visible !important;
    }

        .carousel-indicators-bottom button.active {
            background-color: #000 !important;
            border-color: #000 !important;
            width: 8px !important;
            height: 8px !important;
        }

        .carousel-indicators-bottom button:hover {
            background-color: rgba(0, 0, 0, 0.6) !important;
            border-color: rgba(0, 0, 0, 0.8) !important;
        }

/* Content & Specs */
.project-content-section {
    padding: 00px 0;
}

.section-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 32px;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    display: inline-block;
}

.overview-text {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #525252;
    margin-bottom: 20px;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-item {
    display: flex;
    align-items: baseline;
    font-family: "Geist Mono", monospace;
    font-weight: 400;
    font-size: 15px;
}

.spec-label {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #525252;
}

.spec-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #d0d0d0;
    margin: 0 15px;
    position: relative;
    top: -5px;
}

.spec-value {
    color: #171717;
    font-weight: 700;
    white-space: nowrap;
    font-family: DM Sans;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
}

/* Project Detail Responsive */
@media (max-width: 1200px) {
    .detail-title {
        font-size: 56px;
    }

    .video-wrapper {
        height: 550px;
    }
}

@media (max-width: 992px) {
    .project-detail-header-section {
        padding: 120px 0 60px;
    }

    .detail-title {
        font-size: 40px;
    }

    .detail-subtitle {
        font-size: 18px;
    }

    .video-wrapper {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .project-detail-header-section {
        padding: 100px 0 40px;
    }

    .detail-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .detail-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .detail-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-detail-action {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .video-wrapper {
        height: 250px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .overview-text {
        font-size: 16px;
    }

    .spec-item {
        font-size: 13px;
    }
}

/* Policies & Ethics Styles */
.policies-container {
    padding-bottom: 60px;
}

/* Sidebar Menu */
.policies-sidebar {
    position: sticky;
    top: 100px;
}

.policies-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policies-nav-item {
    margin-bottom: 20px;
}

.policies-nav-link {
    font-family: 'Geist Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    text-transform: uppercase;
    display: block;
    padding-left: 15px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

    .policies-nav-link:hover {
        color: #ED2215;
    }

    .policies-nav-link.active {
        color: #ED2215;
        border-left-color: #ED2215;
        font-weight: 700;
    }

/* Content Area */
.policies-content {
    padding-left: 40px;
}

.policies-breadcrumb {
    font-family: 'Geist Mono', monospace;
    font-weight: 400;
    font-size: 20px;
    color: #ED2215;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .policies-breadcrumb span {
        color: #888;
    }

.policies-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 40px;
    width: 780px;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #171717;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.policies-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #171717;
    margin-bottom: 15px;
}

.policies-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #525252;
    margin-bottom: 20px;
}

    .policies-text p {
        margin-bottom: 20px;
        font-weight: 400;
        width: 780px;
    }

/* Responsive */
@media (max-width: 992px) {
    .policies-sidebar {
        position: static;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 1px solid #EAEAEA;
    }

    .policies-content {
        padding-left: 0;
    }

    .policies-title {
        font-size: 32px;
        width: 100%;
    }

    .policies-text p {
        width: 100%;
    }
}

/* Services Page Styles */
.services-content-section {
    background-color: #ffffff;
    padding: 50px 0;
}

    .services-content-section .row.align-items-center > .col-lg-5 {
        margin-right: 80px;
    }

        .services-content-section .row.align-items-center > .col-lg-5.order-lg-2 {
            margin-right: 0;
            margin-left: 40px;
        }

.service-text-content {
    padding: 20px 0;
}

.service-label {
    font-family: 'Geist Mono', monospace;
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
    margin-bottom: 20px;
    color: #ED2215;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.service-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #171717;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -3px;
}

.service-description {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 0px;
    color: #525252;
}

    .service-description p {
        margin-bottom: 20px;
    }

.service-list-title {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #171717;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

    .service-list li {
        font-family: 'DM Sans', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 1.8;
        color: #525252;
        margin-bottom: 15px;
        padding-left: 25px;
        position: relative;
    }

        .service-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: #ED2215;
            font-weight: bold;
            font-size: 24px;
            line-height: 1;
        }

        .service-list li strong {
            color: #171717;
            font-weight: 600;
        }

.service-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Services Responsive */
@media (max-width: 992px) {
    .service-title {
        font-size: 40px;
    }

    .service-description {
        font-size: 16px;
    }

    .services-content-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .services-content-section {
        padding: 40px 0;
    }

        .services-content-section .container-fluid {
            padding: 0 15px;
        }

        .services-content-section .row.align-items-center {
            margin-bottom: 40px !important;
            padding-bottom: 40px !important;
        }

            .services-content-section .row.align-items-center > .col-lg-5,
            .services-content-section .row.align-items-center > .col-lg-6 {
                margin-right: 0 !important;
                margin-left: 0 !important;
                margin-bottom: 30px;
            }

    .service-text-content {
        padding: 0;
        text-align: center;
    }

    .service-label {
        font-size: 18px;
        text-align: center;
    }

    .service-title {
        font-size: 36px;
        text-align: center;
    }

    .service-description {
        font-size: 16px;
        text-align: center;
    }

    .service-image-wrapper {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .service-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .services-content-section {
        padding: 30px 0;
    }

    .service-label {
        font-size: 16px;
    }

    .service-title {
        font-size: 28px;
    }

    .service-description {
        font-size: 15px;
    }

    .service-image {
        max-height: 300px;
    }
}

/* Video Modal Styles */
.video-modal-content {
    background-color: #000000;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333333;
    padding: 15px 20px;
}

    .video-modal-header .modal-title {
        color: #ffffff;
        font-family: "Geist Mono", monospace;
        font-weight: 500;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

.video-modal-body {
    padding: 0;
    background-color: #000000;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

.video-modal-content .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

    .video-modal-content .btn-close:hover {
        opacity: 1;
    }

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.85);
}

@media (max-width: 768px) {
    .video-modal-content {
        margin: 10px;
    }

    .video-modal-header {
        padding: 12px 15px;
    }

        .video-modal-header .modal-title {
            font-size: 14px;
        }
}


/* About Page Tabs System */

.about-tabs-section {
    background-color: #f8f9fa; /* Light gray background for the tab bar */
    border-bottom: 1px solid #e9ecef;
}

.about-tabs-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto; /* Allow scrolling on mobile if needed */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Firefox */
}

    .about-tabs-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }

@media (max-width: 992px) {
    .about-tabs-nav {
        justify-content: flex-start;
        padding-left: 20px; /* Start with some spacing */
        padding-right: 20px;
    }
}

.about-tab-item {
    margin: 0 15px;
}

.about-tab-link {
    display: block;
    padding: 20px 10px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
}

    .about-tab-link:hover {
        color: #000;
    }

    .about-tab-link.active {
        color: #000;
        font-weight: 600;
    }

        /* Underline indicator for active tab */
        .about-tab-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: #000; /* Or branding color if preferred */
        }

/* Tab Content Areas */
.about-tab-content-wrapper {
    padding: 50px 0;
    background-color: #fff;
    min-height: 400px;
}

.about-tab-pane {
    display: none; /* Hidden by default */
    animation: fadeIn 0.4s ease-in-out;
}

    .about-tab-pane.active {
        display: block; /* Show when active */
    }

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

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

/* Content Styling inside tabs */
.about-content-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-content-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Certificates Section Styles */
.certificates-section {
    padding-bottom: 60px;
}

.certificate-card {
    background: #fff;
    border: 1px solid #EAEAEA;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    /* Fixed height as requested in design (approximately) */
    min-height: 432px;
}

.cert-image-wrapper {
    padding: 40px 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    background-color: #fff;
}

    .cert-image-wrapper img {
        max-width: 100%;
        max-height: 250px; /* Limit height to fit design */
        object-fit: contain;
        filter: grayscale(100%);
        transition: filter 0.3s ease;
    }

.certificate-card:hover .cert-image-wrapper img {
    filter: grayscale(0%);
}

.cert-info {
    padding: 0 20px 20px;
    text-align: center;
}

.cert-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.btn-cert-view {
    display: block;
    width: 100%;
    background-color: #F5F5F5;
    color: #171717;
    text-align: center;
    padding: 16px 0;
    font-family: 'Geist Mono', monospace;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: auto; /* Push to bottom */
}

    .btn-cert-view:hover {
        background-color: #ED2215;
        color: #fff;
    }

/* Certificate Lightbox Modal Styles */
.certificate-modal-content {
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.certificate-modal-header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333333;
    padding: 15px 20px;
}

    .certificate-modal-header .modal-title {
        color: #ffffff;
        font-family: "Geist Mono", monospace;
        font-weight: 500;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

.certificate-modal-body {
    padding: 30px;
    background-color: #ffffff;
    text-align: center;
}

.certificate-lightbox-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    background-color: #f5f5f5;
    border-radius: 4px;
    padding: 20px;
}

    .certificate-lightbox-image img {
        max-width: 100%;
        max-height: 600px;
        width: auto;
        height: auto;
        object-fit: contain;
        filter: grayscale(0%);
    }

.certificate-lightbox-name {
    margin-top: 20px;
}

    .certificate-lightbox-name h3 {
        font-family: 'DM Sans', sans-serif;
        font-size: 24px;
        font-weight: 600;
        color: #171717;
        margin: 0;
    }

.certificate-modal-content .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

    .certificate-modal-content .btn-close:hover {
        opacity: 1;
    }

/* Modal Backdrop */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.85);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certificate-card {
        min-height: auto;
    }

    .cert-image-wrapper {
        padding: 30px 20px;
    }

        .cert-image-wrapper img {
            max-height: 200px;
        }

    .certificate-modal-content {
        margin: 10px;
    }

    .certificate-modal-header {
        padding: 12px 15px;
    }

        .certificate-modal-header .modal-title {
            font-size: 14px;
        }

    .certificate-modal-body {
        padding: 20px 15px;
    }

    .certificate-lightbox-image {
        min-height: 300px;
        padding: 15px;
    }

        .certificate-lightbox-image img {
            max-height: 400px;
        }

    .certificate-lightbox-name h3 {
        font-size: 20px;
    }
}
/* ... existing styles ... */

/* Koç Holding Section Styles */

.koc-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.koc-text-col {
    flex: 1;
}

.koc-image-col {
    flex: 1;
    position: relative;
}

.koc-label {
    font-family: Geist Mono, monospace;
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
    color: #ED2215;
    margin-top: 20px;
    letter-spacing: 1px;
}

.koc-title {
    font-family: DM Sans, sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: -5%;
    color: #171717;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 20px;
    letter-spacing: -3px;
}

.koc-description {
    font-family: DM Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #525252;
    margin-top: 20px;
}

    .koc-description p {
        font-weight: 400;
        margin-bottom: 20px;
    }

        .koc-description p:last-child {
            margin-bottom: 0;
        }

.koc-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    max-width: 480px; /* Limit max width on desktop */
    height: 640px;
    margin: 0 auto; /* Center the image if container is larger */
}

    .koc-image-wrapper img.main-img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.koc-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px; /* Adjust as needed */
    height: auto;
    z-index: 2;
}

@media (max-width: 991px) {
    .koc-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .koc-title {
        font-size: 32px;
    }
}

/* Organization Chart Section Styles */
.organization-chart-section {
    padding: 50px 0;
    background: #fff;
}

.org-chart-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 15px;
}

.org-chart-row-single {
    justify-content: center;
}

    .org-chart-row-single .org-chart-card {
        width: 100%;
        max-width: 100%;
    }

.org-chart-row-triple {
    justify-content: center;
    flex-wrap: wrap;
}

.org-chart-card {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    padding: 40px 25px;
    text-align: center;
    min-width: 280px;
    transition: all 0.3s ease;
}

.org-card-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 8%;
    overflow: hidden;
    border: 3px solid #E0E0E0;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.org-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.org-chart-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #B0B0B0;
}

.org-card-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    background-image: linear-gradient(45deg, #171717 55%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.org-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #888888;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.org-card-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

    .org-card-linkedin:hover {
        transform: scale(1.1);
    }

    .org-card-linkedin svg {
        width: 24px;
        height: 24px;
    }

/* Responsive adjustments */
@media (max-width: 992px) {
    .org-chart-row-single .org-chart-card {
        width: 100%;
    }

    .org-chart-card {
        min-width: 240px;
        padding: 35px 50px;
    }

    .org-card-name {
        font-size: 22px;
    }

    .org-card-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 18px;
    }
}

@media (max-width: 768px) {
    .organization-chart-section {
        padding: 40px 0;
    }

    .org-chart-row {
        margin-bottom: 30px;
        gap: 20px;
    }

    .org-chart-row-single .org-chart-card {
        width: 100%;
    }

    .org-chart-card {
        min-width: 200px;
        padding: 30px 40px;
    }

    .org-card-name {
        font-size: 20px;
    }

    .org-card-title {
        font-size: 14px;
    }

    .org-card-photo {
        width: 90px;
        height: 90px;
        margin-bottom: 15px;
    }

    .org-chart-row-triple {
        flex-direction: column;
    }

        .org-chart-row-triple .org-chart-card {
            width: 100%;
            max-width: 100%;
        }
}

@media (max-width: 576px) {
    .org-chart-row-single .org-chart-card {
        width: 100%;
    }

    .org-chart-card {
        padding: 25px 30px;
    }

    .org-card-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .org-chart-row-triple .org-chart-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Shipyard Tabs Section */
.shipyard-tabs-section {
    background-color: #f8f9fa; /* Light gray background for the tab bar */
    border-bottom: 1px solid #e9ecef;
}

.shipyard-tabs-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto; /* Allow scrolling on mobile if needed */
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Firefox */
}

    .shipyard-tabs-nav::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Opera */
    }

@media (max-width: 992px) {
    .shipyard-tabs-nav {
        justify-content: flex-start;
        padding-left: 20px; /* Start with some spacing */
        padding-right: 20px;
    }
}

.shipyard-tab-item {
    margin: 0 15px;
}

.shipyard-tab-link {
    display: block;
    padding: 20px 10px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
}

    .shipyard-tab-link:hover {
        color: #000;
    }

    .shipyard-tab-link.active {
        color: #000;
        font-weight: 600;
    }

        /* Underline indicator for active tab */
        .shipyard-tab-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 1px;
            background-color: #000; /* Or branding color if preferred */
        }

/* Facilities Section Styles */
.facilities-section {
    padding: 20px 0 80px 0;
}

.facility-row {
    margin-bottom: 120px;
}

    .facility-row:last-child {
        margin-bottom: 0;
    }

.facility-label {
    font-family: "Geist Mono", monospace;
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ED2215;
    margin-bottom: 20px;
}

.facility-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 500; /* Semi-bold */
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.facility-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 30px;
}

.facility-text-col {
    display: flex;
    flex-direction: column;
}

.facility-stats {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .facility-stats li {
        font-family: 'DM Sans', sans-serif;
        font-size: 16px;
        color: #444;
        margin-bottom: 10px;
        line-height: 1.5;
    }

        .facility-stats li strong {
            color: #171717;
            font-weight: 700;
        }

.facility-image-wrapper {
    width: 100%;
    /* Aspect ratio close to design */
    aspect-ratio: 3/4;
    background-color: #f0f0f0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

    .facility-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .facility-image-wrapper:hover img {
        transform: scale(1.03);
    }

/* Feature List for Slipway section */
.facility-feature-list {
    margin-top: 40px;
}

.feature-item {
    margin-bottom: 30px;
}

    .feature-item:last-child {
        margin-bottom: 0;
    }

.feature-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1F3F3F;
    margin-bottom: 8px;
    display: block;
}

.feature-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.5;
    display: block;
}

/* Layout Full Section (Full Width Breakout) */
.layout-full-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #1a1a1a;
    overflow: hidden;
    margin-bottom: 60px;
}

.layout-map-container {
    position: relative;
    width: 100%;
    height: 85vh; /* Taller for immersive feel */
    min-height: 700px;
}

.layout-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.85); /* Slightly darker */
}

/* Hotspots */
.layout-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 20;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotspot-indicator {
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.hotspot-center {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.layout-hotspot:hover .hotspot-indicator {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Active Hotspot Style (Red) */
.layout-hotspot.active .hotspot-center {
    background-color: #ED2215; /* Red center */
    border: 2px solid #fff;
    width: 14px;
    height: 14px;
}

.layout-hotspot.active .hotspot-indicator {
    background-color: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Info Cards Layer */
.layout-cards-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to map/hotspots */
}

/* Info Card */
.layout-info-card {
    position: absolute;
    width: 380px; /* Wider card as in design */
    background-color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: auto; /* Enable interaction within card */
    display: flex;
}

    .layout-info-card.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.card-border-line {
    width: 6px;
    background-color: #ED2215;
    flex-shrink: 0;
}

.card-content {
    padding: 30px;
    flex-grow: 1;
}

.layout-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 600; /* Semi-bold */
    color: #171717;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 20px;
    margin-top: 0;
}

.layout-card-image {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    margin-bottom: 20px;
    overflow: hidden;
}

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

.layout-card-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.layout-card-list {
    list-style: none; /* Custom bullet points */
    padding-left: 0;
    margin: 0;
}

    .layout-card-list li {
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
        color: #444;
        margin-bottom: 10px;
        line-height: 1.5;
        position: relative;
        padding-left: 15px;
    }

        .layout-card-list li::before {
            content: "•";
            color: #888;
            position: absolute;
            left: 0;
            font-weight: bold;
        }

/* Responsive adjustments */
@media (max-width: 991px) {
    .facility-row {
        margin-bottom: 80px;
    }

    .facility-title {
        font-size: 32px;
    }

    .facility-image-wrapper {
        margin-top: 40px;
        aspect-ratio: 4/3; /* Wider on mobile */
    }

    /* When image is on top in desktop (order-lg-1), it needs margin bottom instead of top */
    .order-lg-1 .facility-image-wrapper {
        margin-top: 0;
        margin-bottom: 40px;
    }

    .layout-map-container {
        height: 70vh;
        min-height: 600px;
    }

    .layout-info-card {
        width: 340px;
    }
}

@media (max-width: 768px) {
    .shipyard-tab-link {
        font-size: 14px;
    }

    .facilities-section {
        padding: 0 0 60px 0;
    }

    .facility-title {
        font-size: 28px;
    }

    .layout-info-card {
        position: fixed;
        bottom: 0;
        left: 0 !important; /* Override inline styles */
        top: auto !important; /* Override inline styles */
        width: 100%;
        max-height: 60vh;
        overflow-y: auto;
        transform: translateY(100%);
        box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
    }

        .layout-info-card.active {
            transform: translateY(0);
        }

    .card-border-line {
        width: 100%;
        height: 4px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .layout-info-card {
        flex-direction: column;
        padding-top: 4px; /* Space for border line */
    }

    /* Card Header with Toggle */
    .layout-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .layout-card-title {
        margin-bottom: 0;
    }

    .layout-card-toggle {
        background: none;
        border: none;
        padding: 5px;
        cursor: pointer;
        color: #171717;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

        .layout-card-toggle i {
            transition: transform 0.3s ease;
        }

    .layout-info-card.collapsed .layout-card-toggle i {
        transform: rotate(-90deg);
    }

    /* Card Body - Collapsible */
    .layout-card-body {
        max-height: 1000px;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 1;
    }

    .layout-info-card.collapsed .layout-card-body {
        max-height: 0;
        opacity: 0;
        margin: 0;
        padding: 0;
    }

    .layout-info-card.collapsed .layout-card-desc,
    .layout-info-card.collapsed .layout-card-list {
        display: none;
    }

    .layout-info-card.collapsed {
        max-height: 9vh;
    }
}

.new-projects-header {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.btn-career-cta {
    display: inline-block;
    font-family: Geist Mono;
    font-weight: 500;
    color: #262626;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    background-color: #0000000F;
    padding: 15px 30px;
    letter-spacing: 1px;
    margin-top: 30px;
}

    .btn-career-cta:hover {
        background-color: #e0e0e0;
        color: #000;
    }

/* Career Culture Section */
.career-culture-section {
    padding: 0px 0;
    background-color: #fff;
    max-width: 1100px;
    margin: 0 auto;
}

.culture-label {
    font-family: 'Geist Mono', monospace;
    color: #ed2215;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
}

.culture-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 500;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.culture-description {
    font-family: DM Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
}

/* Culture Image Styles */
.culture-image-wrapper {
    width: 100%;
    height: 100%;
}

.culture-single-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .career-culture-section {
        padding: 60px 0;
    }

    .culture-image-wrapper {
        margin-top: 40px;
    }

    .culture-title {
        font-size: 32px;
    }
}

/* Career Stats Section */
.career-stats-section {
    padding-bottom: 50px;
    padding-top: 50px;
    background-color: #fff;
}

.stats-grid-container {
    background-color: #f5f5f5;
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
}

.career-stat-item {
    text-align: center;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}

    .career-stat-item:hover {
        background-color: #e0e0e0; /* Darker gray on hover */
        transform: translateY(-5px);
    }

/* Vertical divider lines */
.border-start-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background-color: #d0d0d0;
}

.career-stat-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #333;
    line-height: 1;
    margin-bottom: 15px;
}

.career-stat-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .career-stat-number {
        font-size: 36px;
    }

    .border-start-item::before {
        display: none;
    }

    .col-6:nth-child(even) .career-stat-item {
        border-left: 1px solid #d0d0d0;
    }

    .col-6:nth-child(-n+2) .career-stat-item {
        border-bottom: 1px solid #d0d0d0;
    }
}

/* Open Positions Section */
.open-positions-section {
    padding: 80px 0;
    background-color: #fff;
}

.open-positions-container {
    max-width: 1100px;
    margin: 0 auto;
}

.positions-title {
    font-family: DM Sans;
    font-weight: 500;
    font-style: Regular;
    font-size: 40px;
    line-height: 110%;
    letter-spacing: -3px;
    text-align: center;
    margin-bottom: 60px;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.positions-list {
    display: flex;
    flex-direction: column;
}

.position-item {
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    transition: background-color 0.3s ease;
}

    .position-item:last-child {
        border-bottom: 1px solid #e0e0e0;
    }

.position-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 10px;
}

.position-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #525252;
    margin-bottom: 20px;
    font-weight: 400;
}

.btn-view-details {
    font-family: 'Geist Mono', monospace;
    font-size: 14px;
    color: #ed2215;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .btn-view-details:hover {
        color: #b01030;
    }

/* Application Form Section */
.application-form-section {
    padding: 50px 0;
    background-color: #fcfcfc;
}

.application-form-container {
    max-width: 1100px;
    margin: 0 auto;
}

.form-input {
    height: 50px;
    border-radius: 2px;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #333;
    background-color: #fff;
}

    .form-input:focus {
        box-shadow: none;
        border-color: #aaa;
    }

textarea.form-input {
    height: 50px;
    resize: none;
}

.legal-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.legal-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-footer-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
}

.text-underline {
    text-decoration: underline;
    color: inherit;
}

.custom-radio .form-check-input, .custom-checkbox .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0;
    margin-right: 10px;
    border-color: #aaa;
}

    .custom-radio .form-check-input:checked {
        background-color: #666;
        border-color: #666;
    }

.form-check-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #333;
    padding-top: 2px;
}

.recaptcha-mock {
    width: 300px;
    height: 74px;
    background-color: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    display: flex;
    align-items: center;
}

.big-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #c1c1c1;
}

.btn-send {
    background-color: #ed2215;
    color: #fff;
    border: none;
    padding: 12px 35px;
    font-family: 'Geist Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0px 30px 30px 0px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-send:hover {
        background-color: #b01030;
    }

/* HR Policy Section */
.hr-policy-section {
    padding: 100px 0;
    background-color: #fff;
}

.hr-policy-container {
    max-width: 1100px;
    margin: 0 auto;
}

.hr-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.hr-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hr-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hr-logo-text {
    text-align: center;
}

.hr-logo-rmk {
    font-family: 'Montserrat', sans-serif; /* Fallback to standard sans if custom font not loaded, using similar style */
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 0.9;
    letter-spacing: 2px;
}

.hr-logo-marine {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    letter-spacing: 8px;
    margin-top: 5px;
}

.hr-section-label {
    font-family: 'Geist Mono', monospace;
    color: #ed2215;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hr-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 500;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -3px;
}

.hr-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #525252;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 15px;
}

.hr-list-item {
    margin-bottom: 12px;
}

.text-dark {
    color: #222 !important;
    font-weight: 700;
}

@media (max-width: 992px) {
    .hr-image-wrapper {
        height: 400px;
    }

    .hr-title {
        font-size: 32px;
    }
}

.contact-header-section {
    padding: 40px 0 60px;
}

.contact-label {
    font-family: 'Geist Mono', monospace;
    font-size: 20px;
    color: #ed2215;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #171717;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: -3px;
}

.contact-description {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #525252;
    max-width: 600px;
    font-weight: 400;
    margin: 0 auto;
}

/* Contact Main Section */
.contact-main-section {
    padding-bottom: 100px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Form Wrapper */
.contact-form-wrapper {
    background-color: #f5f5f5;
    padding: 40px;
}

.form-title, .info-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 600;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.text-blue {
    color: #3b5d72; /* Muted blue tone */
}

.form-input {
    height: 50px;
    border-radius: 2px;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #333;
    background-color: #fff;
}

textarea.form-input {
    height: auto;
    resize: none;
}

.form-input:focus {
    box-shadow: none;
    border-color: #aaa;
}

.form-select.form-input {
    color: #6c757d;
}

.small-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #333;
    padding-top: 3px;
}

.text-underline {
    text-decoration: underline;
    color: inherit;
}

.btn-send {
    background-color: #ed2215;
    color: #fff;
    border: none;
    padding: 12px 35px;
    font-family: 'Geist Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0px 30px 30px 0px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .btn-send:hover {
        background-color: #c71e13;
    }

.custom-checkbox .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0;
    margin-right: 10px;
    border-color: #aaa;
    border-radius: 2px;
}

    .custom-checkbox .form-check-input:checked {
        background-color: #999;
        border-color: #999;
    }

/* Contact Info */
.info-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

    .info-text p {
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 16px;
        line-height: 150%;
        letter-spacing: 0%;
    }

.map-link {
    color: #ED2215;
    text-decoration: none;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}

    .map-link:hover {
        text-decoration: underline;
    }

.info-icon {
    width: 20px;
    text-align: center;
    font-size: 18px;
    margin-top: 2px;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .contact-social .social-icon {
        font-size: 24px;
        color: #000;
        text-decoration: none;
        transition: opacity 0.3s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .contact-social .social-icon:hover {
            opacity: 0.7;
        }

.new-projects-header {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Ethical Principles Section */
.ethical-principles-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.ethical-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #102a3a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ethical-content {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #525252;
    line-height: 1.8;
}

    .ethical-content p {
        margin-bottom: 15px;
    }

        .ethical-content p:last-child {
            margin-bottom: 0;
        }

.milestone-detail-header {
    padding: 120px 0 60px;
    background: #fff;
}

.milestone-year {
    font-family: 'Geist Mono', monospace;
    color: #ED2215;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: block;
}

.milestone-detail-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.milestone-detail-content {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 3rem;
}

.milestone-detail-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 3rem;
}

.back-to-milestones {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #000;
    text-decoration: none;
    font-family: 'Geist Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

    .back-to-milestones:hover {
        color: #ED2215;
    }

/* News Detail Page Styles */
.news-detail-header {
    padding: 40px 0;
    text-align: center;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px !important;
}

.news-detail-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 56px;
    font-weight: 500;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -3px;
}

.news-detail-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.news-detail-image-section {
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 40px;
}

/* News Carousel Styles */
#newsCarousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

    #newsCarousel .carousel-inner {
        height: 700px;
    }

    #newsCarousel .carousel-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #newsCarousel .carousel-control-prev,
    #newsCarousel .carousel-control-next {
        width: 50px;
        height: 50px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

    #newsCarousel .carousel-control-prev {
        left: 20px;
    }

    #newsCarousel .carousel-control-next {
        right: 20px;
    }

        #newsCarousel .carousel-control-prev:hover,
        #newsCarousel .carousel-control-next:hover {
            opacity: 1;
        }

    #newsCarousel .carousel-control-prev-icon,
    #newsCarousel .carousel-control-next-icon {
        background-color: transparent !important;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23999'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") !important;
        width: 30px;
        height: 30px;
        border-radius: 0;
    }

    #newsCarousel .carousel-control-next-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23999'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    }

.news-detail-content {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
    color: #444;
    max-width: 1100px;
    margin: 0 auto;
}

    .news-detail-content .container-fluid {
        max-width: 900px;
        margin: 0 auto;
    }

    .news-detail-content p {
        margin-bottom: 30px;
    }

/* Other News Section */
.other-news-section {
    padding: 80px 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.other-news-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 500;
    background-image: linear-gradient(45deg, #171717 0%, #39819D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 50px;
}

.other-news-card {
    margin-bottom: 30px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.other-news-image-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

    .other-news-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.other-news-card:hover .other-news-image-wrapper img {
    transform: scale(1.05);
}

.other-news-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ED2215;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    letter-spacing: 1px;
    z-index: 2;
}

.other-news-date {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.other-news-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.other-news-card:hover .other-news-card-title {
    color: #ED2215;
}

.see-all-container {
    text-align: center;
    margin-top: 40px;
}

.btn-see-all {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 30px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

    .btn-see-all:hover {
        background-color: #e0e0e0;
        color: #000;
    }

@media (max-width: 992px) {
    .news-detail-title {
        font-size: 32px;
    }

    #newsCarousel .carousel-inner {
        height: 400px;
    }
}

/* News Page Specific Styles */
.news-tabs-section {
    background-color: #ffffff;
    padding-top: 0px;
}

    .news-tabs-section .container-fluid {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 15px;
        display: block; /* Changed from flex center to allow full width flow */
    }

.news-tabs-nav {
    display: flex;
    justify-content: space-between; /* Distribute items evenly */
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    border-bottom: none; /* Remove continuous border if any */
}

    .news-tabs-nav::after {
        display: none; /* Remove continuous line */
    }

/* Red underline for active tab should be above separator */
.news-tab-link.active::after {
    /* Handled in link styles */
}

.news-tabs-nav::-webkit-scrollbar {
    display: none;
}

@media (max-width: 992px) {
    .news-tabs-nav {
        justify-content: flex-start;
        gap: 30px; /* Use gap for mobile scrolling */
    }
}

.news-tab-item {
    margin: 0;
    position: relative;
    flex-grow: 1; /* Allow items to grow to fill space */
    text-align: center;
    display: flex;
    flex-direction: column;
}

    /* Remove vertical separators */
    .news-tab-item:not(:last-child)::after {
        display: none;
    }

    /* Hide separator after active tab and before active tab */
    .news-tab-item.hide-separator::after {
        display: none;
    }

.news-tab-link {
    display: block;
    padding: 15px 0;
    color: #888888;
    text-decoration: none;
    font-size: 14px; /* Slightly smaller as per image */
    font-weight: 400;
    text-transform: uppercase; /* Ensure uppercase */
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0; /* Default gray underline for all */
    margin: 0 15px; /* Gap between lines */
}

/* Adjust margin for first and last to align with edges if needed, or keep uniform gap */
.news-tab-item:first-child .news-tab-link {
    margin-left: 0;
}

.news-tab-item:last-child .news-tab-link {
    margin-right: 0;
}

.news-tab-link:hover {
    color: #000000;
    border-bottom-color: #b0b0b0;
}

.news-tab-link.active {
    color: #000000;
    font-weight: 600; /* Bold for active */
    border-bottom: 2px solid #ED2215; /* Red underline for active */
}

    .news-tab-link.active::after {
        display: none; /* Remove pseudo-element underline */
    }

.news-content-section {
    padding: 60px 0;
    background-color: #fff;
}

.news-grid-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.news-card-item {
    margin-bottom: 40px;
}

    .news-card-item .news-image-wrapper {
        position: relative;
        width: 100%;
        height: 280px;
        overflow: hidden;
        margin-bottom: 20px;
        background-color: #f0f0f0;
    }

        .news-card-item .news-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

    .news-card-item:hover .news-image-wrapper img {
        transform: scale(1.05);
    }

    .news-card-item .news-badge {
        position: absolute;
        top: 0;
        left: 0;
        background-color: #ED2215;
        color: #ffffff;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        padding: 6px 12px;
        letter-spacing: 1px;
        z-index: 2;
    }

    .news-card-item .news-date {
        font-family: 'DM Sans', sans-serif;
        font-size: 12px;
        color: #888888;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 500;
    }

    .news-card-item .news-card-title {
        font-family: 'DM Sans', sans-serif;
        font-size: 18px;
        font-weight: 400;
        color: #000000;
        line-height: 1.4;
        margin: 0;
        transition: color 0.3s ease;
    }

    .news-card-item:hover .news-card-title {
        color: #ED2215;
    }

@media (max-width: 768px) {
    .news-card-item .news-image-wrapper {
        height: 220px;
    }

    .news-card-item .news-card-title {
        font-size: 16px;
    }
}
.terscevir{
    flex-direction:row-reverse;
}
.modal.modalzindex.fade.ng-scope.ng-isolate-scope.show {
    display: none!important;
}.modal-backdrop.fade.ng-scope.show {
    display: none;
}

/* Desktop/tablet: grid gibi dursun */
@media (min-width: 992px) {
  .news-swiper .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem; /* gap-5 benzeri */
    justify-content: center;
    transform: none !important; /* swiper translate'i etkisiz */
  }

  .news-swiper .swiper-slide {
    width: calc(25% - 2rem); /* 4'lü görünüm (col-lg-3) */
    max-width: 360px;        /* isteğe bağlı */
  }

  .news-swiper-pagination {
    display: none;
  }
}

/* Mobil: swiper aktif, slide genişliği otomatik */
@media (max-width: 991.98px) {
  .news-swiper {
    padding-bottom: 24px; /* pagination için boşluk */
  }
}

@media (min-width:992px)
{.col-lg-20{
	flex: 0 0 20%;
	max-width: 20%;
}
}

