:root {
    --primary-blue: #002D62;
    /* Navy Blue */
    --accent-blue: #0056b3;
    --light-blue: #e7f1ff;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #dee2e6;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    cursor: none;
    /* Hide default cursor */
}

/* Navbar Customization */
.navigation {
    background-color: transparent !important;
    border-bottom: none;
    padding: 25px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navigation.sticky {
    background-color: var(--white) !important;
    padding: 12px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navigation .nav-link {
    color: var(--primary-blue) !important;
    font-weight: 600;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.navigation .nav-link:hover {
    color: var(--accent-blue) !important;
}

/* Banner Section - Updated to White */
.banner {
    background: transparent;
    color: var(--text-dark);
    padding: 220px 0 80px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.banner .title {
    color: var(--primary-blue);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Three.js Canvas Container - Global Fixed */
#three-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

.banner .container {
    position: relative;
    z-index: 1;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loader-logo {
    width: 100px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* New Utility Classes */
.bg-image-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.15;
}

.mb-50 {
    margin-bottom: 50px;
}

.top-6 {
    margin-top: 60px;
}

.bottom-5 {
    margin-bottom: 50px;
}

/* Animation Classes for Anime.js */
.reveal {
    opacity: 0;
    transform: translateY(50px);
}

/* Button Customization */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-outline-tertiary {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline-tertiary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

a,
button,
.btn {
    cursor: none !important;
}

/* Section Backgrounds */
.section-light {
    background-color: transparent;
}

.section-white {
    background-color: transparent;
}

/* Footer Customization */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 0;
}

.footer-logo {
    filter: brightness(0) invert(1);
}

/* Custom Cursor Styles */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 99999;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-out;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-blue);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-blue);
}

.cursor-dot.active,
.cursor-outline.active {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 45, 98, 0.1);
    border-color: transparent;
}

/* Light Theme for Dark Backgrounds */
.cursor-dot.light {
    background-color: var(--white);
}

.cursor-outline.light {
    border-color: var(--white);
}

.cursor-outline.light.hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 991px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    body {
        cursor: auto;
        /* Restore cursor on mobile */
    }

    footer {
        text-align: center;
    }

    footer .pr-lg-5 {
        padding-right: 15px !important;
    }

    /* Force opaque white navbar on mobile */
    .navigation {
        background-color: var(--white) !important;
        padding: 12px 0 !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .banner .title {
        font-size: 2.5rem;
    }
}

.logo-hover {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.logo-hover:hover {
    transform: scale(1.1);
}