body {
    font-family: 'Poppins', sans-serif;
    color: #444;
    line-height: 1.7;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #222;
}

.btn-primary {
    background-color: #009ba2;
    border-color: #009ba2;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #007d83;
    border-color: #007d83;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 155, 162, 0.3);
}

.text-primary {
    color: #009ba2 !important;
}

.bg-primary {
    background-color: #009ba2 !important;
}

.navbar-brand img {
    max-height: 70px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: #444 !important;
    padding: 0.7rem 1.2rem !important;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #009ba2 !important;
}

.top-bar {
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.hero-section {
    padding: 160px 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/clinica_dental_ibiza.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.section-padding {
    padding: 100px 0;
}

.card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

footer {
    background-color: #1a1a1a;
    font-size: 0.95rem;
}

footer h5 {
    color: #fff;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #009ba2;
}

footer a {
    text-decoration: none;
    color: #aaa;
    transition: color 0.3s;
}

footer a:hover {
    color: #009ba2;
}

.form-control, .form-select {
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 155, 162, 0.15);
    border-color: #009ba2;
}

/* List group improvements */
.list-group-item {
    border-color: #f0f0f0;
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.list-group-item.active {
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1, .hero-section p, .hero-section .btn {
    animation: fadeInUp 0.8s ease backwards;
}

.hero-section p { animation-delay: 0.2s; }
.hero-section .btn { animation-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0;
    }
    .section-padding {
        padding: 60px 0;
    }
    .display-3 {
        font-size: 2.5rem;
    }
    .display-4 {
        font-size: 2.2rem;
    }
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 80px 0;
    }
    .display-3 {
        font-size: 2rem;
    }
    .hero-section p.lead {
        font-size: 1.1rem;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .navbar-brand img {
        max-height: 50px;
    }
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}
