/********** One Empire — Premium Dark Theme **********/

:root {
    --primary:        #d1daf1;
    --primary-light:  #d1daf1;
    --primary-dark:   #A07B2E;
    --primary-glow:   rgba(201, 168, 76, 0.12);
    --secondary:      #8A9BB5;
    --bg-base:        #05080F;
    --bg-surface:     #0A0E1A;
    --bg-card:        rgba(255, 255, 255, 0.03);
    --bg-card-hover:  rgba(201, 168, 76, 0.04);
    --glass:          rgba(10, 14, 26, 0.92);
    --glass-border:   rgba(201, 168, 76, 0.14);
    --text-primary:   #FFFFFF;
    --text-secondary: #8A9BB5;
    --text-muted:     #3D4A5C;
    --light:          #F1F3FA;
    --dark:           #05080F;
    --gradient-gold:  linear-gradient(135deg, #d1daf1 0%, #d1daf1 50%, #d1daf1 100%);
    --gradient-dark:  linear-gradient(135deg, #0A0E1A 0%, #111827 100%);
    --shadow-gold:    0 8px 32px rgba(201, 168, 76, 0.25);
    --shadow-card:    0 4px 24px rgba(0, 0, 0, 0.4);
}


/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-secondary);
    line-height: 1.75;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 700;
}

a { transition: color .25s ease; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* Bootstrap color overrides */
.text-primary  { color: var(--primary) !important; }
.bg-primary    { background: var(--primary) !important; }
.bg-dark       { background-color: var(--bg-base) !important; }
.bg-white      { background-color: var(--bg-surface) !important; }
.bg-light      { background-color: rgba(255, 255, 255, 0.04) !important; }
.border        { border-color: var(--glass-border) !important; }
.border-bottom { border-bottom-color: var(--glass-border) !important; }
.text-dark     { color: var(--text-primary) !important; }
.text-light    { color: var(--text-secondary) !important; }
.text-white    { color: var(--text-primary) !important; }
.fw-medium     { font-weight: 500; }


/* ============================================================
   SPINNER
   ============================================================ */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: var(--bg-base) !important;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
.spinner-border { border-color: var(--primary) !important; border-right-color: transparent !important; }


/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-gold) !important;
    border: none !important;
    color: var(--bg-base) !important;
    box-shadow: var(--shadow-gold);
    transition: transform .3s ease, box-shadow .3s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(201, 168, 76, 0.45);
    color: var(--bg-base) !important;
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    transition: all .3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 6px;
}
.btn-primary,
.btn-outline-primary:hover {
    background: var(--gradient-gold);
    border-color: transparent;
    color: var(--bg-base) !important;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #d1daf1, #d1daf1);
    border-color: transparent;
    color: var(--bg-base) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.45);
}
.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    background: transparent;
}
.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bg-base);
}
.btn-light {
    background: rgba(255,255,255,0.08) !important;
    border-color: var(--glass-border) !important;
    color: var(--text-primary) !important;
}
.btn-light:hover {
    background: rgba(255,255,255,0.14) !important;
}
.btn-square    { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.rounded-pill { border-radius: 100px !important; }


/* ============================================================
   TOPBAR
   ============================================================ */
.topbar-strip {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}
.topbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}
.topbar-meta {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}
.topbar-meta small {
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    margin-left: 2rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-meta small i { color: var(--primary); font-size: 0.75rem; }


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-wrapper {
    background: var(--glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Override Bootstrap sticky-top on the container */
.sticky-top {
    top: 0;
    transition: none;
    background: var(--glass) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.navbar-light { background: transparent !important; }

.navbar-brand-lg {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 1.4rem 0.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    outline: none;
    position: relative;
    transition: color .3s ease;
}
.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
    transition: width .35s ease;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 6px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 0.75rem 0;
        letter-spacing: 0;
        text-transform: none;
        font-size: 0.95rem;
    }
    .navbar .navbar-nav .nav-link::after { display: none; }
    .navbar .navbar-nav {
        margin-top: 12px;
        border-top: 1px solid var(--glass-border);
        padding-top: 8px;
    }
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
        padding: 0.35rem 0.6rem;
        background: rgba(255, 255, 255, 0.06);
    }
    .navbar-toggler:focus { box-shadow: 0 0 0 2px var(--primary-glow); }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: 1px solid var(--glass-border);
        background: var(--glass);
        backdrop-filter: blur(20px);
        border-radius: 10px;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: all .3s ease;
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
    .dropdown-item { color: var(--text-secondary); font-size: 0.875rem; padding: 0.5rem 1.25rem; }
    .dropdown-item:hover { background: var(--primary-glow); color: var(--primary); }
}

/* Toggler icon — override Bootstrap's .navbar-light specificity */
.navbar-light .navbar-toggler-icon,
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Dashboard CTA */
.nav-cta {
    background: var(--gradient-gold) !important;
    border: none !important;
    color: var(--bg-base) !important;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.4rem;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
    transition: all .3s ease;
    text-decoration: none;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.45);
    color: var(--bg-base) !important;
}


