/* Modern Real Estate Photo Editing Website CSS */
:root {
    --primary-color: #3F51B5;       /* Indigo - bold but not harsh */
    --primary-light: #7986CB;       /* Lighter indigo for gradients */
    --primary-dark: #303F9F;        /* Deeper indigo */
    --secondary-color: #FF7043;     /* Vibrant but smooth coral/orange */
    --accent-color: #7D8CF6;        /* Warm amber for highlights */
    --dark-color: #2B1C50;          /* Dark slate for text */
    --gray-dark: #546E7A;           /* Blue-gray for muted text */
    --gray-medium: #90A4AE;         /* Lighter muted gray-blue */
    --gray-light: #ECEFF1;          /* Very light blue-gray */
    --light-color: #CFE2FE;         /* Clean background white */
    --white: #EEF2FF;
    --highlight: #566bff;           /* Same as accent for consistency */
    --section-padding-y: 100px;
    --font-primary: 'Poppins', sans-serif;
}



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

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    background-color: var(--light-color); /* Default background */
    line-height: 1.6;
    overflow-x: hidden;
}

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

p {
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

.highlight {
    color: var(--highlight);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(84, 89, 172, 0.3); /* Updated shadow to new primary color */
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 89, 172, 0.4); /* Updated shadow to new primary color */
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

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

.secondary-button.white {
    color: var(--white);
    border-color: var(--white);
}

.secondary-button.white:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Header */
.glass-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center; /* Add this line to vertically center all navigation items */
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sign-in {
    font-weight: 500;
    transition: color 0.3s ease;
}

.sign-in:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: var(--section-padding-y) 5%; /* Apply consistent padding */
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
    background-color: var(--light-color); /* Explicitly setting for alternating */
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content .subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray-dark);
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.badge i {
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    position: relative;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: var(--section-padding-y) 5%; /* Apply consistent padding */
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
    background-color: var(--light-color); /* Explicitly setting for alternating */
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-content .subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray-dark);
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.badge i {
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    position: relative;
}

/* BEGIN NEW HERO IMAGE STYLES */
.hero-image {
    max-width: 800px; /* Adjust this value to control the maximum width of the image container */
    margin: 40px auto; /* Centers the image and provides vertical spacing */
    padding: 0 20px; /* Adds some padding on the sides for smaller screens */
    box-sizing: border-box; /* Ensures padding is included in the element's total width and height */
}

.hero-image .service-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 20px solid #7D8CF7;
}

.hero-image .service-image-container .before-after-toggle {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .hero-image {
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .hero-image {
        padding: 0 10px;
    }
}
/* END NEW HERO IMAGE STYLES */

/* Trusted By Section */
.trusted-by {
    text-align: center;
    padding: var(--section-padding-y) 5%; /* Apply consistent padding */
    background-color: var(--white); /* Alternating background */
}

.trusted-by p {
    font-size: 16px;
    color: var(--gray-medium);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.logos img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.section-header .subtitle {
    font-size: 18px;
    color: var(--gray-dark);
}


/* Updated Services Section - Links & Before/After Toggle */
.services {
    padding: var(--section-padding-y) 5%; /* Apply consistent padding */
    background-color: var(--white); /* Alternating background */
}

.service-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image-container {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}

.service-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(84, 89, 172, 0.15);
}

/* Disable hover lift on slider containers — breaks drag coordinates */
.service-image-container.ba-slider:hover {
    transform: none;
}

.service-image-container > img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Before/After Slider Comparison */
.ba-slider {
    position: relative !important;
    overflow: hidden !important;
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
}

.ba-slider .ba-after {
    position: relative !important;
    width: 100% !important;
    display: block !important;
    height: auto !important;
    overflow: hidden;
}

.ba-slider .ba-after img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    pointer-events: none;
}

.ba-slider .ba-before {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 50%;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 2 !important;
}

.ba-slider .ba-before img {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    width: auto !important;
    min-width: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    pointer-events: none;
}

