/*
Theme Name: Fresh Surface Solutions
Theme URI: https://example.com/
Author: Mawunyo Doe Worgbah
Author URI: https://example.com/
Description: A modern Professional Cleaning WordPress Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Fresh Surface Solutions
*/

/* ======== GENERAL RESET ======== */
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
body.no-scroll {
    overflow: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === TOP HEADER === */
.top-header {
    background: #333;
    color: white;
    font-size: 14px;
    padding: 10px 0;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.header-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.header-left a {
    color: white;
    text-decoration: none;
}

.header-right {
    margin-left: auto;
}

.header-right .get-quote {
    background: #ff6600;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.header-right .get-quote:hover {
    background: #e65c00;
}
@media (max-width: 768px) {
    .top-header-content {
        display: flex;               /* make it flex container */
        justify-content: space-between; /* button left, info right */
        align-items: center;
        gap: 0;                     /* no gap needed here */
        width: 100%;
        text-align: left;           /* left align the button */
    }

    /* Stack the header-left items vertically and align right */
    .header-left {
        display: flex;
        flex-direction: column;
        align-items: flex-end;      /* align text right */
        gap: 8px;
        width: auto;                /* shrink to content */
    }

    /* Each span inside header-left stacked, align right */
    .header-left span {
        display: block;
        width: auto;
        text-align: right;
    }

    /* Make sure phone link inherits right alignment */
    .header-left a {
        display: inline-block;
        text-align: right;
    }

    /* Place the button on the left */
    .header-right {
        width: auto;                /* shrink to button */
        text-align: left;
        margin-left: 0;
    }

    /* Optional: make the button bigger for mobile */
    .header-right .get-quote {
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* === MAIN HEADER === */
.main-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* === LOGO === */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    display: block;
}

/* === NAVIGATION === */
.main-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ff6600;
}

/* === NAV ICONS === */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icons button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: black;
    transition: 0.3s;
}

.nav-icons button:hover {
    color: #ff6600;
    transform: scale(1.1);
}

/* === SEARCH DROPDOWN === */
.header-search-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 15px;
    display: none;
    z-index: 999;
}

.header-search-wrap.active {
    display: block;
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.header-search-form input.search-field {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
}

.header-search-form .search-submit {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}


/* === SEARCH RESULTS (OPTIONAL) === */
.search-results {
    padding: 40px 20px;
}

.search-post {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.search-post h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.search-excerpt {
    font-size: 1em;
    color: #555;
}

.pagination {
    text-align: center;
    margin-top: 30px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .top-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .main-nav {
        display: none;
    }

    .main-header .container {
        flex-wrap: wrap;
    }

    .logo {
        flex: 1;
    }

    .nav-icons {
        margin-left: auto;
    }
}

/* ======== GENERAL PAGE CONTENT FIX ======== */
.page-content {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: flex-start; /* Align text to the left */
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px; /* Ensure proper width */
    margin: 0 auto; /* Center the content */
    padding: 20px;
}

/* Ensure headings and paragraphs are stacked properly */
.page-content h1,
.page-content h2,
.page-content h3,
.page-content p,
.page-content div {
    width: 100%; /* Ensure full width */
    text-align: centre; /* Align text properly */
}

/* Fix misalignment for textareas inside forms */
textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 150px;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

/* Fix for Chrome specifically */
@supports (-webkit-touch-callout: none) {
    .page-content {
        display: block;
    }
}

/* 📌 Book Now Button */
.btn.book-now {
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 20px;
}
.btn.book-now:hover {
    background: #0056b3;
}
/* Welcome Section */
.fss-welcome-section {
    text-align: center;
    padding: 50px 20px;
    background: #f4f4f4;
}

.fss-welcome-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.fss-welcome-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #333;
}

/* Flex Boxes */
.fss-welcome-boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fss-welcome-box {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, background 0.3s;
}

/* Hover Effects */
.fss-welcome-box:hover {
    transform: translateY(-5px);
}

.fss-welcome-box:nth-child(1):hover {
    background: #FFC107;
}
.fss-welcome-box:nth-child(2):hover {
    background: #28A745;
}
.fss-welcome-box:nth-child(3):hover {
    background: #17A2B8;
}

/* Icon Styling */
.fss-icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fss-icon-wrapper i {
    font-size: 30px;
    color: #007bff;
}

/* List Styling */
.fss-welcome-box ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.fss-welcome-box li {
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.fss-welcome-box li i {
    margin-right: 8px;
    color: green;
}

/* Read More Button */
.fss-read-more {
    display: inline-block;
    padding: 10px 15px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s;
}

.fss-read-more:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .fss-welcome-boxes {
        flex-direction: column;
        align-items: center;
    }
}

.about-us, .counter-section, .info-section {
    padding: 50px 0;
    text-align: center;
}

.about-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.counter {
    display: inline-block;
    margin: 20px;
}

.info-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.info-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.info-text {
    flex: 1;
    max-width: 50%;
}

.info-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.info-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

.info-text .btn {
    display: inline-block;
    padding: 12px 20px;
    background-color: #0073e6;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.info-text .btn:hover {
    background-color: #005bb5;
}

/* Image Section */
.info-image {
    flex: 1;
    max-width: 50%;
    text-align: right;
}

.info-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect for Image */
.info-image img:hover {
    transform: scale(1.05);
}
/* HERO SECTION */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Reduced height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* VIDEO BANNER */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80vh; /* Match section height */
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    color: white;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* BUTTON */
.hero-button {
    display: inline-block;
    padding: 12px 24px;
    background: #ff6600;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.hero-button:hover {
    background: #cc5500;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Full screen height */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* INDIVIDUAL SLIDE */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Center text alignment */
}

/* HERO CONTENT */
.slide-content {
    max-width: 50%;
    color: #fff; /* Ensure text is readable */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* HERO HEADING */
.slide-content h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* HERO PARAGRAPH */
.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* HERO BUTTON */
.slide-content .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.slide-content .btn:hover {
    background-color: #e65c00;
}

/* HERO VIDEO */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh; /* Full height */
    object-fit: cover;
    z-index: -1;
}

/* DARK OVERLAY ON VIDEO */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 1;
}

