/* ==========================================================================
   Pixel-Perfect Implementation of Desktop - 1.png
   ========================================================================== */

@font-face {
    font-family: 'Gotham Black';
    src: local('Gotham Black'), local('Gotham-Black'), local('GothamBold');
    font-weight: 900;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    font-family: 'Gotham Black', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    width: 100%;
}

.site-header-wrapper {
    width: 100%;
    position: relative;
}

/* 1440px Centered Content Container */
.inner-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

/* --------------------------------------------------------------------------
   1. Topbar Blue Bar (Full Width, 57px, BG: #003E60)
   -------------------------------------------------------------------------- */
.top-blue-bar {
    width: 100%;
    height: 57px;
    background-color: #003E60;
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 35px;
}

.candidate-title {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0px;
    color: #FCFCFC;
    text-transform: uppercase;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   2. Header White Bar (Full Width, 75px, BG: #FCFCFC)
   -------------------------------------------------------------------------- */
.header-white-bar {
    width: 100%;
    height: 75px;
    background-color: #FCFCFC;
    position: relative;
}

.white-bar-content {
    display: flex;
    align-items: center;
}

/* --------------------------------------------------------------------------
   3. Left Branding Card (CHP Logo + Candidate Photo)
   Exact Figma X: 36px, Y: 21px (starts in blue bar at 21px from top)
   -------------------------------------------------------------------------- */
.left-branding-card {
    position: absolute;
    left: 36px;
    top: -36px; /* 21px from top of page (57px top bar - 36px = 21px) */
    display: block;
    width: 236px;
    height: 142px;
    z-index: 50;
    text-decoration: none;
}

.header-brand-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --------------------------------------------------------------------------
   4. Navigation Links (Left: 349px, Gotham Black 24px, Gap: 78px)
   -------------------------------------------------------------------------- */
.main-nav {
    position: absolute;
    left: 349px;
    top: 0;
    height: 75px;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 78px;
}

.nav-item {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0px;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.nav-item:hover {
    opacity: 0.75;
}

/* --------------------------------------------------------------------------
   5. Social Media Icons (Right: 36px, Gap: 26px, Height: 25px)
   -------------------------------------------------------------------------- */
.social-icons {
    position: absolute;
    right: 36px;
    top: 0;
    height: 75px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon img {
    height: 25px;
    width: auto;
    display: block;
}

.social-icon:hover {
    opacity: 0.7;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   6. Main Carousel Section (1368px x 456px, margin-top: 49px)
   -------------------------------------------------------------------------- */
.page-main {
    width: 100%;
}

.carousel-section {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #FFFFFF;
}

.carousel-container {
    width: 1368px;
    height: 456px;
    margin-top: 49px;
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background-color: #111111;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

/* Left / Right Arrow Buttons */
.carousel-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 18px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-arrow-btn:hover {
    transform: translateY(-50%) scale(1.08);
    background-color: #F7F7F7;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Bottom Controls (Indicator Pill + Pause Button) */
.carousel-controls-bottom {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators-pill {
    background-color: #FFFFFF;
    border-radius: 50px;
    height: 53px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #000000;
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.35s ease;
    opacity: 0.85;
    position: relative;
    overflow: hidden;
}

.indicator-dot.active {
    width: 58px;
    height: 8px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.indicator-progress {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #000000;
    border-radius: 4px;
}

.indicator-dot.active .indicator-progress {
    display: block;
    animation: progressFill 7s linear forwards;
}

.carousel-container.is-paused .indicator-dot.active .indicator-progress {
    animation-play-state: paused;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.carousel-pause-btn {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-pause-btn:hover {
    transform: scale(1.08);
    background-color: #F7F7F7;
}

/* --------------------------------------------------------------------------
   7. Red Banner Section (Full Width, Height: 192px, BG: #ED2E36)
   -------------------------------------------------------------------------- */
.red-banner-section {
    width: 100%;
    height: 192px;
    background-color: #ED2E36;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.banner-heading {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 45px;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.1;
    transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   8. Footer Section (Frame 31 Pixel-Perfect Implementation)
   -------------------------------------------------------------------------- */
.site-footer {
    width: 100%;
    background-color: #003F63;
    color: #FFFFFF;
    padding: 47px 0 37px 0;
    min-height: 330px;
    position: relative;
}

.footer-frame-31 {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 36px;
}

/* Column 1: Brand (X: 36px) */
.footer-col-brand {
    width: 282px;
    flex-shrink: 0;
}

.footer-brand-img {
    width: 282px;
    height: 246px;
    display: block;
    object-fit: contain;
}

/* Column 2: Hızlı Menü */
.footer-col-nav {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.footer-heading {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1;
}

.footer-red-bar {
    width: 59px;
    height: 5px;
    background-color: #ED2E36;
    margin-top: 10px;
    margin-bottom: 24px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-nav-list a {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-nav-list a:hover {
    color: #ED2E36;
    transform: translateX(4px);
}

/* Column 3: İletişim */
.footer-col-contact {
    display: flex;
    flex-direction: column;
    padding-left: 34px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.contact-icon {
    position: absolute;
    left: -34px;
    top: 2px;
    font-size: 20px;
    color: #FFFFFF;
    width: 22px;
    text-align: center;
}

.contact-address {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0;
}

.contact-email,
.contact-phone {
    margin: 0;
}

.contact-email a,
.contact-phone a {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-email a:hover,
.contact-phone a:hover {
    color: #ED2E36;
}

/* Column 4: Sosyal Medya */
.footer-col-social {
    display: flex;
    flex-direction: column;
}

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

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-social-icon img {
    height: 25px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social-icon:hover img {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-frame-31 {
        flex-direction: column;
        gap: 36px;
    }

    .footer-col-contact {
        padding-left: 34px;
    }
}

/* --------------------------------------------------------------------------
   9. Hakkımda (About) Page Styles - Full Screen Viewport
   -------------------------------------------------------------------------- */
.about-section {
    width: 100%;
    min-height: calc(100vh - 132px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    margin: 0;
    box-sizing: border-box;
}

.about-grid {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 56px;
    align-items: center;
    padding: 0 36px;
    width: 100%;
}

.about-photo-wrapper {
    width: 100%;
    max-width: 480px;
    height: 540px;
    overflow: hidden;
    background-color: #000000;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-title {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 36px;
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.15;
}

.about-red-bar {
    width: 59px;
    height: 5px;
    background-color: #ED2E36;
    margin-top: 10px;
    margin-bottom: 24px;
}

.about-text-body p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.8;
    color: #222222;
    margin-bottom: 20px;
}

.about-text-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-photo-wrapper {
        width: 100%;
        max-width: 456px;
        margin: 0 auto;
    }
}

/* --------------------------------------------------------------------------
   10. Galeri (Gallery) Page Styles
   -------------------------------------------------------------------------- */
.gallery-section {
    width: 100%;
    margin-top: 49px;
    margin-bottom: 60px;
}

.gallery-container {
    padding: 0 36px;
}

.gallery-header {
    margin-bottom: 36px;
}

.gallery-title {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 36px;
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.15;
}

.gallery-red-bar {
    width: 59px;
    height: 5px;
    background-color: #ED2E36;
    margin-top: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
    background-color: #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 62, 96, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 32px;
    color: #FFFFFF;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-modal-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gallery-modal-close {
    position: absolute;
    top: 24px;
    right: 36px;
    color: #FFFFFF;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.gallery-modal-close:hover {
    color: #ED2E36;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   11. İletişim (Contact) Page Styles
   -------------------------------------------------------------------------- */
.contact-section {
    width: 100%;
    margin-top: 49px;
    margin-bottom: 60px;
}

.contact-container {
    padding: 0 36px;
}

.contact-header {
    margin-bottom: 36px;
}

.contact-page-title {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 36px;
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.15;
}

.contact-red-bar {
    width: 59px;
    height: 5px;
    background-color: #ED2E36;
    margin-top: 10px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.contact-subtitle {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: #003E60;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.2;
}

.contact-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 28px;
}

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

.contact-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #FFFFFF;
    padding: 20px;
    border-left: 4px solid #ED2E36;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.contact-detail-icon {
    font-size: 22px;
    color: #ED2E36;
    margin-top: 2px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.contact-detail-row h3 {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 15px;
    color: #003E60;
    margin-bottom: 4px;
}

.contact-detail-row p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    color: #333333;
    line-height: 1.5;
    margin: 0;
}

.contact-detail-row a {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-detail-row a:hover {
    color: #ED2E36;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #FFFFFF;
    padding: 32px;
    border-top: 4px solid #003E60;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 12px;
    color: #003E60;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid #D9D9D9;
    border-radius: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000000;
    outline: none;
    transition: border-color 0.2s ease;
    background: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ED2E36;
    background: #FFFFFF;
}

.contact-submit-btn {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 16px;
    color: #FFFFFF;
    background-color: #ED2E36;
    border: none;
    padding: 14px 32px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: 8px;
    width: fit-content;
}

.contact-submit-btn:hover {
    background-color: #C02633;
    transform: translateY(-2px);
}
.contact-form-status { min-height: 1.4em; margin: 14px 0 0; font-size: 14px; font-weight: 700; }
.contact-form-status.success { color: #167044; }
.contact-form-status.error { color: #b4232a; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

@media (max-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .form-group-row {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   12. Responsive Layout Overrides
   -------------------------------------------------------------------------- */

/* WordPress menus receive different classes than the static fallback menu. */
.main-nav .menu-item {
    list-style: none;
}

.main-nav .menu-item > a {
    font-family: 'Gotham Black', 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #000000;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.main-nav .menu-item > a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
    opacity: 0.75;
}

body {
    overflow-x: hidden;
}

/* Keep the desktop composition while allowing the hero to shrink naturally. */
.carousel-container {
    width: min(1368px, calc(100% - 72px));
    height: auto;
    aspect-ratio: 3 / 1;
}

@media (max-width: 1024px) {
    .top-bar-content {
        padding-right: 24px;
    }

    .candidate-title {
        font-size: 20px;
    }

    .left-branding-card {
        left: 24px;
        width: 190px;
        height: 115px;
        top: -30px;
    }

    .main-nav {
        left: 260px;
    }

    .nav-list {
        gap: 28px;
    }

    .nav-item,
    .main-nav .menu-item > a {
        font-size: 18px;
    }

    .social-icons {
        right: 24px;
        gap: 18px;
    }

    .social-icon img {
        height: 22px;
    }

    .carousel-container {
        width: calc(100% - 48px);
        margin-top: 32px;
    }

    .banner-heading {
        font-size: 36px;
        padding: 0 24px;
    }

    .about-grid,
    .gallery-container,
    .contact-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .gallery-section,
    .contact-section {
        margin-top: 32px;
    }

    .footer-frame-31 {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 767px) {
    .top-blue-bar {
        height: 48px;
    }

    .top-bar-content {
        padding: 0 16px;
        justify-content: flex-end;
    }

    .candidate-title {
        font-size: 16px;
    }

    .header-white-bar {
        height: 112px;
    }

    .left-branding-card {
        left: 16px;
        top: -24px;
        width: 140px;
        height: 84px;
    }

    .main-nav {
        left: 0;
        top: 70px;
        width: 100%;
        height: 40px;
        justify-content: center;
        align-items: center;
    }

    .nav-list {
        width: 100%;
        justify-content: center;
        gap: clamp(8px, 2vw, 14px);
        padding: 0 12px;
    }

    .nav-item,
    .main-nav .menu-item > a {
        font-size: 12px;
        white-space: nowrap;
    }

    .social-icons {
        right: 16px;
        top: 0;
        height: 64px;
        gap: 12px;
    }

    .social-icon img {
        height: 20px;
    }

    .carousel-container {
        width: calc(100% - 32px);
        margin-top: 24px;
        border-radius: 8px 8px 0 0;
        aspect-ratio: 16 / 9;
    }

    .carousel-arrow-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .carousel-controls-bottom {
        bottom: 12px;
        gap: 8px;
    }

    .carousel-indicators-pill {
        height: 42px;
        padding: 0 12px;
        gap: 7px;
    }

    .indicator-dot.active {
        width: 34px;
    }

    .carousel-pause-btn {
        width: 42px;
        height: 42px;
        font-size: 13px;
    }

    .red-banner-section {
        min-height: 140px;
        height: auto;
        padding: 24px 16px;
    }

    .banner-heading {
        font-size: 28px;
        line-height: 1.15;
        padding: 0;
    }

    .about-section {
        min-height: auto;
        padding: 40px 0;
    }

    .about-grid,
    .gallery-container,
    .contact-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about-grid {
        gap: 28px;
    }

    .about-photo-wrapper {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 5 / 6;
    }

    .about-title,
    .gallery-title,
    .contact-page-title {
        font-size: 30px;
    }

    .about-text-body p {
        font-size: 15px;
        line-height: 1.7;
    }

    .gallery-section,
    .contact-section {
        margin-top: 32px;
        margin-bottom: 40px;
    }

    .gallery-container,
    .contact-container {
        width: 100%;
    }

    .gallery-header,
    .contact-header {
        margin-bottom: 24px;
    }

    .gallery-grid {
        gap: 14px;
    }

    .gallery-item {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .contact-main-grid {
        gap: 32px;
    }

    .contact-subtitle {
        font-size: 20px;
    }

    .contact-desc {
        font-size: 14px;
    }

    .contact-form {
        padding: 20px;
    }

    .site-footer {
        min-height: 0;
        padding: 36px 0 28px;
    }

    .footer-frame-31 {
        padding-left: 16px;
        padding-right: 16px;
        gap: 28px;
    }

    .footer-col-brand {
        width: 180px;
    }

    .footer-brand-img {
        width: 180px;
        height: auto;
    }

    .footer-heading {
        font-size: 20px;
    }

    .footer-nav-list a,
    .contact-email a,
    .contact-phone a {
        font-size: 16px;
    }

    .contact-address {
        font-size: 15px;
    }

    .footer-col-contact {
        padding-left: 30px;
    }

    .footer-social-icons {
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .candidate-title {
        font-size: 14px;
    }

    .header-white-bar {
        height: 108px;
    }

    .left-branding-card {
        width: 132px;
        height: 80px;
    }

    .main-nav {
        top: 68px;
    }

    .nav-list {
        gap: 8px;
        padding: 0 8px;
    }

    .nav-item,
    .main-nav .menu-item > a {
        font-size: 11px;
    }

    .social-icons {
        right: 12px;
        gap: 9px;
    }

    .social-icon img {
        height: 18px;
    }

    .banner-heading {
        font-size: 24px;
    }

    .about-title,
    .gallery-title,
    .contact-page-title {
        font-size: 27px;
    }

    .gallery-grid {
        gap: 10px;
    }
}

/* --------------------------------------------------------------------------
   13. Mobile Footer Refinement
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .site-footer {
        padding: 42px 0 32px;
    }

    .footer-frame-31 {
        align-items: center;
        gap: 36px;
        text-align: center;
    }

    .footer-col-brand,
    .footer-col-nav,
    .footer-col-contact,
    .footer-col-social {
        width: 100%;
        align-items: center;
    }

    .footer-col-brand {
        width: 200px;
    }

    .footer-brand-img {
        width: 200px;
        margin: 0 auto;
    }

    .footer-heading {
        font-size: 19px;
        line-height: 1.15;
    }

    .footer-red-bar {
        margin: 10px auto 18px;
    }

    .footer-nav-list {
        width: min(100%, 320px);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .footer-nav-list li {
        min-width: 0;
    }

    .footer-nav-list a {
        display: block;
        width: 100%;
        padding: 11px 8px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 4px;
        font-size: 14px;
        line-height: 1.1;
        text-align: center;
    }

    .footer-nav-list a:hover {
        transform: none;
        background-color: #ED2E36;
        border-color: #ED2E36;
        color: #FFFFFF;
    }

    .footer-col-contact {
        padding-left: 0;
    }

    .footer-contact-info {
        width: min(100%, 360px);
        gap: 10px;
    }

    .contact-item {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        padding: 12px 14px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.06);
        text-align: left;
    }

    .contact-icon {
        position: static;
        grid-column: 1;
        grid-row: 1;
        width: 28px;
        font-size: 17px;
        line-height: 1.4;
    }

    .contact-address,
    .contact-email,
    .contact-phone {
        grid-column: 2;
        grid-row: 1;
    }

    .contact-address {
        font-size: 13px;
        line-height: 1.45;
    }

    .contact-email a,
    .contact-phone a {
        display: block;
        font-size: 14px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .footer-social-icons {
        justify-content: center;
        gap: 20px;
        padding: 12px 20px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.06);
    }
}

/* --------------------------------------------------------------------------
   14. Mobile Header Navigation
   -------------------------------------------------------------------------- */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 900px) {
    .header-white-bar {
        height: 76px;
    }

    .left-branding-card {
        top: -18px;
        left: 16px;
        width: 120px;
        height: 72px;
    }

    .social-icons {
        display: none;
    }

    .mobile-menu-toggle {
        position: absolute;
        top: 16px;
        right: 16px;
        z-index: 70;
        width: 44px;
        height: 44px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border: 0;
        border-radius: 6px;
        background: #003E60;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #FFFFFF;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav,
    .main-nav.is-open {
        left: 16px;
        top: 76px;
        width: calc(100% - 32px);
        height: auto;
        display: none;
        align-items: stretch;
        padding: 8px;
        border-radius: 6px;
        background: #FFFFFF;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
        z-index: 60;
    }

    .main-nav.is-open {
        display: flex;
    }

    .nav-list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list li:not(:last-child) a {
        border-bottom: 1px solid #E6E6E6;
    }

    .nav-item,
    .main-nav .menu-item > a {
        display: block;
        width: 100%;
        padding: 13px 12px;
        color: #003E60;
        font-size: 15px;
        line-height: 1.1;
        text-align: left;
    }

    .nav-item.active,
    .main-nav .current-menu-item > a,
    .main-nav .current-menu-ancestor > a {
        color: #ED2E36;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .top-blue-bar {
        height: 44px;
    }

    .candidate-title {
        font-size: 13px;
    }

    .header-white-bar {
        height: 70px;
    }

    .left-branding-card {
        top: -16px;
        width: 116px;
        height: 70px;
    }

    .mobile-menu-toggle {
        top: 15px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .main-nav,
    .main-nav.is-open {
        top: 70px;
        left: 12px;
        width: calc(100% - 24px);
    }
}

/* --------------------------------------------------------------------------
   15. Full-bleed hero carousel
   -------------------------------------------------------------------------- */
.carousel-section {
    width: 100%;
    padding: 0;
}

.carousel-container {
    width: 100%;
    max-width: none;
    height: min(72vh, 760px);
    min-height: 480px;
    aspect-ratio: auto;
    margin-top: 0;
    border-radius: 0;
}

@media (max-width: 767px) {
    .carousel-container {
        width: 100%;
        height: min(68svh, 560px);
        min-height: 320px;
        aspect-ratio: auto;
        margin-top: 0;
        border-radius: 0;
    }
}
