@font-face {
    font-family: 'Figtree';
    src: url('../fonts/fingtree/Figtree-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope/Manrope-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: 300;
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/bebusneue/BebasNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Logo Styles --- */
.mobile-logo {
    display: none;
    /* Hidden on desktop */
    height: 110px;
    width: auto;
}

/* --- Desktop Styles --- */
.nav-container {
    background-color: black;
    border: 2px solid #e31e24;
    border-radius: 100% / 100%;
    padding: 15px 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 854px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-family: 'Bodoni Moda', serif;
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    text-transform: capitalize;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #ccc;
}

.nav-item {
    position: relative;
}

.clients-tag {
    display: none;
    background-color: #e31e24;
    color: white;
    font-family: 'Bodoni Moda', serif;
    font-weight: 900;
    font-style: italic;
    font-size: 18px;
    padding: 8px 25px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-decoration: none;
}

.nav-item:hover .clients-tag {
    display: block;
}

/* --- Hamburger / Mobile Styles --- */
.hamburger {
    display: none;
    cursor: pointer;
    width: 40px;
    height: 30px;
    position: relative;
    z-index: 100;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #e31e24;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 12px;
}

.hamburger span:nth-child(3) {
    top: 24px;
}

.hamburger.open span:nth-child(1) {
    top: 12px;
    transform: rotate(135deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.open span:nth-child(3) {
    top: 12px;
    transform: rotate(-135deg);
}

.mobile-only {
    display: none;
}

/* --- Media Query --- */
@media screen and (max-width: 854px) {

    .nav-container {
        min-width: unset;
        width: 100%;
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        display: flex;
        /* Changed from inline-flex to flex */
        justify-content: center;
        /* Space between logo and hamburger */
        padding: 10px;
        box-sizing: border-box;
    }

    .mobile-logo {
        display: block;
        /* Show only on mobile */
    }

    .hamburger {
        display: block;
        margin-top: 110px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        justify-content: center;
        gap: 20px;
        z-index: 90;
        margin: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        font-size: 28px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

.hero-section {
    height: 100vh;
    background: url('../images/henkels-hero.png') no-repeat center center/cover;
    display: flex;
    justify-content: start;
    align-items: center;
}

.hero-section-heading {
    font-size: 65px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

.hero-section-heading-container {
    background-color: #008453CC;
    padding: 40px 60px;
}

.hero-section-heading-container {
    background-color: #008453CC;
    padding: 40px 60px;
    text-align: center;
    /* Ensures text inside is centered */
}

@media (max-width: 1023px) {

    .hero-section-heading {
        font-size: 48px;
    }

}

/* Mobile (sm) */
@media (max-width: 767px) {

    .hero-section-heading {
        font-size: 28px;
    }

    .hero-section-heading-container {

        padding: 40px 40px;
    }

}

* {
    box-sizing: border-box;
}

.graph-outer-container {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 10px;
}

.graph-outer-container .flex-thirty {
    flex-basis: 30%;
}

.graph-outer-container .flex-seventy {
    flex-basis: 70%;
}

.graph-cell {
    min-height: 75px;
    flex-grow: 1;
    flex-basis: 100%;
}

.fixed-3-7 .col-sm-3 {
    width: 25%;
}

.fixed-3-7 .col-sm-9 {
    width: 75%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .graph-cell {
        min-height: 100px;
    }

    .graph-outer-container {
        flex-wrap: wrap;
    }
}

.construction_section {
    padding: 50px 60px;
}

.join_us_text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

.join_us h3 {
    color: #081A31;
    font-size: 32px;
    line-height: 42px;
    font-weight: 300;
    margin-bottom: 30px;
}

.join_us h3 strong {
    font-weight: 600;
}



.custom_slider_classes .text-justify {
    text-align: justify;
}

.custom_slider_classes .carousel-control-prev,
.custom_slider_classes .carousel-control-next {
    width: 10rem !important;
}

.custom_slider_classes .btn-primary {
    padding: 0.5em 1em !important;
    background-color: $secondary-color !important;
    color: #000000 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease 0s !important;

    &:hover {
        background-color: #f8edeb !important;
        color: $accent-color !important;
    }
}

.custom_slider_classes h3 {
    color: #000000;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    padding-top: 100px;
}

.custom_slider_classes p_arrow_slide_icon svg {
    fill: #000000;
}

.custom_slider_classes .slider-preview {
    background: #f4f4f4;
    border: 1px solid #bdbdbd;
    border-radius: 7px;
    height: 550px;
    width: 100%;
}

.project-list-view-section .project-item {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-list-view-section .project-section-flex-container {
    height: 100%;
}

.project-list-view-section .col-lg-6 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-list-view-section .col-lg-6 img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.project-list-view-section .project-section-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .5rem;
    padding: 2rem;

}


.project-list-view-section .project-section-learn-more {
    color: #000;
    background-color: rgba(255, 223, 73, 1);
    text-decoration: none;
    padding: 0.625rem 1.25rem;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 150px;

}

.project-list-view-section .project-section-learn-more:hover {
    background-color: rgb(247, 209, 42);

    color: #000;

    text-decoration: none;

}

.project-list-view-section .project-main-heading {
    text-transform: uppercase;
}


/* On small screens, allow items to stack naturally */
@media (max-width: 767.98px) {
    .project-list-view-section .project-item {
        height: auto;
    }

    .project-list-view-section .col-lg-6 {
        height: auto;
    }

    .project-list-view-section .col-lg-6 img {
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }

    .project-list-view-section .project-section-card {
        padding: 1.5rem;
    }
}


/* hero section ends */


.news-list-section .news-card {
    background-color: rgba(0, 132, 83, 0.08);
    border-radius: 0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.news-list-section .news-title {
    font-weight: 700;
    text-transform: uppercase;
}

.news-list-section .news-date {
    font-size: 0.875rem;
    color: #6c757d;
}

.news-list-section .news-body {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.news-list-section .read-more-btn {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 0;
    background-color: #fff !important;
}

.news-list-section .read-more-btn:hover {
    color: #272525;
}

.news-list-section .pagination-container {
    margin-top: 2rem;
    text-align: left;
}

.news-list-section .page-item #page-link {
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid #000000;
    color: #000000;
    transition: 0.2s ease;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 5px;
    text-align: center;
    line-height: 40px;
}

.news-list-section .page-item #page-link:hover {
    background-color: #e2e6ea;
    border-radius: 5px;
}

.news-list-section .page-item.active #page-link {
    background-color: rgba(0, 132, 83, 1);
    color: white;
    border-radius: 5px;
    border: none;
}


section.contact_section_form {
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: #ebf5f1;
    flex-wrap: wrap;
    min-height: 50vh;
}

.contact_section_form .contact_img {
    width: 50%;
}

.contact_section_form .contact_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    display: block;
}

.contact_section_form .contact_field {
    width: 50%;
    padding: 0 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact_section_form .contact_field button {
    background-color: #028554;
    width: 100%;
    padding: 15px;
    color: white;
    font-size: 16px;
    border: none;
}

.contact_section_form .contact_field label {
    width: 100%;
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.contact_field input,
.contact_field select,
.contact_field textarea {
    width: 100%;
    display: block;
    outline: none;
    border: none;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    box-sizing: border-box;
}

.contact_section_form .contact_field textarea {
    height: 150px;
    color: grey;
    font-family: "Inter", sans-serif;
}

.contact_section_form .input_radio,
.contact_section_form .input_checkbox {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: baseline;
    margin-bottom: 10px;
}

.contact_section_form .input_radio input,
.contact_section_form .input_checkbox input {
    width: auto;
    margin: 0;
}

.contact_section_form .input_radio label,
.contact_section_form .input_checkbox label {
    width: auto;
    margin-left: 5px;
}

@media (max-width: 991px) {
    section.contact_section_form {
        min-height: auto;
    }

    .contact_section_form .contact_img,
    .contact_section_form .contact_field {
        width: 100%;

    }

    .contact_section_form .contact_img {
        height: 400px;
        object-fit: cover;
    }

    .contact_section_form .contact_img img {
        height: 100%;
    }

    .contact_section_form .contact_field {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .contact_section_form .contact_field {
        padding: 20px;
    }


    .contact_section_form .contact_field button {
        padding: 12px;
        font-size: 14px;
    }

    .contact_field input,
    .contact_field select,
    .contact_field textarea {
        padding: 12px;
        font-size: 13px;
    }

    .contact_section_form .contact_img {
        height: 250px;
    }
}

.table_section {
    padding: 20px;
    line-height: 1.6;
}

.table_section .search_section label {
    display: block;
    color: #000;
    font-weight: 600;
    margin-bottom: 5px;
}

.table_section .search_section input[type="search"] {
    width: 100%;
    min-width: 250px;
    height: 52px;
    background-color: transparent;
    border: 1px solid #cccccc;
    border-radius: 7px;
    padding: 0 15px;
    font-size: 16px;
}

/* Table styles */
.table_section .table-container {
    overflow-x: auto;
    margin: 25px 0;

    border-radius: 5px;
    background: rgba(235, 245, 241, 1);
}

.table_section .styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
    min-width: 600px;
}

.table_section .styled-table caption {
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.table_section .styled-table thead tr {
    background-color: #ebf5f1;
    color: #000;
    text-align: left;
    font-weight: bold;
}

.table_section .styled-table th,
.styled-table td {
    padding: 16px 20px;
    text-align: left;
}

.table_section .styled-table tbody tr:nth-of-type(odd) {
    background-color: #fafdfc;
}

.table_section .styled-table tbody tr:nth-of-type(even) {
    background-color: #f5faf8;
}

.table_section .styled-table tbody tr:hover {
    background-color: #d8efe5;
}

/* Mobile card view */
.mobile-cards {
    display: none;
}

.mobile-card {
    background: white;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-card-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.mobile-card-row:last-child {
    border-bottom: none;
}

.mobile-card-label {
    font-weight: bold;
    color: #555;
    min-width: 120px;
}

/* Pagination styles */
.table_section .button_pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.table_section .button_secion button {
    padding: 8px 15px;
    border: none;
    color: white;
    font-weight: 400;
    background-color: rgba(0, 132, 83, 1);
    border-radius: 0px;
}

.table_section select.rows-per-page {
    border: none;
    background: transparent;
    margin-right: 20px;
    font-size: 18px;
}

.table_section span.page-info {
    font-size: 18px;
    margin-right: 20px;
    font-weight: 500;
}

.table_section button.nav-btn {
    border: 1.5px solid black;
    padding: 10px;
    border-radius: 5px;
    background: transparent;
}

.table_section button.nav-btn.active {
    background: black;
}

.table_section button.nav-btn.active svg path {
    stroke: white;
}

.table_section .top-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3;
}

@media (max-width: 767px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 15px;
    }

    .table_section .top-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        gap: 10px;
        margin-bottom: 3;
    }

    .table_section .search_section {

        width: 100%;
    }

    .table_section .search_section input[type="search"] {
        max-width: 100%;
    }

    .table_section .styled-table {
        display: none;
    }

    .mobile-cards {
        display: block;
    }

    .table_section .button_pagination {
        justify-content: space-between;
    }
}

.table_section button.nav-btn {

    cursor: pointer;
    /* Added this line */
}

.table_section button.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #ccc;
}

.table_section button.nav-btn:disabled svg path {
    stroke: #ccc;
}

/* Add these styles to your existing CSS */
.table_section button.nav-btn.active {
    background: black;
}

.table_section button.nav-btn.active svg path {
    fill: white;
    /* Changed from stroke to fill */
}



.image-gallery-section {
    width: 100%;
    padding: 0 60px;
}

.image-gallery-section .main-image-wrapper {
    position: relative;
    margin-bottom: 120px;
    max-width: 100%;
}

.image-gallery-section .main-image {
    width: 100%;
    height: 500px;
    min-width: 250px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
    display: block;
    margin: 0 auto;
}

.image-gallery-section .thumbnails-scroll-container {
    position: absolute;
    bottom: -50px;
    left: -50px;
    right: 0;
    overflow-x: auto;
    padding: 0 10px;
    margin: 0 auto;
}

.image-gallery-section .thumbnails-container {
    display: flex;
    /* gap: 10px;s */
    width: max-content;
    padding: 10px 0;
}

.image-gallery-section .thumbnail,
.image-gallery-section .add-thumbnail {
    width: 90px;
    height: 90px;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s;
}

.image-gallery-section .active-thumbnail {
    border: 2px solid #007bff;
}

.image-gallery-section .add-thumbnail {
    background-color: #f8f9fa;
    font-size: 1.8rem;
    color: #6c757d;
    border: 1px dashed #ccc;
}

/* Scrollbar styling */
.image-gallery-section .thumbnails-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.image-gallery-section .thumbnails-scroll-container::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 5px;
}

.image-gallery-section .thumbnails-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-gallery-section .main-image-wrapper {
        margin-bottom: 100px;
    }

    .image-gallery-section .thumbnail,
    .image-gallery-section .add-thumbnail {
        width: 70px;
        height: 70px;
    }

    .image-gallery-section .image-gallery-section {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
    }

    .image-gallery-section .main-image {
        height: 400px;
    }

    .image-gallery-section .thumbnails-scroll-container {
        bottom: -45px;
        left: -50px;
    }
}

@media (max-width: 576px) {
    .image-gallery-section .main-image-wrapper {
        margin-bottom: 90px;
    }

    .image-gallery-section .thumbnail,
    .image-gallery-section .add-thumbnail {
        width: 60px;
        height: 60px;
    }

    .image-gallery-section .image-gallery-section {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
    }

    .image-gallery-section .main-image {
        height: 300px;
    }

    .image-gallery-section .thumbnails-scroll-container {
        bottom: -40px;
        left: -40px;
    }
}


.custom-swipper-slider-new .slider-container {
    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    display: flex;
    gap: 1rem;
    padding: 1rem;
    /* Hide scrollbar */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-swipper-slider-new .slider-container::-webkit-scrollbar {
    display: none;
}

.custom-swipper-slider-new .slide {
    scroll-snap-align: start;
    background: #007bff;
    color: white;
    border-radius: 10px;
    height: 300px;
    padding: 2rem;
    text-align: center;
    flex: 0 0 calc(100% / var(--slides-per-view) - 1.5rem);
}

.custom-swipper-slider-new .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
}

.custom-swipper-slider-new .slider-nav button {
    pointer-events: all;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-swipper-slider-new .slider-nav button:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.custom-swipper-slider-new .slider-nav button i {
    font-size: 1.2rem;
    color: #007bff;
}

.custom-swipper-slider-new .slider-wrapper {
    position: relative;
}

.site-footer {
    background-color: #000000;
    border-top: 2px solid #e31e24;
    border-bottom: 2px solid #e31e24;
    padding: 20px 40px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    margin: 0;
}

.creator-link:hover {
    text-decoration: underline;
}

@media screen and (max-width: 854px) {
    .site-footer {
        justify-content: center;
        text-align: center;
        padding: 15px 20px;
        font-size: 12px;
    }
}

.project-card {
    width: 100%;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px) scale(1.02);
}

.project-card:hover .card-frame {
    border-color: #e31e24;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9),
        0 0 18px rgba(227, 30, 36, 0.55),
        5px 5px 15px rgba(0, 0, 0, 0.6);
}

.card-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 3px solid #444;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8), 4px 4px 12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    background: #111;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* subtle grunge corner overlays */
.card-frame::before,
.card-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #e31e24;
    border-style: solid;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-frame::before {
    top: 4px;
    left: 4px;
    border-width: 2px 0 0 2px;
}

.card-frame::after {
    bottom: 4px;
    right: 4px;
    border-width: 0 2px 2px 0;
}

.project-card:hover .card-frame::before,
.project-card:hover .card-frame::after {
    opacity: 1;
}

.card-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
    filter: brightness(0.88) contrast(1.05);
}

.project-card:hover .card-frame img {
    transform: scale(1.06);
    filter: brightness(1) contrast(1.08);
}

.project-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #fff;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    transition: color 0.25s ease;
}

.project-card:hover .project-title {
    color: #e31e24;
}

/* ── PROJECT HEADER ── */
.gd-project-header {
    text-align: center;
    margin-bottom: 28px;
}

.gd-project-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 18px rgba(227, 30, 36, 0.5);
    margin-bottom: 8px;
}

