:root {
    --primary: #c1121f;
    --secondary: #003049;
    --accent1: #fdf0d5;
    --accent2: #669bbc;
    --dark: #003049;
    --light: #fdf0d5;
    --shadow: 0 5px 15px rgba(193, 18, 31, 0.15);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Muli', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background-color: #f9fbfd;
    line-height: 1.7;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
    margin-bottom: 1rem;
    font-weight: 600;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--accent1);
    border-radius: 2px;
}
.section-title p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: #78909c;
    font-weight: 400;
}
/* Topbar Styles */
.topbar {
    background-color: var(--primary);
    color: var(--accent1);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
}
.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-contact {
    display: flex;
    align-items: center;
}
.topbar-contact span {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 0.9rem;
}
.topbar-contact i {
    margin-right: 8px;
    color: var(--accent1);
}
.topbar-contact a {
    text-decoration: none;
    color: var(--accent1);
}
.topbar-social {
    display: flex;
    gap: 12px;
}
.topbar-social a {
    color: var(--accent1);
    font-size: 1rem;
    transition: color 0.3s ease;
}
.topbar-social a:hover {
    color: var(--accent1);
}
.topbar-hidden {
    transform: translateY(-100%);
}
/* Header */
header {
    background-color: var(--secondary);
    box-shadow: 0 2px 10px rgba(193, 18, 31, 0.1);
    position: fixed;
    width: 100%;
    top: 40px;
    left: 0;
    z-index: 1000;
    transition: top 0.3s ease;
	color: var(--accent1);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}
.logo {
    display: flex;
    align-items: center;
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent1);
}
.logo i {
    font-size: 2.5rem;
    margin-right: 12px;
    color: var(--primary);
}
nav ul {
    display: flex;
    list-style: none;
    margin-bottom: 0;
}
nav ul li {
    margin-left: 28px;
}
nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}
nav ul li a:hover {
    color: var(--primary);
}
nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent1);
    transition: width 0.3s ease;
}
nav ul li a:hover:after {
    width: 100%;
}
nav ul li a.active {
    color: var(--accent1);
}
nav ul li a.active:after {
    width: 100%;
}
/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
    transition: all 0.3s ease;
    z-index: 1100;
}
.mobile-menu-btn:hover {
    transform: scale(1.1);
}
/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 40px;
    right: -300px;
    width: 300px;
    height: calc(100vh - 40px);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    border-radius: 20px 0 0 20px;
}
.mobile-nav.active {
    right: 0;
}
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 30px;
}
.mobile-nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent1);
}
.mobile-nav-logo span {
    font-size: 1.4rem;
}
.mobile-nav-logo i {
    font-size: 2.5rem;
    margin-right: 10px;
    color: var(--accent1);
}
.mobile-nav-close {
    background: none;
    border: none;
    color: var(--accent1);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.mobile-nav-close:hover {
    transform: rotate(90deg);
}
.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.mobile-nav ul li {
    margin: 0;
}
.mobile-nav ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--accent1);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.mobile-nav ul li a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: left 0.3s ease;
    border-radius: 15px;
}
.mobile-nav ul li a:hover {
    color: var(--accent2);
}
.mobile-nav ul li a:hover:before {
    left: 0;
}
.mobile-nav ul li a i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--accent1);
}
.mobile-nav ul li a.active {
    background: rgba(255,255,255,0.2);
    color: var(--accent1);
}
.mobile-nav ul li a.active i {
    color: white;
}
.mobile-nav-footer {
    margin-top: auto;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}
