/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

/* Mobile Devices (< 992px) */
@media (max-width: 991.98px) {
    .top-header {
        padding: 12px 0 !important;
        font-size: 13px;
    }

    .top-header .header-link {
        margin-right: 15px;
        font-size: 12px;
    }

    .top-header .row {
        flex-direction: column;
        gap: 12px;
    }

    .top-header .col-md-6 {
        flex: 0 0 100%;
        text-align: center !important;
    }

    .top-header .text-right {
        text-align: center !important;
    }

    /* Navbar Button */
    .navbar-toggler {
        border: 2px solid var(--primary-color) !important;
        padding: 5px 8px !important;
        background: transparent;
    }

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

    /* Navbar Menu Lateral Pequeno - Canto Direito */
    .navbar-collapse {
        position: fixed !important;
        top: 60px;
        right: 0;
        left: auto !important;
        width: 280px !important;
        background-color: #fff;
        box-shadow: -4px 4px 12px rgba(0,0,0,0.15);
        border-left: 1px solid var(--border-color);
        padding: 0 !important;
        z-index: 1040;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column !important;
        gap: 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .navbar-nav .nav-link {
        display: block;
        padding: 15px 20px !important;
        border-bottom: none !important;
        border-radius: 0;
        color: var(--text-color) !important;
    }

    .navbar-nav .nav-link:hover {
        background-color: #f5f5f5;
        border-bottom: none;
        color: var(--primary-color) !important;
    }

    .navbar-nav .nav-link.active {
        background-color: #f0f0f0;
        border-bottom: none;
        border-left: 4px solid var(--primary-color);
        padding-left: 16px !important;
    }

    /* Hero Section */
    .hero {
        padding: 60px 20px;
        min-height: 450px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .page-header {
        padding: 40px 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 35px;
    }

    section {
        padding: 40px 20px;
    }

    .feature-card,
    .service-card,
    .mvv-card,
    .why-card,
    .industry-item,
    .info-item {
        margin-bottom: 25px;
        padding: 35px 25px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    }

    .feature-icon,
    .service-card .service-icon,
    .mvv-icon,
    .why-card i,
    .info-item i {
        width: 85px;
        height: 85px;
        font-size: 45px;
        margin-bottom: 15px;
    }

    .feature-card h3,
    .service-card h3,
    .mvv-card h3,
    .why-card h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .service-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15) !important;
    }

    .service-item {
        padding: 30px 20px !important;
        margin-bottom: 20px !important;
    }

    .service-item p {
        font-size: 15px;
        line-height: 1.6;
    }

    .navbar-custom {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .navbar-logo {
        width: 35px !important;
        height: 35px !important;
        max-width: 35px !important;
        max-height: 35px !important;
        min-width: 35px !important;
        flex-shrink: 0 !important;
    }

    .navbar-brand-logo {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .contact-info-wrapper,
    .contact-form-wrapper {
        padding: 20px;
        margin-bottom: 0;
    }

    .contact-form .form-control {
        padding: 10px;
        font-size: 14px;
    }

    .contact-form-wrapper h2,
    .contact-info-wrapper h2 {
        font-size: 24px;
    }

    .footer {
        padding: 40px 20px 0;
    }

    /* CTA & Support Section */
    .cta-support-section {
        padding: 50px 20px;
    }

    .cta-support-section h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .cta-support-section p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .cta-support-section h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .channel-item {
        padding: 25px 20px;
        margin-bottom: 15px;
    }

    .channel-item i {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .channel-item h4 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .channel-item span {
        font-size: 14px;
    }

    .footer-links {
        text-align: left;
    }

    .special-service {
        padding: 20px;
        margin-bottom: 15px;
    }

    .special-service h4 {
        font-size: 18px;
    }

    .quick-access {
        margin-top: 20px;
        padding-top: 20px;
    }

    .service-list {
        text-align: center;
        padding: 0;
    }

    .service-list li {
        padding-left: 0;
        margin-bottom: 8px;
    }

    .service-list i {
        position: static;
        display: inline-block;
        margin-right: 5px;
    }

    .value-item,
    .special-service {
        margin-bottom: 15px;
    }

    .contact-info-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .page-header h1 {
        font-size: 34px;
    }

    section {
        padding: 50px 30px;
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) {
    .top-header .row {
        flex-direction: row;
    }

    .top-header .col-md-6 {
        flex: 0 0 50%;
    }

    .top-header .text-right {
        text-align: right !important;
    }

    .navbar-custom {
        padding: 15px 0;
    }

    .navbar-brand {
        font-size: 24px;
    }

    .navbar-brand-logo {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .navbar-nav .nav-link {
        padding: 10px 15px !important;
    }

    .navbar-toggler {
        display: none !important;
    }

    .navbar-collapse {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
        max-width: none !important;
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        max-height: none !important;
        overflow-y: visible !important;
        z-index: auto !important;
        display: flex !important;
    }

    .navbar-nav {
        flex-direction: row !important;
    }

    .navbar-nav .nav-item {
        border-bottom: none !important;
    }

    .navbar-nav .nav-link {
        display: inline-block;
        padding: 10px 18px !important;
        border-bottom: 3px solid transparent;
    }

    .navbar-nav .nav-link:hover {
        background-color: transparent;
        border-left: none;
    }

    .navbar-nav .nav-link.active {
        background-color: transparent;
        border-left: none;
    }


    section {
        padding: 60px 0;
    }

    .contact-form-wrapper,
    .contact-info-wrapper {
        margin-bottom: 20px;
        padding: 20px;
    }

    .feature-card,
    .service-card {
        margin-bottom: 0;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) {
    .hero {
        padding: 100px 0;
        min-height: 550px;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 42px;
    }

    .section-title {
        font-size: 36px;
    }

    .navbar-nav .nav-link {
        margin-left: 0 !important;
        padding: 10px 18px !important;
    }

    section {
        padding: 80px 0;
    }

    .feature-card:hover,
    .service-card:hover,
    .mvv-card:hover,
    .why-card:hover,
    .industry-item:hover,
    .info-item:hover {
        transform: translateY(-10px);
    }
}

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    section {
        padding: 80px 0;
    }

    .hero-buttons {
        gap: 20px;
    }
}

/* Print Styles */
@media print {
    .top-header,
    .navbar-custom,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: none;
    }
}


/* Desktop styles */
@media (min-width: 1025px) {
    body {
        font-size: 18px;
    }
    .header, .footer {
        padding: 30px;
    }
    .services-list {
        flex-direction: row;
    }

    /* Industries Section Mobile */
    .industries-section {
        padding: 60px 0;
    }

    .industries-section .section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .industries-section > .container > p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .industry-item {
        padding: 30px 20px;
        margin-bottom: 15px;
    }

    .industry-item i {
        font-size: 40px;
        width: 70px;
        height: 70px;
    }

    .industry-item span {
        font-size: 15px;
    }
}