/* Promo Ticker (simple, bulletproof marquee) */
.promo-ticker {
    position: relative;
    background: linear-gradient(90deg, #c9a227, #e0bc4a, #c9a227);
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 40px 8px 0;
    z-index: 1001;
}
.promo-ticker-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: promoScroll 22s linear infinite;
}
.promo-ticker-item {
    display: inline-block;
    white-space: nowrap;
    font-size: .85rem;
    font-weight: 600;
    color: #0f1c2e;
}
.promo-ticker-item strong { font-weight: 800; }
.promo-ticker-item .promo-sep {
    margin: 0 10px;
    font-weight: 700;
}
.promo-ticker-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #0f1c2e;
    opacity: .6;
    font-size: .85rem;
    z-index: 2;
}
.promo-ticker-close:hover { opacity: 1; }
@keyframes promoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@media (max-width: 576px) {
    .promo-ticker-item { font-size: .7rem; }
    .promo-ticker-track { animation-duration: 15s; }
}


/* Watermark */
body:not(.admin-body)::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: 550px;
    background: url('/images/logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.035;
    z-index: -1;
    pointer-events: none;
}

/* Navbar logo */
.navbar-logo {
    height: 50px;
    width: auto;
}
/* ============================================
   NAVBAR: Solid by default, Transparent ONLY on Home
   ============================================ */
.main-navbar {
    background: var(--navy, #0f1c2e) !important;
    z-index: 200;
    position: sticky;
    top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

/* Transparent + floats over hero — ONLY on Home page */
.main-navbar.navbar-transparent-hero {
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: -110px;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* Once scrolled (Home page only), becomes solid like every other page */
.main-navbar.navbar-transparent-hero.navbar-scrolled {
    background: var(--navy, #0f1c2e) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,.15) !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* IMPORTANT: padding goes on the hero section itself (not <main>), so the
   hero's own navy background extends up behind the transparent navbar.
   .hero-with-image already has "padding: 0 !important" - this overrides
   just the top side, with higher specificity. */
.is-home .hero-with-image {
    padding-top: 110px !important;
}

/* Center the nav links */
.main-navbar .navbar-nav.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}
.main-navbar .nav-link {
    margin: 0 12px;
    font-weight: 600;
}

/* Right-corner "Get In Touch" button (smaller) */
.navbar-cta {
    background: var(--gold, #c9a227);
    color: #0f1c2e !important;
    font-weight: 700;
    font-size: .85rem;
    padding: 7px 20px;
    border-radius: 24px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s, box-shadow .2s;
}
.navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201,162,39,.35);
    color: #0f1c2e !important;
}

@media (max-width: 991px) {
    .main-navbar.navbar-transparent-hero {
        background: var(--navy, #0f1c2e) !important;
        margin-bottom: 0;
    }
    .is-home .hero-with-image { padding-top: 0 !important; }
    .main-navbar .navbar-nav.mx-auto { margin: 16px 0 !important; }
}
.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}

/* Hero with background image - container aspect-ratio matches image exactly, zero cropping ever */
.hero-with-image {
    position: relative;
    background-color: var(--navy);
    padding: 0 !important;
}
.hero-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,28,46,.95) 0%, rgba(15,28,46,.8) 35%, rgba(15,28,46,.25) 75%, rgba(15,28,46,0) 100%);
}
.hero-text-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
}

/* Social icons in footer */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: 1rem;
    transition: background .2s, color .2s;
}
.social-links a:hover {
    background: var(--gold);
    color: #fff;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    z-index: 999;
    transition: transform .2s;
    animation: waPulse 2.5s infinite;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.5); }
    50% { box-shadow: 0 4px 16px rgba(0,0,0,.25), 0 0 0 10px rgba(37,211,102,0); }
}
@media (max-width: 576px) {
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; bottom: 16px; right: 16px; }
}