.mobile-nav-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}
.mobile-nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--accent1);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.mobile-nav-social a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}
/* Overlay */
.overlay {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: calc(100% - 40px);
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.overlay.active {
    opacity: 1;
    visibility: visible;
}
/* Hero Section with Owl Carousel */
.hero {
    padding: 130px 0 0px;
    position: relative;
    overflow: hidden;
}
.hero-carousel {
    position: relative;
}
.hero-slide {
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 0 0 50% 50% / 0 0 15% 15%;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-content h1 {
    font-size: 3.5rem;
    color: var(--accent1);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 1.4rem;
    margin: 0 auto 30px;
    color: var(--accent1);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 400;
}
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent1);
    color: var(--dark);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(253, 240, 213, 0.3);
    border: none;
    cursor: pointer;
    font-family: 'Muli', sans-serif;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(253, 240, 213, 0.4);
}
.btn-secondary {
    background: var(--accent2);
    margin-left: 15px;
    box-shadow: 0 5px 15px rgba(102, 155, 188, 0.3);
}
.btn-secondary:hover {
    box-shadow: 0 8px 20px rgba(102, 155, 188, 0.4);
}
/* Owl Carousel Custom Styles */
.owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}
.owl-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
}
.owl-prev, .owl-next {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(255, 183, 77, 0.6) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}
.owl-prev {
    left: 30px;
}
.owl-next {
    right: 30px;
}
.owl-prev:hover, .owl-next:hover {
    background: var(--primary);
}
/* About Section */
.about {
    background-color: var(--light);
}
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}
.about-text {
    flex: 1;
}
.about-text h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
}
.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #546e7a;
    font-size: 1rem;
}
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}
.feature {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #f0f4f8;
}
.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(193, 18, 31, 0.2);
}
.feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}
.about-image {
    flex: 1;
    position: relative;
}
.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.about-image .shape {
    position: absolute;
    background: var(--secondary);
    width: 150px;
    height: 150px;
    border-radius: 30px;
    bottom: -30px;
    right: -30px;
    z-index: -1;
    opacity: 0.6;
}
/* Classes Section */
.classes {
    background-color: white;
    padding: 80px 0;
}
.classes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.class-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #f0f4f8;
}
.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(193, 18, 31, 0.2);
}
.class-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.class-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.class-card:hover .class-img img {
    transform: scale(1.05);
}
.class-age {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 3px 8px rgba(193, 18, 31, 0.3);
}
.class-content {
    padding: 25px;
}
.class-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}
.class-content p {
    margin-bottom: 20px;
    color: #546e7a;
    line-height: 1.6;
}
.class-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.class-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}
/* Class Details Section */
.class-details {
    background-color: var(--light);
}
.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
}
.tabs {
    display: flex;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 30px;
    overflow-x: auto;
    border-radius: 0 0 15px 15px;
}
.tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 15px 15px 0 0;
}
.tab-btn:hover {
    color: var(--primary);
    background-color: rgba(253, 240, 213, 0.1);
}
.tab-btn.active {
    color: var(--primary);
    background-color: rgba(253, 240, 213, 0.15);
}
.tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px 2px 0 0;
}
.tab-content {
    position: relative;
}
.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}
.tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.class-detail-content {
    display: flex;
    gap: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid #f0f4f8;
}
.class-detail-image {
    flex: 1;
    min-width: 300px;
}
.class-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.class-detail-text {
    flex: 2;
    padding: 30px;
}
.class-detail-text h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.class-detail-text p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #546e7a;
    font-size: 1rem;
}
.class-detail-text h4 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin: 25px 0 15px;
}
.class-detail-text ul {
    list-style: none;
    margin-bottom: 25px;
}
.class-detail-text ul li {
    padding: 8px 0;
    border-bottom: 1px dashed #fff3e0;
    display: flex;
}
.class-detail-text ul li strong {
    min-width: 150px;
    color: var(--dark);
    font-weight: 600;
}
.focus-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.focus-item {
    display: flex;
    align-items: center;
    background: var(--light);
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #f0f4f8;
}
.focus-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(193, 18, 31, 0.15);
}
.focus-item i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-right: 15px;
}
.focus-item span {
    font-weight: 600;
    color: var(--dark);
}
/* Class Details Tabs */
.class-tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 15px 15px 0 0;
}

.class-tab-btn:hover {
    color: var(--primary);
    background-color: rgba(255, 183, 77, 0.1);
}

.class-tab-btn.active {
    color: var(--primary);
    background-color: rgba(255, 183, 77, 0.15);
}

.class-tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent1);
    border-radius: 2px 2px 0 0;
}

/* Programs Tabs */
.programs-tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-radius: 15px 15px 0 0;
}

.programs-tab-btn:hover {
    color: var(--secondary);
    background-color: rgba(66, 165, 245, 0.1);
}

.programs-tab-btn.active {
    color: var(--secondary);
    background-color: rgba(66, 165, 245, 0.15);
}

