
/* =========================================
   BRAND COLORS
========================================= */

:root{
    --brand-dark: #242424;
    --brand-red: #bf1b2c;
    --brand-light: #ffffff;

    --text: #666666;
    --light-bg: #f7f7f7;
}

*{box-sizing:border-box}
body{font-family:Arial,Helvetica,sans-serif;color:var(--text);line-height:1.7;background:#fff}
a{text-decoration:none}
.topbar{background:var(--dark);color:#dfe6f3;font-size:14px;padding:8px 0}.topbar a{color:#fff}
.main-navbar{background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.08)}
.logo-mark{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,var(--primary),var(--accent));display:inline-flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:20px}
.navbar-brand strong{display:block;color:var(--primary);line-height:1}.navbar-brand small{display:block;font-size:12px;color:var(--text)}
.nav-link{font-weight:600;color:var(--primary)!important;margin:0 5px}.nav-link.active,.nav-link:hover{color:var(--accent)!important}
.btn-brand{background:var(--accent);color:#111;border:0;border-radius:30px;padding:11px 24px;font-weight:700;box-shadow:0 10px 24px rgba(244,165,28,.35)}.btn-brand:hover{background:#d98d0d;color:#fff}
.hero-slider .carousel-item{height:78vh;min-height:560px;position:relative}.hero-slider .carousel-item:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,16,32,.88),rgba(11,16,32,.45),rgba(11,16,32,.2));z-index:1}.hero-slider img{height:100%;object-fit:cover}.carousel-caption-custom{position:absolute;z-index:2;top:50%;left:8%;transform:translateY(-50%);max-width:680px;color:#fff}.carousel-caption-custom h1,.carousel-caption-custom h2{font-size:clamp(38px,5vw,72px);font-weight:900;line-height:1.05}.eyebrow,.section-kicker{display:inline-block;color:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:1.5px;margin-bottom:12px}
.section-padding{padding:90px 0}.section-title{color:var(--primary);font-weight:900;margin-bottom:20px}.section-title.centered:after,.section-title:after{content:"";display:block;width:70px;height:4px;background:var(--accent);border-radius:5px;margin-top:15px}.section-title.centered:after{margin:15px auto 0}.bg-light-custom{background:var(--light)}
.image-card{border-radius:30px;overflow:hidden;box-shadow:0 25px 50px rgba(0,0,0,.15);position:relative}.image-card img{width:100%;height:430px;object-fit:cover}.feature-box{background:#fff;border-radius:18px;padding:22px;box-shadow:0 10px 28px rgba(0,0,0,.08);color:var(--primary)}.feature-box i{color:var(--accent);font-size:28px;margin-right:12px}
.product-card{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 12px 35px rgba(0,0,0,.08);transition:.35s}.product-card:hover{transform:translateY(-8px);box-shadow:0 20px 50px rgba(0,0,0,.14)}.product-card img{width:100%;height:230px;object-fit:cover}.product-card h4,.product-card h5{color:var(--primary);font-weight:800}.product-card p{font-size:15px}
.cta-section{padding:80px 0;background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff}.cta-section h2{font-weight:900}.page-banner{padding:90px 0;background:linear-gradient(135deg,rgba(22,33,62,.94),rgba(15,52,96,.9)),url('../img/products/pinion-gear-box.jpeg') center/cover;color:#fff}.page-banner h1{font-size:52px;font-weight:900}.contact-card,.form-card{background:#fff;border-radius:24px;box-shadow:0 15px 40px rgba(0,0,0,.09);padding:35px}.contact-card h3{color:var(--primary);font-weight:900}.contact-card i{color:var(--accent)}.form-control{border-radius:14px;padding:14px 16px;border:1px solid #dfe4ee}.form-control:focus{box-shadow:none;border-color:var(--accent)}
.footer{background:var(--dark);color:#cfd7e6}.footer h4,.footer h5{color:#fff;font-weight:800}.footer-links{list-style:none;padding:0;margin:0}.footer-links li,.footer-links a{color:#cfd7e6;margin-bottom:8px}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);font-size:14px}.whatsapp-float{position:fixed;right:22px;bottom:22px;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:0 12px 30px rgba(0,0,0,.25);z-index:99}
@media(max-width:991px){.hero-slider .carousel-item{height:70vh;min-height:520px}.carousel-caption-custom{left:5%;right:5%}.section-padding{padding:65px 0}}


/* =========================================
   TOP HEADER BAR
========================================= */

.top-header{
    background:var(--brand-dark);
    color:#fff;
    font-size:14px;
    padding:8px 0;
}

.top-header .container{
    max-width:1320px;
}

.top-header i{
    color:var(--brand-red);
    margin-right:6px;
}

.top-header a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
}

.top-header a:hover{
    color:var(--brand-red);
}

.top-header .d-flex{
    gap:15px;
}

@media(max-width:767px){
    .top-header{
        text-align:center;
        font-size:13px;
    }

    .top-header .d-flex{
        justify-content:center !important;
    }
}


/* =========================================
   NAVBAR
========================================= */

.main-navbar{
    background:#fff;
    padding:14px 0;
    transition:0.3s ease;
    z-index:999;
}

.main-navbar.shadow-sm{
    box-shadow:0 8px 30px rgba(0,0,0,0.08);
}

.site-logo{
    height:70px;
    width:auto;
    object-fit:contain;
}

.logo-text{
    display:flex;
    flex-direction:column;
    margin-left:14px;
    line-height:1.1;
}

.logo-text strong{
    font-size:38px;
    font-weight:800;
    color:var(--brand-dark);
}

.logo-text small{
    color:#666;
    font-size:13px;
    margin-top:4px;
}

/* =========================================
   NAV LINKS
========================================= */

.navbar-nav .nav-link{
    color:var(--brand-dark) !important;
    font-weight:700;
    margin-left:22px;
    transition:0.3s ease;
    white-space:nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active{
    color:var(--brand-red) !important;
}

/* =========================================
   BUTTONS
========================================= */

.btn-brand,
.btn-primary-custom{
    background:var(--brand-red);
    color:#fff;
    border:none;
    border-radius:12px;
    padding:14px 24px;
    font-weight:700;
    transition:0.3s ease;
    white-space:nowrap;
}

.btn-brand:hover,
.btn-primary-custom:hover{
    background:#991625;
    color:#fff;
    transform:translateY(-2px);
}



/* =========================================
   HOME HERO SLIDER
========================================= */

.hero-slider{
    position:relative;
    overflow:hidden;
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item{
    height:calc(100vh - 92px);
    min-height:680px;
}

.hero-slider .carousel-item{
    position:relative;
}

.hero-slider .carousel-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

.hero-slider .carousel-item::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,0.86) 0%,
        rgba(0,0,0,0.62) 42%,
        rgba(0,0,0,0.22) 100%
    );
    z-index:1;
}

.carousel-caption-custom{
    position:absolute;
    z-index:2;
    left:7.5%;
    top:50%;
    transform:translateY(-50%);
    max-width:780px;
    color:#fff;
}

.eyebrow{
    display:inline-block;
    color:#ffb703;
    font-size:18px;
    font-weight:900;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:18px;
}

.carousel-caption-custom h1,
.carousel-caption-custom h2{
    color:#fff;
    font-size:clamp(48px, 5.5vw, 86px);
    font-weight:900;
    line-height:1.05;
    margin-bottom:22px;
    text-shadow:0 8px 25px rgba(0,0,0,0.35);
}

.carousel-caption-custom p{
    color:rgba(255,255,255,0.92);
    font-size:19px;
    line-height:1.7;
    max-width:720px;
    margin-bottom:28px;
}

.hero-btns{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

/* Slider Arrows */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:64px;
    height:64px;
    opacity:1;
    z-index:5;
}

.hero-slider .carousel-control-prev{
    left:24px;
}

.hero-slider .carousel-control-next{
    right:24px;
}

.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon{
    width:54px;
    height:54px;
    border-radius:50%;
    background-size:22px;
    background-color:rgba(255,255,255,0.14);
    backdrop-filter:blur(6px);
    transition:0.3s ease;
}

.hero-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-slider .carousel-control-next:hover .carousel-control-next-icon{
    background-color:var(--brand-red);
}

/* Mobile Responsive */
@media(max-width:991px){
    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item{
        height:72vh;
        min-height:560px;
    }

    .carousel-caption-custom{
        left:6%;
        right:6%;
        max-width:90%;
    }

    .carousel-caption-custom h1,
    .carousel-caption-custom h2{
        font-size:clamp(38px, 9vw, 58px);
    }

    .carousel-caption-custom p{
        font-size:16px;
    }
}

@media(max-width:575px){
    .hero-slider .carousel,
    .hero-slider .carousel-inner,
    .hero-slider .carousel-item{
        height:75vh;
        min-height:520px;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next{
        display:none;
    }
}




/* =========================================
   ABOUT PREVIEW SECTION
========================================= */

.about-preview{
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
    position:relative;
}

.about-preview .section-kicker{
    color:var(--brand-red);
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1.5px;
    margin-bottom:12px;
}

.about-preview .section-title{
    color:var(--brand-dark);
    font-size:clamp(34px, 4vw, 54px);
    font-weight:900;
    line-height:1.15;
    margin-bottom:22px;
}

.about-preview p{
    font-size:17px;
    color:#555;
    line-height:1.8;
}

.about-stats{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
    margin-top:30px;
}

.stat-box{
    background:var(--brand-dark);
    color:#fff;
    border-radius:20px;
    padding:24px 18px;
    text-align:center;
    position:relative;
    overflow:hidden;
    transition:0.35s ease;
}

/* .stat-box::after{
    content:"";
    position:absolute;
    width:80px;
    height:80px;
    right:-25px;
    bottom:-25px;
    background:var(--brand-red);
    border-radius:50%;
    opacity:0.85;
} */

.stat-box:hover{
    transform:translateY(-8px);
}

.stat-icon{
    width:54px;
    height:54px;
    margin:0 auto 14px;
    border-radius:50%;
    background:var(--brand-red);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.stat-box h4{
    font-size:18px;
    font-weight:800;
    margin-bottom:4px;
}

.stat-box p{
    color:#ddd;
    font-size:14px;
    margin:0;
}

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

.about-image-box{
    background:#fff;
    padding:30px;
    border-radius:28px;
    box-shadow:0 25px 60px rgba(0,0,0,0.12);
    position:relative;
}

.about-image-box::before{
    content:"";
    position:absolute;
    right:-18px;
    bottom:-18px;
    width:140px;
    height:140px;
    background:var(--brand-red);
    border-radius:24px;
    z-index:-1;
}

.about-image-box img{
    width:100%;
    height:480px;
    object-fit:contain;
}

.founder-image-box{
    text-align:center;
}

.founder-image-box img{
    height:520px;
    object-fit:cover;
    object-position:center;
    border-radius:18px;
}

.founder-facebook-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:18px;
    color:var(--brand-red);
    font-weight:800;
    transition:0.3s ease;
}

.founder-facebook-link i{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#1877f2;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.founder-facebook-link:hover{
    color:#991625;
    transform:translateY(-2px);
}

.stat-box h4{
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
}

.counter{
    font-size:30px;
    line-height:1;
}

@media(max-width:575px){
    .founder-image-box img{
        height:390px;
    }
}






/* =========================================
   PRODUCTS SECTION
========================================= */

.section-desc{
    max-width:720px;
    color:#666;
    font-size:17px;
}

.product-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    height:100%;
    transition:0.35s ease;
    box-shadow:0 12px 35px rgba(0,0,0,0.08);
    position:relative;
}

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

.product-image{
    overflow:hidden;
    height:260px;
}

.product-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s ease;
}

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

.product-content{
    padding:28px;
}

.product-content h4{
    color:var(--brand-dark);
    font-size:30px;
    font-weight:800;
    margin-bottom:14px;
}

.product-content p{
    color:#666;
    font-size:16px;
    line-height:1.8;
    margin-bottom:22px;
}

.product-link{
    color:var(--brand-red);
    font-weight:700;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:0.3s ease;
}

.product-link:hover{
    color:#991625;
    gap:12px;
}

/* =========================================
   WORKSHOP GALLERY
========================================= */

.workshop-section{
    background:#f7f7f7;
}

.workshop-banner{
    background:linear-gradient(135deg,rgba(22,33,62,.94),rgba(15,52,96,.9)),url('../img/workshop/01.jpeg') center/cover;
}

.workshop-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:24px;
}

