/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    background: black;
    /* smooth blue blend */
    color: #ffffff;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #1e3a8a;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    /* spacing between each item */
    flex-wrap: wrap;
    /* allows wrap on smaller screens */
    font-weight: 500;
}

.topbar-left a {
    color: #ffffff;
    /* white or any color you prefer */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.topbar-left a:hover {
    color: #fbbf24;
    /* yellow on hover */
}

.topbar-left i {
    margin-right: 5px;
}


.topbar-right a {
    color: #fbbf24;
    margin-left: 15px;
    transition: color 0.3s ease;
    font-size: 16px;
}

.topbar-right a:hover {
    color: #ffffff;
}

/* Navigation */
.nav-modern {
    position: relative;
    top: 32px;
    /* 👈 Push it below the topbar */
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.nav-modern .container {
    padding-right: 30px;
    /* Reduced from default 20px */
    padding-left: 0px;
    /* Optional: reduce left too if needed */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 130px;
    gap: 40px;
    /* Add this if things feel too tight */
}

.logo img {
    height: 100px;
    width: 500px;
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #00bffe;
    cursor: pointer;
    margin-right: auto;
    margin-left: -190px;
}


.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #00bffe;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00bffe;
}

.contact-info {
    display: flex;
    gap: 20px;
    padding-left: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.contact-item i {
    color: #00bffe;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Page System */
.page {
    display: none;
    padding-top: 32px;
}

.page.active {
    display: block;
}

/* Buttons */
.btn-primary {
    background: white;
    color: #0B5CFF;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    border: 2px solid #00bffe;
    color: #00bffe;
    background: transparent;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline:hover {
    background: #00bffe;
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    font-style: italic;
}

.hero.with-bg {
    position: relative;
    background: url('/images/inhouse/bg1.png') no-repeat center center/cover;
    padding: 160px 0;
    color: #ffffff;
    text-align: center;
}

.hero.with-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* optional dark overlay for readability */
    z-index: 1;
}

.hero.with-bg .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    /* Text clarity */
}

.typing-text {
    font-size: 2.5rem;
    font-style: italic;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

.highlight {
    color: #fbbf24;
}

.hero-content p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: #e6faff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #00bffe;
    margin-bottom: 10px;
}

.stat-label {
    color: #64748b;
    font-weight: 500;
}

/* Enhanced Stats Section */
.upgraded-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.fancy-card {
    background: linear-gradient(145deg, #f0f4ff, #ffffff);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    text-align: center;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid #e2e8f0;
}

.fancy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.3), 0 20px 40px rgba(0, 0, 0, 0.1);
}


.stat-icon {
    font-size: 2.5rem;
    color: #00bffe;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e293b;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 3rem;
    color: #00bffe;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
}

/* CTA Section */
.cta {
    background: #0B5CFF;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    color: #bfdbfe;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
    background: #0B5CFF;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-content {
    padding: 20px 0;
}

.page-hero p {
    font-size: 1.25rem;
    color: #bfdbfe;
}

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-grid {
    width: 100%;
    display: block;
}


.about-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #1e293b;
}

.about-text p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-stat {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.values {
    padding: 80px 0;
    background: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-card i {
    font-size: 2rem;
    color: #00bffe;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.why-choose-us {
    padding: 80px 0;
    background: #ffffff;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.choose-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.choose-card i {
    font-size: 2rem;
    color: #00bffe;
    margin-bottom: 20px;
}

.choose-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.choose-card p {
    font-size: 1rem;
    color: #475569;
}



/* Products Page */
.product-filters {
    padding: 40px 0;
    background: #f8fafc;
}

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 25px;
    background: white;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #00bffe;
    color: white;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 10px 40px 10px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    width: 300px;
    font-size: 14px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

.products-grid-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 140px;
    /* reduced from 200px */
    object-fit: contain;
    /* show full image without cropping */
    padding: 10px;
    /* optional: adds spacing inside the image box */
    background: #f9fafb;
    /* optional: helps the image stand out */
}

.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00bffe;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.product-description {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-code {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 20px;
}

.product-buttons {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
    flex: 1;
}

/* Contact Page */
.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 2rem;
    color: #00bffe;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.contact-card p {
    color: #64748b;
}

.map-section {
    padding: 60px 0;
    background: #f8fafc;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.quick-contact {
    padding: 100px 0;
    text-align: center;
}

.quick-contact h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1e293b;
}

.quick-contact p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #1e293b;
}

