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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Public Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #1a1a2e;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #1a1a2e;
    color: white;
}

.btn-primary:hover {
    background-color: #2d2d54;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #1a1a2e;
    border: 2px solid #1a1a2e;
}

.btn-secondary:hover {
    background-color: #1a1a2e;
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    z-index: 1000;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content h3 {
    color: #1a1a2e;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 20px;
    color: #666;
    max-width: 800px;
}

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

.cookie-buttons button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#accept-cookies {
    background-color: #1a1a2e;
    color: white;
}

#accept-cookies:hover {
    background-color: #2d2d54;
}

#cookie-settings {
    background-color: transparent;
    color: #1a1a2e;
    border: 2px solid #1a1a2e;
}

#cookie-settings:hover {
    background-color: #1a1a2e;
    color: white;
}

/* Header */
.header {
    background-color: #1a1a2e;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ccc;
}

/* Hero Section */
.hero {
    background-image: url(../assets/i0.png);
    background-position: center;
    background-size: cover;
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    color: #0B1455;
    font-size: 2.8rem;
    line-height: 1.2;
}

.hero-text p {
    color: #0B1455;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.features {
    margin: 2rem 0;
}

.features h3 {
    color: #0B1455;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.features ul {
    list-style: none;
    padding-left: 0;
}

.features li {
    color: #0B1455;
    margin-bottom: 0.5rem;
    padding-left: 20px;
    position: relative;
}

.features li:before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.course-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.course-content h2 {
    color: #1a1a2e;
    margin-bottom: 1.5rem;
}

.course-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.course-examples {
    margin: 2rem 0;
}

.course-examples h3 {
    color: #1a1a2e;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.course-examples ul {
    list-style: none;
    padding-left: 0;
}

.course-examples li {
    margin-bottom: 0.5rem;
    padding-left: 20px;
    position: relative;
}

.course-examples li:before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.about h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

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

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-image {
    margin-bottom: 1.5rem;
}

.feature-image img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-card h3 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.testimonials-btn {
    text-align: center;
}

/* Method Section */
.method {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.method h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.method-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.method-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.method-card h3 {
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.method-content h4 {
    color: #1a1a2e;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.method-content p {
    margin-bottom: 1.5rem;
}

.method-content ul {
    list-style: none;
    padding-left: 0;
}

.method-content li {
    margin-bottom: 0.8rem;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.method-content li:before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.contact > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a2e;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background-color: #1a1a2e;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form button:hover {
    background-color: #2d2d54;
}

/* Footer */
.footer {
    background-color: #1a1a2e;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

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

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.copyright {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content,
    .course-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .method-grid {
        grid-template-columns: 1fr;
    }
    
    .method-card {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .about, .courses, .method, .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-content h3 {
        font-size: 1.2rem;
    }
    
    .cookie-content p {
        font-size: 14px;
    }
    
    .method-card {
        padding: 20px;
    }
    
    .about, .courses, .method, .contact {
        padding: 50px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.course-card,
.feature-card,
.method-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
    }
    
    .hero-text h1,
    .hero-text p {
        color: black;
    }
}

.text-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 120px 0;
}

.text-section h2 {
    font-family: 'Public Sans', sans-serif;

    font-weight: 600;
    font-size: 40px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;

}

.text-section p {
    font-family: 'Public Sans', sans-serif;

font-weight: 400;
font-size: 18px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;
color: #616370;
}