/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --primary-orange: #FF8C42;
    --secondary-orange: #FFB366;
    --light-orange: #FFE5D4;
    --dark-orange: #E67E22;
    --yellow: #F39C12;
    --light-yellow: #FFF3CD;
    --white: #FFFFFF;
    --dark: #2C3E50;
    --gray: #7F8C8D;
    --light-gray: #F8F9FA;
    --modal-bg: rgba(0, 0, 0, 0.7);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--yellow));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    width: 110px;
    color: var(--primary-orange);
}
.nav-logo img{
    width: 100%;
    object-fit: cover;
}
.nav-logo i {
    margin-right: 10px;
    font-size: 28px;
    animation: pulse 2s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-orange);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-orange) 0%, var(--light-yellow) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.highlight {
    color: var(--primary-orange);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--yellow), var(--primary-orange));
    opacity: 0.3;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), var(--yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation: float 3s ease-in-out infinite;
}

.icon-2 {
    top: 20%;
    right: 10%;
    animation: float 3s ease-in-out infinite 0.5s;
}

.icon-3 {
    bottom: 30%;
    left: 20%;
    animation: float 3s ease-in-out infinite 1s;
}

.icon-4 {
    bottom: 10%;
    right: 20%;
    animation: float 3s ease-in-out infinite 1.5s;
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.character-container {
    position: relative;
    animation: bounce 2s ease-in-out infinite;
}

.character {
    position: relative;
}

.character-head {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-orange), var(--yellow));
    border-radius: 50%;
    margin: 0 auto 10px;
    position: relative;
}

.character-head::before {
    content: '😊';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
}

.character-body {
    width: 60px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 30px;
    margin: 0 auto;
}

.character-arms {
    position: absolute;
    top: 90px;
    left: -20px;
    width: 100px;
    height: 20px;
    background: var(--secondary-orange);
    border-radius: 10px;
    animation: wave 1s ease-in-out infinite alternate;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.hero-wave .shape-fill {
    fill: var(--white);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--yellow));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-orange);
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--gray);
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--light-orange), var(--light-yellow));
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

/* Courses Section */
.courses {
    padding: 100px 0;
    background: var(--light-gray);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-orange), var(--yellow));
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
    animation: pulse 2s infinite;
}

.course-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.course-card>p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.course-card li {
    padding: 8px 0;
    color: var(--gray);
    position: relative;
    padding-left: 25px;
}

.course-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* Partners Section */
.partners {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.partner-item:hover::before {
    left: 100%;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.partner-logo {
    margin-bottom: 25px;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.partner-item:hover .logo-placeholder {
    transform: scale(1.1) rotate(5deg);
}

.logo-placeholder i {
    font-size: 35px;
    color: white;
}

.partner-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.partner-item:hover h4 {
    color: #ff6b35;
}

.partner-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--white);
}

.team-grid {
    display: flex;
    justify-content: center;
    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    gap: 40px;
}

.team-member {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-gray);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.1), transparent);
    transition: left 0.5s;
}

.team-member:hover::before {
    left: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.member-image {
    margin-bottom: 20px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 100%;
}

.team-member h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: var(--dark-orange);
    transform: translateY(-3px);
}

/* Activities Section */
.activities {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5e6, #ffe0b3);
}

.activity-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-orange);
    background: transparent;
    color: var(--primary-orange);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

.activities-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.activity-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-image {
    width: 100%;
    height: 260px;
    background: linear-gradient(45deg, var(--primary-orange), var(--yellow));
    position: relative;
    overflow: hidden;
}

.activity-image::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    z-index: 1;
}

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

.activity-content {
    padding: 25px;
}

.activity-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.activity-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.activity-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.activity-category {
    background: var(--yellow);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.activity-date {
    color: #999;
    font-size: 12px;
}

.activity-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--primary-orange), var(--yellow));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.activity-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

/* Activity Item Animations */
.activity-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.activity-item:nth-child(1) {
    animation-delay: 0.1s;
}

.activity-item:nth-child(2) {
    animation-delay: 0.2s;
}

.activity-item:nth-child(3) {
    animation-delay: 0.3s;
}

.activity-item:nth-child(4) {
    animation-delay: 0.4s;
}

.activity-item:nth-child(5) {
    animation-delay: 0.5s;
}

.activity-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Activity Lightbox */
.activity-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    background: white;
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    animation: slideIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    z-index: 1001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-orange);
}

.lightbox-image {
    background: linear-gradient(45deg, var(--primary-orange), var(--yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.placeholder-image {
    text-align: center;
    color: white;
}

.image-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 10px;
}

.placeholder-image p {
    font-size: 18px;
    font-weight: 600;
}

.lightbox-info {
    padding: 30px;
}

.lightbox-info h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 15px;
}

.lightbox-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.lightbox-category {
    background: var(--yellow);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.lightbox-date {
    color: #999;
    font-size: 14px;
}

.lightbox-info p {
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.lightbox-actions {
    display: flex;
    gap: 15px;
}

.lightbox-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lightbox-btn.primary {
    background: linear-gradient(45deg, var(--primary-orange), var(--yellow));
    color: white;
}

.lightbox-btn.secondary {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.lightbox-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-orange), var(--light-yellow));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-orange);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 28px;
}

