/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 42px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .hero-right {
        height: 400px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-left {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-right {
        height: 350px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .dealer-info {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .dealer-info h3 {
        font-size: 28px;
    }
    
    .feature-box, .value-card, .team-card {
        margin-bottom: 30px;
    }
    
    .contact-info-card {
        margin-bottom: 40px;
    }
    
    .footer .col-lg-4, .footer .col-lg-2, .footer .col-lg-3 {
        margin-bottom: 40px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .hero-btns .btn {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .brand-card {
        width: 250px;
        padding: 20px;
    }
    
    .machine-card, .gallery-item {
        margin-bottom: 25px;
    }
    
    .recommended-form {
        padding: 30px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-content {
        padding: 60px 0;
    }
    
    .about-section {
        margin-bottom: 40px;
    }
    
    .filter-buttons, .gallery-buttons {
        justify-content: center;
    }
    
    .contact-form-card, .contact-info-card {
        padding: 30px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .logo {
        font-size: 24px;
    }
    
    .logo i {
        font-size: 28px;
    }
    
    .header-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-right {
        height: 300px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .section-title p {
        font-size: 16px;
    }
    
    .brand-card {
        width: 220px;
        margin: 0 10px;
    }
    
    .blur-left, .blur-right {
        width: 50px;
    }
    
    .map-placeholder {
        padding: 30px 20px;
    }
    
    .map-placeholder i {
        font-size: 60px;
    }
    
    .dealer-info h3 {
        font-size: 24px;
    }
    
    .machine-img, .gallery-img {
        height: 200px;
    }
    
    .machine-info, .gallery-info {
        padding: 20px;
    }
    
    .feature-box, .value-card {
        padding: 25px;
    }
    
    .feature-title, .value-card h4 {
        font-size: 18px;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-logo {
        font-size: 24px;
    }
    
    .footer-heading {
        font-size: 18px;
    }
    
    .social-icons a {
        width: 36px;
        height: 36px;
        margin-right: 8px;
    }
    
    .copyright {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .stat-box h3 {
        font-size: 30px;
    }
    
    .team-img {
        height: 200px;
    }
    
    .filter-btn, .gallery-btn {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .contact-info-item {
        flex-direction: column;
    }
    
    .contact-info-icon {
        margin-bottom: 10px;
    }
}

/* Very small devices */
@media (max-width: 375px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-btns .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .brand-card {
        width: 200px;
        padding: 15px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .feature-box, .value-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .product-img {
        height: 200px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-name {
        font-size: 16px;
    }
    
    .product-desc {
        font-size: 13px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        margin: 0 3px 5px;
        font-size: 14px;
    }
    
    .recommended-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .product-img {
        height: 180px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .modal-product-image {
        height: 200px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .brands-track {
        animation: scrollBrandsMobile 25s linear infinite;
    }
    
    .brand-card {
        flex: 0 0 250px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blur-left, .blur-right {
        width: 50px;
    }
}

/* responsive.css - Mobile Responsive Styles */

/* General Responsive Rules */
@media (max-width: 1399.98px) {
    .container {
        max-width: 95%;
    }
}

/* Tablet and Medium Devices */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    /* Header & Navigation */
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 1rem;
    }
    
    .header-btn {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-right {
        margin-top: 3rem;
        height: 400px;
    }
    
    /* Trusted Brands */
    .brands-container {
        padding: 0 15px;
    }
    
    .blur-left, .blur-right {
        display: none;
    }
    
    /* Quality Machines Section */
    .brand-logo-card {
        padding: 1.5rem;
    }
    
    /* Recommended Products */
    .recommended-section {
        padding: 3rem 0;
    }
    
    .recommended-products {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1rem;
    }
    
    .footer-logo {
        text-align: center;
        display: block;
        margin-bottom: 1rem;
    }
    
    .footer-about {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-heading {
        margin-top: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    /* General */
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Header */
    .logo-img {
        height: 35px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-btns .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-right {
        height: 300px;
    }
    
    /* Trusted Brands */
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .brand-summary {
        padding: 0.8rem;
    }
    
    .manufacturing-section {
        padding: 1rem;
    }
    
    /* Delivery Partners */
    .delivery-partners h3 {
        font-size: 1.2rem;
    }
    
    .partners-track {
        animation-duration: 10s; /* Slower on mobile for better readability */
    }
    
    .partner-logo {
        padding: 0.8rem 1.2rem;
    }
    
    .partner-logo svg {
        width: 30px;
        height: 30px;
        margin-right: 0.5rem;
    }
    
    /* Dealers Section */
    .dealers-section {
        padding: 2rem 0;
    }
    
    .map-background {
        height: 250px;
    }
    
    .overlay-content {
        padding: 1rem;
    }
    
    .overlay-content h3 {
        font-size: 1.1rem;
    }
    
    .dealer-info h3 {
        font-size: 1.3rem;
    }
    
    .dealer-features li {
        font-size: 0.9rem;
    }
    
    /* Quality Machines */
    .brand-logo-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .brand-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .brand-icon i {
        font-size: 1.5rem;
    }
    
    .brand-logo-card h3 {
        font-size: 1.1rem;
    }
    
    .brand-logo-card p {
        font-size: 0.85rem;
    }
    
    /* Recommended Products */
    .form-title {
        font-size: 1.3rem;
    }
    
    .form-control-custom {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Why Choose Us */
    .feature-box {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-desc {
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .contact-info li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .delivery-partners .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .copyright {
        font-size: 0.8rem;
        text-align: center;
    }
    
    /* Popup */
    #thankPopup {
        top: 10px;
        right: 10px;
        left: 10px;
        text-align: center;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    /* Header */
    .navbar-brand {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 30px;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-right {
        height: 250px;
    }
    
    /* Trusted Brands */
    .brand-summary p {
        font-size: 0.85rem;
    }
    
    /* Products Grid */
    .row-cols-md-2 {
        row-gap: 1rem;
    }
    
    /* Form */
    .form-control-custom {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer */
    .contact-info li i {
        min-width: 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    /* Hero */
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-text {
        font-size: 0.8rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Section Titles */
    .section-title h2 {
        font-size: 1.3rem;
    }
    
    /* Quality Machines Cards */
    .brand-logo-card {
        padding: 0.8rem;
    }
    
    /* Feature Boxes */
    .feature-box {
        padding: 1rem;
    }
}

/* Fix for iOS Devices */
@supports (-webkit-touch-callout: none) {
    .hero-right {
        background-attachment: scroll;
    }
    
    .map-background {
        background-attachment: scroll;
    }
}

/* Fix for Android Chrome */
@media screen and (-webkit-min-device-pixel-ratio:0) and (max-width: 767.98px) {
    .form-control-custom:focus {
        font-size: 16px;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-left {
        padding-top: 1rem;
    }
    
    .hero-right {
        height: 250px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-section,
    .why-choose-us,
    .footer,
    .recommended-section,
    .btn,
    .social-icons {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}


