:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-primary: #9b5de5;
    /* Purple */
    --color-secondary: #00bbf9;
    /* Blue */
    --font-cursive: 'Great Vibes', cursive;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
    position: relative;
}

/* Floating Sculptures */
.floating-sculptures {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sculpture {
    position: absolute;
    opacity: 0.3;
    filter: drop-shadow(0 0 30px rgba(155, 93, 229, 0.4));
}

.s1 {
    top: 10%;
    right: 5%;
    width: 300px;
    transform: rotate(15deg);
}

.s2 {
    top: 50%;
    left: -5%;
    width: 400px;
    transform: rotate(-10deg);
}

.s3 {
    bottom: -10%;
    right: 20%;
    width: 350px;
    transform: rotate(5deg);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-logo {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
}

/* Top Bar */
.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    z-index: 100;
    display: flex;
    align-items: center;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateY(-20px);
}

.header-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 187, 249, 0.5);
}

.artist-name {
    font-family: var(--font-cursive);
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(155, 93, 229, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 1) 100%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.studio-name {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
}

.slogan {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0;
}

.hero-buttons {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.btn-group-top {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    box-shadow: 0 10px 20px rgba(155, 93, 229, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(0, 187, 249, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid var(--color-secondary);
}

.btn-outline:hover {
    background: var(--color-secondary);
    color: #0a0a0a;
    transform: translateY(-3px);
}

/* About Section */
.about-section {
    padding: 6rem 5%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none;
    z-index: 1;
    position: relative;
}

.about-toggles {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    font-family: var(--font-main);
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.toggle-btn.active {
    color: #fff;
    font-weight: 600;
}

.toggle-btn::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.toggle-btn.active::after {
    width: 100%;
}

.about-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
    min-height: 500px;
}

.about-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.about-panel.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
}

.panel-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.panel-layout.reverse {
    grid-template-columns: 1.2fr 0.8fr;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    text-align: left;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.signature {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-primary);
    margin-top: 2rem;
    font-weight: 600;
}

/* Carousel */
.carousel-container {
    width: 100%;
    aspect-ratio: 4/5;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 5%;
    background: #050505;
    z-index: 1;
    position: relative;
}

.section-title {
    font-family: var(--font-cursive);
    font-size: 4rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #fff;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1/1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Stylish adjustments for first 4 */
#main-gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
}

#main-gallery-grid .gallery-item {
    aspect-ratio: auto;
}

#main-gallery-grid .large {
    grid-column: span 2;
    grid-row: span 2;
}

#main-gallery-grid .tall {
    grid-row: span 2;
}

.view-more-container {
    text-align: center;
    margin-top: 2rem;
}

.hidden-gallery {
    display: none;
    margin-top: 3rem;
}

.hidden-gallery.show {
    display: grid;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--color-secondary);
}

/* Confessions Section (Chat Bubbles) */
.confessions-section {
    padding: 6rem 5%;
    background: #020202;
    z-index: 1;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    max-width: 85%;
}

.chat-profile {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.chat-content {
    display: flex;
    flex-direction: column;
}

.chat-message.received {
    align-self: flex-start;
}

.chat-message:nth-child(even) {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message:nth-child(even) .chat-content {
    align-items: flex-end;
}

.bubble {
    background: var(--color-secondary);
    color: #fff;
    padding: 1.2rem 1.8rem;
    border-radius: 25px;
    font-size: 1.15rem;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 187, 249, 0.2);
    font-weight: 400;
}

.chat-message:nth-child(odd) .bubble {
    border-bottom-left-radius: 5px;
    background: linear-gradient(135deg, var(--color-secondary), #0088b5);
}

.chat-message:nth-child(even) .bubble {
    border-bottom-right-radius: 5px;
    background: linear-gradient(135deg, var(--color-primary), #6a35a6);
}

.sender-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
    margin-left: 1rem;
    font-weight: 300;
}

.chat-message:nth-child(even) .sender-name {
    margin-left: 0;
    margin-right: 1rem;
}

/* Typing Indicator */
.typing-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    align-self: flex-start;
    opacity: 0.7;
}

.typing-indicator {
    background: #222;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    border-bottom-left-radius: 5px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.typing-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Make hidden gallery grid visually distinct when showing */
.hidden-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 200px;
    gap: 1rem;
}

.hidden-gallery .gallery-item:nth-child(3n+1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Scroll Lock */
body.scroll-locked {
    overflow: hidden;
    height: 100vh;
}

/* Chat Timestamps */
.msg-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0 0.5rem;
}

.chat-message:nth-child(even) .msg-info {
    flex-direction: row-reverse;
}

.timestamp {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Booking Section */
.booking-section {
    padding: 8rem 5%;
    text-align: center;
    background: linear-gradient(to bottom, #020202, #0a0a0a);
    z-index: 1;
    position: relative;
}

.booking-section h2 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-cursive);
}

.sub-heading {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(155, 93, 229, 0.4);
}

/* Contact Section */
.contact-section {
    padding: 6rem 5% 4rem;
    text-align: center;
    background: #050505;
    z-index: 1;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-section h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    text-align: left;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-btn i {
    font-size: 1.5rem;
    color: var(--color-secondary);
    width: 30px;
    text-align: center;
}

.contact-btn:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(155, 93, 229, 0.4);
    border-color: transparent;
}

.divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    flex: 1;
}