.contact-section-title p {
    color: #64748b;
    font-size: 1.1rem;
}

.contact-info-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.contact-info-row .contact-card {
    flex: 1 1 22%;
    min-width: 220px;
}

/* Why Contact Us Section */
.why-contact {
    background-color: #f1f5f9;
    padding: 80px 0;
}

.why-contact .why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-contact h3 {
    color: #1e293b;
    margin-bottom: 10px;
}

.why-contact p {
    color: #475569;
    font-size: 1rem;
}

/* FAQs */
.faqs {
    background-color: #fff;
    padding: 80px 0;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h4 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.faq-item p {
    color: #64748b;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Main CSS — global, not media-specific */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}


.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #64748b;
}

.close:hover {
    color: #1e293b;
}

.get-quote a {
    background-color: #25D366;
    /* WhatsApp green */
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.get-quote a:hover {
    background-color: #1DA851;
    transform: scale(1.05);
}

.get-quote a i {
    font-size: 18px;
}

.site-footer {
    background: #0B5CFF;
    color: #ffffff;
    padding: 60px 20px 30px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.footer-column {
    flex: 1 1 220px;
}

.site-footer h3,
.site-footer h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
    color: #ffffff;
    line-height: 1.8;
    text-decoration: none;
    display: block;
}

.footer-column a:hover {
    color: #fbbf24;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column i {
    margin-right: 8px;
    color: #fbbf24;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color: #ffffff;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #fbbf24;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
    margin-top: 30px;
    color: #e0e7ff;
}

.footer-bottom a {
    color: #e0e7ff;
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.video-box iframe {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.left-header {
    text-align: left;
}

.video-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.video-grid-2 iframe {
    width: 100%;
    height: 240px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Inhouse Products */
.inhouse-products {
    padding: 80px 30px;
    background: linear-gradient(to bottom, #f0f9ff, #ffffff);
    scroll-margin-top: 100px;
}

.inhouse-product-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inhouse-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.inhouse-product-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.inhouse-product-image {
    width: 450px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f5f9;
    border: 2px solid #cbd5e1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inhouse-product-image:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.inhouse-product-code, .inhouse-product-category {
    font-size: 0.95rem;
    margin-top: 8px;
    color: #475569;
    font-weight: 500;
}

.inhouse-product-info {
    flex: 1;
}

.inhouse-product-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.inhouse-product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-top: 20px;
    margin-bottom: 8px;
}

.inhouse-product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
}

/* TABLE for specs */
.inhouse-specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin-top: 10px;
}

.inhouse-specs td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.house-product-info {
    padding: 20px;
    word-wrap: break-word;
    /* Add this to handle long text */
    overflow-wrap: break-word;
    /* Add this for better text wrapping */
}

.house-product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #00bffe;
    word-wrap: break-word;
    /* Add this */
}

.house-product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.house-product-description {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.5;
    word-wrap: break-word;
    /* Add this */
}

.product-code {
    font-weight: 800;
    color: #475569;
    word-wrap: break-word;
    /* Add this */
}

.product-category {
    display: inline-block;
    margin: 8px 0;
    background: #00bffe;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.features ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.features li {
    margin-bottom: 6px;
    color: #475569;
}

.specs table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
    /* Add this to prevent table overflow */
}

.specs td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
    color: #475569;
    word-wrap: break-word;
    /* Add this */
}

.accordion-button {
    background-color: #f1f5f9;
    color: #00bffe;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: #e0ecff;
    color: #1d4ed8;
}

.accordion-body {
    border: 2px solid #00bffe;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 15px;
    background: #fff;
}

.accordion-item {
    border: none;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #1da851;
}




/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-zoom-in {
    animation: zoomIn 0.8s ease forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
}

.animate-delay {
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
}

/* Delay Classes */
.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Optional: Add stagger delay on scroll */
@media (min-width: 769px) {
    .hero-content>* {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeIn 0.8s ease forwards;
    }

    .hero-content>*:nth-child(1) {
        animation-delay: 0.2s;
    }

    .hero-content>*:nth-child(2) {
        animation-delay: 0.4s;
    }

    .hero-content>*:nth-child(3) {
        animation-delay: 0.6s;
    }

    .hero-content>*:nth-child(4) {
        animation-delay: 0.8s;
    }
}

