

@font-face {
    font-family: '3ds';
    src: url('../fonts/3ds-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

/* On desktop and larger, hide the mobile scroller */
@media (min-width: 992px) {
    #gallery #galleryMobile { display: none; }
}


#gallery .carousel-control-prev,
#gallery .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;                             
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 3;
}

#gallery:hover .carousel-control-prev,
#gallery:hover .carousel-control-next {
    opacity: 1;                             
}


#gallery .carousel-control-prev .carousel-control-prev-icon,
#gallery .carousel-control-next .carousel-control-next-icon {
    background-size: 55% 55%;               
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 48px;
    height: 48px;
}

#gallery .carousel-control-prev:hover .carousel-control-prev-icon,
#gallery .carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.06);
}


@media (min-width: 992px) {
    .navbar .navbar-nav > li:last-child {
        margin-left: auto !important; 
    }
}


@media (max-width: 499.98px) {
    .demo-fab { display: none !important; }
}


footer.bg-primary {
    padding: 18px 0 !important;                
    border-top: 1px solid rgba(255,255,255,0.25);
}
footer .col-md-6:first-child span {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 0.95rem;
    opacity: 0.95;
}
footer .col-md-6:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;                                  
}
footer a {
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}
footer a:hover { color: #fff !important; text-decoration: underline; }

@media (max-width: 767.98px) {
    footer .row { row-gap: 10px; }
    footer .col-md-6:last-child {
        justify-content: center;                
        flex-wrap: wrap;
        gap: 16px 24px;
        text-align: center;
    }
    footer .col-md-6:first-child { text-align: center; }
}

@font-face {
    font-family: '3ds';
    src: url('../fonts/3ds-italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}


:root {
    --brand: #0171c0;      
    --brand-600: #015a99;  
    --dark: #212529;
    --light: #f8f9fa;
    --white: #ffffff;
    --blue-gradient: linear-gradient(135deg, #0171c0 0%, #015a99 100%);
    --transition: all 0.3s ease;
    --font-primary: '3ds', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --navbar-h: 80px; 
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden; 
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; 
}


.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}


.smart-sticky {
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.smart-sticky.stuck {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-synthesis: weight;
    color: var(--dark) !important;
    transition: var(--transition);
    position: relative;
    text-transform: none; 
    font-size: 21px; 
    font-weight: bold;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand) !important;
}


@media (min-width: 992px) {
    body { padding-top: var(--navbar-h); }
    .navbar { min-height: var(--navbar-h); }
}

@media (max-width: 991.98px) {
    body { padding-top: 66px; } 
}


.navbar-nav .nav-link::after {
    content: none;
}


.demo-fab {
    position: fixed !important;
    bottom: 70px !important;
    right: 30px !important;
    z-index: 8000; 
    display: inline-flex; 
    border-radius: 50px !important;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-weight: normal;
    box-shadow: 0 4px 20px rgba(1, 113, 192, 0.3);
    border: 2px solid #015a99; 
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.demo-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(1, 113, 192, 0.4);
}


@keyframes demo-fab-pulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px rgba(1, 113, 192, 0.3);
    }
    50% {
        transform: translateY(-3px) scale(1.04);
        box-shadow: 0 10px 28px rgba(1, 113, 192, 0.45);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 6px 25px rgba(1, 113, 192, 0.4);
    }
}

.demo-fab:hover,
.demo-fab:focus-visible {
    animation: demo-fab-pulse 600ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .demo-fab,
    .demo-fab:hover,
    .demo-fab:focus-visible {
        transition: none !important;
        animation: none !important;
    }
}


.hero-section {
    background: url('../img/FONDO_HOME.webp') no-repeat center/cover;
    background-position: 35% -15%; 
    background-attachment: fixed; 
    position: relative;
    min-height: 90vh !important;
    display: flex;
    align-items: center;
    padding: 60px 0; 
}

.hero-section {
    background: url('../img/FONDO_HOME.webp') no-repeat center/cover;
}

@media (max-width: 991.98px) {
    .hero-section {
        background: url('../img/FONDO_HOME_MOBILE.jpg') no-repeat center/cover;
        background-position: center top;
        background-attachment: scroll;
    }
    /* Apply subtle darkening on hero image for better readability on ≤ 991px */
    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.28);
        z-index: 1;
    }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-main-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-subtitle-large {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.hero-description {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-version {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 300;
    display: block;
    width: fit-content;
    text-align: left;
    margin-top: 0.5rem;
    margin-bottom: 0.4rem !important;
    margin-left: 4.1rem;
}

.hero-cta-btn {
    background-color: white;
    color: var(--brand);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-transform: none;
    transition: all 0.3s ease;
}

.hero-cta-btn:hover {
    background-color: #f8f9fa;
    color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Improve readability of all hero texts over bright backgrounds */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section p,
.hero-section a,
.hero-section .btn,
.hero-section .hero-version,
.hero-section span {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991.98px) {
    .hero-section h1,
    .hero-section h2,
    .hero-section h3,
    .hero-section p,
    .hero-section a,
    .hero-section .btn,
    .hero-section .hero-version,
    .hero-section span {
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
    }
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}


#overview {
    background: #f8f9fa;
}

.content-block {
    padding: 2rem;
}

/* Align SOFTWARE OVERVIEW with container edges: remove horizontal padding only */
#overview .content-block {
    padding-left: 0;
    padding-right: 0;
}

.content-block p {
    font-family: var(--font-primary);
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}


#overview .content-block p {
    margin-bottom: 1rem;           
}
#overview .row:nth-of-type(2) .content-block p:last-child {
    margin-bottom: 0;              
}


