/* General Body & Reset */
body {
    font-family: 'Poppins', sans-serif; /* Using Poppins for body text */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Light background for the whole page */
    text-rendering: optimizeLegibility; /* Enhances text rendering */
    -webkit-font-smoothing: antialiased; /* Smoother fonts on macOS/iOS */
    -moz-osx-font-smoothing: grayscale; /* Smoother fonts on Firefox macOS */
}

*, *::before, *::after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease; /* Added transition for smoother hover */
}

a:hover {
    color: #0056b3;
    text-decoration: underline; /* Added subtle underline on hover for better UX */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Using Montserrat for headings */
    margin-top: 0;
    margin-bottom: 0.7em; /* Slightly increased bottom margin for better spacing */
    font-weight: 700; /* Bolder headings for stronger hierarchy */
    color: #212529; /* Slightly darker heading color for contrast */
}

/* p {
    margin-bottom: 1.2em;
} */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px; /* Slightly increased horizontal padding */
}

/* Buttons */
.btn {
    display: inline-flex; /* Use flexbox for centering content if needed */
    align-items: center;
    justify-content: center;
    padding: 14px 28px; /* Slightly larger padding for better touch targets */
    border-radius: 8px; /* More rounded corners */
    font-weight: 600; /* Bolder font weight */
    text-align: center;
    transition: all 0.3s ease; /* Transition all properties for smoother effects */
    border: none;
    cursor: pointer;
    font-size: 1.05em; /* Slightly larger font size for readability */
}

.btn-primary {
    background-color: #007bff;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2); /* Added subtle shadow */
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px); /* Slightly more pronounced lift */
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3); /* Enhanced shadow on hover */
    color: #fff; /* Ensures text remains white on hover */
}

.btn-secondary {
    background-color: transparent; /* Changed: Transparent background */
    color: #007bff; /* Changed: Blue text color */
    border: 2px solid #007bff; /* Changed: Blue border */
    box-shadow: none; /* Changed: No default shadow, let hover provide it */
}

.btn-secondary:hover {
    background-color: #007bff; /* Changed: Blue background on hover */
    color: white; /* Changed: White text on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3); /* Added: Consistent primary button shadow on hover */
}


/* Header & Navigation */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1); /* Slightly stronger shadow */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Adjusted padding to accommodate logo height */
    max-width: 1300px;
    margin: 0 auto;
}

.navbar .logo a {
    /* Remove font styles as it's now an image, not text */
    text-decoration: none;
    /* Optional: Add a small padding if you want more space around the logo link */
    padding: 3px 0;
    display: block; /* Ensures the link takes up the full space of the logo */
}

.navbar .logo img {
   /*  height: 80px; */ /* Adjust this value to control your logo's height */
    width: auto; /* Maintains the aspect ratio of your logo */
    display: block; /* Helps with layout consistency */
    max-width: 50%; /* Ensures responsiveness */
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 35px; /* Increased spacing between nav items */
}

.nav-links a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease; /* Added border-bottom transition */
    padding-bottom: 3px; /* Space for the underline effect */
}

.nav-links a:hover {
    color: #007bff;
    border-bottom: 2px solid #007bff; /* Underline effect on hover */
}

/* For current page highlighting */
.nav-links li.current-page a {
    color: #007bff;
    font-weight: 700; /* Bolder for current page */
    border-bottom: 2px solid #007bff; /* Consistent underline for current page */
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px; /* Adjusted height for better bar spacing */
    cursor: pointer;
    z-index: 1001; /* Ensure toggle is above overlay */
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* --- Hero Section - General (e.g., Home Page) --- */
.hero-section {
    /*background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../images/hero-bg.jpg') no-repeat center center/cover;  Placeholder background image for general hero */
    color: white;
    text-align: center;
    padding: 140px 20px; /* Increased vertical padding */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65vh; /* Slightly increased minimum height */
}

.hero-content {
    max-width: 1000px;
}

.hero-content h1 {
    font-size: 4em; /* Larger heading for greater impact */
    margin-bottom: 28px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4); /* Added text shadow for depth */
}

.hero-content p {
    font-size: 1.4em; /* Slightly larger paragraph text */
    margin-bottom: 45px;
    max-width: 750px; /* Wider paragraph for better readability */
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95; /* Slight transparency for visual balance */
}

