* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
html{
    scroll-behavior: smooth;
}
/* ---------------- COMMON ---------------- */

.container {
    width: 90%;
    margin: auto;
}

/* ---------------- TOP BAR ---------------- */

.top-header {
    background: #048099;
    color: white;
    font-size: 14px;
}

.top-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.top-left span {
    margin-right: 15px;
}

.top-right a {
    margin-left: 12px;
    color: white;
    text-decoration: none;
}

/* ---------------- NAVBAR ---------------- */

.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #002c8f;
    backdrop-filter: blur(6px);
}

.main-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

/* LOGO */

.logo-box {
    display: flex;
    gap: 10px;
    align-items: center;
    color: white;
}

.logo-box img {
    width: 38px;
}

.logo-box h1 {
    font-size: 22px;
}

.logo-box small {
    font-size: 12px;
    opacity: 0.8;
}

/* NAV LINKS */

.main-nav a {
    margin-left: 20px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.hamburger {
    width: 28px;
    height: 22px;
    cursor: pointer;

    display: none;

    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 6px;
    transition: .4s ease;
}

/* rotate to X */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.main-nav a:hover {
    color: #1ec8ff;
}

/* LOGIN DROPDOWN */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: white;
    color: #2196f3;
    padding: 6px 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 130%;
    background: white;
    min-width: 160px;
    display: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: #333;
}

