/* Global Styles */
:root {
    --primary-color: #8B4513;
    --secondary-color: #DEB887;
    --text-color: #5C4033;
    --background-color: #F5DEB3;
    --accent-color: #D2B48C;
    --gradient-primary: linear-gradient(135deg, #8B4513, #A0522D);
    --gradient-secondary: linear-gradient(135deg, #F5DEB3, #FFE4B5);
    --shadow-soft: 0 10px 30px rgba(139, 69, 19, 0.1);
    --shadow-strong: 0 20px 40px rgba(139, 69, 19, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: "Palatino", "Times New Roman", serif;
    line-height: 1.6;
    letter-spacing: -0.022em;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeBlend mode='screen'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.1'/%3E%3C/svg%3E");
}


.uppercase{
    text-transform: uppercase !important;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(245, 222, 179, 0.9);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border-bottom: 2px solid rgba(139, 69, 19, 0.2);
}

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

.logo img {
    max-width: 250px !important;
    height: auto;
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .logo img {
        max-width: 250px !important;
    }
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    position: relative;
}

.menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-button span:nth-child(1) { top: 6px; }
.menu-button span:nth-child(2) { top: 11px; }
.menu-button span:nth-child(3) { top: 16px; }

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

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

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

.menu-button.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(245, 222, 179, 0.95);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    border: 2px solid rgba(139, 69, 19, 0.2);
    box-shadow: var(--shadow-soft);
}

.mobile-menu.active {
    height: calc(100vh - 80px);
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    padding: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.mobile-menu.active .mobile-menu-links {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-links a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 69, 19, 0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    font-family: "Palatino", "Times New Roman", serif;
}

.mobile-menu-links .cta-button {
    display: block;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    border: none;
    opacity: 0;
    transform: translateY(10px);
}

@media (min-width: 769px) {
    .mobile-menu-links .cta-button {
        display: none;
    }
}

.mobile-menu.active .mobile-menu-links .cta-button {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-links a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    transform: translateX(10px);
}

.nav-links a:hover {
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    padding: 120px 2rem 0;
    margin-bottom: 10px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0.1'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23paper)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw + 1rem, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
    
    margin-bottom: 2rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.015em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

.hero-content p {
    font-size: 28px;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    opacity: 0.8;
    font-weight: 400;
    letter-spacing: .004em;
}

.hero-cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

@media (max-width: 480px) {
    .hero-cta-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Buttons */
.cta-button, .submit-button {
    text-decoration: none !important;
    padding: 12px 28px;
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 500;
    letter-spacing: -.022em;
    color: #F5DEB3;
    background: var(--gradient-primary);
    border: 1px solid rgba(139, 69, 19, 0.4);
    border-radius: 2px;
    cursor: pointer;
    min-width: 28px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.cta-button:hover, .submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 36, 1, 0.4);
}

.cta-button:active, .submit-button:active {
    transform: translateY(1px);
}

.cta-button.ob{
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}



.hero-video-container {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-strong);
}

.hero-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .hero-video-container {
        margin: 2rem auto 0;
        border-radius: 12px;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--background-color);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='3' stitchTiles='stitch'/%3E%3CfeBlend mode='screen'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
}

.services h2 {
    text-align: center;
    font-size: 48px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--accent-color);
}

.about h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: .011em;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
    background: var(--background-color);
    border-radius: 18px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    font-size: 17px;
    color: var(--text-color);
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--background-color);
}

.testimonials h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(139, 69, 19, 0.1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-card {
    background: linear-gradient(to bottom, #FFF8DC, #FAEBD7);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 20px;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.12);
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid rgba(139, 69, 19, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(139, 69, 19, 0.18);
    border-color: var(--primary-color);
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-top: 1px solid rgba(139, 69, 19, 0.15);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.testimonial-author strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-author span {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.85;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: var(--accent-color);
}

.team h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.single-instructor .team-card {
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

.instructor-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    margin: 0 auto 2rem;
    border: 3px solid var(--primary-color);
}

.instructor-title {
    color: var(--primary-color) !important;
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
}

.instructor-bio {
    text-align: left;
    margin-top: 2rem;
}

.instructor-bio p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.instructor-signature {
    text-align: right;
    margin-top: 3rem;
    font-family: "Brush Script MT", cursive;
}

.signature-text {
    font-size: 2rem !important;
    color: var(--primary-color) !important;
    margin-bottom: 0.5rem !important;
}

.signature-title {
    font-size: 1rem !important;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.team-card {
    background: var(--background-color);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-member-image {
    font-size: 48px;
    margin-bottom: 1rem;
}

.team-card h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.team-card p {
    font-size: 17px;
    color: var(--text-color);
    opacity: 0.8;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--background-color);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paper' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.4' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0.1'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23paper)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.faq h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-grid {
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-soft);
}

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

.faq-item h3 {
    padding: 1.8rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-item h3:hover {
    background: rgba(139, 69, 19, 0.1);
}

.faq-item h3::after {
    content: '+';
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 0;
    padding: 0 1.8rem;
    height: 0;
    opacity: 0;
    overflow: hidden;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active p {
    padding: 0 1.8rem 1.8rem;
    height: auto;
    opacity: 1;
}

    


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 40px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 28px;
    margin-bottom: 1.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--accent-color);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='parchment' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.3' numOctaves='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0.1'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23parchment)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.contact h2 {
    text-align: center;
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -.003em;
    margin-bottom: 50px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    background: var(--gradient-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 16px;
    transition: var(--transition-smooth);
    font-family: "Palatino", "Times New Roman", serif;
}

.contact-form input:hover,
.contact-form textarea:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

.contact-form button {
    padding: 15px 30px;
    background: var(--gradient-primary);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    color: var(--background-color);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: "Palatino", "Times New Roman", serif;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-soft);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    background: var(--primary-color);
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-secondary);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.contact-form button:hover::before {
    opacity: 0.2;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    text-align: center;
    padding: 17px 0;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 400;
    letter-spacing: -.01em;
}

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

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.footer-divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    .services h2,
    .contact h2 {
        font-size: 2rem;
    }

    .nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .menu-button {
        display: block;
    }
}