/* Splash Screen */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
    opacity: 1;
    visibility: visible;
}
#splash-screen.splash-hide {
    opacity: 0;
    visibility: hidden;
}
.splash-content {
    text-align: center;
}
.splash-logo {
    width: 160px;
    max-width: 60vw;
    animation: splashPulse 1.6s ease-in-out infinite;
}
.splash-loader {
    width: 46px;
    height: 46px;
    border: 3px solid rgba(255,255,255,.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    margin: 24px auto 0;
    animation: splashSpin 0.9s linear infinite;
}
@keyframes splashPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: .85; }
}
@keyframes splashSpin {
    to { transform: rotate(360deg); }
}

:root {
    --navy: #0f1c2e;
    --navy-light: #16283f;
    --gold: #c9a227;
    --gold-light: #e0bc4a;
    --gray-text: #5a6472;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #2b2f36;
}

h1, h2, h3, h4, .brand-font {
    font-family: 'Playfair Display', serif;
}

.text-gold { color: var(--gold-light); }
.text-gold-light { color: var(--gold-light); }

/* Navbar */
.main-navbar {
    background-color: var(--navy);
    padding: 14px 0;
}
.main-navbar .navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
}
.main-navbar .nav-link {
    color: rgba(255,255,255,.8);
    font-weight: 500;
    margin: 0 8px;
    transition: color .2s;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--gold-light);
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero-section h1 {
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-section p.lead {
    color: rgba(255,255,255,.85);
    max-width: 600px;
    text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201,162,39,.15);
    border: 1px solid rgba(201,162,39,.4);
    color: var(--gold-light);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.hero-trust-item {
    font-size: .88rem;
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    gap: 7px;
}
.hero-trust-item i {
    color: var(--gold-light);
}
@media (max-width: 576px) {
    .hero-trust-row { gap: 12px; }
    .hero-trust-item { font-size: .8rem; }
}
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: #fff;
    font-weight: 600;
    padding: 12px 30px;
    box-shadow: 0 4px 16px rgba(201,162,39,.35);
    transition: all .2s;
}
.btn-gold:hover {
    background-color: var(--gold-light);
    border-color: var(--gold-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,162,39,.45);
}
.btn-outline-light-custom {
    border: 2px solid #fff;
    color: #fff;
    padding: 10px 28px;
    font-weight: 600;
    transition: all .2s;
}
.btn-outline-light-custom:hover {
    background: #fff;
    color: var(--navy);
    transform: translateY(-2px);
}

/* Section spacing */
.section { padding: 80px 0; }
.section-title {
    font-weight: 700;
    margin-bottom: 10px;
}
.section-subtitle {
    color: var(--gray-text);
    max-width: 650px;
    margin: 0 auto 50px;
}

/* Stat boxes */
.stat-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.stat-box .number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
}

