/* ================================================
   SecureCheck Pro - Responsive Styles
   ================================================ */

/* -------------------- Extra Large Devices (1400px and up) -------------------- */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .service-card {
        padding: 3rem;
    }
}

/* -------------------- Large Devices (1200px - 1399px) -------------------- */
@media (max-width: 1399px) and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* -------------------- Medium Devices (992px - 1199px) -------------------- */
@media (max-width: 1199px) and (min-width: 992px) {
    .navbar-nav .nav-link {
        margin: 0 0.5rem;
        font-size: 0.95rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .price-tag .price {
        font-size: 1.75rem;
    }
}

/* -------------------- Tablets (768px - 991px) -------------------- */
@media (max-width: 991px) {
    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-nav {
        background: rgba(0, 86, 179, 0.98);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem 1rem;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .btn-primary-nav {
        margin: 1rem 0 !important;
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* Services Section */
    .service-card {
        margin-bottom: 2rem;
    }
    
    /* Certificate Section */
    .certificate-preview {
        margin-bottom: 3rem;
    }
    
    .certificate-benefits {
        grid-template-columns: 1fr;
    }
    
    /* Process Section */
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* Contact Section */
    .contact-info {
        margin-bottom: 3rem;
    }
    
    /* Footer */
    .footer-section .col-lg-2,
    .footer-section .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* -------------------- Small Tablets (576px - 767px) -------------------- */
@media (max-width: 767px) and (min-width: 576px) {
    /* Global */
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header .lead {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    /* Scanner Section */
    .scanner-card .card-header h2 {
        font-size: 1.5rem;
    }
    
    .input-group-lg .form-control,
    .input-group-lg .btn {
        font-size: 1rem;
    }
    
    /* Services Section */
    .service-card {
        padding: 1.5rem;
    }
    
    .price-tag .price {
        font-size: 1.5rem;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* -------------------- Mobile Devices (up to 575px) -------------------- */
@media (max-width: 575px) {
    /* Global */
    body {
        font-size: 14px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header .lead {
        font-size: 0.95rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-content {
        padding-top: 80px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-content .lead {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.5rem;
    }
    
    /* Scanner Section */
    .scanner-card {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .scanner-card .card-header {
        padding: 1.5rem;
    }
    
    .scanner-card .card-header h2 {
        font-size: 1.25rem;
    }
    
    .scanner-card .card-body {
        padding: 1.5rem;
    }
    
    .input-group-lg {
        flex-direction: column;
    }
    
    .input-group-lg .form-control {
        border-radius: 50px;
        margin-bottom: 1rem;
        padding-left: 3.5rem;
    }
    
    .input-group-lg .btn {
        border-radius: 50px;
        width: 100%;
    }
    
    /* Services Section */
    .services-section {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .card-icon i {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-list {
        font-size: 0.9rem;
    }
    
    .price-tag .price {
        font-size: 1.5rem;
    }
    
    .premium-badge {
        font-size: 0.7rem;
        padding: 3px 30px;
    }
    
    /* Certificate Section */
    .certificate-section {
        padding: 60px 0;
    }
    
    .certificate-preview i {
        font-size: 6rem;
    }
    
    .certificate-badge {
        width: 50px;
        height: 50px;
    }
    
    .benefit-item {
        margin-bottom: 2rem;
    }
    
    .benefit-item i {
        font-size: 1.5rem;
    }
    
    .benefit-item h4 {
        font-size: 1.1rem;
    }
    
    /* Process Section */
    .process-section {
        padding: 60px 0;
    }
    
    .process-step {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .process-step i {
        font-size: 2rem;
    }
    
    .process-step h4 {
        font-size: 1.1rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-content .lead {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .cta-form .form-control,
    .cta-form .btn {
        font-size: 0.95rem;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-info .info-item {
        margin-bottom: 1.5rem;
    }
    
    .contact-info .info-item i {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Footer */
    .footer-section {
        padding: 40px 0 20px;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h5 {
        font-size: 1.1rem;
    }
    
    .footer-links {
        margin-bottom: 2rem;
    }
    
    .social-links {
        margin-bottom: 2rem;
    }
    
    /* Scroll to Top Button */
    #scrollToTop {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
    
    /* Modals */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 10px;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
    
    .modal-footer .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* -------------------- Extra Small Devices (up to 375px) -------------------- */
@media (max-width: 375px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    /* Services Section */
    .service-card {
        padding: 1rem;
    }
    
    .card-icon i {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-list {
        font-size: 0.85rem;
    }
    
    .price-tag .price {
        font-size: 1.25rem;
    }
}

/* -------------------- Landscape Mode Adjustments -------------------- */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 60px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        display: flex;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: auto;
        flex: 1;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* -------------------- Print Styles -------------------- */
@media print {
    /* Hide non-essential elements */
    .navbar,
    .hero-section,
    .scanner-section,
    .cta-section,
    #scrollToTop,
    .social-links,
    .modal {
        display: none !important;
    }
    
    /* Adjust layout for print */
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    .section-header h2 {
        font-size: 18pt;
        margin-bottom: 10pt;
    }
    
    .service-card,
    .contact-form {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .btn {
        display: none;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}