:root {
    --primary-color: #0a9396;
    --secondary-color: #005f73;
    --accent-color: #ee9b00;
    --light-color: #e9d8a6;
    --dark-color: #001219;
    --white: #ffffff;
    --gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    padding-top: 80px;
    background-color: var(--white);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    padding: 5px 0;
}

.logo img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.clinic-title {
    margin-left: 10px;
    text-align: left;
}

.clinic-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.2;
}

.location-name {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Navigation Styles */
nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5px 0;
}

nav a {
    color: var(--dark-color);
    text-decoration: none;
    margin: 5px 8px;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

nav a:hover {
    color: var(--primary-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 6px 15px;
    border-radius: 30px;
    font-weight: 600;
    margin: 5px 0;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-size: 0.85rem;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section Styles */
#home {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('clinic-hero.jpg') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 15px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 25px;
}

.hero-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.hero-button:hover {
    background-color: transparent;
    color: var(--white);
}

/* About Section Styles */
.about-clinic {
    padding: 50px 15px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-clinic h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
}

.about-clinic h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.about-clinic p {
    margin-bottom: 15px;
    text-align: center;
}

/* Dentist Profile Styles */
.head-dentist-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.head-dentist-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.dentist-img-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.dentist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dentist-img:hover {
    transform: scale(1.05);
}

.dentist-info {
    padding: 0;
    text-align: center;
}

.dentist-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.dentist-info h2 span {
    display: block;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.dentist-info p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-align: center;
}

.dentist-social {
    margin-top: 15px;
}

.dentist-social a {
    display: inline-block;
    margin: 0 8px;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.dentist-social a:hover {
    color: var(--accent-color);
}

/* Services Section Styles */
.services {
    padding: 50px 15px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.service-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--dark-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-btn i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Gallery Section Styles */
.clinic-gallery {
    padding: 50px 15px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.clinic-gallery h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.clinic-gallery h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.clinic-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.clinic-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.clinic-images img:hover {
    transform: scale(1.03);
}

/* Clinic Hours Styles */
.clinic-timing {
    padding: 40px 15px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.clinic-timing h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.clinic-timing h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.timing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.timing-day {
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    transition: all 0.3s ease;
}

.timing-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.timing-day h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timing-day p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* Contact Section Styles */
.contact {
    padding: 50px 15px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.contact-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-card i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-card a, .contact-card p {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent-color);
}

.location-btn {
    display: inline-block;
    margin-top: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.location-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.location-btn i {
    margin-right: 8px;
}

/* Footer Styles */
footer {
    padding: 25px 15px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    margin: 15px 0;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

footer p {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.developer-credit {
    margin-top: 15px;
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Responsive Styles */
@media (min-width: 768px) {
    body {
        padding-top: 100px;
    }
    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
    }
    
    .logo-container {
        width: auto;
        justify-content: flex-start;
    }
    
    .logo img {
        width: 80px;
        height: 80px;
        border: 3px solid var(--primary-color);
    }
    
    .clinic-title h1 {
        font-size: 1.5rem;
    }
    
    .location-name {
        font-size: 0.9rem;
    }
    
    nav {
        width: auto;
        flex-wrap: nowrap;
        padding: 0;
    }
    
    nav a {
        margin: 0 12px;
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 8px 20px;
        margin: 0 0 0 15px;
        font-size: 0.95rem;
    }
    
    #home {
        height: 80vh;
    }
    
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .about-clinic, .services, .clinic-gallery, .contact {
        padding: 80px 20px;
    }
    
    .about-clinic h1, .services h2, .clinic-gallery h1, .contact h2 {
        font-size: 2.5rem;
    }
    
    .head-dentist-container {
        flex-direction: row;
        margin: 50px auto;
        padding: 30px;
    }
    
    .dentist-img-container {
        margin-bottom: 0;
        margin-right: 30px;
    }
    
    .dentist-info {
        padding: 0 30px;
        text-align: left;
    }
    
    .dentist-info h2 {
        font-size: 1.8rem;
    }
    
    .service-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .clinic-images img {
        height: 250px;
    }
    
    .timing-day {
        min-width: 200px;
    }
    
    .contact-card {
        min-width: 200px;
    }
}

@media (min-width: 1200px) {
    .header-container {
        padding: 0;
    }
}