/* ============================================
   CUSTOM CSS - HOME RENOVATIONS
   Premium Design | Sophisticated Color Palette
   ============================================ */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Color Palette - Forest Green & Terracotta */
    --primary-color: #1B4332;
    --primary-dark: #0D2818;
    --primary-light: #2D5F4A;
    --accent-color: #B7664A;
    --accent-light: #D4845F;
    --accent-dark: #9A5439;
    
    /* Neutrals */
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --bg-white: #FFFFFF;
    --bg-light: #F8F7F5;
    --bg-cream: #FAF9F7;
    --border-color: #E5E3DF;
    
    /* Typography */
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(27, 67, 50, 0.12);
    --shadow-lg: 0 8px 32px rgba(27, 67, 50, 0.15);
    
    /* Transitions */
    --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: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
}

section {
    padding: 100px 0;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

/* ===== NAVIGATION ===== */
.navbar {
    padding: 1.2rem 0;
    transition: var(--transition);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
}

.brand-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
}

.brand-text {
    font-size: 1.4rem;
}
.logo-img {
    height: 48px;
    width: auto;
    transition: all 0.3s ease;
}

/* Tablet */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
}

/* Hover effect */
.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}
.nav-link {
    color: var(--text-medium);
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    /* background: var(--accent-color); */
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* ===== BUTTONS ===== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 6px;
    transition: var(--transition);
    border: none;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

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

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

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

.btn-light:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ===== SECTION HEADERS ===== */
.section-label {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.section-text {
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(27, 67, 50, 0.03));
}

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

.hero-label {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 560px;
}

.hero-cta {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.95rem;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

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

.image-placeholder {
    background: white;
    border-radius: 16px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.image-placeholder i {
    color: var(--primary-light);
    margin-bottom: 20px;
}

.image-placeholder p {
    color: var(--text-medium);
    font-weight: 500;
    margin: 0;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== SERVICES SLIDER SECTION ===== */
.services-slider-section {
    background: white;
    padding: 100px 0;
}

.service-category-wrapper {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 30px;
    padding-left: 15px;
}

.services-slider-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.services-slider {
    display: flex;
    gap: 20px;
    width: fit-content;
    will-change: transform;
}

.service-slide {
    flex-shrink: 0;
    width: 280px;
    background: var(--bg-cream);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.service-slide:hover {
    background: white;
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(27, 67, 50, 0.1), rgba(183, 102, 74, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-slide:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    transform: scale(1.1);
}

.service-slide:hover .service-icon-wrapper i {
    color: white;
}

.service-slide h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .service-slide {
        width: 240px;
        padding: 28px 20px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose-section {
    background: var(--bg-cream);
}

.why-card {
    padding: 32px 28px;
    background: white;
    border-radius: 12px;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.why-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.why-card h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.why-card p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.6;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent-light);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: white;
}

.stat-desc {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

/* ===== PROCESS SECTION ===== */
.process-section {
   background: var(--bg-cream);
}

.process-card {
    text-align: center;
    padding: 48px 32px;
    background: var(--bg-cream);
    border-radius: 12px;
    position: relative;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.process-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.process-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(27, 67, 50, 0.08);
}

.process-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: white;
    font-size: 2.2rem;
    transition: var(--transition);
}

.process-card:hover .process-icon {
    transform: scale(1.1) rotate(5deg);
}

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.process-card p {
    color: var(--text-medium);
    margin: 0;
    line-height: 1.7;
}

 
 /* ===== TESTIMONIAL SMOOTH SLIDER ===== */

.testimonial-slider {
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    padding: 20px 0;
}

.testimonial-track {
    display: flex;
    gap: 25px;
    animation: scrollSlider 28s linear infinite;
    padding: 10px 0;
    width: max-content;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scrollSlider {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card-new {
    min-width: 300px;
    max-width: 300px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    opacity: 0.8;
    transform: scale(0.97);
    text-align: left;
}

.testimonial-card-new:hover {
    transform: scale(1.03);
    opacity: 1;
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.testimonial-card-new p {
    font-size: 0.93rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.testimonial-author h5 {
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0 0 3px;
    color: var(--primary-color);
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.82rem;
}


/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: white;
    padding: 80px 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: white;
}

.cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

@media (max-width: 768px) {
    .cta-title {
        font-size: 1.8rem;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: white;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: white;
}

.footer-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--accent-light);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-link:hover {
    color: var(--accent-light);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 576px) {
    .hero-cta .ms-3 {
        margin-left: 0 !important;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}


/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--bg-cream);
}

/* Accordion Styling */
.custom-accordion .accordion-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.custom-accordion .accordion-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-color);
}

/* Header Button */
.custom-accordion .accordion-button {
    /* font-weight: 600; */
    font-size: 1.15rem;
    /* color: var(--primary-color); */
    background: white;
    box-shadow: none;
    padding: 18px 20px;
    transition: var(--transition);
}

/* Remove default arrow */
.custom-accordion .accordion-button::after {
    filter: hue-rotate(320deg);
}

/* Active state */
.custom-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-cream));
    color: var(--primary-dark);
}

/* Body */
.custom-accordion .accordion-body {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 0 20px 20px;
}

/* Smooth animation feel */
.accordion-collapse {
    transition: all 0.35s ease;
}