/* Custom CSS for Expert Maid Provider */
:root {
    --purple-primary: #613002;
    --purple-dark: #1a0930;
    --purple-light: #613002;
    --yellow-primary: #fda239;
    --yellow-light: #e47827;
    --yellow-dark: #e47827;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #000000;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

/* Global Styles */

body {
    font-family: 'Montserrat', sans-serif;

    line-height: 1.6;
    color: #333;
    padding-top: 0; /* Remove navbar padding for carousel */
    background-color: var(--yellow-primary); /* Yellow background for entire website */
}

/* Custom Purple Background */
.bg-purple {
    background-color: var(--purple-primary) !important;
}

.text-purple {
    color: var(--purple-primary) !important;
}

.btn-purple {
    background: linear-gradient(45deg, var(--purple-primary) 0%, var(--purple-light) 100%);
    border: none;
    color: white;
}

.btn-purple:hover {
    background: linear-gradient(45deg, var(--purple-dark) 0%, var(--purple-primary) 100%);
    color: white;
}

.btn-yellow {
    background: linear-gradient(45deg, var(--yellow-primary) 0%, var(--yellow-light) 100%);
    border: none;
    color: var(--purple-dark);
    font-weight: 700;
}

.btn-yellow:hover {
    background: linear-gradient(45deg, var(--yellow-dark) 0%, var(--yellow-primary) 100%);
    color: var(--purple-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    z-index: 1030;
    position: fixed;
    top: 0;
    width: 100%;
}

.navbar-brand {
    font-size: 1.5rem;
    margin: 0 auto;
}

.navbar-nav {
    margin: 0 auto !important;
}

.nav-link {
    font-weight: 600;
    color: var(--purple-primary) !important;
    margin: 0 15px;
    padding: 10px 20px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background-color: var(--purple-primary);
    color: white !important;
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: var(--purple-primary);
    color: white !important;
}

/* Center navbar content */
.navbar .container {
    justify-content: center;
}

.navbar-toggler {
    border: none;
    color: var(--purple-primary);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.logo-img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

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

/* Carousel Fade Effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.8s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: ;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev {
    transform: none;
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
   






/* Footer Styles */
footer {
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

footer::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="footerDots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerDots)"/></svg>');
    opacity: 0.3;
}

.footer-brand {
    position: relative;
    z-index: 2;
}

.footer-logo {
    transition: all 0.3s ease;
    filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-nav {
    position: relative;
    z-index: 2;
}

.footer-link {
    color: #f8f9fa !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 400;
}

.footer-link:hover {
    color: var(--yellow-primary) !important;
    transform: translateX(5px);
    text-decoration: none;
}

.footer-link i {
    transition: all 0.3s ease;
    width: 16px;
}

.footer-link:hover i {
    color: var(--yellow-primary) !important;
    transform: scale(1.1);
}

.social-links {
    position: relative;
    z-index: 2;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--yellow-primary);
    color: var(--purple-dark) !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(253, 162, 57, 0.4);
}

.social-link i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-info {
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
}

.contact-item i {
    margin-top: 2px;
    font-size: 0.9rem;
    width: 16px;
    flex-shrink: 0;
}

.text-yellow {
    color: var(--yellow-primary) !important;
}

footer h6 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

footer h6::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--yellow-primary);
    border-radius: 1px;
}

footer .border-light {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.footer-links {
    position: relative;
    z-index: 2;
}

.footer-links .footer-link {
    font-size: 0.85rem;
    margin-left: 0 !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }

    .footer-links {
        margin-top: 1rem;
        text-align: center !important;
    }

    .social-links .d-flex {
        justify-content: center;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
    }
}

/* Loading Animation for Form Submission */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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







    
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
    margin-top: -76px;
    padding-top: 76px;
}

.carousel-slide {
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(194, 147, 16, 0.6),
        0 40px 80px rgba(255, 179, 92, 0.4),
        inset 0 0 100px rgba(211, 214, 17, 0.3),
        inset 0 0 200px rgba(255, 179, 92, 0.2);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
}

.carousel-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
}

.carousel-indicators {
    bottom: 40px;
    z-index: 3;
}

.carousel-indicators button {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid white;
    background-color: transparent;
    opacity: 0.6;
    transition: all 0.4s ease;
    margin: 0 8px;
}

.carousel-indicators button.active {
    background-color: white;
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255,255,255,0.8);
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 3;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-size: 100%;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

/* Fallback background for carousel slides when no image */
.carousel-slide:not([style*="background-image"]) {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
}

/* Ensure images load properly and show full image */
.carousel-slide[style*="background-image"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Alternative: Use contain to show full image without cropping */
.carousel-slide.full-image {
    background-size: contain !important;
    background-color: var(--purple-dark);
}

/* High quality image rendering */
.carousel-slide {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
}

/* Enhanced Animation for carousel content */
.carousel-item.active .display-3 {
    animation: slideInUp 1.2s ease-out;
}

.carousel-item.active .lead {
    animation: slideInUp 1.4s ease-out;
}

.carousel-item.active .btn {
    animation: slideInUp 1.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel text effects */
.carousel-item .display-3 {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    font-weight: 800;
    letter-spacing: -1px;
}

.carousel-item .lead {
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
    font-weight: 400;
}

/* Page Header */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-dark) 100%);
}

