/* --- General Page Layout & Typography --- */
body {
font-family: 'Poppins', sans-serif;
color: #333;
line-height: 1.6;
background-color: #f8f8f8; /* Light background for the whole page */
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px 25px; /* Consistent padding for content */
}
h1, h2, h3 {
font-weight: 600;
color: #1a73e8; /* Primary blue for headings */
margin-bottom: 20px;
}
h1 {
font-size: 2.8em;
text-align: center;
color: #fff; /* White for hero section H1 */
line-height: 1.2;
}
h2 {
font-size: 2.2em;
text-align: center;
margin-top: 40px;
margin-bottom: 30px;
color: #333; /* Darker for main section titles */
}
h3 {
font-size: 1.6em;
margin-top: 25px;
margin-bottom: 15px;
color: #1a73e8;
}
p {
margin-bottom: 15px;
font-size: 1.1em;
}
ul, ol {
margin-bottom: 20px;
padding-left: 25px;
}
ul li, ol li {
margin-bottom: 10px;
font-size: 1.05em;
}
/* --- Hero Section --- */
.hero-section {
background: linear-gradient(rgb(9 8 126 / 79%), rgb(17 18 18 / 89%)), url(/images/services/core/hero-bg.jpg) no-repeat center center / cover; /* Placeholder background image, replace with a relevant one if available */
color: #fff;
padding: 100px 0;
text-align: center;
position: relative;
overflow: hidden;
}
.hero-section .container {
position: relative;
z-index: 2;
}
.hero-section p {
font-size: 1.3em;
max-width: 800px;
margin: 20px auto 40px;
line-height: 1.5;
}

