@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --blue: #78AEE3;
    --blue-transparent: rgba(120, 174, 227, 0.2);
    --blue-dark: #5795d3;
    --white: #FDFCF9;
    --orange: #E26D5C;
    --orange-light: #e8897c;
    --green: #758E67;
    --green-dark: #617954;
    --bg-main: #f0f6fb;
    --bg-secondary: #eaf1f7;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #999;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);

    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-main);
    position: relative;
    overflow-x: hidden;
}

.paint-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.15;
    background:
            radial-gradient(circle at 10% 20%, var(--blue-transparent), transparent 35%),
            radial-gradient(circle at 90% 50%, var(--orange), transparent 20%),
            radial-gradient(circle at 30% 80%, var(--green), transparent 25%),
            radial-gradient(circle at 80% 10%, var(--orange), transparent 15%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--blue-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--orange);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
    position: relative;
    overflow: hidden;
}

button:hover, .btn:hover {
    background-color: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

button:active, .btn:active {
    transform: translateY(0);
}

.btn-accent {
    background-color: var(--green);
}

.btn-accent:hover {
    background-color: var(--green-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
}

.btn-outline:hover {
    background-color: var(--orange);
    color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
    position: relative;
}

header {
    position: relative;
    padding: var(--space-md) 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    position: relative;
    display: inline-block;
    transform-origin: center;
}

.nav-desktop {
    display: flex;
}

.nav-desktop ul {
    display: flex;
    list-style: none;
}

.nav-desktop li {
    margin-left: var(--space-lg);
}

.nav-desktop a {
    color: var(--text-primary);
    position: relative;
    font-weight: 500;
}

.nav-desktop a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--blue);
    transition: width var(--transition-medium);
}

.nav-desktop a:hover:after,
.nav-desktop a.active:after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all var(--transition-medium);
}

