﻿/* Reset / base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: hidden;
}

.section {
    margin-bottom: 50px;
    min-height: 100svh;
}

/* Main start page */
#startPage {
    min-height: 100dvh;
    width: 100%;
    /*background: #e6e6e6;*/
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

button:focus:not(:focus-visible) {
    outline: none;
}

/* Logo container */
#mainLogoDiv {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

/* Logo image */
#Main_Logo {
    width: 420px;
    max-width: 70vw;
    height: auto;
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease;
}

    /* Hover (desktop) */
    #Main_Logo:hover {
        transform: scale(1.05);
    }

    /* Tap (mobile) */
    #Main_Logo:active {
        transform: scale(0.97);
    }

/* Helper text (desktop position) */
/*#helperText {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    color: red;
    font-size: 14px;
}*/

/* Hidden sections (if unused initially) */
.fadeable {
    display: none;
}

/* ======================= */
/* HOME SECTION */
/* ======================= */

#home {
    min-height: 100dvh;
    width: 100%;
    position: relative;
    /*overflow: hidden;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center content */
#contentSection2 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#Five_Logo {
    width: 500px;
    max-width: 70vw;
}

/* ========================= */
/* Top-left logo button */
/* ========================= */
#homeLogoDiv, #aboutLogoDiv, #projectsLogoDiv, #servicesLogoDiv, #gtInTchLogoDiv {
    position: absolute;
    top: 0;
    left: 0;
    /*width: 150px;
    height: 150px;*/
    /*background: rgb(254,192,68);*/
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 14;
}

#globalMenu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

    #globalMenu button {
        width: 150px;
        height: 150px;
        background: none;
        border: none;
        cursor: pointer;
        outline: 2px solid transparent;
    }

    #globalMenu img {
        width: 100%;
        height: 100%;
        border: none;
        cursor: pointer;
        /*background: rgb(254, 192, 68);*/
        /*transition: background-color 0.5s ease;*/
    }

    /* SHOW MENU */
    #globalMenu.show {
        opacity: 1;
        visibility: visible;
    }

#Home_Logo, #About_Logo, #Project_Logo, #Service_Logo, #GetInTouch_Logo {
    background: none;
    border: none;
    cursor: pointer;
    outline: 2px solid transparent;
}

    #Home_Logo img, #Project_Logo img, #Service_Logo img, #GetInTouch_Logo img {
        width: 100%;
    }

/* ========================= */
/* Slide Menu */
/* ========================= */
#menuContainer, #menuContainer2, #menuContainer3, #menuContainer4, #menuContainer5, #mainMenu {
    position: fixed;
    top: 150px; /* starts under logo */
    left: 0;
    width: 350px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 15;
}

    /* Active state */
    #menuContainer.open, #menuContainer2.open, #menuContainer3.open, #menuContainer4.open, #menuContainer5.open, #mainMenu.open {
        transform: translateX(0);
    }

/* Menu items */
.menu-item {
    padding: 30px;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 35px;
    text-align: center;
    cursor: pointer;
    font-family: 'Karla', sans-serif;
    font-weight: 700;
    display: flex;
    width: 100%;
    height: 95px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

    /* Individual colors (exact from your image) */

    /* HOME */
    .menu-item.home {
        background: rgb(254,192,68);
        color: rgb(188,90,47);
    }

    /* ABOUT */
    .menu-item.about {
        background: rgb(188,90,47);
        color: rgb(13,57,84);
    }

    /* PROJECTS */
    .menu-item.projects {
        background: rgb(162,181,176);
        color: rgb(72,99,98);
    }

    /* SERVICES */
    .menu-item.services {
        background: rgb(13,57,84);
        color: rgb(162,181,176);
    }

    /* CONTACT */
    .menu-item.contact {
        background: rgb(72,99,98);
        color: rgb(254,192,68);
    }


    /* ========================= */
    /* Animation polish */
    /* ========================= */
    .menu-item {
        transform: translateX(-20px);
        opacity: 0;
        transition: all 0.3s ease;
    }

/* stagger effect */
#mainMenu.open .menu-item {
    transform: translateX(0);
    opacity: 1;
}

    #mainMenu.open .menu-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    #mainMenu.open .menu-item:nth-child(2) {
        transition-delay: 0.1s;
    }

    #mainMenu.open .menu-item:nth-child(3) {
        transition-delay: 0.15s;
    }

    #mainMenu.open .menu-item:nth-child(4) {
        transition-delay: 0.2s;
    }

    #mainMenu.open .menu-item:nth-child(5) {
        transition-delay: 0.25s;
    }



    /* ========================== */
    /* ABOUT SECTION */
    /* ========================== */


