/* NexInfra Realty - Main Stylesheet */

:root {
    --color-black: #000000;
    --color-gold: #C59324;
    --color-gold-hover: #A67B1E;
    --color-gold-light: #D4AF37;
    --color-cream: #F9F7F2;
    --color-white: #FFFFFF;
    --color-gray: #666666;
    --color-gray-light: #999999;
    --color-border: #E5E5E5;
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    background: var(--color-white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

/* ========== NAVBAR ========== */
.navbar-nexinfra {
    background: var(--color-black);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-nexinfra .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(197, 147, 36, 0.12);
    border: 1px solid rgba(197, 147, 36, 0.25);
    flex-shrink: 0;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .brand-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
}

.logo-text .brand-tag {
    font-size: 0.62rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 0 5px;
    margin-top: -2px;
    text-align: center;
        display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;

}
span.brand-tag-des {
    font-size: 20px;
    /* padding-top: 113px; */
    /* margin-top: 5px; */
    display: inline-flex;
    align-content: center;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* margin-top: 10px; */
}

.logo-text .brand-tag::before,
.logo-text .brand-tag::after {
    /* content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--color-gold); */
}

.logo-text .brand-tag::before { left: -3px; }
.logo-text .brand-tag::after { right: 50px; }

.navbar-nexinfra .nav-link {
    color: var(--color-white) !important;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar-nexinfra .nav-link.active,
.navbar-nexinfra .nav-link:hover {
    color: var(--color-gold) !important;
}

.navbar-nexinfra .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--color-gold);
}

.btn-outline-gold {
    border: 1px solid var(--color-gold);
    color: var(--color-gold) !important;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--color-gold);
    color: var(--color-black) !important;
}

.btn-gold {
    background: var(--color-gold);
    color: var(--color-black) !important;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 4px;
}

.btn-gold:hover {
    background: var(--color-gold-hover);
    color: var(--color-black) !important;
}

.btn-black {
    background: var(--color-black);
    color: var(--color-gold) !important;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 4px;
}

.btn-black:hover {
    background: #222;
    color: var(--color-gold-light) !important;
}

.navbar-toggler {
    border-color: var(--color-gold);
}

.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(197, 147, 36, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========== HERO SECTIONS ========== */
.hero-split {
    display: flex;
    min-height: 480px;
}

.hero-overlay {
    position: relative;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.16) 55%, rgba(0,0,0,0.08) 100%);
    z-index: 1;
}

.hero-overlay .container {
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-overlay .hero-box {
    background: rgba(249, 247, 242, 0.92);
    padding: 3rem;
    border-radius: 12px;
    width: 100%;
    max-width: 540px;
    min-height: 280px;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: 1px solid rgba(197, 147, 36, 0.15);
}

.hero-split .hero-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}


.hero-label {
    color: var(--color-gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
    text-transform: none;
}

.hero-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-gold);
    margin: 1rem 0 1.25rem;
}

.hero-title .text-gold {
    color: var(--color-gold);
}

.hero-text {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
    max-width: 100%;
}

.hero-btn {
    margin-top: 1.5rem;
    align-self: flex-start;
}

/* ========== SECTIONS ========== */
.section-padding {
    padding: 5rem 0;
}

.section-bg-cream {
    background: var(--color-cream);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.5rem;
        width: 100%;
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.95rem;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.gold-underline {
    position: relative;
    display: inline-block;
}

.gold-underline::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--color-gold);
    margin: 0.75rem auto 0;
}

.text-gold { color: var(--color-gold); }

/* ========== CARDS ========== */
.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.feature-card .card-icon {
    color: var(--color-gold);
    margin-bottom: 1.25rem;
}

.feature-card .card-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.7;
}

.info-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-card .card-icon {
    color: var(--color-gold);
    margin-bottom: 1rem;
    width: 90px;;
}

.info-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 0.85rem;
    color: var(--color-gray);
    margin: 0;
}

/* Strategy horizontal cards */
.strategy-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.strategy-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.strategy-card .card-icon svg {
    width: 36px;
    height: 36px;
    color: var(--color-gold);
    flex-shrink: 0;
}

.strategy-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.strategy-card p {
    font-size: 0.82rem;
    color: var(--color-gray);
    margin: 0;
}

/* ========== VALUES ROW ========== */
.values-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 3rem;
    color: var(--color-gold);
}

.value-item svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
}

.value-item span {
    font-size: 0.85rem;
    font-weight: 600;
}

.value-divider {
    width: 1px;
    height: 60px;
    background: var(--color-border);
}

/* ========== CTA BAR ========== */
.cta-bar {
    background: var(--color-black);
    padding: 2.5rem 0;
}

