/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* CSS Variables - Modern Red & Black Theme */
:root {
    --primary-color: #ff3b3b;
    --primary-dark: #e60000;
    --primary-light: #fca5a5;
    --secondary-color: #1f2937;
    --accent-color: #ff8c00;
    --accent-red: #f87171;
    --text-primary: #ffffff;
    --text-secondary: #adb5bd;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-primary: #1c1c1e;
    --bg-secondary: #2c2c2e;
    --bg-dark: #0d0d0d;
    --bg-black: #000000;
    --bg-red-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --bg-dark-gradient: linear-gradient(135deg, #111827 0%, #000000 100%);
    --bg-hero-gradient: linear-gradient(135deg, #fef2f2 0%, #fee2e2 50%, #fecaca 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-red: #fecaca;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-red: 0 5px 25px -5px rgba(255, 59, 59, 0.4);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--bg-red-gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-red);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn--primary::before {
    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;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    background: var(--bg-dark-gradient);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn--secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn--secondary:hover::before {
    width: 100%;
}

.btn--secondary:hover {
    color: var(--text-white);
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-red);
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.4s ease-in-out;
    padding: 1rem 0;
}

.header.scrolled {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.nav__logo h1 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.nav__logo span {
    font-size: 0.875rem;
    color: var(--text-white);
    font-weight: 400;
    opacity: 0.9;
}

.nav__menu {
    display: none;
    list-style: none;
    gap: 2.5rem;
}

.nav__link {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.nav__link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav__link:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1.5);
    box-shadow: 0 0 10px var(--primary-color);
}

.nav__cta {
    display: none;
}

@media (min-width: 768px) {
    .nav__menu {
        display: flex;
        align-items: center;
    }
    
    .nav__toggle {
        display: none;
    }

    .nav__cta {
        display: block;
    }
    .nav__cta .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: var(--bg-dark-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Crect fill='%230d0d0d' width='800' height='800'/%3E%3Cg fill-opacity='0.1'%3E%3Ccircle fill='%23ff3b3b' cx='400' cy='400' r='600'/%3E%3Ccircle fill='%230d0d0d' cx='400' cy='400' r='500'/%3E%3Ccircle fill='%231c1c1e' cx='400' cy='400' r='400'/%3E%3Ccircle fill='%232c2c2e' cx='400' cy='400' r='300'/%3E%3Ccircle fill='%233c3c3e' cx='400' cy='400' r='200'/%3E%3Ccircle fill='%234c4c4e' cx='400' cy='400' r='100'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero__title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 0 25px rgba(255, 59, 59, 0.3);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    font-weight: 800;
    text-shadow: 0 0 25px var(--primary-color);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    z-index: -1;
    border-radius: var(--radius-sm);
    opacity: 0.8;
}

.hero__description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    max-width: 550px;
}

.hero__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
}

.stat__label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 59, 59, 0.2);
    border: 3px solid var(--primary-color);
}

.hero__image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero__title {
        font-size: 3.5rem;
    }
    
    .hero__buttons {
        flex-direction: row;
    }
}

/* Section Styles */
.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about__text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about__text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.feature svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.about__image-placeholder {
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 768px) {
    .about__content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about__features {
        grid-template-columns: 1fr;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 59, 59, 0.1), transparent 70%);
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 59, 59, 0.1), transparent 70%);
    pointer-events: none;
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service__card {
    background: var(--bg-primary);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    transition: var(--transition-bounce);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 59, 59, 0.15) 0%, transparent 40%);
    transition: opacity 0.5s ease;
    opacity: 0;
    transform: rotate(0deg);
}

.service__card:hover::before {
    opacity: 1;
    animation: rotateGradient 4s linear infinite;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-red);
    border-color: var(--primary-color);
}

.service__icon {
    width: 5rem;
    height: 5rem;
    background: transparent;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: none;
    position: relative;
    border: 2px solid var(--primary-color);
}

.service__icon::before {
    display: none;
}

.service__icon svg {
    color: var(--primary-color);
    z-index: 1;
    filter: drop-shadow(0 0 10px var(--primary-color));
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.service__card:hover .service__icon svg {
    transform: scale(1.1);
}

.service__card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.service__card p {
    margin-bottom: 1.5rem;
}

.service__features {
    list-style: none;
}

.service__features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 5px var(--primary-color);
}

@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.testimonial-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-red);
}

.testimonial-card.featured {
    position: relative;
    border-color: var(--primary-color);
    background: radial-gradient(circle at top left, rgba(255, 59, 59, 0.05), transparent 30%);
    grid-template-columns: 1fr; /* Le face mai mici, stivuind imaginea si textul */
    text-align: center;
    padding: 2rem;
}