#about {
    padding-bottom: 120px;
}



#aboutHeader h1 {
    font-family: 'Spectral', serif;
    font-weight: 400;
    font-size: 42px;
    margin-bottom: 30px;
    color: black;
}

/* --- About Paragraph --- */
#aboutParagraph {
    font-family: 'Karla', serif;
    color: black;
    line-height: 1.4;
    margin-bottom: 50px;
    max-width: 90%;
    margin-top: 84px;
    font-weight: 400;
}

#aboutParagraph div span, #aboutParagraph div {
    font-size: 18px !important;
}

    #aboutParagraph p {
        margin-bottom: 20px;
    }


#aboutContentSection {
    padding-top: 60px;
}
/* --- Sidebar Image --- */
#aboutImage {
    position: absolute;
    left: 0;
}

#theAboutUsImg {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin-top: 215px;
    object-fit: cover;
}

/* --- Review Box --- */
.review-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    /*border: 1px solid #ddd;*/
    padding: 40px;
    margin-top: 20px;
    text-align: center;
}

#review-content span {
    font-family: 'Karla', sans-serif;
    font-weight: 700; /* Bold */
    font-style: italic; /* Italic */
    font-size: 1.4rem;
    margin-bottom: 10px;
}

#review-content p {
    font-family: 'Karla', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

/* --- Navigation & Arrows --- */
.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

    .arrow-btn:hover {
        transform: scale(1.1);
    }

    .arrow-btn img {
        width: 25px; /* Adjust based on your arrow icon size */
    }

#menuContainer2.open .menu-item {
    transform: translateX(0);
    opacity: 1;
}

    #menuContainer2.open .menu-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    #menuContainer2.open .menu-item:nth-child(2) {
        transition-delay: 0.1s;
    }

    #menuContainer2.open .menu-item:nth-child(3) {
        transition-delay: 0.15s;
    }

    #menuContainer2.open .menu-item:nth-child(4) {
        transition-delay: 0.2s;
    }

    #menuContainer2.open .menu-item:nth-child(5) {
        transition-delay: 0.25s;
    }

#About_Logo img {
    width: 100%;
}


/* ===================== */
/* PROJECTS SECTION */
/* ===================== */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

    .image-modal.show {
        display: flex;
    }

.modal-content {
    max-width: 40vw;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn .25s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    user-select: none;
}

@keyframes zoomIn {
    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}




#projects {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
    /*overflow-x: hidden;*/ /* Prevents side images from causing scrollbars */
    position: relative;
  /*  height: 100vh;*/
    width: 100%;
    overflow-x: hidden;
}

/* The Sage Green Square at the top */
.top-color-square {
    width: 100px;
    height: 100px;
    background-color: #a8b5aa; /* Sage Green from mockup */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 40px;
}

    .top-color-square img {
        width: 50%;
        height: auto;
    }

/* ================= HEADER & CATEGORIES ================= */
.projects-header h1 {
    font-family: 'Spectral', serif;
    font-weight: 400;
    font-size: 42px;
    margin-bottom: 20px;
    color: #000;
}

.categories {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
    font-family: 'Spectral', serif;
    font-size: 24px;
}

.categories span {
    cursor: pointer;
}

.category-btn {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

    .category-btn.active {
        opacity: 1;
    }

.divider {
    color: #000;
    font-weight: 300;
    font-size: 50px;
}

/* ================= CAROUSEL LAYOUT ================= */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%; /* Change from max-width: 1400px */
    margin: 0;
}

.carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 450px; /* Adjust based on your preferred image height */
    width: 100%;
}

/* Base Project Slide */
.project-slide {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 600px; /* Width of central image */
}

    /* FADED & SMALLER SIDES */
    .project-slide.prev {
        /* -50vw moves it to the left edge, +150px brings a bit of it back into view */
        transform: translateX(calc(-50vw + 150px)) scale(0.75);
        opacity: 0.3;
        z-index: 1;
    }

    /* Push to the RIGHT edge */
    .project-slide.next {
        /* 50vw moves it to the right edge, -150px brings a bit of it back into view */
        transform: translateX(calc(50vw - 150px)) scale(0.75);
        opacity: 0.3;
        z-index: 1;
    }

    /* CENTER ACTIVE SLIDE */
    .project-slide.active {
        transform: translateX(0) scale(1);
        opacity: 1;
        z-index: 10;
    }

    /* Hidden slides (those beyond prev/next) */
    .project-slide.hidden {
        opacity: 0;
        visibility: hidden;
        transform: scale(0.5);
    }