/* ============================================================
   HERO CAROUSEL
   ============================================================ */
#header-carousel {
    position: relative;
}
#header-carousel .carousel-item img {
    height: 92vh;
    min-height: 560px;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.28) saturate(0.8);
}
#header-carousel .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(5, 8, 15, 0.7) 0%,
        rgba(5, 8, 15, 0.2) 60%,
        transparent 100%);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item { position: relative; min-height: 80vh; }
    #header-carousel .carousel-item img {
        position: absolute; width: 100%; height: 100%; object-fit: cover;
    }
}

.carousel-caption {
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    background: transparent;
    z-index: 5;
    text-align: left;
}

.carousel-caption .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.25rem;
}
.carousel-caption .hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--primary);
}

.carousel-caption h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.25rem, 6vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1.75rem;
    text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.carousel-caption p.lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.62);
    margin-bottom: 2.25rem;
    font-weight: 300;
    max-width: 460px;
}

.carousel-caption .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    background: var(--gradient-gold);
    color: var(--bg-base) !important;
    box-shadow: 0 6px 28px rgba(201, 168, 76, 0.4);
    transition: all .3s ease;
}
.carousel-caption .btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(201, 168, 76, 0.55);
}

.carousel-control-prev,
.carousel-control-next {
    width: 52px;
    height: 52px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid var(--glass-border);
    opacity: 0.7;
    transition: all .35s ease;
    z-index: 10;
}
.carousel-control-prev { left: 2rem; }
.carousel-control-next { right: 2rem; }
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(201, 168, 76, 0.2);
    opacity: 1;
    border-color: rgba(201, 168, 76, 0.4);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.25rem;
    height: 1.25rem;
    background-color: transparent;
    border-radius: 0;
    border: none;
    filter: brightness(10) sepia(1) saturate(3) hue-rotate(10deg);
}

/* Hero scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.35);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.hero-scroll-hint .scroll-bar {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollBarPulse 2s ease-in-out infinite;
}
@keyframes scrollBarPulse {
    0%, 100% { opacity: 0.25; }
    50%       { opacity: 0.9; }
}


/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}
.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 65%);
    pointer-events: none;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 40, 80, 0.15) 0%, transparent 65%);
    pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    color: var(--text-primary);
}
.page-header .breadcrumb { background: transparent; }
.page-header .breadcrumb-item a { color: var(--text-secondary); text-decoration: none; }
.page-header .breadcrumb-item a:hover { color: var(--primary); }
.page-header .breadcrumb-item+.breadcrumb-item::before { color: var(--text-muted); }
.page-header .breadcrumb-item.active,
.page-header .breadcrumb-item.text-primary { color: var(--primary) !important; }
.breadcrumb-item, .breadcrumb-item a { font-size: 0.875rem; color: var(--text-secondary); }


/* ============================================================
   SECTION LAYOUT UTILS
   ============================================================ */
