
/* === ROOT VARIABLES === */
:root {
    --primary: #bb0000;
    --secondary: #ffffff;
    --accent: #F97316;
    --text: #000000;
    --background: #F9FAFB;
    --white: #FFFFFF;
    --gray-light: #E5E7EB;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --logo-red: #E63946;
    --logo-black: #000000;
    --animation-duration: 0.8s;
}

/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* === ANIMATIONS === */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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 fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    min-height: 48px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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.7s ease;
    z-index: -1;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #000000);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(187, 0, 0, 0.25);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(187, 0, 0, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, black, #00ff40);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 255, 64, 0.25);
    border: none;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 64, 0.35);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #ea580c);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
    border: none;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(187, 0, 0, 0.25);
    border-color: var(--primary);
}

.btn-outline:hover::after {
    width: 100%;
}

/* === NAVBAR (MOBILE FIRST) === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

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

.logo i {
    margin-right: 8px;
    color: var(--logo-red);
    font-size: 1.8rem;
}

.logo span:first-child {
    color: var(--white);
    font-weight: 900;
}

.logo span:last-child {
    color: var(--logo-red);
    font-weight: 900;
}

.scrolled-logo span:first-child {
    color: var(--logo-black);
}

/* === MOBILE TOGGLE === */
.mobile-toggle {
    display: flex;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.mobile-toggle.scrolled-toggle {
    color: var(--logo-black);
    background: rgba(0, 0, 0, 0.05);
}

.mobile-toggle.active {
    color: var(--logo-red);
    transform: rotate(90deg);
}

/* === NAV MENU (MOBILE) === */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 100px 20px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    z-index: 999;
    list-style: none;
}

.nav-menu.active {
    right: 0;
}

.nav-item {
    margin-bottom: 10px;
    width: 100%;
    position: relative;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link:hover {
    color: var(--primary);
}

.dropdown-icon {
    margin-left: 5px;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-icon.rotated {
    transform: rotate(180deg);
}

/* === DROPDOWN MENU (MOBILE) === */
.dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 15px;
    border-left: 2px solid var(--primary);
    padding-left: 15px;
}

.dropdown.active {
    max-height: 400px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.dropdown-item {
    display: block;
    padding: 12px 0;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    color: var(--primary);
    padding-left: 10px;
}

/* === HERO SECTION WITH SLIDER === */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    left: 0;
    right: 0;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1s ease, opacity 1s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.slide.prev-slide {
    transform: translateX(-100%);
}

.slide.next-slide {
    transform: translateX(100%);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(187, 0, 0, 0.4));
}

.hero-content {
    max-width: 100%;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    padding: 0 15px;
    width: 100%;
}

.hero-content h1 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: 0 10px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    padding: 0 10px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
    padding: 0 10px;
}

.hero-buttons .btn {
    width: 100%;
    max-width: 280px;
}

/* === SLIDER CONTROLS === */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    pointer-events: none;
    width: 100%;
}

.slider-dots-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    pointer-events: none;
    width: 100%;
}

.slider-dots {
    display: flex;
    gap: 12px;
    pointer-events: auto;
}

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

.slider-dot.active {
    background-color: var(--white);
    transform: scale(1.3);
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    pointer-events: auto;
}

.slider-arrow:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* === SECTION TITLE === */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 0 10px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    padding: 0 10px;
}

.section-title.animated h2 {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.section-title p {
    font-size: 1rem;
    color: #6B7280;
    max-width: 600px;
    margin: 15px auto 0;
    opacity: 0;
    transform: translateY(20px);
    padding: 0 10px;
}

.section-title.animated p {
    animation: slideUp 0.8s 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--logo-red), var(--primary));
    border-radius: 3px;
    transition: transform 0.6s 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.animated h2::after {
    transform: translateX(-50%) scaleX(1);
}

/* === SECTION ICON === */
.section-icon {
    position: absolute;
    left: 20px;
    top: 0;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.2;
    z-index: -1;
}

@media (min-width: 768px) {
    .section-icon {
        font-size: 2rem;
        left: 50px;
    }
}

/* === COURSES SECTION === */
.courses-section {
    position: relative;
    background-color: var(--background);
    width: 100%;
}

.courses-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
}

.course-card {
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--primary);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    width: 100%;
}

