/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    color: #1a202c;
}

h1 {
    font-size: 2.8rem;
    color: #1a202c;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    color: #2d3748;
    font-weight: 600;
}

h3 {
    font-size: 1.6rem;
    color: #2d3748;
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem;
    color: #4a5568;
    font-size: 1.1rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

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

.logo h1 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.crm {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    background: #f0fdf4;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #22c55e;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

/* Hero Section - Mobile First */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
    width: 100%;
    transform: none !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
    white-space: nowrap;
    max-width: 100%;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
    align-items: center;
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #4b5563;
    font-weight: 500;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.1);
    width: 100%;
    max-width: 280px;
}

.feature svg {
    color: #22c55e;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.hero-stats {
    display: flex;
    flex-direction: row;
    gap: 0.6rem;
    margin: 1rem 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 0.5rem;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.8rem 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
    min-width: 70px;
    flex: 1;
    max-width: 80px;
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #22c55e;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.1;
}

.hero-cta {
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 1rem 0 0 0;
    margin: 0;
    transform: none !important;
    opacity: 1 !important;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: #1a202c;
    padding: 0 0.5rem;
    word-wrap: break-word;
    hyphens: auto;
}

.highlight {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 3px;
    opacity: 0.3;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 1.2rem;
    line-height: 1.4;
    font-weight: 400;
    padding: 0 0.5rem;
    word-wrap: break-word;
}

.hero-cta {
    margin-top: 2.5rem;
}

.doctor-photo {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.2);
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.doctor-photo:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 70px rgba(34, 197, 94, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 260px;
    box-sizing: border-box;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.btn-secondary {
    background: #ffffff;
    color: #22c55e;
    border: 2px solid #22c55e;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
}

.btn-secondary:hover {
    background: #22c55e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.3);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    border-radius: 20px;
}

/* WhatsApp Fixed Button */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #20c05c 100%);
    color: white;
    padding: 1.2rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.4s ease;
    animation: pulse 3s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-fixed:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    color: white;
    background: linear-gradient(135deg, #20c05c 0%, #1ea851 100%);
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    }
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%2322c55e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    margin-bottom: 2rem;
    color: #1a202c;
    font-size: 1.8rem;
    position: relative;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    line-height: 1.8;
    color: #4b5563;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.credential {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 20px;
    border: 2px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.credential::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.credential:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.2);
}

.credential h4 {
    color: #22c55e;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.credential p {
    color: #4b5563;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Specialties Section */
.specialties {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
}

.specialties::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%2322c55e" opacity="0.1"/><path d="M10 10 L30 10 L30 30 L10 30 Z" fill="none" stroke="%2322c55e" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23medical-pattern)"/></svg>');
    opacity: 0.3;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.specialty-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.specialty-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
}

.specialty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.specialty-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.specialty-card p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.specialty-features {
    list-style: none;
    padding: 0;
}

.specialty-features li {
    padding: 0.5rem 0;
    color: #4b5563;
    position: relative;
    padding-left: 1.5rem;
}

.specialty-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="quote-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M30 20 Q40 10 50 20 Q60 10 70 20 L70 40 Q60 30 50 40 Q40 30 30 40 Z" fill="%2322c55e" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23quote-pattern)"/></svg>');
    opacity: 0.3;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #22c55e;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(34, 197, 94, 0.15);
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: #1a202c;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="faq-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%2322c55e" opacity="0.1"/><path d="M10 10 L40 10 L40 40 L10 40 Z" fill="none" stroke="%2322c55e" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-pattern)"/></svg>');
    opacity: 0.3;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(34, 197, 94, 0.1);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.faq-question h3 {
    color: #1a202c;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.faq-icon {
    color: #22c55e;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25 10 L35 20 L25 30 L15 20 Z" fill="%2322c55e" opacity="0.05"/><circle cx="25" cy="25" r="2" fill="%2316a34a" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23medical)"/></svg>');
    opacity: 0.3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.1);
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.service-card h3 {
    margin-bottom: 1.5rem;
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    line-height: 1.7;
    color: #4b5563;
    font-size: 1.1rem;
}

.services-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%2322c55e" opacity="0.1"/><circle cx="25" cy="25" r="0.5" fill="%2316a34a" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23contact)"/></svg>');
    opacity: 0.4;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    border: 2px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.contact-details h3 {
    margin-bottom: 0.8rem;
    color: #1a202c;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-details p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-cta {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    border: 2px solid rgba(34, 197, 94, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.contact-cta h3 {
    margin-bottom: 1.5rem;
    color: #1a202c;
    font-size: 1.6rem;
    font-weight: 600;
}

.contact-cta p {
    margin-bottom: 2.5rem;
    color: #4b5563;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-info h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info p {
    color: #e2e8f0;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-contact h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-contact p {
    color: #e2e8f0;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(34, 197, 94, 0.2);
    padding-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #a0aec0;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

/* Responsive Design */

/* Tablet Landscape */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
}