.section-py { padding: 6rem 0; }
.section-py-sm { padding: 4rem 0; }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}
.section-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: var(--primary);
    flex-shrink: 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 560px;
}


/* ============================================================
   FEATURE CARDS (Home)
   ============================================================ */
.features-wrap {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--glass-border);
    gap: 1px;
}
@media (max-width: 991.98px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px)  { .features-grid { grid-template-columns: 1fr; } }

.feat-card {
    background: var(--bg-surface);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: background .35s ease;
}
.feat-card:hover { background: var(--bg-card-hover); }

.feat-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.feat-card:hover::after { transform: scaleX(1); }

.feat-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--primary-glow);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.feat-icon img {
    width: 26px; height: 26px;
    filter: brightness(0) saturate(100%) invert(76%) sepia(35%) saturate(500%)
            hue-rotate(5deg) brightness(100%) contrast(90%);
}

.feat-card h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}
.feat-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}


/* ============================================================
   SERVICE / HOW IT WORKS CARDS
   ============================================================ */
.services-wrap { padding: 6rem 0; }

.svc-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.25,.46,.45,.94),
                box-shadow .4s ease,
                border-color .4s ease;
}
.svc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(201, 168, 76, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity .4s ease;
}
.svc-card:hover::before { opacity: 1; }

.svc-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    margin-bottom: 0.75rem;
    display: block;
}
.svc-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--primary-glow);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.svc-icon img {
    width: 26px; height: 26px;
    filter: brightness(0) saturate(100%) invert(76%) sepia(35%) saturate(500%)
            hue-rotate(5deg) brightness(100%) contrast(90%);
}
.svc-card h5 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.svc-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* Legacy service-item for plan.blade.php compatibility */
.service-item .service-text {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all .4s ease;
    text-align: center;
}
.service-item:hover .service-text {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-item .service-text h5 { color: var(--text-primary); transition: color .3s; }
.service-item:hover .service-text h5 { color: var(--primary); }


/* ============================================================
   PROJECT CAROUSEL
   ============================================================ */
.projects-wrap { padding: 5rem 0 3rem; }

.project-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--bg-surface);
}
.project-item img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: transform .6s ease, filter .4s ease;
    filter: brightness(0.65) saturate(0.9);
}
.project-item:hover img {
    transform: scale(1.06);
    filter: brightness(0.4) saturate(0.8);
}
.project-item .project-overlay {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(to top,
        rgba(5, 8, 15, 0.92) 0%,
        rgba(5, 8, 15, 0.4) 40%,
        transparent 100%);
    opacity: 0;
    padding-top: 60px;
    transition: opacity .4s ease, padding-top .4s ease;
}
.project-item:hover .project-overlay {
    opacity: 1;
    padding-top: 0;
}
.project-item .project-overlay .btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    transition: background .25s;
}
.project-item .project-overlay .btn:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--bg-base) !important;
}
.project-item .p-4 {
    padding: 1.25rem 1.5rem !important;
    background: var(--bg-surface);
    border-top: 1px solid var(--glass-border);
}
.project-item .p-4 a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.4rem;
    transition: color .25s;
}
.project-item .p-4 a:hover { color: var(--primary); }
.project-item .p-4 span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Owl nav */
.project-carousel .owl-nav {
    position: absolute;
    top: -78px;
    right: 0;
    display: flex;
    gap: 10px;
}
.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--bg-surface);
    font-size: 18px;
    transition: all .3s ease;
}
.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--bg-base);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
@media (max-width: 768px) {
    .project-carousel .owl-nav {
        top: -60px; right: auto; left: 50%; transform: translateX(-50%);
    }
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 5rem 0; }

.about-visual {
    position: relative;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0E1A, #0F1929);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
}
.about-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/about.jpg') center / cover no-repeat;
    opacity: 0.2;
    filter: grayscale(30%);
}

