/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #33312E;
    background-color: #FDFBF8;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

h1 {
    font-size: 64px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 48px;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

/* Header Styles */
.header {
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #EAE6DE;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: #2E6A68;
}

.nav-brand i {
    font-size: 24px;
    color: #2E6A68;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #8B857B;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #33312E;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2E6A68;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-appointment {
    background: #2E6A68;
    color: white;
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-appointment:hover {
    background: #1F4746;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 106, 104, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #2E6A68;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: #FDFBF8;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(46, 106, 104, 0.1);
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-text {
    padding: 40px 0;
}

.hero-text .subtitle {
    font-style: italic;
    color: #8B857B;
    font-size: 18px;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 18px;
    color: #8B857B;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2E6A68;
    color: white;
    border: none;
    padding: 18px 36px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-primary:hover {
    background: #1F4746;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(46, 106, 104, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2E6A68;
    border: 2px solid #2E6A68;
    padding: 16px 36px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #2E6A68;
    color: white;
    transform: translateY(-3px);
}

/* Section Styles */
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: #33312E;
}

.section-subtitle {
    font-size: 18px;
    color: #8B857B;
    text-align: center;
    margin-bottom: 80px;
    font-style: italic;
}

/* About Section */
.about {
    padding: 120px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 16px;
    color: #33312E;
}

.about-text .subtitle {
    font-style: italic;
    color: #8B857B;
    margin-bottom: 32px;
}

.about-text p {
    font-size: 18px;
    color: #8B857B;
    margin-bottom: 48px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 24px;
    border: 1px solid #EAE6DE;
    border-radius: 4px;
    background: #FDFBF8;
}

.stat h3 {
    font-size: 36px;
    color: #2E6A68;
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond', serif;
}

.stat p {
    color: #8B857B;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(46, 106, 104, 0.1);
}

/* Services Section */
.services {
    padding: 120px 0;
    background: #FDFBF8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(46, 106, 104, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #EAE6DE;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(46, 106, 104, 0.15);
}

.service-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 32px;
}

.service-content h3 {
    margin-bottom: 16px;
    color: #33312E;
}

.service-content p {
    color: #8B857B;
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-link {
    color: #2E6A68;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #1F4746;
}

/* Why Choose Us Section */
.why-choose {
    padding: 120px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 64px;
}

.feature-card {
    text-align: center;
    padding: 48px 32px;
    border: 1px solid #EAE6DE;
    border-radius: 4px;
    background: #FDFBF8;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(46, 106, 104, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #F4F8F8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.feature-icon i {
    font-size: 32px;
    color: #2E6A68;
}

.feature-card h3 {
    margin-bottom: 24px;
    color: #33312E;
}

.feature-card p {
    color: #8B857B;
    line-height: 1.7;
}

/* Insurance Section */
.insurance {
    padding: 120px 0;
    background: #FDFBF8;
}

.insurance-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 64px;
    border-bottom: 1px solid #EAE6DE;
}

.tab-btn {
    background: none;
    border: none;
    padding: 16px 32px;
    font-weight: 600;
    color: #8B857B;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #33312E;
    border-bottom-color: #2E6A68;
}

.tab-btn:hover {
    color: #33312E;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.insurance-card {
    background: white;
    border: 1px solid #EAE6DE;
    border-radius: 8px;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.insurance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(46, 106, 104, 0.1);
}

.insurance-card.featured {
    border-color: #2E6A68;
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #2E6A68;
    color: white;
    padding: 8px 24px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.insurance-card h3 {
    margin-bottom: 24px;
    color: #33312E;
}

.price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    color: #2E6A68;
    margin-bottom: 32px;
}

.price span {
    font-size: 18px;
    color: #8B857B;
    font-weight: 400;
}

.insurance-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.insurance-features li {
    padding: 12px 0;
    color: #8B857B;
    border-bottom: 1px solid #F4F8F8;
    position: relative;
    padding-left: 24px;
}

.insurance-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2E6A68;
    font-weight: bold;
}

.btn-plan {
    background: #2E6A68;
    color: white;
    border: none;
    padding: 16px 32px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-plan:hover {
    background: #1F4746;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 16px;
    color: #33312E;
}

.contact-subtitle {
    color: #8B857B;
    font-style: italic;
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item i {
    font-size: 20px;
    color: #2E6A68;
    margin-top: 4px;
    min-width: 20px;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #33312E;
    font-size: 18px;
}

.contact-item p {
    color: #8B857B;
    line-height: 1.6;
}

.appointment-form h2 {
    margin-bottom: 32px;
    color: #33312E;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #EAE6DE;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #FDFBF8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E6A68;
    background: white;
}

.btn-submit {
    background: #2E6A68;
    color: white;
    border: none;
    padding: 18px 36px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-submit:hover {
    background: #1F4746;
    transform: translateY(-2px);
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: #FDFBF8;
    position: relative;
}

.testimonials-slider {
    overflow: hidden;
    margin-bottom: 48px;
}

.testimonial-track {
    display: flex;
    gap: 32px;
    transition: transform 0.6s ease;
}

.testimonial-card {
    background: white;
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(46, 106, 104, 0.05);
    border: 1px solid #EAE6DE;
    min-width: 350px;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(46, 106, 104, 0.1);
}

.testimonial-content {
    margin-bottom: 32px;
}

.testimonial-content p {
    font-style: italic;
    color: #8B857B;
    line-height: 1.8;
    font-size: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 4px;
    color: #33312E;
    font-size: 16px;
}

.author-info span {
    color: #8B857B;
    font-size: 14px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.prev-btn,
.next-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #EAE6DE;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: #2E6A68;
    color: white;
    border-color: #2E6A68;
}

/* Footer */
.footer {
    background: #33312E;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin: 24px 0 32px;
    color: #C8C3BD;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: #2E6A68;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #1F4746;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.link-group h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.link-group a {
    display: block;
    color: #C8C3BD;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #F4F8F8;
}

.footer-bottom {
    border-top: 1px solid #4A4743;
    padding-top: 32px;
    text-align: center;
    color: #C8C3BD;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 49, 46, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 48px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid #EAE6DE;
}

.close {
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 28px;
    font-weight: bold;
    color: #8B857B;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #33312E;
}

.modal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    margin-bottom: 32px;
    color: #33312E;
}

.modal-body h3 {
    font-size: 20px;
    margin: 32px 0 16px;
    color: #33312E;
}

.modal-body p {
    color: #8B857B;
    line-height: 1.7;
    margin-bottom: 16px;
}

.newsletter-intro {
    color: #8B857B;
    margin-bottom: 32px;
    font-style: italic;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-group label {
    color: #8B857B;
    font-size: 14px;
    cursor: pointer;
    line-height: 1.5;
}

/* Confirmation Message */
.confirmation-message {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 49, 46, 0.8);
    backdrop-filter: blur(10px);
}

.confirmation-content {
    background: white;
    margin: 15% auto;
    padding: 64px;
    border-radius: 8px;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid #EAE6DE;
}

.confirmation-content i {
    font-size: 56px;
    color: #2E6A68;
    margin-bottom: 32px;
}

.confirmation-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    margin-bottom: 24px;
    color: #33312E;
}

.confirmation-content p {
    color: #8B857B;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    
    .hero-text {
        order: -1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    h1 {
        font-size: 48px;
    }
    
    h2 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .insurance-grid {
        grid-template-columns: 1fr;
    }
    
    .insurance-card.featured {
        transform: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        min-width: 300px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 32px;
    }
    
    .confirmation-content {
        margin: 20% auto;
        padding: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-text {
        padding: 24px 0;
    }
    
    .service-card {
        margin: 0;
    }
    
    .testimonial-card {
        min-width: 280px;
        padding: 32px;
    }
    
    .modal-content {
        padding: 24px;
    }
}