/* ============================================================
   BASE
   ============================================================ */
:root {
    --red:      #aa1515;
    --red-dark: #8a0e0e;
    --dark:     #111317;
    --dark2:    #1a1d23;
    --dark3:    #22262e;
    --gray:     #adb5bd;
    --light:    #f5f5f5;
    --white:    #ffffff;
    --transition: 0.3s ease;
}

html, body {
    overflow-x: hidden;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #333;
}

a { text-decoration: none; }

.text-primary  { color: var(--red) !important; }
.bg-primary    { background-color: var(--red) !important; }
.btn-primary   { background-color: var(--red); border-color: var(--red); }
.btn-primary:hover { background-color: var(--red-dark); border-color: var(--red-dark); }


/* ============================================================
   HEADER — TOP BAR
   ============================================================ */
.header-topbar {
    background-color: var(--dark);
    color: var(--gray);
    font-size: 0.82rem;
    padding: 7px 0;
    border-bottom: 1px solid #2a2e36;
}

.topbar-contact {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar-contact a {
    color: var(--gray);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-contact a:hover { color: var(--white); }
.topbar-contact i { color: var(--red); font-size: 0.78rem; }

.topbar-social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.topbar-social a {
    color: var(--gray);
    width: 26px;
    height: 26px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.topbar-social a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}


/* ============================================================
   HEADER — MAIN NAVBAR
   ============================================================ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

#mainNav {
    background-color: var(--dark);
    padding: 0 0;
    transition: box-shadow var(--transition), background var(--transition);
    border-bottom: 3px solid var(--red);
    position: relative;
    overflow: hidden;
}

#mainNav.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

/* Split white/dark navbar: white panel behind logo (~75deg diagonal) */
.navbar-logo-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.333%;
    height: 88px;
    background: #fff;
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 88px, 0 88px);
    pointer-events: none;
}
.navbar-logo-red-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.333%;
    height: 88px;
    z-index: 1;
    pointer-events: none;
    /* red stripe only — clipped to a thin diagonal band just at the edge */
    clip-path: polygon(
        calc(100% - 26px) 88px,
        calc(100% - 22px) 88px,
        100% 0,
        calc(100% - 4px) 0
    );
    background: var(--red);
}

/* Logo */
.navbar-brand {
    padding: 0;
    margin-right: 2.5rem;
    position: relative;
    z-index: 2;
    height: 88px;
    display: flex !important;
    align-items: center;
}
.navbar-brand-logo {
    height: 74px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition);
    display: block;
    filter: none;
}


/* Nav links */
.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.82) !important;
    padding: 1.45rem 1rem !important;
    position: relative;
    transition: color var(--transition);
}
.navbar-nav .nav-link:hover {
    color: var(--white) !important;
}
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

/* CTA button in nav */
.nav-cta {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.55rem 1.4rem !important;
    border-radius: 2px;
    background: var(--red);
    border-color: var(--red);
    color: var(--white) !important;
    transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover {
    background: var(--red-dark) !important;
    border-color: var(--red-dark) !important;
    transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

/* Mobile CTA */
.nav-cta-mobile {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    padding: 0.35rem 0.9rem;
}

/* Toggler */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.35rem 0.65rem;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: none !important;
    border-radius: 3px;
}
.navbar-toggler:focus { box-shadow: none !important; }

/* Mobile menu */
@media (max-width: 991px) {
    /* Keep white logo panel on mobile at 1/3 width */
    .navbar-logo-panel { display: block; }
    .navbar-logo-red-line { display: block; }

    .navbar-brand {
        padding: 4px 0;
        margin-right: 0;
    }

    .navbar-collapse {
        background: var(--dark2);
        margin: 0 -12px;
        padding: 0.5rem 1.25rem 1rem;
        border-top: 1px solid #2a2e36;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 0.5rem !important;
        border-bottom: 1px solid #2a2e36;
        color: rgba(255,255,255,0.8) !important;
    }
    .navbar-nav .nav-link::after { display: none; }
    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        color: var(--white) !important;
        padding-left: 1rem !important;
    }
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background-color: var(--dark2);
    color: var(--gray);
    margin-top: auto;
}

.footer-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 50%, #600 100%);
}

.footer-body {
    padding: 4rem 0 3rem;
}

/* Brand column */
.footer-brand h4 {
    color: var(--white);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.3px;
    margin-bottom: 0.75rem;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 1.25rem;
}