.divider span {
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-booking {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.contact-booking h3 {
    font-weight: 300;
    color: #fff;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {

    .panel-layout,
    .panel-layout.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .carousel-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .btn-group-top {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .about-toggles {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        border-bottom: none;
    }

    .toggle-btn::after {
        display: none;
    }

    .toggle-btn {
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 30px;
        width: 100%;
        max-width: 300px;
    }

    .toggle-btn.active {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--color-secondary);
    }

    .header-branding {
        padding-top: 1rem;
    }

    #main-gallery-grid .large,
    #main-gallery-grid .tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contact-layout {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        align-items: center;
    }

    .contact-links {
        align-items: center;
    }

    .contact-btn {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-content h1.studio-name {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .hero-content p.slogan {
        font-size: 1.2rem;
    }
}

/* =========================================
   ACADEMY SECTION STYLES
   ========================================= */

.academy-header-section {
    padding: 8rem 5% 4rem;
    text-align: center;
    background: #000;
}

.academy-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-cursive);
}

.academy-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--color-primary);
    animation: bounce 2s infinite;
}

.academy-preview-section {
    padding: 2rem 5% 6rem;
    display: flex;
    justify-content: center;
    background: #000;
}

.preview-box {
    background: #0a0a0a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 600px;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(155, 93, 229, 0.3);
}

.preview-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.preview-box:hover .preview-image img {
    transform: scale(1.05);
}

.enroll-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-box:hover .enroll-overlay {
    opacity: 1;
}

.enroll-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--color-primary);
    border-radius: 30px;
    background: rgba(155, 93, 229, 0.2);
}

.preview-text {
    padding: 2rem;
    text-align: center;
}

.preview-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.preview-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.academy-course-details {
    padding: 2rem 5% 8rem;
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.course-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.course-text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-text-block h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.course-text-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.clean-list,
.styled-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.clean-list li {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.styled-list li {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.styled-list li::before {
    content: '►';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

.highlight-text {
    font-style: italic;
    color: var(--color-primary) !important;
    font-weight: 600;
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
    margin-top: 1rem;
}

.course-image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.course-image-block img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.academy-cta-area {
    margin-top: 8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.academy-inquiries-popups {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.inquiry-popup {
    background: #111;
    padding: 1rem 2rem;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.inquiry-popup i {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.inquiry-popup:hover {
    background: #222;
    border-color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 187, 249, 0.2);
}

@media (min-width: 900px) {
    .course-grid {
        gap: 8rem;
    }

    .course-text-block,
    .course-image-block {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .course-grid>div:nth-child(4n+1) {
        grid-column: 1 / 2;
    }

    .course-grid>div:nth-child(4n+2) {
        grid-column: 2 / 3;
    }

    .course-grid>div:nth-child(4n+3) {
        grid-column: 2 / 3;
    }

    .course-grid>div:nth-child(4n+4) {
        grid-column: 1 / 2;
        grid-row: span 1;
    }

    .course-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem 6rem;
    }
}

@media (max-width: 900px) {
    .academy-title {
        font-size: 2.8rem;
    }

    .academy-inquiries-popups {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
}