/* Enhanced Card Styles */
.card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    border: none;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary) 0%, var(--purple-light) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(64, 15, 155, 0.2) !important;
}

.card-body {
    padding: 2rem !important;
    position: relative;
    z-index: 2;
}

.card .fa-3x {
    transition: all 0.4s ease;
    margin-bottom: 1.5rem !important;
}

.card:hover .fa-3x {
    transform: scale(1.1) rotate(5deg);
    color: var(--purple-light) !important;
}

.card-title {
    font-weight: 700;
    color: var(--purple-dark);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: var(--purple-primary);
}

.card-text {
    color: #6c757d;
    line-height: 1.6;
    font-weight: 400;
}

/* Enhanced Button Styles */
.btn {
    border-radius: 50px;
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
}

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

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

.btn-lg {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.btn-light {
    background: linear-gradient(45deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--purple-primary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-light:hover {
    background: linear-gradient(45deg, #f8f9fa 0%, #ffffff 100%);
    color: var(--purple-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.btn-outline-light {
    border: 3px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--purple-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.3);
}

.btn-purple {
    background: linear-gradient(45deg, var(--purple-primary) 0%, var(--purple-light) 100%);
    border: none;
    color: white;
    box-shadow: 0 8px 25px rgba(64, 15, 155, 0.3);
}

.btn-purple:hover {
    background: linear-gradient(45deg, var(--purple-dark) 0%, var(--purple-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(64, 15, 155, 0.4);
}

/* Form Styles */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* Contact Items */
.contact-item {
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h6 {
    color: var(--purple-primary);
    font-weight: 600;
}

/* Icon Styles */
.fa-10x {
    font-size: 10em;
}

/* Enhanced Services Section */
.services-section {
    background: var(--yellow-primary);
    position: relative;
    overflow: hidden;
}

.services-section::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="rgba(64,15,155,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

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

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple-primary) 0%, var(--purple-light) 100%);
    border-radius: 2px;
}

.service-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 25px !important;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(64, 15, 155, 0.1) 0%, rgba(142, 93, 217, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--purple-primary) 0%, var(--purple-light) 100%);
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    color: white !important;
}

.service-features {
    margin-top: 1.5rem;
}

.badge.bg-purple {
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: white;
}

.badge.bg-yellow {
    background: linear-gradient(45deg, var(--yellow-primary) 0%, var(--yellow-light) 100%) !important;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--purple-dark);
}

/* Deep Cleaning Card Special Styling */
.deep-cleaning-card {
    position: relative;
    overflow: hidden;
}

.deep-cleaning-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.deep-cleaning-card:hover::after {
    opacity: 1;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.deep-cleaning-icon {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 237, 78, 0.3) 100%);
    border: 3px solid var(--yellow-primary);
}

.deep-cleaning-card:hover .deep-cleaning-icon {
    background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-light) 100%);
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.deep-cleaning-details {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 15px;
    margin: 15px 0;
}

.deep-cleaning-details ul li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--purple-dark);
    font-weight: 500;
}

.text-yellow {
    color: var(--yellow-primary) !important;
}

/* Section Spacing */
section {
    padding: 100px 0;
}

/* Add top padding to sections that come after carousel */
section:not(.hero-carousel) {
    padding-top: 100px;
}

/* Special handling for page headers on other pages */
.page-header {
    padding-top: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-slide {
        background-attachment: scroll !important;
        height: 100vh;
        min-height: 500px;
        max-height: 100vh;
    }

    .hero-carousel {
        text-align: center;
        height: 100vh;
        min-height: 500px;
        max-height: 100vh;
        margin-top: -70px;
        padding-top: 70px;
    }

    .carousel-item {
        height: 100vh;
        min-height: 500px;
        max-height: 100vh;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .fa-10x {
        font-size: 6em;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .carousel-slide {
        height: 100vh;
        min-height: 400px;
        max-height: 100vh;
        background-attachment: scroll !important;
    }

    .hero-carousel {
        height: 100vh;
        min-height: 400px;
        max-height: 100vh;
        margin-top: -60px;
        padding-top: 60px;
    }

    .carousel-item {
        height: 100vh;
        min-height: 400px;
        max-height: 100vh;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-3 {
        font-size: 2.2rem;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .card-body {
        padding: 1.5rem !important;
    }

    .carousel-indicators {
        bottom: 20px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.text-muted {
    color: #000000 !important;
}

/* Footer Styles */
footer {
    margin-top: auto;
    padding: 20px 0 !important;
    font-size: 0.85rem;
}

footer h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

footer p {
    margin-bottom: 0;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Loading Animation for Form Submission */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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