/* WebSankalp Technologies - style.css */

/* ------------------- */
/* 1. Global Variables & Styles */
/* ------------------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

@font-face {
    font-family: 'Britannic';
    src: url('../assets/fonts/Britannic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Apply Open Sans font to everything */
* {
    font-family: 'Open Sans', sans-serif !important;
}

:root {
    --primary-color: #0a1f44; /* Navy Blue */
    --secondary-color: #f0f2f5; /* Light Gray */
    --accent-color: #f57c00; /* Accent Orange */
    --text-color: #333333;
    --light-text-color: #ffffff;
    --border-color: #dddddd;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --font-family: 'Open Sans', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-text-color);
}

.footer-about h4 {
    font-family: 'Britannic', 'Open Sans', sans-serif !important;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.red-letter {
    color: #ff3b30 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--secondary-color);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: #666;
}

.text-center {
    text-align: center;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------- */
/* 2. Reusable Components (Buttons) */
/* ------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: #e67000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

/* ------------------- */
/* 3. Header & Navigation */
/* ------------------- */
.main-header {
    background-color: #fff;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin: 0.2rem 0;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-item small {
    color: #666;
    font-size: 0.75rem;
}

.contact-icon {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
}

.logo-img {
    height: 50px; /* Adjust to match the text logo size */
    width: auto;
    vertical-align: middle;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ------------------- */
/* 4. Hero & Page Header */
/* ------------------- */
.hero, .page-header {
    color: var(--light-text-color);
    text-align: center;
    background-image: linear-gradient(rgba(10, 31, 68, 0.92), rgba(10, 31, 68, 0.92)), url('https://images.unsplash.com/photo-1550745165-9bc0b252726a?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero {
    padding: 120px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-style: italic;
    opacity: 0.9;
}

.page-header {
    padding: 60px 0;
}

.page-header h1 {
    font-size: 3rem;
}

/* ------------------- */
/* 5. Homepage Product Cards */
/* ------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-img {
    width: 100%;
    height: 200px; /* Fixed height for better compatibility */
    aspect-ratio: 1 / 1; /* Perfect square ratio like 2048x2048 */
    object-fit: contain; /* Show complete product without cropping */
    object-position: center;
    border-radius: 8px 8px 0 0;
    display: block;
    background: #f8f9fa; /* Light background for better product visibility */
    padding: 10px; /* Small padding around the product */
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-content p {
    flex-grow: 1;
    margin-bottom: 1rem;
    color: #666;
}

.card-link {
    font-weight: 600;
    align-self: flex-start;
}

/* ------------------- */
/* 6. Product Explorer Page */
/* ------------------- */
.product-explorer-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Sidebar Filters */
.sidebar-filters {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    align-self: start;
}

.sidebar-filters h3 {
    color: var(--primary-color);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    margin-bottom: 0.75rem;
}

.filter-group input[type="search"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

.filter-options div {
    margin-bottom: 0.5rem;
}

.filter-options label {
    margin-left: 0.5rem;
    cursor: pointer;
}

/* Product Display Area */
.product-display-header {
    margin-bottom: 1rem;
    color: #666;
}

.product-display-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card-detailed {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.product-card-detailed:hover {
    box-shadow: var(--shadow);
}

.product-card-detailed img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #f8f8f8;
}

.product-card-content {
    padding: 1rem;
}

.product-card-subtype {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.25rem;
}

.product-card-model {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #777;
}

/* ------------------- */
/* 7. Other Page Sections */
/* ------------------- */
.vision-mission-grid, .vision-mission-grid-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.industries-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    list-style: none;
    margin-top: 2rem;
}

.industries-list li {
    background-color: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item { 
    margin-bottom: 1.5rem; 
}

.info-item h4 { 
    color: var(--primary-color); 
    margin-bottom: 0.25rem; 
}

.contact-form .form-group { 
    margin-bottom: 1rem; 
}

.contact-form label { 
    display: block; 
    margin-bottom: 0.35rem; 
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
}

/* Contact Form Message Styles */
.contact-message {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
}

.contact-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.map-section iframe { 
    display: block; 
}

/* ------------------- */
/* 8. Footer */
/* ------------------- */
.main-footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.main-footer h4 {
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

.footer-about h4 {
    font-family: 'Britannic', sans-serif !important;
    font-weight: 700 !important;
}

.red-letter {
    color: red !important;
    font-weight: 700;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-info h5 {
    color: var(--light-text-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.profile-info span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
}

.footer-links ul { 
    list-style: none; 
}

.footer-links li { 
    margin-bottom: 0.5rem; 
}

.footer-links a { 
    color: rgba(255,255,255,0.8); 
}

.footer-links a:hover { 
    color: var(--light-text-color); 
}

.footer-contact p { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    margin-bottom: 0.5rem; 
}

.footer-bottom { 
    text-align: center; 
    padding-top: 2rem; 
    font-size: 0.9rem; 
}

/* ------------------- */
/* 9. Scroll-to-Top Button */
/* ------------------- */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    background-color: var(--accent-color);
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: opacity 0.3s, visibility 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #e67000;
}

/* ------------------- */
/* 10. Product Detail Page Styles */
/* ------------------- */
.product-detail-section {
    background-color: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
}

.product-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.product-detail-image {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.detail-img {
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

.product-detail-info {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.product-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.product-brand {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-model {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.product-series {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.product-category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.product-detail-features,
.product-detail-specifications {
    margin-bottom: 2rem;
}

.product-detail-features h3,
.product-detail-specifications h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    background: var(--secondary-color);
    margin-bottom: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    font-weight: 500;
    transition: transform 0.2s ease;
}

.features-list li:hover {
    transform: translateX(5px);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.spec-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--secondary-color);
}

.product-actions .btn {
    flex: 1;
    text-align: center;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Back button styling */
#back-to-contact {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#back-to-contact:hover {
    background: #0a2857;
    transform: translateY(-2px);
}

/* ------------------- */
/* 11. Go Official Popup Modal Styles */
/* ------------------- */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.popup-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: var(--primary-color);
    color: white;
    border-radius: 12px 12px 0 0;
}

.popup-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-form {
    padding: 1.5rem;
}

.popup-form .form-group {
    margin-bottom: 1rem;
}

.popup-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.popup-form input:focus,
.popup-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.popup-form button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

/* ------------------- */
/* 12. Responsive Design */
/* ------------------- */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }
    
    .product-explorer-container {
        grid-template-columns: 250px 1fr;
        gap: 1.5rem;
    }
    
    .product-detail-content {
        gap: 2rem;
    }
    
    .product-model {
        font-size: 2rem;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .page-header h1 {
        font-size: 2.4rem;
    }
    
    /* Header & Navigation */
    .main-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .main-nav ul {
        gap: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
        order: 3;
    }
    
    /* Product Explorer */
    .product-explorer-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar-filters {
        margin-bottom: 2rem;
        padding: 1rem;
    }
    
    .product-display-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    /* Product Cards */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .card-img {
        height: 180px;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        object-position: center;
        background: #f8f9fa;
        padding: 8px;
    }
    
    /* Product Detail */
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .detail-img {
        max-width: 100%;
        max-height: 300px;
    }
    
    .product-detail-info {
        padding: 2rem;
    }
    
    .product-model {
        font-size: 1.8rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    /* Other Layouts */
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-about {
        grid-column: 1 / -1;
        margin-bottom: 1rem;
    }
    
    /* Popup Modal */
    .popup-content {
        max-width: 90vw;
        margin: 1rem;
    }
    
    .popup-header,
    .popup-form {
        padding: 1.25rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Mobile Header */
    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        position: relative;
    }
    
    .logo {
        order: 1;
        font-size: 1.4rem;
    }
    
    .menu-toggle {
        order: 3;
        margin-left: auto;
    }
    
    .header-contact {
        order: 2;
        gap: 1rem;
        margin-right: 1rem;
    }
    
    .contact-item {
        font-size: 0.75rem;
    }
    
    .contact-item a {
        font-size: 0.8rem;
    }
    
    .contact-item small {
        font-size: 0.65rem;
    }
    
    .contact-icon {
        font-size: 1rem;
    }
    
    /* Mobile Navigation */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 250px;
        background-color: var(--primary-color);
        border-radius: 0 0 0 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 1rem 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        color: var(--light-text-color);
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        display: block;
        transition: background-color 0.3s ease;
        border-bottom: none;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background-color: rgba(245, 124, 0, 0.2);
        color: var(--light-text-color);
        border-bottom: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span {
        background-color: var(--primary-color);
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Product Cards */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .card-img {
        height: 150px;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        object-position: center;
        background: #f8f9fa;
        padding: 6px;
    }
    
    /* Product Explorer */
    .product-display-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sidebar-filters {
        padding: 1rem;
    }
    
    /* Product Detail */
    .product-detail-container {
        padding: 0 0.5rem;
    }
    
    .product-detail-info {
        padding: 1.5rem;
    }
    
    .product-model {
        font-size: 1.5rem;
    }
    
    .product-actions .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Popup Modal */
    .popup-content {
        max-width: 95vw;
        margin: 0.5rem;
    }
    
    .popup-header,
    .popup-form {
        padding: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .main-footer {
        padding: 40px 0 15px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-links {
        text-align: center;
    }
    .footer-links ul {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }
    
    .profile-img {
        width: 80px;
        height: 80px;
        border-width: 2px;
    }
    
    .profile-info h5 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .profile-info span {
        font-size: 0.95rem;
    }
    
    /* Forms */
    .contact-form input,
    .contact-form textarea,
    .popup-form input,
    .popup-form textarea {
        padding: 8px;
        font-size: 0.9rem;
    }
    
    .contact-form .form-group {
        margin-bottom: 0.8rem;
    }
    
    .contact-form label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .hero h1,
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .header-contact {
        display: none; /* Hide contact info on very small screens */
    }
    
    .card-content {
        padding: 0.8rem;
    }
    
    .product-model {
        font-size: 1.3rem;
    }
    
    .product-detail-info {
        padding: 1rem;
    }
    
    .product-detail-header {
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    
    .features-list li {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .spec-item {
        padding: 0.8rem;
    }
    
    .popup-content {
        max-width: 100vw;
        margin: 0;
        border-radius: 0;
    }
    
    .popup-header,
    .popup-form {
        padding: 0.8rem;
    }
    
    .btn,
    .product-actions .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        font-size: 0.7rem;
    }
    
    .main-nav a {
        font-size: 1.1rem;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }
    
    .product-display-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}