/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* HEADER */

.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8%;
    background: #0d1b2a;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* LOGO */

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 45px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo h2 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

/* NAVBAR */

.navbar a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    position: relative;
    transition: 0.3s all ease;
}

/*  */

.navbar a:hover {
    color: #00b4d8;
}

.navbar .active {
    color: #00b4d8;
}


/* MENU BUTTON */

.menu-btn {
    font-size: 28px;
    color: #fff;
    display: none;
    cursor: pointer;
}

/* HERO SECTION */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10%;
    color: white;

    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
        url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da");

    background-size: cover;
    background-position: center;
}

/* HERO CONTENT */

.hero-content {
    max-width: 700px;
    animation: fadeUp 1.5s ease;
}

/* TITLE */

.hero h1 {
    font-size: 55px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero span {
    color: #00b4d8;
}

/* TEXT */

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: .9;
}

/* BUTTONS */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 28px;
    background: #00b4d8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: 0.3s;
}

.btn:hover {
    background: #0077b6;
    transform: translateY(-3px);
}

/* OUTLINE BUTTON */

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid #00b4d8;
}

.btn-outline:hover {
    background: #00b4d8;
}

/* ANIMATION */

@keyframes fadeUp {

    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

/* FEATURES SECTION */

.features {
    padding: 80px 10%;
    background: #f5f7fa;
    text-align: center;
}

.features-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #0d1b2a;
}

.features-title p {
    color: #555;
    margin-bottom: 50px;
}

/* GRID */

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CARD */

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

/* ICON */

.feature-card .icon {
    font-size: 40px;
    color: #00b4d8;
    margin-bottom: 15px;
}

/* TITLE */

.feature-card h3 {
    color: #0077b6;
    margin-bottom: 10px;
}

/* TEXT */

.feature-card p {
    font-size: 15px;
    color: #555;
}

/* HOVER EFFECT */

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ANIMATION LINE */

.feature-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: #00b4d8;
    left: 0;
    top: 0;
    transform: scaleX(0);
    transition: 0.4s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}


/* POPULAR BOOKS SECTION */

.books {
    padding: 80px 10%;
    background: #ffffff;
    text-align: center;
}

.section-title h2 {
    font-size: 36px;
    color: #0d1b2a;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    margin-bottom: 50px;
}

/* GRID */

.books-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* BOOK CARD */

.book-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    position: relative;
}

.book-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s;
}

/* BOOK INFO */

.book-info {
    padding: 20px;
}

.book-info h3 {
    color: #0077b6;
    margin-bottom: 5px;
}

.book-info p {
    font-size: 14px;
    color: #666;
}

/* HOVER EFFECT */

.book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.book-card:hover img {
    transform: scale(1.1);
}

/* GALLERY SECTION */

.gallery {
    padding: 80px 10%;
    background: #f5f7fa;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* IMAGE BOX */

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* IMAGE */

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

/* HOVER EFFECT */

.gallery-item:hover img {
    transform: scale(1.2);
}

/* OVERLAY EFFECT */

.gallery-item::after {
    content: "View";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    opacity: 0;
    transition: 0.4s;
}

.gallery-item:hover::after {
    opacity: 1;
}


/* MEMBERSHIP SECTION */

.membership {
    padding: 80px 10%;
    background: #ffffff;
    text-align: center;
}

/* GRID */

.membership-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* CARD */

.plan-card {
    background: #f5f7fa;
    padding: 40px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    position: relative;
}

/* PRICE */

.plan-card h1 {
    color: #0077b6;
    margin: 15px 0;
}

/* LIST */

.plan-card ul {
    list-style: none;
    margin: 20px 0;
}

.plan-card ul li {
    margin: 10px 0;
    color: #555;
}

/* BUTTON */

.plan-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #00b4d8;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.plan-btn:hover {
    background: #0077b6;
}

/* POPULAR CARD */

.popular {
    background: #0077b6;
    color: white;
    transform: scale(1.05);
}

.popular h1 {
    color: white;
}

.popular ul li {
    color: #f0f0f0;
}

.popular .plan-btn {
    background: white;
    color: #0077b6;
}

/* TAG */

.tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffb703;
    color: #000;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
}

/* HOVER */

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* TESTIMONIAL SECTION */

.testimonials {
    padding: 80px 10%;
    background: #f5f7fa;
    text-align: center;
}

/* GRID */

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* CARD */

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
}

/* IMAGE */

.testimonial-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* NAME */

.testimonial-card h3 {
    color: #0d1b2a;
    margin-bottom: 5px;
}

/* ROLE */

