/* Importing Google fonts */
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", 'Merriweather', sans-serif;
}

:root {
    /* Colors */
    --white-color: #ffffff;
    --green-color: #24572c;
    --grey-color: #333;
    --brown-color: #957B46;
    --dark-color: #252525;
    --primary-color: #1a3e72;
    --secondary-color: #e9b949;
    --light-pink-color: #faf4f5;
    --medium-gray-color: #ccc;
    --light-blue-color: #8DD7FB;
    --pink-color: #D033B0;
    --light-pink-color: #fffdfd;
    --light-pink-color2: #faf8f8;
    --main-color: #4a3adc;
    --dark-color: #212529;
    --light-color:#d0d4ed;
    --hero-back: #FD6E6A;
    --accent-color: #2a5ea7;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    --transition: all 0.3s ease;
    


    /* Font size */
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.1rem;
    --font-size-l: 1.15rem;
    --font-size-xl: 2.5rem;
    --font-size-xxl: 2.8rem;
    --border-radius-m: 8px;
    --font-weight-medium: 500;
    --font-weight-bold: 700;

    /* Font weight */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Border radius */
    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50px;
    --border-radius-circle2: 100px;

    /* Site max width */
    --site-max-width: 1300px;
}

body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
    scroll-behavior: smooth;
  }
  
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
  
  p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
  }

html {
    scroll-behavior: smooth;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img {
    width: 100%;
}

.section-content {
    margin: 0 auto;
    max-width: var(--site-max-width);
}

.section-title {
    color: var(--green-color);
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-radius-s);
    background: var(--secondary-color);
}

/* Navbar styling */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 6px 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0;
    margin: 0;
}

.nav-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.navbar .nav-menu {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar .nav-menu .nav-item {
    display: flex;
    align-items: center;
}

.navbar .nav-menu .nav-link {
    padding: 6px 10px;
    color: var(--grey-color);
    font-size: var(--font-size-xs);
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
    color: var(--white-color);
    background: var(--secondary-color);
}

.navbar .nav-menu .login-signup-button {
    background: var(--secondary-color);
    color: white;
}

.navbar .nav-menu .login-signup-button:hover {
    background: var(--primary-color);
}

.navbar .nav-menu button {
    font-size: var(--font-size-xs);
}

#menu-close-button,
#menu-open-button {
    display: none;
}


/* Services Section */
.services {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.service-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-color);
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(3px);
}

/* Booking Section */
.booking-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.booking-container {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.booking-image {
    flex: 1;
    min-height: 400px;
    background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
}

.booking-card {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.booking-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.booking-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.booking-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.banner-section {
    width: 100%;
    padding: 0;
    margin: 0;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .booking-container {
        flex-direction: column;
    }
    
    .booking-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .services-header p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .services-header {
        margin-bottom: 2rem;
    }
    
    .booking-card {
        padding: 1.5rem;
    }
    
    .booking-btn {
        padding: 0.8rem 1.5rem;
    }
}


/* Footer section */
.footer-section {
    background: -webkit-linear-gradient(to right, #565a5e, #3f4346);  
    background: linear-gradient(to right, #565d64, #484949);  
}

.footer-section {
    padding-top: 10px;
}


.footer-section .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-section :where(.copyright-text, .social-link, .policy-link) {
    color: var(--white-color);
    transform: 0.2s ease;
}

.footer-section .social-link-list {
    display: flex;
    gap: 25px;
}

.footer-section .social-link-list .social-link {
    font-size: var(--font-size-l);
}

.footer-section .social-link-list .social-link:hover {
    color: var(--secondary-color);
}

.footer-section .policy-text .separator {
    margin: 0 5px;
    color: var(--white-color);
}
/* Responsive media query code for max width 1024px */
@media screen and (max-width: 1024px){
    .course-section .course-list {
        gap: 60px;
    }

    .course-section .course-list .course-item {
        width: calc(100% / 3 - 60px);
    }
}

/* Responsive media query code for max width 900px */
@media screen and (max-width: 900px) {
    :root {
        /* Font size adjustment*/
    --font-size-m: 1rem;
    --font-size-l: 1.3rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 1.8rem;
    }

    body.show-mobile-menu header::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.2);
    }

    #menu-close-button,
     #menu-open-button {
        display: block;
        font-size: var(--font-size-l);
    }

    .navbar #menu-close-button {
        position: absolute;
        right: 30px;
        top: 30px;
    }

    .navbar #menu-open-button {
        color: var(--dark-color);
    }

    .navbar .nav-menu {
        display: block;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        background: var(--white-color);
        transition: left 0.2s ease;
    }

    body.show-mobile-menu .navbar .nav-menu {
        left: 0;
    }

    .navbar .nav-menu .nav-link {
        color: var(--dark-color);
        display: block;
        margin-top: 17px;
        background: var(--white-color);
        font-size: 1em;
    }

    .hero-section .section-content {
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-section .hero-details :is(.subtitle, .description),
    .about-section .about-details, .contact-section .contact-form { 
        max-width: 100%;
    } 

    .hero-section .hero-details .buttons {
        justify-content: center;
    }

    .hero-section .hero-image-wrapper {
        max-width: 270px;
        margin-right: 0;
    }

    .about-section .section-content {
        gap: 70px;
        flex-direction: column-reverse;
    }

    .about-section .about-image-wrapper .about-image {
        width: 100%;
        height: 100%;
        max-width: 250px;
        aspect-ratio: 1;
    }

    .course-section .course-list {
        gap: 30px;
    }

    .course-section .course-list .course-item {
        width: calc(100% / 2 - 30px);
    }

    .course-section .course-list .course-item .course-image {
        max-width: 200px;
    }

    .gallery-section .gallery-list {
        gap: 30px;
    }

    .gallery-section .gallery-list .gallery-item  {
        width: calc(100% / 2 - 30px);
    }

    .contact-section .section-content {
        align-items: center;
        flex-direction: column-reverse;   
    }
}

/* Responsive media query code for max width 640px */
@media screen and (max-width: 640px) {
    .footer-section .section-content {
        flex-direction: column;
        gap: 20px;
    }
}




