/* Base Styles */
:root {
    --primary-color: #5d4037;
    --primary-light: #8b6b61;
    --primary-dark: #321911;
    --secondary-color: #8b735a;
    --accent-color: #4caf50;
    --accent-light: #80e27e;
    --accent-dark: #087f23;
    --wood-color-light: #d7cca1;
    --wood-color-medium: #c4a775;
    --wood-color-dark: #8b6b4a;
    --sawdust-color: #e8e0cb;
    --background-color: #f8f4ec;
    --text-color: #33302e;
    --light-text: #666;
    --white: #fff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 10px;
    --border-radius-small: 6px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Heebo', sans-serif;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f4ec"/><path d="M0,0 L100,0 L100,20 Q80,25 60,20 Q40,15 20,20 L0,20 Z" fill="%23e5dfd0" opacity="0.5"/><path d="M0,40 L100,40 L100,60 Q80,55 60,60 Q40,65 20,60 L0,60 Z" fill="%23d7cca1" opacity="0.3"/><path d="M0,80 L100,80 L100,100 Q80,97 60,100 Q40,103 20,100 L0,100 Z" fill="%23e5dfd0" opacity="0.5"/></svg>');
    background-attachment: fixed;
    background-size: 400px 400px;
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    position: relative;
}

/* Overlay for better readability over wood texture */
body:before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 251, 245, 0.92), rgba(255, 251, 245, 0.85));
    z-index: -1;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-title {
    text-align: center;
    margin: 2rem 0;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-dark), var(--accent-color), var(--accent-light));
    margin: 0.7rem auto 0;
    border-radius: 2px;
}

/* Button Styles */
.cta-button, .submit-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-decoration: none;
    border: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:before, .submit-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.2), rgba(255,255,255,0));
    transition: left 0.7s ease;
    z-index: -1;
}

.cta-button:hover:before, .submit-button:hover:before {
    left: 100%;
}

.cta-button:hover, .submit-button:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.cta-button:active, .submit-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

/* Top Bar */
.top-bar {
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

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

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

.logo img {
    max-height: 25px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.logo span {
    margin-right: 10px;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.2rem;
    position: relative;
}

.logo span:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.4s ease;
}

.logo:hover span:after {
    width: 100%;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.75)), url('https://res.cloudinary.com/doxiillcn/image/upload/v1747256667/DND%20Cours/tool-41288_1920_eohnhn.png') no-repeat center center / cover;
    color: var(--white);
    padding: 10rem 0;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-strong);
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

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

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero h2 {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    line-height: 1.5;
}

/* Wood Particles Animation */
.wood-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.wood-particles:before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    background-image: 
        radial-gradient(var(--sawdust-color) 1px, transparent 1px),
        radial-gradient(var(--wood-color-light) 1px, transparent 2px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    animation: particles-fall 20s linear infinite;
}

@keyframes particles-fall {
    0% {
        transform: translateY(-10%) rotate(0deg);
    }
    100% {
        transform: translateY(10%) rotate(5deg);
    }
}

.course-dates {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* .course-dates:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
} */

.course-dates h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.dates-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius-small);
    padding: 1rem 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.date-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-light), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.date-item:hover:after {
    transform: scaleX(1);
}