/* Tablet Portrait */
@media (min-width: 768px) {
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-features {
        flex-direction: row;
        gap: 2rem;
        justify-content: flex-start;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: flex-start;
    }
    
    .stat {
        min-width: 100px;
        padding: 1.2rem 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .doctor-photo {
        max-width: 350px;
    }
    
    .hero-cta {
        justify-content: flex-start;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero {
        padding: 140px 0 100px;
        min-height: 90vh;
    }
    
    .hero-content {
        gap: 5rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
        margin-bottom: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-features {
        gap: 2.5rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat {
        min-width: 120px;
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .doctor-photo {
        max-width: 450px;
        border-radius: 25px;
        border: 4px solid rgba(255, 255, 255, 0.8);
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 110px 0 50px;
    }
    
    /* Header */
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 0;
    }
    
    .nav {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    
    /* About Section */
    .about {
        padding: 80px 0;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    .credentials {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .credential {
        padding: 2rem 1.5rem;
    }
    
    /* Services Section */
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .specialty-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    /* Contact Section */
    .contact {
        padding: 80px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    .contact-cta {
        padding: 3rem 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    /* WhatsApp Button */
    .whatsapp-fixed {
        bottom: 25px;
        right: 25px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .whatsapp-fixed span {
        display: none;
    }
}

/* Mobile Landscape */
@media (max-width: 640px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .doctor-photo {
        max-width: 300px;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .whatsapp-fixed {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.2rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    /* Header */
    .header-content {
        padding: 0.8rem 0;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .nav {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    
    /* Typography */
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }
    
    .btn-large {
        padding: 1.1rem 2.2rem;
        font-size: 1rem;
        border-radius: 16px;
    }
    
    /* About Section */
    .about {
        padding: 60px 0;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .credentials {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .credential {
        padding: 1.8rem 1.2rem;
    }
    
    .credential h4 {
        font-size: 1.1rem;
    }
    
    .credential p {
        font-size: 1rem;
    }
    
    /* Services Section */
    .services {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    /* Contact Section */
    .contact {
        padding: 60px 0;
    }
    
    .contact-item {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }
    
    .contact-cta {
        padding: 2rem 1.5rem;
    }
    
    .contact-cta h3 {
        font-size: 1.4rem;
    }
    
    .contact-cta p {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-info h3 {
        font-size: 1.3rem;
    }
    
    .footer-info p,
    .footer-contact p {
        font-size: 1rem;
    }
    
    .footer-contact h4 {
        font-size: 1.2rem;
    }
    
    /* WhatsApp Button */
    .whatsapp-fixed {
        bottom: 15px;
        right: 15px;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        border-radius: 40px;
    }
    
    .whatsapp-fixed svg {
        width: 20px;
        height: 20px;
    }
    
    
    .specialties-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .specialty-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem 1.5rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-top: 0.5rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
        padding: 0 0.2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 0.2rem;
    }
    
    .hero-features {
        padding: 0 0.2rem;
    }
    
    .feature {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .hero-stats {
        padding: 0 0.2rem;
        gap: 0.4rem;
    }
    
    .stat {
        padding: 0.6rem 0.4rem;
        min-width: 60px;
        max-width: 70px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .doctor-photo {
        max-width: 200px;
    }
    
    .hero-cta {
        padding: 0 0.2rem;
    }
    
    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        max-width: 240px;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .service-card,
    .credential,
    .contact-item,
    .contact-cta {
        padding: 1.5rem 1rem;
    }
    
    .whatsapp-fixed {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .whatsapp-fixed svg {
        width: 18px;
        height: 18px;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4b5563;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-left: auto;
}

.mobile-menu-button:hover {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0.8rem 0;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo h1 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }
    
    .crm {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
    
    .mobile-menu-button {
        display: block;
        order: 2;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(34, 197, 94, 0.1);
        z-index: 999;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(34, 197, 94, 0.1);
        text-align: center;
        font-size: 0.95rem;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Fix for viewport issues */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Prevent horizontal scroll */
body {
    overflow-x: hidden;
}

/* Fix for iOS Safari */
.hero,
.about,
.services,
.contact {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.whatsapp-fixed:focus,
.mobile-menu-button:focus {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #22c55e;
        color: #ffffff;
        border: 2px solid #000000;
    }
    
    .btn-secondary {
        border-color: #000000;
        color: #000000;
    }
    
    .highlight {
        color: #22c55e !important;
        -webkit-text-fill-color: #22c55e !important;
    }
}

/* Print styles */
@media print {
    .header,
    .whatsapp-fixed,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero,
    .about,
    .services,
    .contact {
        background: white !important;
        box-shadow: none !important;
    }
}

/* Ensure hero elements are always visible */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-features,
.hero-stats,
.hero-cta,
.doctor-photo,
.image-badge {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}
