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

:root {
    --primary: #FF4458;
    --secondary: #FF6B6B;
    --accent: #4ECDC4;
    --dark: #2C3E50;
    --light: #ECF0F1;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Animated Background */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Floating Hearts */
.floating-hearts {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

.heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite ease-in-out;
}

.heart:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    font-size: 30px;
}

.heart:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    font-size: 40px;
}

.heart:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    font-size: 25px;
}

.heart:nth-child(4) {
    left: 40%;
    animation-delay: 6s;
    font-size: 35px;
}

.heart:nth-child(5) {
    left: 50%;
    animation-delay: 8s;
    font-size: 30px;
}

.heart:nth-child(6) {
    left: 60%;
    animation-delay: 10s;
    font-size: 45px;
}

.heart:nth-child(7) {
    left: 70%;
    animation-delay: 12s;
    font-size: 28px;
}

.heart:nth-child(8) {
    left: 80%;
    animation-delay: 14s;
    font-size: 38px;
}

.heart:nth-child(9) {
    left: 90%;
    animation-delay: 16s;
    font-size: 32px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.4;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav.scrolled .hamburger-line {
    background-color: var(--dark);
}

nav.scrolled .logo {
    color: var(--primary);
}

nav.scrolled .nav-links a {
    color: var(--dark);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 0.9rem;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* Scrolled state for the logo */
nav.scrolled .logo {
    color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .logo-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 0.7rem;
    }
}

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

    .logo-text {
        font-size: 0.6rem;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

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

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

.nav-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.language-toggle {
    margin-left: 20px;
    position: relative;
}

.lang-btn {
    background: var(--gradient-2);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 68, 88, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.lang-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 68, 88, 0.4);
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

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

.lang-text {
    position: relative;
    z-index: 2;
}

.lang-toggle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    z-index: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    margin-left: 25px;
    margin-right: 10px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger Menu Active State */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

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

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    padding-right: 35px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.nav-links.active a {
    color: var(--dark);
    padding: 0.5rem 0;
}

/* Partners Section */
.partners-showcase {
    margin-top: 0rem;
    margin-bottom: 0rem;
    text-align: center;
    padding: 0 5%;
}

.partners-title {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.partners-logos {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-logo {
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: transparent;
    overflow: visible;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo a {
    display: inline-block;
    transition: transform 0.3s ease;
    border-radius: 20px 0 20px 0;
}

.partner-logo a:hover {
    transform: scale(1.05);
}

.partner-logo img {
    height: 75px;
    transition: all 0.3s ease;
    border-radius: 20px 0 20px 0;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    display: block;
}

.partner-logo a:hover img {
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.8),
        0 0 5px 2px rgba(255, 255, 255, 0.6);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2% 2rem 2%;
    position: relative;
}

.hero-content {
    max-width: 95%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    z-index: 1;
    margin: 0 auto;
    margin-top: 5rem;
}

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

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

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

.official-badge {
    display: inline-block;
    background: linear-gradient(45deg, #FF4458, #FF6B6B);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

.hero-text h1 {
    font-size: clamp(3.2rem, 3.5vw, 6rem);
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-transform: lowercase;
    font-variant: small-caps;
    letter-spacing: -0.03em;
    width: 100%;
}

.hero-text .highlight {
    background: linear-gradient(45deg, #FF4458, #FF6B6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.hero-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: justify;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

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

.btn-primary {
    background: linear-gradient(45deg, #FF4458, #FF6B6B);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 68, 88, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 68, 88, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

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

@media (max-width: 992px) {
    .btn-secondary {
        white-space: nowrap;
        min-width: 180px;
        justify-content: center;
    }
}

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

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

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

.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image-container:hover {
    transform: scale(1.05);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 68, 88, 0.3), rgba(78, 205, 196, 0.3));
}

/* History Section */
.history {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.container {
    max-width: 95%;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--dark);
    opacity: 0.8;
}

/* Timeline Styling */
.history-timeline {
    position: relative;
    margin-bottom: 3rem;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-1);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.1);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    padding-left: 80px;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: white;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.timeline-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 2s infinite;
}

.timeline-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary);
}

.timeline-body {
    display: flex;
    flex-direction: column;
}

.historical-figure {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.historical-figure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(78, 205, 196, 0.1) 100%);
    z-index: 1;
}

.historical-figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.figure-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.figure-image:hover {
    transform: scale(1.05);
}

.figure-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.figure-caption strong {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.figure-caption span {
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.8;
}

.timeline-content p {
    color: var(--dark);
    opacity: 0.8;
    line-height: 1.8;
    margin: 0;
}

/* Quote Card */
.quote-card {
    background: var(--gradient-2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.quote-card p {
    font-size: 1.6rem;
    color: white;
    font-style: italic;
    line-height: 1.8;
    position: relative;
    z-index: 2;
    font-weight: 600;
}

/* Highlight Message */
.highlight-message {
    background: var(--gradient-2);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.highlight-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.highlight-message p {
    font-size: 1.2rem;
    color: white;
    font-style: italic;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Guides Section */
.guides {
    padding: 2.5rem 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.guide-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.guide-visual {
    position: relative;
    height: 200px;
    background: var(--gradient-1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.guide-icon {
    font-size: 4rem;
    color: white;
    z-index: 2;
    position: relative;
}

/* Replace the existing .guide-bg-effect with these styles */
.guide-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-thumbnail {
    transform: scale(1.05);
}

/* Update the guide-visual to ensure proper layering */
.guide-visual {
    position: relative;
    height: 200px;
    background: var(--gradient-1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

/* Add overlay for better icon visibility */
.guide-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0.5) 100%);
    z-index: 1;
    border-radius: 15px 15px 0 0;
}

/* Ensure icon stays on top */
.guide-icon {
    font-size: 4rem;
    color: white;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
}

.guide-card:hover .guide-icon {
    transform: scale(1.1);
}

.guide-thumbnail {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.guide-content {
    padding: 2rem;
}

.guide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.guide-content p {
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

@media (max-width: 992px) {

    .guide-content>div,
    .guide-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .download-btn,
    .view-btn {
        width: 100%;
        justify-content: center;
        min-width: 180px;
        padding: 0.8rem 1.5rem;
        box-sizing: border-box;
    }
}

/* Videos Section */
.videos {
    padding: 2.5rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.video-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-level {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.3rem 1rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Difficulty Indicator Styles */
.difficulty-indicator {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.difficulty-indicator.beginner-level {
    background-color: #4CAF50;
    color: #4CAF50;
}

.difficulty-indicator.intermediate-level {
    background-color: #FFC107;
    color: #FFC107;
}

.difficulty-indicator.advanced-level {
    background-color: #F44336;
    color: #F44336;
}

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

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.video-info p {
    color: var(--dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.video-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.7;
}

.stat i {
    color: var(--primary);
}

.video-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.watch-btn {
    background: var(--gradient-1);
    color: white;
}

.watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex !important;
    opacity: 1;
}

.video-modal-content {
    background-color: white;
    margin: 80px auto 3% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    animation: slideIn 0.3s ease;
    overflow: hidden;
    max-height: 94vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--gradient-1);
    color: white;
    position: relative;
    z-index: 10;
}

.video-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-video-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-video-modal:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.2);
}

.video-modal-body {
    padding: 20px;
    max-height: calc(94vh - 80px);
    overflow: auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 80%;
    /*Video player height*/
    overflow: hidden;
    border-radius: 10px;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    min-height: 550px;
}

/* Responsive adjustments for video modal */
@media (max-width: 992px) {
    .video-modal-content {
        width: 95%;
        margin: 80px auto 2% auto;
        max-height: 95vh;
    }

    .video-modal-body {
        padding: 15px;
        max-height: calc(95vh - 80px);
    }

    .video-container {
        padding-bottom: 80%;
    }

    .video-container iframe {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 98%;
        margin: 80px auto 1% auto;
        max-height: 97vh;
    }

    .video-modal-body {
        padding: 10px;
        max-height: calc(97vh - 80px);
    }

    .video-container {
        padding-bottom: 85%;
    }

    .video-container iframe {
        min-height: 450px;
    }
}

.video-description {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.video-description p {
    margin: 0;
    color: var(--dark);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 2.5rem 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
}

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

.contact-card:hover::before {
    width: 100%;
}

.contact-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

.icon-pulse {
    position: absolute;
    width: 100px;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-1);
    opacity: 0.3;
    top: 56%;
    left: 56%;
    margin-left: -50px;
    margin-top: -50px;
    animation: pulse 2s infinite;
}


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

.contact-details {
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    opacity: 0.8;
}

.detail-item i {
    color: var(--primary);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Footer */
footer {
    padding: 2rem 5%;
    background: var(--dark);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 50px;
    border-radius: 50%;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.sponsored-by {
    font-weight: 600;
    color: #4ECDC4;
    margin-top: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        padding: 2rem 3%;
    }

    .hero-content {
        width: 100%;
        padding: 0;
        gap: 2rem;
    }

    .hero-text {
        text-align: left;
    }

    .hero-text p {
        text-align: justify;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-image-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .history-timeline::before {
        display: none;
    }

    .timeline-item {
        padding-left: 0px;
        text-align: justify;
    }

    .timeline-header {
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .timeline-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .historical-figure {
        flex-direction: column;
        text-align: center;
    }

    .figure-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section-header h2 {
        font-size: 20pt;
    }

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

    .btn {
        width: 200px;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Responsive adjustments for video modal */
    .video-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .video-modal-header {
        padding: 15px;
    }

    .video-modal-header h3 {
        font-size: 1.2rem;
    }

    .video-modal-body {
        padding: 15px;
    }

    .video-container iframe {
        height: 250px;
    }
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .partners-logos {
        gap: 0rem;
        justify-content: space-between;
    }

    .partner-logo {
        padding: 0rem;
    }

    .partner-logo img {
        border-radius: 10px 0 10px 0;
        height: 30px;
    }

    .historical-figure {
        flex-direction: column;
        text-align: center;
    }

    .figure-image {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .effects-row {
        flex-direction: column;
    }

    .effects-cell {
        width: 100%;
        padding: 1rem;
    }

    .effects-row.header {
        display: none;
    }

    .effects-cell::before {
        content: attr(data-es);
        display: block;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: var(--primary);
    }

    .video-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-2);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.view-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(240, 147, 251, 0.3);
}

/* --- Hero Carousel Styles --- */
.hero-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    height: 53vh;
    max-width: 800px;
}

.hero-image-container:hover {
    transform: scale(1.05);
}

.hero-image-slides {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Class to remove transition for instant jumps */
.hero-image-slides.no-transition {
    transition: none;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Apply the gradient overlay directly to the slide container */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 68, 88, 0.3), rgba(78, 205, 196, 0.3));
    z-index: 1;
    pointer-events: none;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

/* Carousel Indicator Dots */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    visibility: visible;
}

/* Hide dots by default when carousel is auto-playing */
.hero-image-container.dots-hidden .carousel-indicators {
    opacity: 0;
    visibility: hidden;
}

/* Show dots on hover over the container */
.hero-image-container:hover .carousel-indicators {
    opacity: 1;
    visibility: visible;
}

.carousel-indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-indicator-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-indicator-dot:hover {
    transform: scale(1.2);
}

/* Mobile-specific navigation fixes */
@media (max-width: 992px) {
    .nav-container {
        padding-right: 30px;
    }

    .language-toggle {
        margin-left: 10px;
    }

    .hamburger {
        display: flex;
        margin-left: 20px;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        margin-left: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    .language-toggle {
        margin-left: 5px;
        padding-left: 0px;
    }

    .hamburger {
        display: flex;
        margin-left: 5px;
        margin-right: 0px;
    }

    .lang-btn {
        padding: 8px 15px;
        border-radius: 30px;
        font-size: 12px;
    }
}