:root {
    --primary: #2D6A4F;
    --secondary: #95D5B2;
    --accent: #EAF4F4;
    --warm: #F4A261;
    --text: #1B4332;
    --gray: #6c757d;
    --light: #F8F9FA;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --border-radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 10px 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.nav-links i {
    width: 16px;
    height: 16px;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    list-style: none;
    z-index: 1100;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    width: 100%;
}

.dropdown li a {
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown li a:hover {
    background: var(--accent);
    color: var(--primary);
}

.badge {
    background: var(--warm);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 4px;
    text-transform: uppercase;
    font-weight: 800;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #1B4332;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 106, 79, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: #74C69D;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.hero {
    padding: 80px 0 120px;
    background: linear-gradient(135deg, #F1F8F5 0%, #EAF4F4 100%);
    overflow: visible;
    text-align: center;
}

.hero-small {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.hero-small h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-small p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto 50px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary);
}

.hero-content p.lead {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text);
    opacity: 0.85;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* PREMIUM FULL-WIDTH SEARCH BOX */
.search-wrapper-global {
    position: relative;
    width: 100%;
    max-width: 1200px; /* FULL WIDTH DESKTOP */
    margin: 0 auto;
    z-index: 5000;
}

.hero-search-container {
    background: #ffffff;
    padding: 10px;
    border-radius: 60px;
    box-shadow: 0 30px 70px rgba(27, 67, 50, 0.18);
    display: flex;
    align-items: center;
    border: 1px solid rgba(149, 213, 178, 0.4);
    position: relative;
    z-index: 5000;
}

.hero-search-container .search-input-group {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 30px;
}

.hero-search-container input {
    border: none;
    outline: none;
    padding: 20px 15px;
    font-size: 1.25rem;
    color: var(--text);
    width: 100%;
    background: transparent;
}

.hero-search-container .search-icon {
    color: var(--primary);
    opacity: 0.6;
    width: 28px;
    height: 28px;
}

.hero-search-container .btn-search {
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.15rem;
    box-shadow: 0 10px 20px rgba(45, 106, 79, 0.2);
    font-weight: 800;
}

.popular-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.popular-chips span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray);
}

.p-chip {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    background: rgba(149, 213, 178, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

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

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
}

/* SECTION TITLE & BADGE */
.section-title {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.badge-new {
    background: var(--secondary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

/* CITY CHIPS / CARDS */
.city-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.chip {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 15px 20px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.chip:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(45, 106, 79, 0.15);
}

.chip-more {
    background: var(--accent);
    border-color: var(--secondary);
}

.chip-more:hover {
    background: var(--secondary);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(27, 67, 50, 0.08);
}

.card i {
    color: var(--primary);
    margin-bottom: 20px;
}

/* Value card icon box */
.icon-box {
    background: var(--accent);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
}

/* Stats box */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.stat-item span:first-child {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-item span:last-child {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
}

/* SEARCH SYSTEM IMPROVEMENTS */
.search-wrapper-global {
    position: relative;
    width: 100%;
    z-index: 5000;
}

.search-results-global {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff !important;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    z-index: 10000 !important;
    margin-top: 12px;
    max-height: 450px;
    overflow-y: auto;
    display: none;
    border: 1px solid #c0d1c8;
    text-align: left;
    padding: 8px 0;
}

.search-item-global {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #f0f5f2;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text);
    background-color: #ffffff !important;
}

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

.search-item-global:hover {
    background-color: #f1f8f5 !important;
    padding-left: 30px;
}

.search-item-global .icon {
    background: var(--accent);
    color: var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    flex-shrink: 0;
}

.search-item-global .info {
    flex-grow: 1;
}

.search-item-global .info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.search-item-global .info span {
    font-size: 0.9rem;
    color: var(--gray);
}

.search-item-global .postcode {
    background: var(--secondary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* CITY PAGE PREMIUM STYLES */
.city-hero {
    padding: 80px 0 60px;
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: visible;
}

.city-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(27, 67, 50, 0.92), rgba(45, 106, 79, 0.85));
    z-index: 1;
}

.city-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.city-hero-content {
    max-width: 850px;
}

.city-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.city-hero-content .lead {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.t-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.trust-item i {
    color: var(--secondary);
    width: 20px;
    height: 20px;
}

.info-strip {
    background: white;
    padding: 25px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid #f0f0f0;
}

.info-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-strip-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-strip-item i {
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.info-strip-item div strong {
    display: block;
    font-size: 1rem;
    color: var(--primary);
}

.info-strip-item div span {
    font-size: 0.85rem;
    color: var(--gray);
}

.city-main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    padding: 80px 0;
}

/* GET SUPPORT PAGE STYLES */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-wrapper img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow);
    object-fit: cover;
    height: 600px;
    display: block;
}

@media (max-width: 992px) {
    .content-split {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .image-wrapper img {
        height: 400px;
    }
}

.step-list {
    display: grid;
    gap: 25px;
}

.step-list h4 {
    color: var(--primary);
    font-size: 1.1rem;
}

.content-block {
    margin-bottom: 60px;
}

.content-block h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.content-block p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text);
    opacity: 0.9;
}

.highlight-box {
    background: var(--accent);
    padding: 30px;
    border-radius: 20px;
    border-left: 6px solid var(--primary);
    margin: 30px 0;
}

.clinic-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.service-mini-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.service-mini-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow);
}

.service-mini-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.emergency-sidebar {
    position: sticky;
    top: 120px;
}

.emergency-sidebar-card {
    background: #1B4332;
    color: white;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
}

.emergency-sidebar-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.emergency-numbers {
    margin: 30px 0;
    text-align: left;
}

.e-num {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.e-num:last-child {
    border: none;
}

.e-num strong {
    font-size: 1.1rem;
    color: var(--secondary);
}

.nearby-suburbs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.suburb-link-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.suburb-link-card:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-5px);
}

