/* ========================================
   FOOTER
======================================== */
.site-footer {
    background-color: #0c0b09; /* Deep premium black */
    color: #ffffff;
    padding: 85px 0 50px;
    border-top: 4px solid var(--color-primary); /* Gold accent top border */
    position: relative;
}

.footer-container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
    gap: 50px 60px;
    padding-bottom: 50px;
}

/* Brand column */
.footer-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    display: block;
    position: relative;
    z-index: 1;
}

/* Glare hover — React Bits port */
.glare-hover {
    width: var(--gh-width, 500px);
    height: var(--gh-height, 500px);
    background: var(--gh-bg, #000);
    border-radius: var(--gh-br, 10px);
    border: 1px solid var(--gh-border, #333);
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: center;
}

.glare-hover::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        var(--gh-angle, -45deg),
        hsla(0, 0%, 0%, 0) 60%,
        var(--gh-rgba, rgba(255, 255, 255, 0.5)) 70%,
        hsla(0, 0%, 0%, 0),
        hsla(0, 0%, 0%, 0) 100%
    );
    transition: var(--gh-duration, 650ms) ease;
    background-size:
        var(--gh-size, 250%) var(--gh-size, 250%),
        100% 100%;
    background-repeat: no-repeat;
    background-position:
        -100% -100%,
        0 0;
}

.glare-hover:hover {
    cursor: pointer;
}

.glare-hover:hover::before {
    background-position:
        100% 100%,
        0 0;
}

.glare-hover--play-once::before {
    transition: none;
}

.glare-hover--play-once:hover::before {
    transition: var(--gh-duration, 650ms) ease;
    background-position:
        100% 100%,
        0 0;
}

.footer-logo-link.glare-hover.footer-logo-glare {
    --gh-width: auto;
    --gh-height: auto;
    --gh-bg: transparent;
    --gh-br: 12px;
    --gh-angle: -30deg;
    --gh-duration: 1900ms;
    --gh-size: 450%;
    --gh-rgba: rgba(255, 255, 255, 0.9);
    --gh-border: transparent;
    width: fit-content;
    height: auto;
    border: none;
    background: transparent;
    display: inline-block;
    margin-bottom: 28px;
    padding: 6px 10px;
}

.footer-title-divider {
    width: 32px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 18px 0 22px;
}

.footer-desc {
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 1.7;
    color: #ffffff;
    margin: 0 0 28px;
    max-width: 100%;
    padding-right: 12px;
}

/* Stats Box */
.footer-stats-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    border: 1px solid rgba(207, 137, 41, 0.15);
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 18px 12px;
    max-width: 350px;
}

