/* Variables */
:root {
    --turquoise: #1FA29E;
    --orange: #FF7F11;
    --cream: #FFF2DC;
    --graphite: #2E2E2E;
    --salmon: #FFB6A1;
    --gradient1: linear-gradient(135deg, var(--turquoise), var(--orange));
    --gradient2: linear-gradient(135deg, var(--salmon), var(--turquoise));
    --container-width: 1200px;
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--graphite);
    background-color: var(--cream);
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--turquoise);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--orange);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--graphite);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient1);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--gradient1);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(31, 162, 158, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(31, 162, 158, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--gradient2);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 242, 220, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: block;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--graphite);
    font-weight: 600;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient1);
    transition: var(--transition);
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.main-nav a.btn {
    color: white;
}

.main-nav a.btn:after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--graphite);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    background: url('img/JpzPEi.jpg') no-repeat center center/cover;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(46, 46, 46, 0.8), rgba(31, 162, 158, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero h1 {
    color: white;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about {
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--orange);
    border-radius: 50%;
    z-index: -1;
}

.about-image:after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: var(--turquoise);
    border-radius: 50%;
    z-index: -1;
}

.about-content h2 {
    text-align: left;
}

.about-content h2:after {
    left: 0;
    transform: none;
}

/* Courses Section */
.courses {
    background-color: var(--graphite);
    color: white;
}

.courses h2, .courses h3 {
    color: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.course-image {
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-content {
    padding: 30px;
}

.course-price {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--orange);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: 700;
}

/* Benefits Section */
.benefits {
    background-color: var(--cream);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* Schedule Section */
.schedule {
    background-color: var(--salmon);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.schedule-table th {
    background: var(--turquoise);
    color: white;
    font-weight: 600;
}

.schedule-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.schedule-note {
    margin-top: 20px;
    text-align: center;
    font-style: italic;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: white;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-date {
    color: var(--turquoise);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--turquoise);
    color: white;
}

.testimonials h2 {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    color: var(--graphite);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--orange);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-title {
    font-size: 0.9rem;
    color: var(--turquoise);
}

/* Contact Section */
.contact {
    background-color: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--turquoise);
    outline: none;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232E2E2E' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check-label a {
    text-decoration: underline;
}

.contact-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-error {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-errors-list {
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 3px solid red;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
.main-footer {
    background-color: var(--graphite);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-info p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-contact ul,
.footer-nav ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a,
.footer-nav a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact a:hover,
.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--salmon);
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 400px;
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.cookie-content p {
    margin-bottom: 15px;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: var(--salmon);
    animation: float 15s ease-in-out infinite alternate;
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 70%;
    height: 70%;
    background: var(--turquoise);
    animation: float 20s ease-in-out infinite alternate-reverse;
}

.shape-3 {
    top: 40%;
    left: 30%;
    width: 30%;
    height: 30%;
    background: var(--orange);
    animation: float 25s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(5%, 5%) rotate(5deg);
    }
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 150px 0;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.thank-you-icon {
    font-size: 5rem;
    color: var(--turquoise);
    margin-bottom: 30px;
}

.thank-you h1 {
    margin-bottom: 20px;
}

.thank-you p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Legal Pages */
.legal-page {
    padding: 150px 0 80px;
}

.legal-content {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
}

.legal-content h3 {
    font-size: 1.4rem;
    margin-top: 30px;
}

.legal-content ul,
.legal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .contact-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--cream);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100vh);
        transition: var(--transition);
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 0 0 15px 0;
    }
    
    .main-nav a.btn {
        display: inline-block;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-popup {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }
} 