/********** Template CSS — Mobile-First Rewrite **********/
:root {
    --primary: #555299;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #02245B;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.bg-dark {
    background-color: #555299 !important;
}

/* ===== Utilities ===== */
.back-to-top {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 20px;
    z-index: 99;
    width: 44px;
    height: 44px;
}

h1, h2, .h1, .h2, .fw-bold {
    font-weight: 700 !important;
}

h3, h4, .h3, .h4, .fw-medium {
    font-weight: 600 !important;
}

h5, h6, .h5, .h6, .fw-semi-bold {
    font-weight: 500 !important;
}

/* ===== Spinner ===== */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* ===== Buttons ===== */
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* ===== Topbar ===== */
.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

/* ====================================================
   NAVBAR — Mobile-First
   ==================================================== */
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding: 0 40px 0 16px;
    height: 60px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand img {
    max-height: 36px;
    width: auto;
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 40px;
    height: 100%;
    top: 0;
    right: -20px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-toggler {
    border: none;
    padding: 8px;
    margin-right: 12px;
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
}

.navbar .navbar-nav .nav-link {
    padding: 12px 16px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.btn-login {
    margin: 12px 16px;
    font-size: 1rem;
    text-align: center;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .navbar .navbar-brand {
        padding: 0 50px 0 40px;
        height: 75px;
    }

    .navbar .navbar-brand img {
        max-height: 44px;
    }

    .navbar .navbar-brand::after {
        width: 50px;
        right: -25px;
    }

    .navbar .navbar-nav .nav-link {
        margin-right: 35px;
        padding: 20px 0;
        font-size: 18px;
    }

    .btn-login {
        margin: 0;
        margin-left: 10px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* ====================================================
   CAROUSEL / HEADER — Mobile-First
   ==================================================== */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, .9) 0%, rgba(2, 36, 91, 0.2) 100%);
    z-index: 1;
}

#header-carousel {
    max-height: 360px;
    overflow: hidden;
}

#header-carousel .carousel-item img {
    height: 360px;
    object-fit: cover;
    object-position: center;
}

#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0;
}

#header-carousel .carousel-caption .container {
    padding: 0 20px;
}

#header-carousel .carousel-caption h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.75rem !important;
}

#header-carousel .carousel-caption .fs-5 {
    font-size: 0.85rem !important;
}

#header-carousel .carousel-caption .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 50%;
}

@media (min-width: 576px) {
    #header-carousel,
    #header-carousel .carousel-item img {
        max-height: 400px;
        height: 400px;
    }

    #header-carousel .carousel-caption h1 {
        font-size: 1.8rem;
    }
}

@media (min-width: 768px) {
    #header-carousel,
    #header-carousel .carousel-item img {
        max-height: 450px;
        height: 450px;
    }

    #header-carousel .carousel-caption h1 {
        font-size: 2.2rem;
    }

    #header-carousel .carousel-caption .fs-5 {
        font-size: 1rem !important;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
    }
}

@media (min-width: 992px) {
    #header-carousel,
    #header-carousel .carousel-item img {
        max-height: 500px;
        height: 500px;
    }

    #header-carousel .carousel-caption h1 {
        font-size: 2.8rem;
    }

    #header-carousel .carousel-caption .fs-5 {
        font-size: 1.1rem !important;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3.5rem;
        height: 3.5rem;
        border: 15px solid var(--primary);
    }
}

/* ====================================================
   STATS BAR — Mobile-First
   ==================================================== */
.home-stats {
    background: linear-gradient(135deg, #555299 0%, #02245B 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.home-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.stat-item {
    text-align: center;
    padding: 16px 12px;
}

.stat-item .stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.25rem;
    color: #fff;
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .home-stats {
        padding: 50px 0;
    }

    .stat-item .stat-icon {
        width: 64px;
        height: 64px;
        font-size: 1.4rem;
    }

    .stat-item h3 {
        font-size: 1.05rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }
}

@media (min-width: 992px) {
    .home-stats {
        padding: 60px 0;
    }

    .home-stats::before {
        width: 500px;
        height: 500px;
    }

    .home-stats .row {
        justify-content: center;
    }

    .stat-item .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
        border-radius: 16px;
    }

    .stat-item h3 {
        font-size: 1.1rem;
    }
}