.ba-slider .ba-handle {
    position: absolute !important;
    top: 0 !important;
    left: 50%;
    width: 4px !important;
    height: 100% !important;
    background: #fff !important;
    z-index: 4 !important;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.ba-slider .ba-handle-circle {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    z-index: 5 !important;
}

.ba-slider .ba-handle-circle i {
    font-size: 16px;
    color: #2B1C50;
}

.ba-slider .ba-label {
    position: absolute !important;
    bottom: 14px !important;
    z-index: 3 !important;
    background: rgba(0,0,0,0.55);
    color: #fff;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    pointer-events: none;
}

.ba-slider .ba-label-before {
    left: 14px;
}

.ba-slider .ba-label-after {
    right: 14px;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.service-content h3 a {
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.service-content h3 a:hover {
    color: var(--primary-color);
}

.service-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 0;
}

.view-all-services {
    text-align: center;
    margin-top: 80px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-content {
        text-align: center;
    }
}

/* How It Works Section - New Design */
.how-it-works {
    padding: var(--section-padding-y) 5%; /* Apply consistent padding */
    padding-bottom: calc(var(--section-padding-y) + 170px); /* Increased padding to ensure the last step is visible, adjusting for mobile */
    background-color: var(--light-color); /* Alternating background */
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align header to the top */
    max-width: 1400px;
    margin: 0 auto;
    gap: 80px; /* Space between text and timeline */
    position: relative; /* For positioning numbers if needed later */
    overflow: hidden; /* Hide overflowing elements, especially on mobile */
}

.how-it-works-header-left {
    flex: 1;
    min-width: 350px;
    padding-top: 50px; /* Align with the start of the curve */
}

.how-it-works-header-left .tagline {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.how-it-works-header-left h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.how-it-works-header-left p {
    font-size: 17px;
    color: var(--gray-dark);
    margin-bottom: 30px;
}

.how-it-works-timeline {
    flex: 2; /* Allow timeline to take more space */
    position: relative;
    width: 100%; /* Important for SVG viewBox scaling */
    min-height: 400px; /* Ensure enough height for the curve */
}

.timeline-path {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0; /* Keep path behind steps */
}

/* Common styling for timeline steps */
.timeline-step {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content within its own box */
    text-align: center;
    z-index: 1; /* Keep steps above the path */
}

.step-circle {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    border: 5px solid var(--white); /* Matches background of section */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.step-circle:hover {
    transform: scale(1.1);
}

.step-content {
    background-color: var(--white);
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    max-width: 280px; /* Limit width of content box */
    min-width: 280px; /* Ensure consistent width */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.step-content p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Positioning for each step based on the provided image */
/* These values are highly dependent on the SVG path and viewport size */
.step-1 {
    top: 290px; /* Adjusted to be slightly above the path's start */
    left: 0%;
    transform: translateX(-50%); /* Center based on left edge */
}

.step-2 {
    top: 100px;
    left: 42%;
    transform: translateX(-50%); /* Center based on left edge */
}

.step-3 {
    top: 0px; /* Top right corner */
    left: 87%;
    transform: translateX(-50%); /* Center based on left edge */
}


/* Responsive Adjustments for How It Works Section */
@media (max-width: 1024px) {
    .how-it-works {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 60px;
        padding-top: calc(var(--section-padding-y) / 1.5); /* Adjust padding for mobile */
        padding-bottom: calc(var(--section-padding-y) / 1.5);
    }

    .how-it-works-header-left {
        padding-top: 0; /* Reset top padding */
        min-width: unset;
        width: 100%;
        max-width: 600px; /* Constrain header width */
    }

    .how-it-works-header-left h2 {
        font-size: 36px;
    }

    .how-it-works-header-left p {
        font-size: 17px;
    }

    .how-it-works-timeline {
        min-height: auto; /* Allow height to adjust */
        height: auto;
        width: 100%;
        max-width: 400px; /* Constrain timeline width */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px; /* Space between stacked steps */
        padding-bottom: 20px; /* Ensure space at bottom */
    }

    .timeline-path {
        display: none; /* Hide SVG path on mobile, revert to linear */
    }

    .timeline-step {
        position: static; /* Remove absolute positioning for stacking */
        transform: none; /* Remove transform */
        width: 100%; /* Take full width of parent */
        max-width: 300px; /* Limit content width */
        margin-bottom: 20px; /* Space between steps */
    }

    .timeline-step:last-child {
        margin-bottom: 0;
    }

    .step-circle {
        margin-bottom: 15px; /* Reduce margin */
    }

    .step-content {
        max-width: 100%; /* Allow content to fill step width */
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .how-it-works-header-left h2 {
        font-size: 30px;
    }
    .how-it-works-header-left p {
        font-size: 16px;
    }
    .step-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    .step-content h3 {
        font-size: 18px;
    }
    .step-content p {
        font-size: 14px;
    }
}

/* Why Choose Us Section - V3 */
.why-choose-us-section {
    background-color: var(--light-color); /* Alternating background */
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 40px; /* Apply consistent padding */
}

/* Ensure the section content is contained within the standard page padding */
.container {
    max-width: 1200px; /* Or your preferred max-width */
    margin: 0 auto;
    padding: 70px 50px 70px 50px; /* This adds padding to the left and right of the container */
}


.why-choose-us-grid-v3 {
    display: grid;
    /* Base grid: 6 equal columns. This allows for both 50% (span 3) and 33.3% (span 2) widths. */
    grid-template-columns: repeat(6, 1fr);
    gap: 30px; /* Gap between grid items */
    margin-top: 50px;
    align-items: start; /* Align items to the top of their grid areas */
}

/* --- Layout specific styling --- */

/* First item takes 50% width (3 out of 6 columns) */
.why-item-v3:nth-child(1) {
    grid-column: span 3;
}

/* Second item takes 50% width (3 out of 6 columns) */
.why-item-v3:nth-child(2) {
    grid-column: span 3;
}

/* All subsequent items (from the 3rd onwards) take 33.3% width (2 out of 6 columns), resulting in 3 per row */
.why-item-v3:nth-child(n+3) {
    grid-column: span 2;
}

/* --- Common item styling (as per screenshot) --- */
.why-item-v3 {
    background-color: var(--white); /* White background for cards */
    padding: 35px; /* More generous padding */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); /* Softer shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-light); /* Subtle border */
    display: flex;
    flex-direction: column;
    text-align: left; /* Align text to the left within the card */
}

.why-item-v3:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Slightly more prominent shadow on hover */
}

.why-item-header-v3 {
    display: flex;
    align-items: center; /* Align number and icon horizontally */
    margin-bottom: 25px; /* Space between header and content */
}

.why-item-number {
    font-size: 48px; /* Large number size */
    font-weight: 700;
    color: var(--gray-medium); /* Grey color as per screenshot */
    margin-right: 20px; /* Space between number and icon */
    line-height: 1; /* Adjust line-height for better alignment */
    opacity: 0.6; /* Slightly faded */
}

.why-item-icon-v3 {
    width: 60px; /* Size of the icon container */
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary-color); /* Primary color border for the icon */
    border-radius: 50%; /* Circular icon container */
    flex-shrink: 0; /* Prevent shrinking */
}

.why-item-icon-v3 i {
    font-size: 28px; /* Icon size */
    color: var(--primary-color); /* Icon color */
}

.why-item-content-v3 h3 {
    font-size: 22px;
    color: var(--dark-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.why-item-content-v3 p {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.7;
}

/* Responsive Adjustments for Why Choose Us V3 */
@media (max-width: 992px) {
    .why-choose-us-grid-v3 {
        /* On medium screens, all items become 50% width (2 columns) */
        grid-template-columns: repeat(2, 1fr);
    }
    .why-item-v3:nth-child(1),
    .why-item-v3:nth-child(2),
    .why-item-v3:nth-child(n+3) {
        grid-column: span 1; /* All items take 1 of 2 columns */
    }
}

@media (max-width: 768px) {
    .why-choose-us-grid-v3 {
        /* On small screens, stack all items in a single column */
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .why-item-v3:nth-child(1),
    .why-item-v3:nth-child(2),
    .why-item-v3:nth-child(n+3) {
        grid-column: span 1; /* All items span 1 column */
        padding: 30px; /* Adjust padding for smaller screens */
    }
    .why-item-v3 {
        padding: 25px; /* Adjust padding for smaller screens */
    }
    .why-item-number {
        font-size: 40px;
        margin-right: 15px;
    }
    .why-item-icon-v3 {
        width: 50px;
        height: 50px;
    }
    .why-item-icon-v3 i {
        font-size: 24px;
    }
    .why-item-content-v3 h3 {
        font-size: 20px;
    }
    .why-item-content-v3 p {
        font-size: 15px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding-y) 5%; /* Apply consistent padding */
    background-color: var(--white); /* Alternating background */
    position: relative; /* Needed for absolute positioning of nav buttons */
}


.testimonial-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */
    scroll-snap-type: x mandatory; /* Snap to cards */
    scroll-behavior: smooth; /* Smooth scroll when programmatically scrolled */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

.testimonial-slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}

.testimonial-cards {
    display: flex;
    gap: 30px;
    padding-bottom: 20px; /* Space for potential scrollbar / shadow */
}

.testimonial-card {
    flex: 0 0 380px; /* Fixed width for each card, allows more than 3 per row */
    min-width: 300px; /* Ensure cards don't get too small on smaller screens */
    background-color: var(--light-color); /* Changed to light-color for contrast */
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Stronger initial shadow */
    scroll-snap-align: start; /* Snap to the start of each card */
    position: relative;
    overflow: hidden; /* Ensure nothing spills out */
}

.testimonial-card:hover {
    transform: translateY(-8px); /* Slightly more pronounced lift */
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
}

.rating {
    color: var(--highlight);
    font-size: 20px; /* Slightly larger stars */
    margin-bottom: 20px;
}

.quote {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--gray-dark);
    position: relative;
    font-size: 17px; /* Slightly larger quote text */
    line-height: 1.7;
}

.quote::before {
    content: '\201C'; /* Unicode for left double quotation mark */
    font-family: 'Georgia', serif; /* Or any elegant serif font */
    font-size: 100px; /* Much larger */
    color: var(--primary-color);
    opacity: 0.08; /* Very subtle */
    position: absolute;
    top: -35px; /* Adjust positioning */
    left: -15px; /* Adjust positioning */
    z-index: 0; /* Behind text */
    line-height: 1; /* Prevent line height issues */
}

.client {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px; /* Add some space above client info */
}

.client-image {
    width: 65px; /* Slightly larger image */
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0; /* Prevent image from shrinking */
    border: 3px solid var(--primary-color); /* Add a subtle border */
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 19px; /* Slightly larger name */
    margin-bottom: 3px;
    color: var(--dark-color);
}

.client-info p {
    font-size: 15px; /* Slightly larger title */
    color: var(--gray-medium);
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* Slider Navigation (Arrows and Dots) */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}


.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: var(--gray-medium);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive adjustments for Testimonials */
@media (max-width: 992px) {
    .testimonial-cards {
        flex-wrap: nowrap; /* Prevent wrapping, keep horizontal scroll */
        padding-bottom: 10px;
    }
    .testimonial-card {
        flex: 0 0 calc(50% - 15px); /* Show two cards per row on larger tablets */
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%; /* Show one card per row on smaller screens */
        min-width: unset; /* Let it adapt to 100% */
    }
    .slider-nav {
        margin-top: 30px;
    }
    .slider-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
    .testimonials {
        padding: calc(var(--section-padding-y) / 1.5) 5%;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px; /* Apply consistent padding */
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Footer */
footer {
    background-color: #1A1D28;
    color: var(--white);
    padding: 100px 60px 30px 60px; /* Apply consistent padding, keeping bottom padding smaller */
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about {
    flex: 2;
    min-width: 300px;
}

.footer-about .logo {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about .logo span {
    color: var(--highlight);
}

.footer-about p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--gray-medium);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-medium);
}

.footer-contact i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-medium);
    font-size: 14px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--gray-medium);
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: calc(var(--section-padding-y) / 1.5) 5%; /* Adjust for smaller screens */
    }
    
    .hero-image {
        flex: 1;
        position: relative;
        width: 100%; /* Ensure it takes full width of the flex column */
        max-width: 600px; /* Optional: constrain max width on tablets */
        margin: 0 auto; /* Center it */
    }
    
    .hero-image .service-image-container {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 15px solid #7D8CF7;
    }

    
    .hero-cta {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .service-cards, .testimonial-cards {
        flex-direction: column;
    }
    
    .steps {
        flex-direction: column;
        gap: 50px;
    }
    
    .steps::before {
        display: none;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }

    .trusted-by, .services, .why-choose-us-section, .testimonials, .cta-section, .faq-section, footer {
        padding-top: calc(var(--section-padding-y) / 1.5);
        padding-bottom: calc(var(--section-padding-y) / 1.5);
    }
    footer {
        padding-bottom: 30px; /* Keep specific footer bottom padding */
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }
    
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }

    /* Further adjust section padding for smaller screens if needed */
    .hero, .trusted-by, .services, .how-it-works, .why-choose-us-section, .testimonials, .cta-section, .faq-section, footer {
        padding-top: calc(var(--section-padding-y) / 2);
        padding-bottom: calc(var(--section-padding-y) / 2);
    }
    footer {
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .logos {
        gap: 20px;
    }
    
    .logos img {
        height: 20px;
    }
}

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--light-color); /* Alternating background */
    text-align: center;
    padding: 40px; /* Apply consistent padding */
}