/* Project Cards */
.project-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: transform .25s, box-shadow .25s;
    height: 100%;
    position: relative;
}
.discount-ribbon {
    position: absolute;
    top: 14px;
    right: -32px;
    z-index: 3;
    background: linear-gradient(135deg, #e0bc4a, #c9a227);
    color: #0f1c2e;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .03em;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.project-card img {
    height: 230px;
    object-fit: cover;
    width: 100%;
}
.project-card .card-body { padding: 22px; }
.badge-status {
    font-size: .75rem;
    padding: 5px 12px;
    border-radius: 20px;
}

/* Plot Availability (public page) */
.plot-badge-available { background: #e8f7ee; color: #1a7a41; font-weight: 600; }
.plot-badge-reserved { background: #fdf7e7; color: #a3791e; font-weight: 600; }
.plot-badge-sold { background: #fdeeec; color: #c0392b; font-weight: 600; }
.plot-filter-btn {
    background: #fff;
    border: 1px solid #dde1e8;
    color: #4b5563;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    transition: all .18s;
}
.plot-filter-btn:hover { border-color: var(--gold); color: var(--navy); }
.plot-filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* Checkbox/radio squares for booking form (Property Type, Plot Size, Payment Mode) */
.booking-steps ~ form .form-check-input,
#bookingForm .form-check-input {
    width: 1.15em;
    height: 1.15em;
    margin-top: 0.2em;
    cursor: pointer;
}
#bookingForm .form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}
#bookingForm .form-check-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(201,162,39,.2);
}
#bookingForm .form-check-label {
    font-weight: 500;
    color: #374151;
    padding-left: 4px;
    cursor: pointer;
}

/* Project Detail Tabs */
.project-tabs-wrap {
    border-bottom: 2px solid #eceef2;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.project-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
    border-bottom: none;
}
.project-tabs .nav-link {
    color: #6b7280;
    font-weight: 600;
    font-size: .92rem;
    padding: 12px 18px;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    white-space: nowrap;
}
.project-tabs .nav-link:hover {
    color: var(--navy);
    border-color: #dde1e8;
}
.project-tabs .nav-link.active {
    color: var(--navy);
    background: none;
    border-color: var(--gold);
}
.project-tabs .nav-link.tab-book-now {
    color: var(--gold);
}
.project-tabs .nav-link.tab-book-now.active {
    color: #fff;
    background: var(--gold);
    border-radius: 6px 6px 0 0;
    border-color: var(--gold);
}
.project-tab-content {
    padding-top: 28px;
}
@media (max-width: 576px) {
    .project-tabs .nav-link { padding: 10px 14px; font-size: .85rem; }
}

/* Discount Banner (project detail page) */
.discount-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(90deg, #0f1c2e 0%, #16283f 100%);
    color: #fff;
    border-radius: 10px;
    padding: 16px 20px;
    border-left: 4px solid var(--gold);
}
.discount-banner-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(224,188,74,.15);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
@media (max-width: 576px) {
    .discount-banner { flex-wrap: wrap; }
    .discount-banner-btn { width: 100%; }
}

/* Master Plan */
.master-plan-wrap {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}
.master-plan-wrap img { display: block; transition: transform .3s; }
.master-plan-wrap:hover img { transform: scale(1.02); }
.master-plan-thumb {
    max-width: 500px;
}
.master-plan-thumb img {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    background: #f8f9fc;
}
.master-plan-zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15,28,46,.85);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .8rem;
}

/* Brochure page-style sections */
.text-gold-icon { color: var(--gold); }
.why-invest-box {
    background: #f8f9fc;
    border: 1px solid #eceef2;
    border-radius: 12px;
    padding: 24px;
}
.glance-box {
    background: #fff;
    border-radius: 10px;
    padding: 16px 10px;
    box-shadow: 0 2px 10px rgba(15,28,46,.06);
}
.glance-box i { color: var(--gold); font-size: 1.3rem; }
.feature-item {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 10px;
    padding: 14px 16px;
    height: 100%;
}
.feature-number {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold);
    font-size: 1.3rem;
    margin-right: 14px;
    min-width: 34px;
}
.booking-open-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 8px;
}
.installment-step {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 10px rgba(15,28,46,.06);
}
.installment-percent {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}
.plan-summary-box {
    background: #f8f9fc;
    border: 1px solid #eceef2;
    border-radius: 12px;
    padding: 20px;
}
.booking-step-item { position: relative; }
.booking-step-circle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    margin-right: 16px;
}
.booking-step-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: #eceef2;
}

