/* ==========================================
   HH FABTECH
   Main Stylesheet
========================================== */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    color:#333;
    background:#ffffff;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;
}

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

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#ffffff;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    z-index:999;
}

.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;
    height:90px;

    padding-right: 100px;
}

.logo img{

    height:75px;
    left: 250px;

    padding-left: 20px;
}

.nav-links{

    display:flex;
    gap:40px;
}

.nav-links a{

    color:#43236F;
    font-weight:600;
    font-size:16px;
    transition:.3s;
}

.nav-links a:hover,
.nav-links .active{

    color:#f4b400;
}

.menu-btn{

    display:none;
    font-size:32px;
    cursor:pointer;
}

/*================ HERO =================*/

.hero{

    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero-slider{

    position:absolute;
    width:100%;
    height:100%;
}

.slide{

    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    animation:fade 20s infinite;
}

.slide:nth-child(1){

    animation-delay:0s;
}

.slide:nth-child(2){

    animation-delay:5s;
}

.slide:nth-child(3){

    animation-delay:10s;
}

.slide:nth-child(4){

    animation-delay:15s;
}

.slide img{

    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-overlay{

    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
}

.hero-content{

    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    color:#fff;
    text-align:center;
    width:90%;
}

.hero-content h3{

    letter-spacing:4px;
    color:#f4b400;
    margin-bottom:10px;
}

.hero-content h1{

    font-size:65px;
    margin-bottom:20px;
    font-weight:800;
}

.hero-content p{

    max-width:700px;
    margin:auto;
    font-size:20px;
    margin-bottom:35px;
}

.btn{

    display:inline-block;
    padding:16px 38px;
    background:#43236F;
    color:#fff;
    border-radius:50px;
    transition:.4s;
    font-weight:600;
}

.btn:hover{

    background:#f4b400;
    color:#222;
}

/*================ WELCOME =================*/

.welcome{

    padding:110px 0;
}

.section-title{

    text-align:center;
    margin-bottom:50px;
}

.section-title span{

    color:#f4b400;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:2px;
}

.section-title h2{

    font-size:42px;
    color:#43236F;
    margin-top:10px;
}

.welcome p{

    text-align:center;
    max-width:900px;
    margin:auto;
    font-size:18px;
    color:#555;
}

/*================ FEATURES =================*/

.features{

    background:#f8f8f8;
    padding:100px 0;
}

.features .container{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.feature-card{

    background:#fff;
    padding:45px 30px;
    text-align:center;
    border-radius:15px;
    transition:.4s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.feature-card:hover{

    transform:translateY(-10px);
}

.icon{

    width:70px;
    height:70px;
    margin:auto;
    border-radius:50%;
    background:#43236F;
    color:#fff;
    font-size:30px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:25px;
}

.feature-card h3{

    color:#43236F;
    margin-bottom:15px;
}

.feature-card p{

    color:#666;
}
/*================ PRODUCTS =================*/

.products{

    padding:110px 0;
    background:#ffffff;
}
.product-grid{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:35px;

}

.product-link{

display:block;
text-decoration:none;
color:inherit;

}

.product-link .card{

height:100%;
cursor:pointer;

}

.card{

background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 12px 30px rgba(0,0,0,.08);
transition:.35s;

}

.card:hover{

transform:translateY(-10px);
box-shadow:0 20px 45px rgba(67,35,111,.20);

}

.card img{

width:100%;
height:260px;
object-fit:cover;
display:block;

}

.card-content{

padding:28px;

}

/*================ CTA =================*/

.cta{

    background:linear-gradient(135deg,#43236F,#5f3298);
    color:#fff;
    padding:90px 0;
    text-align:center;
}

.cta h2{

    font-size:42px;
    margin-bottom:20px;
}

.cta p{

    max-width:750px;
    margin:auto;
    margin-bottom:35px;
    opacity:.95;
    font-size:18px;
}

.cta .btn{

    background:#F4B400;
    color:#222;
}

.cta .btn:hover{

    background:#fff;
}

/*================ CONTACT BAR =================*/

.contact-bar{

    background:#f8f8f8;
    padding:45px 0;
}

.contact-bar .container{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    text-align:center;
}

.contact-item{

    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.contact-item h4{

    color:#43236F;
    margin-bottom:12px;
    font-size:22px;
}

.contact-item p{

    color:#666;
}

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

footer{

    background:#24103d;
    color:#fff;
}

.footer-container{

    width:90%;
    max-width:1200px;
    margin:auto;
    padding:70px 0;
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:60px;
}

.footer-about img{

    height:90px;
    margin-bottom:25px;
}

.footer-about p{

    color:#d7d7d7;
    line-height:1.9;
}

.footer-links h3,
.footer-contact h3{

    margin-bottom:25px;
    color:#F4B400;
}

.footer-links ul li{

    margin-bottom:15px;
}

.footer-links a{

    color:#ddd;
    transition:.3s;
}

.footer-links a:hover{

    color:#F4B400;
    padding-left:8px;
}

.footer-contact p{

    color:#ddd;
    margin-bottom:15px;
}

.copyright{

    border-top:1px solid rgba(255,255,255,.1);
    text-align:center;
    padding:25px;
    color:#bbb;
}

/*================ ANIMATION =================*/

@keyframes fade{

    0%{
        opacity:0;
    }

    5%{
        opacity:1;
    }

    25%{
        opacity:1;
    }

    30%{
        opacity:0;
    }

    100%{
        opacity:0;
    }

}

/*================ SCROLLBAR =================*/

::-webkit-scrollbar{

    width:10px;
}

::-webkit-scrollbar-track{

    background:#ececec;
}

::-webkit-scrollbar-thumb{

    background:#43236F;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{

    background:#5d3498;
}

::selection{

    background:#43236F;
    color:#fff;
}

/*================ CONTACT PAGE ================*/

.contact-section{

padding:100px 0;

}

.contact-grid{

display:grid;

grid-template-columns:1fr 1.2fr;

gap:50px;

}

.contact-info h2{

color:#43236F;

margin-bottom:20px;

}

.contact-info h3{

margin-top:20px;

color:#43236F;

}

.contact-form{

background:#fff;

padding:40px;

border-radius:15px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.contact-form input,

.contact-form textarea{

width:100%;

padding:15px;

margin-bottom:20px;

border:1px solid #ddd;

border-radius:8px;

font-family:Poppins;

font-size:15px;

}

.contact-form textarea{

resize:vertical;

}

.contact-form input[type=file]{

border:none;

padding:0;

}

.contact-form button{

border:none;

cursor:pointer;

}

.map-section{

padding:80px 0;

background:#f8f8f8;

}

.map-section h2{

text-align:center;

color:#43236F;

margin-bottom:20px;

}

.page-banner{

margin-top:90px;

background:linear-gradient(rgba(67,35,111,.8),rgba(67,35,111,.8)),
url("../images/hero/hero2.png");

background-size:cover;

background-position:center;

padding:100px 20px;

color:white;

text-align:center;

}

.page-banner h1{

font-size:48px;

margin-bottom:15px;

}

.page-banner p{

font-size:18px;

}

@media(max-width:768px){

.contact-grid{

grid-template-columns:1fr;

}

.page-banner h1{

font-size:34px;

}

}
.product-link{

    text-decoration:none;
    color:inherit;
    display:block;

}

.product-link .card{

    cursor:pointer;

}

/* ===========================
   Company Selector
=========================== */

.company-selector{

    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin:25px 0 40px;

}

.company-btn{

    background:#ffffff;

    color:#43236F;

    border:2px solid #43236F;

    border-radius:40px;

    padding:14px 34px;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:all .35s ease;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.company-btn:hover{

    background:#43236F;

    color:#ffffff;

    transform:translateY(-6px);

    box-shadow:0 18px 35px rgba(67,35,111,.25);

}

.company-btn.active{

    background:#43236F;

    color:#ffffff;

    box-shadow:0 18px 35px rgba(67,35,111,.35);

}

.location-link{

    display:inline-block;
    padding:12px 18px;
    border-radius:12px;
    background:#fafafa;
    border:1px solid #ececec;
    color:#333;
    text-decoration:none;
    transition:.35s;
    line-height:1.7;

}

.location-link:hover{

    background:#43236F;
    color:#fff;
    border-color:#43236F;
    box-shadow:0 12px 25px rgba(67,35,111,.25);
    transform:translateY(-3px);

}

.footer-location{

    display:inline-block;
  

    border-radius:12px;

   

    color:#ffffff;

    text-decoration:none;

    line-height:1.7;

    transition:all .35s ease;

}

.footer-location:visited{

    color:#ffffff;

}

.footer-location:hover{

    color:#ffffff;

    background:rgba(255,255,255,.15);

    border-color:#ffffff;

    box-shadow:0 12px 25px rgba(255,255,255,.15);

    transform:translateY(-3px);

}

.footer-location:active{

    color:#ffffff;

}