.about-content-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
}
.about-content-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 16px 16px 0 0;
}
.about-content-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1rem;
}
.about-content-card p:last-child { margin-bottom: 0; }


/* ============================================================
   PLAY BUTTON (About page)
   ============================================================ */
.btn-play {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-gold);
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: transform .3s ease;
}
.btn-play:hover { transform: scale(1.08); }

.btn-play::before,
.btn-play::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.15);
}
.btn-play::before {
    width: 110px; height: 110px;
    animation: pulseRing 2s ease-out infinite;
}
.btn-play::after {
    width: 140px; height: 140px;
    animation: pulseRing 2s ease-out infinite 0.5s;
}
.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0; height: 0;
    left: 4px;
    border-left: 22px solid var(--bg-base);
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
}
@keyframes pulseRing {
    0%   { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.85); opacity: 0; }
}

/* Video Modal */
.modal-video .modal-dialog { max-width: 820px; margin: 60px auto 0; }
.modal-video .modal-content { background: transparent; border: none; }
.modal-video .modal-body { padding: 0; }


/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { padding: 5rem 0; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    margin-bottom: 1rem;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.contact-item:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.contact-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--primary-glow);
    border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
}
.contact-icon i { color: var(--primary); font-size: 0.95rem; }
.contact-item-body h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}
.contact-item-body span,
.contact-item-body a {
    font-size: 0.9rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color .2s;
}
.contact-item-body a:hover { color: var(--primary); }


/* ============================================================
   AUTH FORMS (Sign In / Sign Up)
   ============================================================ */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    position: relative;
}
.auth-page::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.05), transparent 65%);
    pointer-events: none;
}

.auth-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem 3.5rem;
    position: relative;
    overflow: hidden;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}
@media (max-width: 575.98px) {
    .auth-card { padding: 2rem 1.5rem; }
}
.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-gold);
}
.auth-card .auth-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    display: inline-block;
}
.auth-card h2 {
    font-size: 1.7rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}
.auth-card .auth-sub {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Form controls for auth */
.form-control {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    transition: all .3s ease;
    height: auto;
}
.form-control:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(201, 168, 76, 0.4);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
    color: var(--text-primary);
    outline: none;
}
.form-control::placeholder { color: var(--text-muted); }

.form-floating > label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}
.form-floating > .form-control { padding-top: 1.625rem; padding-bottom: 0.625rem; }
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}
.form-floating > .form-control ~ label { top: 0; }

select.form-control option {
    background: var(--bg-surface);
    color: var(--text-primary);
}
select.form-control { appearance: auto; }

/* Error/alert styles */
.auth-errors {
    background: rgba(252, 129, 129, 0.08);
    border: 1px solid rgba(252, 129, 129, 0.2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}
.auth-error-line {
    font-size: 0.82rem;
    color: #FC8181;
    display: block;
    margin-bottom: 0.2rem;
}
.auth-error-line:last-child { margin-bottom: 0; }

.alert-danger {
    background: rgba(252, 129, 129, 0.1);
    border: 1px solid rgba(252, 129, 129, 0.2);
    color: #FC8181;
    border-radius: 8px;
    font-size: 0.875rem;
}
.alert-warning {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--primary-light);
    border-radius: 8px;
    font-size: 0.875rem;
}

/* Auth submit button */
.btn-auth {
    width: 100%;
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 8px;
    background: var(--gradient-gold);
    border: none;
    color: var(--bg-base) !important;
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.35);
    transition: all .3s ease;
    cursor: pointer;
}
.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(201, 168, 76, 0.5);
}
.auth-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1.25rem;
}
.auth-link a { color: var(--primary); text-decoration: none; font-weight: 500; }
.auth-link a:hover { color: var(--primary-light); }

/* Input groups in auth */
.row.g-3 > [class*="col-"] { padding-top: 0; padding-bottom: 0; }
.row.g-3 { --bs-gutter-y: 1rem; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-surface) !important;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 5rem 0 0;
}