/* Divider */
.footer-divider {
    width: 36px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

/* Social icons */
.footer-social-icons {
    display: flex;
    gap: 0.6rem;
}
.footer-social-icons a {
    width: 36px;
    height: 36px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.8rem;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-social-icons a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* Headings */
.footer-heading {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

/* Quick links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: var(--gray);
    font-size: 0.88rem;
    transition: color var(--transition), padding-left var(--transition);
    display: flex;
    align-items: center;
    gap: 7px;
}
.footer-links a i {
    font-size: 0.62rem;
    color: var(--red);
    transition: transform var(--transition);
}
.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}
.footer-links a:hover i { transform: translateX(3px); }

/* Contact list */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
}
.fc-icon {
    width: 30px;
    height: 30px;
    background: rgba(170,21,21,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 0.78rem;
    flex-shrink: 0;
    margin-top: 1px;
}
.footer-contact-list a {
    color: var(--gray);
    transition: color var(--transition);
}
.footer-contact-list a:hover { color: var(--white); }

/* Bottom bar */
.footer-bottom {
    background-color: #0a0b0d;
    padding: 1.25rem 0;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid #1e2228;
}
.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
}
.footer-bottom p { margin: 0; }
.footer-bottom a {
    color: var(--red);
    transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }
.footer-credits { color: #555; }
.credits-sep { margin: 0 0.4rem; color: #333; }


/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    background: var(--red);
    color: var(--white);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition);
    z-index: 999;
    box-shadow: 0 4px 14px rgba(170,21,21,0.4);
}
.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--red-dark);
    color: var(--white);
}


/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero-banner {
    position: relative;
    background-color: var(--dark);
    overflow: hidden;
    padding: 4.5rem 0 3.5rem;
    isolation: isolate;
}

/* Geometric dot-grid background */
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    z-index: 0;
}

/* Dark-to-red gradient overlay */
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(170,21,21,0.72) 0%,
        rgba(17,19,23,0.92) 55%,
        rgba(17,19,23,0.98) 100%
    );
    z-index: 1;
}

/* Diagonal red shape on the left edge */
.page-hero-shape {
    position: absolute;
    top: 0;
    left: -1px;
    width: 8px;
    height: 100%;
    background: var(--red);
    z-index: 3;
}
.page-hero-shape::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    width: 40px;
    height: 100%;
    background: var(--red);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Inner layout */
.page-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Left: tag + title + breadcrumb */
.page-hero-left { flex: 1; }

.page-hero-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(170,21,21,0.25);
    border: 1px solid rgba(170,21,21,0.5);
    color: #f8a0a0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.85rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}
.page-hero-tag i { color: var(--red); }

.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

/* Custom breadcrumb */
.page-breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}
.page-breadcrumb li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color var(--transition);
}
.page-breadcrumb li a:hover { color: var(--white); }
.page-breadcrumb li.separator { color: rgba(255,255,255,0.3); font-size: 0.65rem; }
.page-breadcrumb li.active { color: var(--white); font-weight: 600; }

/* Right: stats */
.page-hero-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 1.5rem 2rem;
    flex-shrink: 0;
}

.page-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #f8a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

.page-hero-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.12);
}


/* ============================================================
   PAGE CONTENT AREA
   ============================================================ */
.content-area {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* First paragraph lead style */
.content-area > p:first-of-type {
    font-size: 1.12rem;
    color: #222;
    line-height: 1.85;
}

.content-area h2 {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 0.85rem;
    border-left: 4px solid var(--red);
    padding-left: 0.85rem;
    line-height: 1.25;
}
.content-area h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 0.65rem;
}
.content-area h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #444;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.content-area p { margin-bottom: 1.35rem; }

.content-area img {
    border-radius: 6px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.12);
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
}
.content-area ul,
.content-area ol {
    padding-left: 1.6rem;
    margin-bottom: 1.35rem;
}
.content-area li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}
.content-area ul li::marker { color: var(--red); }
.content-area a {
    color: var(--red);
    text-decoration-line: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color var(--transition);
}
.content-area a:hover { color: var(--red-dark); }

