:root {
    --primary-color: #063935;
    --text-light: #DDD;
    --text-white: #fff;
    --dark: #000;
}

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

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--dark);
    color: var(--text-light);
}

/* Navigation Styles */
.navbar {
    padding: 1.5rem 0;
    transition: background-color 0.3s ease;
}.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{
    color: #fff !important;
}

.navbar.scrolled {
    background-color: rgba(6, 57, 53, 0.9);
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: var(--text-white);
}

.navbar-brand:hover {
    color: var(--text-white);
}

.navbar-brand i {
    font-size: 1.8rem;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    color: var(--text-white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
    font-weight: 700;
}

.nav-link.active {
    color: var(--text-white);
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: var(--text-white);
}

.btn-book {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-book:hover {
    background-color: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(6, 57, 53, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .btn-book {
        display: inline-block;
        margin-top: 0.5rem;
    }
}

/* Hero Section with Video */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hero Content Styles */
.hero-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    letter-spacing: 0.5px;
}

.typing-container {
    margin-bottom: 2rem;
    height: 4.5rem;
}

.typing-text {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    display: inline-block;
    position: relative;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    border-right: none;
}

.typing-text::after {
    display: none;
}

.subtitle-container {
    height: 2rem;
    overflow: hidden;
    position: relative;
}

.typing-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0;
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: cycleText 12s infinite;
}

.typing-subtitle:nth-child(2) {
    animation-delay: 4s;
}

.typing-subtitle:nth-child(3) {
    animation-delay: 8s;
}

/* Classes Section Styles */
.classes-section {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    z-index: 2;
    padding: 0 2rem;
}

.classes-section h2 {
    text-align: center;
    color: var(--text-white);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.classes-slider {
    margin: 0 auto;
}

/* Base card styles */
.class-card {
    position: relative;
    height: 350px;
    width: 250px;
    margin: 0 15px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff !important; /* Force white background by default */
    backdrop-filter: blur(5px);
    padding: 12px;
    transition: all 0.3s ease;
    opacity: 0.6;
    cursor: pointer;
}

.class-card img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-radius: 15px;
}

.class-card-content {
    position: relative;
    padding: 15px;
    border-radius: 12px;
    height: calc(40% - 15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff !important; /* Force white background by default */
    transition: all 0.3s ease;
}

.class-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-align: center;
    color: #333; /* Default text color */
}

.class-card p {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin: 0;
    opacity: 0.9;
}

/* Individual card styles */
.hip-hop {
    background: #392d06;
}
.hip-hop .class-card-content {
    background: #063935;
}
.hip-hop h3 {
    color: #121212;
}

.ballet {
    background: #063935;
}
.ballet .class-card-content {
    background: #063935;
}
.ballet h3 {
    color: #121212;
}

.contemporary {
    background: #063935;
}
.contemporary .class-card-content {
    background: #063935;
}
.contemporary h3 {
    color: #121212;
}

.jazz {
    background: #063935;
}
.jazz .class-card-content {
    background: #063935;
}
.jazz h3 {
    color: #121212;
}

/* Active (center) card styles */
.slick-current .class-card {
    transform: scale(1.05);
    opacity: 1;
    transform: translateY(10px);
}

.slick-current .hip-hop,
.slick-current .hip-hop .class-card-content {
    background: #063935 !important;
}

.slick-current .ballet,
.slick-current .ballet .class-card-content {
    background: #063935 !important;
}

.slick-current .contemporary,
.slick-current .contemporary .class-card-content {
    background: #063935 !important;
}

.slick-current .jazz,
.slick-current .jazz .class-card-content {
    background: #063935 !important;
}

/* Text color for active cards */
.slick-current .class-card h3,
.slick-current .class-card p {
    color: #fff;
}

/* Inactive card styles */
.slick-slide {
    transform: scale(0.85);
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.slick-current {
    transform: scale(1);
    filter: brightness(1);
}

/* Updated Animations */
@keyframes typing {
    0%, 20% {
        width: 0;
    }
    40%, 60% {
        width: 100%;
    }
    80%, 100% {
        width: 0;
    }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--text-white) }
}

