:root {
    --nalla-black: #2b2b2b;
    --nalla-ivory: #f4f4f4;
}

.cms-section {
    position: relative;
}

/* Section sidebar label pattern (Figma sidebar col) */
.section-sidebar-label {
    width: 200px;
    flex-shrink: 0;
}

/* Decorative hr variants */
.hr-label {
    width: 200px;
    border-top: 1px solid;
    border-bottom: 0;
    height: 0;
    margin-top: 0;
    margin-bottom: 0.7rem;
}

.hr-label-dark {
    border-color: rgba(43, 43, 43, 0.25);
}

.hr-label-light {
    border-color: #f4f4f4;
}

.hr-accent {
    width: 50px;
    border-top: 2px solid #fecc7e;
    border-bottom: 0;
    height: 0;
}

.sidebar-label-text {
    font-size: 13px;
    display: block;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    line-height: 1.5;
}

/* Flat square button override (no pill) */
.btn-nalla {
    border-radius: 0;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nalla-dark {
    background-color: var(--nalla-black);
    color: var(--nalla-ivory);
    border: 1px solid var(--nalla-black);
}

.btn-nalla-dark:hover {
    background-color: #1a1a1a;
    color: var(--nalla-ivory);
}

.btn-nalla-outline {
    background-color: transparent;
    color: #000000;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

.btn-nalla-outline:hover {
    background-color: rgba(108, 117, 125, 0.08);
    color: #000000;
}

.btn-nalla-amber {
    background-color: transparent;
    color: #fecc7e;
    border: 1px solid #fecc7e;
}

.btn-nalla-amber:hover {
    background-color: #fecc7e;
    color: #000;
    border-color: #fecc7e;
}

.btn-nalla-outline-light {
    background-color: transparent;
    color: #f4f4f4;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-nalla-outline-light:hover {
    background-color: #fecc7e;
    color: #000;
    border-color: #fecc7e;
}

.section-padding {
    padding-top: 110px;
    padding-bottom: 110px;
}

.section-padding-sm {
    padding-top: 48px;
    padding-bottom: 48px;
}

.section-padding-lg {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section-my-0 { margin-top: 0; margin-bottom: 0; }
.section-my-4 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.section-my-5 { margin-top: 3rem; margin-bottom: 3rem; }

/* Extra top padding for sections that sit directly below the navbar */
.section-pt-xl {
    padding-top: 180px;
}

.card-img {
    width: 100%;
    aspect-ratio: 4/3;
}

@media (max-width: 767.98px) {
    .section-padding {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .section-padding-lg {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .section-pt-xl {
        padding-top: 140px;
    }
}

/* Hero banner height */
.section-hero {
    height: 800px;
}

/* Stats section */
.section-stats {
    background: linear-gradient(to left, rgba(3, 150, 246, 0.2), rgba(254, 204, 126, 0.3));
    min-height: 200px;
}

@media (min-width: 992px) {
    .section-stats {
        height: 200px;
        min-height: unset;
    }
}

.stat-item {
    flex: 0 0 50%;
    text-align: center;
}

@media (min-width: 576px) {
    .stat-item {
        flex: 0 0 33.333%;
    }
}

@media (min-width: 992px) {
    .stat-item {
        flex: 1;
        text-align: start;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.stats-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: var(--nalla-black);
    display: block;
}

.stats-label {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--nalla-black);
    margin-bottom: 0;
    line-height: 1.4;
}

.stats-vr {
    opacity: 0.2;
    align-self: stretch;
}

/* Hero inner content max-width */
.hero-inner {
    max-width: 1322px;
}

/* Hero subtitle label */
.hero-subtitle-label {
    font-size: 11px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #f4f4f4;
    line-height: 1.4;
}

/* History timeline section */
.section-history {
    background: linear-gradient(to right, rgba(85, 183, 168, 0.3), rgba(254, 204, 126, 0.3));
}

.history-item {
    flex: 0 0 calc(50% - 0.5rem);
    text-align: start;
    padding: 1rem 0;
}

@media (min-width: 992px) {
    .history-item {
        flex: 1;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.history-year {
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--nalla-black);
    display: block;
}

.history-label {
    font-size: 12px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--nalla-black);
    margin-bottom: 0;
    line-height: 1.4;
}

.section-text-image ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: list-counter;
}

.section-text-image ol li {
    display: flex;
    align-items: baseline;
    gap: .3rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    font-weight: 500;
    counter-increment: list-counter;
}

.section-text-image ol li::before {
    content: counter(list-counter);
    min-width: 1.5rem;
    flex-shrink: 0;
    font-weight: 500;
    color: var(--nalla-black);
}

/* Hero banner — parallax image */
.hero-parallax-bg {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Hero banner — animated falling dots */
.hero-lines-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.hero-line:nth-child(1) { left: 25%; }
.hero-line:nth-child(2) { left: 50%; }
.hero-line:nth-child(3) { left: 75%; }

@media (max-width: 991.98px) {
    .hero-line:nth-child(2) { display: none; }
    .hero-line:nth-child(1) { left: 33%; }
    .hero-line:nth-child(3) { left: 67%; }
}

.hero-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: heroDotFall linear infinite;
    animation-fill-mode: backwards;
}

/* One dot per line, staggered */
.hero-line:nth-child(1) .hero-dot { animation-duration: 3.6s; animation-delay: 0s;   }
.hero-line:nth-child(2) .hero-dot { animation-duration: 4.1s; animation-delay: 1.3s; }
.hero-line:nth-child(3) .hero-dot { animation-duration: 3.0s; animation-delay: 2.5s; }


@keyframes heroDotFall {
    0%   { top: -10px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.8; }
    100% { top: 110%; opacity: 0; }
}

/* ─── Enquiry form section ─────────────────────────────────────────── */

.enquiry-form-label {
    display: block;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--nalla-black);
    margin-bottom: 5px;
    line-height: 1.4;
}

.enquiry-form-input {
    display: block;
    height: 50px;
    padding: 8px 16px;
    background: #ffffff;
    border: 0.5px solid rgba(108, 117, 125, 0.5);
    border-radius: 0;
    font-size: 14px;
    color: var(--nalla-black);
    outline: none;
    transition: border-color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.enquiry-form-input:focus {
    border-color: var(--nalla-black);
    box-shadow: none;
}

.enquiry-form-textarea {
    height: 150px;
    resize: vertical;
}

/* Select wrapper for custom chevron */
.enquiry-form-select-wrap {
    position: relative;
}

.enquiry-form-select {
    cursor: pointer;
    padding-right: 40px;
}

.enquiry-select-chevron {
    position: absolute;
    right: 12px;
    top: 25px; /* fixed: half of the 50px input height, unaffected by error text below */
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 18px;
    color: var(--nalla-black);
    display: flex;
    align-items: center;
}

/* Checkbox */
.enquiry-form-check {
    width: 14px;
    height: 14px;
    min-width: 14px;
    border: 0.5px solid rgba(108, 117, 125, 0.5);
    border-radius: 0;
    background: #ffffff;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.enquiry-form-check:checked {
    background-color: var(--nalla-black);
    border-color: var(--nalla-black);
}

.enquiry-check-label {
    font-size: 14px;
    color: var(--nalla-black);
    line-height: 1.5;
    cursor: pointer;
}

/* Feedback messages */
.enquiry-feedback {
    font-size: 13px;
    margin-bottom: 0;
    padding: 10px 14px;
}

.enquiry-feedback--success {
    background-color: rgba(85, 183, 168, 0.12);
    border-left: 3px solid #55b7a8;
    color: #2a7a6f;
}

.enquiry-feedback--error {
    background-color: rgba(220, 53, 69, 0.08);
    border-left: 3px solid #dc3545;
    color: #842029;
}

/* Bootstrap validation — restore red border on invalid enquiry inputs */
.was-validated .enquiry-form-input:invalid {
    border-color: #dc3545;
}

/* Contact image */
.enquiry-contact-image {
    display: block;
    height: 260px;
    object-fit: cover;
    object-position: center;
}

/* Dark contact details panel */
.enquiry-contact-panel {
    background-color: var(--nalla-black);
    padding: 32px;
}

.enquiry-contact-panel__heading {
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--nalla-ivory);
    font-weight: 600;
    margin-bottom: 20px;
}

.enquiry-contact-divider {
    border: none;
    border-top: 0.5px solid rgba(255, 255, 255, 0.2);
    margin: 0 0 20px 0;
}

.enquiry-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.enquiry-contact-icon {
    font-size: 18px;
    color: var(--nalla-ivory);
    flex-shrink: 0;
    margin-top: 2px;
}

.enquiry-contact-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--nalla-ivory);
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .enquiry-contact-image {
        height: 200px;
    }

    .enquiry-contact-panel {
        padding: 24px;
    }
}

.scrollToTop {
    border-radius: 50%;
    background-color: var(--nalla-black);
    color: var(--nalla-ivory);
}
