/* ===================================
   Prygo Logistics - Responsive Styles
   =================================== */

/* ===================================
   Extra Large Screens (1200px and above)
   =================================== */

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

/* ===================================
   Large Screens (992px to 1199px)
   =================================== */

@media (max-width: 1199px) {
    .hero-section .container-fluid,
    .why-choose-us,
    .how-it-works,
    .testimonials,
    footer,
    .contact-info,
    .portfolio-grid,
    .about-hero,
    .company-history,
    .faq-section,
    .breadcrumb-section {
        padding: 50px 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 2.5rem;
    }
}

/* ===================================
   Medium Screens (768px to 991px)
   =================================== */

@media (max-width: 991px) {
    .hero-section .container-fluid,
    .why-choose-us,
    .how-it-works,
    .testimonials,
    footer,
    .contact-info,
    .portfolio-grid,
    .about-hero,
    .company-history,
    .faq-section,
    .breadcrumb-section {
        padding: 40px 20px;
    }

    .navbar-phone {
        display: none;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .hero-section {
        min-height: auto;
    }

    .row.align-items-center > .col-lg-6 {
        margin-bottom: 2rem;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .d-flex.gap-2 {
        flex-direction: column;
    }

    .d-flex.gap-2 .form-control,
    .d-flex.gap-2 .btn {
        width: 100%;
    }

    .cta-newsletter {
        padding: 40px 20px;
    }

    .cta-newsletter .form-control,
    .cta-newsletter .btn {
        margin-bottom: 0.5rem;
    }
}

/* ===================================
   Small Screens (576px to 767px)
   =================================== */

@media (max-width: 767px) {
    .hero-section .container-fluid,
    .why-choose-us,
    .how-it-works,
    .testimonials,
    footer,
    .contact-info,
    .portfolio-grid,
    .about-hero,
    .company-history,
    .faq-section,
    .breadcrumb-section {
        padding: 30px 15px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .nav-link {
        padding: 0.75rem 0 !important;
        font-size: 0.9rem;
    }

    .section-badge,
    .hero-badge {
        margin-bottom: 1rem;
    }

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

    .display-4 {
        font-size: 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Hero Section Mobile */
    .hero-section {
        min-height: auto;
        padding: 30px 0;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-section img {
        max-height: 300px;
        margin-bottom: 2rem;
    }

    .hero-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    /* Why Choose Us Mobile */
    .feature-card {
        margin-bottom: 1rem;
    }

    /* How It Works Mobile */
    .step-circle {
        width: 100px !important;
        height: 100px !important;
    }

    .step-circle i {
        font-size: 2rem;
    }

    /* Testimonials Mobile */
    .carousel-controls {
        width: 100%;
        margin-bottom: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem !important;
    }

    /* CTA Newsletter Mobile */
    .cta-newsletter {
        padding: 30px 15px;
    }

    .cta-newsletter h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .cta-newsletter .form-control,
    .cta-newsletter .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Footer Mobile */
    footer {
        padding: 40px 15px 20px;
    }

    footer .col-lg-3,
    footer .col-md-6 {
        margin-bottom: 2rem;
    }

    footer h5 {
        margin-bottom: 1rem;
    }

    /* Forms Mobile */
    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 1rem;
    }

    textarea.form-control {
        min-height: 120px;
    }

    /* Service Cards Mobile */
    .service-card {
        margin-bottom: 1rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    /* Portfolio Grid Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 30px 15px;
    }

    .portfolio-item img {
        height: 250px;
    }

    /* Contact Mobile */
    .contact-info {
        padding: 30px 15px;
    }

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

    .contact-item-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 1rem;
    }

    .contact-item-content h6 {
        font-size: 1rem;
    }

    /* Map Container */
    .map-container {
        height: 300px;
        margin-bottom: 2rem;
    }

    /* About Page Mobile */
    .about-hero {
        padding: 50px 15px;
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .company-history {
        padding: 30px 15px;
    }

    .history-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .history-image img {
        max-height: 300px;
        object-fit: cover;
    }

    /* FAQ Mobile */
    .faq-section {
        padding: 30px 15px;
    }

    .faq-question {
        font-size: 0.95rem;
    }

    /* Breadcrumb Mobile */
    .breadcrumb-section {
        padding: 1rem 15px;
    }

    .breadcrumb {
        font-size: 0.875rem;
    }

    /* Buttons Mobile */
    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 20px;
    }

    .carousel-controls .btn {
        width: 40px;
        height: 40px;
    }

    /* Dropdown Mobile Fix */
    .dropdown-menu {
        border-radius: 4px;
    }
}

/* ===================================
   Extra Small Screens (below 576px)
   =================================== */

@media (max-width: 575px) {
    .hero-section .container-fluid,
    .why-choose-us,
    .how-it-works,
    .testimonials,
    footer,
    .contact-info,
    .portfolio-grid,
    .about-hero,
    .company-history,
    .faq-section,
    .breadcrumb-section {
        padding: 20px 10px;
    }

    body {
        font-size: 0.9rem;
    }

    .section-title,
    .display-5,
    .display-4,
    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    /* Hero Mobile */
    .hero-section img {
        max-height: 250px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section .lead {
        font-size: 0.9rem;
    }

    .hero-section .btn {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    /* Features Mobile */
    .feature-card p {
        font-size: 0.85rem;
    }

    /* How It Works Mobile */
    .step-circle {
        width: 90px !important;
        height: 90px !important;
    }

    .step-circle i {
        font-size: 1.8rem;
    }

    /* Testimonials Mobile */
    .testimonial-card {
        padding: 1rem !important;
    }

    .testimonial-card img {
        width: 50px;
        height: 50px;
    }

    .testimonial-card h6 {
        font-size: 0.95rem;
    }

    .testimonial-card small {
        font-size: 0.8rem;
    }

    .testimonial-card p {
        font-size: 0.85rem;
    }

    /* CTA Mobile */
    .cta-newsletter h2 {
        font-size: 1.3rem;
    }

    /* Footer Mobile */
    footer h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    footer p,
    footer a {
        font-size: 0.85rem;
    }

    .social-links a {
        font-size: 1rem;
    }

    /* Contact Mobile */
    .contact-item-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .contact-item-content h6 {
        font-size: 0.95rem;
    }

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

    /* Map Mobile */
    .map-container {
        height: 250px;
    }

    /* Forms Mobile */
    .form-control,
    .form-select {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    textarea.form-control {
        min-height: 100px;
    }

    /* Buttons */
    .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* Service Cards */
    .service-icon {
        font-size: 2rem;
    }

    /* Badge */
    .badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Navbar */
    .navbar-brand {
        font-size: 1.3rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }
}

/* ===================================
   Ultra Small Screens (below 360px)
   =================================== */

@media (max-width: 359px) {
    .hero-section .container-fluid,
    .why-choose-us,
    .how-it-works,
    .testimonials,
    footer,
    .contact-info {
        padding: 15px 8px;
    }

    .section-title,
    h1,
    h2,
    h3 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .hero-section img {
        max-height: 200px;
    }
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    .navbar,
    footer,
    .cta-newsletter,
    .carousel-controls {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: black;
        text-decoration: none;
    }

    .btn {
        border: 1px solid black;
        color: black;
        background: white;
    }
}
