@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #00A99D; /* Teal color */
    --secondary-color: #2C3E50; /* Dark Blue */
    --light-color: #FFFFFF;
    --dark-color: #1A222C;
    --text-color: #333;
    --section-padding: 60px 5%;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: var(--header-height);
}

h1, h2, h3, h4 {
    color: var(--secondary-color);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 5%;
    height: var(--header-height);
}

/* --- NEW STYLE FOR LOGO + TEXT WRAPPER --- */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 30px;
    text-decoration: none;
}
.logo-main {
    height: 60px;
}
.logo-circular {
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

/* --- NEW STYLE FOR HEADER TEXT --- */
.header-reg-details {
    color: var(--secondary-color);
    border-left: 2px solid var(--primary-color);
    padding-left: 15px;
    line-height: 1.3;
}

.header-reg-details p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
}
/* ------------------------------------ */

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-appointment {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-appointment:hover {
    background-color: #007A70;
    transform: translateY(-2px);
}

.menu-icon {
    display: none;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    background-size: cover;
    background-position: center;
    position: relative;
    transition: background-image 1s ease-in-out;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--light-color);
    margin-bottom: 10px;
}
.hero-content h3 {
    font-size: 1.8rem;
    color: var(--light-color);
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 1.2rem;
}

.hero-content .btn-hero {
    margin-top: 30px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-content .btn-hero i {
    margin-right: 8px;
}

.hero-content .btn-hero:hover {
    background-color: #007A70;
    transform: translateY(-2px);
}

.about-section {
    padding: var(--section-padding);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1.5;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.about-text i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 5px solid var(--primary-color);
}

/* --- Testimonial Section --- */
.testimonial-section {
    background-color: #f9f9f9;
    padding: var(--section-padding);
}

.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 280px; 
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.testimonial-card {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 200%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-card.active {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.testimonial-card .stars {
    color: #f1c40f; 
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.testimonial-date {
    font-size: 0.9rem;
    color: #777;
}

.achievements-section {
    background-color: var(--primary-color);
    padding: var(--section-padding);
}

.achievements-section h2 {
    color: var(--light-color);
}

.achievements-section h2::after {
    background-color: var(--light-color);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    color: var(--light-color);
}

.achievement-card h3 {
    font-size: 3rem;
    color: var(--light-color);
}

.achievement-card p {
    font-size: 1.1rem;
}

.choose-us-section {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}

.feature-card {
    background: var(--light-color);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.2rem;
}

.cta-section {
    padding: var(--section-padding);
    text-align: center;
}

.cta-section p {
    margin: 20px 0;
    font-size: 1.1rem;
}

.btn-cta {
    background-color: #25D366;
    color: var(--light-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.05);
}

.btn-cta i {
    margin-right: 10px;
}

.footer {
    background-color: var(--dark-color);
    color: #ccc;
    padding: 60px 5% 20px;
}
.footer-logo {
    border-radius: 8px;
    height: 70px;
    margin-bottom: 15px;
}

.footer-reg-details {
    margin: 5px 0 15px 0;
    color: #aaa;
}

.footer-reg-details p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2.5fr 1.5fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--light-color);
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    line-height: 1.6;
    max-width: 300px; 
}

.footer-about p {
    text-align: left;
    line-height: 1.6;
    font-size: 0.9rem;
    color: #ddd;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}
.location-address {
    flex: 1;
}
.location-map {
    flex: 1;
    min-width: 120px;
}
.location-map iframe {
    width: 100%;
    height: 110px;
    border-radius: 6px;
    border: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
}
.contact-details {
    margin-bottom: 20px;
}
.contact-details li {
    display: flex;
    align-items: center;
}
.contact-details i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}
.contact-details a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-details a:hover {
    color: var(--primary-color);
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.social-icons a {
    color: var(--light-color);
    background-color: #444;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .menu-icon {
        display: block;
    }
    .btn-appointment {
        display: none;
    }
    
    /* --- HIDE HEADER TEXT ON MOBILE --- */
    .header-reg-details {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        flex-direction: column;
        align-items: center;
        padding: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-out;
    }
    .nav-links.active {
        max-height: 500px;
        padding: 20px 0;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
}

@media (max-width: 768px) {
    h2 { font-size: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }

    .about-container { 
        flex-direction: column; 
        gap: 30px;
    }
    .about-image img { 
        width: 280px; 
        height: 280px; 
    }
    
    .achievements-grid { grid-template-columns: 1fr 1fr; }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-about p {
        text-align: center;
    }

    .contact-details, .social-icons {
        justify-content: center;
    }
    .location-item {
        flex-direction: column-reverse;
        align-items: center;
        gap: 15px;
    }
    .location-map, .location-address {
        width: 100%;
        max-width: 400px;
    }
    .location-map iframe {
        height: 180px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 40px 5%;
    }

    h2 { font-size: 1.8rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content h3 { font-size: 1.3rem; }
    .hero-content p { font-size: 1rem; }

    .about-image img {
        width: 220px;
        height: 220px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-col h4 {
        margin-bottom: 15px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 1rem;
    }
}