:root {
    --primary-blue: #0b1120;
    --secondary-blue: #1e293b;
    --electric-green: #38bdf8; /* Swapped to electric cyan-blue */
    --soft-green: #2563eb;     /* Swapped to royal blue */
    --electric-blue: #38bdf8;
    --royal-blue: #2563eb;
    --text-light: #f8fafc;
    --text-muted: #cbd5e1;     /* Upgraded from #94a3b8 to high-contrast crisp readable slate */
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.15);
}

html,
body {
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    overflow-x: clip;
}

.navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
    background: rgba(11, 17, 32, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.85rem 0;
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background: rgba(11, 17, 32, 0.96) !important;
    border-bottom-color: rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(56, 189, 248, 0.1);
    padding: 0.55rem 0;
}

.navbar-brand img {
    height: 65px;
    object-fit: contain;
    transition: height 0.3s ease;
}

.navbar.navbar-scrolled .navbar-brand img {
    height: 55px;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--electric-blue) !important;
}

/* Mobile Menu & Toggler Visibility */
.navbar-toggler {
    background: transparent !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        display: inline-flex !important;
    }
}

.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active {
    background: transparent !important;
    border-color: var(--electric-blue) !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3) !important;
    outline: none !important;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2338bdf8' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: transparent !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid var(--glass-border);
        border-radius: 16px;
        padding: 1.25rem;
        margin-top: 1rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(56, 189, 248, 0.12);
    }

    .navbar-nav {
        gap: 0.35rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 10px;
        font-size: 1rem;
        display: block;
        text-align: right !important;
        transition: all 0.25s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: rgba(56, 189, 248, 0.15);
        color: var(--electric-blue) !important;
        padding-right: 1.35rem !important;
        padding-left: 1rem !important;
    }

    .navbar-nav .btn-primary-custom,
    .navbar-nav .btn-outline-custom {
        margin-top: 0.75rem;
        width: 100%;
        text-align: center;
        display: block;
    }
}

.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, rgba(11, 17, 32, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--electric-blue);
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.hero-subtitle {
    color: #e2e8f0;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.35);
    color: #ffffff;
}

.btn-outline-custom {
    color: var(--text-light);
    border: 2px solid rgba(56, 189, 248, 0.5);
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-outline-custom:hover {
    border-color: var(--electric-blue);
    color: var(--electric-blue);
    background-color: rgba(56, 189, 248, 0.1);
}

.section-padding {
    padding: 100px 0;
}

.card-custom {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 40px;
    transition: all 0.3s;
    height: 100%;
}

.card-custom:hover {
    border-color: var(--electric-blue);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.18);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(56, 189, 248, 0.15);
    color: var(--electric-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    margin-bottom: 25px;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.footer {
    background: #060a14;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer .text-muted {
    color: #cbd5e1 !important;
}

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

.footer a.text-muted:hover {
    color: var(--electric-blue) !important;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Contact Page Specific Styles */
.contact-hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.8)), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.contact-hero .hero-subtitle {
    color: #e2e8f0;
    font-size: 1.25rem;
}

.section-padding .text-muted,
.contact-card .text-muted {
    color: #cbd5e1 !important;
}

.contact-card p.text-muted {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #e2e8f0 !important;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-12px);
    border-color: var(--electric-blue);
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(37, 99, 235, 0.15) 100%);
    color: var(--electric-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 50px;
}

.form-control-custom {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-light) !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    transition: all 0.3s !important;
}

.form-control-custom:focus {
    background: rgba(30, 41, 59, 0.85) !important;
    border-color: var(--electric-blue) !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3) !important;
    outline: none !important;
}

.form-control-custom::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.form-control-custom::-webkit-input-placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    height: 400px;
    width: 100%;
}

.hover-green:hover,
.hover-blue:hover {
    color: var(--electric-blue) !important;
    transform: scale(1.1);
    transition: all 0.3s;
}

/* ========================================================
   GLOBAL THEME OVERRIDES: BLUE ACCENTS & READABLE TEXT
   ======================================================== */
.text-success, 
.text-success-emphasis {
    color: #38bdf8 !important; /* Electric cyan-blue */
}

.bg-success {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
}

.bg-success-subtle {
    background-color: rgba(56, 189, 248, 0.15) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.border-success {
    border-color: #0284c7 !important;
}

.btn-success {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.4) !important;
    color: #ffffff !important;
}

.btn-outline-success {
    border-color: #38bdf8 !important;
    color: #38bdf8 !important;
}

.btn-outline-success:hover {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3) !important;
}

/* Make all muted, faint, or gray text crisp, bright, and legible */
.text-muted,
p.text-muted,
span.text-muted,
small.text-muted {
    color: #cbd5e1 !important; /* Light Slate-300: high contrast against dark blue */
}

.card .text-muted,
.table .text-muted {
    color: #cbd5e1 !important;
}