/* Global Styles & Reset */
:root {
    --primary-color: #E74C3C; /* Strong Red */
    --secondary-color: hsl(210, 29%, 29%); /* Dark Bluish-Grey for Text */
    --background-light: #ffff; /* Very Light Grey */
    --background-dark: #e36767; /* Medium Grey for accents and subtle backgrounds */
    --text-light: #FFFFFF; /* Pure White for text on dark backgrounds */
    --header-bg: rgba(255, 255, 255, 0.95); /* Slightly transparent white for header */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --card-shadow: rgba(0, 0, 0, 0.15);
    --button-hover-bg: #C0392B; /* Slightly darker red for button hover */
    --footer-bg: #212529; /* Even darker grey for footer */
    --footer-text: #DEE2E6; /* Lighter grey for footer text */
    --whatsapp-color: #25d366; /* Keep WhatsApp green */
    --stars-color: #E74C3C; /* Gold for stars */
    --light-pink-bg: #ffaaaa; /* User requested, keeping for potential use */

    /* New gradient colors for reddish theme */
    --gradient-start: #C0392B; /* Muted Red */
    --gradient-end: #E74C3C; /* Strong Red */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--background-light);
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--secondary-color);
}

p {
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px var(--shadow-light);
    margin: 5px;
}

.button:hover {
    background: var(--button-hover-bg); /* Use specific hover color */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.button.secondary:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 8px var(--shadow-light);
}

/* --- Section Title Reusable Style --- */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    
}

.section-title h2 {
    font-size: 2.8rem;
    text-color:ffffff1a ;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
        text-color:ffffff1a ;

    content: '';
    position: absolute;
    width: 80%;
    height: 4px;
    background-color: var(--background-dark); /* Changed to background-dark for contrast */
    bottom: -10px;
    left: 10%;
    border-radius: 2px;
}

.section-title p {
        text-color:ffffff1a ;

    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Header Section --- */
#main-header {
    background: var(--header-bg);
    color: var(--secondary-color);
    padding: 15px 0;
    position: sticky; /* Keeps the header fixed at the top */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000; /* Ensures header is always on top */
    box-shadow: 0 2px 5px var(--shadow-light);
    transition: background 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for scroll effect */
}

/* Styles for header when scrolled */
#main-header.scrolled {
    background: rgba(255, 255, 255, 0.98); /* Slightly less transparent */
    box-shadow: 0 6px 25px rgba(0,0,0,0.25); /* Deeper shadow on scroll */
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Make logo container flex */
.header-logo {
  display: flex;
  align-items: center;
  gap: 8px; /* Space between image and text */
  text-decoration: none; /* Remove underline from link */
  color: inherit; /* Inherit text color */
}

/* Optional: size the logo image */
.header-logo-img {
  height: 50px;
  width: auto;
}

/* Optional: style the "Cellfix" text */
.header-logo h1 {
  font-size: 24px;
  font-weight: 600; 
  margin: 0;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0; /* Remove default margin */
    color: var(--primary-color);
    display: flex; /* Already flex from parent, but good to ensure */
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-item {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding: 5px 0; /* Add padding for clickable area */
}

/* Underline effect for navigation items */
.nav-item::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 4px;
        bottom: -8px; /* Move underline down a bit */

    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.nav-item:hover::after {
    width: 100%;
}

/* Hamburger icon for mobile navigation */
.hamburger {
    display: none; /* Hidden by default on desktop */
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 0;
    transition: color 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center/cover;
    background-attachment: fixed; /* Parallax effect */
    color: var(--text-light);
    text-align: center;
    padding-top: var(--header-height-desktop); /* Account for fixed header */
    position: relative; /* Needed for overlay */
}


.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 14px 35px; /* Larger button */
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    background: var(--background-dark);
    transform: translateY(-5px); /* More pronounced lift */
    box-shadow: 0 12px 25px rgba(0,0,0,0.3); /* Deeper shadow on hover */
}
.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}