/* RESPONSIVE FIXES */
@media (max-width: 1024px) {
    .slide-content {
        max-width: 70%;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slide-content .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .slide-content {
        max-width: 90%;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slide-content .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* HERO STYLES */
.full-width-banner .slide {
    width: 100%;
}

.boxed-slider .slide {
    width: 80%;
    margin: 0 auto;
}

.split-screen {
    display: flex;
    flex-wrap: wrap;
}

.split-screen .slide {
    width: 50%;
}

.minimal-header .slide-content {
    background: none;
}

/* BUTTON STYLES */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #00AEEF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
    .split-screen .slide {
        width: 100%;
    }
    .slide {
        height: 400px;
    }
}

.footer-credits {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
}

/* Popular Services Section */
.popular-services {
    display: flex;
    overflow: auto;
    gap: 20px;
}
.service-box {
    flex: 1;
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    transition: transform 0.3s;
}
.service-box:hover {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 20px;
    color: #fff;
    text-align: center;
}

.testimonials-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Testimonials Grid */
.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s;
}

/* Hover Effects */
.testimonial-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
}

/* Star Ratings */
.testimonial-stars {
    color: gold;
    margin-top: 5px;
}

/* Center the "View All Testimonials" Button */
.testimonials-btn {
    display: inline-block;
    margin: 30px auto 0;  /* Centers the button */
    padding: 12px 24px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    text-align: center;
}