/* ================= IMAGE SLIDER (INNER) ================= */
.image-slider {
    position: relative;
    width: 100%;
    height: auto;
}

.project-img {
    width: 100%;
    height: auto;
    display: none;
    object-fit: contain;
}

    .project-img.active {
        display: block;
        cursor: pointer;
    }

/* ================= ARROWS ================= */

/* Outer Black Arrows (Changes Project) */
.outer-arrow {

    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    z-index: 20;
    padding: 0 20px;
    transition: transform 0.2s;
    position: absolute; /* Take them out of the flex flow */
    top: 50%;
    transform: translateY(-50%);
}

    .outer-arrow img {
        width: 40px;
    }

    .outer-arrow.left {
        left: calc(50% - 400px); /* Adjust '400px' based on your center image width */
    }

    .outer-arrow.right {
        right: calc(50% - 400px);
    }

    /*.outer-arrow:hover {
        transform: scale(1.1);
    }*/

/* Inner White Arrows (Changes Photos in Project) */
.inner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 15;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.white-left {
    left: 20px;
}

.white-right {
    right: 20px;
}

/* ================= PROJECT INFO BOX ================= */
.project-info {
    margin-top: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
text-align: center;
    width: 100%;
}

.project-title {
    font-family: 'Spectral', serif;
    font-weight: 700; /* Bold */
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.project-description {
    font-family: 'Karla', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    /*padding: 20px;*/
    /* Optional subtle border to match the text box alignment in mockup */
    border: 1px solid transparent;
    font-weight: 400;
    color: black;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Animation for text transitions */
.project-title, .project-description {
    transition: opacity 0.4s ease;
}

.fading {
    opacity: 0;
}


#menuContainer3.open .menu-item {
    transform: translateX(0);
    opacity: 1;
}

    #menuContainer3.open .menu-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    #menuContainer3.open .menu-item:nth-child(2) {
        transition-delay: 0.1s;
    }

    #menuContainer3.open .menu-item:nth-child(3) {
        transition-delay: 0.15s;
    }

    #menuContainer3.open .menu-item:nth-child(4) {
        transition-delay: 0.2s;
    }

    #menuContainer3.open .menu-item:nth-child(5) {
        transition-delay: 0.25s;
    }



/* ======================= */
/* SERVICES SECTION */
/* ======================= */

#services {
    padding: 60px 40px;
    position: relative;
    width: 100%;
    margin-bottom: 80px;
    padding-bottom: 120px;
    color: black;
}

/* TITLE */
.services-title {
    text-align: center;
    font-family: 'Spectral', serif;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 80px;
}

/* ROW LAYOUT */
.services-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* EACH COLUMN */
.service-item {
    flex: 1;
    text-align: center;
}

    /* HEADINGS */
    .service-item h3 {
        font-family: 'Karla', sans-serif;
        font-weight: 700;
        font-size: 18px;
        letter-spacing: 1px;
        margin-bottom: 30px;
        color: black;
    }

/* ICON WRAPPER */
.icon {
    height: 120px; /* 🔑 forces alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

    /* ICON IMAGE */
    .icon img {
        max-height: 100%;
        width: auto;
    }

/* DESCRIPTION TEXT */
.service-item p {
    font-family: 'Spectral', serif;
    font-size: 16px;
    line-height: 1.2;
    text-align: left; /* matches screenshot */
    max-width: 220px;
    margin: 0 auto;
    color: black;
}

.service-item #hideText {
    color: #ffffff;
}

/* OPTIONAL: PERFECT CENTER LINE ALIGNMENT */
.services-row::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 260px;
    transform: translateX(-50%);
    height: 2px;
    width: 80%;
    background: transparent; /* change to red if debugging */
}



#menuContainer4.open .menu-item {
    transform: translateX(0);
    opacity: 1;
}

    #menuContainer4.open .menu-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    #menuContainer4.open .menu-item:nth-child(2) {
        transition-delay: 0.1s;
    }

    #menuContainer4.open .menu-item:nth-child(3) {
        transition-delay: 0.15s;
    }

    #menuContainer4.open .menu-item:nth-child(4) {
        transition-delay: 0.2s;
    }

    #menuContainer4.open .menu-item:nth-child(5) {
        transition-delay: 0.25s;
    }