.hero-content .button {
    padding: 15px 35px;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.hero-content .button:hover {
    background: var(--button-hover-bg); /* Use specific hover color */
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* --- About Us Section Styles --- */
.about-section {
    background-color: #f8f8f8;
    padding: 100px 0 50px;
}

.about-content {
    background-color: #f8f8f8;

    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Space between text and image */
    margin-bottom: 60px; /* Space between the two about content blocks */
}

/* Specific styling for the second about content block */
.about-content.about-accessories {
    
    flex-direction: row-reverse; /* Reverses order for image on right, text on left */
    margin-bottom: 0; /* Last content block doesn't need bottom margin */
}

.about-text {
    flex: 2; /* Takes more space, allowing image to shrink */
    min-width: 300px; /* Minimum width for text before wrapping */
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.about-image {
    flex: 1; /* Takes remaining space */
    min-width: 250px; /* Minimum width for image before wrapping */
    display: flex; /* To center image if it doesn't fill flex item */
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden; /* Ensures image corners are rounded */
    box-shadow: 0 8px 16px var(--shadow-light);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures image covers its container without distortion */
    border-radius: 10px; /* Apply border-radius to the image itself */
}

/* --- Services Section Styles --- */
.services-section {
    /* Padding-top is dynamically set by JS. */
    padding: 80px 0;
        background: var(--background-light); /* Use light background for this section */

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); /* More pronounced shadow on hover */
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
}

.why-choose-us {
    background: var(--text-light); /* Use light background for this section */
    padding-top: 80px; /* Aligned with general section padding */
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    
}

.reason-item {
    border-radius: 20px;
    background-color: #ffffff; /* White background */
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Softer shadow for white bg */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.reason-item:hover {
    transform: translateY(-5px);
}

.reason-item i {
    font-size: 3rem; /* Larger icons */
    color: var(--primary-color);
    margin-bottom: 20px;
}

.reason-item h4 {
    font-size: 1.4rem; /* Slightly larger heading */
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.reason-item p {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* --- Work Section Styles --- */
.work-section .section-title {
    /* Padding-top is dynamically set by JS. */
    padding:  0;
    background-color: var(--background-light);
    text-align: center;
    font-size: 2rem;
}

.work-section .section-description {
    font-size: 1.4rem;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto 40px auto; /* Added bottom margin for spacing */
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.work-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 0; /* Removed padding from here as content-div has it */
    box-shadow: 0 6px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); /* More pronounced shadow on hover */
}

.work-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.work-card .card-content {
    padding: 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.work-card h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.work-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.cta-banner {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)); /* Reddish linear gradient */
    color: var(--text-light);
    padding: 40px;
    border-radius: 10px;
    margin-top: 80px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-banner h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-banner .button.secondary {
    background: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

.cta-banner .button.secondary:hover {
    background: #e0e0e0;
    color: var(--primary-color);
    border-color: #e0e0e0;
    transform: translateY(-2px);
}

/* --- Accessories Section --- */
.accessories-section {
    /* Padding-top is dynamically set by JS. */
    padding: 80px 0;
    background-color: #f8f8f8;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* More compact cards */
    gap: 30px;
    margin-top: 40px;
}

.accessory-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 6px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 200px; /* Adjust min height for consistency */
}

.accessory-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); /* More pronounced shadow on hover */
}

.accessory-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.accessory-item h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.accessory-item p {
    font-size: 0.95rem;
    color: #666;
}

/* --- Testimonials Section --- */

        /* Testimonials Section Styling (updated from user's CSS) */
        .testimonials-section {
            padding: 80px 0; /* Updated from user's CSS */
            background-color: var(--secondary-color); /* Changed to dark bluish-grey for contrast */
            color: var(--text-light); /* Changed text color for contrast */
            border-radius: 12px;
            margin-bottom: 40px;
            width: 100%;
        }

        .testimonials-section .section-title,
        .testimonials-section .section-title h2,
        .testimonials-section .section-title p {
            color: var(--text-light); /* Ensure title text is light */
        }

        .testimonials-section .section-title h2::after {
            background-color: var(--primary-color); /* Underline color */
        }

        /* Testimonial Grid (updated from user's CSS) */
        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted minmax width */
            gap: 30px;
            margin-top: 40px; /* Adjusted margin */
            padding: 0 15px; /* Add some padding for smaller screens */
        }

        /* Individual Testimonial Item (updated from user's CSS) */
        .testimonial-item {
            background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white card */
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 250px; /* Added minimum height */
        }

        .testimonial-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); /* More pronounced shadow on hover */
        }

        .testimonial-item .quote {
            font-size: 1.1rem; /* Adjusted font size */
            font-style: italic;
            margin-bottom: 20px;
            color: var(--text-light); /* Text color from variable */
        }

        .testimonial-item .author {
            font-weight: 700; /* Adjusted font weight */
            margin-top: auto; /* Pushes author to bottom */
            color: var(--primary-color); /* Keep primary color for author name */
        }

        .testimonial-item .stars i {
            color: var(--stars-color); /* Gold stars from variable */
            margin: 0 2px;
            font-size: 1.1rem; /* Adjusted font size */
        }

        /* Fade-in Animation */
        .fade-in-section {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeIn 0.8s forwards;
            animation-delay: 0.2s; /* Delay for a smoother effect */
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Carousel Specific Styling (retained from previous version) */
        .carousel-container {
            position: relative;
            width: 100%;
            max-width: 1400px; /* Max width for the carousel viewport */
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            padding: 0; /* Remove padding for inner carousel to fill */
            display: flex; /* Use flexbox for the carousel to align items */
            justify-content: flex-start; /* Align to start for scrolling */
            align-items: center;
            height: 250px; /* Adjust container height to accommodate image + padding */
            margin-bottom: 40px; /* Added margin to separate from testimonials below */
        }

        .carousel-wrapper {
            display: flex;
            width: fit-content; /* Allow wrapper to be wider than container */
            height: 100%; /* Take full height of carousel-container */
            transition: transform 0.8s ease-in-out; /* Smooth slide transition */
        }

        .carousel-slide {
            min-width: 250px; /* Each slide takes exactly 200px width */
            height: 300px; /* Each slide takes exactly 200px height */
            margin: 0 10px; /* Spacing between images */
            overflow: hidden; /* Hide anything outside the slide */
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            flex-shrink: 0; /* Prevent slides from shrinking */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .carousel-slide img {
            width: 100%; /* Image fills the slide item */
            height: 100%; /* Image fills the slide item */
            object-fit: cover; /* Cover the area, cropping if necessary */
            border-radius: 8px; /* Match border-radius of the slide */
        }


/* --- FAQ Section --- */
.faq-section {
    /* Padding-top is dynamically set by JS. */
    padding: 80px 0;
    background-color: var(--background-light);
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.accordion-header {
    background-color: #f9f9f9;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 20px 25px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #efefef;
}

.accordion-header.active {
    background-color: var(--primary-color);
    color: #fff;
}

.accordion-header i {
    transition: transform 0.3s ease;
    font-size: 0.9em;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-content.active {
    padding: 20px 25px;
}

.accordion-content p {
    margin-bottom: 0;
    color: #555;
    font-size: 1rem;
}

/* --- Process Section --- */
.process-section {
    /* Padding-top is dynamically set by JS. */
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 15px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); /* More pronounced shadow on hover */
}

.icon-circle {
    background-color: var(--background-dark); /* Changed to background-dark for contrast */
    color: var(--text-light);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.step-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-item p {
    font-size: 1rem;
    color: #666;
}

/* --- Contact Section --- */
.contact-section {
    /* Padding-top is dynamically set by JS. */
    padding: 80px 0;
    background-color: var(--background-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Contact info takes more space */
    gap: 60px;
    margin-top: 40px;
    align-items: flex-start; /* Align items to the top */
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 15px var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
}

.contact-info p {
    font-size: 1.05rem;
    margin-bottom: 15px;
        padding-right: 2px;
       gap: 2px;
    color: #555;
    display: flex;
    align-items: flex-start; /* Align text with icons */
}
.contact-info p strong {
    margin-right: 10px; /* Adjust space between strong and following text */
    display: inline-block;
}

.contact-info p i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.3em;
    width: 25px; /* Fixed width for consistent alignment */
    text-align: center;
    padding-top: 2px; 
    gap: 5px;
    /* Small adjustment for icon vertical alignment */
}

.contact-info p a {
        padding-right: 2px;

    color: #555;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: var(--primary-color);
}

.contact-info .area-served {
    margin-top: 20px;
    font-weight: 700;
}

.contact-info .note {
    font-style: italic;
    font-size: 0.95rem;
    color: #777;
    margin-top: 10px;
    border-left: 3px solid var(--background-dark); /* Changed border color */
    padding-left: 15px;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 15px var(--card-shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    overflow: hidden; /* Ensure content is clipped when hidden */
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select { /* Added select for dropdown */
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--secondary-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fdfdfd;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus,
.contact-form select:focus { /* Added select */
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2); /* Changed shadow color to red tint */
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Custom styling for the select dropdown arrow */
.contact-form select {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Custom SVG arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2334495E%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13.2-6.2H18.6c-5%200-9.3%201.8-13.2%205.5C1.8%2069.2%200%2073.4%200%2078.6c0%205%201.8%209.3%205.5%2013.2l128%20127.9c3.9%203.9%208.3%205.8%2013.2%205.8s9.3-1.9%2013.2-5.8l127.9-128c3.8-3.9%205.7-8.1%205.7-13.1%200-5.2-1.9-9.4-5.6-13.1z%22%2F%3E%3C%2Fsvg%3E'); /* Changed arrow color to secondary-color */
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px; /* Size of the arrow icon */
    padding-right: 40px; /* Make space for the arrow */
}

/* Hide specific form groups dynamically */
.form-group.hidden {
    display: none;
}

.google-map {
    width: 100%;
    height: 0;
    padding-bottom: 400px; /* Aspect ratio for responsive iframe */
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px var(--card-shadow);
    margin-top: 60px; /* Space between form and map */
}

.google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Footer Section --- */
footer {
    background-color: var(--footer-bg); /* Changed to dark charcoal grey */
    color: var(--footer-text);
    padding: 50px 0 20px;
    font-size: 0.95rem;
}

footer .container {
    padding: 0 20px; /* Ensure padding on smaller screens */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--background-dark); /* Changed to background-dark for consistency */
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--footer-text);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-col ul li i {
    margin-right: 8px;
    font-size: 0.8em;
    color: var(--background-dark); /* Changed icon color */
}

.footer-col p {
    color: var(--footer-text);
    margin-bottom: 10px;
}

.footer-col p span {
    font-weight: 700;
    color: var(--primary-color);
}

.footer-col p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.copyright-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 30px;
}

.copyright-info i {
    color: var(--primary-color); /* Red heart icon */
    margin: 0 5px;
}

.whatsapp-float {
    position: fixed;
    bottom: 50%; /* Center vertically */
    right: 20px;
    transform: translateY(50%); /* Adjust for perfect vertical centering */
    background-color: #25d366; /* WhatsApp green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: pulse 2s infinite; /* Pulsing animation */
}

.whatsapp-float:hover {
    transform: translateY(50%) scale(1.1); /* Slightly enlarge on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animated-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animated-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}



/* --- Phone Float Button --- */
.phone-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 110px; /* Position above WhatsApp button (40px + 60px + 10px gap) */
    right: 18px;
    background-color: var(--primary-color); /* Use your primary color */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.phone-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.instagram-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
}

/* --- Fade-in and Animated Item Styles --- */






/* --- Responsive Adjustments --- */

/* Medium devices (tablets, 768px and up) */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .about-content {
        flex-direction: column; /* Stack image and text */
        text-align: center;
        gap: 30px;
    }

    .about-content.about-accessories {
        flex-direction: column; /* Keep stacked for both blocks */
    }

    .about-text, .about-image {
        min-width: unset; /* Remove min-width to allow full width */
        flex: unset; /* Remove flex to allow full width */
        width: 100%;
    }

    .about-image img {
        max-width: 80%; /* Constrain image width slightly in center */
    }

    .service-card {
        padding: 25px;
    }

    .service-card i {
        font-size: 3rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .reason-item {
        padding: 20px;
    }

    .reason-item i {
        font-size: 2rem;
    }

    .reason-item h4 {
        font-size: 1.2rem;
    }

    .reasons-grid {
        padding: 30px;
        gap: 20px;
    }

    .work-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .accessory-item {
        padding: 20px;
    }

    .accessory-item i {
        font-size: 2.5rem;
    }

    .accessory-item h4 {
        font-size: 1.2rem;
    }

    .testimonial-item {
        padding: 25px;
        min-height: 220px;
    }

    .testimonial-item .quote {
        font-size: 1rem;
    }

    .faq-accordion {
        max-width: 700px;
    }

    .accordion-header {
        font-size: 1rem;
        padding: 18px 20px;
    }

    .accordion-content.active {
        padding: 18px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr; /* Stack contact info and form */
        gap: 40px;
    }

    .contact-info, .contact-form {
        padding: 30px;
    }

    .contact-info h3, .contact-form h3 {
        font-size: 1.8rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .google-map {
        margin-top: 40px;
        padding-bottom: 300px; /* Adjust aspect ratio for tablets */
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 30px;
        right: 30px;
        font-size: 28px;
    }

    .phone-float {
        width: 55px;
        height: 55px;
        bottom: 95px; /* Adjust position relative to WhatsApp button */
        right: 30px;
        font-size: 28px;
    }
}

/* Small devices (mobile phones, 576px and down) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    /* Header adjustments for mobile */
    .nav-links {
        display: none; /* Hide navigation links by default */
        flex-direction: column;
        width: 100%;
        background-color: var(--header-bg);
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        box-shadow: 0 8px 16px var(--shadow-light);
        border-top: 1px solid #eee;
        padding: 15px 0;
        transition: max-height 0.4s ease-out, opacity 0.4s ease-out; /* Smooth slide and fade */
        max-height: 0; /* Hidden state */
        opacity: 0;
        overflow: hidden;
    }

    .nav-links.active {
        display: flex; /* Show when active */
        max-height: 500px; /* Increased max-height to ensure all links show */
        opacity: 1;
        overflow-y: auto; /* Allow scrolling if content exceeds max-height */
    }

    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }

    .nav-item {
        display: block; /* Make the entire link clickable */
        padding: 10px 0;
        font-size: 1.1rem; /* Slightly larger font for better touchability */
    }

    .hamburger {
        display: block; /* Show hamburger icon */
    }

    .hero {
        height: 70vh; /* Adjust hero height for mobile */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-section, .services-section, .why-choose-us-section,
    .work-section, .accessories-section, .testimonials-section,
    .faq-section, .process-section, .contact-section {
        padding: 50px 0; /* Adjust overall section padding */
    }

    .about-image img {
        max-width: 90%; /* Adjust image size for smaller screens */
    }

    .services-grid, .reasons-grid, .work-grid, .accessories-grid, .testimonial-grid, .process-steps {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .service-card, .reason-item, .work-card, .accessory-item, .testimonial-item, .step-item {
        padding: 20px;
        min-height: unset; /* Remove fixed min-height for flexible content */
    }

    .service-card i, .reason-item i, .accessory-item i {
        font-size: 2rem;
    }
            
 .carousel-container {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 15px;
    height: auto;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;         /* Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none;                 /* Chrome, Safari */
}

.carousel-slide {
    flex-shrink: 0;
    min-width: 320px;
    max-width: 340px;
    height: 320px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.carousel-slide img {
    width: 100%;
        height: 280px;

    object-fit: cover;
    border-radius: 8px;
}

.carousel-slide .caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #444;
    text-align: center;
}

    .service-card h3, .reason-item h4, .accessory-item h4 {
        font-size: 1.3rem;
    }

    .faq-accordion {
        margin-top: 30px;
        border-radius: 5px;
    }

    .accordion-header {
        font-size: 0.95rem;
        padding: 15px;
    }

    .accordion-content.active {
        padding: 15px;
    }

    .contact-info, .contact-form {
        padding: 25px;
    }

    .contact-info h3, .contact-form h3 {
        font-size: 1.5rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .google-map {
        padding-bottom: 250px; /* Further adjust map aspect ratio */
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Single column footer on small mobiles */
        text-align: center;
        gap: 25px;
    }

    .footer-col h3 {
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li a {
        justify-content: center; /* Center list items for single column */
    }

    .social-links {
        justify-content: center; /* Center social icons */
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        top: 190px;
        right: 20px;
        font-size: 25px;
    }

    .phone-float {
        width: 60px;
        height: 60px;
        top: 380px; /* Adjust for smaller buttons and gap */
        right: 20px;
        font-size: 25px;
    }
}
