/* CSS Custom Properties for Modern Color Scheme */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b; /* Note: This is the same as accent-color, consider if intended */
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #667eea 20%, #764ba2 80%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 30%, #1e3c72 80%);
    --gradient-dark: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);

    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    margin-bottom: 1rem; /* Combined with pseudo-element margin */
    text-align: center; /* Added to center the title and its pseudo-element */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto 2rem; /* Added bottom margin for spacing below subtitle */
    text-align: center; /* Ensures subtitle is centered */
}

/* Header Styles */
.site-header {
    background: var(--gradient-dark);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.site-header a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.site-header a:hover {
    color: var(--accent-color);
}

.site-header-icon {
    color: var(--accent-color);
}

/* Navigation Styles */
.navbar {
    background: var(--gradient-primary) !important; /* Keep !important if Bootstrap overrides */
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 0 !important; /* Consolidated from general fixes */
}

.navbar.sticky-top {
    backdrop-filter: blur(10px);
    background: rgba(37, 99, 235, 0.95) !important; /* Keep !important */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important; /* Keep !important */
}

.navbar-nav .nav-link {
    color: white !important; /* Keep !important */
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.75rem 1rem !important; /* Keep !important */
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Button Styles */
.btn-primary {
    background: var(--gradient-secondary);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    color: white; /* Ensure text color is white for gradient buttons */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    /* No need to re-declare background as it's the same, unless you want a different hover gradient */
}

.btn-outline-light {
    border-color: white;
    color: white;
    /* Add any other base styles for outline buttons */
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Slight background on hover */
    color: white; /* Maintain white text color */
}


/* --- Hero Section & Carousel --- */
/* Consolidated all .hero-section rules */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(37, 99, 235, 0.6));
}

/* Consolidated all .slide-content rules */
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-bottom: 80px; /* Adjust as needed, based on button height */
    padding-top: 0 !important; /* Ensures content starts right at the top of the slide */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
    margin-top: 0 !important; /* Ensure no unwanted top margin on the h1 itself */
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Custom CSS for the fixed carousel buttons */
.carousel-fixed-buttons {
    z-index: 10;
    width: 100%;
    /* Added alignment for buttons within the fixed container, if they are not centered by Bootstrap classes */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    transform: translateY(-50%);
}

.slider-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Services Overview */
.services-overview {
    padding: 100px 0;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
    text-decoration: underline; /* Added underline for clearer link hover */
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow-hover);
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.feature-item h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-item p {
    margin: 0;
    color: var(--secondary-color);
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.image-item img {
    transition: var(--transition);
}

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

/* Feature Cards (Consider if these are different from service-card or if one can be generalized) */
/* If feature-card is essentially the same as service-card, consider combining/renaming for clarity */
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Content */
.about-content {
    padding: 100px 0;
}

.about-image {
    position: relative;
}

.about-image img {
    transition: var(--transition);
    width: 100%; /* Ensure images fill their container */
    height: auto;
    display: block; /* Remove extra space below image */
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Service Areas */
.service-areas {
    padding: 100px 0;
}

.area-item {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center; /* Generally good for list items in a grid */
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.area-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color); /* Added color for icons */
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    padding: 100px 0;
}

.cta-buttons .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    padding: 50px 0 20px;
    background-color: var(--dark-color); /* Added a background to footer */
    color: white; /* Default text color for footer */
}

.site-footer h5, .site-footer h6 {
    color: white;
    margin-bottom: 1rem;
}

.site-footer ul {
    list-style: none; /* Remove default list style */
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.site-footer ul li a {
    color: #cbd5e1; /* Slightly lighter than white for subtle contrast */
    text-decoration: none;
    transition: var(--transition);
}

.site-footer ul li a:hover {
    color: var(--accent-color);
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body, html {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.shadow-custom {
    box-shadow: var(--box-shadow);
}

.shadow-hover:hover {
    box-shadow: var(--box-shadow-hover);
}

.border-radius-custom {
    border-radius: var(--border-radius);
}

/* Responsive Embeds (for things like Google Maps) */
.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
    /* Your original had 150%, which is for very tall content like specific map embeds.
       Standard video/map embeds often use 56.25% or similar for 16:9 or 4:3.
       Adjust this 'padding-top' based on the aspect ratio of your actual embedded content. */
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Responsive Design --- */
@media (max-width: 991.98px) { /* Added breakpoint for medium devices */
    .section-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 3rem; /* Slightly smaller for tablets */
    }
}

@media (max-width: 767.98px) { /* Updated to standard Bootstrap breakpoint for small devices */
    .hero-title {
        font-size: 2.5rem;
        margin-top: 0 !important;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    .slider-nav {
        padding: 0 1rem;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .slide-content {
        padding-top: 30px !important; /* Retained the important here to ensure it overrides if needed for mobile */
        padding-bottom: 60px; /* Adjusted if buttons are smaller on mobile */
    }

    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) { /* Updated to standard Bootstrap breakpoint for extra small devices */
    .hero-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem; /* Adjusted for smaller screens */
    }

    .service-card,
    .feature-card {
        padding: 1.5rem;
    }

    .slider-indicators {
        bottom: 15px; /* Adjust indicator position for very small screens */
    }
}
/* Interior Design Service Section */
.interior-design-service {
    background-color: #f8f9fa; /* Light background to make it stand out */
    padding: 60px 0;
}

.interior-design-service .section-title {
    color: #343a40; /* Darker title for contrast */
    margin-bottom: 25px;
}

.interior-design-service .lead {
    font-size: 1.15rem;
    line-height: 1.8;
}

.interior-design-service .benefits-list,
.interior-design-service .process-list {
    margin-top: 20px;
    padding-left: 0; /* Remove default ul/ol padding */
}

.interior-design-service .benefits-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.interior-design-service .benefits-list li i {
    font-size: 1.25rem;
    color: var(--bs-primary); /* Uses your primary color */
}

.interior-design-service .process-list {
    list-style: none; /* ADD THIS LINE: Removes the default numbering */
    margin-bottom: 10px;
    font-size: 1.05rem;
    counter-reset: design-process-counter; /* Initialize counter */
}

.interior-design-service .process-list li {
    margin-bottom: 15px; /* Added a bit more space between items */
    counter-increment: design-process-counter; /* For custom numbering */
    position: relative;
    padding-left: 40px; /* Increased space for custom counter for better alignment */
}

/* Custom numbering for process list */
.interior-design-service .process-list li:before {
    content: counter(design-process-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--bs-primary);
    color: #fff;
    border-radius: 50%;
    width: 30px; /* Slightly larger circle */
    height: 30px; /* Slightly larger circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem; /* Slightly larger number */
}

.interior-design-service img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Ensure consistent section title alignment */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}