@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
html {
    scroll-behavior: smooth;
}
body {
    width: 100%;
    height: 100vh;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
 /* 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 {
    padding: 10px 10px;
}
        
.home {
    width: 100%;
    min-height: 120vh;
    display: flex;
    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;
 }
        
.content h2 {
    color: white;
    font-size: 5em;
    font-weight: 500;
}
        
.con {
    text-align: center;
}
        
.home .content h4 {
    color: white;
    background-color: #8e8d8d84;
    font-size: 2em;
    font-weight: 300;
    border-radius: 20px;
    padding: 10px 20px;
    }
/* ===== ABOUT SECTION ===== */
#container {
    max-width: 6000px;
    margin: 50px auto;
    display: flex;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 700px;
    width: 95%;
    max-height: 1000px;
    }
                
.product-details {
    flex: 1;
     }
                
.product-details h3 {
    color: #3586ff;
    font-size: 1rem;
     }
                
.product-details h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    }
.hint-star {
    color: #ffc107;
    font-size: 1.2rem;
  }
.product-details p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    }
.product-image {
    flex: 1;
    }
.product-image img {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 470px;
    width: 100%;
    }
  /* team section */
.title{
    text-align: center;
}

.title h4{
    display: inline-block;
    padding: 20px;
    color: rgb(12, 12, 12);
    font-size: 50px;
    font-weight: 500;
    letter-spacing: 1.2px;
    word-spacing: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-transform: uppercase;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
}

.home-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
}

.profile-card {
    position: relative;
    width: 500px;
    height: 500px;
    background-color: #fff;
    padding: 30px;
    border-radius: 20%;
    box-shadow: -5px 8px 45px rgba(51, 51, 51, 0.126);
    transition: all .4s;
    margin: 0 20px;
}

.profile-card:hover {
    border-radius: 10px;
    height: 520px;
}

.profile-card .img {
    position: relative;
    width: 100%;
    height: 100%;
}

.profile-card:hover img {
    border-radius: 10px;
    transform: translateY(-70px);
}

.img img {
    object-fit: fill;
    width: 100%;
    border-radius: 10%;
    transition: all .4s;
    z-index: 99;
}

.caption {
    text-align: center;
    transform: translateY(-80px);
    opacity: 0;
    pointer-events: none;
    transition: all .5s;
}

.profile-card:hover .caption {
    opacity: 1;
    pointer-events: all;
}

.caption h3 {
    font-size: 21px;
    color: #3586ff;
    font-weight: 600;
}

.caption p {
    font-size: 15px;
    font-weight: 500;
    margin: 2px 0 12px 0;
}

.caption .social-links i {
    font-size: 21px;
    margin: 0 3px;
    cursor: pointer;
    color: #333;
    transition: all .4s;
}

.caption .social-links i:hover {
    color: #3586ff;
}
/* ===== 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;

}
/* ===== RESPONSIVENESS===== */

@media screen and (max-width: 1024px) {
   

    .content h2 {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {

   

    .content {
        margin-top: 150px;
        text-align: center;
        padding: 0 20px;
    }

    .content h2 {
        font-size: 2.5rem;
    }

    .con {
        margin-left: 0;
    }

    #container {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
        text-align: center;
    }

    .product-image img {
        height: auto;
        max-height: 350px;
    }

    .product-details h1 {
        font-size: 1.8rem;
    }

    .home-container {
        flex-direction: column;
        height: auto;
        padding: 50px 0;
    }

    .profile-card {
        width: 90%;
        max-width: 350px;
        height: auto;
        margin: 20px auto;
        border-radius: 15px;
    }

    .profile-card:hover {
        height: auto;
    }

    .img img {
        border-radius: 15px;
    }

    .caption {
        transform: translateY(0);
        opacity: 1;
        position: relative;
        padding-top: 20px;
    }

    .profile-card:hover img {
        transform: translateY(20px);
    }

    .title h4 {
        font-size: 30px;
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .content h2 {
        font-size: 2rem;
    }

    .home .content h4 {
        font-size: 1.2rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
    }
}
/* ===============================
   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
    {
        padding-top: 100px;
    }
    /* ABOUT */
    .product-details 
    {
        height: 900px;
    }
    .product-image img
    {
        height: 850px;
        width: 100%;
    }
    .product-details h1
    {
        font-size: 3rem;
    }
    .product-details p
    {
        font-size: 1.2rem;
    }
    .product-details h3
    {
        font-size: 1.5rem;
    }
    .product-details .hint-star
    {
        font-size: 1.5rem;
    }
    .product-details
    {
        padding-top: 250px;
    }
    /* TEAM */
    .title h4 {
        font-size: 6rem;
        padding: 30px;
    }
    .home-container {
        height: auto;
        padding: 100px ;
    }
    .profile-card {
        width: 600px;
        height: 600px;
        margin: 0 30px;
    }
    .profile-card:hover {
        height: 700px;
    }
    .caption {
        transform: translateY(-150px);
    }
    .caption h3 {
        font-size: 3rem;
    }
    .caption p {
        font-size: 2rem;
    }
    .caption .social-links i {
        font-size: 2rem;
        
    }
    /* 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: 7px 15px;
    }

    header button.log1 a {
        font-size: 4rem;
    }
        /* HOME */
        .home {
            padding-top: 400px;
        }
        .content h2 {
            font-size: 7rem;
        }
        .home .content h4 {
            font-size: 4rem;
        }
        /* ABOUT */
      
        .product-details {
            height: 1600px;
        }
        
    
        .product-image img {
            height: 900px;
            width: 100%;
        }
    
        .product-details h1 {
            font-size: 6rem;
        }
    
        .product-details p {
            font-size: 3rem;
        }
    
        .product-details h3 {
            font-size: 3rem;
        }
    
        .product-details .hint-star {
            font-size: 3rem;
        }
    
        .product-details {
            padding-top: 400px;
        }
    
        /* TEAM */
        .title h4 {
            font-size: 8rem;
            padding: 30px;
        }
    
        .home-container {
            height: auto;
            padding: 100px;
        }
    
        .profile-card {
            width: 1200px;
            height: 1200px;
            margin: 0 30px;
        }
    
        .profile-card:hover {
            height: 1400px;
        }
    
        .caption {
            transform: translateY(-250px);
        }
    
        .caption h3 {
            font-size: 5rem;
        }
    
        .caption p {
            font-size: 3rem;
        }
    
        .caption .social-links i {
            font-size: 3rem;
    
        }
    /* 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;
    }

}