:root {
    --primary-color: #005195;
    --primary-light: #93ce1d;
    --primary-dark: #005195;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Desktop Header */
.desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 80px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.clinic-title {
    color: var(--primary-dark);;
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.slogan {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Header */
.mobile-header {
    display: none;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-container {
    width: 30%;
}

.mobile-whatsapp {
    width: 10%;
    text-align: right;
}

/* Button Styles */
.phone {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.whatsapp-btn {
    background-color: #25D366;
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.whatsapp-icon {
    background-color: #25D366;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.whatsapp-btn:hover, .whatsapp-icon:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 10rem 0 4rem;
    text-align: center;
}

.facade-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.facade-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.facade-slider img.active {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(138, 43, 226, 0.9), rgba(138, 43, 226, 0.9));
    z-index: -1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #25D366;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.services h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: 4rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    color: var(--primary-dark);;
    margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-media {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.developer-credit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.developer-credit a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credit a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.8rem 0;
    }

    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }
    
    .logo-container {
        width: 30%;
        padding-right: 0.5rem;
    }

    .logo-img {
        max-width: 80px;
    }

    .logo-text {
        width: 60%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .clinic-title {
        font-size: 1.1rem !important;
        margin-bottom: 0;
        font-weight: 600;
    }

    .whatsapp-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .hero {
        padding: 7rem 0 3rem;
    }

    .hero-content h2 {
        font-size: 1.7rem;
        margin-top: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .gallery h2, .services h2, .team h2, .about h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-photo {
        height: 250px;
    }

    .about-content {
        padding: 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .social-media {
        justify-content: center;
    }

    .cta-section {
        padding: 3rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-button {
        justify-content: center;
    }

    .cta-button.btn-whats {
        width: 80%;
        max-width: 300px;
        justify-content: center;
        text-align: center;
        margin: 0 auto;
        padding: 0.8rem 1rem;
    }

    .cta-button.btn-whats i {
        margin-right: 0.3rem;
    }
}

/* Mobile screens smaller than 480px */
@media (max-width: 480px) {
    .logo-img {
        width: 100px;
    }

    .logo-text h1 {
        font-size: 1.6rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .whatsapp-btn, .cta-button.btn-whats {
        width: 90%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card, .hero-content, .about-content {
    animation: fadeIn 1s ease-out;
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.gallery h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 2rem;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 2rem;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-light);
}

/* Team Section */
.team {
    padding: 4rem 0;
    background-color: var(--white);
}

.team h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.team-member h3 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
    font-size: 1.3rem;
}

.team-member p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1rem;
} 