:root {
    --primary-color: #0d47a1; /* Deeper blue to match the image */
    --primary-hover: #0a3d8a;
    --text-color: #1a2b4b;
    --light-text: #64748b;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
}

main {
    flex: 1;
    margin-top: 100px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.header-container {
    max-width: 98%; /* Even closer to corners */
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header Styles */
.main-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: 100px; /* Increased header height */
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Logo */
.logo-container {
    margin-right: 10px;
}

.logo-container .logo {
    height: 80px; /* Balanced logo height */
    width: auto;
    display: block;
}

/* Navigation */
.nav-menu {
    margin-right: 20px;
}

.nav-menu ul {
    display: flex;
    gap: 25px;
}

.nav-menu ul li a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
    white-space: nowrap;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--primary-color);
}

/* Search Bar */
.search-bar-container {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 600px; /* Increased width to match the new design */
    margin: 0 30px;
}

.search-form {
    width: 100%;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 100px; /* Fully rounded corners like in the photo */
    padding: 5px; /* Space for the button inside */
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.1);
}

.search-input-group input {
    flex: 1;
    padding: 12px 25px;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-color);
    outline: none;
}

.search-input-group input::placeholder {
    color: var(--light-text);
    opacity: 0.7;
}

.search-btn {
    background-color: #0656AF;
    color: white;
    border: none;
    border-radius: 100px; /* Rounded button to match input */
    padding: 10px 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.search-btn:hover {
    background-color: #054fa2;
    transform: scale(1.02);
}

.search-btn i {
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 630px;
    display: flex;
    align-items: center;
    background-image: url('../assets/images/bg-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.hero-section.hero-hidden,
.categories-section.section-hidden {
    height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto; /* Center the content container */
    text-align: center; /* Center the text inside */
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.location-name {
    display: block;
    color: #ff9800; /* Distinct accent color */
    font-weight: 800;
    text-transform: capitalize;
    position: relative;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 34px;
        white-space: nowrap;
        overflow-wrap: normal;
    }
    .hero-title .location-name {
        display: block;
    }
}

@media (max-width: 560px) {
    .hero-title {
        font-size: 28px;
    }
}

.location-name.detected {
    animation: fadeInLocation 1s ease forwards;
}

@keyframes fadeInLocation {
    0% { opacity: 0.5; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.5;
}

/* Categories Section */
.categories-section {
    position: relative;
    padding: 40px 0 10px 0; /* Reduced bottom padding to 10px */
    background-color: #fcfcfc; /* Very light grey background */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-header {
    margin-bottom: 10px; /* Reduced from 30px */
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #0d1b3e; /* Deep dark blue */
    margin-bottom: 8px;
}

.section-subtitle {    font-size: 15px;
    color: #7a8294;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 cards in a row */
    gap: 15px;
    margin-bottom: 30px;
}

/* Nearby Services Section */
.nearby-services {
    margin-top: -15px;
    background-color: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 per row as requested */
    gap: 25px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    position: relative;
    height: 220px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure nearby services card images span the full card width exactly */
.nearby-services .service-image {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.nearby-services .service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.service-title {
    font-size: 18px;
    color: #0d1b3e;
    font-weight: 800;
    margin-bottom: 0;
}

.service-stars {
    display: flex;
    gap: 2px;
    font-size: 10px;
    color: #ddd;
}

.service-stars i.filled {
    color: #ffc107;
}

.service-cat-row {
    margin-bottom: 12px;
}

.service-category {
    font-size: 11px;
    color: white;
    font-weight: 700;
    text-transform: capitalize;
    background: #0061f2; /* Solid Blue Badge */
    padding: 3px 12px;
    border-radius: 50px;
    display: inline-block;
}

.service-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    height: 3em;
}

.service-location-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    font-size: 13px;
    color: #444;
    margin-bottom: 25px;
}

.location-text, .distance-text {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.location-text {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.distance-text {
    flex: 0 0 auto;
    white-space: nowrap;
}

.service-location-row i {
    color: #444;
}

.nearby-services .service-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 1.08fr) minmax(0, 1.08fr);
    gap: 8px;
    margin-top: auto;
    align-items: stretch;
    grid-auto-rows: minmax(40px, min-content);
}

.nearby-services .action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 40px;
    width: 100%;
    padding: 10px 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
    min-width: 0;
}

.nearby-services .call-btn,
.nearby-services .chat-btn {
    padding-inline: 7px;
}

.nearby-services .view-btn,
.nearby-services .directions-btn {
    padding-inline: 10px;
}

.nearby-services .call-btn {
    background-color: #1d4ed8;
    color: #ffffff;
    border-color: transparent;
}

.nearby-services .call-btn i {
    color: #ffffff;
}

.nearby-services .chat-btn {
    background-color: #047857;
    color: #ffffff;
    border-color: transparent;
}

.nearby-services .chat-btn i {
    color: #ffffff;
}

.nearby-services .view-btn {
    background-color: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.nearby-services .directions-btn {
    background-color: #ffffff;
    color: #1d4ed8;
    border-color: #1d4ed8;
}

.nearby-services .directions-btn i {
    color: #1d4ed8;
}

@media (max-width: 576px) {
    .nearby-services .service-actions {
        display: flex;
        flex-wrap: nowrap;
        gap: 4px;
    }

    .nearby-services .action-btn {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
        padding: 7px 4px;
        font-size: 11px;
    }

    .nearby-services .action-btn span {
        font-size: 11px;
    }
}

.nearby-services .action-btn span {
    font-size: 13px;
    font-weight: 700;
}

.nearby-services .action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
    opacity: 1;
}

@media (max-width: 900px) {
    .nearby-services .service-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .nearby-services .service-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hidden-service {
    display: none;
}

.view-more-container {
    text-align: center;
    margin-top: 25px; /* Reduced from 40px */
}

.btn-primary-solid {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.2);
}

.btn-primary-solid:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.3);
}

.view-more-container .btn-primary-solid {
    background-color: #0656AF;
}

.view-more-container .btn-primary-solid:hover {
    background-color: #054fa2;
}

/* Global Section Padding */
.section-padding {
    padding: 15px 0; /* Reduced from 80px */
}

.text-center {
    text-align: center;
}

/* Popular Countries Section */
.popular-countries {
    background-color: #f8fafc;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.country-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    height: 280px;
}

@media (max-width: 992px) {
    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .countries-grid {
        grid-template-columns: 1fr;
    }
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.country-image {
    height: 100%;
    width: 100%;
}

.country-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(rgba(0,0,0,0.7), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.country-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.explore-link {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.explore-link:hover {
    color: white;
    text-decoration: underline;
}

/* Featured Listings */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.listing-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.listing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.listing-image {
    position: relative;
    height: 220px;
}

.listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.featured-badge {
    background: var(--primary-color);
    color: white;
}

.listing-details {
    padding: 20px;
}

.listing-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.rating {
    color: #ffc107;
    font-weight: 700;
}

.location {
    color: var(--light-text);
}

.listing-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #0d1b3e;
}

.listing-desc {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.city-card {
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    position: relative;
}

@media (max-width: 992px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cities-grid {
        grid-template-columns: 1fr;
    }
}

.city-image {
    height: 100%;
    width: 100%;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 30px;
}

@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Footer */
.main-footer {
    background: #0656AF;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
    gap: 30px;
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

.contact-item {
    margin-bottom: 20px;
    white-space: nowrap;
}

.contact-item .label {
    display: inline-block;
    font-size: 12px;
    color: white;
    margin-bottom: 0;
    margin-right: 5px;
}

.contact-item .value {
    display: inline-block;
    font-weight: 700;
    font-size: 16px;
    color: white;
    text-decoration: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.main-footer a,
.main-footer a:visited {
    color: #ffffff;
}

.footer-col ul li a {
    color: white;
    font-size: 14px;
}

.footer-col ul li a:hover,
.main-footer a:hover,
.main-footer a:focus {
    color: rgba(255,255,255,0.9);
    opacity: 0.85;
}

/* App Buttons */
.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.app-btn:hover {
    color: rgba(255,255,255,0.9);
}

.app-btn i {
    font-size: 28px;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
}

.app-btn-text .small {
    font-size: 10px;
}

.app-btn-text .big {
    font-size: 14px;
    font-weight: 700;
}

/* Footer Divider Line */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 28px auto;
    opacity: 0.9;
}

.footer-bottom {
    padding: 30px 0;
    background-color: inherit;
    color: white;
    text-align: center;
    border-top: none;
}

.terms-empty-state {
    background: rgba(13, 27, 62, 0.06);
    border: 1px dashed rgba(13, 27, 62, 0.18);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(13, 27, 62, 0.06);
    color: #102a52;
}

.terms-empty-state h2 {
    margin-bottom: 14px;
    font-size: 26px;
    color: #0d47a1;
}

.terms-empty-state p {
    margin-bottom: 0;
    font-size: 16px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    color: #475569;
}

.footer-bottom p {
    font-size: 14px;
    margin-bottom: 5px;
    color: white;
}

/* Footer bottom layout: left (copyright) and right (social icons) */
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap; /* keep left and social on same row on desktop */
}

.footer-bottom .footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: nowrap; /* ensure icons remain on one row */
}

.footer-bottom .footer-social a {
    color: white;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    transition: var(--transition);
}

.footer-bottom .footer-social a:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}

@media (max-width: 768px) {
    .footer-bottom .container {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
    }
    .footer-bottom .footer-social {
        justify-content: flex-start;
    }
    .footer-bottom .footer-bottom-left,
    .footer-bottom .footer-social {
        width: 100%;
        margin-top: 8px;
    }
}

/* On larger screens ensure single-row layout explicitly */
@media (min-width: 769px) {
    .footer-bottom .container {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .footer-bottom .footer-social {
        flex-wrap: nowrap;
    }
}

/* Floating actions (Back to Top + WhatsApp) - style inspired by target site */
.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2000;
}

.floating-actions .back-to-top,
.floating-actions .whatsapp-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(13,27,62,0.35);
    color: #fff;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    overflow: visible;
}

.floating-actions .back-to-top {
    background: #f4f4f4;
    color: #0d1b3e;
    border: 1px solid rgba(13,27,62,0.08);
    cursor: pointer;
}

.floating-actions .back-to-top i {
    font-size: 20px;
}

.floating-actions .whatsapp-float {
    background: #25D366; /* WhatsApp green */
}

/* Floating location button (placed above WhatsApp) */
.floating-actions .location-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(13,27,62,0.35);
    color: #fff;
    background: #1976d2; /* blue */
    border: 0;
    cursor: pointer;
    position: relative !important;
    overflow: visible;
}

