/* ============================================= */
/* Whidbey Island Horse Council - styles.css     */
/* Pure custom CSS – exactly like ironmillsranch.com */
/* ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Raleway', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #222222;
    overflow-x: hidden;
}

/* ====================== HEADER ====================== */
/* Taller header + much more visible logo */
.header-bg {
    background-color: #0a2540;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    height: 68px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1;
    color: white !important;
}

.logo-text small {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    color: #f8d48c !important;
    margin-top: -2px;
}

.logo-container a {
    text-decoration: none;
    color: inherit;
}

/* Hover effect – only “Whidbey Island” turns gold */
.logo-container a:hover .logo-text {
    color: #f8d48c !important;
}
.logo-container a:hover .logo-text small {
    color: #f8d48c !important;
}

/* Hamburger */
.hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255,255,255,0.2);
}

/* Desktop nav */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 32px;
    font-size: 1.05rem;
    font-weight: 500;
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.desktop-nav a:hover {
    color: #f8d48c;
}

/* ====================== MOBILE HEADER ADJUSTMENTS ====================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 20px 24px;
    }
    .logo-container img {
        height: 58px;
    }
    .logo-text {
        font-size: 1.9rem;
    }
    .hamburger {
        width: 48px;
        height: 48px;
    }
}

/* ====================== NEW MOBILE MENU (Right-side drawer) ====================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background-color: #0a2540;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1200;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 1300;
}

.mobile-menu nav {
    margin-top: 70px;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.mobile-menu a:hover {
    color: #f8d48c;
}

.mobile-menu .chevron {
    transition: transform 0.3s ease;
}

.mobile-menu a[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* Accordion sub-menus */
.mobile-menu .accordion-item {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.mobile-menu .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.mobile-menu .accordion-header:hover {
    color: #f8d48c;
}

.mobile-menu .accordion-header[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.mobile-menu .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.mobile-menu .accordion-content.open {
    max-height: 400px;
}

.mobile-menu .accordion-content a {
    display: block;
    padding: 12px 0;
    color: #ddd;
    font-size: 1.1rem;
    text-decoration: none;
}

.mobile-menu .accordion-content a:hover {
    color: #f8d48c;
}

/* ====================== HERO SECTION (Text LEFT • Picture RIGHT) ====================== */
.hero {
    background-image: linear-gradient(rgba(10, 37, 64, 0.55), rgba(10, 37, 64, 0.55)),
                      url('https://picsum.photos/id/1015/2000/1200'); /* ← CHANGE THIS to your real trail photo */
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content,
.hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* Desktop: Text LEFT | Background photo RIGHT */
@media (min-width: 992px) {
    .hero-content,
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text-panel {
    background-color: rgba(255,255,255,0.95);
    color: #0a2540;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    max-width: 480px;
    margin-right: auto;           /* sticks to LEFT side */
    margin-left: 0;
}

/* Optional: If you have a separate <img> inside the hero, hide it on desktop so the background shows cleanly */
.hero img {
    display: none;
}

@media (min-width: 992px) {
    .hero img {
        display: block;   /* only show if you want a foreground image */
    }
}

.cta-button {
    display: inline-block;
    background-color: #0a2540;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #1a3a5e;
    transform: translateY(-3px);
}

/* ====================== QUICK LINK CARDS ====================== */
.quick-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    border-color: #f8d48c;
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.card-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border-radius: 16px;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 8px;
}

.card-content p {
    color: #555;
    font-size: 1.05rem;
}

.card-arrow {
    font-size: 2rem;
    color: #ccc;
    margin-left: auto;
    transition: all 0.3s ease;
}

.card:hover .card-arrow {
    color: #f8d48c;
    transform: translateX(4px);
}

/* ====================== FOOTER ====================== */
.footer {
    background-color: #0a2540;
    color: #ddd;
    padding: 80px 24px 60px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 48px;
}

.footer p {
    max-width: 340px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.footer-column h4 {
    color: #f8d48c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-social a {
    color: #ddd;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-social a:hover {
    color: #f8d48c;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.95rem;
    color: #aaa;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hero-text-panel {
        margin: 0 auto;
    }
    .hero-text-panel h1 {
        font-size: 2.8rem;
    }
    .quick-grid {
        grid-template-columns: 1fr;
    }
}

/* Wider margins for all sub-pages */
.main-content {
    padding: 100px 40px 80px !important;
    max-width: 1280px;
    margin: 0 auto;
}

.content-wrapper,
.content-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper p {
    margin-bottom: 1.8rem;
}

.content-wrapper p:last-child {
    margin-bottom: 0;
}

/* ====================== EVENTS PAGE ====================== */
.category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.category-btn {
    padding: 14px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.05rem;
    background: white;
    color: #0a2540;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-btn:hover {
    background: #f8d48c;
    border-color: #f8d48c;
    color: #0a2540;
}

.category-btn.active {
    background: #0a2540;
    color: white;
    border-color: #0a2540;
    box-shadow: 0 10px 15px -3px rgb(10 37 64 / 0.2);
}

.event-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.event-card:hover {
    border-color: #f8d48c;
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.event-category {
    background: #fefce8;
    color: #854d0e;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.event-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0a2540;
}

.event-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0a2540;
    line-height: 1.2;
    margin-bottom: 12px;
}

.event-desc {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
    font-size: 1.05rem;
    color: #555;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: #f8d48c;
    width: 20px;
}

.event-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-register {
    background-color: #0a2540;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-register:hover {
    background-color: #1a3a5e;
    transform: translateY(-2px);
}

.btn-details {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    padding: 14px 24px;
    transition: color 0.3s ease;
}

.btn-details:hover {
    color: #0a2540;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
}

#no-events {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

#no-events p:first-child {
    font-size: 1.4rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    .category-btn {
        padding: 12px 22px;
        font-size: 1rem;
    }
}

/* ====================== CONTACT PAGE ====================== */
.contact-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.contact-title {
    font-family: 'Raleway', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.05;
    text-align: center;
    margin-bottom: 60px;
    color: #0a2540;
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2.8rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.15rem;
    font-family: 'Raleway', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0a2540;
    box-shadow: 0 0 0 4px rgba(10, 37, 64, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px;
}

.send-button {
    background-color: #111111;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.send-button:hover {
    background-color: #222222;
    transform: translateY(-3px);
}

/* Contact success message */
.success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 24px;
    max-width: 560px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease forwards;
}

.success-container i {
    font-size: 4.8rem;
    color: #166534;
    margin-bottom: 24px;
}

#error-message i {
    color: #c0392b;
}

.success-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 12px;
}