.suburb-link-card strong {
    display: block;
    margin-bottom: 5px;
}

.suburb-link-card span {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* PREMIUM CONTACT PAGE STYLES */
.contact-page-wrapper {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #ffffff 100%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-header {
    margin-bottom: 60px;
}

.contact-badge {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    background: rgba(149, 213, 178, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
}

.contact-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 900;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.6;
    max-width: 600px;
}

.email-card-premium {
    background: #ffffff;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.email-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(149, 213, 178, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.email-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.icon-circle {
    background: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-card-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
}

.email-card-body {
    position: relative;
    z-index: 1;
}

.email-card-body p {
    color: #6b7280;
    margin-bottom: 35px;
    font-size: 1.1rem;
}

.premium-email-link {
    font-size: 1.45rem; /* RE-ADJUSTED FOR ELITE BALANCE */
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: block;
    white-space: nowrap; /* PREVENT WRAPPING */
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-email-link:hover {
    color: var(--secondary);
    transform: translateX(10px);
}

.response-time {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-topics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.topic-item h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.topic-item p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
}

.crisis-card-premium {
    background: #1B4332;
    color: white;
    padding: 50px;
    border-radius: 40px;
    position: sticky;
    top: 120px;
    box-shadow: 0 30px 60px rgba(27, 67, 50, 0.2);
}

.crisis-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.crisis-card-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
}

.crisis-instruction {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 40px;
}

.emergency-stack {
    display: grid;
    gap: 15px; /* TIGHTER SPACING */
}

.emergency-panel {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 25px; /* MORE COMPACT */
    border-radius: 20px;
    border-left: 6px solid var(--secondary);
    transition: all 0.3s ease;
}

.emergency-panel:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.beyond-blue { border-left-color: #00A3AD; }
.kids-helpline { border-left-color: #F4A261; }

.panel-info h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    opacity: 0.8;
}

.panel-number {
    font-size: 1.5rem; /* MORE COMPACT */
    font-weight: 900;
    margin-bottom: 2px;
    color: white;
    white-space: nowrap; /* PREVENT WRAPPING */
}

.panel-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.6;
}

/* FOOTER FIXES */
footer {
    background: #1B4332;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start; /* Ensure titles align at the top */
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-grid h4 {
    margin: 0 0 25px 0; /* Strict margin for titles */
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 700;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-grid ul li a {
    color: #EAF4F4;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-grid ul li a:hover {
    color: var(--secondary);
}

.footer-logo {
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    text-decoration: none;
}

.footer-logo i {
    color: var(--secondary);
}

.footer-desc {
    color: #ccc;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: #95D5B2;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* No JS fallback */
.no-js .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
}

/* INTERNAL LINKING & RELATED PAGES */
.contextual-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
}

.contextual-link:hover {
    color: var(--secondary);
}

.related-pages {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #f0f0f0;
}

.related-pages h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: #f9fbf9;
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-card:hover {
    border-color: var(--secondary);
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(45, 106, 79, 0.05);
}

.related-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.related-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .grid-3, .grid-2, .grid-4, .city-main-layout, .info-strip-grid, .nearby-suburbs-grid, .contact-layout, .related-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-content h1, .city-hero-content h1, .contact-title {
        font-size: 2.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .emergency-sidebar, .crisis-card-premium {
        position: static;
    }
    
    .hero-search-container {
        flex-direction: column;
        border-radius: 30px;
        padding: 20px;
    }
    .hero-search-container .btn-search {
        width: 100%;
        margin-top: 15px;
    }
    .hero-search-container .search-input-group {
        width: 100%;
        padding-left: 0;
    }
    .city-chips {
        grid-template-columns: 1fr 1fr;
    }
    .email-card-premium {
        padding: 40px 30px;
    }
    .premium-email-link {
        font-size: 1.2rem; /* REDUCED FOR MOBILE FIT */
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .header-cta {
        display: none;
    }
    .hero-small h1 {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .contact-topics-grid {
        grid-template-columns: 1fr;
    }
}