.floating-actions .location-float i {
    font-size: 18px;
}

.floating-actions .location-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(13,27,62,0.45);
}

.floating-actions .whatsapp-float i {
    font-size: 20px;
}

/* Hover/active states */
.floating-actions .back-to-top:hover,
.floating-actions .whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(13,27,62,0.45);
}

/* Small label that appears to the left on hover (like the target site) */
.floating-actions .btn-label {
    position: absolute;
    right: 62px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.78);
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease, right 0.15s ease;
}

.floating-actions .whatsapp-float .btn-label {
    background: rgba(0,0,0,0.78);
}

.floating-actions .back-to-top:hover .btn-label,
.floating-actions .whatsapp-float:hover .btn-label {
    opacity: 1;
    visibility: visible;
    right: 72px;
}

@media (max-width: 480px) {
    .floating-actions {
        right: 12px;
        bottom: 18px;
        gap: 10px;
    }
    .floating-actions .back-to-top,
    .floating-actions .whatsapp-float {
        width: 46px;
        height: 46px;
    }
    .floating-actions .btn-label {
        display: none; /* hide labels on small screens to save space */
    }
}

.footer-bottom p:last-child {
    margin-bottom: 0;
    font-weight: 600;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch; /* Stretch to make image container equal to text height */
    margin-top: 50px;
}