/* Development Vision (brochure-style gold-bordered frame + caption) */
.vision-card {
    border: 2px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.vision-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.vision-card:hover img { transform: scale(1.05); }
.vision-caption {
    text-align: center;
    font-weight: 700;
    font-size: .85rem;
    color: var(--navy);
    margin-top: 8px;
}

/* Gallery */
.gallery-thumb {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 180px;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.gallery-thumb:hover img { transform: scale(1.08); }

/* CEO / About */
.ceo-photo {
    width: 100%;
    height: 440px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* Footer */
.footer-logo {
    height: 42px;
    width: auto;
}
.site-footer {
    background-color: var(--navy);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-links li { color: rgba(255,255,255,.65); }

/* Contact */
.contact-info-box {
    background: var(--navy);
    color: #fff;
    border-radius: 12px;
    padding: 40px 30px;
}
.contact-info-box i { color: var(--gold-light); width: 24px; }

/* ===== Admin Panel ===== */
.admin-body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6fb;
    position: relative;
}
.admin-main::before {
    content: '';
    position: fixed;
    top: 50%;
    left: calc(50% + 132px);
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    background: url('/images/logo.png') no-repeat center;
    background-size: contain;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}

/* Sidebar */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 264px;
    background: linear-gradient(180deg, var(--navy) 0%, #0a1420 100%);
    display: flex;
    flex-direction: column;
    padding: 22px 16px;
    overflow-y: auto;
    z-index: 100;
}
.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px 22px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.admin-sidebar-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.2;
}
.admin-sidebar-subtitle {
    color: var(--gold-light);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
/* Contact Messages */
.msg-unread { background: rgba(201,162,39,.04); }
.msg-badge-new {
    background: rgba(192,57,43,.1);
    color: #c0392b;
    font-weight: 600;
    padding: 5px 10px;
}
.msg-badge-read {
    background: rgba(26,122,65,.1);
    color: #1a7a41;
    font-weight: 600;
    padding: 5px 10px;
}
.msg-modal { border-radius: 14px; overflow: hidden; border: none; }
.msg-modal-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: #fff;
    padding: 20px 24px;
}
.msg-meta-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #9aa1ad;
    font-weight: 600;
    margin-bottom: 2px;
}
.msg-meta-value { font-size: .92rem; color: #1f2937; }
.msg-query-box {
    background: #f8f9fc;
    border: 1px solid #eceef2;
    border-radius: 10px;
    padding: 16px;
    font-size: .92rem;
    white-space: pre-wrap;
    color: #374151;
    max-height: 220px;
    overflow-y: auto;
}

/* Plot status select coloring in admin */
.plot-status-select {
    font-weight: 600;
    font-size: .82rem;
    border-width: 1.5px;
    min-width: 120px;
}
.plot-status-available { color: #1a7a41; border-color: #b8e6c9; background: #eefaf2; }
.plot-status-reserved { color: #a3791e; border-color: #f0e0a8; background: #fdf7e7; }
.plot-status-sold { color: #c0392b; border-color: #f1c3bb; background: #fdeeec; }

.admin-nav-label {
    color: rgba(255,255,255,.35);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 14px 12px 6px;
}
.admin-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.72);
    padding: 11px 14px;
    border-radius: 10px;
    margin-bottom: 3px;
    font-size: .92rem;
    font-weight: 500;
    transition: all .18s;
}
.admin-nav .nav-link i {
    width: 18px;
    text-align: center;
    font-size: .95rem;
}
.admin-nav .nav-link:hover {
    background: rgba(255,255,255,.06);
    color: #fff;
}
.admin-nav .nav-link.active {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 4px 14px rgba(201,162,39,.35);
}
.admin-sidebar-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.admin-logout-btn {
    width: 100%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.85);
    padding: 10px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 500;
    transition: all .18s;
}
.admin-logout-btn i { margin-right: 8px; }
.admin-logout-btn:hover {
    background: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

/* Main area */
.admin-main {
    margin-left: 264px;
    min-height: 100vh;
}
.admin-topbar {
    background: #fff;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eceef2;
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-page-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}
.admin-topbar-link {
    color: var(--navy);
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #dde1e8;
    border-radius: 8px;
    transition: all .18s;
}
.admin-topbar-link:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}
.admin-content {
    padding: 28px 32px 48px;
}
.admin-alert-success {
    background: #e8f7ee;
    border: 1px solid #b8e6c9;
    color: #1a7a41;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: .9rem;
}

/* Cards, tables inside admin content */
.admin-content .card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(15,28,46,.06);
}
.admin-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-weight: 700;
}
.admin-content .table {
    margin-bottom: 0;
}
.admin-content .table thead th {
    border-bottom: 2px solid #eceef2;
    color: #6b7280;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    padding: 14px 16px;
}
.admin-content .table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: .9rem;
}
.admin-content .table tbody tr {
    transition: background .15s;
}
.admin-content .table tbody tr:hover {
    background: #f8f9fc;
}
.admin-content .stat-box {
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(15,28,46,.06);
    position: relative;
    overflow: hidden;
}
.admin-content .stat-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.dash-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.admin-content .btn-gold {
    box-shadow: 0 4px 14px rgba(201,162,39,.3);
}
.admin-content .form-label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--navy);
}
.admin-content .form-control,
.admin-content .form-select {
    border-radius: 8px;
    border-color: #dde1e8;
    padding: 10px 14px;
    font-size: .92rem;
}
.admin-content .form-control:focus,
.admin-content .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 .2rem rgba(201,162,39,.15);
}
.admin-content .card.p-4 {
    padding: 2rem !important;
}