.footer-brand-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}
.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.footer-contact-row i { color: var(--primary); width: 14px; flex-shrink: 0; margin-top: 3px; }

.footer-col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .25s, padding-left .25s;
}
.footer-links a::before {
    content: '';
    display: block;
    width: 14px;
    height: 1px;
    background: var(--primary);
    transition: width .3s ease;
    flex-shrink: 0;
}
.footer-links a:hover { color: var(--text-primary); padding-left: 3px; }
.footer-links a:hover::before { width: 22px; }

.footer-hours-row { margin-bottom: 0.75rem; }
.footer-hours-row dt { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.1rem; }
.footer-hours-row dd { font-size: 0.875rem; color: var(--primary); margin: 0; font-weight: 500; }

/* Newsletter */
.footer-newsletter-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.footer-newsletter {
    display: flex;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
}
.footer-newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}
.footer-newsletter input::placeholder { color: var(--text-muted); }
.footer-newsletter button {
    background: var(--gradient-gold);
    border: none;
    color: var(--bg-base);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    transition: opacity .2s;
    white-space: nowrap;
}
.footer-newsletter button:hover { opacity: 0.88; }

/* Footer bottom bar */
.footer-bottom {
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    padding: 1.25rem 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom a { color: var(--primary); text-decoration: none; font-weight: 500; }
.footer-bottom a:hover { color: var(--primary-light); }

/* Legacy footer classes from old template */
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--text-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    font-size: 0.875rem;
    text-decoration: none;
}
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary);
}
.footer .btn.btn-link:hover { color: var(--text-primary); box-shadow: none; padding-left: 3px; }
.copyright { background: var(--bg-base); color: var(--text-muted); }
.copyright a:hover { color: var(--primary) !important; }


/* ============================================================
   TEAM (if used)
   ============================================================ */
.team-item {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    transition: border-color .3s, box-shadow .3s;
}
.team-item:hover { border-color: rgba(201,168,76,0.3); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.team-item .team-social { position: absolute; padding: 0; top: 15px; left: 0; overflow: hidden; }
.team-item .team-social li { list-style: none; margin-bottom: 10px; margin-left: -50px; opacity: 0; transition: .5s; }
.team-item:hover .team-social li { margin-left: 15px; opacity: 1; }
.team-item .team-social li:nth-child(1) { transition-delay: .1s; }
.team-item .team-social li:nth-child(2) { transition-delay: .2s; }
.team-item .team-social li:nth-child(3) { transition-delay: .3s; }


/* ============================================================
   TESTIMONIALS (if used)
   ============================================================ */
.testimonial-item {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 2rem;
    transition: all .5s;
}
.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}
.owl-item.center .testimonial-item *,
.testimonial-item:hover * { color: var(--bg-base) !important; }
.testimonial-item img { width: 90px !important; height: 90px !important; border-radius: 50%; border: 3px solid var(--glass-border); }
.testimonial-carousel .owl-nav { position: absolute; top: -90px; right: 0; display: flex; gap: 10px; }
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; border: 1px solid var(--glass-border); background: var(--bg-surface);
    color: var(--text-secondary); font-size: 18px; transition: all .3s;
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover { background: var(--primary); color: var(--bg-base); border-color: var(--primary); }


/* ============================================================
   MISC / UTILITIES
   ============================================================ */

/* Gold badge/tag */
.gold-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 4px 14px 4px 10px;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    background: var(--primary-glow);
}
.gold-tag::before {
    content: '';
    display: block;
    width: 18px;
    height: 1px;
    background: var(--primary);
}

/* Section divider */
.gold-divider {
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
    margin: 0 auto 1.25rem;
}
.gold-divider.left { margin-left: 0; }

/* Animated underline for headings */
.underline-gold {
    position: relative;
    display: inline-block;
}
.underline-gold::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* WOW visibility fix */
.wow { visibility: visible !important; }