/* Home Page Search Bar (Enhanced) */
.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Increased gap for better spacing */
    align-items: center;
    justify-content: center;
    width: 62%; /* Slightly wider on larger screens */
    max-width: 1000px; /* Increased max-width */
    margin: 40px auto 0; /* More margin top */
    background-color: rgba(255, 255, 255, 0.98); /* Less transparent white background */
    padding: 25px; /* Increased padding */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25); /* Stronger, more diffused shadow */
}

.search-bar input[type="text"],
.search-bar select {
    flex: 2;
    min-width: 280px; /* Increased min-width */
    padding: 16px 22px; /* Larger padding */
    border: 1px solid #c9c9c9; /* Slightly darker border for definition */
    border-radius: 10px; /* More rounded input fields */
    font-size: 1.15em; /* Slightly larger font */
    color: #333;
    background-color: #ffffff; /* Solid white background for inputs */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13%205.7L146.2%20268.9%2018.8%2075.1c-5.4-5.4-14.2-5.4-19.6%200-5.4%205.4-5.4%2014.2%200%2019.6l130.5%20130.5c2.7%202.7%206.2%204%209.8%204s7.1-1.3%209.8-4L287%209.4a17.6%2017.6%200%200%200%200-19.6z%22%2F%3E%3C%2Fsvg%3E');
     */background-repeat: no-repeat;
    background-position: right 18px center; /* Adjusted position */
    background-size: 14px auto; /* Slightly larger arrow */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar input[type="text"]:focus,
.search-bar select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Focus ring effect */
}

.search-bar input::placeholder {
    color: #888; /* Slightly darker placeholder */
}

.search-bar button {
    flex: 0 0 auto;
    padding: 16px 35px; /* Larger button padding */
    font-size: 1.15em;
    width: auto;
}

.hero-buttons .btn {
    margin: 0 12px; /* Slightly more space between buttons */
}

/* --- Services Page Specific Styles --- */

/* Hero Section - Services Page */
.hero-section.minimal-hero.services-hero {
    /* Specific background for services page hero */
    /* background: linear-gradient(rgba(0, 123, 255, 0.7), rgba(0, 123, 255, 0.7)), url('../images/student-laundry-cleaning-hero.jpg') no-repeat center center/cover; */
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section.minimal-hero.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay for better text contrast */
    z-index: 1;
}

/* Note: .hero-content and .hero-subtitle classes are shared with the general hero section
    but their styles are defined higher up in the general hero rules.
    Specific font sizes for h1 within .hero-content might be overridden by
    more specific rules like `.hero-content h1` below. */