#benefits .row.g-4 {
    --bs-gutter-x: 2.5rem;         
    --bs-gutter-y: 2rem;           
}
#benefits .row:first-of-type .col-12.mb-3 p {  
    font-size: 1.35em;             
}
#benefits p {                      
    margin-bottom: 1rem !important;     
}
#benefits h2 {
    margin-bottom: 1rem !important;      
}
#benefits .benefit-item {          
    margin-bottom: 3rem !important;    
    gap: 0.75rem;                      
    align-items: center !important;    
}
#benefits .row.mt-3 {              
    margin-top: 5rem !important;
}


#benefits h2 .line {                
    display: block;
    margin-bottom: 0;               
}


#benefits .benefit-item span {
    line-height: 1.6;               
}


#benefits .benefit-item img {
    margin-right: 0 !important;
    margin-top: 0 !important;          
    display: block;                     
    width: 50px !important;             
    height: 50px !important;            
    flex-shrink: 0;                      
}

/* Mobile: remove extra vertical gap between the two benefits columns and tighten item spacing */
@media (max-width: 991.98px) {
    #benefits .row.g-4 { 
        --bs-gutter-y: 0rem; /* eliminate big gap between column stacks */
    }
    #benefits .benefit-item { 
        margin-bottom: 1.5rem !important; /* uniform spacing for all items */
    }
}


#gallery .gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;                  
    overflow: hidden;               
    position: relative;             
    background-color: #ffffff;      
}

#gallery .gallery-item img {
    display: block;
    width: 100% !important;        
    height: 100% !important;       
    object-fit: cover;             
    background-color: #ffffff;     
    transform: scale(1.05);        
    -webkit-transform: translateZ(0) scale(1.05);
    backface-visibility: hidden;   
    will-change: transform;
    outline: none;                  
    border: 0;                      
    
    clip-path: inset(1px round 0);
}

@media (min-width: 576px) {
    #gallery .gallery-item { height: 130px; }
}

@media (min-width: 768px) {
    #gallery .gallery-item { height: 160px; }
}

@media (min-width: 992px) {
    #gallery .gallery-item { height: 180px; }
}

@media (min-width: 1200px) {
    #gallery .gallery-item { height: 200px; }
}


@media (max-width: 767.98px) {
    #gallery .row.g-3 {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
    }
}


@media (max-width: 991.98px) {
    /* Option B: single-row, horizontal scroll with scroll-snap */
    #gallery .carousel-item .row,
    #gallery #galleryMobile {
        flex-wrap: nowrap;               /* single row */
        overflow-x: auto;                /* horizontal scroll */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;   /* snap between items */
        gap: var(--bs-gutter-x, 1rem);   /* preserve gutter spacing while scrolling */
    }
    #gallery .carousel-item .row > [class*="col-"],
    #gallery #galleryMobile > [class*="col-"] {
        flex: 0 0 auto;                  /* prevent shrinking */
        scroll-snap-align: start;        /* snap to each card */
    }
    /* Hide the Bootstrap carousel structure on mobile to avoid duplicate UI */
    #galleryCarousel { display: none; }
    /* Ensure the mobile row is visible */
    #gallery #galleryMobile { display: flex; }
    
    #gallery .row.g-3 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    font-family: var(--font-primary);
    font-weight: 300;
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-list li::before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-list-dots {
    list-style: none;
    padding-left: 0;
}

