/* 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;
    background-color: #f8f9fa;
}

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

/* Header */
header {
    background: #ffffff; /* White background for a clean business look */
    color: #2c3e50; /* Dark text for contrast */
    padding: 1rem 0; /* Reduced padding for a more compact header */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem; /* Smaller font size for a refined look */
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(52, 152, 219, 0.8), rgba(44, 62, 80, 0.8)), url('images/hero-banner.webp') center/cover; /* Updated image path and overlay */
    background-size: cover;
    color: white;
    padding: 6rem 0; /* Increased padding for more vertical space */
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px; /* Minimum height for the hero section */
}

#hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    margin-bottom: 2rem;
}

.hero-content span {
    font-size: 1.5rem;
    font-weight: 300;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-content p {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
    background: linear-gradient(135deg, #c0392b, #a93226);
}

/* Sections */
section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: white;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
    font-weight: 700;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
#about ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

#about li {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

#about li::before {
    content: '✓';
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

#about li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#about li {
    padding-left: 4rem;
}

/* Courses Section */
#courses {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.course-item {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #3498db;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left-color: #e74c3c;
}

.course-item h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-item p {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.course-item strong {
    color: #3498db;
    font-weight: 600;
}

/* Individual Offers & Partner Program */
#individual-offers, #partner-program {
    text-align: center;
}

#individual-offers p, #partner-program p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

/* Contact Form */
#contact {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

#contact h2 {
    color: white;
}

#contact h2::after {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #ecf0f1;
}

input, select, textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
}

.gdpr-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.gdpr-consent input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.2rem;
}

.gdpr-consent label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.gdpr-consent a {
    color: #3498db;
    text-decoration: underline;
}

.gdpr-consent a:hover {
    color: #2980b9;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem 0;
    }

    header .container {
        flex-direction: column;
        gap: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .logo h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    .hero-content span {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    #about ul {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .course-item {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    form {
        padding: 1.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1.5rem;
    }
    
    .hero-content span {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .course-item h3 {
        font-size: 1.3rem;
    }
    
    form {
        padding: 1rem;
    }
}

/* Animation for smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for form submission */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .btn {
    background: #95a5a6;
    cursor: not-allowed;
}

/* Success message styling */
.success-message {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    display: none;
}

.error-message {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    display: none;
}