.workshop-card{
    display:block;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(0,0,0,0.08);
    transition:0.35s ease;
    aspect-ratio:4 / 3;
}

.workshop-card:hover{
    transform:translateY(-8px);
    box-shadow:0 25px 60px rgba(0,0,0,0.14);
}

.workshop-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s ease;
}

.workshop-card:hover img{
    transform:scale(1.06);
}

.image-lightbox{
    position:fixed;
    inset:0;
    z-index:2000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:72px 90px;
    background:rgba(0,0,0,0.9);
    opacity:0;
    visibility:hidden;
    transition:0.25s ease;
}

.image-lightbox.is-open{
    opacity:1;
    visibility:visible;
}

.lightbox-content{
    max-width:100%;
    max-height:100%;
    margin:0;
    text-align:center;
}

.lightbox-content img{
    display:block;
    max-width:100%;
    max-height:calc(100vh - 150px);
    width:auto;
    height:auto;
    margin:auto;
    border-radius:8px;
    box-shadow:0 24px 70px rgba(0,0,0,0.45);
}

.lightbox-content figcaption{
    color:#fff;
    font-size:15px;
    font-weight:700;
    margin-top:14px;
}

.lightbox-close,
.lightbox-arrow{
    position:absolute;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,0.16);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.25s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover{
    background:var(--brand-red);
}