.faq-accordion {
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--gray-light);
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
    background-color: var(--white);
}

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

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--gray-light);
}

.faq-question h3 {
    font-size: 19px;
    color: var(--dark-color);
    margin: 0;
    font-weight: 500;
    flex-grow: 1;
    text-align: left;
}

.accordion-icon {
    font-size: 18px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .accordion-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust based on expected content height */
    padding: 0px 30px 25px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--gray-dark);
    line-height: 1.7;
    text-align: left;
}

/* Responsive adjustments for FAQ and Why Choose Us */
@media (max-width: 768px) {
    .why-choose-us-grid {
        grid-template-columns: 1fr; /* Stack items on small screens */
    }

    .why-item {
        padding: 25px 20px;
    }

    .why-item h3 {
        font-size: 20px;
    }

    .why-item p {
        font-size: 15px;
    }

    .faq-question {
        padding: 20px 25px;
    }

    .faq-question h3 {
        font-size: 17px;
    }

    .faq-answer {
        padding: 0 25px;
    }

    .faq-item.active .faq-answer {
        padding: 0px 25px 20px;
    }
}

/* HDR Showcase Section - Now a Gallery */
#hdr-showcase {
    background-color: var(--white); /* Maintain alternating background */
    text-align: center;
}

.image-gallery {
    display: grid;
    /* This creates a fluid grid that tries to fit items into columns of min 250px, max 1fr */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; /* Space between grid items */
    max-width: 1200px; /* Limit the width of the gallery */
    margin: 0 auto; /* Center the gallery */
}