.programs-tab-btn.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent2);
    border-radius: 2px 2px 0 0;
}
/* Teachers Section */
.teachers {
    background-color: var(--light);
}
.teachers-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.teacher-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f4f8;
}
.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(193, 18, 31, 0.2);
}
.teacher-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}
.teacher-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teacher-img:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
}
.teacher-content {
    padding: 25px;
}
.teacher-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark);
}
.teacher-content p {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}
.teacher-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.teacher-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--light);
    color: var(--dark);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.teacher-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}
/* Gallery Section */
.gallery {
    background-color: white;
}
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item {
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 1px solid #f0f4f8;
    transition: all 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(193, 18, 31, 0.2);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    color: white;
    font-size: 2rem;
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Testimonials Section with Owl Carousel */
.testimonials {
    background-color: var(--light);
}
.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}
.testimonial-item {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    margin: 20px;
    border: 1px solid #f0f4f8;
}
.testimonial-item:before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
}
.testimonial-item p {
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
    color: #546e7a;
    font-size: 1.1rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}
.author-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary);
}
.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-align: left;
    color: var(--dark);
}
.author-info p {
    margin: 0;
    color: var(--primary);
    text-align: left;
    font-weight: 600;
}
/* Testimonials Owl Carousel Custom Styles */
.testimonials-carousel .owl-dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 30px;
}
.testimonials-carousel .owl-dot {
    background: rgba(193, 18, 31, 0.3);
}
.testimonials-carousel .owl-dot.active {
    background: var(--primary);
}
.testimonials-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}
.testimonials-carousel .owl-prev,
.testimonials-carousel .owl-next {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.testimonials-carousel .owl-prev {
    left: -60px;
}
.testimonials-carousel .owl-next {
    right: -60px;
}
.testimonials-carousel .owl-prev:hover,
.testimonials-carousel .owl-next:hover {
    background: var(--secondary);
    transform: scale(1.1);
}
/* Events Section Styles */
.events {
    background-color: var(--light);
}
.events-container {
    max-width: 1200px;
    margin: 0 auto;
}
.event-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #f0f4f8;
    margin: 15px;
    position: relative;
}
.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 112, 67, 0.2);
}
.event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent1);
    color: var(--dark);
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 183, 77, 0.3);
    z-index: 2;
}
.event-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}
.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 2px;
}
.event-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.event-card:hover .event-img img {
    transform: scale(1.05);
}
.event-content {
    padding: 25px 25px 25px 90px;
}
.event-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
}
.event-content p {
    margin-bottom: 0;
    color: #546e7a;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Events Owl Carousel Custom Styles */
.events-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
}
.events-carousel .owl-prev,
.events-carousel .owl-next {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.events-carousel .owl-prev {
    left: -25px;
}
.events-carousel .owl-next {
    right: -25px;
}
.events-carousel .owl-prev:hover,
.events-carousel .owl-next:hover {
    background: var(--accent1);
    color: white;
}
.events-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}
.events-carousel .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255, 112, 67, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}
.events-carousel .owl-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}
/* FAQ Section Styles with Bootstrap Customization */
.faq {
    background-color: var(--light);
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
/* Bootstrap Accordion Custom Styles */
.accordion-button {
    background-color: white !important;
    color: var(--dark) !important;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: none !important;
    border: none !important;
    padding: 20px 25px;
    transition: all 0.3s ease;
}
.accordion-button:not(.collapsed) {
    background-color: rgba(193, 18, 31, 0.1) !important;
    color: var(--primary) !important;
}
.accordion-button:focus {
    box-shadow: none !important;
    border-color: rgba(193, 18, 31, 0.3) !important;
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c1121f'%3e%3cpath fill-rule='evenodd' d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e") !important;
    transition: transform 0.3s ease;
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c1121f'%3e%3cpath fill-rule='evenodd' d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e") !important;
    transform: rotate(0deg);
}
.accordion-item {
    border: 1px solid #f0f4f8 !important;
    border-radius: 15px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}
.accordion-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(193, 18, 31, 0.15);
}
.accordion-body {
    color: #546e7a;
    line-height: 1.7;
    padding: 20px 25px;
    background-color: white;
}
.accordion-item:first-of-type .accordion-button {
    border-radius: 15px 15px 0 0 !important;
}
.accordion-item:last-of-type {
    border-radius: 15px !important;
}
.accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 15px !important;
}
.accordion-item:last-of-type .accordion-collapse {
    border-radius: 0 0 15px 15px !important;
}
/* Contact Section */
.contact {
    background-color: white;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contact-info {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    height: fit-content;
    border: 1px solid #f0f4f8;
}
.contact-info h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 25px;
}
.contact-info a {
    text-decoration: none;
    color: #546e7a;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}
.contact-item p {
    line-height: 1.6;
    color: #546e7a;
}
.contact-form {
    background: var(--light);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0f4f8;
}
.contact-form h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 25px;
}
.contact-form .btn {
    background: var(--dark);
    color: var(--accent1);
}
.form-group {
    margin-bottom: 20px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--accent1);
    border-radius: 10px;
    background: white;
    font-family: 'Muli', sans-serif;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent1);
    box-shadow: 0 3px 15px rgba(193, 18, 31, 0.2);
}
.form-group textarea {
    resize: vertical;
    min-height: 150px;
}
/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 70px 0 20px;
    border-top: 3px solid var(--secondary);
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--accent1);
    position: relative;
    font-family: 'Nunito', sans-serif;
}
.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent1);
    border-radius: 10px;
}
.footer-col p {
    margin-bottom: 20px;
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.95rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 15px;
}
.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--accent1);
}
.footer-links i {
    margin-right: 10px;
    color: var(--accent1);
}
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}
.copyright a {
    text-decoration: none;
    color: white;
}
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(193, 18, 31, 0.3);
}
.scroll-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 48, 73, 0.4);
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
/* Map Section Styles */
.map-section {
    padding: 0;
    position: relative;
}
.map-container {
    position: relative;
    width: 100%;
    height: 500px;
}
.map-info {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10;
    max-width: 350px;
}
.map-info-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Nunito', sans-serif;
}
.map-info-content p {
    margin-bottom: 25px;
    color: #546e7a;
    line-height: 1.6;
}
.map-directions .btn {
    display: inline-flex;
    align-items: center;
    background: var(--accent1);
    color: var(--dark);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(253, 240, 213, 0.3);
}
.map-directions .btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(193, 18, 31, 0.4);
}
.map-directions .btn i {
    margin-right: 10px;
}
.map-iframe {
    width: 100%;
    height: 100%;
}
.map-iframe iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Legal texts styles*/
.legal-text h1 {
    font-size: 1.5rem;
}
.legal-text h2 {
    font-size: 1.3rem;
}
/* Responsive adjustments for map section */
@media (max-width: 992px) {
    .map-info {
        left: 30px;
        max-width: 300px;
        padding: 25px;
    }
    .map-info-content h3 {
        font-size: 1.6rem;
    }
}
@media (max-width: 768px) {
    .map-container {
        height: 400px;
    }
    .map-info {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        max-width: 100%;
        border-radius: 0;
        padding: 20px;
    }
    .map-info-content {
        text-align: center;
    }
    .map-directions .btn {
        margin: 0 auto;
    }
}
@media (max-width: 576px) {
    .map-container {
        height: 350px;
    }
}
/* Responsive */
@media (max-width: 992px) {
    .topbar {
        display: none !important;
    }
    header {
        top: 0 !important;
    }
    .hero {
        padding: 0;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }  
    .mobile-nav {
        top: 0 !important;
    }
    
    .overlay {
        top: 0 !important;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    .about-content {
        flex-direction: column;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .testimonials-carousel .owl-prev {
        left: -40px;
    }
    
    .testimonials-carousel .owl-next {
        right: -40px;
    }
    
    .class-detail-content {
        flex-direction: column;
    }
    
    .class-detail-image {
        min-height: 250px;
    }
}
@media (max-width: 768px) {
    .topbar-contact {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .topbar-contact span {
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .topbar-social {
        margin-top: 10px;
    }
    
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .owl-prev {
        left: 15px;
    }
    
    .owl-next {
        right: 15px;
    }
    
    .testimonials-carousel .owl-nav {
        display: none;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .class-detail-text {
        padding: 20px;
    }
    
    .class-detail-text h3 {
        font-size: 1.4rem;
    }
    
    .class-detail-text h4 {
        font-size: 1.1rem;
    }
    
    .focus-areas {
        grid-template-columns: 1fr;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .hero {
        padding: 60px 0 0 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .class-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .testimonial-item {
        padding: 25px;
        margin: 10px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .author-info h4,
    .author-info p {
        text-align: center;
    }
    
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}