.hover-shadow {
    transition: all 0.3s ease;
}

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

.transition {
    transition: all 0.3s ease;
}

.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

.badge {
    border-radius: 10px;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(240, 244, 248, 0.8); /* Light blue with transparency */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    border: 4px solid #f0f4f8;
    border-top: 4px solid #ff69b4;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: auto;
}

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

.hero-section {
    background: linear-gradient(135deg, #876f5b 0%, #9a8575 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-section .btn-primary {
    background-color: var(--color-light);
    border-color: var(--color-light);
    color: var(--color-primary);
    min-width: 320px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.hero-section .btn-primary:hover {
    background-color: var(--color-light-accent);
    border-color: var(--color-light-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.hero-section .btn-whatsapp {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-light);
    min-width: 320px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.hero-section .btn-whatsapp:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-light);
    transform: translateY(-2px);
}

/* Feature cards */
.feature-card {
    background-color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(34, 34, 59, 0.1);
    transition: all 0.3s ease;
}

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

.feature-icon {
    color: var(--color-secondary);
}

.cta-section {
    background-color: var(--color-light);
}

.cta-card {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-light);
}

.btn-hero {
    background-color: var(--color-light);
    color: var(--color-primary);
    border: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--color-light-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--color-light);
    color: var(--color-primary);
    border: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: var(--color-light-accent);
    transform: translateY(-2px);
}

.testimonial-section {
    background-color: var(--color-light);
}

.testimonial-card {
    background-color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(34, 34, 59, 0.1);
}

.testimonial-quote {
    color: var(--color-accent);
}

/* Service cards */
.service-card {
    background-color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(34, 34, 59, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(34, 34, 59, 0.15);
}

.service-icon {
    color: var(--color-secondary);
}

.stats-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-light);
}

.stat-card {
    background-color: rgba(242, 233, 228, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.about-section {
    background-color: var(--color-light);
}

.contact-section {
    background-color: white;
}

.contact-form input,
.contact-form textarea {
    border-color: var(--color-accent);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.2rem rgba(74, 78, 105, 0.25);
}

.contact-info-card {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-light);
}

.section-heading {
    color: var(--color-primary);
}

.section-subheading {
    color: var(--color-secondary);
}

/* Links */
.custom-link {
    color: var(--color-secondary);
    transition: all 0.3s ease;
}

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

/* Hover effects */
.hover-card {
    transition: all 0.3s ease;
}

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

/* Background accents */
.bg-accent {
    background-color: var(--color-accent);
}

.bg-light-accent {
    background-color: var(--color-light-accent);
}

/* Text colors */
.text-primary-custom {
    color: var(--color-primary);
}

.text-secondary-custom {
    color: var(--color-secondary);
}

.text-accent-custom {
    color: var(--color-accent);
}

.services-section {
    background-color: var(--color-light-accent) !important;
}

/* Update service cards to stand out better against the new background */
.services-section .card {
    background-color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(34, 34, 59, 0.08);
}

.services-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(34, 34, 59, 0.12);
}

/* Enhance text contrast against the new background */
.services-section h2 {
    color: var(--color-primary);
}

.testimonials-section {
    background-color: var(--color-accent) !important;
}

/* Update text colors for better contrast against the new background */
.testimonials-section h2 {
    color: var(--color-light);
}

.testimonials-section .card {
    background-color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(34, 34, 59, 0.1);
}

.testimonials-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(34, 34, 59, 0.15);
}

.faq-section {
    background-color: var(--color-light-accent) !important;
}

.faq-section h2 {
    color: var(--color-primary);
}

.faq-section .accordion-item {
    border: none;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-section .accordion-button {
    background-color: white;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: var(--color-light);
    color: var(--color-primary);
}

.landing-section {
    padding: 6rem 0;
}

.price-badge {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-light);
    box-shadow: 0 2px 4px rgba(34, 34, 59, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.price-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(34, 34, 59, 0.3);
}


.service-contact-btn {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
}

.service-contact-btn:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-light);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(34, 34, 59, 0.2);
}

.service-contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(34, 34, 59, 0.1);
}

.service-contact-btn:focus {
    box-shadow: 0 0 0 3px rgba(74, 78, 105, 0.25);
}

.services-section.landing-section .card-body {
    padding: 1.5rem;
}


.testimonials-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zM22.343 0L13.858 8.485 15.272 9.9l9.9-9.9h-2.83zM32 0l-3.657 3.657 1.414 1.414L34.828 0H32zm-6.485 0L20.343 5.172l1.414 1.414L26.9 0h-1.385zm-5.657 0L13.43 6.485 14.844 7.9l7.9-7.9h-2.83zm-5.657 0L8.787 5.172l1.415 1.414L15.344 0h-1.345zm-5.657 0L3.545 6.485 4.96 7.9l7.9-7.9H8.03zM0 0l.828.828-1.415 1.415L0 2.243V0z' fill='%234A4E69' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-section h2 {
    color: var(--color-light);
    font-weight: 600;
    margin-bottom: 2.5rem;
    position: relative;
}

.testimonials-section .card {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.testimonials-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(34, 34, 59, 0.15);
}

.testimonials-section .card-body {
    position: relative;
    padding: 0;
}

.testimonials-section .card-body::before {
    content: '"';
    position: absolute;
    top: -2rem;
    left: -0.5rem;
    font-size: 4rem;
    font-family: 'Georgia', serif;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
}

.testimonials-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.testimonials-section .client-name {
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.testimonials-section .rating {
    color: #FFB400;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.testimonials-section .mb-4 {
    margin-bottom: 2rem !important;
}

@media (max-width: 768px) {
    .testimonials-section .card {
        margin-bottom: 1.5rem;
    }

    .testimonials-section .card:last-child {
        margin-bottom: 0;
    }
}