.success-container p {
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 8px;
}

.success-container button {
    background-color: #0a2540;
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 16px 44px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.success-container button:hover {
    background-color: #1a3a5e;
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================== ABOUT PAGE CAROUSEL ====================== */
.carousel-section {
    margin-top: 80px;
    padding: 60px 0;
    background: #0a2540;
    color: white;
    border-radius: 24px;
    position: relative;
}

.carousel-header {
    text-align: center;
    margin-bottom: 40px;
}

.carousel-header span {
    display: inline-block;
    background: #f8d48c;
    color: #0a2540;
    padding: 4px 20px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.carousel-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 16px 0 8px;
    letter-spacing: -1px;
}

.carousel-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 460px;
    object-fit: contain;
    background-color: #0a2540;
    display: block;
    border-radius: 20px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f8d48c;
    color: #0a2540;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgb(10 37 64 / 0.3);
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    background: #e8c46c;
    transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev { left: 20px; }
.carousel-arrow.next { right: 20px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #f8d48c;
    width: 28px;
    border-radius: 9999px;
}

@media (max-width: 768px) {
    .carousel-slide img { height: 380px; }
    .carousel-container { padding: 0 40px; }
}

/* ====================== MONTHLY MEETINGS PAGE ====================== */
.next-meeting-box {
    background: white;
    border: 3px solid #f8d48c;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 10px 25px rgba(10, 37, 64, 0.1);
}

.next-meeting-box h2 {
    color: #0a2540;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.next-meeting-box .date {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 8px;
}

.next-meeting-box .time-location {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 24px;
}

.meetings-list {
    max-width: 900px;
    margin: 0 auto;
}

.meeting-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.meeting-card:hover {
    border-color: #f8d48c;
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(10, 37, 64, 0.08);
}

.meeting-info h3 {
    font-size: 1.35rem;
    color: #0a2540;
    margin-bottom: 6px;
}

.meeting-info p {
    color: #555;
    margin: 0;
}

.minutes-link {
    background: #0a2540;
    color: white;
    padding: 12px 28px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.minutes-link:hover {
    background: #1a3a5e;
}

/* ====================== TRAIL SAFETY PAGE ====================== */
.safety-btn {
    padding: 14px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.05rem;
    background: white;
    color: #0a2540;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.safety-btn:hover {
    background: #f8d48c;
    border-color: #f8d48c;
}

.safety-btn.active {
    background: #0a2540;
    color: white;
    border-color: #0a2540;
}

.safety-content {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 30px;
    display: none;
}

.safety-content.active {
    display: block;
}

.safety-content h3 {
    color: #0a2540;
    margin-bottom: 16px;
}

/* Key resources */
.key-resources {
    max-width: 900px;
    margin: 0 auto 50px;
}

.key-resources h3 {
    color: #0a2540;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.key-resources ul {
    list-style: none;
    padding: 0;
    line-height: 1.9;
    font-size: 1.1rem;
}

.key-resources li {
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
}

.key-resources li::before {
    content: "•";
    color: #f8d48c;
    font-size: 1.6rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.key-resources a {
    color: #0a2540;
    text-decoration: none;
    font-weight: 600;
}

.key-resources a:hover {
    color: #f8d48c;
    text-decoration: underline;
}
/* ============================================= */
/* WHIDBEY EQUINE DIRECTORY STYLES               */
/* ============================================= */

.directory-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
}

.directory-controls input {
    flex: 1;
    min-width: 280px;
    padding: 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'Raleway', sans-serif;
}

.directory-controls input:focus {
    outline: none;
    border-color: #0a2540;
    box-shadow: 0 0 0 4px rgba(10, 37, 64, 0.1);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-btn {
    padding: 10px 22px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    background: white;
    color: #0a2540;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-btn:hover {
    background: #f8d48c;
    border-color: #f8d48c;
}

.category-btn.active {
    background: #0a2540;
    color: white;
    border-color: #0a2540;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.directory-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.directory-card:hover {
    border-color: #f8d48c;
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.directory-card .service-badge {
    display: inline-block;
    background: #fefce8;
    color: #854d0e;
    padding: 4px 16px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.directory-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 8px;
}

.directory-card .contact-name {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 16px;
}

.directory-card .meta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1.05rem;
}

.directory-card .meta a {
    color: #0a2540;
    text-decoration: none;
    font-weight: 500;
}

.directory-card .meta a:hover {
    color: #f8d48c;
}

.directory-card .remove-request {
    margin-top: 16px;
    font-size: 0.95rem;
    color: #666;
    text-align: right;
}

.directory-card .remove-request a {
    color: #854d0e;
    text-decoration: underline;
}

.add-section {
    margin-top: 80px;
    padding: 48px;
    background: #f8f5eb;
    border-radius: 24px;
}

.add-section h2 {
    color: #0a2540;
    margin-bottom: 12px;
}

.contact-form .checkbox-group,
.contact-form .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}

.contact-form .checkbox-group label,
.contact-form .radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    color: #222;
}

.contact-form input[type="checkbox"],
.contact-form input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #0a2540;
}

.contact-form select {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.15rem;
    font-family: 'Raleway', sans-serif;
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230a2540' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 48px;
}

.contact-form select:focus {
    outline: none;
    border-color: #0a2540;
    box-shadow: 0 0 0 4px rgba(10, 37, 64, 0.1);
}

@media (max-width: 768px) {
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .directory-controls {
        flex-direction: column;
        align-items: stretch;
    }
}
/* ====================== UTILITIES ====================== */
.hidden {
    display: none !important;
}

.text-amber {
    color: #f8d48c;
}
