/* ====================================
   HOMEPAGE STYLES - DIGISAPIENCE
   Fully Responsive & Interactive
   ==================================== */

/* ===== VARIABLES ===== */
:root {
    --primary: #F8BE14;
    --primary-dark: #E5A90C;
    --primary-light: #FFD966;
    --primary-rgb: 248, 190, 20;
    --black: #000000;
    --black-light: #0A0A0A;
    --gray-900: #111111;
    --gray-800: #1A1A1A;
    --gray-700: #222222;
    --gray-600: #333333;
    --gray-500: #444444;
    --gray-400: #666666;
    --gray-300: #888888;
    --gray-200: #AAAAAA;
    --gray-100: #CCCCCC;
    --white: #FFFFFF;
    
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #888888;
    
    --bg-primary: #000000;
    --bg-secondary: #0A0A0A;
    --bg-card: #111111;
    
    --border-color: #333333;
    --border-light: rgba(255, 255, 255, 0.1);
    
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 10px 30px rgba(248, 190, 20, 0.2);
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== TYPOGRAPHY ===== */
h1, .h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2, .h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

h3, .h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

h4, .h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.text-gold {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    padding: 0.5rem 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-bounce);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: var(--primary);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.btn-outline:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.2);
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 120px 0 80px;
    background: radial-gradient(circle at 10% 30%, rgba(var(--primary-rgb), 0.03) 0%, transparent 30%),
                radial-gradient(circle at 90% 70%, rgba(var(--primary-rgb), 0.03) 0%, transparent 30%),
                linear-gradient(135deg, var(--black) 0%, var(--black-light) 50%, var(--gray-900) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Ccircle cx="30" cy="30" r="1" fill="rgba(248,190,20,0.03)"/%3E%3C/svg%3E');
    opacity: 0.5;
    animation: float 20s linear infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.02) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    opacity: 0;
    animation: fadeInLeft 1s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-text strong {
    color: var(--primary);
    font-weight: 600;
    position: relative;
    cursor: pointer;
}

.hero-text strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hero-text strong:hover::after {
    transform: scaleX(1);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
    position: relative;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.6s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.7s;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.3s ease;
}

.stat-item:hover::after {
    width: 100%;
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--text-primary);
}

.hero-image-wrapper {
    position: relative;
    opacity: 0;
    animation: fadeInRight 1s ease forwards 0.3s;
}

.hero-image {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: perspective(1000px) rotateY(0deg);
    transition: var(--transition-bounce);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(2deg) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.2);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 2;
}

.hero-image:hover::before {
    left: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-bounce);
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    transform: translateX(0);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg) scale(1.1);
    background: var(--primary);
}

.service-icon i {
    font-size: 30px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon i {
    color: var(--black);
    transform: rotateY(180deg);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: var(--text-secondary);
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* ===== COURSES PREVIEW SECTION ===== */
.courses-preview {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-bounce);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.course-card:nth-child(1) { animation-delay: 0.1s; }
.course-card:nth-child(2) { animation-delay: 0.2s; }
.course-card:nth-child(3) { animation-delay: 0.3s; }

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.course-card:hover::before {
    opacity: 1;
}

.course-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 1rem;
    background: var(--primary);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
    animation: pulse 2s infinite;
}

.course-badge.bestseller {
    background: #10B981;
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.course-card:hover img {
    transform: scale(1.1);
}

.course-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
}

.course-card p {
    padding: 0 1.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.course-meta {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.813rem;
    flex-wrap: wrap;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-meta i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.course-card:hover .course-meta i {
    transform: scale(1.2);
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.course-card:hover .course-price {
    transform: scale(1.1);
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.15s; }
.feature-item:nth-child(3) { animation-delay: 0.2s; }
.feature-item:nth-child(4) { animation-delay: 0.25s; }
.feature-item:nth-child(5) { animation-delay: 0.3s; }
.feature-item:nth-child(6) { animation-delay: 0.35s; }
.feature-item:nth-child(7) { animation-delay: 0.4s; }
.feature-item:nth-child(8) { animation-delay: 0.45s; }

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-item:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition-bounce);
}

.feature-item:hover .feature-icon {
    transform: rotateY(180deg) scale(1.1);
    background: var(--primary);
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.feature-item:hover .feature-icon i {
    color: var(--black);
    transform: rotateY(180deg);
}

.feature-item h4 {
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.feature-item:hover h4 {
    color: var(--primary);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    transition: color 0.3s ease;
}

.feature-item:hover p {
    color: var(--text-secondary);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M20 20 L30 20 L25 30 Z" fill="rgba(248,190,20,0.02)"/%3E%3C/svg%3E');
    opacity: 0.5;
    animation: rotate 60s linear infinite;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-bounce);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 80px;
    color: rgba(var(--primary-rgb), 0.1);
    font-family: serif;
    line-height: 1;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.testimonial-card:hover::before {
    color: rgba(var(--primary-rgb), 0.2);
    transform: rotate(5deg) scale(1.1);
}

.testimonial-rating {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 3px;
}

.testimonial-rating i {
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-rating i {
    transform: scale(1.2);
    animation: pulse 1s infinite;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-author strong {
    transform: translateX(5px);
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.testimonial-card:hover .testimonial-author span {
    color: var(--text-secondary);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, 
        rgba(var(--primary-rgb), 0.95) 0%, 
        rgba(229, 169, 12, 0.95) 50%,
        rgba(var(--primary-rgb), 0.95) 100%);
    background-size: 200% 200%;
    border-radius: 30px;
    color: var(--black);
    position: relative;
    overflow: hidden;
    animation: gradientFlow 5s ease infinite;
    box-shadow: var(--shadow-lg);
    transform: translateY(0);
    transition: var(--transition-bounce);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.cta-content:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(var(--primary-rgb), 0.3);
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-content:hover::after {
    left: 100%;
}

.cta-content h2 {
    color: var(--black);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-content p {
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.cta-content .btn-primary {
    background: var(--black);
    color: var(--primary);
    border: 2px solid var(--black);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-content .btn-primary:hover {
    background: var(--gray-900);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-content .btn-outline {
    border-color: var(--black);
    color: var(--black);
    background: transparent;
}

.cta-content .btn-outline:hover {
    background: var(--black);
    color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 2rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Landscape (1024px - 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
}

/* Tablet Portrait (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .services-grid,
    .courses-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .cta-content {
        padding: 3rem 2rem;
    }
}

/* Mobile Landscape (480px - 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .services-grid,
    .courses-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-desc {
        font-size: 1rem;
    }
    
    .course-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .course-price {
        font-size: 1.25rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .btn-lg {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* Mobile Portrait (up to 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .cta-content {
        padding: 2rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* Small Mobile (up to 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
    
    .course-card h3 {
        font-size: 1.125rem;
    }
    
    .course-price {
        font-size: 1.125rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
}

/* ===== LOADING ANIMATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-900);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== SELECTION COLOR ===== */
::selection {
    background: var(--primary);
    color: var(--black);
}

::-moz-selection {
    background: var(--primary);
    color: var(--black);
}