.about-image {
    height: 100%;
    min-height: 450px; /* Ensures a good presence even with short text */
    overflow: hidden;
    border-radius: 15px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Keeps the focus on the center of the photo */
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
    margin-bottom: 15px;
    color: #0d1b3e;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--light-text);
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item h3 {
    font-size: 24px;
    color: var(--primary-color);
}

/* How It Works Anchor */
.how-it-works {
    scroll-margin-top: 120px; /* Offset for fixed header */
}

/* Why Choose Section */
.why-choose-section {
    margin-top: 40px; /* Reduced from 60px */
}

.why-choose-section .section-header {
    text-align: left;
    margin-bottom: 50px;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-choose-item {
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.why-choose-item:hover {
    transform: translateY(-5px);
}

.why-choose-icon {
    font-size: 60px; /* Larger as per image */
    color: #2563eb; /* Blue color from design */
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.why-choose-item h3 {
    font-size: 18px;
    color: #0d1b3e;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-choose-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile adjustments for About Page: stack each div on its own row */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        min-height: 250px; /* reduce height for mobile */
    }

    .about-image img {
        width: 100%;
        height: auto; /* allow image to scale naturally */
        object-fit: cover;
    }

    .about-stats {
        flex-direction: column;
        gap: 18px;
    }

    .stat-item {
        width: 100%;
        text-align: left;
    }

    .about-text h2 {
        font-size: 20px;
    }

    .about-text p {
        font-size: 15px;
    }
}

/* Visually hidden helper for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Help Page */
.help-header {
    max-width: 760px;
    margin: 0 auto 48px;
}

.help-header .section-label {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 14px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 700;
}

.help-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.help-search {
    flex: 1 1 420px;
    min-width: 260px;
}

.help-search-input {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.help-search-input i {
    color: #0e4cc2;
    font-size: 18px;
}

.help-search-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #0f172a;
    background: transparent;
}

.faq-status {
    flex: 0 0 auto;
    min-width: 180px;
    text-align: right;
}

.faq-count {
    font-size: 15px;
    color: #475569;
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 0;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.1);
}

.faq-item.no-results {
    padding: 32px 28px;
    border-left: 4px solid rgba(15, 23, 42, 0.12);
}

.faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    background: #0e4cc2;
    transition: background 0.25s ease, transform 0.2s ease;
}

.faq-item.open .faq-icon {
    background: #f59e0b;
    transform: rotate(90deg);
}

.faq-question {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: #101828;
    margin: 0;
}

.faq-answer {
    padding: 0 24px 30px 90px;
    color: #475569;
    font-size: 15px;
    line-height: 1.85;
}

.faq-answer p {
    margin: 0;
}

.faq-answer[hidden] {
    display: none;
}

.faq-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    gap: 18px;
    text-align: center;
    color: #64748b;
    padding: 40px 24px;
}

