:root {
    --primary-color: #0B1C3E;
    /* Deep Navy */
    --secondary-color: #C8102E;
    /* Red Accent */
    --bg-body: #ffffff;
    --text-body: #1a1a1a;
    --bg-light: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --hero-overlay: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

[data-theme="dark"] {
    --primary-color: #3d8bfd;
    /* Brighter Blue for Dark Mode visibility */
    --secondary-color: #ff4d4d;
    --bg-body: #0a0e14;
    --text-body: #e1e1e1;
    --bg-light: #161b22;
    --card-bg: #1c2128;
    --border-color: #30363d;
    --nav-bg: rgba(10, 14, 20, 0.9);
    --hero-overlay: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

html,
body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-body);
    transition: background-color 0.3s ease, color 0.3s ease;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--text-body);
}

a {
    text-decoration: none;
}

/* Navbar */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.nav-link {
    color: var(--text-body) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.logo-img {
    height: 70px;
    /* Increased size further */
    width: auto;
    object-fit: contain;
}

/* Removed destructive brightness filters to keep original logo colors */


/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: var(--hero-overlay);
    min-height: 80vh;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Features */
.section-bg {
    background-color: var(--bg-light);
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom icon backgrounds */
.bg-blue-light {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-green-light {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-orange-light {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-purple-light {
    background-color: rgba(220, 53, 69, 0.1);
}

/* Why Choose Us Cards */
.feature-box {
    background-color: var(--card-bg);
    border-color: var(--border-color) !important;
}

/* Contact */
.bg-body {
    background-color: var(--card-bg) !important;
}

.form-control {
    background-color: var(--bg-light);
    color: var(--text-body);
}

.form-control:focus {
    background-color: var(--bg-light);
    color: var(--text-body);
    box-shadow: none;
    border: 1px solid var(--primary-color);
}

/* Footer */
.footer {
    background-color: #000 !important;
    /* Always dark footer */
    color: white !important;
}

.brightness-filter {
    filter: brightness(0) invert(1);
}

/* Utility */
.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .075) !important;
}

[data-theme="dark"] .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .5) !important;
    /* Stronger shadow in dark mode */
}

[data-theme="dark"] .text-muted {
    color: #adb5bd !important;
    /* Lighter gray for dark mode */
}


/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

/* Media Queries */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
}