:root {
    /* Updated Color Palette based on User Feedback */
    --primary: #C2185B;
    --primary-dark: #A20866;
    --primary-light: #F0A8CE;
    --secondary: #F0A8CE;
    --accent: #C0003A;
    --accent-dark: #9A002E;
    --bg-light: #FAE8F3;
    --bg-white: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569; /* WCAG AA Compliant contrast */
    --text-light: #334155; /* Darkened for accessibility */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    --container-max: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    border: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.section-padding {
    padding: 4rem 0;
}

/* Mobile First Navigation */
nav {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}

.nav-links {
    display: none; /* Hidden by default on mobile */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid #f1f5f9;
}

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

.btn-nav {
    background: #b91c1c; /* Standout Red for Quick Exit */
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.btn-nav:hover {
    background: #991b1b;
    transform: scale(1.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 8px;
    font-size: 1.5rem;
    z-index: 1001;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
    .nav-actions {
        gap: 1.5rem;
    }
}

/* Performance: Deferred rendering for off-screen sections */
section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.translate-control {
    display: flex;
    align-items: center;
    background: rgba(253, 242, 248, 0.9);
    backdrop-filter: blur(4px);
    border: 1.5px solid rgba(212, 56, 143, 0.3);
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 15px rgba(212, 56, 143, 0.05);
}

.translate-control:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(212, 56, 143, 0.15);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .logo img { height: 75px; }
    .btn-nav { padding: 0.4rem 1rem; font-size: 0.75rem; }
    .nav-actions { gap: 0.5rem; }
}

@media (max-width: 480px) {
    nav { padding: 0.5rem 0; }
    nav .container { padding: 0 0.75rem; }
    .logo img { max-width: 120px; height: auto; }
    .nav-actions { gap: 0.35rem; }
    #quickExit {
        font-size: 0 !important;
        padding: 0.35rem 0.6rem !important;
    }
    #quickExit::after {
        content: "Exit" !important;
        font-size: 0.7rem !important;
    }
    .translate-control { padding: 0.25rem 0.5rem; }
    .goog-te-menu-value span { display: none !important; }
    .goog-te-menu-value::after { margin-left: 0 !important; }
    .menu-toggle { width: 34px; height: 34px; font-size: 1.2rem; }
}

@media (max-width: 360px) {
    nav .container { padding: 0 0.5rem; }
    .logo img { max-width: 100px; height: auto; }
    .nav-actions { gap: 0.25rem; }
    #quickExit {
        padding: 0.3rem 0.5rem !important;
    }
}

.translate-control i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 6px;
    transition: transform 0.4s ease;
}

.translate-control:hover i {
    transform: rotate(20deg);
}

/* Google Translate Widget Styling */
#google_translate_element {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.goog-te-gadget-simple {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    width: 100%;
    height: 100%;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-menu-value {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.goog-te-menu-value span {
    color: var(--text-main) !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    margin-right: 4px !important;
}

.goog-te-menu-value img {
    display: none !important;
}

/* Custom Arrow for Translate */
.goog-te-menu-value:after {
    content: "\ea4e" !important; /* Remix Icon Bold Chevron */
    font-family: 'remixicon' !important;
    font-size: 1rem !important;
    color: var(--primary) !important;
    vertical-align: middle;
    margin-left: 4px;
}

/* Dropdown Menu Styling */
.goog-te-menu-frame {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    border: none !important;
    border-radius: 12px !important;
    z-index: 2147483647 !important;
}

/* Hide Google Translate Banner Frame */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}

.goog-te-menu2 {
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    padding: 10px !important;
}

body {
    top: 0px !important;
    position: static !important;
}

.goog-logo-link {
    display: none !important;
}

/* Fix Google Translate Layout Shift */
.skiptranslate.goog-te-gadget {
    height: 0 !important;
    overflow: hidden !important;
    width: 0 !important;
    position: absolute !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

/* Hero Section - Mobile First */
.hero {
    background: var(--bg-light);
    color: var(--text-main);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern for hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--primary-light) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

/* Hero Card - Find Center */
.hero-card {
    background: white;
    padding: 1.5rem;
    border-radius: 24px;
    color: var(--text-main);
    text-align: left;
    box-shadow: 0 20px 50px rgba(194, 24, 91, 0.15);
    border: 1px solid rgba(194, 24, 91, 0.1);
    position: relative;
    z-index: 10;
}

/* Highlight badge for the search feature */
.hero-card::before {
    content: 'QUICK SEARCH';
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .hero-card { padding: 2.5rem; }
}

.hero-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.form-group select, .form-group input {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1.2rem;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    cursor: pointer;
}

.form-group {
    position: relative;
}

/* Custom Select Arrow */
.form-group:has(select)::after {
    content: "\ea4e"; /* Bold chevron - arrow-down-s-fill or similar */
    font-family: 'remixicon';
    position: absolute;
    right: 1.2rem;
    bottom: 0.95rem; /* Better vertical alignment */
    color: var(--primary);
    pointer-events: none;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}

.form-group:has(select:focus)::after {
    transform: rotate(180deg);
    color: var(--primary-dark);
}

.form-group select:focus, .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(194, 24, 91, 0.1);
}