/* Specific H1 for services hero to ensure it's large and white */
.hero-section.minimal-hero.services-hero .hero-content h1 {
    font-size: 3.8em; /* Larger for impact, specific to this hero */
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Scroll Down Button (Specific to Services Hero) */
.scroll-down-btn {
    background-color: #ffffff;
    color: #007bff;
    border: 2px solid #ffffff;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.scroll-down-btn:hover {
    background-color: #e2e6ea;
    color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Services Intro Section */
.services-intro-section {
    padding: 80px 0;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.services-intro-section .section-title {
    margin-bottom: 30px;
    color: #007bff; /* Brand color for main titles */
}

.intro-text {
    font-size: 1.2em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

.intro-text.highlight-text {
    font-weight: 500;
    color: #333;
    background-color: #eaf6ff;
    padding: 15px 25px;
    border-radius: 8px;
}

/* Services Grid Section */
.services-grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Softer, larger shadow */
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure cards are same height */
    opacity: 0; /* For reveal animation */
    transform: translateY(20px); /* For reveal animation */
}

.service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Add a slight delay for the second card if desired */
.services-grid-section .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:hover {
    transform: translateY(-8px); /* Lift effect */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); /* More pronounced shadow on hover */
}

.service-icon {
    font-size: 1.5em;
    color: #007bff;
}

.service-card-title {
    font-size: 2em;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.service-card p {
    font-size: 1.05em;
    color: #666;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 25px;
    text-align: left; /* Align features to left */
    flex-grow: 1; /* Pushes button to bottom */
}

.service-features li {
    margin-bottom: 10px;
    font-size: 1.0em;
    color: #444;
    display: flex;
    align-items: flex-start;
}

.service-features li i {
    color: #28a745; /* Green checkmark */
    margin-right: 10px;
    font-size: 1.1em;
    padding-top: 3px; /* Align icon better with text */
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom of the card */
    /* Inherits .btn-primary styling if applied */
}


/* Call to Action Section (Specific to Services Page, using updated .cta-btn styling) */
.call-to-action-section {
    background-color: #eaf6ff; /* Light blue background */
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid #cfe2f3;
}

.call-to-action-section .section-title {
    color: #007bff;
    margin-bottom: 25px;
}

.cta-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
    font-weight: 400;
}

.cta-btn {
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 50px; /* Pill shape */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* This button uses .btn-secondary styling from your general button rules by being used with it in HTML */
}

.section-description {
    font-size: 1.3em;
    margin-bottom: 50px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    text-align: center;
}

/* --- Adjustments for "Why Choose Us" Section (now .about-us-section) --- */

.about-us-section {
    padding-top: 100px;
    padding-bottom: 80px;
    text-align: center;
    background-color: #f8f9fa;
}

.about-us-section .section-title {
    font-size: 3.2em;
    font-weight: 700;
    color: #212529;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-us-section .section-description-extended {
    font-size: 1.4em;
    line-height: 1.7;
    max-width: 950px;
    margin: 0 auto 70px auto;
    color: #555;
    opacity: 0.95;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    justify-content: center;
}

.about-us-section .feature-item {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-us-section .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.about-us-section .feature-item i.icon {
    font-size: 4em;
    color: #007bff;
    margin-bottom: 25px;
}

.about-us-section .feature-item h3 {
    font-size: 1.8em;
    margin-bottom: 18px;
    color: #333;
}

.about-us-section .feature-item p {
    font-size: 1.05em;
    color: #666;
}

/* --- Adjustments for "How It Works" Section --- */
.how-it-works-section {
    padding: 100px 0;
    background-color: #f0f4f8;
    text-align: center;
}

.how-it-works-section .section-title {
    font-size: 3em;
    color: #212529;
    margin-bottom: 25px;
}

.how-it-works-section .section-description-extended {
    font-size: 1.35em;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 70px auto;
    color: #555;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.how-it-works-section .step-item {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border-bottom: 5px solid #007bff;
}

.how-it-works-section .step-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.how-it-works-section .step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: white;
    font-size: 1.8em;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    border: 3px solid #ffffff;
    z-index: 2;
}

.how-it-works-section .step-icon-box {
    background-color: #e6f2ff;
    border-radius: 50%;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.how-it-works-section .step-item i.icon {
    font-size: 3.5em;
    color: #007bff;
}

.how-it-works-section .step-item h3 {
    font-size: 1.9em;
    color: #333;
    margin-bottom: 15px;
}

.how-it-works-section .step-item p {
    font-size: 1.08em;
    color: #666;
    line-height: 1.6;
}

.how-it-works-cta {
    margin-top: 80px;
}

.current-openings-section {
    padding: 50px 0;
    background-color: #e9ecef;
}

.values-section {
    padding: 50px 0;
    text-align: right;
    background-color: #f8f9fa;
}

/* City Showcase Section (Refined) */
.city-showcase {
    padding: 50px 0;
    text-align: center;
    background-color: #e9ecef;
}

.city-showcase h2 {
    font-size: 2.8em;
    color: #212529;
    margin-bottom: 70px;
}

.city-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.city-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 340px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.city-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.city-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.city-card h3 {
    margin: 25px 0;
    color: #333;
    font-size: 1.7em;
    padding: 0 20px;
}

/* Call to Action Section (General) */
.cta-section {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.cta-section h2 {
    font-size: 3.2em;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.cta-section p {
    font-size: 1.3em;
    margin-bottom: 50px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.benefit-item h3 {
    margin: .5em 0;
}

.large-text {
    margin-bottom: 1em;
}

.about-us-careers-section {
    padding: 50px 0;
}

/* Page Content - General for listings.html and other standard pages */
/* .page-content {
    padding-top: 30px;
    padding-bottom: 60px;
} */

/* Specific styles for the login page header section */
.page-header-section {
    background: linear-gradient(to right, #0069d9, #004085); /* Keep the blue gradient background */
    color: #fff; /* This sets the default text color for elements inside this section to white */
    padding: 70px 0;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-header-section h1 {
    color: #fff; /* Explicitly set H1 color to white */
    font-size: 3.5em;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.page-header-section p {
    color: #fff; /* Explicitly set P color to white */
    font-size: 1.3em;
    opacity: 0.95;
}


/* --- Listings Page Specific Styles (Enhanced Filters) --- */
.filter-bar-wrapper {
    background-color: #fff;
    padding: 30px 0;
    margin-bottom: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.filter-group-item {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.filter-bar input[type="text"],
.filter-bar input[type="number"]{
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background-color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 18px center;
    background-size: 14px auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-bar select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #bbb;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background-color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13%205.7L146.2%20268.9%2018.8%2075.1c-5.4-5.4-14.2-5.4-19.6%200-5.4%205.4-5.4%2014.2%200%2019.6l130.5%20130.5c2.7%202.7%206.2%204%209.8%204s7.1-1.3%209.8-4L287%209.4a17.6%2017.6%200%200%200%200-19.6z%22%2F%3E%3C%2Fsvg%3E');
     */background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-bar input[type="text"]:focus,
.filter-bar input[type="number"]:focus,
.filter-bar select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.filter-bar input::placeholder {
    color: #888;
}

.price-range-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-range-group input {
    flex: 1;
}

.price-separator {
    color: #555;
    font-size: 1.3em;
    font-weight: 600;
}

.filter-buttons {
    display: flex;
    gap: 15px;
}

.filter-bar .btn {
    padding: 14px 28px;
    font-size: 17px;
    min-width: 130px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Loading and No Results Messages for Listings */
.loading-message,
.no-results-message {
    text-align: center;
    font-size: 1.3em;
    color: #666;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

/* Featured Listings / Listings Grid (Updated for dynamic content) */
.featured-listings-section {
    padding: 50px 0;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    justify-content: center;
}

.listings-column {
    display: flex;
    flex-direction: column;
    gap: 35px;
    justify-content: center;
}

.listing-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.listings-column .listing-card {
    flex-direction: row;
}

.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.listing-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #eee;
}

.listings-column .listing-card img {
    width: 40%;
    height: auto;
}

.listing-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.listing-title {
    font-size: 1.6em;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.3;
}

.listings-column .listing-card .listing-title {
    margin-top: 0;
}

.listing-location {
    font-size: 1.05em;
    color: #555;
    margin-bottom: 12px;
}

.listing-location i {
    margin-right: 8px;
    color: #007bff;
}

.listing-price {
    font-size: 1.6em;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 18px;
}

.listing-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-bottom: 18px;
}

.listing-features li {
    font-size: 0.95em;
    color: #666;
    background-color: #eef1f4;
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.listing-features li i {
    margin-right: 8px;
    color: #007bff;
}

.listing-card .btn {
    width: 100%;
    margin-top: 20px;
}

/* Footer */
.main-footer {
    background-color: #212529; /* Darker footer background */
    color: white;
    padding: 40px 20px; /* Increased padding */
    text-align: center;
    font-size: 0.95em;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Increased gap */
}

.main-footer .footer-links a {
    color: #c9d0d6; /* Slightly lighter link color */
    margin: 0 18px; /* More spacing */
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer .footer-links a:hover {
    color: #ffffff;
    text-decoration: underline; /* Added underline on hover */
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    /* General Hero Title Adjustment */
    .hero-content h1 {
        font-size: 3.5em;
    }
    .hero-subtitle {
        font-size: 1.2em;
    }
    .nav-links {
        margin-left: 0;
    }
    .city-cards-container {
        gap: 25px;
    }
    .city-card {
        width: 48%;
    }

    /* Responsive for Listings Filter Bar */
    .filter-bar {
        justify-content: space-around;
        gap: 15px;
    }

    .filter-group-item {
        flex: 1 1 48%;
        min-width: unset;
    }

    .filter-buttons {
        flex-basis: 100%;
        justify-content: center;
    }

    /* Responsive for Home Page Search Bar */
    .search-bar {
        width: 90%;
    }

    /* Services Page specific adjustments */
    .hero-section.minimal-hero.services-hero .hero-content h1 {
        font-size: 3em; /* Adjusted for services hero too */
    }
    .service-card {
        padding: 30px;
    }
    .service-card-title {
        font-size: 1.6em;
    }
    .services-grid-section {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #ffffff;
        box-shadow: 0 3px 8px rgba(0,0,0,0.1);
        position: absolute;
        top: 65px;
        left: 0;
        padding: 15px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 12px 0;
    }

    .nav-links a {
        padding: 12px 0;
        color: #333;
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    /* General hero adjustment */
    .hero-content h1 {
        font-size: 2.8em;
    }
    .hero-content p {
        font-size: 1.2em;
    }

    .btn {
        padding: 12px 22px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 20px;
    }

    /* Responsive adjustments for the section-title and section-description-extended */
    .about-us-section .section-title {
        font-size: 2.7em;
    }
    .about-us-section .section-description-extended {
        font-size: 1.2em;
        margin-bottom: 50px;
    }
    .about-us-section .feature-item i.icon {
        font-size: 3.5em;
    }
    .about-features-grid {
        gap: 40px;
    }

    /* Responsive adjustments for "How It Works" */
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .how-it-works-section .step-item {
        min-width: 90%;
        max-width: 400px;
        padding: 35px 25px;
    }
    .how-it-works-section .step-icon-box {
        width: 80px;
        height: 80px;
        padding: 20px;
    }
    .how-it-works-section .step-item i.icon {
        font-size: 3em;
    }
    .how-it-works-section .step-number {
        font-size: 1.6em;
        width: 45px;
        height: 45px;
        top: -18px;
    }
    .how-it-works-cta {
        margin-top: 60px;
    }

    .city-cards-container {
        flex-direction: column;
        align-items: center;
    }
    .city-card {
        width: 90%;
        max-width: 380px;
    }

    /* Responsive for Listings Page */
    .page-header-section h1 {
        font-size: 2.8em;
    }

    .page-header-section p {
        font-size: 1.1em;
    }

    .listings-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group-item {
        width: 100%;
        min-width: unset;
    }

    .filter-buttons {
        width: 100%; /* Make filter buttons full width */
        flex-wrap: wrap; /* Allow buttons to wrap */
        justify-content: center; /* Center buttons when wrapped */
    }
    .filter-buttons .btn {
        flex-grow: 1; /* Allow buttons to grow and fill space */
        min-width: 120px; /* Ensure minimum width */
    }


    /* Responsive for Home Page Search Bar */
    .search-bar {
        width: 95%;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .search-bar input[type="text"],
    .search-bar select,
    .search-bar button {
        width: 100%;
        margin-bottom: 15px;
    }

    .search-bar button {
        margin-bottom: 0;
    }

    /* Services Page specific adjustments */
    .hero-section.minimal-hero.services-hero .hero-content h1 {
        font-size: 2.5em; /* Further adjusted for services hero */
    }
    .services-intro-section .section-title {
        font-size: 2.2em;
    }
    .intro-text {
        font-size: 1.1em;
    }
    .service-card {
        padding: 25px;
    }
    .service-icon {
        font-size: 3.5em;
    }
    .cta-text {
        font-size: 1.1em;
    }
    .cta-btn {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    /* General hero adjustment */
    .hero-content h1 {
        font-size: 2.2em;
    }
    .hero-section {
        padding: 90px 15px;
    }
    .navbar {
        padding: 12px 15px;
    }
    .navbar .logo a {
        font-size: 1.7em;
    }

    /* Responsive for Listings Page */
    .filter-bar input[type="text"],
    .filter-bar input[type="number"],
    .filter-bar select,
    .filter-bar .btn {
        font-size: 15px;
        padding: 12px;
    }

    .listing-card img {
        height: 200px;
    }

    /* Responsive adjustments for the section-title and section-description-extended */
    .about-us-section .section-title {
        font-size: 2.2em;
    }
    .about-us-section .section-description-extended {
        font-size: 1.05em;
        margin-bottom: 40px;
    }
    .about-us-section .feature-item i.icon {
        font-size: 3em;
    }
    .about-us-section {
        padding-top: 80px;
        padding-bottom: 60px;
    }

    /* Responsive adjustments for "How It Works" */
    .how-it-works-section .section-title {
        font-size: 2em;
    }
    .how-it-works-section .section-description-extended {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .how-it-works-section .step-item {
        min-width: unset;
        width: 100%;
    }
    .how-it-works-section .step-icon-box {
        width: 70px;
        height: 70px;
        padding: 18px;
    }
    .how-it-works-section .step-item i.icon {
        font-size: 2.5em;
    }
    .how-it-works-section .step-number {
        font-size: 1.4em;
        width: 40px;
        height: 40px;
        top: -16px;
    }
    .how-it-works-cta {
        margin-top: 50px;
    }

    /* Responsive for Home Page Search Bar */
    .search-bar input[type="text"],
    .search-bar select,
    .search-bar button {
        padding: 14px 18px;
        font-size: 1.05em;
    }

    .container {
        padding: 0 15px;
    }

    /* Services Page specific adjustments */
    .hero-section.minimal-hero.services-hero .hero-content h1 {
        font-size: 2em; /* Smallest adjustment for services hero */
    }
    .services-intro-section .section-title {
        font-size: 1.8em;
    }
    .intro-text {
        font-size: 1em;
    }
    .service-card-title {
        font-size: 1.4em;
    }
    .service-card p {
        font-size: 0.95em;
    }
    .service-features li {
        font-size: 0.9em;
    }
    .service-btn, .cta-btn {
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }
    .services-grid-section {
        padding: 40px 0;
    }
}
/* --- CONTACT PAGE SPECIFIC STYLES --- */

/* Hero Section for Contact Page */
.hero-contact {
    /* Background: Image with a dark overlay for text readability */
    /* background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/contact-hero-bg.jpg') no-repeat center center/cover; */
    background-attachment: fixed; /* Creates a subtle parallax scrolling effect */
    color: #fff; /* White text for contrast against dark background */
    padding: 100px 20px; /* Ample vertical padding */
    text-align: center;
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content */
    min-height: 450px; /* Minimum height for the hero section */
    position: relative; /* Needed for z-index with pseudo-elements */
    overflow: hidden; /* Ensures background doesn't overflow */
}

/* Additional overlay for better text contrast over background image */
.hero-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* Slightly darker overlay */
    z-index: 1; /* Puts this overlay between background and text */
}

/* Ensure hero content (text) is above overlays */
.hero-contact .container {
    position: relative;
    z-index: 2;
}

/* Hero Heading */
.hero-contact h1 {
    font-size: 3.8em; /* Large and impactful heading */
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Text shadow for depth */
    font-weight: 700;
}

/* Hero Paragraph */
.hero-contact p {
    font-size: 1.35em; /* Readable sub-text */
    max-width: 800px; /* Constrain width for readability */
    margin: 0 auto 30px auto; /* Center paragraph, add bottom margin */
    opacity: 0.95; /* Slight transparency */
    line-height: 1.6;
}

/* Contact Methods Section (below hero) */
.contact-methods-section {
    padding: 80px 0;
    background-color: #f7f9fc; /* Light background to visually separate from other sections */
}

.contact-methods-section .section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 60px; /* More space before the grid */
    color: #212529;
}

/* Grid for Contact Items */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    gap: 35px; /* Spacing between contact cards */
}

/* Individual Contact Item Card */
.contact-item {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft, larger shadow */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content within the card */
    border-bottom: 5px solid #007bff; /* Accent border at the bottom */
}

.contact-item:hover {
    transform: translateY(-8px); /* Lifts the card slightly on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); /* More pronounced shadow on hover */
}

/* Circle around Contact Icons */
.contact-icon-circle {
    width: 90px; /* Larger icon circle */
    height: 90px;
    background-color: #007bff; /* Primary brand color */
    border-radius: 50%; /* Makes it a circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px; /* Space below the icon */
    flex-shrink: 0; /* Prevents shrinking on smaller screens */
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3); /* Shadow for the circle */
}

/* Actual Contact Icon (inside the circle) */
.contact-icon-circle .icon {
    color: #fff; /* White icon */
    font-size: 3em; /* Larger icon size */
}

/* Heading within Contact Item */
.contact-item h3 {
    color: #333;
    font-size: 1.8em; /* Larger heading */
    margin-bottom: 15px;
    font-weight: 600;
}

/* Paragraph text within Contact Item */
.contact-item p {
    color: #555;
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Links within Contact Item */
.contact-item a {
    color: #007bff; /* Brand color for links */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline;
}

/* Larger contact details (e.g., phone number) */
.contact-detail-large {
    font-size: 1.2em;
    font-weight: 700;
    color: #222;
    margin-top: 10px;
}

/* Smaller text (e.g., operating hours) */
.small-text {
    font-size: 0.9em;
    color: #777;
    margin-top: 5px;
}

/* Contact Form Section */
.form-section {
    background-color: #ffffff; /* White background for the form section */
    padding: 80px 0;
}

/* Main Form Card/Container */
.form-card {
    background-color: #ffffff;
    padding: 50px; /* Increased padding inside the card */
    border-radius: 18px; /* More rounded corners */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1); /* Prominent, soft shadow */
    max-width: 900px; /* Max width for the form container */
    margin: 0 auto; /* Center the form card */
    border: 1px solid #e0e0e0; /* Subtle border */
}

/* Form Card Title */
.form-card-title {
    color: #212529;
    font-size: 2.5em; /* Larger title */
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

/* Form Card Description */
.form-card-description {
    color: #555;
    font-size: 1.15em;
    margin-bottom: 40px; /* More space below description */
    text-align: center;
    line-height: 1.6;
}

/* Individual Form Group (label + input) */
.form-group {
    margin-bottom: 25px; /* Increased space between form groups */
}

.form-group label {
    display: block; /* Makes label take full width */
    margin-bottom: 10px; /* Space below label */
    color: #333;
    font-weight: 600;
    font-size: 1.05em;
}

/* Styling for text inputs, email inputs, and textarea */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%; /* Full width within its container */
    padding: 16px; /* Larger padding for a better feel */
    border: 1px solid #ccc; /* Softer border color */
    border-radius: 10px; /* More rounded input fields */
    font-size: 1.05em;
    color: #333;
    background-color: #fcfcfc; /* Slightly off-white background */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for focus */
}

/* Placeholder text color */
.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Focus state for inputs and textarea */
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #007bff; /* Primary color border on focus */
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2); /* Subtle, wider focus ring */
    outline: none; /* Remove default outline */
    background-color: #fff; /* Solid white background on focus */
}

/* Textarea specific styling */
.form-group textarea {
    resize: vertical; /* Allow only vertical resizing */
    min-height: 150px; /* Increased minimum height */
}

/* Submit Message Button */
.form-card .btn-primary {
    display: block; /* Makes the button take full width */
    width: 100%;
    padding: 18px 25px; /* Larger button padding */
    font-size: 1.25em; /* Larger text on the button */
    border-radius: 10px; /* Consistent rounded corners */
    margin-top: 30px; /* Space above the button */
    cursor: pointer;
    background-color: #007bff; /* Primary brand color */
    color: #fff;
    border: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25); /* Stronger shadow */
}

/* Submit Message Button */
.filter-bar .btn-primary {
    background-color: #007bff; /* Primary brand color */
}

.form-card .btn-primary:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-4px); /* More pronounced lift on hover */
    box-shadow: 0 12px 28px rgba(0, 123, 255, 0.35); /* Enhanced shadow on hover */
}

/* FAQ and Social Media Section */
.faq-social-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #eaf6ff; /* Light blue background for visual separation */
    border-top: 1px solid #cfe2f3; /* Subtle border at the top */
}

.faq-social-section .section-title {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 60px;
    color: #212529;
}

/* Flexbox container for FAQ and Social Media columns */
.flex-row-responsive {
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    justify-content: space-around; /* Distributes space around items */
    gap: 50px; /* Spacing between the FAQ and Social Media columns */
}

/* Individual column items (FAQ or Social Media) */
.flex-item-50 {
    flex: 1; /* Allows items to grow and shrink */
    min-width: 320px; /* Minimum width before wrapping */
    max-width: 500px; /* Max width for individual columns */
    background-color: #fff; /* White background for these cards */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.07); /* Soft shadow */
    transition: box-shadow 0.3s ease;
}

.flex-item-50:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.1); /* Enhanced shadow on hover */
}

/* Headings within FAQ/Social sections */
.faq-social-section h2 {
    color: #333;
    font-size: 2em; /* Slightly larger heading for subsections */
    margin-bottom: 25px;
    font-weight: 600;
}

/* Paragraphs within FAQ/Social sections */
.faq-social-section p {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.05em;
}

/* FAQ List styling */
.faq-social-section ul {
    list-style: none; /* Remove default bullet points */
    padding: 0;
}

.faq-social-section ul li {
    margin-bottom: 15px; /* Space between list items */
    font-size: 1.1em;
}

.faq-social-section ul li a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
    display: flex; /* Use flexbox to align icon and text */
    align-items: center;
    font-weight: 500;
}

/* Pseudo-element for Font Awesome arrow icon */
.faq-social-section ul li a:before {
    content: "\f054"; /* Unicode for Font Awesome right arrow icon */
    font-family: "Font Awesome 5 Free"; /* Ensure Font Awesome is loaded */
    font-weight: 900; /* For the solid version of the icon */
    margin-right: 12px; /* Space between icon and text */
    color: #007bff;
    font-size: 0.9em; /* Slightly larger icon */
}

.faq-social-section ul li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Social Media Icons Container */
.social-media-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to the left */
}

.social-icons {
    display: flex;
    gap: 25px; /* Space between social icons */
    margin-top: 20px;
    flex-wrap: wrap; /* Allow icons to wrap if space is limited */
}

/* Individual Social Icon (circle) */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Significantly larger icon size */
    height: 60px; /* Significantly larger icon size */
    background-color: #6c757d; /* Default gray background */
    color: #fff;
    border-radius: 50%; /* Makes it a circle */
    font-size: 2.2em; /* Larger icon within the circle */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none; /* Remove underline */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Subtle shadow for icons */
}

.social-icon:hover {
    transform: translateY(-5px); /* More pronounced lift on hover */
    box-shadow: 0 8px 18px rgba(0,0,0,0.3); /* Enhanced shadow on hover */
}

/* Specific social media hover colors for branding */
.social-icon .fa-facebook-f:hover { background-color: #3b5998; }
.social-icon .fa-twitter:hover { background-color: #00acee; }
.social-icon .fa-instagram:hover { background-image: linear-gradient(to right top, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); } /* Instagram gradient */
.social-icon .fa-linkedin-in:hover { background-color: #0077b5; }


/* --- RESPONSIVE ADJUSTMENTS FOR CONTACT PAGE --- */

@media (max-width: 992px) {
    .hero-contact {
        padding: 80px 15px;
        min-height: 380px;
    }
    .hero-contact h1 {
        font-size: 3em;
    }
    .hero-contact p {
        font-size: 1.1em;
    }
    .contact-methods-section .section-title,
    .faq-social-section .section-title {
        font-size: 2.2em;
        margin-bottom: 40px;
    }
    .contact-item {
        padding: 30px;
    }
    .contact-icon-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    .contact-icon-circle .icon {
        font-size: 2.5em;
    }
    .contact-item h3 {
        font-size: 1.6em;
    }
    .form-card {
        padding: 40px;
    }
    .form-card-title {
        font-size: 2em;
    }
    .form-card-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .form-group label {
        font-size: 1em;
    }
    .form-group input, .form-group textarea {
        padding: 14px;
    }
    .form-card .btn-primary {
        padding: 16px 20px;
        font-size: 1.1em;
    }
    .flex-row-responsive {
        flex-direction: column; /* Stack columns on medium screens */
        align-items: center;
        gap: 40px;
    }
    .flex-item-50 {
        min-width: 80%; /* Takes up more width when stacked */
        max-width: 600px;
    }
    .social-icon {
        width: 55px;
        height: 55px;
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .hero-contact {
        padding: 70px 15px;
        min-height: 320px;
    }
    .hero-contact h1 {
        font-size: 2.5em;
    }
    .hero-contact p {
        font-size: 1em;
    }
    .contact-methods-section,
    .form-section,
    .faq-social-section {
        padding: 60px 0;
    }
    .contact-methods-section .section-title,
    .faq-social-section .section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .contact-grid {
        grid-template-columns: 1fr; /* Stack items vertically on smaller screens */
        gap: 30px;
    }
    .contact-item {
        padding: 25px;
    }
    .contact-icon-circle {
        width: 70px;
        height: 70px;
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .contact-item h3 {
        font-size: 1.4em;
    }
    .form-card {
        padding: 30px;
    }
    .form-card-title {
        font-size: 1.8em;
    }
    .form-card-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    .form-group input, .form-group textarea {
        padding: 12px;
        font-size: 0.95em;
    }
    .form-group textarea {
        min-height: 100px;
    }
    .form-card .btn-primary {
        padding: 14px 18px;
        font-size: 1em;
    }
    .flex-item-50 {
        min-width: 90%; /* Almost full width when stacked */
        max-width: 450px;
        padding: 25px;
    }
    .faq-social-section h2 {
        font-size: 1.7em;
    }
    .social-icons {
        justify-content: center; /* Center social icons when stacked */
        gap: 15px;
    }
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .hero-contact {
        padding: 50px 10px;
        min-height: 280px;
    }
    .hero-contact h1 {
        font-size: 2em;
    }
    .hero-contact p {
        font-size: 0.9em;
    }
    .contact-methods-section .section-title,
    .faq-social-section .section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .contact-item {
        padding: 20px;
    }
    .contact-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.8em;
    }
    .contact-item h3 {
        font-size: 1.2em;
    }
    .contact-item p {
        font-size: 0.9em;
    }
    .form-card {
        padding: 20px;
    }
    .form-card-title {
        font-size: 1.5em;
    }
    .form-card-description {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .form-group input, .form-group textarea {
        padding: 10px;
        font-size: 0.9em;
    }
    .form-card .btn-primary {
        padding: 12px 15px;
        font-size: 0.95em;
    }
    .flex-item-50 {
        min-width: 100%; /* Full width on smallest screens */
        padding: 20px;
    }
    .faq-social-section h2 {
        font-size: 1.5em;
    }
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.6em;
    }
    .social-icons {
        gap: 10px;
    }
}
