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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Button Styles */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1F2937;
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-accept-all, .btn-necessary, .btn-custom {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-accept-all {
    background: #10B981;
    color: white;
}

.btn-accept-all:hover {
    background: #059669;
}

.btn-necessary {
    background: #F59E0B;
    color: white;
}

.btn-necessary:hover {
    background: #D97706;
}

.btn-custom {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.btn-custom:hover {
    background: white;
    color: #1F2937;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #3B82F6;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3B82F6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.hero-visual {
    text-align: center;
}

/* Stats Section */
.stats-section {
    background: #F8FAFC;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

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

.stat-item h3 {
    font-size: 2.5rem;
    color: #3B82F6;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    color: #6B7280;
    font-weight: 500;
}

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

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

.about-text h2 {
    font-size: 2.5rem;
    color: #1F2937;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #374151;
}

.about-visual {
    text-align: center;
}

/* Courses Section */
.courses-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
}

.courses-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

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

.course-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.course-icon {
    margin-bottom: 25px;
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.course-card p {
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.course-duration {
    background: rgba(59, 130, 246, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

/* Reviews Section */
.reviews-section {
    background: #F8FAFC;
    padding: 100px 0;
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1F2937;
    margin-bottom: 60px;
    font-weight: 700;
}

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

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.review-card p {
    font-style: italic;
    margin-bottom: 25px;
    color: #4B5563;
    line-height: 1.6;
}

.review-author strong {
    color: #1F2937;
    font-weight: 600;
}

.review-author span {
    color: #6B7280;
    font-size: 0.9rem;
    display: block;
    margin-top: 5px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #1F2937, #374151);
    color: white;
    padding: 80px 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.newsletter-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter-text p {
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    min-width: 300px;
    outline: none;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Contact Section */
.contact-section {
    background: white;
    padding: 100px 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1F2937;
    margin-bottom: 60px;
    font-weight: 700;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item h4 {
    color: #1F2937;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-item p {
    color: #6B7280;
    line-height: 1.6;
}

.contact-map {
    background: #F3F4F6;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #F9FAFB;
}

.footer-section p {
    color: #D1D5DB;
    line-height: 1.6;
}

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

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

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

.footer-section ul li a:hover {
    color: #3B82F6;
}

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

.social-links a {
    color: #D1D5DB;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3B82F6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
    text-align: center;
    color: #9CA3AF;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    margin-bottom: 30px;
    color: #1F2937;
    font-weight: 700;
}

.cookie-option {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: #1F2937;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.cookie-option p {
    margin-top: 10px;
    color: #6B7280;
    font-size: 0.9rem;
    margin-left: 35px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        justify-content: center;
    }
    
    .newsletter-form input {
        min-width: 250px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .newsletter-form input {
        min-width: 200px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}