@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: #333;
}

/* ===== GLOBAL ===== */
a {
    text-decoration: none;
    color: #fff;
}

a:hover {
    color: #3586ff;
}

li {
    list-style: none;
}

img {
    width: 100%;
    display: block;
}

/* 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;
}

/* ===== Reset ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* ===== 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("img1.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;
}

/* ===== BOOK PAGE ===== */
.book {
    text-align: center;
    padding: 50px 20px;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("img2.jpg") no-repeat center;
    background-size: cover;
    border-radius: 20px;
    overflow: hidden;
}

.container form {
    width: 100%;
    padding: 40px 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
}

.container form h1 {
    color: #fff;
    width: 100%;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.container form input,
.container form select,
.container form textarea {
    width: 48%;
    padding: 12px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
}

.container form textarea {
    width: 100%;
    min-height: 120px;
    resize: none;
}

.container form input::placeholder,
.container form textarea::placeholder {
    color: #eee;
}

.container form select {
    color: #fff;
}

.container form option {
    color: #000;
}

.container form h4 {
    color: #fff;
    width: 100%;
    font-weight: 300;
}

.container form #button {
    border: none;
    background: #3586ff;
    border-radius: 10px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    width: 220px;
    height: 55px;
    cursor: pointer;
    transition: 0.3s;
}

.container form #button:hover {
    transform: translateY(5px);
    opacity: 0.8;
}

/* ===== 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=====*/

/* Mobile Devices */
@media screen and (max-width: 768px) {
  

    /* Hero Section */
    .content {
        margin-top: 150px;
        text-align: center;
    }


    /* Footer */
    .menu {
        gap: 10px;
    }

    .social_icon li a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Small Phones */
@media screen and (max-width: 480px) {
    .content h2 {
        font-size: 1.8rem;
    }

    .container form h1 {
        font-size: 1.5rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
}

@media screen and (max-width: 1024px) {
    header .logo {
        margin-right: 0;
    }

    header .menu {
        margin-left: 0;
        gap: 15px;
    }

}


/* ===============================
   LARGE SCREENS
=============================== */
@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;
    }



    /* 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;
    }

}