.content-area blockquote {
    border-left: 4px solid var(--red);
    background: #fdf5f5;
    padding: 1.1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 4px 4px 0;
    font-style: italic;
    font-size: 1.05rem;
    color: #555;
}
.content-area table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.content-area table th {
    background: var(--dark);
    color: var(--white);
    padding: 0.65rem 1rem;
    text-align: left;
    font-weight: 600;
}
.content-area table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid #eee;
}
.content-area table tr:hover td { background: #fdf5f5; }

/* Feature image (from page_image field) */
.page-feature-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    object-fit: cover;
    display: block;
    border: 4px solid var(--white);
    outline: 1px solid #e0e0e0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-widget {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid #eee;
}

.sidebar-widget-header {
    background: var(--dark);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.9rem 1.2rem;
    border-left: 4px solid var(--red);
}
.sidebar-widget-header i { color: var(--red); }

.sidebar-nav { display: flex; flex-direction: column; }

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.78rem 1.2rem;
    color: #444;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: background var(--transition), color var(--transition), padding-left var(--transition);
    text-decoration: none;
}
.sidebar-nav-link:last-child { border-bottom: none; }
.sidebar-nav-link i {
    font-size: 0.6rem;
    color: var(--red);
    transition: transform var(--transition);
    flex-shrink: 0;
}
.sidebar-nav-link:hover {
    background: #fdf5f5;
    color: var(--red);
    padding-left: 1.6rem;
}
.sidebar-nav-link:hover i { transform: translateX(3px); }

/* CTA Widget */
.sidebar-cta {
    background: var(--dark);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    border-top: 4px solid var(--red);
}
.sidebar-cta-icon {
    width: 56px;
    height: 56px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: var(--white);
}
.sidebar-cta h5 {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}
.sidebar-cta p {
    font-size: 0.88rem;
    color: var(--gray);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.sidebar-cta .btn-light {
    background: var(--white);
    color: var(--red);
    border: none;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    border-radius: 2px;
    transition: background var(--transition), color var(--transition);
}
.sidebar-cta .btn-light:hover {
    background: var(--red);
    color: var(--white);
}


/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
    position: relative;
}

.carousel-item {
    height: 88vh;
    min-height: 520px;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transform: scale(1.02);
    transition: transform 8s ease;
}
.carousel-item.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10,10,10,0.78) 0%,
        rgba(10,10,10,0.45) 55%,
        rgba(10,10,10,0.15) 100%
    );
}

.hero-slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    padding: 0.4rem 1rem;
    border-radius: 2px;
    margin-bottom: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}
.carousel-item.active .hero-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Title */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
.carousel-item.active .hero-title {
    opacity: 1;
    transform: translateY(0);
}

