:root {
    --primary-color: #0044cc;
    /* Deep, premium blue */
    --secondary-color: #002a80;
    --accent-color: #ffc107;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-main: 'DM Sans', sans-serif;
    --spacing-unit: 8px;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 0;
    /* Solves layout gaps caused by whitespace */
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Restore readability for text elements that inherit line-height */
a,
li,
span,
label,
input,
button,
textarea,
.nav-link,
.dropdown-item,
.card-text {
    line-height: 1.6;
}

/* Fix image gaps */
img {
    vertical-align: middle;
    border-style: none;
}

/* Typography & Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.25;
    /* Professional heading spacing */
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 2rem;
    }
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    /* smooth hover transitions */
}

a:hover {
    text-decoration: none;
}

/* Layout Utilities */
section {
    padding: 60px 0;
}

@media (min-width: 992px) {
    section {
        padding: 80px 0;
    }
}

.section-bg {
    background-color: var(--bg-light);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-item.active .nav-link,
.active-mobile {
    color: var(--primary-color) !important;
    font-weight: 700;
}


/* Mobile Menu Overlay Fix */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay.active {
    width: 100%;
}

.overlay-content {
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
}

.overlay.active .overlay-content {
    opacity: 1;
    transform: translateY(0);
}

.closebtn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--text-color);
    text-decoration: none;
    z-index: 1060;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-nav-get-started {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
}

.btn-nav-get-started:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Cards */
.card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 2rem;
}

/* Hero Section */
.get-started {
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.get_status_text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .get_status_text {
        font-size: 3.5rem;
    }
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    /* box-shadow: var(--shadow-lg); Remove box shadow if image is transparent illustration */
}

/* Process Section */
.list-number {
    background-color: rgba(0, 68, 204, 0.1);
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.process-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

/* Footer */
.footer-nav {
    background-color: var(--bg-light);
    padding: 60px 0 20px;
}

.footer-label {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: block;
}

.footer_text {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer_text:hover {
    color: var(--primary-color);
}

.social-share a {
    display: inline-block;
    margin-right: 15px;
    transition: transform 0.3s;
}

.social-share a:hover {
    transform: scale(1.1);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .get-started {
        text-align: center;
        flex-direction: column-reverse;
        /* Text on top on desktop, but maybe image on top on mobile? No, text first is better for SEO/UX. Stick to standard or reverse if image is decorative */
    }

    .get-started .row {
        flex-direction: column-reverse;
    }

    .hero-img {
        margin-bottom: 2rem;
        max-width: 80%;
    }

    .footer-nav .container {
        padding: 0 15px !important;
        /* Override inline style */
    }

    .col-md-3 {
        margin-bottom: 30px;
    }
}

/* Performance Utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.d-none-mobile {
    display: none;
}

@media (min-width: 768px) {
    .d-none-mobile {
        display: block;
    }
}

/* Premium Dropdown UI */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 10px;
        /* Visual gap for aesthetics */
        animation: fadeInUp 0.3s ease;
    }
}

/* Invisible bridge to prevent menu closing when crossing the gap */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 8px;
    min-width: 260px;
    /* Wider for better readability */
    background: #ffffff;
}

.dropdown-item {
    font-weight: 500;
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 15px;
    margin-bottom: 2px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(0, 68, 204, 0.05);
    /* Light primary bg */
    color: var(--primary-color);
    padding-left: 25px;
    /* Slide effect */
    font-weight: 600;
}

/* Review Section - Clean Style */
.review-icon {
    /* Reset absolute positioning from previous step */
    position: static;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Reset Carousel Controls to simple icons */
.carousel-control-prev,
.carousel-control-next {
    position: static;
    width: auto;
    height: auto;
    background: none;
    opacity: 1;
    transform: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: none;
    /* Hide default icons, we use fontawesome */
}

#customerReviewCarousel {
    overflow: visible;
}

.review-message {
    font-size: 1rem;
    font-style: normal;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-name {
    color: var(--primary-color);
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.carousel-indicators li {
    background-color: var(--primary-color);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
    width: 12px;
    height: 12px;
}

/* Custom Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    /* Reset Bootstrap default gradient/width */
    background: none;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color) !important;
    border-radius: 50%;
    background-size: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Push indicators down so they don't cover text */
.carousel-indicators {
    bottom: -40px;
}

#customerReviewCarousel {
    margin-bottom: 40px;
    /* Allow arrows/dots to sit outside container on desktop */
    overflow: visible;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    #customerReviewCarousel {
        overflow: hidden;
        padding-left: 30px;
        padding-right: 30px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        /* Smaller touch area */
    }
}