.btn-hero {
    width: 100%;
    padding: 1rem;
    background: var(--primary-dark);
    color: white;
    border-radius: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.btn-hero:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Trust Badge */
.trust-badge {
    background: rgba(255,255,255,0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.trust-badge i {
    color: #fbbf24;
}

.btn-location-alt {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #f1f5f9;
    color: var(--primary);
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-location-alt:hover {
    background: #eef2ff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-location-alt i {
    font-size: 1.1rem;
}

/* Mission Section */
.mission-header {
    text-align: center;
    margin-bottom: 3rem;
}

.mission-header h2 {
    font-size: 2rem;
    font-weight: 800;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.mission-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.mission-card.blue { background: #f0f7ff; }
.mission-card.dark { background: var(--primary); color: white; }

.card-tag, .hero-pill {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 56, 143, 0.2);
}

.card-icon-large {
    width: 100%;
    height: 180px;
    background: #f8fafc;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    font-size: 5rem;
}

.card-icon-large.red { color: var(--primary); background: #fff1f2; }

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.feat-content {
    margin-bottom: 2rem;
}

.feat-card h3 { 
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem; 
    color: var(--text-main);
}

.feat-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.feat-image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.feat-image-placeholder.blue { background: #eff6ff; color: #2563eb; }

.feat-icon-xl {
    display: flex;
    gap: 1.5rem;
    font-size: 3.5rem;
}

.feat-icon-xl.gray { color: #64748b; }

.feat-card.gray { background: #f8fafc; }
.feat-card.light-blue { background: #f0f7ff; }

.feat-card.horizontal {
    flex-direction: column;
    gap: 2rem;
}

.feat-actions {
    margin-top: 1.5rem;
}

.btn-primary-small {
    background: var(--text-main);
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary-small:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 56, 143, 0.2);
}

.feat-image-small img {
    width: 100%;
    max-width: 200px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.icon-circle.small {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 1024px) {
    .feat-card.horizontal {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
    
    .feat-card.horizontal .feat-content {
        flex: 1;
        margin-bottom: 0;
    }
    
    .feat-image-small {
        flex-shrink: 0;
        margin-left: 2rem;
    }

    .feat-image-small img {
        max-width: 250px;
    }
}

/* Integrated Services */
.integrated-section {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.service-box.featured {
    border: 2px solid var(--primary);
}

.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.impact-img {
    width: 100%;
    border-radius: 20px;
}

.stat-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.stat-icon {
    font-size: 1.25rem;
    color: var(--primary);
}

/* Emergency Bar */
.emergency-bar {
    background: var(--accent);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    position: relative;
    z-index: 1001;
}

.emergency-bar .container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    position: relative;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.emergency-content i {
    font-size: 1.5rem;
}

.emergency-content h4 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
}

.emergency-content h4 span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 400;
}

.emergency-buttons-desktop {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.btn-emergency-pill {
    background: rgba(255,255,255,0.9);
    color: var(--accent);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-emergency-pill:hover {
    background: white;
    transform: scale(1.05);
}

@media (min-width: 1024px) {
    .emergency-bar .container {
        flex-direction: row;
        justify-content: center;
        min-height: 50px;
        gap: 1rem;
    }
    
    .emergency-content h4 span {
        display: inline;
        margin-left: 0.5rem;
    }

    .emergency-buttons-desktop {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
}

/* Footer */
footer {
    background: var(--bg-light);
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h2 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* Resource Page Specific */
.resource-hero {
    background: white;
    padding: 4rem 0;
}

.resource-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.badge-purple {
    background: #f3f0ff;
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.resource-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.search-container {
    background: var(--bg-light);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 450px;
    margin-top: 2rem;
}

.search-container input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: 0.9rem;
}

.resource-hero-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

.explore-section {
    position: relative;
    padding-top: 6rem;
}

.emergency-response-banner {
    background: var(--accent);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-top: -2rem; /* Reduced overlap on mobile */
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(185, 28, 28, 0.2);
    z-index: 10;
}

.emergency-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.emergency-info i {
    font-size: 2rem;
}

.emergency-text span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
}

.emergency-text h4 {
    font-size: 1.5rem;
    font-weight: 800;
}

.emergency-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.btn-emergency-outline, .btn-emergency-white {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    min-height: 56px;
    text-align: center;
    line-height: 1.2;
}

.btn-emergency-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
}

.btn-emergency-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.btn-emergency-white {
    background: white;
    color: var(--accent);
    font-weight: 800;
    border: 1.5px solid white;
}

.btn-emergency-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.topic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 4rem;
}

.topic-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.topic-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #f3f0ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.topic-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.topic-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.handbook-section {
    margin: 6rem 0;
}

.handbook-banner {
    background: #5c4db1;
    border-radius: 40px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.handbook-content {
    color: white;
    max-width: 500px;
    z-index: 1;
}

.handbook-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.handbook-content p {
    opacity: 0.8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.btn-download {
    background: white;
    color: var(--primary);
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.handbook-visual {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.handbook-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.5);
    transform: rotate(5deg);
}

/* Desktop Overrides */
@media (min-width: 1024px) {
    .section-padding { padding: 8rem 0; }
    
    .nav-links {
        display: flex !important;
        position: static !important;
        flex-direction: row !important;
        padding: 0;
        gap: 2.5rem;
        font-weight: 500;
        color: var(--text-muted);
        box-shadow: none;
        border: none;
        background: transparent;
    }
    
    .nav-links a:hover, .nav-links a.active { 
        color: var(--primary); 
        font-weight: 700;
        border-bottom: 2px solid var(--primary);
    }
    
    .hero { text-align: left; padding: 10rem 0; }
    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .hero-text { flex: 1; max-width: 600px; }
    .hero h1 { font-size: 4.5rem; }
    .hero-card { width: 450px; }
    #searchResultsContainer { margin-top: -4rem; }
    
    .mission-grid { display: block; }
    .feature-grid { grid-template-columns: 0.8fr 1.2fr; }
    
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    
    .impact-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .resource-hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .resource-hero h1 {
        font-size: 4.5rem;
    }

    .emergency-response-banner {
        flex-direction: row;
        justify-content: space-between;
        padding: 2rem 4rem;
        top: -60px;
    }

    .emergency-actions {
        width: auto;
    }

    .topic-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .handbook-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 6rem 8rem;
    }
    
    .handbook-visual {
        margin: 0;
    }
}

/* Mission Specific Styles (About Page) */
.mission-hero {
    background: white;
    padding: 6rem 0;
}

.mission-hero-content {
    display: flex;
    flex-direction: column; /* Mobile */
    gap: 3rem;
    align-items: center;
}

.mission-hero h1 {
    color: var(--text-main);
    font-size: 2.5rem;
}

.mission-hero .highlight {
    color: var(--primary);
}

.mission-hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5 / 4;
    object-fit: cover;
}

.feat-cards {
    display: grid;
    grid-template-columns: 1fr; /* Mobile */
    gap: 2rem;
    margin-top: 4rem; /* Increased gap */
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.feat-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(212, 56, 143, 0.1);
    border: 1px solid rgba(212, 56, 143, 0.05);
    transition: var(--transition);
}

.feat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(212, 56, 143, 0.15);
    border-color: var(--primary-light);
}

.feat-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.feat-card:hover .feat-icon {
    background: var(--primary);
    color: white;
    transform: rotate(5deg);
}

.feat-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.feat-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.feat-card.dark {
    background: var(--primary-dark);
    color: white;
}

.feat-card.dark h3 { color: white; }
.feat-card.dark p { color: rgba(255,255,255,0.8); }
.feat-card.dark .feat-icon {
    background: rgba(255,255,255,0.1);
    color: white;
}

.mission-statement {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.mission-statement h2 {
    font-size: 1.5rem; /* Mobile */
    max-width: 900px;
    margin: 2rem auto;
    font-style: italic;
    line-height: 1.4;
    padding: 0 1rem;
}

.values-container {
    display: grid;
    grid-template-columns: 1fr; /* Mobile */
    gap: 3rem;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    gap: 1.5rem;
    border: 1px solid #e2e8f0;
}

.leadership-section {
    text-align: center;
}

.leadership-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.leader-card {
    max-width: 400px;
    width: 100%;
}

.leader-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 350;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.cta-banner {
    background: white;
    color: var(--text-muted);
    padding: 4rem 2rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(212, 56, 143, 0.1);
    border: 1px solid rgba(212, 56, 143, 0.1);
}

.cta-banner h2 {
    color: #334155;
    margin-bottom: 1.5rem;
}

/* Desktop Mission Overrides */
@media (min-width: 1024px) {
    .mission-hero-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .mission-hero h1 { font-size: 4rem; }
    
    .feat-cards {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 4rem;
    }
    
    .mission-statement h2 { font-size: 2.5rem; }
    
    .values-container { grid-template-columns: 0.8fr 1.2fr; }
    
    .leadership-grid { justify-content: center; }
}

/* New Contact Page Design */
.contact-hero-section {
    padding: 6rem 0 4rem;
    background: var(--bg-light);
}

.contact-hero-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .contact-hero-section h1 { font-size: 3.5rem; }
}

.contact-hero-section h1 span {
    color: var(--primary);
}

.contact-hero-section p {
    max-width: 600px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 6rem;
    background: var(--bg-light);
}

.helpline-card-red {
    background: var(--accent);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .helpline-card-red {
        flex-direction: row;
        padding: 2.5rem;
        gap: 1.5rem;
    }
}

.helpline-card-red i {
    font-size: 2rem;
}

.helpline-card-red h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.helpline-card-red .phone-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .helpline-card-red .phone-number { font-size: 2.5rem; }
}

.helpline-card-red p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.info-list-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-text p {
    font-size: 0.9rem;
    color: var(--text-main);
}

.info-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-form-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.contact-form-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.contact-form-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group-new {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-new label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
}

.form-group-new input, 
.form-group-new select, 
.form-group-new textarea {
    padding: 1rem;
    background: var(--bg-light);
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group-new input:focus, 
.form-group-new select:focus, 
.form-group-new textarea:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
}

.btn-send {
    background: var(--primary-dark);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.btn-send:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.form-card-footer {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact-illustration {
    width: 100%;
    border-radius: 20px;
}

/* Desktop Styles for Contact */
@media (min-width: 1024px) {
    .contact-main-grid {
        grid-template-columns: 4fr 6fr;
    }
    .form-row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Utility Animations */
.hidden-state {
    opacity: 0;
    transform: translateY(30px);
}
.hidden-state.active {
    opacity: 1;
    transform: translateY(0);
}

/* Location Toast */
.location-toast {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    animation: slideInUp 0.5s ease-out;
    border-left: 4px solid var(--primary);
}

.location-toast i {
    color: var(--primary);
    font-size: 1.2rem;
}

.location-toast span {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Closest Center Highlighting */
.closest-highlight {
    border: 2px solid var(--primary) !important;
    position: relative;
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(194, 24, 91, 0.15) !important;
    margin-top: 1rem; /* Room for the badge */
    margin-bottom: 1rem;
}

.closest-badge {
    position: absolute;
    top: -12px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(194, 24, 91, 0.3);
    z-index: 3;
}

@media (max-width: 768px) {
    .closest-highlight {
        transform: none !important;
        margin-top: 1rem;
    }
    .closest-badge {
        left: 10px;
        font-size: 0.65rem;
        padding: 4px 10px;
    }
}

.location-toast button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: 0.5rem;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .location-toast {
        left: 1rem;
        right: 1rem;
        bottom: 5rem; /* Above emergency bar */
    }
}

/* Search Results Styles */
.results-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 1.25rem;
    border: 1px solid rgba(212, 56, 143, 0.1);
    animation: fadeInScale 0.4s ease-out;
    width: 100%;
}
@media (max-width: 480px) {
    .results-card {
        padding: 0.75rem 0.5rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        border-radius: 12px;
        width: calc(100% + 1rem);
    }
}

@media (min-width: 1024px) {
    .results-card {
        padding: 3rem;
    }
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
}

.results-header h3 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
}

.btn-close-results {
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.btn-close-results:hover {
    background: #fee2e2;
    color: #ef4444;
}

.results-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0.5rem;
    width: 100%;
}
@media (max-width: 480px) {
    .results-list {
        padding: 0.5rem 0.15rem;
        gap: 1rem;
    }
}

.center-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid transparent;
    transition: var(--transition);
    width: 100%;
    position: relative;
}

@media (max-width: 480px) {
    .center-item {
        padding: 0.85rem;
    }
}

.center-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    background: white;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .center-item:hover {
        transform: none;
    }
}

.center-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .center-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.center-item h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.center-type-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    background: var(--primary-light);
    color: var(--primary-dark);
    text-transform: uppercase;
    font-weight: 800;
    white-space: normal;
    text-align: center;
    box-shadow: 0 2px 5px rgba(212, 56, 143, 0.1);
    max-width: 100%;
}

.contact-link {
    color: var(--text-main);
    font-weight: 400; /* Removed bold from actual phone/email */
    transition: var(--transition);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.center-details {
    margin-bottom: 1.5rem;
}

.center-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
    min-width: 0;
}

.center-info-row span {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.center-info-row i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.info-label {
    font-weight: 700;
    color: var(--text-main);
    margin-right: 0.25rem;
}

.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-tag {
    display: inline-block;
    font-size: 0.7rem;
    background: white;
    color: var(--text-muted);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

.btn-maps {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-dark);
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-maps:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 56, 143, 0.2);
    color: white;
}

.location-toast.error {
    border-left-color: #ef4444;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@media (min-width: 1024px) {
    .results-list {
        grid-template-columns: 1fr 1fr;
    }
}

#searchResultsContainer {
    margin-top: -4rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Clickable Results Cards */
.center-item {
    cursor: pointer;
}

.center-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}

.center-item:hover .btn-view-details {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* Details Page Styles */
.details-section {
    padding: 3rem 0 6rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--text-main);
    border: 1.5px solid #e2e8f0;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.btn-back:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-color: var(--primary-light);
    transform: translateX(-4px);
}

.details-header-card {
    background: white;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(212, 56, 143, 0.05);
    border: 1px solid rgba(212, 56, 143, 0.05);
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .details-header-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

@media (min-width: 768px) {
    .details-header-card {
        padding: 2.5rem;
        border-radius: 24px;
    }
}

.details-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.details-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

@media (min-width: 768px) {
    .details-title {
        font-size: 2.5rem;
    }
}

.details-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge-detail {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-detail.category {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--primary-light);
}

.badge-detail.type {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.badge-detail.verified {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .details-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.details-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.details-card {
    background: white;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(212, 56, 143, 0.05);
    border: 1px solid rgba(212, 56, 143, 0.05);
}

@media (min-width: 480px) {
    .details-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
}

@media (min-width: 768px) {
    .details-card {
        padding: 2.5rem;
        border-radius: 24px;
    }
}

.details-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

.details-card h3 i {
    color: var(--primary);
}

.info-item-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f8fafc;
}

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

.info-item-icon {
    width: 38px;
    height: 38px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item-body {
    flex-grow: 1;
    min-width: 0;
}

.info-item-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.info-item-value {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.info-item-value a.value-link {
    color: var(--primary-dark);
    font-weight: 600;
    transition: var(--transition);
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.info-item-value a.value-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Services Tags */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fdf2f8;
    color: var(--primary-dark);
    border: 1px solid rgba(212, 56, 143, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
}

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

/* Photo & Map Card Styles */
.photo-card {
    padding: 1rem;
}

.details-photo-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
    aspect-ratio: 16 / 10;
}

.details-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.details-photo-wrapper:hover .details-photo-img {
    transform: scale(1.05);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    color: var(--primary-dark);
    padding: 2rem;
    text-align: center;
    gap: 0.75rem;
}

.photo-placeholder i {
    font-size: 3rem;
    opacity: 0.7;
}

.photo-placeholder p {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Map Card */
.map-card {
    padding: 1rem;
}

@media (min-width: 768px) {
    .map-card {
        padding: 1.5rem;
    }
}

.map-container-wrapper {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1.5px solid #e2e8f0;
}

#detailsMap {
    height: 320px;
    width: 100%;
    background: #f1f5f9;
}

.btn-sidebar-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--primary-dark);
    color: white;
    padding: 0.9rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    width: 100%;
    margin-top: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(162, 8, 102, 0.15);
}

.btn-sidebar-action:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(162, 8, 102, 0.25);
    color: white;
}

/* Loading and Error States */
.details-loading-state {
    text-align: center;
    padding: 6rem 2rem;
}

.details-loading-state i {
    font-size: 3.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}

.details-error-state {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 500px;
    margin: 0 auto;
}

.details-error-state i {
    font-size: 3.5rem;
    color: #ef4444;
    display: block;
    margin-bottom: 1.5rem;
}

.details-error-state h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.details-error-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

