/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --primary-color: #0f62fe;
    --primary-dark: #0043ce;
    --dark-blue: #05143a;
    --secondary-text: #526183;
    --bg-light: #f4f7fb;
}

body {
    font-family: 'Inter', sans-serif;
    color: #212529;
    letter-spacing: -0.01em;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-dark-blue {
    color: var(--dark-blue) !important;
}

.text-secondary-custom {
    color: var(--secondary-text);
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.tracking-wide {
    letter-spacing: 0.1em;
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 992px) {
    .py-6 {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.custom-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.custom-navbar.navbar-scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background-color: rgba(255, 255, 255, 0.98);
}

.nav-link {
    color: var(--dark-blue) !important;
    position: relative;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 76px; /* Offset for navbar */
    position: relative;
    background: linear-gradient(135deg, rgba(235, 245, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(15, 98, 254, 0.1);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 204, 255, 0.1);
    bottom: 50px;
    left: -150px;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}

/* ==========================================================================
   Cards & Layouts
   ========================================================================== */
.custom-card {
    border-radius: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.08) !important;
}

.doc-card {
    transition: all 0.3s ease;
    border: 1px solid transparent !important;
}

.doc-card:hover {
    border-color: var(--primary-color) !important;
    background-color: #f8fbff !important;
}

/* ==========================================================================
   Timeline / List styles
   ========================================================================== */
.custom-timeline {
    position: relative;
}

.custom-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 4px;
    bottom: 5px;
    width: 2px;
    background-color: #e9ecef;
}

.timeline-indicator {
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.bg-pattern {
    background-image: radial-gradient(circle at center, #ffffff 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ==========================================================================
   Accordion
   ========================================================================== */
.custom-accordion .accordion-item {
    background-color: #fff;
    margin-bottom: 0px;
}

.custom-accordion .accordion-button {
    color: var(--dark-blue);
    background-color: #fff;
    box-shadow: none !important;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #f8fbff;
}

.custom-accordion .accordion-button::after {
    transition: transform 0.3s ease;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.transition-all {
    transition: all 0.2s ease;
}

.hover-white:hover {
    color: #fff !important;
    padding-left: 0.25rem;
}
