/* ========================================= */
/* FULLY RESPONSIVE CSS FOR ALL DEVICES */
/* REPLACE YOUR ENTIRE style.css WITH THIS */
/* ========================================= */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size */
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Container Width Control */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top Bar */
.top-bar {
    background-color: #475569;
    color: white;
    padding: 8px 0;
    width: 100%;
}

.top-bar-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.btn-quote-top {
    background-color: #0056b3;
    color: white;
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    font-size: 14px;
    white-space: nowrap;
}

.btn-quote-top:hover {
    background-color: #004494;
}

/* Navigation */
nav {
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
    width: 100%;
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #0056b3;
    white-space: nowrap;
}

.logo-image{
    width: 220px;
    height: 50px;
    border: 1px solid black;
    border-radius: 3px;
}
.logo-image img{
    width: auto;
    height: 45px;
    object-fit: cover;
    object-position: 15% 100%;
}

.logo-image:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
}

.nav-links a {
    color: #475569;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover {
    color: #0056b3;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #475569;
    padding: 4px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    width: 100%;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(28px, 5vw, 48px); /* Responsive font size */
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-text p {
    font-size: clamp(16px, 2vw, 18px);
    color: #475569;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 14px;
}

.badge-icon {
    background-color: #0056b3;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.btn-primary {
    background-color: #0056b3;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-secondary {
    background-color: white;
    color: #0056b3;
    padding: 12px 24px;
    border: 2px solid #0056b3;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: #0056b3;
    color: white;
}

.hero-image {
    background-color: #e2e8f0;
    border-radius: 8px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    
}

.hero-image img{
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: 15% 100%;
}

.hero-image:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.placeholder-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    padding: 20px;
    text-align: center;
}

/* Trust Section */
.trust-section {
    background-color: white;
    padding: 40px 16px;
    width: 100%;
}

.trust-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}

.trust-item .number {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 8px;
}

.trust-item .label {
    color: #475569;
    font-size: 14px;
}

/* Products Section */
.products-section {
    background-color: #f8fafc;
    padding: 48px 16px;
    width: 100%;
}

.products-content {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 40px;
    text-align: center;
}

.category {
    margin-bottom: 48px;
}

.category-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: bold;
    color: #475569;
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 4px solid #0056b3;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Product Image Slider */
.product-image-slider {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #f1f5f9;
    width: 100%;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.slider-image.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
}

.slider-btn span {
    font-size: 20px;
    line-height: 1;
}