.admin-sidebar-close {
    display: none;
    background: none;
    border: none;
    color: rgba(255,255,255,.6);
    font-size: 1.1rem;
    margin-left: auto;
}
.admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99;
}
.admin-sidebar-overlay.show { display: block; }
.admin-hamburger {
    background: #f4f6fb;
    border: 1px solid #dde1e8;
    color: var(--navy);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .admin-sidebar {
        width: 264px;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 100;
    }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-sidebar-close { display: block; }
    .admin-main { margin-left: 0; }
    .admin-topbar, .admin-content { padding-left: 20px; padding-right: 20px; }
    .admin-main::before { left: 50%; width: 340px; height: 340px; }
}
@media (max-width: 768px) {
    .admin-topbar { flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
    .admin-content { padding: 20px 16px 36px; }
    .admin-page-title { font-size: 1.15rem; }
    .admin-content .card.p-4 { padding: 1.1rem !important; }
    .admin-content .table thead { display: none; }
    .admin-content .table, .admin-content .table tbody, .admin-content .table tr, .admin-content .table td {
        display: block;
        width: 100%;
    }
    .admin-content .table tr {
        margin-bottom: 14px;
        border: 1px solid #eceef2;
        border-radius: 12px;
        padding: 10px 4px;
    }
    .admin-content .table td {
        text-align: right;
        padding: 8px 14px;
        border: none !important;
        position: relative;
    }
    .admin-content .table td[data-label]::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #6b7280;
        font-size: .75rem;
        text-transform: uppercase;
    }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.1rem; }
    .hero-with-image .lead { font-size: .95rem; }
    .hero-with-image .btn { padding: 8px 18px; font-size: .9rem; }
    .section { padding: 50px 0; }

    /* Let hero grow to fit its content on mobile instead of clipping to a fixed 16:9 box */
    .hero-image-wrap {
        aspect-ratio: auto;
        min-height: 420px;
        height: auto;
    }
    .hero-text-container {
        position: relative;
        inset: auto;
        padding: 40px 0;
    }
    .hero-eyebrow {
        display: inline-block;
        max-width: 100%;
    }
    .hero-trust-row {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}
@media (max-width: 480px) {
    .hero-section h1 { font-size: 1.5rem; }
    .hero-with-image .lead { display: none; }
    .hero-image-wrap { min-height: 380px; }
}

/* ============================================
   Why Choose Us Cards (Home Page)
   ============================================ */
.why-section { background: #f8f9fc; }
.why-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 26px;
    height: 100%;
    border: 1px solid #eceef2;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: transform .25s, box-shadow .25s;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(201,162,39,.12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.why-card h5 {
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 10px;
}
.why-card p {
    color: var(--gray-text);
    font-size: .88rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Mission & Vision Cards (Home Page)
   ============================================ */
.mv-section { background: #fff; }
.mv-card {
    background: linear-gradient(145deg, var(--navy), var(--navy-light));
    border-radius: 16px;
    padding: 44px 38px;
    height: 100%;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.mv-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201,162,39,.18), transparent 70%);
    border-radius: 50%;
}
.mv-card-alt {
    background: linear-gradient(145deg, var(--navy-light), var(--navy));
}
.mv-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: rgba(201,162,39,.15);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.mv-label {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.mv-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.mv-card p {
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}
@media (max-width: 768px) {
    .mv-card { padding: 32px 26px; }
}

/* ============================================
   Scroll Reveal Animation (safe - JS-gated)
   ============================================ */
body.js-anim-ready .reveal-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}
body.js-anim-ready .reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    body.js-anim-ready .reveal-up { transition: none; opacity: 1; transform: none; }
}
/* ============================================
   Core Values Cards (Home Page)
   ============================================ */