.nav-mobile {
    position: fixed;
    top: 0;
    display: none;
    width: 80%;
    height: 100vh;
    background-color: var(--white);
    padding: var(--space-xl) var(--space-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: right var(--transition-medium);
}

.nav-mobile.active {
    right: 0;
    display: block;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile li {
    margin-bottom: var(--space-md);
}

.nav-mobile a {
    color: var(--text-primary);
    font-size: 1.25rem;
    display: block;
    padding: var(--space-sm) 0;
    transition: all var(--transition-medium);
}

.nav-mobile a:hover {
    color: var(--blue);
    transform: translateX(var(--space-sm));
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: all var(--transition-medium);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.close-menu:before,
.close-menu:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
}

.close-menu:before {
    transform: rotate(45deg);
}

.close-menu:after {
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: url("../images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    background: rgb(255, 255, 255, 0.7);
    padding: var(--space-xl);
}

.hero-title {
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.3s;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.6s;
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.9s;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--blue-transparent) 0%, transparent 50%, var(--orange-light) 100%);
    opacity: 0.2;
    z-index: 1;
}

.paint-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.paint-stroke {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    animation: paintAppear 0.8s forwards;
}

.stroke1 {
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background-color: var(--blue-transparent);
    animation-delay: 0.2s;
}

.stroke2 {
    top: 60%;
    left: 60%;
    width: 300px;
    height: 150px;
    background-color: rgba(226, 109, 92, 0.2);
    animation-delay: 0.4s;
}

.stroke3 {
    top: 30%;
    left: 75%;
    width: 150px;
    height: 150px;
    background-color: rgba(117, 142, 103, 0.2);
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes paintAppear {
    to {
        opacity: 0.6;
        transform: scale(1);
    }
}

.features {
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--blue);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card:before {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--blue-transparent);
    z-index: -1;
    transition: all var(--transition-medium);
}

.feature-card:hover:before {
    transform: scale(1.5);
}

.feature-icon {
    color: var(--blue);
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.feature-title {
    margin-bottom: var(--space-sm);
}

.courses {
    background-color: var(--bg-secondary);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.course-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--blue);
}

.course-content {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    margin-bottom: var(--space-sm);
}

.course-info {
    display: flex;
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.course-info div {
    margin-right: var(--space-md);
    display: flex;
    align-items: center;
}

.course-info i {
    margin-right: var(--space-xs);
}

.course-description {
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blue);
}

.gallery {
    position: relative;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.gallery-filter {
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-xs);
    border: 1px solid var(--blue);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.gallery-filter.active, .gallery-filter:hover {
    background-color: var(--blue);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 250px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-medium);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: var(--white);
}

.gallery-title {
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.gallery-category {
    font-style: italic;
}

.testimonials {
    background-color: var(--bg-secondary);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    padding: var(--space-lg);
}

.testimonial-content {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: var(--space-md);
    position: relative;
}

.testimonial-content:before, .testimonial-content:after {
    content: "";
    position: absolute;
    font-size: 3rem;
    color: var(--blue-transparent);
    line-height: 0;
}

.testimonial-content:before {
    top: 0;
    left: -20px;
}

.testimonial-content:after {
    content: "";
    bottom: 0;
    right: -20px;
}

.testimonial-author {
    font-weight: 600;
}

.contact {
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-item {
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--blue);
    margin-right: var(--space-md);
    flex-shrink: 0;
}

.contact-details {
    flex-grow: 1;
}

.contact-label {
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-map iframe{
    width: 100%;
    height: 100%;
}
.contact-map {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--blue);
    outline: none;
    box-shadow: 0 0 0 3px var(--blue-transparent);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.form-check-input {
    margin-right: var(--space-sm);
    margin-top: 5px;
}

.privacy-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: var(--space-md);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.privacy-popup.active {
    transform: translateY(0);
}

.privacy-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-text {
    margin-right: var(--space-md);
    margin-bottom: 0;
}

.privacy-buttons {
    display: flex;
    gap: var(--space-sm);
}

footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: var(--space-lg) 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-menu ul {
    display: flex;
    list-style: none;
}

.footer-menu li {
    margin-left: var(--space-md);
}

.footer-menu a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-menu a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.8;
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .contact-container{
        display: flex;
        flex-direction: column-reverse;
    }

    html {
        font-size: 15px;
    }

    .nav-desktop {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .hero {
        height: 70vh;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-menu {
        margin-bottom: var(--space-md);
    }

    .footer-menu ul {
        justify-content: center;
    }

    .footer-menu li:first-child {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: var(--space-lg) 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .privacy-content {
        flex-direction: column;
    }

    .privacy-text {
        margin-right: 0;
        margin-bottom: var(--space-sm);
    }

    .footer-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-menu li {
        margin: var(--space-xs) var(--space-sm);
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }

    .hero {
        min-height: 500px;
    }

    .feature-cards, .course-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 320px) {
    html {
        font-size: 12px;
    }

    .container {
        padding: 0 var(--space-sm);
    }
}

.thank-you {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    padding: var(--space-xl);
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.thank-you-content:before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--blue-transparent);
    z-index: -1;
}

.thank-you-content:after {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(226, 109, 92, 0.2);
    z-index: -1;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--green);
    margin-bottom: var(--space-md);
}

.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-content {
    max-width: 600px;
    padding: var(--space-xl);
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.error-code:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--orange);
    border-radius: 5px;
}

.legal-page {
    padding: var(--space-xl) 0;
}

.legal-content {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.legal-section {
    margin-bottom: var(--space-xl);
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-date {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.home-button {
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.home-button i {
    margin-right: var(--space-xs);
}

.products {
    background-color: var(--bg-secondary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content {
    padding: var(--space-lg);
}

.product-title {
    margin-bottom: var(--space-sm);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: var(--space-md);
}

.product-features {
    margin-bottom: var(--space-md);
}

.product-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-xs);
}

.product-feature i {
    color: var(--green);
    margin-right: var(--space-xs);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all var(--transition-medium);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all var(--transition-medium);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-medium);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.float {
    animation: float 5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 10s linear infinite;
}


.responsive-table{
    overflow: auto;
}

html, body {

    overflow-x: hidden;

    width: 100%;

    box-sizing: border-box;

}