.testimonial-card.featured .testimonial-image {
    order: -1; /* Muta imaginea deasupra textului */
}

.testimonial-card.featured .testimonial-text {
    padding-left: 0;
}

.testimonial-card.featured .testimonial-text::before {
    left: 50%;
    transform: translateX(-50%);
    top: -1.5rem;
}

.testimonial-card.featured::before {
    content: 'Recomandare de Top ★';
    position: absolute;
    top: -15px;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow-red);
}

@media (min-width: 768px) {
    .testimonial-card {
        grid-template-columns: repeat(2, 1fr);
        padding: 3rem;
    }

    .testimonial-card.reverse .testimonial-image {
        order: -1;
    }
}

.testimonial-image img {
    width: 100%;
    max-width: 280px; /* Am redus dimensiunea maximă */
    margin: 0 auto; /* Centrează imaginea */
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.testimonial-text {
    position: relative;
    padding-left: 3rem;
}

.testimonial-text::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -1rem;
    font-size: 5rem;
    color: var(--primary-color);
    font-family: 'Georgia', serif;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact__info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contact__info p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.contact__methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact__method svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact__method h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact__method p {
    margin: 0;
    color: var(--text-secondary);
}

.contact__form {
    background-color: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 59, 59, 0.2);
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (min-width: 768px) {
    .contact__content {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact__methods {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--bg-dark-gradient);
    color: var(--text-white);
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-red-gradient);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__brand h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.footer__brand p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--bg-red-gradient);
    border-radius: var(--radius-lg);
    color: var(--text-white);
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-red);
}

.footer__social a:hover {
    background: var(--bg-dark-gradient);
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.footer__links h4,
.footer__contact h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer__links ul {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--primary-color);
}

.footer__contact p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer__bottom p {
    color: var(--text-light);
    margin: 0;
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* 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);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Loading states */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 767px) {
    .nav__menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark-gradient);
        padding: 6rem 2rem 2rem;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: none;
        border: none;
        border-radius: 0;
    }
    
    .nav__menu.active {
        transform: translateX(0);
    }
    
    .nav__link {
        font-size: 2rem;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        animation: slideUp 0.6s forwards;
    }

    .nav__menu.active .nav__link {
        animation: slideUp 0.6s forwards;
    }

    .nav__menu.active .nav__link:nth-child(1) { animation-delay: 0.2s; }
    .nav__menu.active .nav__link:nth-child(2) { animation-delay: 0.3s; }
    .nav__menu.active .nav__link:nth-child(3) { animation-delay: 0.4s; }
    .nav__menu.active .nav__link:nth-child(4) { animation-delay: 0.5s; }
    .nav__menu.active .nav__link:nth-child(5) { animation-delay: 0.6s; }
    .nav__menu.active .nav__link:nth-child(6) { animation-delay: 0.7s; }

    @keyframes slideUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .header.scrolled .nav__menu {
        top: 0;
    }

    .nav__toggle {
        z-index: 1001; /* Ensure it's above the mobile menu */
    }

    .hero {
        padding: 8rem 0 4rem;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .service__card,
    .testimonial__card {
        padding: 1.5rem;
    }
    
    .contact__form {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Webinar Section */
.webinar {
    padding: 6rem 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.webinar__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.webinar__text {
    text-align: center;
}

.webinar__badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-red);
}

.webinar__text .section__title {
    margin-bottom: 1rem;
}

.webinar__text .section__subtitle {
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.webinar__text .btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.webinar__text .btn .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.webinar__text .btn:hover .arrow {
    transform: translateX(5px);
}

.webinar__image-placeholder {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 2px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: var(--bg-secondary);
    cursor: pointer;
}

.webinar__image-placeholder::after {
    content: '►';
    font-family: 'Times New Roman', Times, serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 15px rgba(255, 59, 59, 0.3);
    transition: all 0.3s ease;
    line-height: 1;
}

.webinar__image-placeholder:hover::after {
    color: var(--primary-color);
    text-shadow: 0 0 25px var(--primary-color);
    transform: translate(-50%, -50%) scale(1.2);
}

.webinar__image-placeholder::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(255, 59, 59, 0.1), transparent 50%),
                radial-gradient(circle at bottom right, rgba(255, 59, 59, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.webinar__image-placeholder:hover::before {
    opacity: 1;
}

.webinar__image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 59, 59, 0.3);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close-button {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.featured-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .featured-grid-container {
        grid-template-columns: 1fr 1fr;
    }
}