/* ====================================================
   PROJECT / CHARACTERISTICS CAROUSEL
   ==================================================== */
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .project-item img {
        height: 300px;
    }
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -40px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 10px;
    width: 100%;
    height: 70px;
    bottom: -90px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item .project-title h5 {
    font-size: 0.85rem;
    line-height: 1.3;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title {
    bottom: -50px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 50%;
    font-size: 18px;
    transition: .5s;
}

@media (min-width: 768px) {
    .project-item:hover img,
    .project-carousel .owl-item.center img {
        margin-top: -60px;
    }

    .project-item .project-title {
        height: 80px;
        bottom: -110px;
        padding: 0 15px;
    }

    .project-item .project-title h5 {
        font-size: 1rem;
    }

    .project-item:hover .project-title,
    .project-carousel .owl-item.center .project-title {
        bottom: -60px;
    }

    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 30px;
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* ====================================================
   FEATURES / SGCF SECTION — Mobile-First
   ==================================================== */
.container-xxl.py-5 .display-5 {
    font-size: 1.6rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .container-xxl.py-5 .display-5 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .container-xxl.py-5 .display-5 {
        font-size: 2.5rem;
    }
}

/* ====================================================
   DEMO SECTION
   ==================================================== */
.demo-section-enhanced {
    background: #F8F9FA;
    border-radius: 0;
    position: relative;
}

.demo-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #555299, #02245B);
}

.section-divider {
    height: 4px;
    background: linear-gradient(90deg, transparent, #555299, transparent);
    max-width: 100px;
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* ====================================================
   CONTACT CARDS
   ==================================================== */
.contact-card-enhanced {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(85,82,153,0.08);
}

.contact-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(85,82,153,0.15);
}

.contact-card-enhanced .card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #555299, #02245B);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(85,82,153,0.3);
}

@media (min-width: 768px) {
    .contact-card-enhanced {
        padding: 40px 30px;
    }

    .contact-card-enhanced .card-icon {
        width: 80px;
        height: 80px;
        border-radius: 20px;
        font-size: 1.8rem;
    }
}

/* ====================================================
   ABOUT SECTION (inside Contact)
   ==================================================== */
.about-section {
    background: linear-gradient(135deg, #02245B 0%, #555299 100%);
    border-radius: 16px;
    padding: 30px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.about-section h1 {
    color: #fff;
    font-size: 1.6rem;
}

.about-section .display-5 {
    font-size: 1.6rem;
}

.about-section p {
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    font-size: 0.9rem;
}

.about-section .about-contact-item {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 16px;
    backdrop-filter: blur(10px);
}

.about-section .about-contact-item h6 {
    color: #fff;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.about-section .about-contact-item span,
.about-section .about-contact-item a {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .about-section {
        border-radius: 20px;
        padding: 40px 30px;
    }

    .about-section::before {
        width: 350px;
        height: 350px;
    }

    .about-section h1,
    .about-section .display-5 {
        font-size: 2rem;
    }

    .about-section p {
        font-size: 1rem;
        line-height: 1.8;
    }
}

@media (min-width: 992px) {
    .about-section {
        padding: 50px;
    }

    .about-section::before {
        width: 400px;
        height: 400px;
    }

    .about-section h1,
    .about-section .display-5 {
        font-size: 2.5rem;
    }
}

/* ====================================================
   FORMS
   ==================================================== */
.form-enhanced {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    padding: 24px 20px;
}

.form-enhanced .form-control {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
}

.form-enhanced .form-control:focus {
    border-color: #555299;
    box-shadow: 0 0 0 3px rgba(85,82,153,0.1);
}

@media (min-width: 768px) {
    .form-enhanced {
        padding: 35px;
    }
}

/* ====================================================
   SERVICE ITEMS
   ==================================================== */
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 100px;
    height: 100px;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 50px 20px 20px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 50px 20px 20px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

@media (min-width: 768px) {
    .service-item .service-img {
        width: 130px;
        height: 130px;
        top: -65px;
    }

    .service-item .service-title,
    .service-item .service-text {
        padding: 65px 30px 25px 30px;
    }
}

/* ====================================================
   FEATURES PLAY BUTTON
   ==================================================== */
.btn-play {
    position: absolute;
    top: 50%;
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (min-width: 992px) {
    .btn-play {
        left: auto;
        right: -30px;
        transform: translateY(-50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

/* ====================================================
   MODAL VIDEO
   ==================================================== */
.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

/* ====================================================
   FACTS
   ==================================================== */
.facts {
    position: relative;
    margin: 4rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}

@media (min-width: 768px) {
    .facts {
        margin: 6rem 0;
    }
}

/* ====================================================
   PAGE HEADER
   ==================================================== */
.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 16px;
    color: var(--light);
}

@media (min-width: 768px) {
    .page-header .breadcrumb-item,
    .page-header .breadcrumb-item a {
        font-size: 18px;
    }
}

/* ====================================================
   TEAM
   ==================================================== */
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}

/* ====================================================
   TESTIMONIALS
   ==================================================== */
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

/* ====================================================
   FOOTER — Mobile-First
   ==================================================== */
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ====================================================
   MOBILE-FIRST GLOBAL SECTION SPACING
   ==================================================== */

/* Reduce vertical padding on mobile for all major sections */
.container-xxl.py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.container-fluid.bg-dark.pt-5.my-5 {
    padding-top: 2rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.footer.mt-5.py-5 {
    margin-top: 2rem !important;
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.footer .container.py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Carousel bottom margin */
.container-fluid.px-0.mb-5 {
    margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    .container-xxl.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .container-fluid.bg-dark.pt-5.my-5 {
        padding-top: 3rem !important;
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }

    .footer.mt-5.py-5 {
        margin-top: 3rem !important;
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .footer .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .container-fluid.px-0.mb-5 {
        margin-bottom: 2rem !important;
    }
}

@media (min-width: 992px) {
    .container-xxl.py-5 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .container-fluid.px-0.mb-5 {
        margin-bottom: 3rem !important;
    }
}

/* ====================================================
   MOBILE TYPOGRAPHY — Clean overrides (no destructive globals)
   ==================================================== */

/* Section subtitles (the "Características", "XG-SGCF", etc. labels) */
.text-primary.fw-medium.text-uppercase.mb-2 {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .text-primary.fw-medium.text-uppercase.mb-2 {
        font-size: 1rem;
    }
}

/* Section main titles in dark bg */
.container-fluid.bg-dark .display-5 {
    font-size: 1.5rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .container-fluid.bg-dark .display-5 {
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .container-fluid.bg-dark .display-5 {
        font-size: 2.5rem;
    }
}

/* ====================================================
   MOBILE TOUCH TARGETS & ACCESSIBILITY
   ==================================================== */

/* Ensure all interactive elements have minimum 44px touch target */
@media (max-width: 767.98px) {
    .navbar .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn {
        min-height: 44px;
    }

    /* Stack form columns on small mobile */
    .form-enhanced .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Better spacing for feature list items */
    .flex-shrink-0.btn-lg-square {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    /* Reduce feature item heading size */
    .col-lg-6 h4 {
        font-size: 1.05rem;
    }

    .col-lg-6 span {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* ====================================================
   SMOOTH SCROLL
   ==================================================== */
html {
    scroll-behavior: smooth;
}

/* ====================================================
   PRINT — hide non-essential
   ==================================================== */
@media print {
    .navbar,
    .back-to-top,
    #spinner,
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
}

/* ====================================================
   CHECK ICON (Demo section bullets)
   ==================================================== */
.stat-check-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #555299, #02245B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 12px;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .stat-check-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 14px;
    }
}

/* ====================================================
   ABOUT CONTACT ICON
   ==================================================== */
.about-contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .about-contact-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
}

/* ====================================================
   WHATSAPP FLOATING BUTTON
   ==================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
    text-decoration: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@media (min-width: 768px) {
    .whatsapp-float {
        width: 64px;
        height: 64px;
        font-size: 2rem;
        bottom: 30px;
        left: 30px;
    }
}
