:root {
    --primary: #2a9d8f;
    --primary-dark: #1f7f74;
    --secondary: #f4a261;
    --accent: #e76f51;
    --dark: #23313a;
    --light: #fff7f2;
    --gray: #55626a;
    --light-gray: #f3ebe6;
    --shadow: 0 12px 30px rgba(35, 49, 58, 0.12);
    --transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(180deg, #fff7f2 0%, #ffffff 55%, #fff7f2 100%);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.6rem;
    display: inline-block;
    position: relative;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-subtitle {
    margin-top: 18px;
    color: var(--gray);
    font-size: 1.05rem;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(35, 49, 58, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.6s ease;
    border-bottom: 1px solid rgba(42, 157, 143, 0.15);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    background-color: #fff;
    color: white;
    font-size: 2.2rem;
    width: 68px;
    height: 68px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 10px 18px rgba(35, 49, 58, 0.12);
    border: 2px solid rgba(42, 157, 143, 0.2);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--dark);
}

.logo-text span {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.02rem;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    left: 0;
    bottom: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-dark);
}

.nav-cta {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-left: 30px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.3);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(42, 157, 143, 0.35);
}

.mobile-menu-btn {
    display: none;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(42, 157, 143, 0.25);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(120deg, rgba(255, 247, 242, 0.9), rgba(255, 255, 255, 0.95)),
                url('../../5.png') no-repeat;
    background-size: cover;
    background-position: center;
    padding: 180px 0 120px;
    animation: fadeIn 1s ease;
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero:before,
.hero:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.18), rgba(244, 162, 97, 0));
    z-index: 0;
}

.hero:before {
    width: 340px;
    height: 340px;
    top: -120px;
    left: -120px;
}

.hero:after {
    width: 260px;
    height: 260px;
    bottom: -100px;
    right: 10%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    animation: fadeInLeft 1s ease 0.2s both;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero h1 {
    font-size: 3.6rem;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.2;
}

.hero h1 span {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin-bottom: 35px;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
    border: 1px solid rgba(42, 157, 143, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 18px rgba(35, 49, 58, 0.12);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 15px 36px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 22px rgba(42, 157, 143, 0.28);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(42, 157, 143, 0.35);
}

.cta-button.light {
    background: #fff;
    color: var(--dark);
    box-shadow: 0 12px 24px rgba(35, 49, 58, 0.16);
}

.appointment-form-container {
    flex: 1;
    animation: fadeInRight 1s ease 0.4s both;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.appointment-form {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(42, 157, 143, 0.15);
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.form-title h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-title p {
    color: var(--gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fffaf6;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.12);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(42, 157, 143, 0.28);
}

/* Testimonials */
.testimonials {
    background: #fff;
}

.testimonials-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.testimonials-video-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: #000;
    border: 1px solid rgba(42, 157, 143, 0.15);
}

.testimonials-video-card video {
    width: 100%;
    height: auto;
    display: block;
}

.testimonials-grid {
    display: grid;
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(35, 49, 58, 0.1);
    border: 1px solid rgba(42, 157, 143, 0.12);
}

.stars {
    color: #f2c94c;
    margin-bottom: 12px;
}

.testimonial-text {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 1rem;
}

.testimonial-author h4 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(42, 157, 143, 0.12);
    animation: fadeInLeft 1s ease both;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    animation: fadeInRight 1s ease both;
}

.about-text h3 {
    font-size: 2.3rem;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 1.1rem;
}

/* Photo Gallery Section */
.gallery {
    background-color: #fffaf6;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 280px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease both;
    animation-delay: calc(var(--i) * 0.1s);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Services Section */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background-color: #fff;
    border-radius: 18px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease both;
    animation-delay: calc(var(--i) * 0.1s);
    border-top: 4px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(120deg, rgba(42, 157, 143, 0.4), rgba(244, 162, 97, 0.4)) border-box;
    border: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

/* Experience Section */
.experience-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.experience-timeline:before {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    animation: fadeInUp 1s ease both;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.timeline-item:after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border: 5px solid var(--primary);
    border-radius: 50%;
    top: 30px;
    right: -12px;
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--primary);
}

.timeline-item:nth-child(even):after {
    left: -12px;
}

/* Chambers Section */
.chambers {
    background-color: #fff7f2;
}

.chamber-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.chamber-card {
    background-color: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease both;
    animation-delay: calc(var(--i) * 0.1s);
}

.chamber-card:hover {
    transform: translateY(-12px);
}

.chamber-img {
    height: 220px;
    background-color: #ddd;
    overflow: hidden;
}

.chamber-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.chamber-card:hover .chamber-img img {
    transform: scale(1.08);
}

.chamber-info {
    padding: 30px;
}

.chamber-info h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.chamber-info p {
    margin-bottom: 15px;
    color: var(--gray);
}

.chamber-info i {
    color: var(--primary);
    margin-right: 12px;
    width: 20px;
    font-size: 1.1rem;
}

/* Why Choose Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 35px;
}

.feature {
    text-align: center;
    padding: 40px 25px;
    border-radius: 18px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease both;
    animation-delay: calc(var(--i) * 0.1s);
    background: #fff;
    box-shadow: var(--shadow);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1f2a2e 0%, #23313a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(120deg, rgba(244, 162, 97, 0.12), rgba(42, 157, 143, 0.12));
    top: -150px;
    right: -150px;
}

.contact:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(120deg, rgba(244, 162, 97, 0.12), rgba(42, 157, 143, 0.12));
    bottom: -100px;
    left: -100px;
}

.contact .section-title h2 {
    color: white;
}

.contact .section-title h2:after {
    background: linear-gradient(to right, var(--secondary), white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease both;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-right: 25px;
    margin-top: 5px;
}

.contact-item h3 {
    color: white;
    margin-bottom: 15px;
}

.contact-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background-color: #1f2a2e;
    color: #b0b7c3;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo .logo-text {
    color: white;
}

.copyright {
    font-size: 0.95rem;
    margin-top: 20px;
}

.social-links {
    display: flex;
    list-style: none;
}

.social-links li {
    margin-left: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #2c3e50;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .hero-content {
        flex-direction: column;
        gap: 50px;
    }

    .hero-text, .appointment-form-container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .experience-timeline:before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:after {
        left: 21px;
    }

    .nav-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .appointment-form {
        padding: 30px 25px;
    }

    .testimonials-layout {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 80px 0;
    }

    .hero {
        padding: 160px 0 80px;
    }

    .service-card, .chamber-card, .feature, .contact-item {
        padding: 30px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