.footer-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-stat-col .stat-icon {
    font-size: 15px;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.footer-stat-col .stat-number {
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.footer-stat-col .stat-label {
    font-family: var(--font-secondary);
    font-size: 9.5px;
    color: #8E867E;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Nav columns */
.footer-col-title {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.footer-links li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-links li:last-child {
    border-bottom: none;
}

.footer-links li a {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li .link-arrow {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.3s ease;
}

.footer-links li:hover a {
    color: var(--color-primary);
}

.footer-links li:hover .link-arrow {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* Contact column */
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(207, 137, 41, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-contact-icon i {
    font-size: 14px;
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--color-primary);
    color: #ffffff;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-contact-label {
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
}

.footer-contact-text a,
.footer-contact-text span {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-text a:hover {
    color: var(--color-primary);
}

/* Copyright Row */
.footer-copyright-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0 0;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: var(--font-secondary);
    font-size: 13px;
    color: #ffffff;
    margin: 0;
}

.footer-copyright-socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .footer-copyright-wrapper {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .footer-copyright-socials {
        order: 1;
    }

    .footer-copy {
        order: 2;
    }
}

/* Bottom Newsletter and Social Panel */
.footer-bottom-panel {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr 1fr;
    gap: 30px;
    background-color: #12100d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px 32px;
    align-items: center;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
}

/* Wave graphic lines background look */
.footer-bottom-panel::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 280px;
    height: 180px;
    background: radial-gradient(circle, rgba(207, 137, 41, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.panel-left {
    display: flex;
    align-items: center;
    gap: 18px;
    z-index: 2;
}

.panel-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(207, 137, 41, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.panel-text {
    display: flex;
    flex-direction: column;
}

.panel-title {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.panel-desc {
    font-family: var(--font-secondary);
    font-size: 12px;
    color: #8E867E;
    line-height: 1.4;
    margin-top: 3px;
}

.panel-middle {
    z-index: 2;
}

.footer-subscribe-form {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 99px;
    padding: 4px;
    width: 100%;
}

.subscribe-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 16px;
    color: #ffffff;
    font-family: var(--font-secondary);
    font-size: 13.5px;
}

.subscribe-input::placeholder {
    color: #58514a;
}

.subscribe-btn {
    background-color: var(--color-primary);
    border: none;
    outline: none;
    padding: 11px 24px;
    border-radius: 99px;
    color: #ffffff;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.subscribe-btn:hover {
    background-color: var(--color-primary-hover);
}

.subscribe-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.subscribe-btn:hover i {
    transform: translateX(3px);
}

.panel-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: 2;
}

.follow-us-label {
    font-family: var(--font-secondary);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.footer-social-link:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-bottom-panel {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .panel-right {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-stats-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }
}


/* Section cursor spotlight (empty background areas) */
.section-spotlight {
    position: relative;
    overflow: hidden;
}

.section-spotlight::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
    background: radial-gradient(
        circle 560px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        var(--spotlight-color, rgba(207, 137, 41, 0.28)),
        transparent 65%
    );
}

.section-spotlight.is-spotlight-active::before {
    opacity: 1;
}

.section-spotlight > :first-child {
    position: relative;
    z-index: 1;
}

.section-spotlight .gallery-carousel-item {
    isolation: isolate;
}

@media (prefers-reduced-motion: reduce) {
    .section-spotlight::before {
        display: none;
    }
}

/* ========================================
   MEDIA GALLERY SECTION
======================================== */
.gallery-section {
    padding: 100px 0 110px;
    background: #faf7f2;
}

.gallery-container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-header {
    max-width: 760px;
}

.gallery-tagline {
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.gallery-title {
    font-family: var(--font-primary);
    font-size: 40px;
    line-height: 1.08;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0;
}

.gallery-description {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray);
    margin: 12px 0 0;
    max-width: 800px;
}

.gallery-header-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    flex-shrink: 0;
}

/* Gallery Carousel Layout */
.gallery-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 40px;
}

.gallery-carousel-arrows {
    display: flex;
    gap: 12px;
}

.gallery-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(207, 137, 41, 0.65);
    background: transparent;
    color: var(--color-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s ease;
}

.gallery-arrow:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(207, 137, 41, 0.15);
}

.gallery-carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.gallery-carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    transform-style: preserve-3d;
}

.gallery-carousel-item {
    position: relative;
    width: 240px;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: #faf7f2;
    will-change: width;
    transform: translate3d(0, 0, 0);
    cursor: default;
}

.gallery-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Featured (leftmost) expands by default */
.gallery-carousel-item.first-visible {
    width: 50%;
}

/* On hover of another card: shrink the featured one to ~30% so the hovered photo looks bigger */
.gallery-carousel-track.is-item-hovered .gallery-carousel-item.first-visible:not(:hover),
.gallery-carousel-track:has(.gallery-carousel-item:hover) .gallery-carousel-item.first-visible:not(:hover) {
    width: 30%;
}

.gallery-carousel-item:hover {
    width: 58%;
    z-index: 2;
}

.gallery-carousel-item:hover img {
    transform: scale(1.03) translate3d(0, 0, 0);
}

.gallery-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 10, 5, 0.9) 0%, rgba(15, 10, 5, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    z-index: 2;
}

.gallery-carousel-label {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.gallery-carousel-item:hover .gallery-carousel-label {
    color: var(--color-primary);
}

/* Responsive adjust */
@media (max-width: 768px) {
    .gallery-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .gallery-header-side {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .gallery-carousel-item {
        width: 100% !important;
        height: 320px;
    }
    .gallery-title {
        font-size: 28px;
    }
}

/* ========================================
   CSR & COMMUNITY INITIATIVES SECTION
   ======================================== */
.csr-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.csr-container {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
}

.csr-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    border-radius: 24px;
    overflow: hidden;
    background-color: #eae5db;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.04);
}

.csr-info {
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.csr-info.section-spotlight > * {
    position: relative;
    z-index: 1;
}

.csr-info-slides {
    display: grid;
    width: 100%;
    position: relative;
}

.csr-info-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
}

.csr-info-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: rgba(70, 44, 0, 0.22);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.csr-info-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.25);
}

.csr-info-slide {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.csr-info-slide:not(.active) {
    position: absolute;
    top: 0;
    left: 0;
}

.csr-info-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.csr-slide--empty {
    background-color: #f3efe6;
}



.csr-header {
    margin-bottom: 40px;
    text-align: left;
}

.csr-tagline {
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.csr-section-title {
    font-family: var(--font-primary);
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 0;
    max-width: 900px;
}

.csr-section-description {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray);
    margin: 12px 0 0;
    max-width: 800px;
}

.csr-card-title {
    font-family: var(--font-primary);
    font-size: 34px;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 20px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.csr-desc {
    font-family: var(--font-secondary);
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-charcoal);
    margin: 0 0 16px;
    opacity: 0.9;
}

.csr-info-slide .btn-primary-action {
    margin-top: 20px;
}

/* Right Side: Slide Container with Custom Striped Frame */
.csr-slider-wrapper {
    position: relative;
    padding: 30px;
    background: repeating-linear-gradient(90deg, var(--color-primary), var(--color-primary) 25px, #ffffff 25px, #ffffff 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.csr-slider-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f3efe6;
    display: flex;
    flex-direction: column;
}

.csr-slides-track {
    position: relative;
    width: 100%;
    height: 100%;
    flex-grow: 1;
}

.csr-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csr-slide.active {
    opacity: 1;
    visibility: visible;
}

.csr-slide-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(70, 44, 0, 0.3);
}

.csr-slide-placeholder i {
    font-size: 48px;
}

.csr-slide-placeholder span {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
}

.csr-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav Controls */
.csr-slider-nav {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.csr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(70, 44, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.csr-dot[hidden] {
    display: none;
}

.csr-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

/* Responsive adjustment */
@media (max-width: 991px) {
    .csr-card {
        grid-template-columns: 1fr;
    }
    .csr-info {
        order: 2;
        padding: 56px 40px;
    }
    .csr-slider-wrapper {
        order: 1;
        min-height: 380px;
    }
    .csr-slider-inner {
        min-height: 320px;
    }
}

@media (max-width: 576px) {
    .csr-section {
        padding: 60px 0;
    }
    .csr-info {
        padding: 40px 24px;
    }
    .csr-section-title {
        font-size: 28px;
    }
    .csr-card-title {
        font-size: 24px;
    }
}

