/* About Section Modern Styles */
.about-flex-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap; /* <-- Add this to allow wrapping and prevent overlap */
}
.about-inner {
    background: none !important;
    color: #222 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.sec-title {
    margin-bottom: 1.5rem;
}
.about-accent-title {
    color: #f5cc0d;
    font-weight: bold;
    font-size: 2.2rem;
    display: flex;           /* Use flex to align text and underline */
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
}
.about-accent-title span {
    display: block;          /* Show the underline */
    flex: 1;
    height: 1px;
    background: #f5cc0d;
    margin-left: 1rem;
}
.about-main-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f5cc0d;
    margin: 1rem 0 1.5rem 0;
    line-height: 1.2;
}
.about-inner .text {
    color: #f5cc0d;
    font-size: 1.08rem;
    margin-bottom: 2rem;
}
.about-inner .email {
    font-weight: bold;
    color: #111;
    margin-bottom: 2rem;
}
.about-inner .theme_color {
    color: #000;
}
.about-btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border: 2px solid #f5cc0d;
    color: #f5cc0d;
    font-weight: bold;
    background: #000000;
    border-radius: 3px;
    font-size: 1.1rem;
    box-shadow: 4px 8px 0 #f5cc0d;
    position: relative;
    transition: all 0.2s;
}
.about-btn:hover {
    background: #f5cc0d;
    color: #222;
    box-shadow: 2px 4px 0 #eee;
    border-color: #222;
}
.about-image-box {
    position: relative;
    display: inline-block;
    background: #fff;
    border: 8px solid #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
    border-radius: 12px;
    padding: 12px;
    /* Give a slight tilt for a "memory photo" effect */
    transform: rotate(-2deg);
    transition: box-shadow 0.3s, transform 0.3s;
    width: 50vh;
    height: 50vh;
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    overflow: hidden;
    /* Add responsive fallback for small screens */
    box-sizing: border-box;
}
.about-image-box:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.13);
    transform: rotate(1deg) scale(1.03);
}
.about-image-box img {
    width: 50vh;
    height: 50vh;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block;
}
.about-image-border {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 60vh;
    height: 50vh;
    border: 2px solid #f5cc0d;
    z-index: 1;
    border: none;
}
.about-years-badge {
    position: absolute;
    left: 18px;
    bottom: 28px;
    background: #000000;
    border: 2px solid #eee;
    padding: 1.2rem 2.2rem 1.2rem 1.2rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(209, 255, 2, 0.133);
    z-index: 2;
}
#about-years-number {
    font-size: 2.5rem;
    color: #f5cc0d;
    font-weight: bold;
    margin-right: 0.7rem;
}
.about-years-badge span:last-child {
    color: #f5cc0d;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.2;
}

/* Typing effect styles */
.about-typing-container {
    width: 100%;
    text-align: left;
    margin: 1.2rem 0 1.2rem 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #f5cc0d;
    letter-spacing: 1px;
    position: relative;
    min-height: 2.2em;
    font-family: 'Alatsi', 'Arial', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.2em;
}
.about-typing-text-fade {
    opacity: 0;
    transition: opacity 0.7s;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
}
.about-typing-text-fade.active {
    opacity: 1;
    position: relative;
    transition: opacity 0.7s;
}
.about-typing-cursor {
    display: none;
}