/* --- Buttons (General Styling, specific to this page where needed) --- */
.btn {
display: inline-block;
padding: 15px 30px;
border-radius: 8px;
font-size: 1.1em;
font-weight: bold;
text-decoration: none;
transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
border: none;
cursor: pointer;
}
.btn-primary {
background-color: #0A3D62; /* Primary blue */
color: white;
}
.btn-primary:hover {
background-color: #0056b3; /* Darker blue on hover */
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.btn-secondary {
background-color: #f4f7f6; /* Light gray */
color: #1a73e8;
border: 2px solid #1a73e8;
}
.btn-secondary:hover {
background-color: #e0e0e0;
transform: translateY(-2px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* --- Breadcrumb --- */
.breadcrumb {
background-color: #e9ecef;
padding: 12px 0;
font-size: 0.95em;
border-bottom: 1px solid #ddd;
}
.breadcrumb ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
}
.breadcrumb ul li {
margin-right: 10px;
color: #666;
}

.breadcrumb ul li:last-child {
font-weight: bold;
color: #333;
}
.breadcrumb ul li a {
color: #1a73e8;
text-decoration: none;
}
.breadcrumb ul li a:hover {
text-decoration: underline;
}
.breadcrumb ul li::after {
content: '>';
margin-left: 10px;
color: #999;
}
.breadcrumb ul li:last-child::after {
content: none;
}

/* --- Intro Value Section --- */
.intro-value-section {
background-color: #fff;
padding: 60px 0;
border-bottom: 1px solid #eee;
}

.intro-value-section ul {
list-style: none; /* Remove default bullet points */
padding: 0;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
margin-top: 30px;
}
.intro-value-section ul li {
background-color: #f4f7f6;
padding: 25px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border-left: 5px solid #1a73e8; /* Accent border */
}
.intro-value-section ul li:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.intro-value-section ul li strong {
color: #1a73e8;
font-size: 1.1em;
display: block;
margin-bottom: 8px;
}

/* --- Project Gallery --- */
.project-gallery {
background-color: #f4f7f6;
padding: 60px 0;
text-align: center;
border-bottom: 1px solid #eee;
}

.image-carousel {
display: flex;
overflow-x: scroll; /* Enable horizontal scrolling */
scroll-snap-type: x mandatory; /* Snap to items */
-webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
padding: 20px 0;
gap: 25px; /* Space between carousel items */
cursor: grab; /* Indicate draggable */
margin: 0 auto; /* Center the carousel */
max-width: 100%; /* Ensure it fits container */
}

.image-carousel.dragging {
cursor: grabbing;
}
.carousel-item {
flex-shrink: 0; /* Prevent items from shrinking */
width: 350px; /* Fixed width for each item */
background-color: #fff;
border-radius: 10px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
overflow: hidden;
scroll-snap-align: start; /* Align items to the start of the scroll container */
padding-bottom: 15px;
}

.carousel-item img {
width: 100%;
height: 250px; /* Fixed height for images */
object-fit: cover; /* Cover the area, crop if necessary */
border-radius: 10px 10px 0 0;
display: block;
}
.carousel-item p {
margin-top: 15px;
font-size: 1em;
color: #555;
font-weight: 500;
padding: 0 15px;
}

/* Lazy loading placeholder */
.lazy-img {
background-color: #e0e0e0; /* Gray placeholder */
filter: blur(5px); /* Optional blur effect for lazy loading */
}

/* --- Service Details Section --- */
.service-details-section {
background-color: #fff;
padding: 60px 0;
}
.service-block {
background-color: #fdfdfd;
padding: 30px;
margin-bottom: 30px;
border-radius: 12px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
border: 1px solid #eee;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-block:hover {
transform: translateY(-5px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.service-block h3 {
color: #1a73e8;
font-size: 1.8em;
margin-bottom: 15px;
border-bottom: 2px solid #e0e0e0;
padding-bottom: 10px;
}
.service-block p {
font-size: 1.1em;
line-height: 1.7;
margin-bottom: 20px;
}
.learn-more-link {
display: inline-flex;
align-items: center;
color: #1a73e8;
text-decoration: none;
font-weight: 600;
font-size: 1.05em;
transition: color 0.2s ease;
}
.learn-more-link:hover {
color: #0d47a1;
}
.learn-more-link .fas {
margin-left: 8px;
transition: transform 0.2s ease;
}
.learn-more-link:hover .fas {
transform: translateX(5px);
}

/* --- Accordion Section (Quick Navigation) --- */
.accordion-section {
background-color: #f4f7f6;
padding: 60px 0;
border-top: 1px solid #eee;
}
.accordion-section h2 {
margin-bottom: 40px;
}
.service-card {
background-color: #fff;
border: 1px solid #ddd;
border-radius: 10px;
margin-bottom: 15px;
overflow: hidden; /* Important for clean collapse */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.service-card .dropdown-toggle {
display: flex; /* Use flexbox for centering content and positioning arrow */
justify-content: center; /* Center the text horizontally */
align-items: center;
padding: 20px 25px;
font-size: 1.4em;
font-weight: 600;
color: #333;
cursor: pointer;
background-color: #fff;
border: none;
width: 100%;

 /* text-align: center; - Removed this from here, as flexbox handles centering */

transition: background-color 0.3s ease, color 0.3s ease;
position: relative; /* For positioning the pseudo-element arrow */
}

.service-card .dropdown-toggle:hover {
background-color: #f0f0f0;
color: #1a73e8;
}


/* Arrow icon for dropdown toggle */
.service-card .dropdown-toggle::after {
content: '\f078'; /* FontAwesome chevron-down icon */
font-family: 'Font Awesome 6 Free';
font-weight: 900;
font-size: 0.8em;
position: absolute; /* Position relative to the toggle button */
right: 25px; /* Place it on the right */
transition: transform 0.3s ease;
}
.service-card .dropdown-toggle.active::after {
transform: rotate(180deg);
}
.service-card .dropdown-content {
max-height: 0; /* Key for collapse: set to 0 when hidden */
overflow: hidden; /* Hide overflow content during transition */
transition: max-height 0.4s ease-out; /* Smooth transition for collapsing/expanding */
padding: 0 25px; /* Initial padding, adjust when active */
list-style: none;
margin: 0;
border-top: 1px solid #eee;
background-color: #f9f9f9;
}

/* This class needs to be added by JavaScript when the dropdown is open */
.service-card .dropdown-content.active {
max-height: 300px; /* Large enough value to contain all content when open */
padding: 15px 25px 20px; /* Final padding when open */
}
.service-card .dropdown-content li {
margin-bottom: 8px;
text-align: center; /* CENTER THE SUB-SECTION LINKS */
}
.service-card .dropdown-content li a {
color: #555;
text-decoration: none;
font-size: 1.05em;
padding: 8px 15px; /* Added more padding for better hit area and visual separation */
display: block;
transition: color 0.3s ease, background-color 0.3s ease; /* Added background-color to transition */
background-color: transparent; /* Explicitly set default background to transparent */
border-radius: 5px; /* Slight round corners for the hover effect */
}
.service-card .dropdown-content li a:hover {
color: #1a73e8;
background-color: #e6f0ff; /* Light blue background on hover for sub-links */
text-decoration: none; /* Remove underline on hover, for a cleaner look with background */
}

/* --- Why Choose Us Section --- */
.why-choose-us-section {
background-color: #fff;
padding: 60px 0;
border-top: 1px solid #eee;
}

.usp-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 40px;
}
.usp-item {
background-color: #fdfdfd;
padding: 30px;
border-radius: 12px;
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
text-align: center;
border: 1px solid #eee;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.usp-item:hover {
transform: translateY(-7px);
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
.usp-item h3 {
color: #1a73e8;
font-size: 1.5em;
margin-bottom: 15px;
display: flex;
align-items: center;
justify-content: center;
}
.usp-item h3 i {
font-size: 1.8em;
margin-right: 15px;
color: #0056b3; /* Darker blue for icons */
}

/* Specific icons for USP items (ensure Font Awesome is linked) */
.usp-item h3 .fa-lightbulb { color: #FFD700; } /* Gold for expertise */
.usp-item h3 .fa-check-circle { color: #28a745; } /* Green for quality */
.usp-item h3 .fa-cogs { color: #6c757d; } /* Gray for management */
.usp-item h3 .fa-handshake { color: #fd7e14; } /* Orange for client-centric */
.usp-item h3 .fa-trophy { color: #FFC107; } /* Yellow for track record */

/* --- Renovation Journey Section --- */
.renovation-journey-section {
background-color: #f4f7f6;
padding: 60px 0;
border-top: 1px solid #eee;
}
.renovation-journey-section ol {
list-style: none;
counter-reset: step-counter;
padding: 0;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
margin-top: 40px;
}

.renovation-journey-section ol li {
counter-increment: step-counter;
background-color: #fff;
padding: 30px;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
position: relative;
padding-top: 60px; /* Space for the step number */
border-left: 4px solid #1a73e8;
}
.renovation-journey-section ol li::before {
content: counter(step-counter);
position: absolute;
top: 20px;
left: 25px;
background-color: #1a73e8;
color: white;
font-size: 1.8em;
font-weight: bold;
width: 45px;
height: 45px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.renovation-journey-section ol li strong {
display: block;
font-size: 1.3em;
color: #333;
margin-bottom: 10px;
}
.renovation-journey-section ol li p {
font-size: 1em;
color: #555;
margin-bottom: 0;
}

/* --- CTA Bottom Section --- */
.cta-bottom {
background-color: #112a4b;; /* Primary blue background */
color: white;
padding: 60px 0;
text-align: center;
border-top: 1px solid #0056b3;
}
.cta-bottom h2 {
color: white;
font-size: 2.5em;
margin-bottom: 20px;
}
.cta-bottom p {
font-size: 1.2em;
max-width: 900px;
margin: 0 auto 30px;
}
.cta-bottom .btn-secondary {
background-color: white;
color: #1a73e8;
border: none;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.cta-bottom .btn-secondary:hover {
background-color: #e0e0e0;
color: #0056b3;
}
.cta-bottom .cta-phone {
margin-top: 30px;
font-size: 1.3em;
font-weight: bold;
}
.cta-bottom .cta-phone a {
color: white;
text-decoration: none;
transition: color 0.3s ease;
}
.cta-bottom .cta-phone a:hover {
color: #e0e0e0;
text-decoration: underline;
}

/* --- FAQ Section --- */
.faq-section {
background-color: #fff;
padding: 60px 0;
border-top: 1px solid #eee;
}

.faq-item {
background-color: #fdfdfd;
border: 1px solid #ddd;
border-radius: 10px;
padding: 10px;
margin-bottom: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
overflow: hidden; /* Crucial for max-height transition */
}

.faq-item h3 {
font-size: 1.1em;
color: #333; /* Default color */
margin-bottom: 0; /* Remove default margin-bottom as p will be controlled */
cursor: pointer;
position: relative;
padding-right: 30px; /* Space for a potential toggle icon */
display: flex; /* Use flex to align text and icon if you add one */
justify-content: space-between; /* Space out text and icon */
align-items: center;
transition: color 0.3s ease;
}
.faq-item h3:hover {
color: #1a73e8;
}

/* Optional: Add a plus/minus icon to FAQ questions */
.faq-item h3::after {
content: '\2b'; /* Plus icon */
font-family: 'Font Awesome 6 Free'; /* Requires Font Awesome */
font-weight: 900;
font-size: 0.8em;
color: #1a73e8;
transition: transform 0.3s ease;
}
.faq-item.active h3::after {
content: '\2212'; /* Minus icon when active */
transform: rotate(0deg); /* No rotation needed for plus/minus */
}





.faq-item p {
font-size: 1em;
color: #555;
margin-bottom: 0;
max-height: 0; /* Hidden by default */
overflow: hidden;
transition: max-height 0.2s ease-out, padding 0.2s ease-out; /* Smooth transition */
padding-top: 0; /* No top padding when collapsed */
}


/* FAQ Section Styles */

.faq-section {
    padding: 60px 0; /* Add some vertical padding to the section */
    background-color: #f9f9f9; /* Light background for the FAQ section */
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333; /* Darker heading color for main FAQ title */
}

.faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* Important for containing the max-height transition */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-item h3 {
    padding: 18px 25px;
    margin: 0; /* Remove default h3 margins */
    cursor: pointer;
    font-size: 1.25em; /* Adjust font size for questions */
    color: #1a73e8; /* Primary blue for questions */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-item h3:hover {
    background-color: #f0f8ff; /* Light hover effect */
}

/* Visual indicator for dropdown state (plus/minus icon) */
.faq-item h3::after {
    content: '+';
    font-size: 1.2em;
    font-weight: 600;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    content: '-';
    transform: rotate(0deg); /* No rotation needed if content is just '-' */
}

/* Essential styles for the answer content */
.faq-item p {
    max-height: 0; /* Initially hidden */
    overflow: hidden; /* Hide overflowing content */
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out; /* Smooth transition for expand/collapse */
    padding: 0 25px; /* Initial padding: 0 top/bottom, keep horizontal */
    color: #555;
    font-size: 1em;
    line-height: 1.6;
}

/* When the item is active, show the answer */
.faq-item.active p {
    max-height: 3000px; /* Large enough value to reveal all content */
    padding: 15px 25px 25px; /* Padding when open (top, right/left, bottom) */
}

.faq-item.active h3 {
    background-color: #e6f7ff; /* Slightly darker background when active */
    color: #0A3D62; /* Darker text color when active */
    border-bottom: 1px solid #e0e0e0;
}
/* Testimonials Section */
.testimonials-section {
padding: 60px 0;
background-color: #f0f0f0;
margin-top: 40px;
border-radius: 15px;
box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.05);
text-align: center;
}
.testimonials-section h2 {
font-size: 2.2em;
color: #333;
margin-bottom: 40px;
font-weight: 600;
}
.testimonial-slider {
display: flex;
 overflow-x: auto;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
padding-bottom: 20px;
scrollbar-width: thin;
scrollbar-color: #1a73e8 #e0e0e0;
}



.testimonial-slider::-webkit-scrollbar {
height: 8px;
}
.testimonial-slider::-webkit-scrollbar-track {
 background: #e0e0e0;
border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
background-color: #1a73e8;
 border-radius: 10px;
border: 2px solid #e0e0e0;
}

.testimonial-slide {
flex: 0 0 auto;
width: 400px; /* Adjust width as needed */
margin-right: 30px;
"scroll-snap-align": start;
background-color: #ffffff;
padding: 30px;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: left;

}

.testimonial-slide:hover {
transform: translateY(-5px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-slide p {
font-size: 1.1em;
 line-height: 1.7;
 color: #444;
 margin-bottom: 15px;
font-style: italic;

}

.testimonial-slide .author {
 font-weight: 600;
 color: #1a73e8;
font-size: 1em;
text-align: right;
}

.text-center {
 text-align: center;
}
.mt-4 {
 margin-top: 40px;
}


/* --- Responsive Adjustments --- */

@media (max-width: 1024px) {
 .container {
 padding: 20px 20px;
 }
 h1 {
 font-size: 2.4em;
 }
 h2 {
font-size: 2em;
}
h3 {
 font-size: 1.4em;
}
.carousel-item {
width: 300px; /* Adjust item width for smaller screens */
 }
 .usp-list,
.renovation-journey-section ol {
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}


@media (max-width: 768px) {
.hero-section {
padding: 80px 0;
 }
h1 {
font-size: 2em;
 }
h2 {
font-size: 1.8em;
}
 .hero-section p {
font-size: 1.1em;
 }
.btn {
padding: 12px 25px;
font-size: 1em;
}

.intro-value-section ul {
grid-template-columns: 1fr; /* Stack items on small screens */
 }
 .carousel-item {
 width: 90%; /* Make carousel items take more width on small screens */
 margin: 0 auto; /* Center individual items */
}
.image-carousel {
 padding: 20px 15px; /* Adjust padding for scrollable area */
 }
 .service-block,
 .usp-item,
.renovation-journey-section ol li,
.faq-item {
 padding: 20px;
}

.service-block h3 {
 font-size: 1.6em;
 }
.usp-item h3 {
 font-size: 1.3em;
 }
 .renovation-journey-section ol li::before {
font-size: 1.5em;
 width: 40px;
 height: 40px;
 top: 15px;
 left: 20px;
}
 .renovation-journey-section ol li {
 padding-top: 50px;
 }
 .cta-bottom h2 {
 font-size: 2em;
 }
 .cta-bottom p {
 font-size: 1.1em;
 }
 .cta-bottom .cta-phone {
font-size: 1.1em;
}

@media (max-width: 480px) {
.container {
 padding: 15px;
 }
 h1 {
font-size: 1.8em;
 }
 h2 {
 font-size: 1.6em;
}
 h3 {
font-size: 1.2em;
 }
.hero-section p {
 font-size: 1em;
}
.btn {
width: 100%;
margin-bottom: 10px;
}
.carousel-item {
width: 100%; /* Full width on very small screens */
}
.accordion-section .dropdown-toggle {
font-size: 1.2em;
padding: 15px 20px;
}
.accordion-section .dropdown-content {
padding: 10px 20px 15px;
}