.faq-loading-inner {
    display: flex;
    gap: 10px;
}

.faq-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0e4cc2;
    animation: faqPulse 1s ease-in-out infinite;
}

.faq-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.faq-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes faqPulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@media (max-width: 768px) {
    .help-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-status {
        text-align: left;
    }
}

/* Contact Modal */
.modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; }
.modal[aria-hidden="false"] { display: block; }
.modal-backdrop { position: absolute; left:0; top:0; right:0; bottom:0; background: rgba(2,6,23,0.6); }
.modal-dialog { position: relative; max-width: 560px; margin: 8% auto; background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 20px 60px rgba(2,6,23,0.4); z-index:10001; }
.modal-close { position: absolute; right: 12px; top: 8px; background: transparent; border: none; font-size: 24px; cursor: pointer; }
.modal-body h3 { margin: 0 0 8px 0; font-size: 20px; }
.modal-body p { margin: 0; color: #475569; }

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Shifted width from left to right for an even split */
    gap: 40px; 
    align-items: stretch;
}

.contact-info-panel {
    background-color: #f8fafc;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

.panel-title {
    font-size: 32px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.panel-desc {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background-color: #0d1b3e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.detail-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 5px;
}

.detail-text p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 0;
}

.contact-form-panel {
    background-color: white;
    padding: 50px 40px; /* Adjusted padding for better fit */
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.form-panel-title {
    font-size: 24px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 10px;
}

.form-panel-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    background-color: #0656AF;
    color: white;
    border: none;
    padding: 16px 40px; /* Wider padding as seen in the image */
    border-radius: 10px; /* Slightly more rounded corners */
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Space between text and icon */
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.submit-btn i {
    font-size: 18px;
}

.submit-btn:hover {
    background-color: #054fa2;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 86, 175, 0.2);
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-info-panel, .contact-form-panel {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Subscribe Section */
.subscribe-section {
    background-color: #f8fafc;
}

.subscribe-card {
    display: flex;
    background-color: #f0fdf4; /* Very light green matching the image */
    border-radius: 20px;
    overflow: hidden;
    align-items: stretch;
}

.subscribe-image {
    flex: 1;
    min-height: 400px;
}

.subscribe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subscribe-content {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subscribe-icon {
    margin-bottom: 20px;
}

.subscribe-title {
    font-size: 32px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 20px;
}

.subscribe-text {
    font-size: 16px;
    color: #0d1b3e; /* Darker text as per image */
    margin-bottom: 40px;
    line-height: 1.8;
}

.subscribe-form .input-group {
    display: flex;
    gap: 15px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.subscribe-form input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    outline: none;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.subscribe-form .btn-primary {
    background-color: #f59e0b; /* Bright Orange button */
    border-color: #f59e0b;
    padding: 15px 35px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.subscribe-form .btn-primary:hover {
    background-color: #d97706;
    border-color: #d97706;
    color: white;
}

@media (max-width: 768px) {
    .subscribe-card {
        flex-direction: column;
    }
    .subscribe-image {
        min-height: 300px;
    }
    .subscribe-content {
        padding: 40px;
    }
}

@media (max-width: 600px) {
    .subscribe-form .input-group {
        flex-direction: column;
        background: transparent;
        padding: 0;
        box-shadow: none;
        gap: 10px;
    }
    .subscribe-form input {
        background: white;
        padding: 15px 20px;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .subscribe-title {
        font-size: 24px;
    }
}

/* Responsive Updates */
@media (max-width: 992px) {
    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Back to Top Button */
.back-to-top {
    position: absolute;
    bottom: auto;
    right: auto;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 8px 16px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    outline: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.back-to-top:hover span {
    color: white;
}

.back-to-top-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-top-content img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.back-to-top-content span {
    font-size: 13px;
    font-weight: 700;
    color: #0d1b3e;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 6px 12px;
    }
    
    .back-to-top-content span {
        display: none; /* Hide label on small mobile for cleaner UI */
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: absolute;
    bottom: auto;
    left: auto;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.whatsapp-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-content i {
    font-size: 24px;
}

.whatsapp-content span {
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        padding: 8px 12px;
    }

    .whatsapp-content span {
        display: none;
    }
}

.category-card {
    background-color: #e8eaf6; /* Soft blue background for all cards */
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(13, 71, 161, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.category-card:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(13, 71, 161, 0.2);
    border-color: var(--primary-color);
}

.category-card:hover .category-icon i,
.category-card:hover .category-name,
.category-card:hover .category-count {
    color: white;
}

.category-card.all-cat {
    background-color: #c5cae9; /* Slightly different blue for 'All' to emphasize */
    border: 1px solid rgba(13, 71, 161, 0.1);
}

.category-card.all-cat .category-icon i,
.category-card.all-cat .category-name,
.category-card.all-cat .category-count {
    color: #1a237e;
}

.category-icon {
    font-size: 30px;
    color: #1a237e; /* Match the dark blue in the reference */
    margin-bottom: 12px;
    height: 40px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.category-name {
    font-size: 16px;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 4px;
    transition: var(--transition);
}

.category-count {
    font-size: 13px;
    color: #5c6bc0;
    transition: var(--transition);
}

.hidden-category {
    display: none;
}

.view-all-container {
    text-align: center;
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive for Categories */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.header-actions .btn-primary,
.subscribe-form .btn-primary,
.export-dropdown .btn-primary {
    background-color: #0656AF;
    border-color: #0656AF;
}

.header-actions .btn-primary:hover,
.subscribe-form .btn-primary:hover,
.export-dropdown .btn-primary:hover {
    background-color: #054fa2;
    border-color: #054fa2;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(13, 71, 161, 0.02);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    z-index: 1100;
}

.mobile-close {
    display: none;
    position: absolute;
    top: 25px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .search-bar-container {
        max-width: 300px;
    }
    .logo-container {
        margin-right: 20px;
    }
    .nav-menu ul {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: block;
        transition: var(--transition);
        padding: 80px 40px;
        z-index: 1050;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu ul li a {
        font-size: 18px;
    }

    .mobile-close {
        display: block;
    }

    .search-bar-container {
        display: none;
    }

    .mobile-toggle {
        display: block;
        margin-left: 20px;
    }
    
    .header-actions {
        margin-left: auto;
    }
}

/* TABLET */
@media (max-width: 992px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 40px 15px;
    }

    .hero-title {
        font-size: 28px;
        white-space: nowrap;
    }

    .hero-title .location-name {
        display: block;
    }

    .hero-subtitle {
        font-size: 15px;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .header-actions {
        display: none;
    }
    .logo-container .logo {
        height: 50px;
    }
    .main-header {
        height: 80px;
    }
    main {
        margin-top: 80px;
    }
}

/* Auth Modal Styles */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-container {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 1300px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.auth-modal-overlay.active .auth-modal-container {
    transform: translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.auth-modal-close:hover {
    background-color: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.modal-wrapper {
    box-shadow: none; /* Shadow is on the container */
    max-width: 100% !important;
}

.modal-form-content, .modal-info-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.modal-form-content.active, .modal-info-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Adjustments for Modal Version of Side Panel */
.auth-modal-container .auth-info-side {
    padding: 60px;
}

.auth-modal-container .auth-form-side {
    padding: 60px;
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 1200px) {
    .auth-modal-container {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .auth-modal-container {
        max-width: 600px;
    }
    .auth-modal-container .auth-info-side {
        display: none;
    }
    .auth-modal-container .auth-form-side {
        padding: 40px 20px;
    }
}

@media (max-height: 800px) {
    .auth-modal-container .auth-form-side {
        padding: 40px;
    }
    .auth-info-title {
        font-size: 28px;
    }
}

.auth-wrapper {
    display: flex;
    background-color: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    max-width: 1400px; /* Increased from 1200px to give more total space */
    width: 100%;
    margin: 0 auto;
}

.auth-info-side {
    flex: 1.2; /* Slightly adjusted to balance with the wider form side */
    background-color: var(--primary-color);
    color: white;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from center to move content to the top */
    position: relative;
    overflow: hidden;
}

.auth-info-image {
    margin-bottom: 30px; /* Added margin for when logo is at the top */
}

.auth-info-side::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.auth-info-content {
    position: relative;
    z-index: 1;
}

.auth-info-title {
    font-size: 40px; /* Increased from 32px */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.auth-info-text {
    font-size: 18px; /* Increased from 16px */
    opacity: 0.9;
    margin-bottom: 35px;
    line-height: 1.6;
}

.auth-features {
    margin-bottom: 40px;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 17px; /* Increased from 15px */
    font-weight: 500;
}

.auth-features li i {
    color: #4ade80; /* Success green */
    font-size: 20px;
}

.auth-info-image img {
    height: 70px; /* Slightly larger */
    width: auto;
    border-radius: 8px;
    background: white;
    padding: 5px;
}

.auth-form-side {
    flex: 1.6; /* Increased from 1 to provide more space for input fields and placeholders */
    padding: 80px 60px;
    background-color: var(--bg-white);
}

.auth-card {
    max-width: 800px; /* Increased from 650px to prevent placeholder truncation */
    width: 100%;
    margin: 0 auto;
}

.auth-header {
    text-align: left;
    margin-bottom: 35px;
}

.auth-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--light-text);
    font-size: 15px;
}

.auth-form .form-group {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 20px;
}

/* Fix for form-check and other non-standard groups */
.form-check-group, .auth-footer, .auth-header, .submit-btn, .section-label {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .auth-form .form-group {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .auth-form label {
        margin-bottom: 5px;
    }
}

.form-section {
    margin-bottom: 35px;
    padding-bottom: 10px;
}

.section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-text);
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

.input-with-icon.no-left-icon input {
    padding-left: 20px;
}

.password-strength-meter {
    margin-top: 10px;
}

.password-strength-meter, .meter-text, .forgot-link-container {
    grid-column: 2; /* Align with the input field */
}

.forgot-link-container {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 10px;
}

.meter-bar {
    height: 4px;
    background-color: var(--border-color);
    border-radius: 10px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 6px;
}

.meter-inner {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: #ef4444;
    transition: var(--transition);
}

.meter-text {
    font-size: 11px;
    color: var(--light-text);
    font-weight: 500;
}

.form-check-group {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.form-check-group .form-check {
    margin-bottom: 12px;
}

.form-check-group .form-check:last-child {
    margin-bottom: 0;
}

.submit-btn span {
    flex: 1;
    text-align: center;
}

.submit-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.auth-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0; /* Removed margin since it's now horizontal */
    color: var(--text-color);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    color: var(--light-text);
    font-size: 16px;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--border-color);
    border-radius: 100px; /* Matching the search bar style */
    outline: none;
    font-size: 15px;
    transition: var(--transition);
}

.input-with-icon input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    font-size: 16px;
}

.label-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    grid-column: 2; /* Align with input fields by default in grid */
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 16px;
    border-radius: 100px; /* Matching the search button style */
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.auth-footer p {
    font-size: 14px;
    color: var(--light-text);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 700;
}

/* For forms sections that still use vertical or special layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    grid-column: 1 / -1; /* Take full width of the parent grid */
}

.form-row .form-group {
    display: block; /* Stack internally for columns */
}

.form-row .form-group label {
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .auth-wrapper {
        flex-direction: column;
        max-width: 550px;
    }
    .auth-info-side {
        padding: 40px;
        text-align: center;
    }
    .auth-features {
        display: none; /* Hide features on mobile to save space */
    }
    .auth-form-side {
        padding: 40px 30px;
    }
}

/* Listing Details Page */
.listing-details {
    background-color: var(--bg-light);
    padding-top: 40px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--light-text);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.listing-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.listing-gallery {
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
}

.main-image {
    height: 450px;
    width: 100%;
    margin-bottom: 10px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb {
    height: 120px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.thumb:hover img {
    transform: scale(1.1);
}

.thumb.plus-more {
    position: relative;
}

.thumb.plus-more .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.listing-header-info {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.listing-header-info .title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.listing-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-color);
}

.badge-verified {
    background: #ecfdf5;
    color: #10b981;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.listing-header-info .meta-row {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-display .score {
    background: #f59e0b;
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 14px;
}

.rating-display .stars {
    color: #f59e0b;
    font-size: 14px;
}

.meta-row div {
    color: var(--light-text);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-row i {
    color: var(--primary-color);
}

.details-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.details-section .section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-color);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-color);
}

.amenity-item i {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-color);
}

.map-placeholder {
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.address-text {
    font-weight: 600;
    color: var(--text-color);
}

/* Sidebar Styles */
.sticky-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.action-card {
    background: var(--primary-color);
    color: white;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.action-card .card-title {
    color: white;
    font-size: 20px;
    margin-bottom: 25px;
}

.contact-list {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: white;
}

.contact-item .icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.icon-circle.whatsapp { background: #25d366; }

.contact-item .text .label {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 2px;
}

.contact-item .text .value {
    font-weight: 700;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-buttons .btn {
    padding: 15px;
}

.action-buttons .btn-outline {
    background: white;
    border-color: white;
    color: var(--primary-color);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
}

.hours-list li.today {
    color: var(--primary-color);
    font-weight: 700;
}

.share-icons {
    display: flex;
    gap: 15px;
}

.share-icons a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.share-icons a:hover {
    background: var(--primary-color);
    color: white;
}

/* Search Results Page */
.search-results-page {
    background-color: var(--bg-light);
    min-height: 80vh;
}

.search-results-header {
    margin-bottom: 40px;
}

.search-query-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 5px;
}

.results-count {
    color: var(--light-text);
    font-size: 16px;
}

.search-content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.filter-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-color);
    position: relative;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-checkbox .count {
    color: var(--light-text);
    font-size: 13px;
    margin-left: auto;
}

.filter-select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    outline: none;
    background: var(--bg-light);
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 30px;
}

.sort-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--light-text);
}

.sort-select {
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    outline: none;
    font-size: 14px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.results-grid .service-card {
    display: block; /* Stack internally */
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: white;
    color: var(--text-color);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.page-btn.active, .page-btn:hover {
    background: var(--primary-color);
    color: white;
}

.dots {
    color: var(--light-text);
    padding: 0 5px;
}

.alert-message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    display: none;
}

.alert-message.success {
    display: block;
    background-color: #ecfdf5;
    color: #10b981;
    border: 1px solid #10b981;
}

.alert-message.error {
    display: block;
    background-color: #fef2f2;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.next-btn {
    padding: 0 20px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.next-btn:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 1200px) {
    .search-content-grid {
        grid-template-columns: 260px 1fr;
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .search-content-grid {
        grid-template-columns: 1fr;
    }
    .search-filters {
        display: none; /* Can be toggled with a button later */
    }
    .results-grid {
        grid-template-columns: 1fr;
    }
}


/* Pagination Links - New Search Results */
.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border-radius: 8px;
    background: white;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    margin: 5px;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-link.prev, .page-link.next {
    padding: 0 20px;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 15px;
    grid-column: 1 / -1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.no-results p {
    font-size: 16px;
    color: var(--light-text);
    margin: 0;
}

/* Search Layout */
.search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.search-filters {
    display: flex;
    flex-direction: column;
}

.results-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.results-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.results-actions .sort-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Pagination Container */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

/* Responsive Search Layout */
@media (max-width: 1024px) {
    .search-layout {
        grid-template-columns: 250px 1fr;
        gap: 25px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .search-layout {
        grid-template-columns: 1fr;
    }
    
    .search-filters {
        order: 2;
        display: none; /* Toggle on mobile */
    }
    
    .results-content {
        order: 1;
        padding: 20px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .results-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .results-actions .sort-select {
        width: 100%;
    }
    
    .pagination {
        gap: 2px;
    }
    
    .page-link {
        margin: 2px;
        min-width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* ============== IMPROVED SEARCH RESULTS PAGE ============== */

/* Search Results Header */
.search-results-header {
    margin-bottom: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a3d8a 100%);
    border-radius: 20px;
    color: white;
}

.search-query-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.results-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 500;
}

/* Search Layout - Improved */
.search-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 35px;
    align-items: start;
}

.search-filters {
    position: sticky;
    top: 120px;
}

.filter-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.filter-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-color);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 2px;
}

.filter-list li {
    margin-bottom: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.filter-checkbox:hover {
    background: var(--bg-light);
}

.filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked ~ span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Results Content */
.results-content {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.results-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

/* Results Grid - Enhanced */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.results-grid .service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.results-grid .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.service-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--bg-light);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.results-grid .service-card:hover .service-image img {
    transform: scale(1.08);
}

.category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.25);
}

.service-info {
    padding: 20px;
}

.service-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.service-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.service-stars {
    display: flex;
    gap: 3px;
    min-width: max-content;
}

.service-stars i {
    font-size: 13px;
    color: #fbbf24;
}

.service-desc {
    font-size: 13px;
    color: var(--light-text);
    margin: 10px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-location-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--light-text);
    margin: 12px 0;
}

.location-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-text i {
    color: var(--primary-color);
    font-size: 14px;
}

.service-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 8px;
        margin-top: 15px;
        align-items: stretch;
        grid-auto-rows: minmax(44px, min-content);
    }

    .service-actions .btn {
        width: 100%;
        font-size: 13px;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }

.service-actions .btn-primary-solid {
    background: var(--primary-color);
    color: white;
    border: none;
}

.service-actions .btn-primary-solid:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}

.service-actions .btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.service-actions .btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.02) 0%, rgba(13, 71, 161, 0.01) 100%);
    border-radius: 16px;
    grid-column: 1 / -1;
    border: 2px dashed var(--border-color);
}

.no-results::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a3d8a 100%);
    border-radius: 50%;
    opacity: 0.1;
}

.no-results p {
    font-size: 18px;
    color: var(--light-text);
    margin: 0;
    font-weight: 500;
}

/* Pagination - Enhanced */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-light);
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-color);
    font-weight: 600;
    font-size: 13px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    margin: 4px;
    cursor: pointer;
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.page-link.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.25);
}

