*,
*::before,
*::after {
  box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

body {
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: #eee;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* --------------- TOPBAR --------------------- */
.top-bar {
    background: #000000;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items:center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.125rem;
}

.top-bar span {
    color: white;
}

.top-bar i {
    font-weight: 600;
}

/* --------------- HEADER AND NAV MENU --------------------- */
header {
    padding: 10px;
    background: white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.logo {
    margin-left: 10px;
    width: 300px;
}

navbar a {
    padding: 10px;
    color: #626262;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.055rem;
    border-radius:10px 20px 20px 10px;
    transition: background-color 1s;
}

navbar a:hover {
    background: #c1112d;
    color: white;
}

.drop-link {
    position: relative;
    display: inline;
}

.drop-menu {
    position: absolute;
    left: 0;
    top: 53px;
    width: 220px;
    display: none;
    z-index: 10;
    padding: 10px;
    background: white;
    box-shadow: 1px 1px 5px #747474;
}

.drop-menu a {
    display: block;
}

/* 🔥 hover bridge */
.drop-menu::before {
    content: "";
    position: absolute;
    top: -53px;             /* same as gap */
    left: 0;
    width: 100%;
    height: 53px;
    background: transparent;
}

.drop-link:hover .drop-menu,
.drop-menu:hover {
    display: block;
}


/* --------------- HERO --------------------- */
.hero {
    position: relative;
  background: url('https://images.unsplash.com/photo-1670689334896-8fa8291daa27?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    margin-left: 20px;
    max-width: 600px;
    z-index: 100;
}
.hero-content p {
    margin-bottom: 40px;
}
.btn {
    border: 2px solid white;
    border-radius: px;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
}

.btn:hover {
    background: #c1112d;
    border: 2px solid #c1112d;
}

/* --------------- ISO CARD --------------------- */
.iso {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
    background: #c1112d;
}

.iso span {
    font-size: 16px;
    color: white;;
}

.iso span i {
    font-size: 24px;
}
 
/* --------------- FEATURE PRODUCTS --------------------- */
.feature-products-container {
    padding: 40px;
    background:#eeeeee;
}
.feature-products-container h2{
    margin-bottom: 20px;
}
.feature-products-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
}

.product-card {
    width: 300px;
    border: 1px solid #d7d6d6;
    color: #565454;
    background-color:white;
    box-shadow: 1px -10px 19px 0px #bebebe;
    margin-bottom: 30px;
}

.product-card:hover {
    box-shadow: 2px -14px 19px 0px #9b9b9b;
}


.product-card img {
    width: 100%;
    height: 298px;
}
.product-card h5 {
    font-weight: 700;
    color: black;
    padding: 10px;
    border-top: 1px solid #d7d6d6;
    border-bottom: 1px solid #d7d6d6; 
}
.product-card h6 {
    padding-left: 10px;
    padding-top: 10px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}
.product-card ul {
    margin-top: 0;
    display: none;
}


.product-card li {
    font-size: 12px;
    line-height: 26px;
}

.product-card div {
     border-top: 1px solid #d7d6d6;
    display: flex;
    justify-content: space-between;
    padding: 10px 5px;
    
}

.product-card button {
    padding: 10px;
}
.product-card .btn-details {
    background: #3f3f41;
    border: none;
    color: white;
    font-weight: 500;
    visibility: hidden;
    
}

.product-card .btn-buy {
    background: #2fba3e;
    border: none;
    color: white;
    font-weight: 600;
    
}
.product-card .btn-buy:hover {
    background: #237d2d;
    cursor: pointer;
}
.product-container{
   /* display: flex;
    justify-content: space-evenly;*/
    background: url('../products/product background.jpg');
    padding:70px;
}
.product-image div{
    border: 10px solid transparent;
    display: flex;
    justify-content: space-evenly;
     padding: 10px 0px 50px 10px;
    
    }
    .product-container h2{
        color:white;
        
    }
    .products-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

/* --------------- FEATURED SERVICES --------------------- */
.featured-services {
     background: url('../img/services.jpg');
    padding:70px;
}

.featured-services h2 {
    margin-bottom: 30px;
    color: #ffffff;
   font-size: 40px;
    background-color:#00000054;
}

.featured-services div {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 20px;
}

.featured-services span {
    background: #eeeeeebd;
    max-width: 15%;
    padding: 40px 30px;
    text-align: center;
    font-size: 20px;
    color: #1b0202;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-services span a {
    color: #1b0202;
    text-decoration: none;
}

.featured-services span a:hover {
    text-decoration: underline;
    color:#500707;
}


/* --------------- KEY CUSTOMERS OR KEY PARTNERS --------------------- */
.partners-container {
    background: #eee;
    padding: 30px;
}
.partners-title {
    text-align: center;
    font-size: 25px;
    font-weight: 500;
    color: #5f5f5f;
    letter-spacing: 0.1em;
}
.partners-container p {
    text-align: center;
    color: #5f5f5f;
    letter-spacing: 0.1em;
}
.partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.partner-card {
    font-size: 35px;
    color: grey;
    padding: 15px;
    background: #f2f2f2;
}
.partner-card img {
    width: 164px;
    height: 116px;
}


.partners-reel {
    overflow: hidden;
    max-width: 1100px;   /* fits ~5 logos naturally */
    margin: auto;
}

.partners {
    display: flex;
    gap: 20px;
    animation: partnerSlide 18s infinite ease-in-out;
}

@keyframes partnerSlide {
    0%, 15%   { transform: translateX(0); }
    20%, 35%  { transform: translateX(-200px); }
    40%, 55%  { transform: translateX(-400px); }
    60%, 75%  { transform: translateX(-600px); }
    80%, 100% { transform: translateX(0); }
}


/* --------------- FOOT NAV --------------------- */
.foot {
    display: flex;
    justify-content: space-evenly;
    background: #1b1a1a;
    padding: 30px;
    font-size: 10px;
}

.foot-col > * {
    display: block;
    color: white;
    padding: 5px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition:color 0.7s;
}

.h3-bottom-line {
    width: 50px;
    height: 0;
    padding: 0;
    border: 1px solid #c1112d;    
    border-radius: 2px;
    margin-left: 5px;
}

.foot a:hover {
    color: #c1112d;
}



/* --------------- FOOTER --------------------- */
footer {
     padding: 10px;
     font-size: 14px;
    letter-spacing: 0.05em;
    background: black;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

/* --------------- PRODUCTS PAGE --------------------- */
.d-none {
    display: none !important;
}

.sub-menu {
    display: flex;
    justify-content: center;
    color: #8a8787;
    gap: 5px;
    margin-top: 10px;
}

.sub-menu span {
    padding: 10px 20px;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-radius: 10px 10px 0 0 ;
}

.sub-menu span.active {
    background: #eee;
    color: #c1112d;
}

.sub-menu span:hover {
    background: #faf6f6;
    cursor: pointer;
}
.p-0 {
    padding-bottom: 0;
}
/* --------------- ABOUT US PAGE CSS --------------------- */
.about1 {
    position: relative;
    display:flex;
    justify-content: space-between;
    padding:40px 80px;
    background:url("../img/about-us-bg.avif") no-repeat center / cover;
}
.about1::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* overlay color */
    z-index: 1;
}

.about1 div {
    width:50%;
    background: #ffffffcc;
    color: black;
    padding: 30px;
    z-index: 3;
}

.about1 h5 {   
    color:red;
    font-size:20px;
    margin-bottom:15px;
    
}

.about1 h1 {
    color:black;
    font-size:40px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:0.15rem;
    margin-bottom:20px;
    
    
}

.about1 p { 
    color:#4d4a4a;
    font-size:18px;
    text-align:justify;
    letter-spacing:0.1rem;
    line-height:1.7;
    
}

.about1 ul{
    padding:20px;
    
}
.about1 li{
    color:#4d4a4a;
    font-weight:600;
    font-size:20px;
    line-height:2.2;
}

.about1 img{
    height:600px;
    opacity: 0.9;
    
}

/*----------------ABOUT US 2------------------------------*/

.about2 {
    padding:100px;
    background-image: url("../img/aboutusbackground.avif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.about2 h1 {
    text-align:center;
    margin-bottom:8px;
    font-size:40px;
    font-weight:800;
    
    
}
.about2 h4{
    text-align:center;
    margin-bottom: 50px;
    font-size:20px;
    font-weight:500;
    
}
.about2 main{
    display:grid;
    grid-template-columns: auto auto auto auto;
    gap:20px;
}

.about2 div{
    background:#ffffffcc;
    padding:20px;
}

.about2 h2{
    color:#9d624c;
    text-align:center;
    
}

.about2 p{
    color:#828080;
    text-align:justify;
    line-height:1.8;
}



.bg-grey {
    background: #eee;
}

/* --------------- CONTACT US PAGE CSS --------------------- */
.address {
    display: flex;
    justify-content: space-evenly;
    padding: 50px;
    background: #eee;
    color: black;
    gap: 20px;
}

.address div {
    background: #f5f3f3;
    padding: 20px 50px;
    border-radius: 5px;
}

.address h3 {
    color: #c1112d;
}

.map {

}
/* --------------- PRODUCT PAGES --------------------- */

.product-page-heading {
    text-align: center;
    background: #eeeeee;
    color: #746161;
    letter-spacing: 0.4rem;
    padding-top: 15px;
    font-weight: 500;
    text-shadow: 0px -13px 4px #c1bebe;
}

/* --------------- MOBILE CSS --------------------- */


@media (max-width: 600px) {
    
    .top-bar, header, .feature-products-wrapper, .foot, footer, .featured-services div {
        flex-direction: column;
    }
    
    .product-card, .featured-services span {
        width: 100%;
        max-width: none;   /* 🔥 IMPORTANT */
    }
    
    .top-bar, header, .iso, .featured-services div, .foot, footer { 
        gap: 20px;
    }
    
     .top-bar, .iso, footer {
        text-align: center;
    }
    
     .featured-services {
        padding: 40px;
    }
    
}