.value-card {
    background: #fff;
    border-radius: 14px;
    padding: 34px 20px;
    text-align: center;
    border: 1px solid #eceef2;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 3px;
    background: var(--gold);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity .3s;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(15,28,46,.12);
    border-color: transparent;
}
.value-card:hover::before { opacity: 1; }
.value-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--navy), var(--navy-light));
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 18px;
    box-shadow: 0 8px 20px rgba(15,28,46,.25);
}
.value-card p {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
    margin: 0;
}
/* Company Introduction */
.intro-img-wrap {
    position: relative;
    border-radius: 14px;
    overflow: visible;
}
.intro-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    border: 6px solid #fff;
    outline: 2px solid var(--gold);
    outline-offset: -2px;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.intro-ribbon {
    position: absolute;
    top: -18px;
    left: -18px;
    background: linear-gradient(145deg, var(--navy), var(--navy-light));
    color: #fff;
    border: 2px solid var(--gold);
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0,0,0,.3);
    z-index: 2;
}
.intro-ribbon-num {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--gold);
    line-height: 1;
}
.intro-ribbon-text {
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.3;
    margin-top: 4px;
}
@media (max-width: 768px) {
    .intro-img { height: 340px; }
    .intro-ribbon { width: 90px; height: 90px; top: -12px; left: -12px; }
    .intro-ribbon-num { font-size: 1.3rem; }
}
.btn-outline-navy {
    display: inline-block;
    border: 2px solid var(--navy);
    color: var(--navy);
    background: transparent;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s;
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff;
    transform: translateY(-2px);
}

/* Services */
.service-box { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.06); height: 100%; transition: transform .3s, box-shadow .3s; }
.service-box:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(15,28,46,.12); }
.service-box img { width: 100%; height: 200px; object-fit: cover; }
.service-box-body { padding: 24px; text-align: left; }
.service-box-body h5 { color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.service-box-body p { color: var(--gray-text); font-size: .9rem; margin: 0; }

/* CEO Message (2-column) */
.ceo-photo-wrap {
    border-radius: 14px;
    overflow: visible;   /* changed from hidden - so the border isn't clipped */
    box-shadow: none;    /* shadow moved onto the image itself below */
}
.ceo-photo {
    width: 100%;
    display: block;
    border-radius: 14px;
    border: 6px solid #fff;
    outline: 2px solid var(--gold, #c9a227);
    outline-offset: -2px;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.ceo-quote-icon { color: rgba(201,162,39,.25); font-size: 2rem; margin: 12px 0; }
.ceo-message-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-style: normal;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 24px;
}
.ceo-brand-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 12px;
}
.ceo-signature h5 { font-family: 'Playfair Display', serif; color: var(--navy); font-weight: 700; }

/* Gallery */
.gallery-item { position: relative; border-radius: 12px; overflow: hidden; height: 260px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(15,28,46,.75);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: 1rem; }

@media (max-width: 768px) {
    .gallery-item { height: 220px; }
}
.hero-anim {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeUp .8s ease forwards;
}
.hero-eyebrow.hero-anim { animation-delay: .1s; }
h1.hero-anim { animation-delay: .3s; }
.lead.hero-anim { animation-delay: .5s; }
.hero-cta.hero-anim { animation-delay: .7s; }
.hero-trust-row.hero-anim { animation-delay: .9s; }

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-anim { animation: none; opacity: 1; transform: none; }
}
/* ============================================
   About Page: Stats
   ============================================ */
.about-stat { padding: 20px 10px; }
.about-stat-num {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--navy, #0f1c2e);
    line-height: 1;
}
.about-stat-label {
    color: #6b7280;
    font-size: .85rem;
    margin-top: 8px;
}

/* ============================================
   About Page: Our Journey Timeline
   ============================================ */