.date-item:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.date-item i {
    font-size: 1.8rem;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.date-item span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

/* Wood Grain Decorative Element */
.wood-grain-decoration {
    position: absolute;
    width: 250px;
    height: 20px;
    background: linear-gradient(90deg, 
        var(--wood-color-dark) 0%, 
        var(--wood-color-light) 20%, 
        var(--wood-color-medium) 40%, 
        var(--wood-color-dark) 60%, 
        var(--wood-color-light) 80%, 
        var(--wood-color-medium) 100%);
    border-radius: 10px;
    opacity: 0.7;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-header {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    display: inline-block;
    position: relative;
    padding: 0 2rem;
    z-index: 1;
}

.section-header h2:before, .section-header h2:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 3px;
    border-radius: 1px;
}

.section-header h2:before {
    right: 100%;
    background: linear-gradient(to left, var(--primary-color), transparent);
}

.section-header h2:after {
    left: 100%;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.section-header .wood-grain-decoration:first-of-type {
    right: 10%;
    top: -30px;
    transform: rotate(-5deg);
}

.section-header .wood-grain-decoration:last-of-type {
    left: 10%;
    bottom: -20px;
    transform: rotate(5deg);
}

/* Course Stages */
.course-stages {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.stages-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.stage-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--background-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    border: 1px solid rgba(139, 115, 90, 0.1);
    overflow: hidden;
}

.stage-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.stage-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="none" stroke="%235d4037" stroke-width="0.5" stroke-dasharray="5,5" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.stage-card:hover:after {
    opacity: 0.2;
}

.stage-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.stage-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    background: rgba(76, 175, 80, 0.1);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.stage-card:hover .stage-icon {
    background: rgba(76, 175, 80, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.stage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* About The Instructor */
.instructor {
    padding: 5rem 0;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.instructor:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 30%;
    background: linear-gradient(to left, rgba(76, 175, 80, 0.05), rgba(76, 175, 80, 0));
    transform: skewX(-15deg);
    z-index: 0;
}

.instructor-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3.5rem;
    align-items: flex-start;
    position: relative;
}

.instructor-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0;
    transform: translateX(-30px);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s;
    position: relative;
}

.instructor-image:before {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    left: -15px;
    top: 15px;
    border-radius: var(--border-radius);
    opacity: 0.3;
    transition: var(--transition);
}

.instructor-image:hover:before {
    left: -10px;
    top: 10px;
}

.instructor-image.revealed {
    opacity: 1;
    transform: translateX(0);
}

.instructor-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    border: 5px solid var(--white);
    transition: var(--transition);
}

.instructor-image:hover img {
    transform: scale(1.02);
}

.instructor-details {
    flex: 2;
    min-width: 300px;
}

.instructor-name {
    font-size: 2.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
    position: relative;
    display: inline-block;
}

.instructor-name:after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 60%;
    height: 3px;
    background: var(--accent-color);
}

.instructor-title {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 1.8rem;
    font-weight: 500;
}

.instructor-subtitle {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 2.2rem 0 1.2rem;
    position: relative;
    padding-right: 1.5rem;
}

.instructor-subtitle:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.5rem;
    width: 5px;
    height: 1.5rem;
    background-color: var(--accent-color);
    border-radius: 3px;
}

.instructor-features {
    list-style: none;
}

.instructor-features li {
    margin-bottom: 1.2rem;
    position: relative;
    padding-right: 2.5rem;
    opacity: 0;
    transform: translateX(30px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s;
    font-size: 1.05rem;
}

.instructor-features li.revealed {
    opacity: 1;
    transform: translateX(0);
}

.instructor-features li i {
    position: absolute;
    right: 0;
    top: 0.4rem;
    color: var(--accent-color);
    font-size: 1.3rem;
    background: rgba(76, 175, 80, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Example Projects */
.example-projects {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--white), var(--background-color));
    position: relative;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.project-card {
    flex: 1;
    min-width: 280px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(139, 115, 90, 0.1);
    position: relative;
}

.project-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(var(--wood-color-dark), 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover:after {
    opacity: 1;
}

.project-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
    z-index: 1;
}

.project-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.project-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.4));
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-image:before {
    opacity: 1;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.chair-img {
    background-image: url('https://res.cloudinary.com/doxiillcn/image/upload/v1747072389/DND%20Cours/kleinerbruder_mj2csw.jpg');
}

.table-img {
    background-image: url('https://res.cloudinary.com/doxiillcn/image/upload/v1747072389/DND%20Cours/Coffe_Table_svdmb7.jpg');
}

.shelf-img {
    background-image: url('https://res.cloudinary.com/doxiillcn/image/upload/v1747072389/DND%20Cours/Keys_Holder_jjhrz4.jpg');
}

.project-card h3, .project-card p {
    padding: 0 1.8rem;
}

.project-card h3 {
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: var(--primary-dark);
    position: relative;
    padding-bottom: 0.8rem;
}

.project-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 1.8rem;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.project-card:hover h3:after {
    width: 60px;
}

.project-card p {
    color: var(--light-text);
    padding-bottom: 1.8rem;
    font-size: 1rem;
}

/* Who is the course for */
.who-for {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    position: relative;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.who-for:before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.who-for:after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.who-for .section-title {
    color: var(--white);
}

.who-for .section-title:after {
    background: linear-gradient(to right, rgba(255,255,255,0.5), rgba(255,255,255,0.9), rgba(255,255,255,0.5));
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 1;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.benefit-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.benefit-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-color);
    background: rgba(76, 175, 80, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition);
}

.benefit-item:hover i {
    background: rgba(76, 175, 80, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.benefit-item p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

/* Price and Offer */
.price-offer {
    padding: 5rem 0;
    background-color: var(--background-color);
    text-align: center;
    position: relative;
}

.price-box {
    max-width: 700px;
    margin: 0 auto;
    padding: 3.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 115, 90, 0.1);
}

.price-box:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.price-box:after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -70px;
    width: 150px;
    height: 150px;
    background: rgba(93, 64, 55, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.price {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-dark);
    position: relative;
    display: inline-block;
    z-index: 1;
}

.price:after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 25%;
    left: 25%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
}

.price-details {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* FAQ */
.faq {
    padding: 5rem 0;
    background-color: var(--white);
    position: relative;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background-color: var(--background-color);
    padding: 1.8rem 2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(139, 115, 90, 0.1);
    box-shadow: var(--shadow);
}

.faq-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.faq-item.active {
    background-color: var(--white);
    box-shadow: var(--shadow-strong);
}

.faq-item.active .question {
    color: var(--accent-dark);
}

.question {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    transition: color 0.3s;
    position: relative;
    padding-right: 2rem;
}

.question:before {
    content: '\f055';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 0.3rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-item.active .question:before {
    content: '\f056';
    color: var(--accent-dark);
}

.answer {
    color: var(--light-text);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), margin 0.3s;
    font-size: 1.05rem;
    padding-right: 2rem;
}

.faq-item.active .answer {
    max-height: 1000px;
    margin-top: 1rem;
    transition: max-height 0.6s cubic-bezier(1, 0, 1, 0), margin 0.3s;
}

/* Registration Form */
.registration {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--background-color), #f0ebe0);
    position: relative;
    overflow: hidden;
}

.registration:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color), var(--primary-light));
}