/* RESPONSIVE */
@media (max-width: 1000px) {
    .services-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-item {
        flex: 0 0 45%;
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .service-item {
        flex: 0 0 100%;
    }
}

/* =================== */
/* GET IN TOUCH SECTION */
/* =================== */

#gtInTch {
    position: relative;
    padding: 60px 40px;
    font-family: 'Karla', sans-serif;
    color: black;
}

#gtInTch .row {
    justify-content: center;
    align-items: center;
}


    #menuSection {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/*#gtInTchLogoDiv img {
    width: 80px;
    display: block;
}*/

.theMenus {
    font-family: 'Spectral', serif;
    font-size: 18px;
    cursor: pointer;
    color: black;
}

    .theMenus.active {
        font-weight: bold;
    }

#contentSection {
    width: 45%;
    /*padding-left: 40px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#gtInTchHeader {
    margin-bottom: 80px;
}

#gtInTchHeader h1 {
    font-family: 'Spectral', serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 20px;
}

.paragraphs {
    margin-bottom: 50px;
}

.paragraphs p {
    font-family: 'Karla', sans-serif;
    text-align: center;
    margin-bottom: 10px;
    color: black;
    line-height: 1.2;
    font-size: 20px;
    font-weight: 400;
}

/* Form */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    /*.form-group.full-width {
        width: 100%;
    }*/

    .form-group label {
        font-weight: bold;
        margin-bottom: 5px;
        font-family: 'Spectral', sans-serif;
    }

/* Input outlines based on screenshot */
#theFirstName {
    border: 4px solid rgb(162,181,176);
}

#theLastName {
    border: 4px solid rgb(188,90,47);
}

#theEmail {
    border: 4px solid rgb(254,192,68);
}

#theContactNum {
    border: 4px solid rgb(13,57,84);
}

#theMessage {
    border: 4px solid rgb(72,99,98);
    height: 120px;
}

/* Inputs styling */
input, textarea {
    padding: 8px;
    font-family: 'Spectral', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

/* Send button */

#sendButton {
    display: flex;
    justify-content: center;
    align-items: center;
}
#sendButton button {
    background-color: rgb(162,181,176);
    border: none;
    padding: 8px 50px;
    cursor: pointer;
    font-family: 'Karla', sans-serif;
    font-weight: bold;
}

/* Contact icons */
/*#contactIcons {
    display: flex;
    gap: 60px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .contact-item img {
        width: auto;
        height: 50px;
    }

    .contact-item span {
        font-size: 18px;
    }*/

#contactIcons {
    display: flex;
    gap: 30px; /* spacing between icons */
    margin-top: 20px;
    width: 100%; /* full width of contentSection */
    flex-wrap: wrap; /* allows wrapping on smaller screens */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px; /* space between icon and text */
    flex: 1 1 auto; /* each item takes equal space */
    /*min-width: 120px;*/ /* prevents items from being too small */
}

    .contact-item img {
        width: auto;
        height: 40px; /* adjust size as needed */
    }

    .contact-item span {
        font-size: 18px; /* matches message box font */
        color: black;
    }


#menuContainer5.open .menu-item {
    transform: translateX(0);
    opacity: 1;
}

    #menuContainer5.open .menu-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    #menuContainer5.open .menu-item:nth-child(2) {
        transition-delay: 0.1s;
    }

    #menuContainer5.open .menu-item:nth-child(3) {
        transition-delay: 0.15s;
    }

    #menuContainer5.open .menu-item:nth-child(4) {
        transition-delay: 0.2s;
    }

    #menuContainer5.open .menu-item:nth-child(5) {
        transition-delay: 0.25s;
    }

@media screen and (min-width: 1630px) {
    #contactIcons {
        gap: 80px;
    }

    #theAboutUsImg {
        max-width: 550px;
    }
    
    #aboutParagraph {
        max-width: 75%;
    }
}

@media screen and (min-width: 1430px) {
    #aboutHeader {
        /*margin-left: 150px;*/
    }
}