/* Caption */
.hero-caption {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.65;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.7s, transform 0.7s ease 0.7s;
}
.carousel-item.active .hero-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Action buttons */
.hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.9s, transform 0.7s ease 0.9s;
}
.carousel-item.active .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.hero-btn-primary {
    background: var(--red);
    border-color: var(--red);
    color: var(--white) !important;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    border-radius: 2px;
    padding: 0.7rem 1.6rem;
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}
.hero-btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
}
.hero-btn-secondary {
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    border-radius: 2px;
    padding: 0.7rem 1.6rem;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Prev / Next controls */
.hero-ctrl {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(4px);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-ctrl:hover { background: var(--red); border-color: var(--red); }
.hero-ctrl i { color: var(--white); font-size: 1rem; }
.carousel-control-prev.hero-ctrl { left: 1.5rem; }
.carousel-control-next.hero-ctrl { right: 1.5rem; }

/* Dot indicators */
.hero-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-indicators button {
    width: 28px;
    height: 4px;
    background: rgba(255,255,255,0.4);
    border: none;
    border-radius: 2px;
    padding: 0;
    transition: background var(--transition), width var(--transition);
    cursor: pointer;
}
.hero-indicators button.active {
    background: var(--red);
    width: 44px;
}

/* Scroll-down cue */
.hero-scroll-down {
    position: absolute;
    bottom: 1.75rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    z-index: 10;
    animation: bounce 2s infinite;
    transition: border-color var(--transition);
}
.hero-scroll-down:hover { border-color: var(--white); color: var(--white); }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

@media (max-width: 767px) {
    .carousel-item { height: 70svh; min-height: 480px; position: relative; }
    .hero-slide-bg { transform: scale(1) !important; position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; background-position: center center !important; background-size: cover !important; }
    .hero-slide-content { padding-top: 2rem; padding-bottom: 4rem; }
    .hero-title { font-size: clamp(1.6rem, 7vw, 2.8rem); }
    .hero-caption { font-size: 0.92rem; }
    .hero-ctrl { width: 40px; height: 40px; }
    .carousel-control-prev.hero-ctrl { left: 0.75rem; }
    .carousel-control-next.hero-ctrl { right: 0.75rem; }
    .hero-scroll-down { display: none; }
    .page-hero-banner { padding: 3rem 0 2.5rem; }
    .page-hero-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .page-hero-shape { display: none; }
}


/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-card {
    transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.project-card .card-img-top {
    height: 200px;
    object-fit: cover;
}


/* ============================================================
   GALLERY
   ============================================================ */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    padding: 2rem 1rem 1rem;
}


/* ============================================================
   SECTION HEADER (shared)
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-tag {
    display: inline-block;
    background: rgba(170,21,21,0.1);
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 1rem;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 0.75rem;
}
.section-header p {
    color: #666;
    max-width: 580px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-section {
    padding: 5rem 0 4rem;
    background: #f8f8f8;
}

.proj-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.proj-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}

.proj-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
}
.proj-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.proj-card:hover .proj-card-img img { transform: scale(1.06); }

.proj-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(170,21,21,0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.proj-card:hover .proj-card-overlay { opacity: 1; }

.proj-view-btn {
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.5rem 1.4rem;
    border-radius: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background var(--transition);
}
.proj-view-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.proj-number {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 900;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}

.proj-card-body {
    padding: 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.proj-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.proj-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}
.proj-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition), color var(--transition);
}
.proj-link:hover { color: var(--red-dark); gap: 8px; }

.projects-cta-strip {
    background: var(--dark);
    border-top: 4px solid var(--red);
    padding: 2.5rem 0;
    color: var(--white);
}
.projects-cta-strip h4 { font-weight: 800; }
.projects-cta-strip .btn-light {
    color: var(--red);
    font-weight: 700;
    border-radius: 2px;
}
.projects-cta-strip .btn-light:hover { background: var(--red); color: var(--white); border-color: var(--red); }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section {
    padding: 5rem 0;
    background: #f8f8f8;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-caption {
    position: absolute;
    inset: 0;
    background: rgba(170,21,21,0.82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity var(--transition);
    color: var(--white);
    padding: 1rem;
    text-align: center;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-zoom-icon { font-size: 1.6rem; }
.gallery-caption h6 { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.03em; }

.gallery-modal .modal-content {
    background: #0d0d0d;
    border: none;
}
.gallery-modal .modal-header {
    border-bottom: 1px solid #222;
    padding: 0.75rem 1.25rem;
}
.gallery-modal .modal-title { color: var(--white); font-size: 0.9rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-strip {
    background: var(--dark);
    border-bottom: 3px solid var(--red);
}
.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-right: 1px solid #2a2e36;
}
.csi-icon {
    width: 44px;
    height: 44px;
    background: rgba(170,21,21,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1rem;
    flex-shrink: 0;
}
.csi-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}
.csi-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: color var(--transition);
}
a.csi-value:hover { color: var(--red); }

.contact-section {
    padding: 5rem 0;
    background: #f8f8f8;
}

.contact-form-card {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    overflow: hidden;
}
.contact-form-header {
    background: var(--dark);
    border-left: 4px solid var(--red);
    padding: 1.75rem 2rem;
    color: var(--white);
}
.contact-form-header h3 { font-weight: 800; margin-bottom: 0.35rem; font-size: 1.3rem; }
.contact-form-header p  { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin: 0; }

.contact-form {
    padding: 2rem;
}
.contact-form .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 0.35rem;
}
.contact-form .form-label span { color: var(--red); }
.contact-form .form-control {
    border: 1.5px solid #e0e0e0;
    border-radius: 3px;
    padding: 0.65rem 0.9rem;
    font-size: 0.92rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form .form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(170,21,21,0.1);
}
.contact-submit-btn {
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.75rem 2rem;
    transition: background var(--transition), transform var(--transition);
}
.contact-submit-btn:hover { transform: translateY(-2px); }
.contact-alert { border-radius: 3px; margin: 1.5rem 2rem 0; }

.contact-map-card {
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    flex: 1;
    min-height: 320px;
}
.map-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.contact-social-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--dark);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}
.contact-social-row a {
    width: 32px;
    height: 32px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.75rem;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
}
.contact-social-row a:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}


/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* -- Trust Bar -- */
.home-trust-bar {
    background: var(--dark);
    border-bottom: 3px solid var(--red);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.trust-item i {
    color: var(--red);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* -- Welcome Section -- */
.home-welcome-section {
    padding: 5.5rem 0;
    background: #fff;
}
.home-welcome-img-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 20px;
    padding-right: 20px;
}
.home-welcome-img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
    display: block;
}
.home-welcome-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--red);
    color: #fff;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(170,21,21,0.4);
    border: 4px solid #fff;
}
.hwb-num {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}
.hwb-num sup { font-size: 0.9rem; }
.hwb-txt {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-top: 2px;
    opacity: 0.9;
}
.home-welcome-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--dark);
    line-height: 1.25;
    margin: 0.5rem 0 1.25rem;
}
.home-welcome-text {
    color: #555;
    font-size: 1rem;
    line-height: 1.85;
}

