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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: #333;
}

/* Header Styles */
.header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    color: #000;
    text-decoration: none;
}

.logo a {
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: #666;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #000;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: 0.3s;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav.active .nav-list {
    flex-direction: column;
    padding: 1rem 0;
    margin: 0;
}

.nav.active .nav-list li {
    margin: 0;
    border-bottom: 1px solid #eee;
}

.nav.active .nav-list li:last-child {
    border-bottom: none;
}

.nav.active .nav-list a {
    display: block;
    padding: 1rem 2rem;
    color: #000;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav.active .nav-list a:hover {
    background-color: #f5f5f5;
}

.nav.active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

.nav.active .dropdown-menu li {
    border-bottom: 1px solid #eee;
}

.nav.active .dropdown-menu a {
    padding: 0.75rem 3rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background-image: url('assets/images/hero-budget.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 1rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.stat-label {
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-column h2 {
    margin-bottom: 1.5rem;
}

.text-column p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Rounded Images */
.rounded-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* Section Styles */
.about-section,
.courses-section,
.features-section,
.cta-section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.course-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    margin-bottom: 1rem;
    color: #000;
}

.course-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.course-link {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.course-link:hover {
    background-color: #333;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-card {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-card .feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-card .feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Section */
.cta-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #333;
}

/* Footer */
.footer {
    background-color: #f8f8f8;
    border-top: 1px solid #eee;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #000;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #666;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .header-content {
        padding: 0.75rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .nav.active .nav-list a {
        padding: 0.75rem 1rem;
    }
    
    .nav.active .dropdown-menu a {
        padding: 0.5rem 2rem;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .burger-menu {
        padding: 3px;
    }
    
    .burger-menu span {
        width: 20px;
        height: 2px;
    }
    
    .nav.active .nav-list a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .nav.active .dropdown-menu a {
        padding: 0.4rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 1rem;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: #333;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-primary {
    background: #007bff;
    color: white;
}

.cookie-btn-primary:hover {
    background: #0056b3;
}

.cookie-btn-secondary {
    background: transparent;
    color: #007bff;
    border: 1px solid #007bff;
}

.cookie-btn-secondary:hover {
    background: #007bff;
    color: white;
}

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

.cookie-modal.show {
    display: flex;
}

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

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #333;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-header h4 {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.cookie-category p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-slider {
    background-color: #007bff;
}

.cookie-toggle input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-slider {
    background-color: #28a745;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

/* Mobile Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
    
    .cookie-modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
}

/* Course Details Styles */
.course-info {
    margin-top: 2rem;
}

.info-item {
    margin-bottom: 0.5rem;
    color: #666;
}

.course-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.duration,
.level {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.course-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.content-item {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
}

.content-item h3 {
    margin-bottom: 1rem;
    color: #000;
}

.content-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact Form Styles */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #000;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.checkbox-label a {
    color: #000;
    text-decoration: underline;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #000;
}

.contact-item p {
    margin-bottom: 0.25rem;
    color: #666;
}

.map-container {
    position: relative;
    margin-top: 2rem;
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.map-overlay h3 {
    margin-bottom: 0.5rem;
    color: #000;
}

.map-overlay p {
    margin-bottom: 0.25rem;
    color: #666;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.next-steps,
.contact-reminder {
    margin: 2rem 0;
    text-align: left;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #000;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: #333;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #333;
}

.legal-content strong {
    color: #000;
    font-weight: 600;
}

.legal-content a {
    color: #000;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #666;
}

.contact-info {
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #333;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .map-overlay {
        position: static;
        margin-top: 1rem;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .stat-item {
        padding: 0.75rem 1rem;
    }
    
    .course-content {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .course-content-grid {
        grid-template-columns: 1fr;
    }
    
    .course-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}
