@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Fullscreen loader container */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(2, 35, 79);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Spinner animation */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid rgba(2, 35, 79, 0.528);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

/* Spin keyframes */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide loader after page loads */
body.loaded #loader {
    display: none;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

a:hover {
    color: #3586ff;
}


/* ===== Header ===== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 8%;

    background: #142749;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    z-index: 1000;
}

/* ===== Logo ===== */

.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===== Menu ===== */

.menu,
.mid {
    display: flex;
    gap: 35px;
    list-style: none;

}

.mid {
    justify-content: center;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: Arial, Helvetica, sans-serif;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: .3s;
    position: relative;
}

/* Underline Animation */

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #3586ff;
    transition: .3s;
}

.menu a:hover::after {
    width: 100%;
}

/* ===== Button ===== */

.btn {
    text-decoration: none;
    color: white;
    background: #3586ff;

    padding: 10px 25px;
    border-radius: 30px;

    transition: .3s;
}

.btn:hover {
    background: white;
    color: #3586ff;
}

/* ===== Hamburger ===== */

.menu-btn {
    display: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Mobile */
@media (max-width:900px) {

    .menu-btn {
        display: block;
        z-index: 1001;
    }

    .mid {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        top: 5%;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;

        background: #142749;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 35px;

        transition: .4s ease;
        z-index: 1000;
    }

    .menu.active {
        right: 0;
    }

    .menu a {
        font-size: 22px;
    }

    .desktop-btn {
        display: none;
    }

    .mobile-btn {
        display: block;
    }

}
/*======home======*/
.home {
    width: 100%;
    min-height: 120vh;
    display: flex;
    padding: 10px 10px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("home.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    flex-direction: column;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 200px;
    padding: 0 20px;
}

.content h2 {
    color: white;
    font-size: clamp(2rem, 8vw, 5em);
    font-weight: 500;
}

.con {
    text-align: center;
}

.content h4 {
    color: white;
    background-color: rgba(142, 141, 141, 0.52);
    font-size: clamp(1rem, 4vw, 2em);
    font-weight: 300;
    border-radius: 20px;
    padding: 10px 20px;
}

/* ===== CONTACT SECTION ===== */
#container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    background: #e7ecf4;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.1);
    min-height: auto;
}

.container .contact-box form {
    display: flex;
    flex-direction: column;
    margin-left: 0;
    flex: 1;
    min-width: 300px;
}

.container form h1 {
    color:rgba(2, 35, 79, 0.9);
    font-weight: 500;
    margin-top: 10px;
    width: 100%;
    max-width: 500px;
    text-align: left;
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: left;
    bottom: 10px;
}

.container form input {
    width: 100%;
    max-width: 350px;
    height: 40px;
    padding-left: 10px;
    outline: none;
    border: none;
    font-size: 15px;
    border-bottom: 2px solid #000;
    color: rgba(2, 35, 79, 0.9);
    transition: all 0.3s;
    background:none;
}

.container form input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-bottom-color: #3586ff;
}
.container form h4 {
    color: rgba(2, 35, 79, 0.9);
    font-weight: 300;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}
label
{
    color: rgba(2, 35, 79, 0.9);
}
.container form textarea {
    width: 100%;
    max-width: 350px;
    height: 80px;
    padding-left: 10px;
    outline: none;
    border: none;
    font-size: 15px;
    margin-bottom: 10px;
    background: none;
    border-bottom: 2px solid #000;
    color: #000;
    resize: vertical;
    transition: all 0.3s;
}

.container form textarea:focus {
    background: rgba(255, 255, 255, 0.2);
    border-bottom-color: #3586ff;
}

textarea::-webkit-scrollbar {
    width: 1em;
}

textarea::-webkit-scrollbar-thumb {
    background-color: rgba(194, 194, 194, 0.713);
}

.container form #button {
    border: none;
    background: rgba(2, 35, 79, 0.9);
    border-radius: 5px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    width: 100px;
    margin-right: 0;
    margin-bottom: 30px;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
    justify-content: center;
    padding: 0 2px;
}

.container form #button:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.product-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    
}

.product-image img {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-height: 470px;
    width: 100%;
    max-width: 100%;
}