.gallery-item {
    border-radius: 15px; /* Rounded corners for images */
    overflow: hidden; /* Ensure image corners are rounded */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Aspect ratio for standard items - adjust as needed */
    padding-bottom: 75%; /* 4:3 aspect ratio (height is 75% of width) */
    position: relative; /* For absolute positioning of image */
}

.gallery-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); /* More prominent shadow on hover */
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block; /* Remove extra space below image */
}

/* Specific item sizing based on the reference layout */
@media (min-width: 768px) {
    .image-gallery {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for larger screens */
        grid-auto-rows: minmax(180px, auto); /* Adjust row height for better fit */
    }

    .gallery-item.large-item {
        grid-column: span 2; /* Spans 2 columns */
        grid-row: span 2; /* Spans 2 rows */
        padding-bottom: 0; /* Reset padding-bottom for this item to use grid area */
    }
    
    .gallery-item.tall-item {
        grid-row: span 2; /* Spans 2 rows */
        padding-bottom: 0;
    }

    .gallery-item.wide-item {
        grid-column: span 2; /* Spans 2 columns */
        padding-bottom: 0;
    }

    /* Adjust aspect ratio for standard items within the grid context */
    .gallery-item:not(.large-item):not(.tall-item):not(.wide-item) {
        padding-bottom: 75%; /* Maintain 4:3 for regular items */
    }
}