@media screen and (max-width: 1200px) {
    .modal-content {
        max-width: 80vw;
    }

    #aboutParagraph div span, #aboutParagraph div {
        font-size: 16px !important;
    }
}

    /* Tablet / smaller screens (<768px) */
    @media screen and (max-width: 768px) {
        #contactIcons {
            flex-direction: column; /* stack icons vertically */
            gap: 15px;
        }

        .contact-item {
            flex: none; /* remove equal width */
            width: 100%; /* full width */
        }

            .contact-item img {
                height: 35px;
            }

            .contact-item span {
                font-size: 16px;
            }
    }
    /* Small mobile screens (<480px) */
    @media screen and (max-width: 480px) {
        .contact-item img {
            height: 30px;
        }

        .contact-item span {
            font-size: 14px;
        }
    }
    /* ========================= */
    /* 📱 Mobile Styles */
    /* ========================= */
    @media (max-width: 768px) {

        #startPage {
            flex-direction: column;
            justify-content: center;
            padding: 20px;
        }

        #Main_Logo {
            max-width: 80vw;
        }

        #helperText {
            position: static;
            transform: none;
            margin-top: 20px;
            text-align: center;
            font-size: 13px;
        }

        #menuContainer, #menuContainer2, #menuContainer3, #menuContainer4, #menuContainer5, #mainMenu {
            width: 100%;
            top: 100px;
        }

        .menu-item {
            text-align: center;
            font-size: 16px;
        }

        #homeLogoDiv, #aboutLogoDiv, #projectsLogoDiv, #servicesLogoDiv, #gtInTchLogoDiv {
            width: 80px;
            height: 80px;
        }

        

        #globalMenu button {
            width: 100px;
            height: 100px;
        }

        /*#about {
            padding: 20px;
        }*/

        /* Stack the two columns */
        .row {
            display: flex;
            flex-direction: column;
        }

        /* 1. Logo and Menu at top */
        #aboutMenuSection {
            text-align: center;
            margin-bottom: 30px;
        }

        /*.side-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 20px 0;
    }*/

        /* 2. Text Content */
        #aboutHeader h1 {
            font-size: 2.2rem;
            text-align: center;
        }

        #aboutParagraph {
            max-width: 100%;
            font-size: 0.95rem; /* Slightly smaller for mobile */
            text-align: left;
        }

        /* 3. The Team Image */
        #aboutImage {
            order: 3; /* Positions it after the paragraph */
            display: flex;
            justify-content: center;
            margin: 30px 0;
            position: relative;
            left: 0;
        }

        #theAboutUsImg {
            max-width: 100%;
            height: auto;
        }

        /* 4. Review Box */
        .review-container {
            order: 4;
            padding: 20px;
            flex-direction: row; /* Keep arrows on sides */
            gap: 15px;
        }

        .review-text {
            font-size: 1.1rem;
        }

        .arrow-btn img {
            width: 18px; /* Smaller arrows for mobile */
        }

        #projects {
            height: auto; /* Allow the page to grow with content */
            padding: 40px 10px;
        }

        #services, #gtInTch {
            padding: 90px 40px;
        }


        /* 1. Header Adjustments */
        #aboutHeader h1, .projects-header h1, .services-full h2, #gtInTchHeader h1 {
            font-size: 28px;
        }

        .categories {
            font-size: 18px;
            gap: 15px;
            margin-bottom: 50px;
        }

        

        /* 3. Hide Side Images */
        /* On mobile, only show the active project. Side images take up too much space. */
        .project-slide.prev,
        .project-slide.next {
            display: none !important;
        }

        .project-slide {
            width: 85%; /* Take up most of the screen width */
            /*position: relative;*/ /* Remove absolute positioning to stay in flow */
            transform: none !important; /* Kill the translateX logic */
        }

        /* 4. Reposition Outer Arrows */
        /* Move black arrows closer to the center image or below it */
        .outer-arrow {
            font-size: 40px;
            top: 54%;
        }

            .outer-arrow img {
                width: 22px;
            }

            .outer-arrow.left {
                left: -20px;
            }

            .outer-arrow.right {
                right: -20px;
            }

        /* 5. Inner Arrows */
        .inner-arrow {
            font-size: 30px;
        }

        /* 6. Info Box */
        .project-info {
            width: 85%;
            margin-top: 100px;
        }

        .project-title {
            font-size: 22px;
            width: 100%;
        }

        .project-description {
            font-size: 16px;
            padding-top: 10px;
            padding-bottom: 10px;
            width: 100%;
        }

        .projects-header {
            margin-top: 50px; /* Space after the logo */
            padding: 0 10px;
        }

            .projects-header h1 {
                margin-bottom: 10px;
            }

        #carousel-track {
            margin-top: 50px;
        }

        #contentSection {
            width: 70%;
        }

        .modal-content {
            max-width: 80vw;
        }

        /*.project-img {
            max-height: 50vh;
        }*/
    }
    /* ========================= */
    /* 📱 Very small devices */
    /* ========================= */
    @media (max-width: 480px) {

        #Main_Logo {
            max-width: 85vw;
        }

        #helperText {
            font-size: 12px;
        }

        .project-info {
            margin-top: 20px;
        }

        .categories {
            margin-bottom: 20px;
        }
    }