.course-card.animated {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.course-image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(187, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.course-card:hover .course-icon {
    transform: rotate(360deg) scale(1.1);
    background: var(--primary);
    color: white;
}

.course-content {
    padding: 25px;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
}

.course-content.animated {
    animation: slideUp 0.6s 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.course-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text);
}

.course-content p {
    color: #6B7280;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
    color: #6B7280;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
}

.course-meta.animated {
    animation: slideUp 0.6s 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

/* === SERVICES SECTION === */
.services-section {
    background-color: var(--white);
    width: 100%;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    width: 100%;
}

.service-card {
    background-color: var(--background);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border-top: 4px solid var(--primary);
    opacity: 0;
    transform: translateY(30px);
    width: 100%;
}

.service-card.animated {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, black, var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.6s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary);
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animated h3 {
    animation: slideUp 0.6s 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card p {
    color: #6B7280;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
}

.service-card.animated p {
    animation: slideUp 0.6s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* === ABOUT SECTION === */
.about-section {
    position: relative;
    background-color: var(--background);
    width: 100%;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.about-image {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    opacity: 0;
    transform: translateX(-50px);
    width: 100%;
}

.about-image.animated {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: all 0.8s ease;
}

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

.about-content {
    opacity: 0;
    transform: translateX(50px);
    width: 100%;
}

.about-content.animated {
    animation: slideInRight 0.8s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.about-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-content > p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #555;
}

.features-list {
    margin: 25px 0;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: var(--white);
    opacity: 0;
    transform: translateX(-20px);
    width: 100%;
}

.feature-item.animated {
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(187, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(15deg);
}

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

.feature-item p {
    color: #6B7280;
    font-size: 0.9rem;
}

/* === STATISTICS SECTION === */
.stats-section {
    background: linear-gradient(135deg, #000000, var(--primary));
    color: var(--white);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    text-align: center;
    width: 100%;
}

.stat-item {
    padding: 25px 15px;
    opacity: 0;
    transform: scale(0.8);
    width: 100%;
}

.stat-item.animated {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.stat-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* === GALLERY SECTION === */
.gallery-section {
    position: relative;
    background-color: var(--white);
    width: 100%;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

.gallery-item {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    position: relative;
    height: 200px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    width: 100%;
}

.gallery-item.animated {
    animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(187, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.gallery-overlay i {
    font-size: 2rem;
    color: white;
    transform: scale(0.5);
    transition: all 0.6s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.2);
}

/* === CLIENTS SECTION === */
.clients-section {
    background-color: var(--background);
    width: 100%;
}

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

.testimonial {
    background-color: var(--white);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    width: 100%;
}

.testimonial.animated {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: #6B7280;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.logo-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    padding: 30px 0;
    width: 100%;
}

.client-logo {
    height: 70px;
    opacity: 0.6;
    transition: all 0.4s ease;
    filter: grayscale(1);
    opacity: 0;
    transform: translateY(20px);
    border-radius: 10px;
    padding: 10px;
    background: var(--white);
    box-shadow: var(--box-shadow);
    max-width: 150px;
}

.client-logo.animated {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0);
}

/* === CONTACT SECTION === */
.contact-section {
    position: relative;
    background-color: var(--white);
    width: 100%;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--background);
    border-radius: var(--border-radius-sm);
    box-shadow: var(--box-shadow);
    opacity: 0;
    transform: translateX(-30px);
    width: 100%;
}

.contact-item.animated {
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(187, 0, 0, 0.1), rgba(0, 0, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all 0.4s ease;
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(15deg);
}

.contact-form {
    background-color: var(--background);
    border-radius: var(--border-radius-sm);
    padding: 30px;
    box-shadow: var(--box-shadow-lg);
    opacity: 0;
    transform: translateX(30px);
    width: 100%;
}

.contact-form.animated {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.form-group {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
}

.form-group.animated {
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(187, 0, 0, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* === FOOTER === */
footer {
    background: linear-gradient(135deg, #000000, var(--primary));
    color: var(--white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-column {
    opacity: 0;
    transform: translateY(20px);
    width: 100%;
}

.footer-column.animated {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--logo-red);
}

.footer-column p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.footer-column ul li a:hover {
    color: var(--logo-red);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: var(--logo-red);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 0.9rem;
    width: 100%;
}

/* === WHATSAPP BUTTON === */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.4s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 95vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

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

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

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === DROPDOWN FOR DESKTOP === */
@media (min-width: 992px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
        overflow: visible;
        display: flex;
        right: 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 0 0 0 25px;
        width: auto;
        position: relative;
    }

    .nav-link {
        color: var(--white);
        padding: 8px 0;
        border-bottom: none;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .navbar.scrolled .nav-link {
        color: var(--text);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--logo-red);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .nav-link:hover {
        color: var(--logo-red);
    }

    /* Show dropdown icon on all platforms */
    .nav-link .dropdown-icon {
        display: inline-block;
        margin-left: 8px;
        font-size: 0.8rem;
    }

    .mobile-toggle {
        display: none;
    }

    /* DROPDOWN FOR DESKTOP */
    .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        min-width: 250px;
        box-shadow: var(--box-shadow-lg);
        border-radius: var(--border-radius-sm);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.4s ease;
        z-index: 1001;
        padding: 10px 0;
        max-height: none;
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        display: block;
    }

    .dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(10px);
        max-height: none;
    }

    .nav-item:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(10px);
    }

    .dropdown-item {
        padding: 12px 25px;
        color: var(--text);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: block;
    }

    .dropdown-item:hover {
        background: rgba(187, 0, 0, 0.05);
        color: var(--primary);
        padding-left: 30px;
    }
}

/* === MOBILE FIXES === */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        padding: 0 5px;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 5px;
    }
    
    .hero-buttons {
        padding: 0 5px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
        padding: 0 5px;
    }
    
    .section-title p {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .client-logo {
        max-width: 120px;
        height: 60px;
    }
    
    .logo-slider {
        gap: 15px;
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 10px;
    }
}

/* === TABLET STYLES === */
@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }

    .section-title p {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        width: auto;
    }

    .slider-arrow {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .slider-dot {
        width: 14px;
        height: 14px;
    }

    /* Courses and Services in 2 columns on mobile/tablet */
    .courses-container,
    .services-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .course-card {
        min-height: 420px;
        display: flex;
        flex-direction: column;
    }

    .course-content {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .course-content p {
        flex-grow: 1;
    }

    .about-container {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    .about-image {
        flex: 1;
    }

    .about-content {
        flex: 1;
    }

    .about-image img {
        height: 400px;
    }

    .stats-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .contact-container {
        flex-direction: row;
        gap: 50px;
    }

    .contact-info {
        flex: 1;
    }

    .contact-form {
        flex: 1;
    }

    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* === DESKTOP STYLES === */
@media (min-width: 992px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

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

    .services-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .course-card {
        min-height: 450px;
    }

    .footer-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }

    .course-card:hover {
        transform: translateY(-15px);
    }

    .service-card:hover {
        transform: translateY(-15px);
    }
}

/* === EXTRA LARGE SCREENS === */
@media (min-width: 1200px) {
    .container {
        padding: 0;
    }
}