body.menu-open {
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {

    .page {
        padding-top: 0 !important;
    }

    /* Topbar - simplified for mobile */
    .topbar {
        padding: 8px 0;
        position: relative;
    }

    .topbar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 0 15px;
    }

    .topbar-left {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    .topbar-right {
        order: -1;
    }

    .topbar-right a {
        margin: 0 8px;
        font-size: 14px;
    }


    /* Navigation - FIXED */
    .nav-modern {
        position: relative;
        top: 0px;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 10000;
    }

    .nav-content {
        height: 70px;
        padding: 0 15px;
    }

    .logo {
        margin-left: 0;
        flex-shrink: 0;
    }

    .logo img {
        height: 50px;
        width: 200px;
    }

    .mobile-menu-btn {
        display: block !important;
        position: relative;
        z-index: 1003;
        background: #fff;
        border-radius: 8px;
        padding: 8px;
        margin-left: auto;
        cursor: pointer;
    }

    .mobile-menu-btn:hover {
        background: rgba(37, 99, 235, 0.2);
    }

    /* Mobile menu - COMPLETELY FIXED */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 40px 0 10px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 12px 20px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(229, 231, 235, 0.3);
        font-size: 18px;
        font-weight: 600;
        display: block;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hero {
        position: relative;
        margin-top: 0 !important;
        z-index: 1;
        padding: 60px 15px 40px;
        text-align: center;
    }

    /* Disable translateY animations to prevent overlap */
    .hero-content>* {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .hero-content h2.typing-text {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-buttons,
    .filter-controls,
    .contact-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons a {
        width: 90%;
        margin-bottom: 10px;
        text-align: center;
    }

    .search-box input {
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .modal-content {
        margin: 15% 5%;
        width: 90%;
        padding: 15px;
        max-height: 80vh;
        font-size: 15px;
    }

    .modal-content .close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 24px;
        cursor: pointer;
        color: #333;
    }

    .modal-product-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-product-layout img {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
    }

    .modal-product-layout h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .modal-product-layout h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .modal-product-layout p,
    .modal-product-layout li,
    .modal-product-layout span {
        font-size: 14px;
    }


    .get-quote {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .get-quote a {
        width: 90%;
        justify-content: center;
    }

    /* Stats section - FIXED */
    .stats {
        padding: 40px 0;
    }

    .upgraded-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }

    .fancy-card {
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    /* Features section - FIXED */
    .features {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* CTA section - FIXED */
    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .cta p {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .btn-whatsapp {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 15px 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-column {
        width: 100%;
    }

    .video-box iframe,
    .video-grid-2 iframe {
        height: 280px;
    }

      .inhouse-products {
        padding: 40px 15px;
    }

    .inhouse-product-card {
        padding: 20px;
        border-radius: 12px;
    }

    .inhouse-product-header {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .inhouse-product-image {
        width: 100%;
        margin: 0 auto;
        border-radius: 10px;
    }

    .inhouse-product-title {
        font-size: 1.3rem;
    }

    .inhouse-product-name {
        font-size: 1rem;
    }

    .inhouse-product-description {
        font-size: 0.95rem;
    }


    .house-product-info {
        padding: 0 !important;
        /* Remove all padding on mobile */
        width: 100%;
        box-sizing: border-box;
    }

    .house-product-title {
        font-size: 1.2rem;
        /* Smaller font size */
        line-height: 1.3;
        /* Better line height */
        margin-bottom: 15px;
    }

    .house-product-name {
        font-size: 1rem;
        /* Smaller font size */
        margin-bottom: 8px;
    }

    .house-product-description {
        font-size: 14px;
        /* Smaller font size */
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .product-code {
        font-size: 14px;
        /* Smaller font size */
        display: block;
        margin-bottom: 10px;
    }

    .product-category {
        font-size: 12px;
        /* Smaller font size */
        padding: 3px 10px;
    }

    .btn-whatsapp {
        width: 100%;
        justify-content: center;
        text-align: center;
        margin-top: 20px;
        font-size: 14px;
        /* Smaller font size */
    }

    .accordion-button {
        font-size: 14px;
        /* Smaller font size */
        padding: 12px 15px;
    }

    .accordion-body {
        padding: 12px;
    }

    .specs table {
        font-size: 13px;
        /* Smaller font size for specs */
    }

    .specs td {
        padding: 8px 5px;
        /* Reduce padding */
    }
}


@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .features-grid,
    .values-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .inhouse-product-card {
        padding: 15px 10px;
        /* Even less padding */
    }

    .house-product-title {
        font-size: 1.1rem;
    }

    .house-product-description,
    .house-product-name {
        font-size: 13px;
    }
}