/* Slider container fills the gap between header and footer */
.home-slider {
    position: relative;
    width: 100%;
    height: calc(96vh - 56px - 40px); /* header + footer */
    overflow: hidden; /* nothing escapes */
}

/* Vertical track */
.home-slider-track {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.7s ease;
}

/* Each slide takes 100% of the slider height (NOT 100vh) */
.home-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Prevent Bootstrap row gutters from causing overflow on full-width sections */
.home-slide.row,
.hero-banner.row,
.video-hero.row,
.quote-section.row {
    margin-left: 0;
    margin-right: 0;
    --bs-gutter-x: 0;
}

/* Dark overlay */
.home-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.6)
    );
}

/* Content box */
.home-slide-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1.5rem;
}

/* Title */
.home-slide-title {
    font-family: "Big Caslon", serif;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f0f0f;
}

/* Counting Data Section */
.home-counts {
    background-color: #f7f7f5;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-counts-title {
    color: #0f0f0f;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.1rem;
}

.home-counts-subtitle {
    color: rgba(15, 15, 15, 0.6);
    font-size: 0.95rem;
}

/* Cards */
.home-count-card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
}

.home-count-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f0f0f;
    margin-bottom: 0.25rem;
}

.home-count-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 15, 15, 0.65);
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    background: url("../../miscellaneous/photos/image-1.jpg") center/cover
        no-repeat;
    display: flex;
    align-items: center;
    color: #111;
    margin-top: 2rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(221, 179, 86, 0.9) 0%,
        rgba(221, 179, 86, 0.7) 35%,
        rgba(221, 179, 86, 0) 70%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    padding: 2.5rem 1rem;
}

.hero-text {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-title {
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hero-feature-title {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-feature-divider {
    height: 2px;
    width: 72px;
    background: #111;
}

.hero-feature-text {
    font-size: 0.95rem;
}

.video-hero {
    position: relative;
    width: 100%;
    min-height: 360px;
    margin-top: 2.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.video-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.5);
    z-index: 1;
}

.video-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 1.5rem;
}

.video-hero-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.video-hero-title {
    font-size: clamp(1.1rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.quote-section {
    background: #0c0c0c;
    color: #ffffff;
    padding: 3.5rem 1.5rem;
    display: flex;
    justify-content: center;
}

.quote-card {
    max-width: 720px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    position: relative;
}

.quote-mark {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    color: #dcb464;
}

.quote-mark-bottom {
    margin-top: -0.5rem;
}

.quote-text {
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.6;
    font-weight: 600;
}

.quote-highlight {
    color: #dcb464;
}

.quote-author {
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-section {
    background: #d7a845;
    color: #1a1305;
    padding: 3.5rem 1.5rem;
    display: flex;
    justify-content: center;
}

/* Keep full-width testimonial row within viewport */
.testimonial-section.row {
    margin-left: 0;
    margin-right: 0;
    --bs-gutter-x: 0;
}

.testimonial-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.testimonial-kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
}

.testimonial-heading {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: rgba(26, 19, 5, 0.8);
}

.testimonial-nav {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 100;
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(26, 19, 5, 0.5);
    background: transparent;
    color: rgba(26, 19, 5, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    pointer-events: auto;
}

.testimonial-arrow:hover {
    background: rgba(26, 19, 5, 0.1);
    transform: translateY(-1px);
}

.testimonial-track {
    position: relative;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    max-width: 720px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    position: absolute;
    inset: 0;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-card.is-active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

.testimonial-quote {
    margin: 0;
    font-size: clamp(1.2rem, 2.4vw, 2rem);
    line-height: 1.7;
    font-weight: 600;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
}

.testimonial-name {
    font-weight: 700;
}

.testimonial-role {
    color: rgba(26, 19, 5, 0.7);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(26, 19, 5, 0.6);
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.testimonial-dot.is-active {
    background: rgba(26, 19, 5, 0.9);
}

@media (max-width: 576px) {
    .testimonial-section {
        padding: 3rem 1.25rem;
    }

    .testimonial-track {
        min-height: 220px;
    }
}

.faq-section {
    background: #0f0f0f;
    color: #ffffff;
    padding: 3.5rem 1.5rem;
    display: flex;
    justify-content: center;
}

.faq-section.row {
    margin-left: 0;
    margin-right: 0;
    --bs-gutter-x: 0;
}

.faq-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-heading {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.faq-divider {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #dcb464 0%, rgba(220, 180, 100, 0) 100%);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #141414;
    border: 1px solid rgba(220, 180, 100, 0.35);
    border-radius: 0.75rem;
    overflow: hidden;
}

.faq-button {
    background: #141414;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
}

.faq-button:not(.collapsed) {
    color: #ffffff;
    background: #141414;
    box-shadow: none;
}

.faq-button:focus {
    box-shadow: none;
}

.faq-button::after {
    filter: brightness(0) invert(1);
}

.faq-number {
    font-weight: 800;
    color: #dcb464;
    min-width: 42px;
}

.faq-text {
    flex: 1;
    text-align: left;
}

.faq-body {
    background: #141414;
    border-top: 1px solid rgba(220, 180, 100, 0.25);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

@media (max-width: 576px) {
    .faq-button {
        padding: 1rem 1.25rem;
    }
}

.contact-section {
    background: #111111;
    color: #ffffff;
    padding: 3.5rem 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-section.row {
    margin-left: 0;
    margin-right: 0;
    --bs-gutter-x: 0;
}

.contact-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.contact-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
}

.contact-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 0.75rem;
}

.contact-social {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(220, 180, 100, 0.4);
    color: #dcb464;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-social:hover {
    background: rgba(220, 180, 100, 0.1);
    transform: translateY(-1px);
}

.contact-form {
    background: #151515;
    border: 1px solid rgba(220, 180, 100, 0.25);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-title {
    margin: 0;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #dcb464;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-input {
    background: #0e0e0e;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    color: #ffffff;
    padding: 0.75rem 1rem;
}

.contact-input:focus {
    outline: none;
    border-color: rgba(220, 180, 100, 0.8);
    box-shadow: 0 0 0 2px rgba(220, 180, 100, 0.2);
}

.contact-textarea {
    resize: vertical;
}

.contact-submit {
    align-self: flex-start;
    padding: 0.75rem 2.5rem;
    border-radius: 999px;
    border: none;
    background: #dcb464;
    color: #1a1305;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .contact-form {
        margin-top: 2rem;
    }
}

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

    .contact-submit {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 360px;
    }

    .hero-content {
        padding: 2rem 1.25rem;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(221, 179, 86, 0.92) 0%,
            rgba(221, 179, 86, 0.6) 45%,
            rgba(221, 179, 86, 0) 100%
        );
    }
}
