/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #27ae60, #3498db);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    font-weight: 500;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   HEADER & NAVBAR
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    gap: 10px;
}

.nav-logo img {
    height: 50px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link:hover,
.nav-link.active {
    color: #27ae60;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #27ae60, #3498db);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #fff;
}

/* Hero Text Animation */
.hero-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Button Animations */
.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.5s both;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 50px;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease both;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature i {
    font-size: 2.5rem;
    color: #27ae60;
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature p {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.6s ease 0.1s both;
}

/* ============================================
   WHY CHOOSE US SECTION (NEW)
   ============================================ */
.why-us {
    padding: 100px 0;
    background: #ffffff;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.why-us-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid #e8eaee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .why-us-card {
    opacity: 0;
    transform: translateY(30px);
}

.why-us-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.why-us-card:nth-child(1) {
    animation-delay: 0.1s;
}

.why-us-card:nth-child(2) {
    animation-delay: 0.2s;
}

.why-us-card:nth-child(3) {
    animation-delay: 0.3s;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.15);
    border-color: #27ae60;
}

.why-us-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

.why-us-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.why-us-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   ONE-STOP HEALTHCARE SECTION
   ============================================ */
.one-stop {
    padding: 100px 0;
    background: #f8f9fa;
}

.one-stop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.one-stop-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 0.6s ease both;
}

.one-stop-card:nth-child(1) {
    animation-delay: 0s;
}

.one-stop-card:nth-child(2) {
    animation-delay: 0.1s;
}

.one-stop-card:nth-child(3) {
    animation-delay: 0.2s;
}

.one-stop-card:nth-child(4) {
    animation-delay: 0.3s;
}

.one-stop-card:nth-child(5) {
    animation-delay: 0.4s;
}

.one-stop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.one-stop-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #27ae60, #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.5rem;
}

.one-stop-card p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.one-stop-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.one-stop-description p {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 45px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f2f6;
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .service-card {
    opacity: 0;
    transform: translateY(30px);
}

.service-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.15);
    border-color: #27ae60;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   DOCTORS SECTION
   ============================================ */
.doctors {
    padding: 100px 0;
    background: #f8f9fa;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease both;
    min-height: 520px;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    height: 380px;
    overflow: hidden;
    background: #f8f9fa;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 30px 25px;
}

.doctor-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.doctor-specialty {
    color: #27ae60;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.doctor-experience {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.doctor-description {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   APPOINTMENT SECTION WITH RATING
   ============================================ */
.appointment {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain2)"/></svg>');
    pointer-events: none;
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Google-style Rating Display */
.clinic-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.rating-stars {
    display: flex;
    gap: 5px;
    font-size: 1.2rem;
    color: #ffd700;
}

.rating-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.rating-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.appointment-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.appointment-info > p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.7;
}

.appointment-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.appointment-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.appointment-feature i {
    font-size: 1.8rem;
    color: #2ecc71;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    min-width: 55px;
    text-align: center;
}

.appointment-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.appointment-feature p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.95rem;
}

.appointment-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* ============================================
   TESTIMONIALS SECTION (NOW ENABLED)
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: #ffffff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f2f6;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease both;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.15);
    border-color: #27ae60;
}

.testimonial-rating {
    color: #ffd700;
    margin-bottom: 20px;
    display: flex;
    gap: 5px;
}

.testimonial-rating i {
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #27ae60;
}

.testimonial-author h4 {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 3px;
    font-weight: 600;
}

.testimonial-author p {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 100px 0;
    background: #f8f9fa;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease both;
}

.faq-item:nth-child(1) {
    animation-delay: 0s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.05s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.15s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.2s;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.05rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: #27ae60;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 30px 25px;
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    animation: fadeInUp 0.6s ease both;
}

.contact-item:nth-child(1) {
    animation-delay: 0s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.1s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.2s;
}

.contact-item i {
    font-size: 1.6rem;
    color: #27ae60;
    margin-top: 3px;
    min-width: 30px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease both;
}

.contact-map iframe {
    width: 100%;
    display: block;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    gap: 10px;
}

.footer-logo i {
    color: #27ae60;
    font-size: 1.6rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: #27ae60;
    transform: translateY(-3px);
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.05rem;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #27ae60;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-contact i {
    color: #27ae60;
    width: 18px;
    text-align: center;
}

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

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom i {
    color: #27ae60;
}

/* ============================================
   FLOATING WHATSAPP BUTTON WITH PULSE
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    animation: pulse 2.5s infinite;
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    animation: none;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .appointment-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-features,
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .services-grid,
    .doctors-grid,
    .testimonials-grid,
    .one-stop-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        margin: 20px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-logo img {
        height: 40px;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: 85vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        min-height: 50px;
    }

    /* Sections */
    .about,
    .why-us,
    .one-stop,
    .services,
    .doctors,
    .appointment,
    .testimonials,
    .faq,
    .contact {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-content {
        gap: 40px;
    }

    .appointment-content {
        gap: 40px;
    }

    /* Floating Button */
    .floating-whatsapp {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.85rem;
        gap: 8px;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .nav-logo img {
        height: 35px;
    }

    /* Cards */
    .service-card,
    .why-us-card,
    .one-stop-card,
    .testimonial-card {
        padding: 25px 20px;
    }

    .feature {
        padding: 20px 15px;
    }

    .feature h4 {
        font-size: 1rem;
    }

    .feature p {
        font-size: 0.85rem;
    }

    /* Contact Map */
    .contact-map iframe {
        height: 250px;
    }

    /* Footer */
    .footer-content {
        gap: 30px;
    }

    .footer-logo {
        font-size: 1.1rem;
    }

    /* Floating Button */
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        bottom: 15px;
        right: 15px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .appointment-feature {
        flex-direction: column;
        gap: 15px;
    }

    .appointment-info h2 {
        font-size: 1.8rem;
    }

    .doctor-image {
        height: 220px;
    }
}

/* Smooth scroll behavior for all devices */
html {
    scroll-behavior: smooth;
}

/* Accessibility - Focus states */
button:focus,
a:focus {
    outline: 2px solid #27ae60;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .floating-whatsapp,
    .footer {
        display: none;
    }

    body {
        background: #fff;
    }
}

/* ============================================
   ANIMATIONS & MICRO INTERACTIONS
   ============================================ */

/* Stagger Animation Items */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stagger-item.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Button Micro Interactions */
.btn:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Icon Micro Interactions */
.fas:hover,
.far:hover {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Link Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #27ae60, #3498db);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