.testimonials-btn:hover {
    background: #ddd;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer Section Styles */
.site-footer {
    background-color: #222; /* Dark background */
    color: #fff;
    padding: 40px 0;
    font-size: 16px;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid #555;
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

/* Footer Logo */
.footer-column img {
    max-width: 180px;
}

/* Subscribe Section */
.footer-column input[type="email"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
}

.footer-column button {
    background-color: #f8b400; /* Highlight color */
    color: #222;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.footer-column button:hover {
    background-color: #d99a00;
}

/* Footer Social Media */
.social-footer {
    margin-top: 15px;
}

.social-footer a {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    color: #ccc;
    transition: color 0.3s;
}

.social-footer a:hover {
    color: #f8b400;
}

/* Footer Credits */
.credits {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #bbb;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-widgets {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        width: 100%;
    }

    .social-footer a {
        font-size: 24px;
    }
}
/* SERVICES SECTION STYLES */
.services-section {
    position: relative;
    padding: 60px 20px;
    text-align: center;
}

/* Overlay for background image */
.services-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* Enquiry Box & Services Info Box */
.enquiry-box, .services-info-box {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    text-align: left;
}

/* Hover Effect */
.enquiry-box:hover, .services-info-box:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

/* Form Styling */
.enquiry-box input,
.enquiry-box textarea,
.enquiry-box select {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Button */
.enquiry-box .btn {
    display: block;
    width: 100%;
    background: #007BFF;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.enquiry-box .btn:hover {
    background: #0056b3;
}

/* Services List */
.services-info-box ul {
    list-style: none;
    padding: 0;
}

.services-info-box li {
    font-size: 16px;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.services-info-box li i {
    color: green;
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
}

.testimonials-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
}

.testimonial-wrapper {
    display: flex;
    overflow: hidden;
}

.testimonial-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-box {
    background: white;
    padding: 20px;
    margin: 10px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.testimonial-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.testimonial-content img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.testimonial-text {
    font-style: italic;
    color: #333;
    padding: 10px;
}

.stars {
    color: gold;
    margin: 10px 0;
}

.testimonial-name {
    font-weight: bold;
    color: #222;
    margin-top: 10px;
}

.prev-testimonial, .next-testimonial {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}

.prev-testimonial { left: 0; }
.next-testimonial { right: 0; }

.view-all {
    display: inline-block;
    margin-top: 20px;
    background: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.view-all:hover {
    background: #0056b3;
}
.job-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.job-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.job-text-box {
    flex: 1;
    max-width: 50%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5); /* Transparent background */
    color: white;
    border-radius: 10px;
}

.job-text-box h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.job-text-box p {
    font-size: 16px;
    line-height: 1.5;
}

.job-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.job-btn:hover {
    background: #0056b3;
}

.job-image-box {
    flex: 1;
    max-width: 40%;
    text-align: center;
}

.job-image-box img {
    width: 400px;  /* Fixed width */
    height: 280px; /* Fixed height */
    object-fit: cover;
    border-radius: 15px;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .job-content {
        flex-direction: column;
        text-align: center;
    }

    .job-text-box, .job-image-box {
        max-width: 100%;
    }

    .job-image-box img {
        width: 100%;
        max-width: 400px;
    }
}
.cookie-notice {
    position: fixed;
    bottom: 20px;         /* position near the bottom */
    left: 50%;            /* center horizontally */
    transform: translateX(-50%); /* center exactly horizontally */
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 20px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
    width: 90%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.cookie-notice.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%); /* keep horizontally centered, no vertical move */
}

.cookie-notice p {
    flex: 1;
    font-size: 14px;
    margin: 0;
    padding-right: 15px;
}

.cookie-notice a {
    color: #4caf50;
    text-decoration: underline;
}

#cookie-accept {
    background: #4caf50;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 10px;
    font-size: 14px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

#cookie-accept:hover {
    background: #388e3c;
}

/* Mobile styling */
@media screen and (max-width: 600px) {
    .cookie-notice {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        max-width: 90vw; /* limit width on small devices */
    }

    .cookie-notice p {
        padding-right: 0;
        margin-bottom: 10px;
    }

    #cookie-accept {
        margin-left: 0;
        width: 100%;
    }
}
.careers-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.careers-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.careers-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.careers-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.careers-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.apply-btn {
    display: inline-block;
    background: #ff6600;
    color: white;
    padding: 12px 24px;
    font-size: 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.apply-btn:hover {
    background: #e65c00;
    transform: scale(1.05);
}
.why-work-with-us {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.why-work-with-us h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.why-work-with-us .subheading {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-box h3 {
    color: white;
    padding: 10px;
    margin: -20px -20px 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 1.5rem;
}

.feature-box p {
    color: #333;
    font-size: 1rem;
}
/* Contact Page Banner */
.contact-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.contact-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.contact-banner h1 {
    position: relative;
    font-size: 2.5rem;
}

.contact-info {
    padding: 50px 20px;
    background: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.contact-details h2 {
    font-size: 2rem;
    text-decoration: underline;
}

.contact-details p {
    font-size: 1.1rem;
    margin: 10px 0;
    color: #444;
}

.contact-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 2rem;
    text-decoration: underline;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background: #00AEEF;
    color: white;
    padding: 12px 20px;
    border: none;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #0077aa;
}

.contact-message {
    margin-top: 20px;
    padding: 15px;
    background: #dff0d8;
    color: #3c763d;
    border-radius: 5px;
    display: inline-block;
}

.contact-map {
    margin-top: 30px;
}

/* FAQs Page Banner */
.faqs-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.faqs-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.faqs-banner h1 {
    position: relative;
    font-size: 2.5rem;
}

/* FAQ Section Styling */
.faq-section {
    text-align: center;
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.faq-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* FAQ Container */
.faq-container {
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

/* FAQ Button */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.faq-question:hover {
    color: #007bff;
}

/* FAQ Icon */
.faq-icon {
    font-size: 24px;
    transition: transform 0.3s ease-in-out;
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #f9f9f9;
    padding: 0 15px;
}

/* FAQ Answer Expanded */
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px;
}

/* Rotate icon when open */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Contact Button */
.faq-contact-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #007bff;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.faq-contact-btn:hover {
    background: #0056b3;
}
/* Blog Banner Section */
.blog-banner {
    position: relative;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Blog Container */
.blog-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Blog Item */
.blog-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.blog-item:hover {
    transform: translateY(-5px);
}

/* Blog Image */
.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

/* Blog Content */
.blog-content {
    padding: 20px;
    text-align: center;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.blog-content p {
    font-size: 1rem;
    color: #666;
}

/* Blog Link */
.blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 40px;
}

.blog-pagination a {
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.blog-pagination a:hover {
    background: #0056b3;
}

/* Blog Page Styling */
.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.blog-featured-image:hover img {
    transform: scale(1.05);
}

.blog-title {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 15px;
    text-align: center;
}

.blog-excerpt {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

/* Blog Content */
.blog-content {
    font-size: 1rem;
    line-height: 1.8;
}

.blog-featured-image img, 
.blog-list-featured img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.blog-featured-image:hover img, 
.blog-list-featured:hover img {
    transform: scale(1.05);
}

.blog-title, .blog-list-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

.blog-excerpt, .blog-list-excerpt {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
}

/* Testimonial Banner */
.testimonial-banner {
    text-align: center;
    background-size: cover;
    padding: 80px 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

/* Testimonial Grid */
.testimonials-page-container {
    padding: 50px 5%;
}
.testimonials-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.testimonial-page-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-page-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.testimonial-page-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.testimonial-page-box h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.stars {
    color: gold;
    font-size: 1.2rem;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 20px;
}
.pagination a {
    padding: 8px 12px;
    margin: 5px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.pagination a:hover {
    background: #ff6f00;
}
.testimonial-page-box img {
    width: 80px; /* Adjust the size as needed */
    height: 80px;
    object-fit: cover; /* Ensures the image maintains aspect ratio */
    border-radius: 50%;
    margin-bottom: 10px;
}
/* About Us Section */
.about-us {
    padding: 60px 0;
    background: #f9f9f9;
    text-align: center;
}

.about-us h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.about-us p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
}

/* Features Grid */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    padding: 20px;
}

/* Feature Box */
.feature {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
    position: relative;
}

/* Feature Image */
.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Feature Title */
.feature h3 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: #333;
}

/* Feature Text */
.feature p {
    font-size: 1rem;
    color: #666;
}

/* Hover Effects */
.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

/* Hover Effect - Different Colors */
.feature:nth-child(1):hover {
    background: #ffebeb;
}
.feature:nth-child(2):hover {
    background: #ebf9ff;
}
.feature:nth-child(3):hover {
    background: #ebffe7;
}

/* Responsive */
@media (max-width: 768px) {
    .about-us h2 {
        font-size: 2rem;
    }

    .about-us p {
        font-size: 1rem;
    }

    .feature h3 {
        font-size: 1.3rem;
    }

    .feature p {
        font-size: 0.9rem;
    }
}
/* About Us Page */
.about-us-page {
    text-align: center;
    padding: 50px 0;
}

.about-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: underline;
    color: #333;
}

.about-text {
    font-size: 1.2rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* Vision Section */
.vision-section {
    padding: 60px 0;
    color: white;
}

.vision-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.vision-text {
    max-width: 600px;
    text-align: left;
}

.mission-list {
    list-style: none;
    padding: 0;
}

.mission-list li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.mission-list li i {
    color: green;
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Ensure equal height for vision text and image */
.vision-section .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch; /* Stretch both columns to equal height */
}

.vision-text {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center text */
}

.vision-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-image img {
    max-width: 100%;
    height: auto;
    max-height: 100%; /* Ensure it doesn't exceed parent height */
    object-fit: cover; /* Ensure it fills the space without distortion */
    border-radius: 10px;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .vision-section .container {
        flex-direction: column;
    }

    .vision-text, .vision-image {
        width: 100%;
    }

    .vision-image img {
        width: 100%;
        height: auto;
    }
}
/* Why Choose FSS Section */
.why-choose-fss {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.why-choose-fss h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 20px;
}

.why-choose-fss .intro-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #333;
}

/* Feature Boxes */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, background 0.3s, box-shadow 0.3s;
    max-width: 300px; /* Prevents too-wide boxes */
    margin: auto; /* Centers them properly */
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Feature Icon */
.feature-icon {
    width: 60px; /* Keep size */
    height: 60px;
    background-color: transparent !important; /* Remove background */
    border-radius: 50%; /* Keep circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important; /* Remove shadow */
}

/* Feature Icons - Keep Icon Color */
.feature-icon i {
    color: #007bff; /* You can change this color to match your theme */
    font-size: 24px; /* Adjust size as needed */
}
/* Feature Box Headings - Ensure Black Color */
.feature-box h3 {
    color: #000 !important; /* Force black color */
}

/* Prevent Hover Effect from Changing Heading Color */
.feature-box:hover h3 {
    color: #000 !important; /* Stays black */
}
/* Hover Effects with Different Colors */
.feature-box:nth-child(1):hover {
    background: #FFC107;
}
.feature-box:nth-child(2):hover {
    background: #28A745;
}
.feature-box:nth-child(3):hover {
    background: #17A2B8;
}
.feature-box:nth-child(4):hover {
    background: #FF5733;
}
.feature-box:nth-child(5):hover {
    background: #6F42C1;
}

/* Ensures text remains readable when background color changes */
.feature-box:hover h3,
.feature-box:hover p {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-fss {
        padding: 40px 15px; /* Adjusted padding for smaller screens */
    }
}

/* Services Section */
.services {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
}

.services h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 20px;
}

.services .intro-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #333;
}

/* Service Grid - 3 Rows, Auto Columns */
.services-grid {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Service Boxes */
.service-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, background 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
    background: #f0f0f0;
}

/* Circular Service Images */
.service-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    transition: all 0.3s ease-in-out;
}
/* ======== Fix Services Page Images (Make Them Round) ======== */
.service-image img {
    width: 150px; /* Set a fixed width */
    height: 150px; /* Set a fixed height */
    border-radius: 50%; /* Make the image perfectly round */
    object-fit: cover; /* Ensure the image fills the space properly */
    display: block;
    margin: 0 auto; /* Center the image */
}
/* Hover Effects */
.service-box:hover .service-image img {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
/* Service Title (Bold) */
.service-box h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Service Description (Smaller, Not Bold) */
.service-box p {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
    margin-bottom: 15px;
}

/* Read More Button */
.service-box .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #00AEEF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.service-box .btn:hover {
    background: #007bb5;
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
.get-quote {
    padding: 50px 20px;
    background: #f9f9f9;
    text-align: center;
}

.quote-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: underline;
}

.quote-description {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #666;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    resize: none;
}

.btn.quote-btn {
    background: #00AEEF;
    color: white;
    padding: 12px 20px;
    border: none;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.btn.quote-btn:hover {
    background: #0077aa;
}

.quote-message {
    margin-top: 20px;
    padding: 15px;
    background: #dff0d8;
    color: #3c763d;
    border-radius: 5px;
    display: inline-block;
}
.jobs-list .job-item {
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.jobs-list .job-item h3 {
    margin-bottom: 10px;
}

.jobs-list .btn {
    display: inline-block;
    padding: 10px 15px;
    background: #0073e6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.jobs-list .btn:hover {
    background: #005bb5;
}
/* ===========================
   Portfolio Page Styling
   =========================== */

.portfolio-section {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.page-content h2.underline {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-decoration: underline;
    color: #222;
}

.page-content .intro-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #333;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns per row */
    gap: 30px;
}

/* Portfolio Item */
.portfolio-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #111;
}

/* Before/After Row Layout */
.portfolio-images {
    display: flex;
    gap: 20px;
    justify-content: center; /* center the row */
    flex-wrap: nowrap;       /* keep before and after side by side */
}

/* Columns */
.portfolio-before,
.portfolio-after {
    flex: 1 1 50%;
    display: flex;
    gap: 10px;          /* spacing between thumbnails */
    flex-wrap: wrap;     /* allow multiple thumbnails to wrap within the column */
    justify-content: center;
    position: relative;
}

/* Each Thumbnail */
.portfolio-before a,
.portfolio-after a {
    display: inline-block;
    width: calc(45% - 10px); /* bigger thumbnails than before */
    margin-bottom: 10px;
}

/* Portfolio Before/After Thumbnails */
.portfolio-before,
.portfolio-after {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column; /* Stack image and label vertically */
    align-items: center;    /* Center align both thumbnail and label */
    gap: 10px;              /* Space between image and label */
}

/* Thumbnails */
.portfolio-before img,
.portfolio-after img {
    width: 100%;            /* Full width of column */
    max-height: 250px;      /* Adjust thumbnail size */
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

/* Hover effect for thumbnails */
.portfolio-before a:hover img,
.portfolio-after a:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Labels (Before / After) below thumbnails */
.portfolio-before .label,
.portfolio-after .label {
    display: block;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }

    .portfolio-images {
        flex-direction: column;
    }

    .portfolio-before,
    .portfolio-after {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}