.gd-image-count {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #e31e24;
    font-weight: 600;
}

/* ── SLIDESHOW ── */
.gd-slideshow-wrap {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    cursor: pointer;
}

.gd-slide-frame {
    border: 3px solid #333;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(227, 30, 36, 0.25),
        6px 6px 20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    position: relative;
}

.gd-slide-frame::before,
.gd-slide-frame::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: #e31e24;
    border-style: solid;
    z-index: 3;
}

.gd-slide-frame::before {
    top: 6px;
    left: 6px;
    border-width: 2px 0 0 2px;
}

.gd-slide-frame::after {
    bottom: 6px;
    right: 6px;
    border-width: 0 2px 2px 0;
}

.gd-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.gd-slide-img.gd-active {
    opacity: 1;
}

.gd-open-hint {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    transition: background 0.3s ease;
}

.gd-slide-frame:hover .gd-open-hint {
    background: rgba(0, 0, 0, 0.35);
}

.gd-open-hint span {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #fff;
    background: rgba(227, 30, 36, 0.85);
    padding: 7px 18px;
    border-radius: 2px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    font-family: jura, sans-serif;
}

.gd-slide-frame:hover .gd-open-hint span {
    opacity: 1;
    transform: translateY(0);
}

.gd-slide-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid #e31e24;
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 3px 12px;
    z-index: 5;
    font-family: jura, sans-serif;
}