/* Desktop layout: side-by-side columns */
@media (min-width: 901px) {
    .about-flex-row {
        flex-direction: row;
        align-items: stretch;
        gap: 2rem;
    }
    .content-column {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .image-column {
        flex: 1 1 0;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .about-inner {
        width: 100%;
        max-width: 600px;
        margin: 0;
        padding: 2rem 2rem 2rem 0 !important;
        box-sizing: border-box;
    }
    .about-image-box {
        margin-left: auto;
        margin-right: 0;
    }
    /* Add margin to the left side of the about section text column */
    .about-section .content-column .about-inner {
        margin-left: 2.5rem !important;
    }
}

/* Tablet/mobile layout: stack columns */
@media (max-width: 900px) {
    .about-flex-row {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .content-column,
    .image-column {
        width: 100%;
        max-width: 100vw;
        justify-content: center;
        align-items: center;
        display: flex;
    }
    .about-inner {
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding: 1rem !important;
        box-sizing: border-box;
    }
    .about-image-box {
        margin: 0 auto;
        width: 100vw !important;
        height: 220px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100vw !important;
        max-height: 220px !important;
        margin: 0 auto !important;
        display: block;
        box-sizing: border-box;
    }
    /* For tablet/mobile, use smaller margin */
    .about-section .content-column .about-inner {
        margin-left: 1rem !important;
    }
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .about-flex-row {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .about-image-box img,
    .about-image-border {
        width: 100vw !important;
        height: 220px ;
        max-width: 100vw;
    }
    .about-image-border {
        top: -8px;
        left: -8px;
        height: 220px !important;
        width: 100vw !important;
        max-width: 100vw;
    }
    .about-inner {
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        padding: 1rem !important;
    }
    .about-inner,
    .about-inner .text,
    .about-inner .email {
        font-size: 0.97rem !important;
    }
    .about-main-title {
        font-size: 1.2rem;
    }
    .about-btn {
        font-size: 0.97rem;
        padding: 0.6rem 1.5rem;
    }
    .container {
        padding: 0 !important;
        max-width: 100vw !important;
    }
}

@media (max-width: 600px) {
    .about-flex-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    .content-column,
    .image-column {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .about-inner {
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 0.5rem 1rem 0.2rem 1rem !important; /* Add left/right margin */
        box-sizing: border-box;
        margin: 0 !important;
    }
    .about-main-title {
        font-size: 1rem;
        margin: 0.3rem 0 0.7rem 0;
        word-break: break-word;
        white-space: normal;
    }
    .about-accent-title {
        font-size: 1.5rem; /* Make About Us label larger on phones */
    }
    .about-inner .text,
    .about-inner .email {
        font-size: 0.85rem !important;
        color: #f5cc0d !important;
    }
    .about-btn {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
    .about-image-box {
        width: 100vw !important;
        height: 120px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100vw !important;
        max-height: 120px !important;
        margin: 0 auto !important;
        display: block;
    }
    .about-carousel-image,
    .about-image-box img,
    .about-image-border {
        width: 100vw !important;
        height: 120px !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        object-fit: cover;
    }
    .about-image-border {
        top: -2px;
        left: -2px;
        height: 120px !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .about-years-badge {
        left: 2px;
        bottom: 2px;
        padding: 0.3rem 0.5rem 0.3rem 0.3rem;
        font-size: 0.8rem;
    }
    .about-years-badge span:first-child {
        font-size: 1rem;
    }
    .about-years-badge span:last-child {
        font-size: 0.6rem;
    }
    .container {
        padding: 0 !important;
        max-width: 100vw !important;
    }
}

/* Fix about section layout for 900px to 600px width */
@media (max-width: 900px) and (min-width: 601px) {
    .about-section > .container,
    .about-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
    }
    .about-flex-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
    }
    .content-column,
    .image-column {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .about-inner {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding: 0.7rem 0.5rem 0.5rem 0.5rem !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .about-main-title {
        font-size: 1.1rem;
        margin: 0.3rem 0 0.7rem 0;
        word-break: break-word;
        white-space: normal;
    }
    .about-accent-title {
        font-size: 1rem;
    }
    .about-inner .text,
    .about-inner .email {
        font-size: 0.9rem !important;
        color: #f5cc0d !important;
    }
    .about-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    .about-image-box {
        width: 100vw !important;
        height: 150px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100vw !important;
        max-height: 150px !important;
        margin: 0 auto !important;
        display: block;
        padding: 6px !important;
    }
    .about-carousel-image,
    .about-image-box img,
    .about-image-border {
        width: 100vw !important;
        height: 150px !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        object-fit: cover;
    }
    .about-image-border {
        top: -2px;
        left: -2px;
        height: 150px !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .about-years-badge {
        left: 4px;
        bottom: 4px;
        padding: 0.3rem 0.7rem 0.3rem 0.3rem;
        font-size: 0.8rem;
    }
    .about-years-badge span:first-child {
        font-size: 1rem;
    }
    .about-years-badge span:last-child {
        font-size: 0.6rem;
    }
}

/* Ensure image column centers content on all screens */
.image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.about-carousel-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s;
    z-index: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
}
.about-carousel-image.active {
    opacity: 1;
    z-index: 1;
}
.about-image-box {
    position: relative;
    width: 50vh;
    height: 50vh;
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    overflow: hidden;
}

/* Fade-in animation for about-section */
.about-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}

.about-section.in-view {
    opacity: 1;
    transform: translateY(0);
}
.division-title {
    display: flex;
    align-items: center;
    color: #f5cc0d;
    font-weight: bold;
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin: 2rem 0 2.5rem 0;
    font-family: inherit;
    gap: 1rem;
    text-align: left;
    z-index: 10; /* Ensure above overlays */
    position: relative;
}
.division-title span {
    flex: 1;
    height: 2px;
    background: #f5cc0d;
    margin-left: 1rem;
    display: block;
    border-radius: 2px;
}
.division-title::after,
.division-title::before {
    content: none;
}

/* Division Modal Styles - Fullscreen Parallax with Slide Animation (like menu-overlay) */
.division-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    background: #181818 !important;
    background-image: none !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    transition: opacity 0.3s;
    opacity: 1;
    left: -100vw;
    right: 0;
    top: 0;
    bottom: 0;
    transform: none;
    opacity: 1;
    pointer-events: none;
    transition: left 0.5s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
.division-modal-overlay.active {
    left: 0;
    opacity: 1;
    pointer-events: auto;
}
.division-modal-overlay.hidden {
    display: none;
    opacity: 0;
}
.division-modal-content {
    background: transparent;
    color: #f5cc0d;
    margin: 0 auto;
    border-radius: 0;
    max-width: 100vw;
    width: 100vw;
    min-height: 100vh;
    max-height: none;
    box-shadow: none;
    position: relative;
    padding: 0;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.division-modal-close {
    position: fixed;
    top: 1.2rem;
    right: 2.2rem;
    background: transparent;
    border: none;
    color: #f5cc0d;
    font-size: 3.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    transition: color 0.2s;
}
.division-modal-close:hover {
    color: #fff;
}
.division-modal-body {
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto;
    color: #f5cc0d;
    font-size: 1.1rem;
    line-height: 1.7;
    padding: 4.5rem 0 2.5rem 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: transparent;
    /* For parallax effect, you can add more backgrounds or elements here */
}
.division-modal-body h2 {
    color: #f5cc0d;
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    text-align: center;
}
.division-modal-body ul {
    color: #fff;
    margin-bottom: 1.2rem;
    padding-left: 1.5em;
}
.division-modal-body li {
    margin-bottom: 0.7em;
}
.division-modal-body a.cta {
    display: inline-block;
    margin-top: 1.5rem;
    background: #f5cc0d;
    color: #181818;
    font-weight: bold;
    padding: 0.7em 1.7em;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1em;
    transition: background 0.2s, color 0.2s;
}
.division-modal-body a.cta:hover {
    background: #181818;
    color: #f5cc0d;
    border: 2px solid #f5cc0d;
}
.division-modal-testimonial, .division-modal-case {
    background: #222;
    color: #f5cc0d;
    border-left: 4px solid #f5cc0d;
    padding: 1em 1.2em;
    margin: 1.2em auto;
    border-radius: 8px;
    font-style: italic;
    font-size: 1.08em;
    max-width: 700px;
}
.division-modal-parallax-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    padding: 2rem 0;
}
.division-modal-parallax-content .division-parallax-block {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 0;
    background: none !important;
    background-color: transparent !important;
    min-height: 100vh;
    height: 100vh;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100vw; /* Ensure full modal width */
    max-width: 100vw;
}

/* Fade-in animation for division modal blocks */
.division-modal-parallax-content .division-parallax-block {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
    pointer-events: none;
}

/* When in view, fade in and slide up */
.division-modal-parallax-content .division-parallax-block.in-view {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Remove hover border and shadow in modal view */
.division-modal-parallax-content .division-parallax-block,
.division-modal-parallax-content .division-parallax-block:hover {
    border: none !important;
    box-shadow: none !important;
}

/* Info panel: left side, fill half the modal, center content vertically and horizontally */
.division-modal-parallax-content .division-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: 50vw;
    min-width: 340px;
    max-width: 700px;
    height: 100vh;
    background: #181818;
    color: #f5cc0d;
    padding: 3rem 2.5rem 3rem 2rem;
    margin: 0;
    z-index: 2;
    border-radius: 0;
    border-right: 4px solid #f5cc0d;
    box-shadow: none;
    text-align: right;
    font-family: inherit;
    overflow: auto;
    /* Center content horizontally for smaller screens */
    box-sizing: border-box;
    white-space: normal;
    overflow: auto;
    text-overflow: unset;
    max-height: none;
    word-break: break-word;
}

.division-modal-parallax-content .division-info p {
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-overflow: unset;
}

/* Division image: right side, fill half the modal, cover with image, center content */
.division-modal-parallax-content .division-img {
    width: 50vw;
    min-width: 340px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border-left: 4px solid #f5cc0d;
    box-shadow: none;
    margin: 0;
    box-sizing: border-box;
}

.division-modal-parallax-content .division-img img {
    width: 95%;
    height: auto;
    max-width: 700px;
    max-height: 700px;
    min-width: 260px;
    min-height: 260px;
    object-fit: cover;
    border-radius: 18px;
    background: #181818;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    /* Photograph border effect */
    border: 10px solid #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(245,204,13,0.13);
    transition: 
        box-shadow 0.4s cubic-bezier(.4,0,.2,1),
        transform 0.4s cubic-bezier(.4,0,.2,1),
        border-color 0.3s;
    /* Add a slight tilt for a photo effect */
    transform: rotate(-2deg) scale(1);
}

/* Hover animation: lift, color border, tilt */
.division-modal-parallax-content .division-img img:hover {
    box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 8px 32px #f5cc0d55;
    border-color: #f5cc0d;
    transform: rotate(2deg) scale(1.04);
    z-index: 2;
    filter: brightness(1.08) saturate(1.1);
}

/* Optional: subtle animation on parent for photograph effect */
.division-modal-parallax-content .division-img:hover img {
    /* Extra highlight on parent hover */
    box-shadow: 0 32px 80px rgba(245,204,13,0.18), 0 8px 32px #f5cc0d99;
    border-color: #f5cc0d;
    transform: rotate(3deg) scale(1.07);
}

/* Responsive: stack vertically on small screens */
@media (max-width: 1100px) {
    .division-modal-parallax-content .division-parallax-block {
        flex-direction: column;
        min-height: 80vh;
        height: auto;
        width: 100vw;
        max-width: 100vw;
    }
    .division-modal-parallax-content .division-info,
    .division-modal-parallax-content .division-img {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
        border-radius: 0;
        border-right: none;
        border-left: none;
        padding: 2rem 1rem;
        height: auto;
    }
    .division-modal-parallax-content .division-img img {
        min-width: 0;
        min-height: 140px;
        max-width: 90vw;
        max-height: 320px;
        border-radius: 12px;
        height: 220px;
        width: 95%;
        border-width: 7px;
    }
    .division-modal-parallax-content .division-info {
        align-items: center;
        text-align: center;
        padding: 2rem 1rem;
    }
    .division-modal-parallax-content .division-info h2,
    .division-modal-parallax-content .division-info p {
        text-align: center;
    }
}

@media (max-width: 700px) {
    .division-modal-parallax-content .division-parallax-block {
        min-height: 60vh;
        height: auto;
    }
    .division-modal-parallax-content .division-info,
    .division-modal-parallax-content .division-img {
        padding: 1rem 0.5rem;
    }
    .division-modal-parallax-content .division-img img {
        min-height: 80px;
        max-height: 140px;
        height: 100px;
        width: 98%;
        border-width: 4px;
    }
}

/* Fix for parallax background on about section */
.about-parallax-bg,
.about-section .about-parallax-bg {
    position: fixed; /* Use fixed instead of absolute for reliable parallax */
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../images/aboutbackground.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
    pointer-events: none;
}

/* Ensure .about-section content is above the parallax bg */
.about-section {
    position: relative;
    background: transparent !important;
    z-index: 1;
}

/* Optional: overlay for readability */
.about-parallax-overlay,
.about-section .about-parallax-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(120deg, rgba(21,24,26,0.85) 60%, rgba(245,204,13,0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 400px) {
    .about-section > .container,
    .about-section .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
    }
    .about-flex-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        width: 100vw !important;
        min-width: 0 !important;
        max-width: 100vw !important;
    }
    .content-column,
    .image-column {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .about-inner {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        padding: 0.5rem 0.2rem 0.2rem 0.2rem !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .about-main-title {
        font-size: 0.95rem;
        margin: 0.2rem 0 0.5rem 0;
        word-break: break-word;
        white-space: normal;
    }
    .about-accent-title {
        font-size: 0.8rem;
    }
    .about-inner .text,
    .about-inner .email {
        font-size: 0.75rem !important;
        color: #f5cc0d !important;
    }
    .about-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
    .about-image-box {
        width: 100vw !important;
        height: 90px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100vw !important;
        max-height: 90px !important;
        margin: 0 auto !important;
        display: block;
        padding: 4px !important;
    }
    .about-carousel-image,
    .about-image-box img,
    .about-image-border {
        width: 100vw !important;
        height: 90px !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        object-fit: cover;
    }
    .about-image-border {
        top: -1px;
        left: -1px;
        height: 90px !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .about-years-badge {
        left: 2px;
        bottom: 2px;
        padding: 0.2rem 0.3rem 0.2rem 0.2rem;
        font-size: 0.6rem;
    }
    .about-years-badge span:first-child {
        font-size: 0.8rem;
    }
    .about-years-badge span:last-child {
        font-size: 0.5rem;
    }
}

/* View Projects button for division modal */
.division-modal-body .view-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    background: transparent;
    color: #f5cc0d;
    border: 2px solid #f5cc0d;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    font-family: inherit;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    box-shadow: none;
}
.division-modal-body .view-projects-btn:hover,
.division-modal-body .view-projects-btn:focus {
    background: #f5cc0d;
    color: #181818;
    border-color: #f5cc0d;
    text-decoration: none;
}

/* Restore Our Division section underline style */
.division-title {
    display: flex;
    align-items: center;
    color: #f5cc0d;
    font-weight: bold;
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin: 2rem 0 2.5rem 0;
    font-family: inherit;
    gap: 1rem;
    text-align: left;
}
.division-title span {
    flex: 1;
    height: 2px;
    background: #f5cc0d;
    margin-left: 1rem;
    display: block;
    border-radius: 2px;
}
.division-title::after,
.division-title::before {
    content: none;
}

/* Restore footer styles */
.site-footer {
    background: #181818;
    color: #fff;
    padding: 2rem 0 1rem 0;
    width: 100vw;
    margin: 0;
    font-size: 1.1rem;
    border-top: 4px solid #f5cc0d;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 1rem;
    width: 40rem;
}

.footer-contact i {
    color: #f5cc0d;
    margin-right: 0.7em;
    width: 1.4em;
    text-align: center;
}

.footer-social {
    margin: 1rem 0;
    display: flex;
    gap: 1.2rem;
}

.footer-social a {
    color: #f5cc0d;
    font-size: 1.7rem;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    color: #fff;
}

.footer-copy {
    text-align: center;
    font-size: 0.97rem;
    color: #aaa;
    margin-top: 0.5rem;
}

/* Responsive footer */
@media (max-width: 700px) {
    .footer-container {
        padding: 0 0.5rem;
    }
    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
    }
    .footer-logo img {
        width: 90px;
    }
}

/* Ensure division-title is above overlays */
.division-section > .container {
    position: relative;
    z-index: 3;
}

/* Fix division-title underline visibility */
.division-title {
    display: flex;
    align-items: center;
    color: #f5cc0d;
    font-weight: bold;
    font-size: 2.2rem;
    letter-spacing: 1px;
    margin: 2rem 0 2.5rem 0;
    font-family: inherit;
    gap: 1rem;
    text-align: left;
    z-index: 10; /* Ensure above overlays */
    position: relative;
}
.division-title span {
    flex: 1;
    height: 2px;
    background: #f5cc0d;
    margin-left: 1rem;
    display: block;
    border-radius: 2px;
}
.division-title::after,
.division-title::before {
    content: none;
}
