/* Global Styles */
:root {
    --primary-color: #4db6ac;
    --secondary-color: #ff9e80;
    --accent-color: #ffcc80;
    --text-color: #333333;
    --light-color: #ffffff;
    --dark-color: #263238;
    --gray-color: #f5f5f5;
    --border-color: #e0e0e0;
    --font-primary: 'Nunito', sans-serif;
    --font-secondary: 'Quicksand', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

section {
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Header Styles */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.logo p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--dark-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding-bottom: 5px;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0;
    color: var(--light-color);
    overflow: hidden;
    min-height: 65vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 65vh;
}

.hero-content {
    max-width: 600px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* Intro Section */
.intro {
    text-align: center;
    background-color: var(--light-color);
}

.intro h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--gray-color);
    text-align: center;
}

.testimonials h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    transition: transform 0.3s ease;
}

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

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

.quote i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.quote p {
    margin: 1rem 0;
    font-style: italic;
}

.author p {
    font-weight: 600;
    margin-bottom: 0;
}

/* Free Consultation Section */
.free-consultation {
    position: relative;
    padding: 7rem 0;
    color: var(--light-color);
    overflow: hidden;
    min-height: 50vh;
}

.consultation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.consultation-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.consultation-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.free-consultation .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 50vh;
}

.consultation-content {
    max-width: 600px;
}

.consultation-content h2 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.consultation-content p {
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.free-consultation .primary-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.free-consultation .primary-btn:hover {
    background-color: transparent;
    color: var(--light-color);
}

/* Contact Info Section */
.contact-info {
    background-color: var(--gray-color);
    text-align: center;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.contact-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 250px;
    transition: transform 0.3s ease;
}

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

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 0;
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--light-color);
    margin-bottom: 0;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

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

.footer-links ul li a {
    color: var(--light-color);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Page Banner */
.page-banner {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 3rem 0;
}

.page-banner h2 {
    color: var(--light-color);
    margin-bottom: 0;
    font-size: 2.5rem;
}

/* About Page Styles */
.about-dentist {
    background-color: var(--light-color);
}

.dentist-profile {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.dentist-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dentist-bio {
    flex: 2;
}

.dentist-bio h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.dentist-bio h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.dentist-bio ul {
    margin: 1rem 0 1.5rem 1.5rem;
    list-style-type: disc;
}

.dentist-bio ul li {
    margin-bottom: 0.5rem;
}

.practice-philosophy {
    background-color: var(--gray-color);
}

.practice-philosophy h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.philosophy-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.philosophy-text {
    flex: 2;
}

.philosophy-text h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 0.5rem;
}

.philosophy-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Page Styles */
.services-intro {
    text-align: center;
    background-color: var(--light-color);
    padding-bottom: 0;
}

.services-intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.service-category {
    padding: 3rem 0;
}

.service-category:nth-child(odd) {
    background-color: var(--light-color);
}

.service-category:nth-child(even) {
    background-color: var(--gray-color);
}

.service-category h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.service-item {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    margin-right: 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.service-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.service-content p {
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
    padding: 4rem 0;
}

.cta h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta .primary-btn {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-color: var(--light-color);
}

.cta .primary-btn:hover {
    background-color: transparent;
    color: var(--light-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content,
    .consultation-content {
        max-width: 100%;
        text-align: center;
    }

    .free-consultation,
    .hero {
        padding: 6rem 0;
        min-height: 50vh;
    }

    .dentist-profile,
    .philosophy-content {
        flex-direction: column;
    }

    .dentist-bio,
    .philosophy-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .service-item {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

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

    .hero,
    .free-consultation {
        padding: 5rem 0;
        min-height: 45vh;
    }

    .footer-content > div {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h2,
    .consultation-content h2,
    .page-banner h2 {
        font-size: 1.8rem;
    }

    .hero-content p,
    .consultation-content p {
        font-size: 1rem;
    }

    .hero,
    .free-consultation {
        padding: 4rem 0;
        min-height: 35vh;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-card {
        width: 100%;
    }
}