.cta-bar-image {
    background-size: cover;
    background-position: center;
    position: relative;
}

.cta-bar-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.75);
}

.cta-bar-image .container {
    position: relative;
    z-index: 2;
}

.cta-bar .cta-text {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
}

.cta-bar .cta-icon {
    color: var(--color-gold);
    margin-right: 1rem;
    flex-shrink: 0;
}

.cta-bar .cta-icon svg {
    width: 36px;
    height: 36px;
}

/* ========== CONTACT PAGE ========== */
.contact-audience-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-audience-item .audience-icon {
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-audience-item .audience-icon svg {
    width: 28px;
    height: 28px;
}

.contact-audience-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.contact-audience-item p {
    font-size: 0.82rem;
    color: var(--color-gray);
    margin: 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
}

.contact-form-box {
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
}

.contact-form-box .form-control,
.contact-form-box .form-select {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.contact-form-box .form-control:focus,
.contact-form-box .form-select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 0.2rem rgba(197, 147, 36, 0.15);
}

.contact-form-box label {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
            padding-top: 20px;
}

.site-footer a {
    color: var(--color-gray-light);
}

.site-footer a:hover {
    color: var(--color-gold);
}

.site-footer .footer-brand {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-white);
}

.site-footer .footer-tag {
    color: var(--color-gold);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.site-footer h5 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.site-footer .footer-links li {
    margin-bottom: 0.5rem;
}

.site-footer .footer-links a {
    font-size: 0.85rem;
}

.site-footer .footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--color-gray-light);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #444;
    border-radius: 50%;
    margin-right: 0.5rem;
    color: var(--color-white);
    font-size: 0.85rem;
}

.social-links a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ========== ALERTS ========== */
.alert-nexinfra {
    border-radius: 6px;
    font-size: 0.9rem;
}

/* ========== ADMIN STYLES ========== */
.admin-sidebar {
    background: var(--color-black);
    min-height: 100vh;
    padding: 1.5rem 0;
}

.admin-sidebar .nav-link {
    color: var(--color-gray-light);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: var(--color-gold);
    background: rgba(197, 147, 36, 0.1);
}

.admin-stat-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.admin-stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.admin-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gray);
}

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
}

.admin-login-box {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .hero-split {
        flex-direction: column;
    }

    .hero-split .hero-content {
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .value-divider {
        display: none;
    }

    .cta-bar .cta-text {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-nexinfra {
        padding: 0.6rem 0;
    }

    .navbar-brand {
        gap: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-text .brand-name {
        font-size: 1.05rem;
    }

    .hero-title {
        font-size: 1.45rem;
        font-weight: 700;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .hero-overlay {
                margin-top: -178px;
        margin-bottom: 85px;
        min-height: 55vh;
        background-position: right center;
        background-size: 160%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        overflow: visible;
        align-items: stretch;
        justify-content: flex-end;
        padding-bottom: 180px;
    }

    .hero-overlay::before {
        display: none;
    }

    .hero-overlay .container {
        padding: 0 1.5rem;
        display: block;
        position: relative;
        z-index: 10;
        top: 240px;
    }

    .hero-overlay .hero-box {
        position: static;
        margin: 0 auto;
        padding: 2.5rem 1.75rem;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
        border: 1px solid rgba(197, 147, 36, 0.1);
        border-radius: 20px;
    }

    .hero-label {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .hero-label::before {
        width: 35px;
        height: 3px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.4rem;
        font-weight: 800;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .hero-title::after {
        width: 35px;
        height: 3px;
        margin: 1rem 0 1.5rem;
    }

    .hero-text {
        font-size: 0.9rem;
        line-height: 1.7;
        color: #666;
        margin-bottom: 0;
    }

    .hero-btn {
        font-size: 0.72rem;
        padding: 0.65rem 1.75rem;
        margin-top: 1.5rem;
        display: inline-block;
    }
   .container.strategy-container {
    top: 350px;
}
section.hero-overlay.strategy-hero {
    margin-bottom: 154px;
}
.container.home-container {
    top: 376px;
}
section.hero-overlay.home-hero {
    margin-bottom: 170px;
}
.container.about-container {
    top: 434px;
}
section.hero-overlay.about-hero {
    margin-bottom: 287px;
}
.container.opportunities-container {
    top: 407px;
}
section.hero-overlay.opportunities-hero {
    margin-bottom: 217px;
}
.container.contact-container {
    top: 383px;
}
section.hero-overlay.contact-hero {
    margin-bottom: 187px;
}
.navbar-nexinfra .nav-link.active::after {
    display: none;
}

}

/* Lazy loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