@keyframes cycleText {
    0%, 27% {
        opacity: 0;
        transform: translateY(20px);
    }
    33%, 60% {
        opacity: 1;
        transform: translateY(0);
    }
    67%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* About Page Styles */
.about-hero {
    background-color: var(--dark);
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-hero h1 {
    color: var(--text-white);
    font-weight: 700;
}

.about-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-container {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.about-image {
    position: relative;
    padding: 20px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary-color);
    transform: translate(15px, 15px);
    z-index: -1;
    border-radius: 10px;
}

.section-title {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.mission-card {
    background: rgba(6, 57, 53, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    background: rgba(6, 57, 53, 0.2);
}

.mission-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--text-light);
    margin: 0;
}

.team-card {
    background: rgba(6, 57, 53, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-image::before {
        transform: translate(10px, 10px);
    }
}

/* Events Page Styles */
.events-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./files/events-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    text-align: center;
}

/* Event Cards */
.event-card {
    background: rgba(6, 57, 53, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    z-index: 1;
}

.event-date .day {
    font-size: 24px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.event-date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-content h3 {
    color: var(--text-white);
    margin-bottom: 15px;
}

.event-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.event-info p {
    color: var(--text-light);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Gallery Styles */
.gallery-filter {
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--text-white);
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

.gallery-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 57, 53, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-overlay i {
    color: var(--text-white);
    font-size: 40px;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

/* Video Modal */
.modal-content {
    background: var(--dark);
}

.btn-close {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1;
    background-color: var(--text-white);
}

@media (max-width: 768px) {
    .gallery-filter {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* Courses Page Styles */
.courses-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./files/contemporary.jpg');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    text-align: center;
}

/* Schedule Table Styles */
.schedule-table {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.table {
    margin-bottom: 0;
    background: rgba(6, 57, 53, 0.1);
}

.table th {
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    padding: 15px;
    border: none;
}

.table td {
    padding: 15px;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Course Card Styles */
.course-card {
    background: rgba(6, 57, 53, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-duration {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.course-content {
    padding: 20px;
}

.course-content h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 15px;
    min-height: 2.8em;
    line-height: 1.4;
}

.course-info {
    margin-bottom: 15px;
}

.fees {
    color: #C8A97E;
    font-weight: 600;
    font-size: 1.1rem;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.course-features li {
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.course-features i {
    color: #C8A97E;
    font-size: 1rem;
}

.course-footer {
    text-align: center;
    margin-top: auto;
}

.audition-tag {
    display: inline-block;
    background: rgba(200, 169, 126, 0.2);
    color: #C8A97E;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .course-content h3 {
        font-size: 1.1rem;
        min-height: 3em;
    }
}

@media (max-width: 991.98px) {
    .course-content h3 {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .course-card {
        margin-bottom: 30px;
    }
    
    .course-image {
        height: 220px;
    }
}

/* Contact Info Styles */
.contact-info {
    background: rgba(6, 57, 53, 0.1);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-details p {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .table {
        font-size: 14px;
    }
    
    .course-card {
        margin-bottom: 30px;
    }
}

/* Booking Page Styles */
.booking-section {
    min-height: 100vh;
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('./files/booking-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.booking-container {
    background: rgba(6, 57, 53, 0.2);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Booking Info Styles */
.booking-info {
    background: rgba(6, 57, 53, 0.5);
    padding: 40px;
}

.info-content h2 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.booking-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: #C8A97E;
}

.feature-item span {
    color: var(--text-white);
    font-size: 1.1rem;
}

.contact-info h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: #C8A97E;
}

/* Booking Form Styles */
.booking-form {
    padding: 40px;
    background: rgba(0, 0, 0, 0.3);
}

.booking-form h3 {
    color: var(--text-white);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    padding: 12px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #C8A97E;
    box-shadow: none;
    color: var(--text-white);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

select.form-control option {
    background: var(--primary-color);
    color: var(--text-white);
}

textarea.form-control {
    resize: none;
}

.btn-book {
    margin-top: 1rem;
    padding: 12px;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .booking-container {
        margin: 0 15px;
    }
    
    .booking-info, 
    .booking-form {
        padding: 30px;
    }
    
    .info-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .booking-section {
        padding: 80px 0;
    }
    
    .booking-info {
        text-align: center;
    }
    
    .feature-item {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
}

/* FAQ Section Styles */
.faq-section {
    background: rgba(6, 57, 53, 0.1);
}

.accordion-item {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.accordion-button {
    background: rgba(6, 57, 53, 0.2);
    color: var(--text-white);
    font-size: 1.1rem;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(6, 57, 53, 0.4);
    color: var(--text-white);
    box-shadow: none;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.accordion-body {
    background: rgba(6, 57, 53, 0.1);
    color: var(--text-light);
    padding: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-number {
    background: var(--primary-color);
    color: var(--text-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-icon {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .accordion-button {
        font-size: 1rem;
        padding: 1rem;
    }

    .accordion-body {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
}

/* Payment Section Styles */
.payment-section {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(6, 57, 53, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.amount-display {
    text-align: center;
    margin-bottom: 2rem;
}

.amount {
    font-size: 1.5rem;
    color: #C8A97E;
    font-weight: 600;
}

.qr-container {
    text-align: center;
    margin-bottom: 2rem;
}

.qr-code {
    max-width: 250px;
    border-radius: 10px;
    padding: 10px;
    background: white;
}

.preview-section {
    text-align: center;
}

.preview-image {
    max-width: 300px;
    margin: 1rem auto;
    border-radius: 10px;
}

/* Success Message Styles */
.success-message {
    padding: 3rem;
    background: rgba(6, 57, 53, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-light);
}

/* Booking Steps Styles */
.step-progress {
    position: relative;
    margin-bottom: 60px;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 30px;
    z-index: 1;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-light);
}

.step.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 0;
}

.progress-bar {
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.button-group {
    display: flex;
    gap: 15px;
}

.button-group button {
    flex: 1;
}

.confirmation-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.detail-item {
    margin-bottom: 15px;
}

.detail-item label {
    color: var(--text-light);
    margin-bottom: 5px;
    display: block;
}

.detail-item p {
    color: var(--text-white);
    margin: 0;
    font-size: 1.1rem;
}

/* Logo styles */
.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 8px;
}

@media (max-width: 991.98px) {
    .navbar-logo {
        height: 35px;
    }
}

/* Keep existing desktop styles and add mobile-specific styles */
@media (max-width: 767.98px) {
    .hero-content {
        width: 95%;
        top: 35%;
    }

    .typing-container {
        height: auto;
        min-height: 3rem;
        margin-bottom: 1.5rem;
    }

    .typing-text {
        font-size: 2rem;
        line-height: 1.3;
        white-space: normal; /* Allow text wrapping on mobile */
        padding: 0 10px;
    }

    .subtitle-container {
        height: 1.6rem;
    }

    .typing-subtitle {
        font-size: 1.2rem;
        transform: translateY(15px);
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 375px) {
    .typing-text {
        font-size: 1.8rem;
    }

    .typing-subtitle {
        font-size: 1rem;
    }
}

/* Video Card Styles */
.video-card {
    background: rgba(6, 57, 53, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ratio-9x16 {
    --bs-aspect-ratio: calc(16 / 9 * 100%);
    height: 560px;
}

@media (max-width: 991.98px) {
    .ratio-9x16 {
        height: 480px;
    }
}

@media (max-width: 767.98px) {
    .ratio-9x16 {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .ratio-9x16 {
        height: 360px;
    }
}
