:root {
    /* Primary Colors */
    --primary-blue: #2563eb;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --bg-dark: #0f172a;
    --bg-darker: #020617;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Spacing & Borders */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --section-padding: 100px 0;
}

/* Base Styles */
body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
}

/* Fix for horizontal overflow across all pages */
.row {
    margin-right: 0;
    margin-left: 0;
}

.container,
.container-fluid {
    overflow-x: hidden;
    padding-right: 15px;
    padding-left: 15px;
}

.custom-navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Background Circles (Premium Feel) */
.bg-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
}

.circle1 {
    width: 400px;
    height: 400px;
    background: #00d2ff;
    top: -100px;
    left: -100px;
}

.circle2 {
    width: 500px;
    height: 500px;
    background: #3a7bd5;
    bottom: -100px;
    right: -100px;
}

.circle3 {
    width: 300px;
    height: 300px;
    background: #2563eb;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Custom Navbar Styles (Shared) */
.custom-navbar {
    background: #ffffff !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 15px 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

.logo-img {
    height: 65px;
    /* Increased from 50px */
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    border-radius: 8px;
    /* Subtle rounding if the img has sharp corners */
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 15px rgba(37, 99, 235, 0.15));
}

.nav-link {
    color: #1e293b !important;
    /* Dark Slate for visibility on white */
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Hamburger Toggler */
.navbar-toggler {
    border: 2px solid rgba(37, 99, 235, 0.3);
    padding: 6px 10px;
    border-radius: 8px;
    z-index: 1100;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    outline: none;
}

.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='%231e293b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .custom-navbar {
        padding: 10px 0;
    }

    .logo-img {
        height: 45px;
    }

    .navbar-collapse {
        background: #ffffff;
        border-radius: 0 0 16px 16px;
        padding: 15px 20px;
        margin-top: 10px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .navbar-nav .nav-item:last-child .nav-link,
    .navbar-nav .nav-item:last-child .apply-btn {
        border-bottom: none;
    }

    .navbar-nav .apply-btn {
        display: inline-block;
        margin-top: 10px;
        text-align: center;
    }
}

.apply-btn {
    background: var(--primary-gradient);
    color: white !important;
    border-radius: 50px;
    padding: 12px 28px;
    border: none;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.3);
}

/* Section Shared Styles */
.section-padding {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    -webkit-text-fill-color: initial !important;
}

.section-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Footer Shared Styles */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    max-height: 85px;
    /* Increased from 60px */
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.03);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright-text {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* Animations */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
}