.feature-list-dots li {
    font-family: var(--font-primary);
    font-weight: 300;
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.5;
}

.feature-list-dots li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background: url('../img/DOT.png') no-repeat center/contain;
}


.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; 
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}


.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: var(--brand);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--brand);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.carousel-indicators {
    margin-bottom: -50px;
}

.carousel-indicators button {
    background-color: var(--brand);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}


#gallery .carousel,
#gallery .carousel-inner,
#gallery .carousel-item {
    background: transparent; 
}


#gallery {
    background-color: #f8f9fa; 
}


.benefits-section {
    background: url('../img/FONDO_BENEFITS.webp') no-repeat center/cover;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
}

.benefit-item {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
}


.list-checked {
    list-style: none;
    padding-left: 0;
}

.list-checked li {
    font-family: var(--font-primary);
    font-weight: 300;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.5;
}

.list-checked li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: url('../img/CHECK_BENEFITS.png') no-repeat center/contain;
}


#demo {
    background: #f8f9fa;
}

.demo-image {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}


#demo .row.mt-4 {
    display: flex;                 
    align-items: flex-end;         
}
#demo .row.mt-4 .col-lg-6 {
    display: flex;                 
    justify-content: center;
}
#demo .row.mt-4 .btn {
    display: inline-flex;          
    align-items: center;
    justify-content: center;
    width: 100% !important;        
    max-width: 360px !important;   
    min-height: 56px;              
    white-space: nowrap;           
    /* Remove upward hover animation in Demo buttons */
    transform: none !important;
    /* Normalize vertical metrics */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.1 !important;
    padding-top: 0.9rem !important;
    padding-bottom: 0.9rem !important;
    /* Ensure ripple global rules don't affect layout */
    overflow: visible !important;
    position: static !important;
}


#demo .btn,
#demo .btn:hover,
#demo .btn:focus,
#demo .btn:active {
    box-shadow: none !important;
    /* Keep buttons fixed, no translate on hover/focus/active in Demo */
    transform: none !important;
}


@media (max-width: 991.98px) {
    #demo .row.mt-4 { --bs-gutter-y: 1rem; }
    #demo .row.mt-4 .col-lg-6:first-child { margin-bottom: 0.75rem; }

    #demo .row.mt-4 .btn {
        max-width: 380px !important; 
        min-height: 56px;            
        white-space: nowrap;         
    }
}


@media (min-width: 992px) {
    #demo .row.mt-4 { align-items: center; }
}



#support {
    padding: 120px 0 !important;                
}

#support .fw-bold {                              
    margin-bottom: 1.75rem !important;
}

#support .d-flex.gap-4 {                         
    gap: 4rem !important;                        
    margin-bottom: 2rem !important;              
}

#support .btn-outline-light {                    
    padding: 0.65rem 2.6rem !important;          
    font-size: 1.15rem !important;               
    border-width: 2px !important;
    border-radius: 6px !important;               
    line-height: 1.1;
    min-width: 340px;                            
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;                   
}


@media (max-width: 799.98px) {
    #support .d-flex.gap-4 {
        flex-direction: column !important;   
        gap: 1rem !important;                
        align-items: center;                 
    }
    #support .btn-outline-light {
        width: 100%;                         
        max-width: 380px;                    
        min-width: 0;                        
    }
}

@media (max-width: 575.98px) {
    #support .btn-outline-light {
        min-width: 260px;                        
        padding: 0.6rem 2rem !important;         
    }
}

#support p.text-white.text-center {              
    color: #000 !important;                      
    font-size: 1.15rem !important;               
    opacity: 1;
}

.support-section {
    background: var(--blue-gradient), url('../img/FONDO_SUPPORT.webp') no-repeat center/cover;
    background-blend-mode: overlay;
    position: relative;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 113, 192, 0.85);
    z-index: 1;
}

