*{margin: 0; padding: 0; text-decoration: none; box-sizing: border-box; scroll-behavior: smooth;}

html{scroll-behavior: smooth;}

body{background-color: #eeeeee; overflow-anchor: none; overflow-x: hidden;}

html, body{width: 100%; max-width: 100%;} /*Safety Net for Responsive CSS*/

img{display: block; max-width: 100%; height: auto;}

section{scroll-margin-top: 9rem;}

.nav{position: sticky; top: 0; background-color: #fff; border-bottom: 1px solid var(--stroke); height: auto; padding: 0.8rem 1.5rem; z-index: 100;}

.nav-inner{max-width: var(--maxw); margin: auto; display: flex; align-items: center; justify-content: space-between;}

.brand{display: flex; align-items: center; gap: 0.5rem; font-size: 19px; color: #eb8349; text-decoration: none; font-size: clamp(1.1rem, 2vh, 1.5rem); font-weight: 100; margin-bottom: 2px;}

.span{font-family: Atlantic BC; font-size: 20px; color: black;}

.logo-img{height:105px; border-radius: 25px 25px;}

.menu {display: flex; align-items: center; gap: 50px; list-style: none; text-transform: capitalize;}

.menu a{color: #001130; font-size: 1.1rem; padding: 0.5rem 0.75rem; font-size: clamp (0.9rem, 0.9vw, 1.05rem); font-weight: 500; transition: 0.2s; border-radius: 15px;}

.menu a:hover{cursor: pointer; color: #fff; background-color: #df6726; border-radius: 15px; transition: 0.3s ease;}

.menu-toggle{display: none;}

.hamburger{display: none; width: clamp(40px, 6vw, 45px); height: clamp(40px, 6vw, 45px); align-items: center; justify-content: center; border-radius: 12px;
    border: 1px solid #81cee4; background: #fff; cursor: pointer;}

.hamburger span,
.hamburger span::before,
.hamburger span::after{display: block; width: 18px; height: 2.5px; background: #001130; position: relative; content:""; 
    transition: transform 0.25 ease, top 0.25 ease, 0.25s ease; transform-origin: center;}

.hamburger span::before{position: absolute; top: -6px;}

.hamburger span::after{position: absolute; top: 6px;}

/*REPONSIVE NAV BAR*/
@media(max-width:858px) {
    .menu{position: absolute;top: 100%; left: 0; right: 0; z-index: 9998; flex-direction: column; align-items: center; gap: 5rem; background: #fff; max-height: 0; padding: 0;
        pointer-events: none; overflow: hidden; transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;}
    
    .menu li{display: flex; align-items: center; justify-content: center; width: 100%;}
    
    .menu li a{padding: 10px 10px;}
    
    .menu-toggle:checked~.menu{max-height: 100vh; height: 100vh; padding: 1.5rem 0; opacity: 1; pointer-events: auto;}
    
    .hamburger{display: flex;}
    
    .menu-toggle:checked~.hamburger span{background: transparent;}
    
    .menu-toggle:checked~.hamburger span::before{top: 0; transform: rotate(45deg);}
    
    .menu-toggle:checked~.hamburger span::after{top: 0; transform: rotate(-45deg);}
}

@media (max-width: 345px){
    html, body{overflow-x: hidden;}

    .nav{padding-left: 0.5rem; padding-right: 0.5rem;}

    .logo-img{height: 70px;}

}

/*BODY */

/*Hero Section*/
.Hero{width: 100%; max-width: 1200px; margin: 0 auto; height: calc(100vh - 10rem); min-height: 500px; background-image: url("../Images/Hero-Image.jpg"); background-position: center; background-size: cover; background-repeat: no-repeat; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 40px; position: relative;}

.hero-content{display: flex; justify-content: center; align-items: center; margin: 0; padding: 0;}

.hero-btn{display:inline-block; padding: 12px 24px; font-size: clamp(14px, 2vw, 17px); background-color: #df6726; color: #001130; border-radius: 10px; cursor: pointer; transition: 0.3s ease; white-space: nowrap;} 

.hero-btn:hover{background-color: #00c8ff; color: #fff;}

section, .wrapper, .Services, .container2{padding-top: 4rem; padding-bottom: 4rem;}

/*RESPNSIVE HERO Section*/
@media(min-width:1024px){
  .hero-content{bottom: 8%;  left: 42%;}

}

@media (max-width:768px){

    .Hero{height:60vh; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding-bottom: 80px;}

    .hero-content{justify-content: center}

}

@media (max-width: 520px){

    .Hero{height: 60vh; background-size: cover;}
}


/*ABOUT US*/
.wrapper {scroll-margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; width: min(1100px, 90%); margin: 0 auto 2rem; padding: 1rem; gap: 2rem;}

.wrapper img{flex:1 1 350px; max-width: 400px; height: auto; border-radius: 30px; object-fit: contain; width: 100%;}

.text-box{flex: 1 1 320px; min-width: 250px; display: flex; flex-direction: column; gap: 0.75rem; text-align: center;}

.text-box h2{text-align: center; color: #df6726; margin: 0; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1;}

.text-box p{font-size: clamp(1rem, 1.6vw, 1.2rem); color: #001130; padding: 0 0.75rem; margin:0; text-align: center; line-height: 1.5;}

/*RESPONSIVE ABOUT US*/
@media (max-width:768px){
    
    .wrapper{flex-direction: column; text-align: center;}
   
    .text-box{align-items: center;}

    .text-box p{text-align: center;}

    .text-box h2{text-align: center;}
}

/* Medium small screens: 460px – 768px */
@media (min-width: 461px) and (max-width: 768px) {
    .wrapper img {
        flex: 1 1 300px;
        border-radius: 25px !important;
        max-width: 350px; /* optional: slightly smaller image */
        width: 90%;
    }
}

/* Extra Small Screens: 460px and below */
@media (max-width: 460px) {
    .wrapper {
        flex-direction: column;       /* stack image + text vertically */
        width: 95%;                   /* take most of the screen */
        padding: 0.5rem;              /* reduce padding */
        gap: 1rem;                    /* smaller gap */
    }

    .wrapper img {
        flex: 1 1 auto;
        width: 100%;                  /* image fills the container */
        max-width: 300px;             /* limit image size */
        border-radius: 20px;
    }

    .text-box {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0 0.5rem;
        gap: 0.5rem;
    }

    .text-box h2 {
        font-size: clamp(1.3rem, 5vw, 1.8rem); /* scale better for small screens */
        line-height: 1.2;
    }

    .text-box p {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        line-height: 1.4;
        padding: 0 0.5rem;
    }
}

a:focus, button:focus, .text-box:focus{outline: 3px solid #005fcc; outline-offset: 3px;}

/*SERVICES*/
*, *::before, *::after{box-sizing: border-box;}

.container2{ display: grid; justify-items: stretch; width: 100%; min-width: 0; margin: 0 auto; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); padding: 1rem;}

.Services{padding: 60px 20px; margin-bottom: 7rem; text-align: center;}

.Services-h2{color: #df6726; font-size: clamp(1.5rem, 5vw, 2rem); text-align: center; margin-bottom: 2rem;}

/*Stylize Service Card*/


.product-card{justify-content: space-between; background-color: #001130; position: relative; width: 100%; max-width: 100%; height: 100%; border-radius: 10px; display: flex; overflow: hidden; flex-direction: column; align-items: center; padding: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; box-sizing: border-box;}

.product-card:before{content:''; background: rgba(255,255,255,0.1); position: absolute; display: block; top: 0; left: 0; width: 50%; height: 100%; border-top-left-radius: 10px; border-bottom-left-radius: 10px; z-index: 0;}

.product-img-container{position: relative; z-index: 1; width: 100%; max-width: 350px; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; margin-bottom: 1rem;}

.product-item{width:100%;}

.product-img{width: 100%; height: 100%; border-radius: 8px; object-fit: cover; display: block; object-position: center;}

.name{color:#fff; text-align: center; font-size: clamp(1.2rem, 1.6vw, 1.25rem); padding: 0 0.5rem; flex-grow: 1; display: flex; align-items: center; justify-content: center; margin: 1rem 0 1.5rem; line-height: 1.4; min-height: 3em;}

@media (max-width:345px){
    .Services{padding-left: 0.5rem; padding-right: 0.5rem;}

    .container2{grid-template-columns: 1fr; margin: 0; width: 100%; padding: 0.5rem; gap: 1rem;} 

    .product-card{padding: 0.75rem;}

    .product-card:before{width: 100%; display: none;}

    .product-item{width: 100%;}
}