.role {
    font-size: 14px;
    color: #0077b6;
    margin-bottom: 15px;
}

/* REVIEW */

.review {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* HOVER EFFECT */

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}


/* About Page */

/* HERO */

.about-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;

    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
        url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da");

    background-size: cover;
}

.about-hero h1 {
    font-size: 45px;
}

/* ABOUT */

.about {
    padding: 100px 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about img {
    width: 100%;
    border-radius: 10px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0d1b2a;
}

.about-text p {
    color: #555;
    line-height: 1.7;
}

/* MISSION */

.mission {
    background: #f5f7fa;
    padding: 80px 10%;
    text-align: center;
}

.mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: .4s;
}

.mission-card i {
    font-size: 35px;
    color: #00b4d8;
    margin-bottom: 15px;
}

.mission-card:hover {
    transform: translateY(-10px);
}

/* STATS */

.stats {
    padding: 80px 10%;
    background: #0077b6;
    color: white;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat h3 {
    font-size: 35px;
}

/* TEAM */

.team {
    padding: 80px 10%;
    text-align: center;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.member {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: .4s;
}

.member img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.member:hover {
    transform: translateY(-10px);
}


/* Services Page */

/* HERO */

.services-hero {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;

    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
        url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da");

    background-size: cover;
}

.services-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.services-hero p {
    font-size: 16px;
    opacity: .9;
}


/* SERVICES */

.services {
    padding: 100px 10%;
    text-align: center;
    background: #f5f7fa;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #0d1b2a;
}

/* GRID */

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CARD */

.service-card {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: .4s;
}

.service-card i {
    font-size: 40px;
    color: #00b4d8;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}


/* CTA */

.cta {
    background: #0077b6;
    color: white;
    text-align: center;
    padding: 70px 10%;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: white;
    color: #0077b6;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: .3s;
}

.btn:hover {
    background: #00b4d8;
    color: white;
}

/* Contact Page */

/* HERO */

.contact-hero {
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;

    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)),
        url("https://images.unsplash.com/photo-1521587760476-6c12a4b040da");

    background-size: cover;
}

.contact-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}


/* CONTACT INFO */

.contact-info {
    padding: 80px 10%;
    background: #f5f7fa;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: .4s;
}

.info-card i {
    font-size: 35px;
    color: #00b4d8;
    margin-bottom: 10px;
}

.info-card:hover {
    transform: translateY(-10px);
}


/* CONTACT FORM */

.contact-form {
    padding: 80px 10%;
    text-align: center;
}

.contact-form h2 {
    margin-bottom: 30px;
}

.contact-form form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: all .3s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: #00b4d8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 2px solid #00b4d8;
}


.contact-form button {
    padding: 12px;
    border: none;
    background: #0077b6;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: .3s;
}

.contact-form button:hover {
    background: #00b4d8;
}


/* MAP */

.map {
    padding: 0 10% 80px;
}



/* FOOTER */

.footer {
    background: #0d1b2a;
    color: white;
    padding: 60px 10% 20px;
}

/* GRID */

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

/* TITLE */

.footer-box h2 {
    margin-bottom: 15px;
}

.footer-box h3 {
    margin-bottom: 15px;
    color: #00b4d8;
}

/* TEXT */

.footer-box p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #ddd;
}

/* LINKS */

.footer-box a {
    display: block;
    text-decoration: none;
    color: #ddd;
    margin: 8px 0;
    font-size: 14px;
    transition: 0.3s;
}

.footer-box i{
margin-right:8px;
color:#00b4d8;
}

.footer-box a:hover {
    color: #00b4d8;
    padding-left: 5px;
}

/* SOCIAL ICONS */

.social a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    background: #1b263b;
    padding: 8px 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.social a:hover {
    background: #00b4d8;
    color: #fff;
}

/* BOTTOM */

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    font-size: 14px;
    color: #aaa;
}


/* MOBILE RESPONSIVE */

@media (max-width:768px) {

    .navbar {
        position: absolute;
        top: 60px;
        left: -100%;
        width: 100%;
        background: #0d1b2a;
        display: flex;
        flex-direction: column;
        text-align: center;
        transition: 0.4s;
        padding: 20px 0;
    }

    .navbar a {
        margin: 15px 0;
        font-size: 18px;
    }

    .navbar.active {
        left: 0;
    }

    .menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .features-title h2 {
        font-size: 28px;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-hero h1 {
        font-size: 32px;
    }

    .services-hero h1 {
        font-size: 30px;
    }

    .contact-hero h1 {
        font-size: 30px;
    }

}