.support-section .container {
    position: relative;
    z-index: 2;
}


#contact {
    background: url('../img/06_GET_IN_TOUCH_FONDO.webp') no-repeat center/cover;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

#contact .row>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-description {
    padding-left: 15px;
    margin-top: 3.25rem;
}

.contact-description p {
    color: #333;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}




@media (max-width: 991.98px) {
    #contact {
        padding: 4rem 0;
    }

    #contact h2 {
        font-size: 2rem;
    }

    .contact-description {
        padding-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    #contact h2 {
        font-size: 1.75rem;
    }

    .contact-description p {
        font-size: 1.25rem;
    }
}

.contact-form-full {
    width: 100%;
}

.contact-form-full .form-control {
    border: 2px solid #333;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.contact-form-full .form-control:focus {
    border-color: var(--brand);
    box-shadow: none;
    background-color: #fff;
}

.contact-form-full .form-label {
    font-family: var(--font-primary);
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.contact-form-full textarea.form-control {
    resize: vertical;
    min-height: 100px;
}


.contact-form-full .btn {
    width: 90%;
}


.contact-form-full .row {
    align-items: stretch;
}

.contact-form-full .enviar {
    align-self: flex-end;
}

.send-btn {
    font-family: var(--font-primary);
    font-weight: normal;
    background-color: var(--brand);
    border: none;
    border-radius: 8px;
    padding: 12px 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    height: 50px;
    min-width: 120px;
}

.send-btn:hover {
    background-color: #015a99;
    transform: translateY(-2px);
}


.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
    width: 25px;
}


.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    transition: var(--transition);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue-gradient);
    border: 2px solid #015a99; 
    box-shadow: 0 4px 15px rgba(1, 113, 192, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(1, 113, 192, 0.4);
    transform: translateY(-2px);
}


.navbar .btn.btn-primary,
.demo-fab.btn {
    text-transform: none !important;
}

.btn-outline-primary {
    color: var(--brand);
    border-color: var(--brand);
    border-width: 2px;
}

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

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background: white;
    color: var(--brand);
}


.btn.btn-outline-light .line { display: block; }


.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(1, 113, 192, 0.25);
}

.form-control-lg {
    padding: 16px 20px;
    font-size: 1.1rem;
}


