/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: #1a252f;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    background-color: #1a252f;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo img {
    height: 40px;
}
.logo span{
    color: #c6c8ff;
    font-size: 18px; 
    font-weight: 700;
}
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    display: block;
}

.nav {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background-color: #2c3e50;
    transition: right 0.3s ease;
}

.nav.active {
    right: 0;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    padding: 60px 20px;
    gap: 20px;
}

.nav-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    display: block;
    padding: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-list a:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    .nav {
        right: -250px;
    }
    .nav.active {
        right: 0;
        top: 70px;
    }
}

@media (min-width: 769px) {
    .nav {
        right: 0;
        width: 200px;
        padding-top: 70px;
    }
    .header .container {
        justify-content: flex-start;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    margin-top: 60px;
    min-height: 100%;
}

.slider {
    position: relative;
    height: 100%;
}

.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 16px;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 10px;
}

.hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #1abc9c;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    border-radius: 5px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ffffff00;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #1abc9c;
}

@media (max-width: 768px) {
    .hero {
        height: 400px;
    }
    .hero-overlay h1 {
        font-size: 24px;
    }
    .hero-buttons {
        flex-direction: column;
    }
}

/* About Section */
.about {
    padding: 50px 0;
    background-color: #ffffff00;
}

.about h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

.about p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.about-card {
    background-color: #ffffff14;
    padding: 20px;
    text-align: center;
    /* border: 1px solid #ddd; */
}

.about-card.offset {
    transform: translate(20px, 20px);
}

.about-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 10px;
}
.about-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.about-stats {
    display: flex;
    margin-top: 80px;
    justify-content: center;
    gap: 20px;
    align-items: center;
}
.about-stats li{
    font-size: 20px; 
}
.about-stats img{
    width: 100%;
    flex: 1;
    max-width: 600px;
}
.about-stats ul {
    flex: 1;
    list-style: none;
    font-size: 14px;
}

.about-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1abc9c;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-card.offset {
        transform: none;
    }
    .about-stats {
        flex-direction: column;
        align-items: center;
    }
}

/* Services Section */
.services {
    padding: 50px 0;
    background-color: #ffffff00;
}

.services h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background-color: #ffffff00;
    padding: 0 0 10px;
    text-align: center;
    /* border: 1px solid #ddd; */
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 10px;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.service-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1abc9c;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border-radius: 5px;
}

.service-card.empty {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Popular Courses Section */
.popular-courses {
    padding: 50px 0;
    background-color: #ffffff00;
}

.popular-courses h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.course-card {
    background-color: #ffffff47;
    padding: 0 0 20px;
    text-align: center;
    /* border: 1px solid #ddd; */
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}

.course-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 16px;
    color: #1abc9c;
    margin-bottom: 5px;
}

.course-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1abc9c;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* Instructors Section */
.instructors {
    padding: 50px 0;
    background-color: #ffffff00;
}

.instructors h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.instructor-card {
    background-color: #ffffff00;
    padding: 20px;
    gap: 20px;
    align-items: center;
    display: flex
;
    text-align: center;
    /* border: 1px solid #ddd; */
}

.instructor-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.instructor-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

@media (max-width: 768px) {
    .instructors-grid {
        grid-template-columns: 1fr;
    }
}

/* Accordion Section */
.accordion-section {
    padding: 50px 0;
    background-color: #ffffff00;
}

.accordion-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    background-color: #1abc9c;
    color: #ffffff;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    cursor: pointer;
}

.accordion-content {
    display: none;
    background-color: #689d92;
    padding: 15px;
    border: 1px solid #ddd;
}

.accordion-content.active {
    display: block;
}

/* Events Section */
.events {
    padding: 50px 0;
    background-color: #ffffff00;
}

.events h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.event-card {
    background-color: #ffffff1f;
    padding: 0 0 20px;
    text-align: center;
    /* border: 1px solid #ddd; */
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}

.event-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.event-card p {
    font-size: 14px;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 50px 0;
    background-color: #ffffff00;
}

.testimonials h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-card {
    background-color: #ffffff2e;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    text-align: center;
    /* border: 1px solid #ddd; */
}
.testimonial-card {
    background-color: #ffffff00;
    padding: 20px;
    width: 300px;
    text-align: center;
    border: 1px solid #ddd;
}

.testimonial-card p {
    font-size: 16px;
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

@media (max-width: 768px) {
    .testimonials-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* Contact Section */
.contact {
    padding: 50px 0;
    background-color: #ffffff00;
}

.contact h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

.contact-info {
    text-align: center;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1abc9c;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    border-radius: 5px;
    margin: 0 auto;
    display: block;
    width: fit-content;
}

/* Footer */
.footer {
    background-color: #1a252f;
    color: #ffffff;
    padding: 50px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-column p {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 5px;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.gallery-images {
    display: flex;
    gap: 10px;
}

.gallery-images img {
    width: 50px;
    height: 50px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    width: 200px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: #1abc9c;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    margin-bottom: 10px;
}

.policy-links {
    list-style: none;
    display: flex;
    margin-bottom: 40px;
    justify-content: center;
    gap: 10px;
}
.testimonials-grid {
    display: flex
;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}
.policy-links a {
    font-size: 14px;
    /* margin-bottom: 80px; */
    color: #fff;
    text-decoration: none;
}
@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        gap: 20px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input {
        width: 100%;
    }
}
header,
section,
footer{
    padding-right: 200px!important;
}
html,body{
    display: flex;
    flex-direction: column;
    height: 100%;
}
a{
    text-decoration: none;
}
.f{
    display: flex;
}
.f-col{
   flex-direction: column;
}
.f-wrap{
    display: flex;
    flex-wrap: wrap;
}
.f-star{
    align-items:flex-start
}
.b.f {
    display: flex
;

    justify-content: space-around;
}
@media screen and (max-width:768px) {
    header, section, footer {
        padding-right: 0px !important;
    }
    .f{
       flex-wrap: wrap;
    }
    .map img{
width: 100%;
}
.map p{
width: 100%;
}
.b.f{
    flex-direction: column;
}
}
.tyty p, .tyty h2,.tyty h3, .tyty h4{
    text-align: start;
    margin-bottom: 20px;
}