/*====info=====*/
.location {
    flex-direction: column;
    display: flex;
    min-height: 150px;
    justify-content: center;
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 30px;
    transition: all 0.4s;
}
.location,
.call,
.email {
    background: #e7ecf4;
   color:rgba(2, 35, 79, 0.9);
   text-align: center;
}
    
    .location:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.call {
    flex-direction: column;
    display: flex;
    min-height: 150px;
    justify-content: center;
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 30px;
    transition: all 0.4s;
}

.call:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.email {
    flex-direction: column;
    display: flex;
    min-height: 150px;
    justify-content: center;
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 30px;
    transition: all 0.4s;
}

.email:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.row {
    flex-direction: row;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

/* ===== FOOTER ===== */
footer {
    background: rgba(2, 35, 79, 0.9);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
}

.zoom {
    margin-bottom: 20px;
}

.social_icon {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social_icon li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.social_icon li a:hover {
    background: #3586ff;
    transform: translateY(-5px);
}

.menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

footer p {
    color: #aaa;
    margin-top: 20px;
}

/* ===== BACK TO TOP ===== */

.back-to-top {

    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #3586ff;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s;
    z-index: 1000;
    text-decoration: none;

}
/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* ==========================
   Responsive Body (768px)
========================== */
@media (max-width:768px) {

    body {
        overflow-x: hidden;
    }

    /* Hero Section */
    .home {
        min-height: 100vh;
        padding: 70px 15px 20px;
        background-attachment: scroll;
    }

    .content {
        margin-top: 100px;
        text-align: center;
        padding: 0 15px;
    }

    .content h2 {
        font-size: 2.3rem;
        line-height: 1.3;
    }

    .content h4 {
        font-size: 1rem;
        padding: 10px 15px;
    }

    /* Contact Section */
    #container {
        width: 95%;
        margin: 30px auto;
        padding: 20px;
        flex-direction: column;
        gap: 30px;
    }

    .product-details,
    .product-image {
        width: 100%;
    }

    .product-image img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .container form {
        width: 100%;
    }

    .container form input,
    .container form textarea {
        width: 100%;
        max-width: 100%;
    }

    /* Contact Info Cards */
    .row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .location,
    .call,
    .email {
        width: 100%;
        max-width: 400px;
        min-width: auto;
    }

    /* Footer */
    footer {
        padding: 30px 15px;
    }

    .social_icon {
        gap: 10px;
    }

    .social_icon li a {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
    }
}


/* ===============================
   LARGE SCREEN 
=============================== */
@media (min-width: 2000px) {

    /* MAIN SECTIONS */
    #container,
    main,
    .wrapper,
    .hero-section {
        width: 95%;
        max-width: 4000px;
        margin: 60px auto;
    }

    header {
        width: 100%;
        max-width: 4000px;
        height: 100px;
    }

    header .logo a {
        font-size: 3rem;
    }

    header .menu a {
        font-size: 2rem;
        margin: 0 10px;
    }

    header button.log1 {
        height: 70px;
        width: 150px;
        padding: 15px 20px;
    }

    header button.log1 a {
        font-size: 2rem;
    }
    /*home*/
   .home .content
   {
    padding-top: 100px;
   }
   
 

    /* FOOTER */
    footer a {
        font-size: 2rem;
        margin: 0 20px;
    }

    footer .social_icon li a {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }

    footer p {
        font-size: 1rem;
    }

    .back-to-top {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }

}

@media (min-width: 4000px) {

    /* MAIN SECTIONS */

    #container,
    main,
    .wrapper,
    .hero-section {
        width: 95%;
        max-width: 6000px;
        margin: 60px auto;
    }

    header {
        width: 100%;
        max-width: 6000px;
        height: 150px;
    }

    header .logo a {
        font-size: 6rem;
    }

    header .menu a {
        font-size: 4rem;
        margin: 0 50px;
    }

    header button.log1 {
        height: 100px;
        width: 270px;
        padding: 10px;
    }

    header button.log1 a {
        font-size: 4rem;
    }

    /* FOOTER */
    footer a {
        font-size: 4rem;
        margin: 0 30px;
    }

    footer .social_icon li a {
        width: 150px;
        height: 150px;
        font-size: 6rem;
    }

    footer p {
        font-size: 3rem;
    }

    .back-to-top {
        width: 150px;
        height: 150px;
        font-size: 6rem;
    }

}