/* -- Why Choose Us -- */
.home-why-section {
    padding: 5rem 0;
    background: #f7f7f7;
}
.why-card {
    background: #fff;
    border-radius: 6px;
    padding: 2.25rem 2rem;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 4px solid transparent;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-top-color: var(--red);
}
.why-card-featured {
    background: var(--dark);
    border-top-color: var(--red);
    color: #fff;
}
.why-card-featured h5 { color: #fff; }
.why-card-featured .why-card-text { color: rgba(255,255,255,0.7); }
.why-card-featured:hover { transform: translateY(-6px); }
.why-card-icon {
    width: 68px;
    height: 68px;
    background: rgba(170,21,21,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.6rem;
    color: var(--red);
    transition: background var(--transition), color var(--transition);
}
.why-card-featured .why-card-icon {
    background: rgba(170,21,21,0.25);
    color: #fff;
}
.why-card:hover .why-card-icon {
    background: var(--red);
    color: #fff;
}
.why-card h5 {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}
.why-card-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
}

/* -- Stats Bar -- */
.home-stats-section {
    background: var(--red);
    padding: 0;
}
.hstat-item {
    padding: 3rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.hstat-num {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.hstat-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.75);
}

/* -- Featured Projects -- */
.home-projects-section {
    padding: 5.5rem 0;
    background: #fff;
}

/* -- CTA Banner -- */
.home-cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    isolation: isolate;
}
.home-cta-bg {
    position: absolute;
    inset: 0;
    background-color: var(--dark);
    z-index: 0;
}
.home-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(170,21,21,0.85) 0%, rgba(17,19,23,0.95) 60%);
    z-index: 1;
}
.home-cta-inner {
    position: relative;
    z-index: 2;
}
.home-cta-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.9rem;
    border-radius: 2px;
    margin-bottom: 1rem;
}
.home-cta-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.home-cta-text {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
}
.home-cta-btn {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: transform var(--transition), box-shadow var(--transition);
}
.home-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.cta-section { padding: 60px 0; }
.features-section { padding: 60px 0; }
.featured-projects-section { padding: 4rem 0; }


/* ============================================================
   PROJECT SINGLE PAGE
   ============================================================ */
.proj-single-section {
    padding: 4rem 0 5rem;
    background: #f9f9f9;
}

.proj-single-hero-img {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    margin-bottom: 2.5rem;
    position: relative;
}
.proj-single-hero-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.proj-section-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    border-left: 3px solid var(--red);
    padding-left: 0.75rem;
    margin-bottom: 1.25rem;
}

.proj-single-body {
    background: #fff;
    border-radius: 6px;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
}

.proj-gallery-block {
    background: #fff;
    border-radius: 6px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.proj-gallery-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 1;
}
.proj-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.proj-gallery-thumb:hover img {
    transform: scale(1.08);
}
.proj-gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(170,21,21,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    opacity: 0;
    transition: opacity var(--transition);
}
.proj-gallery-thumb:hover .proj-gallery-thumb-overlay { opacity: 1; }

/* Sidebar */
.proj-sidebar { position: sticky; top: 100px; }

.proj-sidebar-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
}

.proj-sidebar-heading {
    background: var(--dark);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.85rem 1.25rem;
}

.proj-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.proj-detail-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #f0f0f0;
    gap: 0.5rem;
}
.proj-detail-list li:last-child { border-bottom: none; }
.pdl-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}
.pdl-label i { color: var(--red); width: 14px; }
.pdl-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
    text-align: right;
}

.proj-back-link {
    display: inline-flex;
    align-items: center;
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: gap var(--transition);
    gap: 0;
}
.proj-back-link:hover { gap: 0.25rem; color: var(--red-dark); }