.slider-btn:hover {
    background-color: rgba(0, 86, 179, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 8px;
}

.slider-btn.next {
    right: 8px;
}

.product-image-slider:hover .slider-btn {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.slider-dots .dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dots .dot.active {
    background-color: #0056b3;
    width: 24px;
    border-radius: 4px;
}

.view-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(0, 86, 179, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
}

/* Single Product Image */
.product-image {
    background-color: #f1f5f9;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.product-placeholder {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    padding: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 16px;
}

.product-info p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    line-height: 1.5;
    flex: 1;
}

.product-specs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.spec-tag {
    background-color: #eff6ff;
    color: #0056b3;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.btn-quote {
    width: 100%;
    background-color: #0056b3;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
}

.btn-quote:hover {
    background-color: #004494;
}

/* Customization Banner */
.customization-banner {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: white;
    padding: 40px 24px;
    border-radius: 8px;
    text-align: center;
    margin-top: 32px;
}

.customization-banner h3 {
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 16px;
}

.customization-banner p {
    font-size: 15px;
    margin-bottom: 8px;
    opacity: 0.95;
}

.custom-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.custom-options .option {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.custom-options .option strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Size Guide */
.size-guide-section {
    background-color: white;
    padding: 48px 16px;
    width: 100%;
}

.size-guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.size-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.size-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin-top: 28px;
}

.size-table thead {
    background-color: #0056b3;
    color: white;
}

.size-table th,
.size-table td {
    padding: 14px 16px;
    text-align: left;
    border: 1px solid #e2e8f0;
    font-size: 14px;
}

.size-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.size-table tbody tr:hover {
    background-color: #eff6ff;
}

/* Why Section */
.why-section {
    background-color: #f8fafc;
    padding: 48px 16px;
    width: 100%;
}

.why-content {
    max-width: 1280px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.why-item {
    border-left: 4px solid #0056b3;
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    transition: all 0.3s;
}

.why-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.why-item h3 {
    font-size: 18px;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 12px;
}

.why-item p {
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
}

/* About Section */
.about-section {
    background-color: white;
    padding: 48px 16px;
    width: 100%;
}

.about-content {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    text-align: left;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: white;
    padding: 48px 16px;
    width: 100%;
}

.cta-content {
    max-width: 896px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: bold;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 28px;
}

.btn-cta {
    background-color: white;
    color: #0056b3;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cta:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #1e293b;
    color: white;
    padding: 40px 16px;
    width: 100%;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 28px;
}

.footer-section h3 {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 14px;
    color: #0056b3;
}

.footer-section p,
.footer-section ul {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #0056b3;
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 28px;
    text-align: center;
    color: #94a3b8;
    font-size: 13px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 28px;
    border-radius: 8px;
    width: 90%;
    max-width: 550px;
    position: relative;
}

.close {
    color: #94a3b8;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #1e293b;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 24px;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.success-message {
    background-color: #d1fae5;
    color: #065f46;
    padding: 16px;
    border-radius: 4px;
    margin-top: 16px;
    text-align: center;
    font-weight: 500;
}

/* ========================================= */
/* RESPONSIVE BREAKPOINTS */
/* ========================================= */

/* Tablets and Small Laptops (768px - 1024px) */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .hero-content {
        gap: 32px;
        padding: 40px 16px;
    }
    
    .nav-links {
        gap: 20px;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #e2e8f0;
        gap: 12px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .logo {
        font-size: 18px;
    }
    
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        padding: 32px 16px;
    }
    
    .hero-image {
        height: 280px;
        order: -1; /* Image on top on mobile */
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons button {
        width: 100%;
    }
    
    /* Trust Section */
    .trust-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    /* Products */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-image-slider,
    .product-image {
        height: 180px;
    }
    
    .slider-btn {
        opacity: 1; /* Always visible on mobile */
        width: 28px;
        height: 28px;
    }
    
    .slider-btn span {
        font-size: 18px;
    }
    
    /* Why Section */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 24px;
    }
    
    /* Custom Options */
    .custom-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Mobile Phones (480px and below) */
@media (max-width: 480px) {
    /* Top Bar */
    .contact-info {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .contact-item {
        font-size: 12px;
    }
    
    .btn-quote-top {
        width: 100%;
        text-align: center;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Hero */
    .hero-text h1 {
        font-size: 24px;
    }
    
    .hero-text p {
        font-size: 15px;
    }
    
    .hero-image {
        height: 240px;
    }
    
    /* Trust Section */
    .trust-content {
        grid-template-columns: 1fr;
    }
    
    .trust-item .number {
        font-size: 36px;
    }
    
    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 20px;
        padding-left: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    /* Modal */
    .modal-content {
        margin: 5% auto;
        padding: 20px;
    }
    
    .modal-content h2 {
        font-size: 20px;
    }
    
    /* Size Table */
    .size-table {
        font-size: 12px;
    }
    
    .size-table th,
    .size-table td {
        padding: 10px 8px;
    }
}

/* Very Small Screens (360px and below) */
@media (max-width: 360px) {
    html {
        font-size: 14px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .product-card {
        border-radius: 6px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-quote {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-content {
        padding: 64px 16px;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .mobile-menu-btn,
    .slider-btn,
    .slider-dots,
    .btn-quote,
    .btn-primary,
    .btn-secondary,
    .btn-cta,
    footer {
        display: none;
    }
    
    .product-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