.registration:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="20" viewBox="0 0 100 20"><path d="M0,10 Q25,20 50,10 T100,10" fill="none" stroke="%235d4037" stroke-width="1" opacity="0.05"/></svg>');
    background-size: 100px 20px;
    opacity: 0.3;
    pointer-events: none;
}

.form-dates {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 600px;
    text-align: center;
    border: 1px solid rgba(139, 115, 90, 0.1);
}

.form-dates-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1rem;
}

.form-dates-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-date-item {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-small);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.2);
    transition: var(--transition);
}

.form-date-item:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(76, 175, 80, 0.3);
}

.form-date-item.active {
    background-color: #8B4513; /* Or your desired color */
    color: white;
    border-color: #5C3317; /* Optional: darker border for effect */
}

.registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 115, 90, 0.1);
}

.registration-form:before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(139, 115, 90, 0.2);
    border-radius: var(--border-radius-small);
    font-family: 'Heebo', sans-serif;
    font-size: 1.05rem;
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.submit-button {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1.2rem;
}

.form-response {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius-small);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-response.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-response.error {
    background-color: rgba(211, 47, 47, 0.1);
    color: #c62828;
    border: 1px solid rgba(211, 47, 47, 0.3);
}

.form-response.visible {
    display: block;
}

.whatsapp-link {
    text-align: center;
    margin-top: 1.5rem;
}