.footer-section p {
    color: #BDC3C7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-orange);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--yellow);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495E;
    color: #BDC3C7;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes wave {
    0% {
        transform: rotate(-10deg);
    }

    100% {
        transform: rotate(10deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 769px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        gap: 40px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-content {
        gap: 50px;
    }

    .contact-content {
        gap: 50px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    /* Activities Responsive */
    .activities-gallery {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .activity-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .activity-image {
        height: 200px;
    }

    .activity-content {
        padding: 20px;
    }

    .activity-title {
        font-size: 18px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .floating-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-item h4 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.95rem;
    }

    /* Adjust sections padding for mobile */
    .hero,
    .about,
    .activities,
    .partners,
    .team,
    .contact {
        padding: 60px 0;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .partner-item {
        padding: 30px 20px;
    }

    .logo-placeholder {
        width: 60px;
        height: 60px;
    }

    .logo-placeholder i {
        font-size: 25px;
    }

    .partner-item h4 {
        font-size: 1.2rem;
    }

    .partner-item p {
        font-size: 0.9rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .course-card,
    .team-card {
        padding: 20px;
    }

    .course-card h3,
    .team-card h3 {
        font-size: 1.3rem;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .navbar {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    /* Activities Mobile */
    .activities {
        padding: 50px 0;
    }

    .activities-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .activity-filters {
        gap: 8px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .activity-image {
        height: 190px;
    }

    .activity-content {
        padding: 15px;
    }

    .activity-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .activity-description {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .activity-meta {
        margin-bottom: 15px;
    }

    .activity-category {
        font-size: 11px;
        padding: 4px 10px;
    }

    .activity-date {
        font-size: 11px;
    }

    .activity-btn {
        padding: 10px;
        font-size: 14px;
    }

    /* Lightbox Mobile */
    .lightbox-content {
        grid-template-columns: 1fr;
        width: 95%;
        max-height: 95%;
    }

    .lightbox-image {
        min-height: 200px;
    }

    .lightbox-info {
        padding: 20px;
    }

    .lightbox-info h3 {
        font-size: 20px;
    }

    .lightbox-actions {
        flex-direction: column;
        gap: 10px;
    }

    .lightbox-btn {
        width: 100%;
        padding: 12px;
    }

    /* Adjust sections padding for small mobile */
    .hero,
    .about,
    .courses,
    .team,
    .contact,
    .activities {
        padding: 50px 0;
    }

    .footer {
        padding: 40px 0 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .course-card,
    .team-card {
        padding: 15px;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .nav-menu.active {
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 20px 0;
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu li a {
        font-size: 1.1rem;
        padding: 10px 20px;
        border-radius: 25px;
        transition: all 0.3s ease;
    }

    .nav-menu li a:hover {
        background: var(--light-orange);
        color: var(--primary-orange);
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Responsive Utilities */
.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }

    .show-mobile {
        display: block;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {

    .btn,
    .course-card,
    .team-card {
        min-height: 44px;
        /* iOS recommended touch target */
    }

    .floating-icon {
        min-width: 44px;
        min-height: 44px;
    }

    /* Improve form inputs for mobile */
    .form-group input,
    .form-group textarea {
        -webkit-appearance: none;
        border-radius: 8px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    /* Better spacing for touch */
    .nav-menu li a,
    .btn {
        margin: 5px 0;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .floating-icon,
    .btn {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Typography and Spacing Optimizations for Mobile */
@media (max-width: 768px) {

    /* Improved line heights for readability */
    .hero-title {
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .hero-description {
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .section-header h2 {
        line-height: 1.3;
        letter-spacing: -0.01em;
        margin-bottom: 15px;
    }

    .section-header p {
        line-height: 1.7;
        margin-bottom: 40px;
    }

    /* Better spacing for content sections */
    .about-text h3 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .about-text p {
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .feature-item h4 {
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .feature-item p {
        line-height: 1.6;
    }

    /* Course and team cards typography */
    .course-card h3,
    .team-card h3 {
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .course-card p,
    .team-card p {
        line-height: 1.6;
        margin-bottom: 15px;
    }

    /* Contact form improvements */
    .contact-info h3 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .contact-info p {
        line-height: 1.6;
        margin-bottom: 20px;
    }

    /* Footer typography */
    .footer-section h4 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .footer-section p,
    .footer-section li {
        line-height: 1.6;
    }

    /* Improved button spacing */
    .hero-buttons {
        margin-top: 30px;
        gap: 15px;
    }

    .btn {
        line-height: 1.4;
        letter-spacing: 0.02em;
    }

    /* Better margins and padding */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .courses-grid,
    .team-grid {
        margin-top: 40px;
    }

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

    .stat-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {

    /* Extra small mobile typography refinements */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-title {
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .section-header p {
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .about-text h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .feature-item {
        padding: 15px;
        margin-bottom: 12px;
    }

    .course-card,
    .team-card {
        margin-bottom: 20px;
    }

    .hero-buttons {
        margin-top: 25px;
        gap: 12px;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-orange), var(--yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Video Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--modal-bg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.5s;
}

.modal-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    display: block;
    border: none;
}

.close-modal {
    position: absolute;
    right: -15px;
    top: -15px;
    color: var(--white);
    background-color: var(--primary-orange);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background-color: var(--dark-orange);
    transform: scale(1.1);
}

@keyframes modalFadeIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}