.lightbox-close{
    top:22px;
    right:24px;
    width:48px;
    height:48px;
    font-size:24px;
}

.lightbox-arrow{
    top:50%;
    width:56px;
    height:56px;
    font-size:24px;
    transform:translateY(-50%);
}

.lightbox-prev{
    left:24px;
}

.lightbox-next{
    right:24px;
}

body.lightbox-open{
    overflow:hidden;
}

@media(max-width:991px){
    .workshop-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:20px;
    }

    .image-lightbox{
        padding:72px 68px;
    }
}

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

    .image-lightbox{
        padding:70px 16px 28px;
    }

    .lightbox-arrow{
        top:auto;
        bottom:18px;
        width:48px;
        height:48px;
        transform:none;
    }

    .lightbox-prev{
        left:calc(50% - 58px);
    }

    .lightbox-next{
        right:calc(50% - 58px);
    }

    .lightbox-content img{
        max-height:calc(100vh - 190px);
    }
}

@media(max-width:991px){

    .product-image{
        height:240px;
    }

}

@media(max-width:575px){

    .product-content{
        padding:22px;
    }

    .product-content h4{
        font-size:26px;
    }

}




/* =========================================
   FOOTER
========================================= */

.footer{
    background: var(--brand-dark);
    color:#ddd;
}