.whatsapp-link a {
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(37, 211, 102, 0.1);
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.whatsapp-link a:hover {
    background-color: rgba(37, 211, 102, 0.2);
    transform: translateY(-3px);
}

.whatsapp-link i {
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.footer:after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -70px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
}

.contact-info {
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 3px;
    background: var(--accent-color);
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info p i {
    color: var(--accent-light);
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--accent-light);
}

.copyright {
    margin-top: 3rem;
    font-size: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animation Delay for Reveal Effect */
.stage-card:nth-child(1),
.project-card:nth-child(1),
.benefit-item:nth-child(1),
.faq-item:nth-child(1) {
    transition-delay: 0.1s;
}

.stage-card:nth-child(2),
.project-card:nth-child(2),
.benefit-item:nth-child(2),
.faq-item:nth-child(2) {
    transition-delay: 0.2s;
}

.stage-card:nth-child(3),
.project-card:nth-child(3),
.benefit-item:nth-child(3),
.faq-item:nth-child(3) {
    transition-delay: 0.3s;
}

.faq-item:nth-child(4) {
    transition-delay: 0.4s;
}

.instructor-features li:nth-child(1) {
    transition-delay: 0.1s;
}

.instructor-features li:nth-child(2) {
    transition-delay: 0.2s;
}

.instructor-features li:nth-child(3) {
    transition-delay: 0.3s;
}

.instructor-features li:nth-child(4) {
    transition-delay: 0.4s;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .stages-container, .projects-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stage-card, .project-card {
        width: 100%;
        max-width: 500px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .instructor-container {
        flex-direction: column;
        align-items: center;
    }
    
    .instructor-image {
        margin-bottom: 1rem;
    }

    /* Fix SVG patterns and decorations */
    .wood-pattern-bg {
        opacity: 0.05;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }
    
    .benefit-item i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .instructor-name {
        font-size: 2rem;
    }
    
    .registration-form {
        padding: 2rem;
    }
    
    /* Fix mobile horizontal scroll issues */
    .wood-particles:before,
    .wood-pattern-bg,
    .course-dates:before {
        background-attachment: scroll;
    }
    
    .section-header h2:before,
    .section-header h2:after {
        width: 40px;
    }
    
    .wood-grain-decoration {
        width: 150px;
    }

    /* Adjust SVG animations for better performance */
    .wood-particles:before {
        animation: none;
    }
    
    .carpentry-tools {
        display: none;
    }
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .price-box {
        padding: 2rem 1rem;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .benefit-item p {
        font-size: 1.1rem;
    }
    
    .scroll-top {
        left: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Prevent horizontal overflow */
    .dates-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .date-item {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .form-dates-list {
        flex-direction: column;
        align-items: center;
    }
    
    .form-date-item {
        width: 100%;
        max-width: 150px;
    }
}

/* Fix Mobile Horizontal Scroll Issues */
img, svg, video {
    max-width: 100%;
    height: auto;
}

.wood-pattern-bg,
.wood-particles,
.overlay-animation,
.carpentry-tools {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Animation Overlay */
.overlay-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-in-out;
    opacity: 1;
}

.overlay-animation.loaded {
    opacity: 0;
}

.overlay-animation:before {
    content: '';
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Carpentry Tool Animation */
.carpentry-tools {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    pointer-events: none;
    z-index: 10;
    opacity: 0.8;
}

.tool {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: center;
    animation: float 5s ease-in-out infinite;
}

.tool:nth-child(1) {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M424 0c-12.4 0-24.7 3.8-35.3 10.9L181.9 144H144c-26.5 0-48 21.5-48 48v64.9c0 26.5 21.5 48 48 48h32c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32h32c11.2 0 21.9-3.9 30.4-11L504.1 179.4c21.9-18.4 25.5-51.3 8-74.5l-14.2-18.9L422.8 33 437 14.1C446.4-2 437.5-5.3 424 5.1V0z" fill="%235d4037"/></svg>');
    top: 10px;
    left: 10px;
    animation-delay: 0.2s;
}

.tool:nth-child(2) {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M277.4 4.002C283.5 9.592 288 18.11 288 28C288 41.25 277.3 52 264 52H248V88H464C472.8 88 480 95.16 480 104V176C480 184.8 472.8 192 464 192H248V512H201.1C196.1 498.6 179.8 489.3 160 489.3C140.2 489.3 123.9 498.6 118.9 512H104C99.58 512 96 508.4 96 504V271C96 264.3 92.71 258.1 87.17 255.8C81.62 252.6 74.89 253.3 70.3 257.9L25.4 302.8C19.3 308.9 16 317.4 16 326.3V341.1C16 356.6 24.39 371.2 38.06 378.9L98.5 416H149.4C154.4 402.6 171.6 393.3 192 393.3C212.4 393.3 229.6 402.6 234.6 416H248V328H224C215.2 328 208 320.8 208 312V248C208 239.2 215.2 232 224 232H248V192H96C87.16 192 80 184.8 80 176V104C80 95.16 87.16 88 96 88H199.1C204.1 74.59 220.1 65.35 240 65.35C259.9 65.35 275 74.59 280.9 88H296V52H280C266.7 52 256 41.25 256 28C256 18.11 260.5 9.592 266.6 4.002C271 .1313 276.3 0 277.4 0C278.6 0 283.1 .1313 287.4 4.002H277.4z" fill="%235d4037"/></svg>');
    top: 60px;
    left: 40px;
    animation-delay: 0.5s;
}

.tool:nth-child(3) {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M160 32V64H288V32C288 14.33 302.3 0 320 0C337.7 0 352 14.33 352 32V64H400C426.5 64 448 85.49 448 112V160H0V112C0 85.49 21.49 64 48 64H96V32C96 14.33 110.3 0 128 0C145.7 0 160 14.33 160 32zM0 192H448V464C448 490.5 426.5 512 400 512H48C21.49 512 0 490.5 0 464V192zM328.1 304.1C338.3 295.6 338.3 280.4 328.1 271C319.6 261.7 304.4 261.7 295 271L200 366.1L152.1 319C143.6 309.7 128.4 309.7 119 319C109.7 328.4 109.7 343.6 119 352.1L183 416.1C192.4 426.3 207.6 426.3 216.1 416.1L328.1 304.1z" fill="%235d4037"/></svg>');
    top: 20px;
    left: 70px;
    animation-delay: 0.8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Wood Grain Animations */
@keyframes woodGrainShine {
    0%, 100% {
        background: linear-gradient(90deg, 
            var(--wood-color-dark) 0%, 
            var(--wood-color-light) 20%, 
            var(--wood-color-medium) 40%, 
            var(--wood-color-dark) 60%, 
            var(--wood-color-light) 80%, 
            var(--wood-color-medium) 100%);
        opacity: 0.7;
    }
    50% {
        background: linear-gradient(90deg, 
            var(--wood-color-medium) 0%, 
            var(--wood-color-dark) 20%, 
            var(--wood-color-light) 40%, 
            var(--wood-color-medium) 60%, 
            var(--wood-color-dark) 80%, 
            var(--wood-color-light) 100%);
        opacity: 0.8;
    }
}

/* Wood Pattern Background */
.wood-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.07;
    pointer-events: none;
}

.wood-pattern-bg[data-pattern-type="rings"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><ellipse cx="100" cy="100" rx="80" ry="50" fill="none" stroke="%235d4037" stroke-width="1"/><ellipse cx="100" cy="100" rx="70" ry="45" fill="none" stroke="%235d4037" stroke-width="1"/><ellipse cx="100" cy="100" rx="60" ry="40" fill="none" stroke="%235d4037" stroke-width="1"/><ellipse cx="100" cy="100" rx="50" ry="35" fill="none" stroke="%235d4037" stroke-width="1"/><ellipse cx="100" cy="100" rx="40" ry="30" fill="none" stroke="%235d4037" stroke-width="1"/><ellipse cx="100" cy="100" rx="30" ry="25" fill="none" stroke="%235d4037" stroke-width="1"/><ellipse cx="100" cy="100" rx="20" ry="15" fill="none" stroke="%235d4037" stroke-width="1"/><ellipse cx="100" cy="100" rx="10" ry="5" fill="none" stroke="%235d4037" stroke-width="1"/></svg>');
    background-size: 200px 200px;
    animation: woodRingsRotate 120s linear infinite;
}

.wood-pattern-bg[data-pattern-type="lines"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10,10 Q30,30 50,10 T90,10" fill="none" stroke="%235d4037" stroke-width="1"/><path d="M10,25 Q30,45 50,25 T90,25" fill="none" stroke="%235d4037" stroke-width="1"/><path d="M10,40 Q30,60 50,40 T90,40" fill="none" stroke="%235d4037" stroke-width="1"/><path d="M10,55 Q30,75 50,55 T90,55" fill="none" stroke="%235d4037" stroke-width="1"/><path d="M10,70 Q30,90 50,70 T90,70" fill="none" stroke="%235d4037" stroke-width="1"/><path d="M10,85 Q30,105 50,85 T90,85" fill="none" stroke="%235d4037" stroke-width="1"/></svg>');
    background-size: 100px 100px;
}

@keyframes woodRingsRotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Carpenter's Tool Cursor for Interactive Elements */
button:hover, a:hover, .date-item:hover, .form-date-item:hover {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M16,0 L20,10 L32,16 L20,22 L16,32 L12,22 L0,16 L12,10 Z" fill="%235d4037" opacity="0.8"/></svg>') 16 16, pointer;
} 
