
:root {
    --primary-color: #2e48cc !important;
    --site-bg-color: #d6d6f0;
    --card-bg-color: #f8e8f8;
    --section-alt-bg: #f8fafc;
    --footer-bg-color: #1a252f;
}

body {
    background: linear-gradient(90deg, #d6d6f0, #164da7) !important;
    background-attachment: fixed !important;
}

/* Hero Header Desktop */
.hero-section {
    background-image: url('../images/background.jpeg') !important;
}

.hero-section::before {
    background: none !important;
}

.hero-content,
.hero-title,
.hero-title i,
.hero-title .text-highlight {
    color: #000 !important;
}

.hero-subtitle {
    color: #000 !important;
}

.hero-buttons .btn-outline-light {
    color: #000 !important;
    border-color: #000 !important;
    font-size: 0.675rem;
}

@media (min-width: 768px) {
    .hero-buttons a.btn-outline-light {
        color: #000 !important;
        border-color: #000 !important;
    }
}

.navbar,
.navbar.scrolled {
    background: #fff !important;
}

@media (max-width: 991px) {
    .navbar,
    .navbar.scrolled {
        background: #fff !important;
    }

    .navbar .navbar-collapse,
    .navbar.scrolled .navbar-collapse {
        background: #fff !important;
    }
}

.navbar .brand-text,
.navbar .nav-link,
.navbar.scrolled .brand-text,
.navbar.scrolled .nav-link {
    color: #050505 !important;
}

.floating-contact {
    position: fixed;
    left: 20px;
    bottom: 24px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-contact__button {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1.35rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contact__button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.floating-contact__button:focus-visible {
    outline: 3px solid #111;
    outline-offset: 3px;
}

.floating-contact__button--call {
    background: #2e48cc;
}

.floating-contact__button--whatsapp {
    background: #20bd5a;
}

/* Hero Header Mobile */
@media (max-width: 767px) {
    .hero-section {
        height: min(177.7778vw, calc(100svh - 70px));
        min-height: 0;
        background-image: url('../images/mobile_view.jpeg') !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
    }

    .floating-contact {
        left: 14px;
        bottom: max(20px, env(safe-area-inset-bottom));
    }

    .floating-contact__button {
        width: 48px;
        height: 48px;
    }

    .hero-section > .container,
    .hero-section > .container > .row {
        height: 100%;
    }

    .hero-section > .container > .row {
        align-items: flex-start !important;
        padding-top: clamp(1.5rem, 5vh, 2.5rem);
    }

    .hero-content {
        padding-top: 0 !important;
        transform: none;
        color: #000 !important;
    }

    .hero-title,
    .hero-title i,
    .hero-title .text-highlight,
    .hero-subtitle {
        color: #000 !important;
    }

    .hero-subtitle {
        opacity: 1 !important;
    }

    .hero-buttons .btn-outline-light {
        color: #000 !important;
        border-color: #000 !important;
    }
}

#home .hero-title {
    color: #000 !important;
}

#home .hero-title i.text-primary {
    color: #2e48cc !important;
}

#home .hero-title span.text-highlight {
    color: #58d68d !important;
}

@media (max-width: 991.98px) {
    #mainNav > .container {
        flex-wrap: nowrap;
    }

    #mainNav .nav-hamburger,
    #mainNav.scrolled .nav-hamburger {
        background: #fff !important;
    }

    #mainNav .nav-brand {
        flex: 1 1 auto;
        min-width: 0;
        margin-right: 0.5rem;
    }

    #mainNav .nav-logo {
        flex: 0 0 auto;
        height: 36px;
    }

    #mainNav .brand-text {
        min-width: 0;
        overflow: hidden;
        font-size: clamp(0.85rem, 4vw, 1.25rem);
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #mainNav .nav-hamburger {
        flex: 0 0 auto;
        margin-left: auto;
    }
}

/* Cards, Div Sections, Content Boxes */
.service-card, .about-card, .team-card, .blog-card, .contact-card, .why-us-card, .card, .stat-card {
    background-color: #f8e8f8 !important;
}

/* Alternating Sections */
.about-section, .gallery-section, .blog-section {
    background-color: #f8fafc !important;
}

/* Footer Section */
.footer-section {
    background-color: #1a252f !important;
}

/* Brand Colors / Buttons / Accents */
.btn-primary, button.btn-primary, a.btn-primary {
    background-color: #2e48cc !important;
    border-color: #2e48cc !important;
}
.section-badge, .hero-badge {
    color: #2e48cc !important;
}
