/* CSS Variables - Easy to Customize */
:root {
    --primary-color: #1a6897;
    --secondary-color: #2a9d8f;
    --dark-color: #264653;
    --light-blue: #e8f4f8;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-radius: 12px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.12);
}

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

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* Header */
.header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 15px;
}

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

.nav-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 11px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    gap: 4px;
}

.bar {
    width: 26px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    padding: clamp(60px, 10vw, 100px) 0;
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-hours {
    background-color: rgba(26, 104, 151, 0.08);
    padding: 16px 28px;
    border-radius: var(--border-radius);
    display: inline-block;
    font-weight: 500;
}

/* Buttons */
.btn {
    padding: 13px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Quick Contact */
.quick-contact {
    background-color: var(--primary-color);
    padding: 36px 0;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quick-contact-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 28px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    color: var(--white);
    backdrop-filter: blur(10px);
}

.quick-contact-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.quick-contact-card a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

/* About */
.about {
    padding: clamp(60px, 10vw, 100px) 0;
}

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

.about-text h2 {
    font-size: clamp(26px, 4vw, 34px);
    color: var(--dark-color);
    margin-bottom: 22px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 16px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-gray) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
}

/* Services */
.services {
    background-color: var(--light-gray);
    padding: clamp(60px, 10vw, 100px) 0;
}

.services h2 {
    font-size: clamp(26px, 4vw, 34px);
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
}

.services-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 44px;
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 44px;
    margin-bottom: 16px;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 18px;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Why Choose Us */
.why-choose-us {
    padding: clamp(60px, 10vw, 100px) 0;
}

.why-choose-us h2 {
    font-size: clamp(26px, 4vw, 34px);
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
}

.why-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 44px;
    font-size: 16px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.why-card {
    background-color: var(--light-blue);
    padding: 32px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.why-card h3 {
    color: var(--dark-color);
    font-size: 16px;
    line-height: 1.3;
}

/* Patient Education */
.patient-education {
    background-color: var(--light-gray);
    padding: clamp(60px, 10vw, 100px) 0;
}

.patient-education h2 {
    font-size: clamp(26px, 4vw, 34px);
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
}

.education-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 44px;
    font-size: 16px;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.education-card {
    background-color: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.education-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.education-card h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 18px;
}

.education-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Locations */
.locations {
    padding: clamp(60px, 10vw, 100px) 0;
}

.locations h2 {
    font-size: clamp(26px, 4vw, 34px);
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 44px;
    line-height: 1.2;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.location-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.location-card h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 20px;
}

.location-address {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 15px;
}

.location-phone a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.location-buttons {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.map-container {
    width: 100%;
    height: 360px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact */
.contact {
    background-color: var(--light-gray);
    padding: clamp(60px, 10vw, 100px) 0;
}

.contact h2 {
    font-size: clamp(26px, 4vw, 34px);
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 44px;
    font-size: 16px;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 44px;
    max-width: 1050px;
    margin: 0 auto;
}

.appointment-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.success-message {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 28px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 24px;
}

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

.contact-card {
    background-color: var(--white);
    padding: 28px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-card h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 18px;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-btn {
    padding: 13px 22px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-hover);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-mayaro {
    background-color: var(--primary-color);
    color: var(--white);
}

.floating-valencia {
    background-color: var(--secondary-color);
    color: var(--white);
}

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 36px;
    margin-bottom: 44px;
}

.footer-brand h3 {
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-brand p,
.footer-location p,
.footer-hours p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.footer-links h4,
.footer-location h4,
.footer-hours h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-location a,
.footer-hours a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 76px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        padding: 24px 0;
    }

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

    .hamburger {
        display: flex;
    }

    .quick-contact-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-placeholder {
        height: 260px;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        font-size: 14px;
        padding: 11px 18px;
    }
    
    .appointment-form {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        padding: 16px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .location-buttons {
        flex-direction: column;
    }
    
    .floating-buttons {
        bottom: 16px;
        right: 16px;
    }
}