/* Mobile adjustments */
@media (max-width: 767px) {
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust min width for smaller screens */
        gap: 15px;
    }

    .gallery-item {
        border-radius: 10px;
        padding-bottom: 65%; /* Slightly taller aspect ratio for mobile square/portrait feel */
    }

    .gallery-item.large-item,
    .gallery-item.tall-item,
    .gallery-item.wide-item {
        grid-column: span 1; /* Reset to single column on mobile */
        grid-row: span 1; /* Reset to single row on mobile */
        padding-bottom: 65%; /* Consistent aspect ratio */
    }
}


/* Style for the hero image comparison */
.hero-section .hero-content .hero-image-comparison {
    /* Adjust these values as needed */
    max-width: 100%; /* Or a specific pixel value like 1200px */
    height: auto; /* Maintain aspect ratio */
    margin: 20px auto; /* Center the image if needed */
    overflow: hidden; /* To contain the image within its bounds */
}

.hero-section .hero-content .hero-image-comparison .service-image-container {
    position: relative; /* For absolute positioning of the toggle */
    width: 100%;
    height: auto;
}

.hero-section .hero-content .hero-image-comparison .service-image-container img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover; /* Maintain aspect ratio and cover the container */
}

/* You might need to adjust the toggle position if it's overlapping the image */
.hero-section .hero-content .hero-image-comparison .service-image-container .before-after-toggle {
    position: absolute;
    bottom: 10px; /* Adjust vertical position */
    right: 10px; /* Adjust horizontal position */
    z-index: 10; /* Ensure it's on top of the image */
}

