:root,
[data-bs-theme="light"] {
    /* Override Bootstrap Variables */
    --bs-primary: #112240;
    --bs-primary-rgb: 17, 34, 64;
    --bs-info: #0ea5e9;
    --bs-info-rgb: 14, 165, 233;
    --bs-body-color: #334155;

    /* Custom Variables */
    --primary-color: #112240;
    --primary-glow: rgba(17, 34, 64, 0.2);
    --info-color: #0ea5e9;
    --light-bg: #f8fafc;
    --lighter-bg: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(17, 34, 64, 0.08);
    --text-main: #334155;
    --text-muted: #64748b;
}

/* Explicit Overrides for Bootstrap Components */
.btn {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn-primary {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: #112240;
    --bs-btn-border-color: #112240;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: #0a1428;
    --bs-btn-hover-border-color: #0a1428;
}

.btn-outline-primary {
    --bs-btn-color: #112240;
    --bs-btn-border-color: #112240;
    --bs-btn-hover-bg: #112240;
    --bs-btn-hover-border-color: #112240;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.text-info {
    color: var(--bs-info) !important;
}

.bg-info-subtle {
    background-color: rgba(14, 165, 233, 0.1) !important;
}

.text-info-emphasis {
    color: #0284c7 !important;
}

.bg-primary-subtle {
    background-color: rgba(17, 34, 64, 0.05) !important;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.text-gradient {
    background: linear-gradient(90deg, #112240, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 64px 0;
    position: relative;
}

.hero-section,
.section-padding {
    position: relative;
}

.hero-section::before,
.section-padding::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(14, 165, 233, 0.035) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.hero-section>.container,
.section-padding>.container {
    position: relative;
    z-index: 1;
}

.bg-lighter {
    background-color: var(--lighter-bg);
}

/* Glassmorphism & Cards */
.glass-card {
    background: #ffffff;
    border: 1px solid rgba(17, 34, 64, 0.05);
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(17, 34, 64, 0.02);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.glass-card:hover {
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 12px 30px rgba(17, 34, 64, 0.05);
}

/* Navbar */
.glass-nav {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(17, 34, 64, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    margin: 15px auto;
    width: 100%;
    max-width: 1400px;
    left: 0;
    right: 0;
    border-radius: 100px;
    padding: 10px 24px;
    transition: all 0.2s ease;
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    margin: 8px auto;
    box-shadow: 0 10px 30px rgba(17, 34, 64, 0.06);
    border-color: rgba(17, 34, 64, 0.1);
}

@media (max-width: 991.98px) {
    .glass-nav {
        width: 95%;
        margin: 10px auto;
        padding: 8px 16px;
        border-radius: 50px;
    }
}

.navbar-nav .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 8px 16px !important;
    border-radius: 9999px;
    margin: 0 3px;
    transition: background 0.15s ease, color 0.15s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(17, 34, 64, 0.06);
}

.offcanvas {
    background: rgba(255, 255, 255, 0.95) !important;
    /* backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); */
    border-left: 1px solid rgba(17, 34, 64, 0.08) !important;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
}

.offcanvas .navbar-nav .nav-link {
    padding: 10px 20px !important;
    margin-bottom: 8px;
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(17, 34, 64, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-image-wrapper {
    position: relative;
}

/* Buttons */
.glow-btn {
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: all 0.3s ease;
    border: none;
}

.glow-btn:hover {
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-2px);
    background-color: #0a1428;
}

.glass-btn {
    background: rgba(17, 34, 64, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(17, 34, 64, 0.2);
    color: var(--primary-color);
}

.glass-btn:hover {
    background: rgba(17, 34, 64, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Animations */
.img-fluid {
    border-radius: 20px !important;
}

/* Services */
.service-icon {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

/* Teams */
.team-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Forms */
.custom-input {
    background: #fff;
    border: 1px solid #dee2e6;
    color: var(--text-main);
    border-radius: 8px;
    padding: 12px 15px;
}

.custom-input:focus {
    background: #fff;
    border-color: var(--info-color);
    box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.15);
    color: var(--text-main);
}

/* Utilities */
.glow-backdrop {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    filter: blur(40px);
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.hover-text-primary:hover,
.hover-text-primary {
    color: var(--primary-color) !important;
}

.border-y {
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Partner Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 30px 0;
    background: var(--lighter-bg);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 20s linear infinite;
}

.marquee-content img {
    height: 40px;
    margin: 0 50px;
    filter: grayscale(100%) opacity(50%);
    transition: all 0.3s ease;
    object-fit: contain;
}

.marquee-content img:hover {
    filter: grayscale(0%) opacity(100%);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Blog Cards */
.blog-card img {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}


@media screen and (max-width:800px) {
    .hero-section {
        padding-top: 80px;
    }
}