:root {
    --secondary: #C9B037;
    --secondary-dark: #F5F5DC;
    --primary-light: #9678B6;
    --primary: #2C3E50;
    --accent: #C9B037;
    --light: #F9F9F9;
    --light-gray: #eaeaea;
    --medium-gray: #cccccc;
    --dark: #0e0403;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --black: #000000;
    --success: #28a745;
    --error: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

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

.section-header i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-divider {
    height: 3px;
    width: 80px;
    background: var(--secondary);
    margin: 1rem auto;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 30px;
    background: var(--accent);
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
}

.light-bg {
    background-color: var(--light-gray);
}

.dark-bg {
    background-color: var(--primary);
    color: var(--light);
}

.dark-bg .section-header i,
.dark-bg .section-header h2 {
    color: var(--light);
}

.dark-bg .section-divider {
    background: var(--light);
}

.dark-bg .section-divider::after {
    background: var(--secondary);
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--light);
    padding: 4rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 2;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInDown 1s ease;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.3s both;
}

.header-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    border: 5px solid var(--secondary);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    animation: fadeIn 1s ease 0.6s both;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-decor {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, transparent 60%, rgba(244, 180, 27, 0.3) 100%);
}

.header-decor i {
    font-size: 2rem;
    margin: 0 1rem;
    color: var(--secondary);
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

.header-decor i:nth-child(2) {
    animation-delay: 0.5s;
}

.header-decor i:nth-child(3) {
    animation-delay: 1s;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-divider .shape-fill {
    fill: var(--light);
}

/* Navigation */
nav {
    background: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu li a {
    color: var(--light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    color: var(--light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 4rem 0;
}

.parallax {
    background-attachment: fixed;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--secondary);
}

.cta-button:hover {
    background: transparent;
    color: var(--light);
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 180, 27, 0.4);
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--light);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--light);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transform: translateY(-3px);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* About Section */
#about {
    padding: 6rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-text {
    padding: 1rem;
}

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

.skills {
    margin: 2rem 0;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-progress {
    position: relative;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-bar {
    height: 10px;
    background: var(--medium-gray);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--secondary);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
}

.signature {
    margin-top: 2rem;
    max-width: 200px;
}

.signature img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Teaching Section */
#teaching {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    color: var(--light);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .card-icon i {
    color: var(--light);
}

.feature-card:hover h3 {
    color: var(--light);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 3rem;
    color: var(--secondary);
    transition: var(--transition);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.feature-card p {
    color: var(--text-light);
    transition: var(--transition);
}

.feature-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-section {
    margin-top: 4rem;
}

.pricing-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--secondary);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.pricing-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-card ul {
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.pricing-card ul li i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.price-button {
    display: inline-block;
    background: var(--primary);
    color: var(--light);
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    border: 2px solid var(--primary);
}

.price-button:hover {
    background: transparent;
    color: var(--primary);
    text-decoration: none;
}

.pricing-card.featured .price-button {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
}

.pricing-card.featured .price-button:hover {
    background: transparent;
    color: var(--secondary);
}

/* Testimonials Section */
#testimonials {
    padding: 6rem 0;
    background: url('images/pattern.png');
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content p::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--secondary);
    position: absolute;
    left: -1rem;
    top: -1rem;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 3px solid var(--secondary);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-method h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.contact-method a {
    color: var(--light);
    transition: var(--transition);
}

.contact-method a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

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

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-light);
    transition: var(--transition);
    pointer-events: none;
    background: var(--white);
    padding: 0 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(244, 180, 27, 0.2);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--secondary);
    background: var(--white);
}

.submit-button {
    display: inline-block;
    background: var(--secondary);
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
}

.submit-button:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(244, 180, 27, 0.4);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 4rem 0 0;
}

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

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary);
    text-decoration: none;
    padding-left: 5px;
}

.footer-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-links {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--secondary);
    text-decoration: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid,
    .pricing-cards,
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 400px;
        order: -1;
    }
    
    .features-grid,
    .pricing-cards,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button,
    .secondary-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .header-image {
        width: 150px;
        height: 150px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 1rem;
        right: 1rem;
    }
}