/* Dropdown container */
.navbar .nav-links .dropdown { /* Increased specificity */
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.navbar .nav-links .dropdown .dropbtn { /* Increased specificity */
    padding: 10px 15px;
    text-decoration: none;
    color: var(--dark-color); /* Use dark-color for default text of the main button */
    display: block;
}

.navbar .nav-links .dropdown .dropbtn:hover { /* Increased specificity */
    color: var(--primary-color); /* Maintain primary color on hover for the main button */
}

.navbar .nav-links .dropdown .dropbtn .dropdown-icon { /* Increased specificity */
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

/* Dropdown content (hidden by default) */
.navbar .nav-links .dropdown .dropdown-content { /* Increased specificity */
    display: none;
    position: absolute;
    background-color: #ffffff; /* Explicitly white for the submenu background */
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Links inside the dropdown */
.navbar .nav-links .dropdown .dropdown-content a { /* Increased specificity */
    color: var(--dark-color); /* Default text color for submenu items (use --dark-color for consistency) */
    padding: 12px 16px;
    text-decoration: none !important; /* Force removal of underline on the text itself */
    display: block;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* IMPORTANT: Remove the ::after pseudo-element underline from submenu links */
.navbar .nav-links .dropdown .dropdown-content a::after {
    content: none !important; /* Explicitly remove the content of the pseudo-element */
    width: 0 !important; /* Ensure its width is zero */
    height: 0 !important; /* Ensure its height is zero */
}

/* Change color of dropdown links on hover */
.navbar .nav-links .dropdown .dropdown-content a:hover { /* Increased specificity */
    background-color: var(--light-color); /* Use --light-color for background, matching hero section */
    color: var(--primary-color); /* Use --primary-color for the "hard" text color */
}

/* Show the dropdown menu when the entire .dropdown container is hovered */
.navbar .nav-links .dropdown:hover .dropdown-content { /* Increased specificity */
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Rotate the icon when dropdown is open */
.navbar .nav-links .dropdown:hover .dropbtn .dropdown-icon { /* Increased specificity */
    transform: rotate(180deg);
}

/* --- Mobile Menu Specific Styles --- */
@media (max-width: 991px) {
    /* Existing rules for .navbar, .nav-links, etc. remain the same */
    .navbar {
        padding: 15px 5%;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        background-color: var(--primary-dark);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        z-index: 99;
        padding: 0 5%;
    }

    .nav-links.active {
        height: auto;
        padding-top: 15px;
        padding-bottom: 15px;
        height: fit-content;
        overflow: visible;
    }

    /* IMPORTANT: Ensure all main links and the dropdown button have consistent mobile styling */
    .nav-links a,
    .navbar .nav-links .dropdown .dropbtn { /* Added specificity for dropbtn */
        color: var(--white); /* Ensures white text for all main menu items */
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
        font-size: 1.1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none; /* Ensure no underline on default state */
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Adjust dropdown behavior for mobile */
    .navbar .nav-links .dropdown {
        width: 100%;
        position: static; /* Crucial for mobile flow */
        display: block; /* Ensure it takes full width */
    }

    /* Style for the dropdown button's icon */
    .navbar .nav-links .dropdown .dropbtn .dropdown-icon {
        margin-left: 5px; /* Ensure spacing if needed */
        font-size: 0.8em;
        transition: transform 0.3s ease;
    }

    /* IMPORTANT: Style for the dropdown content (submenu) */
    .navbar .nav-links .dropdown .dropdown-content {
        position: relative; /* Flows naturally */
        box-shadow: none;
        top: auto;
        left: auto;
        transform: none;
        opacity: 1; /* Always visible if max-height allows */
        max-height: 0; /* Hidden by default, expands with JS active class */
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background-color: rgba(0, 0, 0, 0.2); /* Slightly darker for submenu */
        border-radius: 0;
        width: 100%;
        padding-left: 20px; /* Indent submenu items */
        padding-top: 0; /* Ensure no extra padding when collapsed */
        padding-bottom: 0; /* Ensure no extra padding when collapsed */
    }

    /* Submenu links styling */
    .navbar .nav-links .dropdown .dropdown-content a {
        color: var(--white); /* White text for submenu items */
        padding: 10px 0; /* Adjust padding */
        font-size: 1rem; /* Slightly smaller font */
        border-bottom: none; /* No border for internal submenu links */
        text-decoration: none !important; /* Ensure no underline for submenu links */
        display: block; /* Ensure full clickable area */
    }

    /* Remove the ::after pseudo-element underline from submenu links */
    .navbar .nav-links .dropdown .dropdown-content a::after {
        content: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* When the dropdown is active (clicked) on mobile, expand its content */
    .navbar .nav-links .dropdown.active .dropdown-content {
        max-height: 500px; /* Adjust as needed */
        padding-top: 5px; /* Add some padding when expanded */
        padding-bottom: 5px; /* Add some padding when expanded */
    }

    /* Rotate the icon when dropdown is open on mobile */
    .navbar .nav-links .dropdown.active .dropbtn .dropdown-icon {
        transform: rotate(180deg);
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-color);
        z-index: 100;
    }

    /* Style for the CTA button in mobile menu */
    .nav-actions {
        display: none; /* Hide it by default */
        display: flex; /* Kept for JS handling */
        position: absolute; /* Kept for JS handling */
        left: 0;
        width: 100%;
        justify-content: center;
        padding: 15px 5%;
        background-color: var(--primary-dark);
        z-index: 98;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        display: none; /* HIDE BY DEFAULT IN MOBILE VIEW */
    }

    /* SHOW the button when the mobile menu (.nav-links) is active */
    .nav-links.active + .nav-actions {
        display: flex;
        height: auto;
    }

}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
}

/* ==========================================
   PORTFOLIO SHOWCASE - Before/After Cards
   ========================================== */
.portfolio-showcase {
    background-color: var(--white);
    padding: var(--section-padding-y) 5%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(63, 81, 181, 0.15);
}

/* Featured card spans 2 columns and 2 rows */
.portfolio-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-card .pc-after,
.portfolio-card .pc-before {
    width: 100%;
    display: block;
}

.portfolio-card .pc-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-card .pc-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-card:hover .pc-before {
    opacity: 1;
}

.portfolio-card .pc-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Labels */
.portfolio-card .pc-label {
    position: absolute;
    bottom: 12px;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.portfolio-card .pc-label-after {
    right: 12px;
    background: rgba(63, 81, 181, 0.85);
    color: #fff;
}

.portfolio-card .pc-label-before {
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
}

.portfolio-card:hover .pc-label-after {
    opacity: 0;
}

.portfolio-card:hover .pc-label-before {
    opacity: 1;
}

/* Hover instruction overlay */
.portfolio-card .pc-hover-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 4;
}

.portfolio-card:hover .pc-hover-hint {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .portfolio-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .portfolio-card.featured {
        grid-column: span 1;
    }
}