/* progress bar */
.gd-progress-wrap {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    margin-top: 10px;
}

.gd-progress-bar {
    height: 100%;
    background: #e31e24;
    width: 0%;
    transition: width linear;
}

/* dots */
.gd-dot-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.gd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #555;
    border: 1px solid #888;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    flex-shrink: 0;
}

.gd-dot.gd-active {
    background: #e31e24;
    border-color: #e31e24;
    transform: scale(1.3);
}

/* ── FACEBOOK ICON ── */
.gd-fb-wrap {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.gd-fb-icon {
    width: 40px;
    height: 40px;
    display: block;
}

/* ── STATUS ── */
.gd-status-msg {
    text-align: center;
    padding: 60px 20px;
    font-size: 15px;
    letter-spacing: 0.08em;
    color: #aaa;
}

.gd-status-msg.gd-error {
    color: #e31e24;
}

.gd-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(227, 30, 36, 0.3);
    border-top-color: #e31e24;
    border-radius: 50%;
    animation: gd-spin 0.8s linear infinite;
    margin-bottom: 12px;
}

@keyframes gd-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ════════════════════════════════════════
           MODAL
        ════════════════════════════════════════ */
.gd-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.gd-modal-overlay.gd-open {
    opacity: 1;
    pointer-events: all;
}

