:root {
    --light-bronze: #CC9981;
    --rusty-spice: #A74F27;
    --cinnamon-wood: #AF5F3A;
    --rusty-spice-dark: #7A3516;
    --gold: #ffb703;
    --gold-hover: #e0a100;
    --gold-subtle: #fff8e7;
    --slate-dark: #4A2111;
    --gray-bg: #fdfaf8;
    --accent-blue: #0077b6;
    --accent-green: #2a9d8f;
    /*--font-heading: 'Manrope', 'Montserrat', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-brand: 'Montserrat', sans-serif;*/

    /* --- new Fonts --- */
    /*--font-brand: 'Syne', sans-serif;*/ /* "MATHURAI" jaisa bold & modern */
    /*--font-heading: 'Outfit', sans-serif;*/ /* "ELECTRICALS & CONTRACTORS" jaisa clean */
    /*--font-tagline: 'Playfair Display', Georgia, serif;*/ /* "Powering Connection..." jaisa serif */
    /*--font-body: 'Outfit', -apple-system, sans-serif;*/

    /* --- Exact Logo Matched Fonts --- */
    --font-brand: 'Orbitron', sans-serif; /* "MATHURAI" jaisa techno/geometric display look */
    --font-heading: 'Montserrat', sans-serif; /* "ELECTRICALS & CONTRACTORS" jaisa clean bold look */
    --font-tagline: 'Open Sans', sans-serif; /* "Powering Connection..." jaisa clean humanist look */
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: var(--font-body);
    color: #2b2d42;
    background-color: #ffffff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

.brand-title, .brand-subtitle, .badge, .btn, .nav-link {
    font-family: var(--font-brand);
}

/* Helper Classes & Utility Styles */
.fs-7 { font-size: 0.875rem; }
.fs-8 { font-size: 0.775rem; }

.bg-navy, .bg-rusty { background-color: var(--rusty-spice) !important; }
.bg-dark-navy, .bg-rusty-dark { background-color: var(--rusty-spice-dark) !important; }
.bg-navy-light, .bg-cinnamon { background-color: var(--cinnamon-wood) !important; }
.bg-bronze { background-color: var(--light-bronze) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-gold-subtle { background-color: var(--gold-subtle) !important; }
.bg-slate { background-color: var(--slate-dark) !important; }
.bg-light-gray { background-color: var(--gray-bg) !important; }

.text-gold { color: var(--gold) !important; }
.text-navy, .text-rusty { color: var(--rusty-spice) !important; }
.text-bronze { color: var(--light-bronze) !important; }
.text-cinnamon { color: var(--cinnamon-wood) !important; }

.btn-warning {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #111111 !important;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}
.btn-warning:hover {
    background-color: var(--gold-hover) !important;
    border-color: var(--gold-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.4);
}

.btn-outline-warning {
    color: var(--gold) !important;
    border-color: var(--gold) !important;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-outline-warning:hover {
    background-color: var(--gold) !important;
    color: #111111 !important;
    transform: translateY(-2px);
}

.btn-navy, .btn-rusty {
    background-color: var(--rusty-spice);
    color: #ffffff;
    border-color: var(--rusty-spice);
    font-weight: 700;
}
.btn-navy:hover, .btn-rusty:hover {
    background-color: var(--rusty-spice-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(167, 79, 39, 0.3);
}

.btn-outline-navy {
    color: var(--rusty-spice) !important;
    border-color: var(--rusty-spice) !important;
    font-weight: 700;
    transition: all 0.3s ease;
}
.btn-outline-navy:hover {
    background-color: var(--rusty-spice) !important;
    color: #ffffff !important;
}

/* TOPBAR */
.top-bar {
    background-color: var(--rusty-spice-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-brand);
}
.top-bar a.hover-warning:hover {
    color: var(--gold) !important;
}

/* NAVBAR */
#mainNav {
    transition: all 0.3s ease;
    /*background-color: var(--rusty-spice) !important;*/
    background-color: white !important;
    border-bottom: 3px solid var(--light-bronze);
}
.brand-icon-box {
    width: 44px;
    height: 44px;
}
.brand-title {
    font-size: 1.35rem;
    letter-spacing: 0.75px;
    font-weight: 800;
}
.brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 1.2px;
}
.navbar-dark .navbar-nav .nav-link {
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

/* HERO SECTION CAROUSEL */
.hero-carousel .carousel-item {
    height: 85vh;
    min-height: 550px;
    max-height: 720px;
    position: relative;
}
.hero-carousel img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.65);
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(180deg, rgba(122, 53, 22, 0.75) 0%, rgba(167, 79, 39, 0.85) 100%);*/
    display: flex;
    align-items: center;
}
.hero-badge {
    background: rgba(255, 183, 3, 0.15);
    border: 1px solid var(--gold);
    /*color: var(--gold);*/
    backdrop-filter: blur(10px);
    font-family: var(--font-brand);
    letter-spacing: 0.5px;
}
.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
}
@media (min-width: 992px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

/* STATS COUNTER BAR */
.stats-bar {
    background-color: var(--rusty-spice);
    border-top: 4px solid var(--gold);
}
.stat-card {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 767px) {
    .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 1rem;
    }
}

/* SECTION TITLES */
.section-title-badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    background-color: var(--gold-subtle);
    color: var(--rusty-spice);
    border: 1px solid var(--gold);
    border-radius: 50rem;
    font-weight: 700;
    font-size: 0.825rem;
    text-uppercase: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.75rem;
    font-family: var(--font-brand);
}
.section-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--rusty-spice);
    letter-spacing: -0.025em;
}

/* CARDS & HOVER EFFECTS */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(167, 79, 39, 0.15) !important;
}

.service-card {
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--rusty-spice);
    background: #ffffff;
    height: 100%;
}
.service-card:hover {
    border-top-color: var(--gold);
}

.icon-bubble {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--rusty-spice);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.service-card:hover .icon-bubble {
    background: var(--gold);
    color: var(--rusty-spice);
    transform: scale(1.08);
}

/* DIRECTOR PROFILE CARD */
.director-card {
    background: linear-gradient(135deg, var(--rusty-spice-dark) 0%, var(--rusty-spice) 100%);
    border-left: 6px solid var(--gold);
}
.credential-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

/* PROJECT CARD */
.project-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.project-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--slate-dark);
}
.project-img-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}
.project-card:hover img {
    transform: scale(1.08);
}
.project-overlay-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--rusty-spice);
    color: var(--gold);
    padding: 0.35rem 0.75rem;
    border-radius: 20rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-brand);
}

/* CLIENT LOGO CARDS */
.client-logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.client-logo-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.client-logo-card h5 {
    color: var(--rusty-spice);
    font-weight: 800;
    margin: 0;
    font-family: var(--font-brand);
}

/* OFFICE LOCATIONS */
.office-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-top: 4px solid var(--gold);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top-color: var(--rusty-spice);
}

/* FLOATING QUICK ACTIONS */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    text-decoration: none;
}
.float-btn:hover {
    transform: scale(1.12);
    color: #ffffff;
}
.float-call { background-color: var(--rusty-spice); }
.float-mail { background-color: var(--gold); color: #111111; }
.float-mail:hover { color: #111111; }

/* MODAL STYLING */
.modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}
.modal-header {
    background-color: var(--rusty-spice);
    color: #ffffff;
    border-bottom: 3px solid var(--gold);
}

/* Black Mobile Navbar Toggle Icon */
.navbar-toggler {
    border: none !important;
    padding: 8px 10px;
    outline: none !important;
    box-shadow: none !important;
}

.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(0,0,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 30px;
    height: 30px;
}