/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    color: #2c3e50;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-quote,
.btn-submit {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d35400, #c0392b);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #e67e22;
    border: 2px solid #e67e22;
}

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

.btn-quote {
    background: #e67e22;
    color: white;
    padding: 8px 20px;
    font-size: 14px;
}

.btn-submit {
    background: #e67e22;
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* Header */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.nav-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

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

.nav-demo {
    background: #ff9500;
    color: #fff;
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
}

.nav-demo:hover {
    background: #ff8c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.5);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 1rem;
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 .highlight {
    color: #ff9500;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #ff9500;
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.4);
}



/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.breadcrumb {
    color: #e67e22;
    font-weight: 500;
    margin-bottom: 20px;
}

.about-content {
    margin: 40px 0;
}

.about-section {
    margin: 40px 0;
}

.about-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-section h4 {
    color: #34495e;
    margin: 30px 0 15px 0;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: #e67e22;
    font-weight: 500;
    display: block;
    margin-bottom: 10px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

/* .product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */
.product-image {
    height: 250px;
    /* fixed card image height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* ⭐ PERFECT FOR PRODUCTS */
}

.product-content {
    padding: 30px;
    position: relative;
}

.product-number {
    position: absolute;
    top: -20px;
    right: 30px;
    background: #e67e22;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.product-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.product-link {
    color: #e67e22;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 15px;
}

.product-link:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: white;
}

/* change for regulator */


/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 90px;
    align-items: center;
    margin-top: 0px;
}

.why-image img {
    width: 100%;
    border-radius: 10px;
}

/* Statistics Section */
.statistics {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.8));
    color: white;
    padding: 80px 0;
}

.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: 700;
    color: #e67e22;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #ecf0f1;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

.services .section-header {
    color: white;
}

.services .section-subtitle {
    color: #e67e22;
}

.services h2 {
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    color: #e67e22;
    margin-bottom: 15px;
}

.service-card p {
    color: #ecf0f1;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    background: white;
}

.contact-info-section h3 {
    color: white;
    margin-bottom: 10px;
}

.contact-info-section h4 {
    color: #f39c12;
    margin-bottom: 20px;
}

.contact-info-section p {
    color: #ebebeb;
    margin: 0;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    color: #f39c12;
    display: block;
    margin-bottom: 5px;
}

.contact-item p {
    color: #ecf0f1;
    margin: 0;
}

.form-message {
    margin-top: 20px;
}

.success-message {
    background: #27ae60;
    color: white;
    padding: 15px;
    border-radius: 5px;
}

.error-message {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 5px;
}

/* Brands Section */
.brands {
    padding: 80px 0;
    background: #f8f9fa;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.brand-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.brand-item img {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.blog-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.blog-link {
    color: #e67e22;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 15px;
}

/* Footer */
.footer {
    background: #6fb0f2;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #020100;
    margin-bottom: 20px;
}

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

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

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e67e22;
}

.contact-info p {
    margin-bottom: 10px;
    color: #ecf0f1;
}

.footer-bottom {
    border-top: 1px solid #0562f9;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        margin-top: 140px;
        height: 70vh;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .why-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.service-card,
.blog-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #e67e22;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* =========================
   MOBILE HERO VIDEO STYLES
   ========================= */

/* MOBILE HERO VIDEO - HALF SCREEN */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        /* HALF SCREEN */
    }

    .hero-video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .hero-content {
        padding: 15px;
    }

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

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
}


/* =========================
   MOBILE OPTIMIZATION FIX
   ========================= */

/* GLOBAL MOBILE FIX */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 15px;
    }
}

/* NAVBAR MOBILE */
@media (max-width: 768px) {
    nav {
        padding: 0.8rem 1rem;
    }

    .nav-logo img {
        height: 40px;
    }

    .nav-links {
        display: none;
        /* hide desktop menu */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px 0;
        gap: 15px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-demo {
        width: 90%;
        margin: 10px auto;
    }
}

/* HERO SECTION MOBILE */
@media (max-width: 768px) {
    .hero {
        height: 75vh;
        padding: 20px;
    }

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

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
}

/* PRODUCTS MOBILE */
@media (max-width: 768px) {
    .products {
        padding: 50px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 200px;
    }

    .product-content {
        padding: 20px;
    }
}

/* WHY CHOOSE MOBILE */
@media (max-width: 768px) {
    .why-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* STATISTICS MOBILE */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* SERVICES MOBILE */
@media (max-width: 768px) {
    .services {
        padding: 50px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }
}

/* CONTACT MOBILE */
@media (max-width: 768px) {
    .contact {
        padding: 50px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* BRANDS MOBILE */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .brand-item img {
        max-width: 120px;
    }
}

/* BLOG MOBILE */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-image {
        height: 200px;
    }
}

/* FOOTER MOBILE */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* SCROLL BUTTON MOBILE */
@media (max-width: 768px) {
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
}

/* MOBILE HAMBURGER ICON */
.mobile-menu-toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* show only on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
}