/* Base Styles */
:root {
    --primary-color: #4da0ff;
    --primary-dark: #3080db;
    --secondary-color: #f5f5f5;
    --dark-text: #333333;
    --light-text: #ffffff;
    --gray-text: #666666;
    --light-gray: #f0f0f0;
    --border-color: #e0e0e0;
    --section-padding: 60px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--secondary-color);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

section {
    padding: var(--section-padding);
}

/* Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    color: var(--dark-text);
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-text);
}

/* Hero Section */
.hero {
    background-color: #fff;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-text p {
    margin-bottom: 30px;
    color: var(--gray-text);
}

.hero-images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
}

.hero-images img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.hero-images img:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 160, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Chart Banner */
.chart-banner {
    padding: 0;
}

.chart-banner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Mission Section */
.mission {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.mission h2 {
    text-align: center;
    margin-bottom: 30px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* Courses Section */
.courses {
    background-color: #fff;
}

.courses h2 {
    text-align: center;
    margin-bottom: 50px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.course-item {
    display: flex;
    align-items: flex-start;
}

.course-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 15px;
    line-height: 1;
}

.course-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.course-content p {
    color: var(--gray-text);
    font-size: 14px;
}

/* Getting Started Section */
.getting-started {
    background-color: var(--light-gray);
}

.getting-started h2 {
    text-align: center;
    margin-bottom: 50px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.step {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.step-text {
    padding: 20px;
    color: var(--gray-text);
    font-size: 14px;
}

.step-text strong {
    color: var(--dark-text);
}

/* Events Section */
.events {
    background-color: #fff;
}

.events h2 {
    text-align: center;
    margin-bottom: 30px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--primary-color);
}

.event-content p {
    color: var(--gray-text);
    font-size: 14px;
}

/* Registration Section */
.registration {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.registration h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
}

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

.form-group button {
    width: 100%;
    background-color: #fff;
    color: var(--primary-color);
}

.form-group button:hover {
    background-color: var(--light-gray);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-address p {
    margin-bottom: 5px;
    font-size: 14px;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Social Icons */
.icon-linkedin::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: url('./img/linkedin.svg') no-repeat center;
    background-size: contain;
}

.icon-facebook::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: url('./img/facebook.svg') no-repeat center;
    background-size: contain;
}

.icon-twitter::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: url('./img/twitter.svg') no-repeat center;
    background-size: contain;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--light-text);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    margin-bottom: 10px;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Thank You Message */
.thank-you-message {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    display: none;
}

.thank-you-message h2 {
    color: var(--dark-text);
    margin-bottom: 30px;
    font-size: 28px;
}

.thank-you-message .btn {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Policy Pages */
.policy-content {
    background-color: #fff;
    padding: 60px 0;
    min-height: 70vh;
}

.policy-content h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.policy-section {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-section ul li {
    margin-bottom: 5px;
    list-style-type: disc;
    list-style-position: outside;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        order: 1;
        text-align: center;
    }
    
    .hero-images {
        order: 0;
        margin-bottom: 30px;
    }
    
    .course-grid,
    .steps-grid,
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    .main-nav.active ul {
        flex-direction: column;
    }
    
    .main-nav.active li {
        margin: 0 0 15px 0;
    }
    
    .course-grid,
    .steps-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 26px;
    }
    
    .section-intro {
        font-size: 16px;
    }
    
    section {
        padding: 40px 0;
    }
}