* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: #000000;
    color: #f0f8ff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.image-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.main-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.logo_image {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 100;
}

.desktop-nav {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 100;
}

.navi {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: white;
    text-align: center;
    border-radius: 50px;
}

.navi li a {
    display: inline-block;
    text-align: center;
    color: #000000;
    text-decoration: none;
    padding: 10px 35px;
    transition: background-color 0.3s ease;
}

.navi li a:hover {
    background-color: #FFD700;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 100;
}

.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 30px;
}

.hamburger-line {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
}

.mobile-nav-list li {
    margin: 20px 0;
}

.mobile-nav-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    padding: 15px 20px;
}

.mobile-nav-list a:hover {
    color: #FFE900;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 10;
}

.hero-text h1 {
    font-family: "Komu-B", Helvetica;
    font-weight: 400;
    font-size: 90px;
    letter-spacing: 0;
    line-height: normal;
    color: #FFF600;
    margin: 0px;
}

.hero-text p {
    font-family: "Montserrat", sans-serif;
    color: white;
    font-size: 24px;
}

.hero-button {
    display: inline-block;
    background-color: #FFE900;
    color: #000000;
    font-family: "Komu-B", Helvetica;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 40px;
    margin-top: 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-button:hover {
    background-color: #000000;
    color: #FFE900;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.featured-classes-section {
    padding: 0px;
    background-color: #000000;
}

.section-title {
    color: #FFE900;
    font-family: "komu-a", sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.class-card {
    background-color: #111111;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 233, 0, 0.2);
}

.class-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 3px;
}

.class-info {
    padding: 25px;
    text-align: center;
}

.class-name {
    color: #FFE900;
    font-family: "komu-a", sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
    text-transform: uppercase;
    margin-top: 0px;
}

.class-description {
    color: #f0f8ff;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.my-rectangle {
    width: 100%;
    height: 110px;
    background-color: #ffe900;
    margin: 50px 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.my-rectangle h2 {
    font-family: "Komu-B", Helvetica;
    font-weight: 400;
    color: #000000;
    font-size: 96px;
    letter-spacing: 0;
    line-height: normal;
    margin: 0;
}

.join-now-button {
    background-color: black;
    color: #ffe900;
    font-family: "Komu-B", Helvetica;
    font-size: 48px;
    font-weight: 400;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    flex-shrink: 0;
}

.join-now-button:hover {
    background-color: #000000;
    color: #FFE900;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.footer {
    background-color: #000000;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.logo-and-text {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 80px;
    height: auto;
}

.follow-us-text {
    font-family: "Komu-B", sans-serif;
    color: #FFE900;
    font-size: 24px;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.footer-right {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-right a {
    color: #ffffff;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #FFE900;
}

@media screen and (max-width: 1024px) {
    .classes-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .my-rectangle {
        padding: 25px 40px;
    }
}

@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .logo_image {
        width: 80px;
        height: 80px;
        top: 15px;
        left: 20px;
    }
    
    .hero-text h1 {
        font-size: 48px;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 18px;
        padding: 0 20px;
    }

    .hero-button {
        font-size: 20px;
        padding: 12px 30px;
        margin-top: 20px;
    }
    
    .featured-classes-section {
        padding: 60px 0;
    }
    
    .classes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .class-image {
        height: 400px;
    }
    
    .class-info {
        padding: 20px;
    }
    
    .my-rectangle {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
        text-align: center;
        gap: 20px;
    }

    .my-rectangle h2 {
        font-size: 36px;
        line-height: 1.2;
    }

    .join-now-button {
        font-size: 24px;
        padding: 15px 30px;
        width: auto;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-right {
        justify-content: center;
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .logo_image {
        width: 60px;
        height: 60px;
        top: 10px;
        left: 15px;
    }
    
    .hero-text {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 32px;
        line-height: 1.1;
    }

    .hero-text p {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .hero-button {
        font-size: 16px;
        padding: 10px 25px;
        margin-top: 15px;
    }
    
    .featured-classes-section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .classes-grid {
        gap: 20px;
    }
    
    .class-image {
        height: 400px;
    }
    
    .class-info {
        padding: 15px;
    }
    
    .class-description {
        font-size: 14px;
    }
    
    .my-rectangle {
        padding: 25px 15px;
        margin: 30px 0;
    }

    .my-rectangle h2 {
        font-size: 24px;
        line-height: 1.1;
    }

    .join-now-button {
        font-size: 18px;
        padding: 12px 25px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .follow-us-text {
        font-size: 20px;
    }
    
    .social-icons img {
        width: 28px;
        height: 28px;
    }
    
    .footer-right {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .footer-right a {
        font-size: 16px;
    }
}

@media screen and (max-width: 360px) {
    .logo_image {
        width: 50px;
        height: 50px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 14px;
    }
    
    .class-image {
        height: 400px;
    }
    
    .my-rectangle h2 {
        font-size: 20px;
    }

    .join-now-button {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-right a {
        font-size: 14px;
    }
}

.navi li a:focus,
.mobile-nav-list a:focus,
.hero-button:focus,
.join-now-button:focus,
.hamburger-btn:focus {
    outline: 2px solid #FFE900;
    outline-offset: 2px;
}