.inview {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.inview.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.display-3 {
    font-family: var(--font-primary);
    font-weight: normal;
    line-height: 1.1;
}

.display-5 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.lead {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
}

p {
    font-family: var(--font-primary);
    font-weight: 300;
}


img, video, svg, canvas {
    max-width: 100%;
    height: auto;
}


.line { display: inline; }




html {
    font-size: 16px;
    
}


@media (min-width: 576px) {
    html {
        font-size: 16px;
    }

    .hero-main-title {
        font-size: 2.75rem;
    }

    .hero-subtitle-large {
        font-size: 1.25rem;
    }
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .hero-main-title {
        font-size: 3.25rem;
    }

    .hero-subtitle-large {
        font-size: 1.35rem;
    }

    
    .navbar {
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

    
    .content-block {
        padding: 1.5rem;
    }
}


@media (min-width: 992px) {
    .hero-main-title {
        font-size: 3.5rem;
    }

    .hero-subtitle-large {
        font-size: 1.4rem;
    }

    
    .container {
        max-width: 960px;
    }

    
    .contact-form-full .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .contact-form-full [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    
    .navbar .container {
        display: flex;
        align-items: center;
    }

    .navbar .navbar-collapse {
        flex: 1 1 auto; 
        position: relative; 
        padding-right: 160px; 
    }

    .navbar .navbar-nav {
        display: flex;
        align-items: center;
        justify-content: center; 
        flex: 1 1 auto;              
        width: 100%;                 
    }

    
    .navbar .navbar-nav.ms-auto {
        margin-left: 0 !important;
    }

    
    .navbar .navbar-nav .nav-item:not(.ms-lg-3) {
        flex: 0 0 auto;
    }

    
    .navbar .navbar-nav .nav-link {
        text-align: left;
        width: auto;
    }

    
    .navbar .navbar-nav .nav-item.ms-lg-3 {
        flex: 0 0 auto;
        margin-left: 1rem !important; 
    }

    
    .navbar .navbar-nav {
        gap: 1.25rem;
    }

    
    .navbar .navbar-nav > li:last-child {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0 !important; 
    }
}


@media (min-width: 992px) {
    .hero-main-title .line,
    .hero-subtitle-large .line,
    #overview h2 .line,
    #demo h2 .line,
    #contact h2 .line { display: block; }
}


@media (min-width: 992px) and (max-width: 1399.98px) {
    .navbar-nav .nav-link {
        white-space: nowrap;        
        font-size: 15px;         
        letter-spacing: 0.2px;      
        padding: 0.5rem 0.9rem;     
    }

    .navbar-nav {
        gap: 0.9rem;                
    }

    .navbar-brand img {
        height: 38px;               
    }

    .navbar .nav-item.ms-lg-3 {
        margin-left: 0.9rem !important; 
    }

    .navbar .btn.btn-primary {
        padding: 0.5rem 1rem;       
        font-size: 0.9rem;
    }
}


@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    
    .hero-section {
        padding: 90px 0; 
    }

    .hero-section .col-lg-7 {
        padding-left: 4rem; 
    }
}


@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}


@media (max-width: 767.98px) {

    
    h1,
    .display-3 {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    h2,
    .display-4 {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    h3,
    .display-5 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    
    .hero-section {
        min-height: 80vh !important;
        padding: 3rem 0;
        background-attachment: scroll; 
    }

    .hero-section .container,
    .hero-section .col-lg-7 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-main-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-subtitle-large {
        font-size: 1.25rem;
        line-height: 1.4;
    }

    
    .navbar-brand img {
        height: 35px;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1.25rem;
    }

    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    
    .demo-fab {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.8rem;
        z-index: 8000;
        
    }

    
    .contact-form-full .row {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form-full [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .contact-form-full .btn {
        width: 100%;
        margin-top: 1rem;
    }

    
    .contact-form-full .row > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .contact-form-full .btn {
        width: 100%;
        margin-top: 0.75rem;
    }

    
    .gallery-item {
        margin-bottom: 1rem;
    }

    
    #gallery .carousel-item .row {
        flex-wrap: nowrap !important;      
        overflow-x: auto;                  
        -webkit-overflow-scrolling: touch; 
        gap: 0.5rem;                       
        scrollbar-width: none;             
        -ms-overflow-style: none;          
    }
    
    #gallery .carousel-item .row::-webkit-scrollbar { display: none; }
    #gallery .carousel-item .row > [class*="col-"] {
        flex: 0 0 auto !important;         
        width: auto !important;
        max-width: none !important;
    }

    
    @media (max-width: 599.98px) {
        #gallery .carousel-item .row > [class*="col-"] {
            flex: 0 0 auto !important;     
            width: auto !important;
        }
    }

    
    @media (max-width: 399.98px) {
        .hero-main-title {
            font-size: 2rem;
        }

        .hero-subtitle-large {
            font-size: 1.1rem;
        }

        .btn {
            width: 100%;
        }

        
        .contact-form-full .form-control,
        .contact-form-full textarea {
            width: 100%;
        }

        
        .contact-form-full .row>[class*="col-"] {
            flex: 0 0 100%;
            max-width: 100%;
        }

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

        .my-4,
        .my-5 {
            margin-top: 1.5rem !important;
            margin-bottom: 1.5rem !important;
        }

        
        .hero-version {
            display: none;
        }
    }

    
    .benefit-item {
        margin-bottom: 1.5rem;
    }

    
    body {
        overflow-x: hidden;
    }

    footer .text-md-end {
        text-align: left !important;
        margin-top: 1rem;
    }

    footer a {
        display: block;
        margin: 0.5rem 0;
    }
}


@media (max-width: 399.98px) {
    .hero-main-title {
        font-size: 2rem;
    }

    .hero-subtitle-large {
        font-size: 1.1rem;
    }

    .btn {
        width: 100%;
    }

    
    .contact-form-full .form-control,
    .contact-form-full textarea {
        width: 100%;
    }

    
    .contact-form-full .row>[class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

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

    .my-4,
    .my-5 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    
    .hero-version {
        display: none;
    }
}





section {
    scroll-margin-top: 80px;
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0171c0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0171c0;
}


.text-primary { color: #0171c0 !important; }
.bg-primary { background-color: #0171c0 !important; }