.footer h4,
.footer h5{
    color:#fff;
}

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

.footer-links a{
    color:#ccc;
    text-decoration:none;
    transition:0.3s ease;
}

.footer-links a:hover{
    color: var(--brand-red);
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.08);
}

/* =========================================
   WHATSAPP
========================================= */

.whatsapp-float{
    position:fixed;
    right:20px;
    bottom:20px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    z-index:999;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}


/* =========================================
   MOBILE NAVBAR FIX
========================================= */

@media(max-width:991px){

    .main-navbar{
        padding:10px 0;
    }

    .navbar-brand{
        max-width:78%;
        overflow:hidden;
    }

    .site-logo{
        height:52px;
    }

    .logo-text{
        margin-left:10px;
    }

    .logo-text strong{
        font-size:18px;
        line-height:1.1;
        display:block;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .logo-text small{
        font-size:10px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
    }

    .navbar-toggler{
        border:1px solid rgba(0,0,0,0.15);
        padding:8px 10px;
        box-shadow:none !important;
    }

    .navbar-collapse{
        margin-top:18px;
        background:#fff;
        border-radius:18px;
        padding:20px;
        box-shadow:0 20px 45px rgba(0,0,0,0.08);
    }

    .navbar-nav .nav-link{
        margin-left:0;
        padding:12px 0;
    }

    .navbar .btn-brand{
        width:100%;
        margin-top:14px;
    }
}

@media(max-width:575px){

    .site-logo{
        height:46px;
    }

    .logo-text strong{
        font-size:16px;
    }

    .logo-text small{
        display:none;
    }
}

/* =========================================
   CONTACT MAP
========================================= */

.contact-section{
    background:#f7f7f7;
    padding:72px 0 84px;
}

.contact-section .contact-card,
.contact-section .form-card,
.map-card{
    background:#fff;
    border:1px solid rgba(36,36,36,0.06);
    border-radius:20px;
    box-shadow:0 18px 45px rgba(0,0,0,0.07);
}

.contact-section .contact-card,
.contact-section .form-card{
    padding:34px;
}

.contact-section h2{
    color:var(--brand-dark);
    font-size:clamp(28px, 3vw, 36px);
    font-weight:900;
    line-height:1.15;
    margin-bottom:26px;
}

.contact-list{
    display:grid;
    gap:18px;
    margin-bottom:10px;
}

.contact-item{
    display:flex;
    align-items:center;
    gap:14px;
    color:#3f4652;
    font-size:16px;
}

.contact-item i{
    flex:0 0 42px;
    width:42px;
    height:42px;
    border-radius:12px;
    background:rgba(191,27,44,0.08);
    color:var(--brand-red);
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0;
}

.contact-item a{
    color:#1f54b8;
    font-weight:600;
}

.contact-item a:hover{
    color:var(--brand-red);
}

.contact-section .form-control{
    min-height:54px;
    border-radius:12px;
    border-color:#d8dee9;
    color:#253041;
}

.contact-section textarea.form-control{
    min-height:150px;
    resize:vertical;
}

.contact-section .btn-brand{
    min-width:178px;
    box-shadow:0 16px 28px rgba(191,27,44,0.18);
}

.map-card{
    overflow:hidden;
}

.map-card-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:28px 32px 22px;
}

.map-card-header h2{
    color:var(--brand-dark);
    font-size:clamp(26px, 3vw, 34px);
    font-weight:900;
    line-height:1.15;
    margin:0;
}

.map-link{
    color:var(--brand-red);
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-weight:800;
    white-space:nowrap;
}

.map-link:hover{
    color:#991625;
}

.map-frame{
    width:100%;
    height:430px;
    background:#eef2f5;
}

.map-frame iframe{
    display:block;
    width:100%;
    height:100%;
    border:0;
}

@media(max-width:991px){
    .contact-section{
        padding:58px 0 68px;
    }

    .contact-section .contact-card,
    .contact-section .form-card{
        padding:28px;
    }
}

@media(max-width:575px){
    .contact-section{
        padding:46px 0 56px;
    }

    .contact-section .contact-card,
    .contact-section .form-card{
        border-radius:16px;
        padding:24px 20px;
    }

    .contact-item{
        align-items:flex-start;
        font-size:15px;
    }

    .map-card-header{
        align-items:flex-start;
        flex-direction:column;
        padding:24px 20px 18px;
    }

    .map-frame{
        height:340px;
    }
}
