/* ==================================================
   PRIVÉ DMS - RESPONSIVE STYLESHEET (responsive.css)
   ================================================== */

/* ==================================================
   ULTRA-WIDE SCREENS (>= 1720px)
   ================================================== */
@media (min-width: 1720px) {
    .container, 
    .container-lg, 
    .container-md, 
    .container-sm, 
    .container-xl, 
    .container-xxl {
        max-width: 1440px;
    }
}

/* ==================================================
   DESKTOP LARGE (>= 1200px)
   ================================================== */
@media (min-width: 1200px) {
    .navbar-nav {
        gap: 1.5rem;
    }
}

/* ==================================================
   LAPTOP / MEDIUM DESKTOP (992px - 1199px)
   ================================================== */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-nav {
        gap: 0.75rem;
    }
    .prev-feature-cell {
        padding: 1.5rem 1.15rem;
    }
}

/* ==================================================
   SCREENS (< 1200px)
   ================================================== */
@media (max-width: 1199px) {
    .prev-office-location-card {
        left: calc((100% - 960px) / 2 + 15px);
    }
}

/* ==================================================
   TABLETS (768px - 991px)
   ================================================== */
@media (max-width: 991px) {
    .prev-section-padding {
        padding: 70px 0;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 1.25rem 0;
        border-top: 1px solid var(--very-light-blue);
        margin-top: 0.75rem;
    }

    .navbar-nav {
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .prev-hero-section {
        min-height: 75vh;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .prev-hero-title {
        font-size: 2.5rem;
    }

    .prev-about-image-wrapper {
        margin-bottom: 2.5rem;
    }

    .prev-about-image-wrapper img {
        height: 340px;
    }

    .prev-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prev-feature-cell {
        border-right: none !important;
        border-bottom: none !important;
        padding: 1.5rem 1.25rem;
    }

    .prev-feature-cell:nth-child(odd) {
        border-right: 1px solid var(--light-blue-gray) !important;
    }

    .prev-feature-cell:nth-child(-n+4) {
        border-bottom: 1px solid var(--light-blue-gray) !important;
    }

    .prev-features-img-card {
        min-height: 360px;
        max-height: 420px;
        margin-bottom: 2.5rem;
    }

    .prev-contact-info-card {
        padding-right: 0;
        margin-bottom: 2.5rem;
    }

    .prev-demo-hero-section {
        padding: 60px 0 60px 0;
    }

    .prev-demo-content-col {
        margin-bottom: 2.5rem;
    }

    /* All Inner Page Hero Banners - Tablet */
    .prev-inner-hero-banner,
    .prev-about-hero-banner,
    .prev-contact-hero-banner,
    .prev-services-hero-banner,
    .prev-features-hero-banner,
    .prev-products-hero-banner,
    .hero-section {
        min-height: 420px;
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .prev-inner-hero-badge,
    .prev-about-hero-badge,
    .prev-contact-hero-badge,
    .prev-services-hero-badge,
    .prev-features-hero-badge,
    .hero-badge {
        font-size: 0.72rem;
        padding: 0.3rem 1rem;
        margin-bottom: 1rem;
    }

    .prev-inner-hero-title,
    .prev-about-hero-title,
    .prev-contact-hero-title,
    .prev-services-hero-title,
    .prev-features-hero-title,
    .hero-title {
        font-size: 2.35rem;
        margin-bottom: 0.85rem;
        line-height: 1.2;
    }

    .prev-inner-hero-desc,
    .prev-about-hero-desc,
    .prev-contact-hero-desc,
    .prev-services-hero-desc,
    .prev-features-hero-desc,
    .hero-desc {
        font-size: 1rem;
        max-width: 580px;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .prev-inner-hero-buttons,
    .prev-services-hero-buttons,
    .prev-features-hero-buttons,
    .hero-buttons {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        flex-wrap: wrap;
    }

    .prev-inner-hero-buttons .btn,
    .prev-services-hero-buttons .btn,
    .prev-features-hero-buttons .btn,
    .hero-buttons .btn,
    .hero-btn-primary,
    .hero-btn-secondary {
        width: auto;
        padding: 0.65rem 1.4rem;
        font-size: 0.95rem;
    }

    .prev-office-location-card {
        left: 20px;
        max-width: 290px;
        padding: 1.25rem;
    }

    .prev-footer-top .col-lg-3,
    .prev-footer-top .col-lg-4,
    .prev-footer-top .col-lg-2 {
        margin-bottom: 2rem;
    }



    .prev-overview-img-wrapper {
        margin-bottom: 2rem;
    }

    .prev-overview-img-wrapper img {
        max-height: 350px;
    }



    .prev-feature-detail-section {
        padding: 60px 0;
    }

    .prev-feature-detail-img-box {
        margin-bottom: 2rem;
    }
}

/* ==================================================
   MOBILE PHONES (< 768px)
   ================================================== */
@media (max-width: 767px) {
    section {
        scroll-margin-top: 65px;
    }

    .prev-section-padding {
        padding: 50px 0;
    }

    .prev-hero-section {
        min-height: 65vh;
        padding-top: 50px;
        padding-bottom: 50px;
        text-align: center;
    }

    .prev-hero-container {
        text-align: center;
    }

    .prev-hero-container .row {
        justify-content: center;
    }

    .prev-hero-badge {
        display: inline-flex !important;
        margin: 0 auto 1.25rem auto !important;
        text-align: center;
    }

    .prev-hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .prev-hero-description {
        font-size: 0.95rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .prev-hero-buttons {
        flex-direction: column;
        width: 100%;
        justify-content: center;
    }

    .prev-hero-buttons .btn {
        width: 100%;
    }

    .prev-section-title {
        font-size: 1.2rem;
    }

    .prev-contact-info-card h3 {
        font-size: 1.1rem;
        color: var(--heading-color);
        margin-bottom: 1rem;
    }

    .prev-overview-content h3 {
        font-size: 1.2rem; 
    }

    .prev-section-header {
        margin-bottom: 2rem;
    }

    .prev-final-cta-title {
        color: var(--white);
        font-size: clamp(1.3rem, 3.5vw, 2.5rem);
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .prev-final-cta-desc {
        color: var(--white-85);
        font-size: .95rem;
        max-width: 680px;
        margin: 0 auto 2rem auto;
        line-height: 1.6;
    }

    .prev-final-cta-section {
        padding: 60px 0;
    }

    .prev-demo-hero-section {
        padding: 50px 0 50px 0;
    }

    .prev-demo-title {
        font-size: 2rem;
    }

    .prev-demo-description {
        font-size: 0.95rem;
    }

    .prev-about-image-wrapper img {
        height: 260px;
    }

    .prev-about-stats {
        gap: 1.5rem;
    }

    .prev-stat-item h4 {
        font-size: 1.5rem;
    }

    .prev-features-grid {
        grid-template-columns: 1fr;
    }

    .prev-feature-cell {
        border-right: none !important;
        border-bottom: 1px solid var(--light-blue-gray) !important;
        padding: 1.25rem 0.5rem;
    }

    .prev-feature-cell:nth-child(odd) {
        border-right: 0px solid var(--light-blue-gray) !important;
    }

    .prev-feature-cell:last-child {
        border-bottom: none !important;
    }

    .prev-features-img-card {
        min-height: 280px;
        max-height: 340px;
        margin-bottom: 0;
    }

    .prev-feature-detail-img-box {
        margin-bottom: 0;
    }

    .prev-features-header-title {
        font-size: 1.75rem;
    }

    .prev-features-header-title::before,
    .prev-features-header-title::after {
        width: 25px;
    }

    .prev-contact-form-container,
    .prev-demo-form-card {
        padding: 1.5rem;
    }

    /* All Inner Page Hero Banners - Mobile */
    .prev-about-hero-banner,
    .prev-contact-hero-banner,
    .prev-services-hero-banner,
    .prev-features-hero-banner,
    .prev-products-hero-banner,
    .hero-section,
    .prev-inner-hero-banner {
        min-height: auto;
        padding-top: 45px;
        padding-bottom: 45px;
        text-align: center;
    }

    .prev-inner-hero-content,
    .prev-about-hero-content,
    .prev-features-hero-content,
    .prev-services-hero-content,
    .prev-contact-hero-content,
    .prev-products-hero-content,
    .hero-content {
        text-align: center;
    }

    .prev-inner-hero-content .row,
    .prev-about-hero-content .row,
    .prev-features-hero-content .row,
    .prev-services-hero-content .row,
    .prev-contact-hero-content .row,
    .prev-products-hero-content .row,
    .hero-content .row {
        justify-content: center;
    }

    .prev-inner-hero-badge,
    .prev-about-hero-badge,
    .prev-contact-hero-badge,
    .prev-services-hero-badge,
    .prev-features-hero-badge,
    .prev-products-hero-badge,
    .hero-badge {
        display: inline-flex !important;
        margin: 0 auto 1rem auto !important;
        text-align: center;
    }

    .prev-inner-hero-title,
    .prev-about-hero-title,
    .prev-contact-hero-title,
    .prev-services-hero-title,
    .prev-features-hero-title,
    .hero-title {
        font-size: 1.85rem;
        margin-bottom: 0.65rem;
        line-height: 1.25;
        text-align: center;
    }

    .prev-inner-hero-desc,
    .prev-about-hero-desc,
    .prev-contact-hero-desc,
    .prev-services-hero-desc,
    .prev-features-hero-desc,
    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        line-height: 1.55;
        text-align: center;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .prev-about-hero-desc {
        margin-bottom: 0;
    }

    .prev-inner-hero-buttons,
    .prev-services-hero-buttons,
    .prev-features-hero-buttons,
    .prev-contact-hero-buttons,
    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        width: 100%;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .prev-inner-hero-buttons .btn,
    .prev-services-hero-buttons .btn,
    .prev-features-hero-buttons .btn,
    .prev-contact-hero-buttons .btn,
    .hero-buttons .btn,
    .hero-btn-primary,
    .hero-btn-secondary {
        width: auto;
    }

    .prev-map-section-wrapper {
        height: 420px;
    }

    .prev-office-location-card {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 30px);
        max-width: 320px;
    }

    .prev-footer-bottom {
        text-align: center;
    }

    .prev-footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 0.75rem;
    }

    .prev-footer-bottom a {
        margin: 0 0.5rem;
        display: inline-block;
    }



    .prev-overview-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .prev-overview-stat-item h4 {
        font-size: 1.75rem;
    }

    /* Mobile Timeline - simplified linear alignment */
    .prev-timeline-wrapper::before {
        left: 15px;
    }

    .prev-timeline-item {
        flex-direction: column;
        padding-left: 38px;
        margin-bottom: 2.25rem;
    }

    .prev-timeline-dot {
        left: 8px;
        top: 6px;
    }

    .prev-timeline-year {
        width: auto;
        text-align: left;
        padding-right: 0;
        margin-bottom: 0.25rem;
        font-size: 1.15rem;
    }

    .prev-timeline-content {
        margin-left: 0;
    }

    .prev-mv-card,
    .prev-value-card,
    .prev-why-card {
        padding: 1.75rem 1.5rem;
    }



    .prev-how-card,
    .prev-testimonial-card {
        padding: 1.75rem 1.5rem;
    }



    .prev-feature-detail-section {
        padding: 45px 0;
    }

    .prev-key-feature-card {
        padding: 1.5rem 1.25rem;
    }
}

/* ================================================================
   PRODUCTS PAGE SPECIFIC RESPONSIVE STYLES
   ================================================================ */
@media (max-width: 991px) {
    .hero-product-image-col {
        justify-content: center;
        margin-top: 30px;
        text-align: center;
    }

    .hero-product-image {
        max-width: 85%;
        margin: 0 auto;
        display: block;
    }

    .prev-core-feature-img {
        margin-bottom: 1.75rem;
    }
}

@media (max-width: 767px) {
    .hero-product-image-col {
        margin-top: 25px;
        text-align: center;
    }

    .hero-product-image {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    .prev-product-heading {
        font-size: 1.65rem;
    }

    .prev-product-subtitle {
        font-size: 0.875rem;
        margin-bottom: 2rem;
    }

    .prev-core-feature-row {
        margin-bottom: 2.75rem;
    }

    .prev-cta-dark {
        padding: 55px 0;
    }

    .prev-cta-title {
        font-size: 1.75rem;
    }
}

/* ================================================================
   SMALL MOBILE (< 480px) - ALL INNER PAGE HERO BANNERS
   ================================================================ */
@media (max-width: 480px) {
    .prev-inner-hero-banner,
    .prev-about-hero-banner,
    .prev-contact-hero-banner,
    .prev-services-hero-banner,
    .prev-features-hero-banner,
    .prev-products-hero-banner,
    .hero-section {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .prev-inner-hero-badge,
    .prev-about-hero-badge,
    .prev-contact-hero-badge,
    .prev-services-hero-badge,
    .prev-features-hero-badge,
    .hero-badge {
        font-size: 0.68rem;
        padding: 0.25rem 0.85rem;
        margin: 0 auto 0.75rem auto !important;
        letter-spacing: 1.2px;
    }

    .prev-inner-hero-title,
    .prev-about-hero-title,
    .prev-contact-hero-title,
    .prev-services-hero-title,
    .prev-features-hero-title,
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.25;
        margin-bottom: 0.65rem;
        text-align: center;
    }

    .prev-inner-hero-desc,
    .prev-about-hero-desc,
    .prev-contact-hero-desc,
    .prev-services-hero-desc,
    .prev-features-hero-desc,
    .hero-desc {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.15rem;
        text-align: center;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .prev-about-hero-desc {
        margin-bottom: 0;
    }

    .prev-inner-hero-buttons,
    .prev-services-hero-buttons,
    .prev-features-hero-buttons,
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.65rem;
    }

    .prev-inner-hero-buttons .btn,
    .prev-services-hero-buttons .btn,
    .prev-features-hero-buttons .btn,
    .hero-buttons .btn,
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    .prev-product-heading {
        font-size: 1.45rem;
    }
}

/* ================================================================
   LEGAL PAGES RESPONSIVE STYLES
   ================================================================ */
@media (max-width: 991px) {
    .prev-legal-section {
        padding: 45px 0 70px 0;
    }
}

@media (max-width: 767px) {
    .prev-legal-card {
        padding: 1.75rem 1.25rem;
    }

    .prev-legal-heading {
        font-size: 1.15rem;
    }

    .prev-legal-text {
        text-align: left;
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .prev-legal-list {
        margin-left: 0.75rem;
        padding-left: 0.25rem;
    }

    .prev-legal-list > li {
        font-size: 0.9rem;
    }

    .prev-legal-alert-box {
        padding: 1rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .prev-legal-card {
        padding: 1.25rem 1rem;
        border-radius: 8px;
    }

    .prev-legal-heading {
        font-size: 1.05rem;
    }

    .prev-legal-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .prev-feature-cell:nth-child(odd) {
        border-right: 0px solid var(--light-blue-gray) !important;
    }
}