.page-link.prev, .page-link.next {
    padding: 0 16px;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1280px) {
    .search-layout {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .search-layout {
        grid-template-columns: 260px 1fr;
        gap: 25px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .results-content {
        padding: 25px;
    }
    
    .search-filters {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .search-results-header {
        padding: 30px 20px;
        border-radius: 15px;
        margin-bottom: 30px;
    }
    
    .search-query-title {
        font-size: 28px;
    }
    
    .search-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .search-filters {
        display: flex;
        flex-direction: column;
        order: 2;
    }
    
    .results-content {
        order: 1;
        padding: 20px;
    }
    
    .filter-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-info {
        padding: 18px;
    }
    
    .pagination {
        gap: 6px;
    }
    
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 12px;
        margin: 3px;
    }
}

@media (max-width: 480px) {
    .search-results-page {
        padding: 20px 0;
    }
    
    .search-results-header {
        padding: 25px 15px;
        margin-bottom: 25px;
    }
    
    .search-query-title {
        font-size: 22px;
    }
    
    .results-count {
        font-size: 14px;
    }
    
    .search-filters {
        gap: 12px;
    }
    
    .filter-card {
        padding: 18px;
        margin-bottom: 12px;
    }
    
    .filter-title {
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-title {
        font-size: 15px;
    }
    
    .service-desc {
        font-size: 12px;
    }
    
    .pagination {
        gap: 4px;
    }
    
    .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 11px;
        margin: 2px;
    }
}

