/* ==================== RESET & ROOT VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a1a;
    --accent-color: #ffd700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f5f5f5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ==================== NAVIGATION ==================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-text .sub {
    font-size: 0.7rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26,26,26,0.85), rgba(255,107,53,0.7)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%231a1a1a" width="1200" height="800"/><path fill="%23ff6b35" opacity="0.2" d="M0 400 Q300 200 600 400 T1200 400 V800 H0 Z"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero h1 .highlight {
    color: var(--accent-color);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,107,53,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* ==================== COMMON SECTION STYLES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255,107,53,0.2);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ==================== PROGRAMS SECTION ==================== */
.programs {
    padding: 5rem 2rem;
    background: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: scale(1.05);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(255,107,53,0.8));
    z-index: 1;
}

.program-card.workshop {
    background: linear-gradient(135deg, #000000, #000000), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%23c41e3a" width="400" height="400"/><circle cx="200" cy="200" r="150" fill="%23ffd700" opacity="0.1"/></svg>');
    background-size: cover;
}

.program-card.refresher {
    background: linear-gradient(135deg, #1a1a1a, #4a4a4a),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%231a1a1a" width="400" height="400"/><circle cx="200" cy="200" r="150" fill="%23ffd700" opacity="0.1"/></svg>');
    background-size: cover;
}

.program-card.security {
    background: linear-gradient(135deg,#1a1a1a, #4a4a4a),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%23ffd700" width="400" height="400"/><circle cx="200" cy="200" r="150" fill="%23ff6b35" opacity="0.1"/></svg>');
    background-size: cover;
}

.program-card.championship {
    background: linear-gradient(135deg, #2c5f2d, #1a3a1b),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%232c5f2d" width="400" height="400"/><circle cx="200" cy="200" r="150" fill="%23ffd700" opacity="0.1"/></svg>');
    background-size: cover;
}

.program-card.national {
    background: linear-gradient(135deg, #2c5f2d, #1a3a1b),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400"><rect fill="%232c5f2d" width="400" height="400"/><circle cx="200" cy="200" r="150" fill="%23ffd700" opacity="0.1"/></svg>');
    background-size: cover;
}
.program-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: var(--text-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.program-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.program-content p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ==================== INSTRUCTORS SECTION ==================== */
.instructors {
    padding: 5rem 2rem;
    background-color: #f8f9fa;
    text-align: center;
}

.instructors h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.instructors .section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Carousel Container */
.instructor-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Carousel Track */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    padding: 20px 0;
}

/* Instructor Card with Unique Background Colors */
.instructor-card {
    min-width: calc(25% - 15px); /* 4 cards on desktop */
    flex: 0 0 calc(25% - 15px);
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Background colors for each card */
.instructor-card:nth-child(1) {
    background: linear-gradient(135deg, #0e0400, #ff8e53);
    color: white;
}

.instructor-card:nth-child(2) {
    background: linear-gradient(135deg, #ff6b35, #0e0400);
    color: white;
}

.instructor-card:nth-child(3) {
    background: linear-gradient(135deg, #0e0400, #ff8e53);
    color: white;
}

.instructor-card:nth-child(4) {
    background: linear-gradient(135deg, #ff6b35, #0e0400);
    color: white;
}

.instructor-card:nth-child(5) {
    background: linear-gradient(135deg, #0e0400, #ff8e53);
    color: white;
}

.instructor-card:nth-child(6) {
    background: linear-gradient(135deg, #ff6b35, #0e0400);
    color: white;
}

.instructor-card:nth-child(7) {
    background: linear-gradient(135deg, #0e0400, #ff8e53);
    color: white;
}

.instructor-card:nth-child(8) {
    background: linear-gradient(135deg, #ff6b35, #0e0400);
    color: white;
}

.instructor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Instructor Image with White Border */
.instructor-image {
    width: 230px;
    height: 230px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 25px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.instructor-card:hover .instructor-image {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Instructor Info */
.instructor-info {
    text-align: center;
    position: relative;
    z-index: 2;
}

.instructor-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.instructor-info p {
    font-size: 1rem;
    margin: 8px 0;
    line-height: 1.4;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Pattern overlay for visual interest */
.instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.05"><circle cx="20" cy="20" r="2" fill="white"/><circle cx="80" cy="30" r="2" fill="white"/><circle cx="40" cy="80" r="2" fill="white"/><circle cx="70" cy="70" r="2" fill="white"/><circle cx="10" cy="50" r="2" fill="white"/></svg>');
    pointer-events: none;
}

/* ==================== RESPONSIVE INSTRUCTOR CAROUSEL ==================== */
@media (max-width: 1024px) {
    .instructor-card {
        min-width: calc(33.333% - 15px); /* 3 cards on tablet */
        flex: 0 0 calc(33.333% - 15px);
    }
    
    .instructor-image {
        width: 160px;
        height: 160px;
    }
    
    .instructor-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .instructor-card {
        min-width: calc(50% - 15px); /* 2 cards on small tablets */
        flex: 0 0 calc(50% - 15px);
        padding: 25px 15px;
    }
    
    .instructor-image {
        width: 170px;
        height: 170px;
        border-width: 4px;
    }
    
    .instructor-info h3 {
        font-size: 1.2rem;
    }
    
    .instructor-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .instructor-card {
        min-width: calc(100% - 15px); /* 1 card on mobile */
        flex: 0 0 calc(100% - 15px);
        padding: 30px 20px;
    }
    
    .instructor-image {
        width: 170px;
        height: 170px;
    }
    
    .instructors {
        padding: 3rem 1rem;
    }
    
    .instructor-carousel {
        padding: 0 15px;
    }
}

/* ==================== INSTRUCTOR CAROUSEL NAVIGATION ==================== */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.carousel-prev:active,
.carousel-next:active {
    transform: translateY(0);
}

/* Ensure carousel track is properly aligned */
.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    padding: 10px 0;
}

/* Make sure instructor cards have proper sizing */
.instructor-card {
    min-width: calc(25% - 15px);
    flex: 0 0 calc(25% - 15px);
}

/* Responsive adjustments for carousel */
@media (max-width: 1024px) {
    .instructor-card {
        min-width: calc(33.333% - 15px);
        flex: 0 0 calc(33.333% - 15px);
    }
}

@media (max-width: 768px) {
    .instructor-card {
        min-width: calc(50% - 15px);
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .instructor-card {
        min-width: calc(100% - 15px);
        flex: 0 0 calc(100% - 15px);
    }
    
    .carousel-prev,
    .carousel-next {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* ==================== GALLERY SECTION ==================== */
.gallery {
    padding: 5rem 2rem;
    background: white;
}

/* View Galleries Button Container */
.gallery-toggle-container {
    text-align: center;
    margin: 3rem 0;
}

/* Gallery Content - Initially Hidden */
.gallery-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Gallery Filter Tabs */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 2rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--secondary-color);
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Ensure View Galleries button container stays centered */
.gallery-toggle-container {
    text-align: center;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Reset any potential inline styles on the button */
#viewGalleriesBtn {
    margin: 0 auto;
    float: none;
    display: inline-block;
    position: static;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item.hide {
    display: none;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Video Play Icon */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    z-index: 5;
}

.gallery-item[data-type="video"]:hover .video-play-icon {
    background: rgba(255, 107, 53, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Close Gallery Button Container */
.gallery-close-container {
    text-align: center;
    margin-top: 3rem;
}

#closeGalleriesBtn {
    padding: 0.8rem 2rem;
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#closeGalleriesBtn:hover {
    background: #e9ecef;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Gallery Lightbox (for images) */
.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

#lightboxImg {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 25px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 107, 53, 0.8);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 107, 53, 1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ==================== GALLERY VIDEO MODAL ==================== */
.gallery-video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.gallery-video-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-container video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 8px;
}

.video-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 5px 15px;
    transition: all 0.3s ease;
    z-index: 10000;
}

.video-close-btn:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* ==================== RESPONSIVE DESIGN FOR GALLERY ==================== */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .video-play-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: 0.5rem 1rem;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
}

.testimonial-role {
    font-size: 0.9rem;
    color: #666;
}


/* ==================== NEWS/EVENTS SECTION ==================== */
.news-events {
    padding: 5rem 2rem;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b35, #ffd700);
    font-size: 3rem;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

/* ==================== YOUTUBE MODAL ==================== */
.youtube-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.youtube-modal.active {
    display: flex;
}

.youtube-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 80%;
    max-height: 506px; /* 16:9 ratio for 900px width */
    animation: slideIn 0.3s ease;
}

.youtube-video-container {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.youtube-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 5px 15px;
    transition: all 0.3s ease;
    z-index: 10000;
}

.youtube-close-btn:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive YouTube modal */
@media (max-width: 768px) {
    .youtube-modal-container {
        width: 95%;
        height: 60%;
        max-height: none;
    }
    
    .youtube-close-btn {
        top: -45px;
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .youtube-modal-container {
        width: 98%;
        height: 50%;
    }
    
    .youtube-close-btn {
        top: -40px;
        font-size: 30px;
    }
}

/* Watch Video Button */
.watch-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.watch-video-btn svg {
    width: 16px;
    height: 16px;
}

.watch-video-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,53,0.3);
}

/* ==================== VIDEO MODAL ==================== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.video-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.video-container video {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 8px;
}

.close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    padding: 5px 15px;
    transition: all 0.3s ease;
    z-index: 10000;
}

.close-btn:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* Contact Section */
.contact-section {
    margin-top: 40px;
    text-align: center;
}

.contact-section h1 {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-size: 1rem;
    margin-bottom: 5px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.contact-form button {
    background-color: #e55a2b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.contact-form button:hover {
    background-color: #892f11;
}

/* Circular Image Styling */
.class-image,
.executive-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Classes Grid Layout */
.classes-grid,
.executive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 20px;
}

.class-card,
.executive-card {
    text-align: center;
}

/* CTA Section */
.cta {
    text-align: center;
    margin: 40px 0;
}

.cta-links a {
    margin: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.cta-links a:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .classes-grid,
    .executive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==================== VALUES SECTION ==================== */
.values {
    padding: 5rem 2rem;
    background: var(--secondary-color);
    color: var(--text-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 2px solid rgba(255,215,0,0.3);
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255,107,53,0.2);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #e55a2b);
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a svg {
    width: 20px;
    height: 15px;
    fill: var(--text-light);
    transition: fill 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a:hover svg {
    fill: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-logo {
        width: 150px;
        height: 150px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}