.journey-timeline {
    position: relative;
    padding-left: 36px;
}
.journey-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(var(--gold, #c9a227), rgba(201,162,39,.2));
}
.journey-item {
    position: relative;
    margin-bottom: 34px;
}
.journey-item:last-child { margin-bottom: 0; }
.journey-dot {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--navy, #0f1c2e);
    border: 3px solid var(--gold, #c9a227);
}
.journey-year {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gold, #c9a227);
    margin-bottom: 6px;
}
.journey-item p {
    color: #6b7280;
    margin: 0;
    line-height: 1.65;
}
/* ============================================
   About Page: Why Choose Us (Image + Text)
   ============================================ */
.why-choose-img-wrap {
    border-radius: 14px;
    overflow: visible;   /* changed from hidden - so the border isn't clipped */
    box-shadow: none;    /* shadow moved onto the image itself below */
}
.why-choose-img {
    width: 100%;
    height: 480px;
    display: block;
    border-radius: 14px;
    border: 6px solid #fff;
    outline: 2px solid var(--gold, #c9a227);
    outline-offset: -2px;
    box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.why-choose-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.why-choose-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #374151;
    font-weight: 500;
    border-bottom: 1px solid #eceef2;
}
.why-choose-list li:last-child { border-bottom: none; }
.why-choose-list li i {
    color: var(--gold, #c9a227);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .why-choose-img { height: 300px; }
}
/* ============================================
   Services Section (Redesigned)
   ============================================ */
.service-box {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,.07);
    height: 100%;
    cursor: pointer;
    transition: transform .35s ease, box-shadow .35s ease;
}
.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 44px rgba(15,28,46,.16);
}

.service-box-img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.service-box-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.service-box:hover .service-box-img-wrap img {
    transform: scale(1.12);
}
.service-box-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,28,46,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .35s ease;
}
.service-box:hover .service-box-overlay {
    opacity: 1;
}
.service-box-overlay i {
    color: #fff;
    font-size: 1.6rem;
    width: 54px;
    height: 54px;
    border: 2px solid #c9a227;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(.7);
    transition: transform .35s ease;
}
.service-box:hover .service-box-overlay i {
    transform: scale(1);
}

.service-box-body {
    padding: 26px 24px;
    text-align: left;
}
.service-box-body h5 {
    color: var(--navy, #0f1c2e);
    font-weight: 700;
    margin-bottom: 10px;
}
.service-box-body p {
    color: #6b7280;
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 14px;
}
.service-box-link {
    color: var(--gold, #c9a227);
    font-weight: 600;
    font-size: .88rem;
}

/* Modal styling */
.service-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}
.service-modal-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.service-modal-content .modal-body {
    padding: 30px 34px;
}
.service-modal-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy, #0f1c2e);
    font-weight: 700;
    margin-bottom: 16px;
}
.service-modal-content p {
    color: #4b5563;
    line-height: 1.75;
    font-size: 1rem;
}
.service-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    background: rgba(255,255,255,.9) !important;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    opacity: 1;
}

@media (max-width: 767px) {
    .service-box-img-wrap { height: 190px; }
}
/* ============================================
   Testimonials Carousel
   ============================================ */
.testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eef0f3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy, #0f1c2e);
    box-shadow: 0 6px 16px rgba(15,28,46,.1);
    transition: background .2s, color .2s;
}
.carousel-control-prev, .carousel-control-next {
    width: 6%;
    opacity: 1;
}
.carousel-control-prev:hover .testimonial-nav-btn,
.carousel-control-next:hover .testimonial-nav-btn {
    background: var(--navy, #0f1c2e);
    color: var(--gold, #c9a227);
}
.testimonial-dots {
    position: static;
    margin-top: 30px;
}
.testimonial-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cfd4db;
    opacity: 1;
    border: none;
    margin: 0 5px;
}
.testimonial-dots button.active {
    background: var(--gold, #c9a227);
    width: 26px;
    border-radius: 5px;
    transition: width .3s;
}

@media (max-width: 768px) {
    .carousel-control-prev, .carousel-control-next { display: none; }
}
/* ============================================
   Project Detail Page - Related Projects hover
   ============================================ */
.related-project-link {
    transition: transform .2s, background .2s;
    padding: 6px;
    border-radius: 8px;
    margin-left: -6px;
    margin-right: -6px;
}
.related-project-link:hover {
    background: #f7f8fa;
    transform: translateX(4px);
}
.related-project-link img {
    transition: transform .3s;
}
.related-project-link:hover img {
    transform: scale(1.06);
}