@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #333;
    --light-color: #ecf0f1;
    --bg-color: #fff;
    --light-bg: #f9f9f9;
    --border-color: rgba(0, 0, 0, 0.1);
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 7%;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: 1000;
}

.header.scrolled {
    padding: 1rem 7%;
    box-shadow: var(--box-shadow);
}

.header .container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.header .d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    height: 4rem;
    transition: var(--transition);
}

.header .nav {
    display: flex;
    align-items: center;
}

.header .nav-link {
    font-size: 1.6rem;
    color: var(--light-color);
    margin: 0 1.5rem;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
    text-decoration: none;  /* Remove underline */
}

.header .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.header .nav-link:hover::after {
    width: 100%;
}

.header .nav-link:hover {
    color: var(--accent-color);
}

.header .link-btn {
    text-decoration: none;  /* Remove underline */
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.4rem;
}

.header .link-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

#menu-btn {
    display: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--light-color);
}

/* Home Section Styles */
#home {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/animol1.jpg) no-repeat;
    background-position: right center; /* Position image on the right */
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-color);
}

#home .content {
    max-width: 80rem;
    padding: 0 2rem;
}

#home .content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

#home .content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

#home .link-btn {
    text-decoration: none;  /* Remove underline */
    font-size: 1.6rem;
    padding: 1.5rem 4rem;
    border-radius: 3rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#home .link-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Welcome Section Styles */
.welcome-section {
    background-color: var(--light-bg);
    padding: 8rem 0;
}

.welcome-text {
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.welcome-to {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--secondary-color);
    display: block;
}

.clinic-name {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--primary-color);
    display: block;
    line-height: 1.2;
}

/* About Section Styles */
.about-section {
    padding: 8rem 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 6rem;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6rem;
    height: 2px;
    background-color: var(--accent-color);
}

.about-text p {
    font-size: 1.7rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.about-photo {
    flex: 1;
}

.about-photo img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-photo img:hover {
    transform: scale(1.03);
}

/* Services Section Styles */
.services-section {
    background-color: var(--light-bg);
    padding: 8rem 0;
}

.services-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    background-color: var(--bg-color);
    padding: 3rem 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1.6rem;
    color: var(--text-color);
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 8rem 0;
}

.testimonials-section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 4rem;
}

.testimonials-slider {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.testimonial p {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.testimonial h4 {
    font-size: 1.6rem;
    color: var(--primary-color);
}

/* CTA Section Styles */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 8rem 0;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.cta-section p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    text-decoration: none;  /* Remove underline */
    font-size: 1.8rem;
    padding: 1.5rem 4rem;
    border-radius: 3rem;
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.cta-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}
#side-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: none;
  }
  #side-popup h2 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  #side-popup iframe {
    width: 100%;
    height: 170px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
  }
  #side-popup button {
    margin: 5px;
    padding: 8px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
  }
  #side-popup button:hover {
    background-color: #0056b3;
  }
/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 6rem 0 3rem;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer .box {
    text-align: center;
}

.footer .box i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.footer .box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--bg-color);
    font-weight: 600;
}

.footer .box p {
    font-size: 1.5rem;
    color: var(--light-color);
    line-height: 1.8;
}


/* Add this at the end of the file, just before the media queries */
.admin-login-link {
    color: var(--primary-color);
    opacity: 0.1;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.admin-login-link:hover {
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 768px) {
    #menu-btn {
        display: block;
    }

    .header {
        padding: 1.5rem;
    }

    .header .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        border-top: 1px solid var(--border-color);
        padding: 1rem;
        flex-direction: column;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
    }

    .header .nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .nav a {
        display: block;
        margin: 1rem 0;
        padding: 1rem;
        font-size: 1.8rem;
        background-color: var(--secondary-color);
        color: var(--light-color);
        border-radius: 0.3rem;
        text-align: center;
    }

    .about-container {
        flex-direction: column;
        gap: 4rem;
    }

    .about-photo {
        order: -1;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        padding: 0 1rem;
    }

    .cta-section h2 {
        font-size: 3rem;
    }

    .cta-section p {
        font-size: 1.6rem;
    }
}
@media (max-width: 991px) {
    #home {
        background-position: 70% center; /* Slight adjustment for medium screens */
    }
}

@media (max-width: 768px) {
    #home {
        background-position: 80% center; /* Further right positioning for smaller screens */
    }
}

@media (max-width: 450px) {
    #home {
        background-position: 85% center; /* Maximum right positioning for mobile */
    }
}