.gd-modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color 0.2s;
}

.gd-modal-close:hover {
    color: #e31e24;
}

.gd-modal-body {
    width: 90%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.gd-modal-caption {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #ccc;
    text-align: center;
    font-family: jura, sans-serif;
}

.gd-modal-caption strong {
    color: #fff;
}

.gd-modal-img-frame {
    width: 100%;
    border: 3px solid #e31e24;
    box-shadow: 0 0 30px rgba(227, 30, 36, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.8);
    background: #000;
    position: relative;
}

.gd-modal-img-frame::before,
.gd-modal-img-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #fff;
    border-style: solid;
    z-index: 2;
}

.gd-modal-img-frame::before {
    top: 6px;
    left: 6px;
    border-width: 2px 0 0 2px;
}

.gd-modal-img-frame::after {
    bottom: 6px;
    right: 6px;
    border-width: 0 2px 2px 0;
}

.gd-modal-img-frame img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.gd-modal-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.gd-modal-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #e31e24;
    color: #fff;
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    font-family: jura, sans-serif;
}

.gd-modal-btn:hover {
    background: #e31e24;
    transform: scale(1.08);
}

.gd-modal-index {
    font-size: 13px;
    letter-spacing: 0.12em;
    color: #aaa;
    min-width: 80px;
    text-align: center;
    font-family: jura, sans-serif;
}

.gd-modal-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    padding: 4px 2px;
    scrollbar-width: thin;
    scrollbar-color: #e31e24 #222;
}

.gd-modal-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gd-modal-thumbs::-webkit-scrollbar-track {
    background: #222;
}

.gd-modal-thumbs::-webkit-scrollbar-thumb {
    background: #e31e24;
}

.gd-modal-thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border: 2px solid #444;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
}

.gd-modal-thumb.gd-active,
.gd-modal-thumb:hover {
    opacity: 1;
    border-color: #e31e24;
}

/* ── RESPONSIVE ── */
@media (max-width: 854px) {
    .gd-header-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .gd-project-name {
        font-size: 16px;
    }
}