.dropdown-menu a:hover {
    background: #f2f2f2;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* ---------------- HERO ---------------- */

.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-slider .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero-slider .hero-content span {
    font-size: 20px;
    display: block;
    margin-bottom: 10px;
}

.hero-slider .hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-slider .hero-btn {
    padding: 12px 30px;
    background: #00bcd4;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    z-index: 2;
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

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

.features {
    background: #f6f8fb;
    padding: 60px 0;
}

.box-container {
    width: 90%;
    margin: auto;
}

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

/* Feature Card */
.box {
    background: #ffffff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-bottom: 4px solid #002c8f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

/* Icon Circle */
.box .icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: #002c8f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icon SVG */
.box .icon svg {
    font-size: 30px;
    color: #ffffff;
}

/* Title */
.box h3 {
    font-size: 22px;
    color: #002c8f;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Text */
.box p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}
/* ================= ABOUT SECTION   ================= */
#about{
    scroll-margin-top:50px;
}
.about {
    padding: 60px 5%;
    background: #e7e5e5;
}
.about .content{
    max-width: 1000px;
    margin: auto;
}

.heading .sub{
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1ea7fd;
    font-size:20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.heading .sub svg{
    width:30px;
    height:30px;
}
.heading h2 {
    font-size: 36px;
    color: #002c8f;
    margin-bottom: 10px;
}

.heading img {
    width: 120px;
    margin-bottom: 20px;
}

.about-text {
    font-size: 15px;
    line-height: 26px;
    color: #555;
    margin-bottom: 30px;
}
.about-points {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
.point {
    display: flex;
    gap: 15px;
}
.point .icon1 {
    font-size: 30px;
    color: #1ea7fd;
}

.point h5 {
    font-size: 16px;
    text-transform: capitalize;
    margin-bottom: 5px;
    color: #002c8f;
}

.point p {
    font-size: 14px;
    color: #555;
    line-height: 22px;
}

.btn {
    display: inline-block;
    background: #1ea7fd;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
}
/* ================= COUNTING SECTION ================= */

#delivery{
    scroll-margin-top: 100px;
}
.counting {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px 5%;
    background: #1354ed;;
}

.cbox {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cbox:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.cbox .info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ICON */

.cbox .icon1 {
    width: 60px;
    height: 60px;
    background: #e9f6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #0077b6;
    font-size: 26px;
}

/* COUNT NUMBER */

.cbox .count {
    font-size: 34px;
    font-weight: 700;
    color: #003b8f;
    margin-bottom: 6px;
}

/* TITLE */

.cbox h3 {
    font-size: 20px;
    font-weight: bolder;
    color: #12cffe;
}

/* ------------------------ section severces -----------------*/
#service{
    scroll-margin-top:100px ;
}
.services-heading {
    text-align: center;
    margin-bottom: 40px;
    margin-top:20px;
}
.subtitle {
    color: #1aa3ff;
    font-weight: 600;
}
.services-heading h2 {
    font-size: 42px;
    color: #002f6c;
}
.wave {
    width: 90px;
    height: 6px;
    margin: 12px auto 0;
    background: linear-gradient(90deg,#1aa3ff,#005cff);
    border-radius: 20px;
}

.slider-area {
    position: relative;
    display: flex;
    align-items: center;
}
.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.services-track {
    display: flex;
    gap: 30px;
    transition: transform 1s linear;
    will-change: transform;
}


.service-card {
    min-width: 350px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
    padding-left:15px;
    height: 250px;
    overflow: hidden;
    box-shadow: 0 12px 10px rgba(0,0,0,.08);
}
.service-card img{
    width:100%;
    height: 150px;
}

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

.products-section {
    padding: 90px 6%;
    background: #fff;
}

/* heading */
.products-heading {
    text-align: center;
    margin-bottom: 55px;
}

.products-heading h2 {
    font-size: 42px;
    color: #002f6c;
}

.subtitle {
    color: #1aa3ff;
    font-weight: 600;
}

.wave {
    width: 90px;
    height: 6px;
    margin: 12px auto 0;
    background: linear-gradient(90deg,#1aa3ff,#005cff);
    border-radius: 20px;
}

/* grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

/* card */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0,0,0,.08);
    transition: .35s ease;
    text-align: center;
}

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

/* image */
.product-card img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background: #f5f7fa;
    padding: 12px;
}
/* info */
.product-info {
    padding: 25px;
}

.product-info h3 {
    color: #003c8f;
    font-size: 20px;
    line-height: 1.25;
    min-height: 50px;
}

/* rating */
.rating {
    color: #1aa3ff;
    font-size: 14px;

}

.rating span {
    color: #555;
    font-size: 14px;
    margin-left: 6px;
}



.price .new {
    color: #1aa3ff;
    font-size: 20px;
    font-weight: 600;
}

.price .old {
    color: #888;
    text-decoration: line-through;
    margin-left: 8px;
    font-size: 14px;
}

/* text */
.product-info p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-top: 8px;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* ======================
   CONTACT SECTION
====================== */

.contact-section {
    padding: 90px 6%;
    background: #dce5f7;
}

.contact-heading {
    text-align: center;
    margin-bottom: 40px;
}

.contact-heading h2 {
    font-size: 42px;
    color: #002f6c;
}

.contact-section {
    padding: 90px 6%;
    background: linear-gradient(135deg,#e9f6ff,#fdfefe);
}

/* card */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border: 1px solid rgb(235, 235, 235);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
}

/* floating inputs */
.input-box {
    position: relative;
    margin-bottom: 26px;
}

.input-box input {
    width: 100%;
    padding: 16px 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.input-box label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
    pointer-events: none;
    transition: .3s;
    background: white;
    padding: 0 6px;
}

/* float effect */
.input-box input:focus + label,
.input-box input:valid + label {
    top: -7px;
    font-size: 12px;
    color: #1aa3ff;
}

/* button */
.submit-btn {
    background: linear-gradient(135deg,#1aa3ff,#0066ff);
    border-radius: 14px;
    padding: 15px;
    font-size: 16px;
}

/* popup */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .35s;
    z-index: 9999;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-box {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    max-width: 360px;
    animation: pop .4s ease;
}

.popup-box h3 {
    color: #0a9cff;
    margin-bottom: 10px;
}

.popup-box button {
    background: #1aa3ff;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
}

@keyframes pop {
    from {
        transform: scale(.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ======================
   FOOTER
====================== */
#address{
    scroll-margin-top:40px ;
}
.site-footer {
    background: #002f6c;
    color: #fff;
    padding-top: 70px;
}

/* layout */
.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 6% 50px;
}

.footer-box h3 {
    font-size: 26px;
    margin-bottom: 14px;
    color: #1aa3ff;
}

.footer-box p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

/* contact list */
.footer-contact {
    list-style: none;
    padding: 0;
    margin-top: 18px;
}

.footer-contact li {
    margin-bottom: 10px;
    font-size: 14px;
}

/* map */
.map-box iframe {
    width: 100%;
    height: 280px;
    border: 0;
    border-radius: 16px;
}

/* bottom bar */
.footer-bottom {
    background: #001f4a;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

/* ======================
   BACK TO TOP BUTTON
====================== */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 24px;

    width: 48px;
    height: 48px;

    border-radius: 50%;
    background: linear-gradient(135deg,#1aa3ff,#005cff);
    color: white;

    border: none;
    font-size: 22px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: all .35s ease;

    z-index: 999999; /* force top */
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------------- RESPONSIVE ---------------- */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-slider {
        height: 400px;
    }

    .hero-slider .hero-content h1 {
        font-size: 36px;
    }

    .hero-slider .hero-content span {
        font-size: 18px;
    }

    .arrow {
        font-size: 35px;
    }

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

    .counting {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

}

/* Large phones / small tablets (max-width: 768px) */
@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
    }

    .hero-slider .hero-content h1 {
        font-size: 28px;
    }

    .hero-slider .hero-content span {
        font-size: 16px;
    }

    .hero-slider .hero-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .arrow {
        font-size: 30px;
        padding: 8px;
    }

   
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;

        background: white;
        flex-direction: column;

        padding: 20px;
        display: none;
    }

    .nav-links.active {
        display: flex;
        background-color:rgb(19, 19, 99);
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #1354ed;
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
        z-index: 999;
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 16px;
    }

    /* Show menu when active */
    .nav-links.active {
        display: flex;
    }

    /* Reduce top bar font size */
    .top-header-flex {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
    }

    .top-left span:nth-child(3) {
        display: none;
    }

    .top-right {
        display: none;
    }

    .top-left {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        font-size: 13px;
        white-space: nowrap;
    }

    .top-left span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .top-right a {
        font-size: 12px;
        margin-left: 10px;
    }

    .main-nav a {
        margin-left: 10px;
        font-size: 14px;
    }

    .feature-items {
        grid-template-columns: 1fr;
    }

    .box {
        padding: 25px 25px;
    }

    .box h3 {
        font-size: 20px;
    }

    .box p {
        font-size: 14px;
    }

    .counting {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 20px;
    }

    .cbox {
        padding: 30px 15px;
    }

    .cbox .count {
        font-size: 30px;
    }

    .cbox h3 {
        font-size: 14px;
    }
        .heading h2 {
        font-size: 26px;
    }

    .about-points {
        flex-direction: column;
        gap: 20px;
    }

    .about-text {
        font-size: 14px;
    }
    .products-grid{
        grid-template-columns: repeat(1,1fr);
    }

    /* ------------footer */
    
        grid-container{
            grid-template-columns: 1fr;
        }
        .map-box iframe{
            height:240px;
        }
        .site-footer{
            padding-top: 50px;
        }
        .footer-container{
            grid-template-columns: 1fr;
            gap: 30px;
            padding: 0 20px 40px;
        }
        .footer-box h3{
            font-size: 22px;
        }
        .footer-box p{
            font-size: 13px;
        }
        .map-box iframe{
            height:220px;
            border-radius: 12px;
        }
        .footer-bottom{
            font-size: 13px;
            padding: 12px;
        }
        .back-to-top {
        width: 42px;
        height: 42px;
        font-size: 20px;
        right: 16px;
        bottom: 18px;
    }
    
}


/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero-slider {
        height: 250px;
    }

    .hero-slider .hero-content h1 {
        font-size: 22px;
    }

    .hero-slider .hero-content span {
        font-size: 14px;
    }

    .hero-slider .hero-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .arrow {
        font-size: 25px;
        padding: 6px;
    }


    .logo-box h1 {
        font-size: 18px;
    }

    .logo-box small {
        font-size: 10px;
    }
    .product-grid{
        grid-template-columns: 1fr;
    }
        .footer-box h3 {
        font-size: 20px;
    }

    .map-box iframe {
        height: 190px;
    }

    .footer-container {
        padding: 0 15px 30px;
    }
}