
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #24332b;
    background: #f6f8f5;
}

.navbar {
    background: #075c37;
    padding: 20px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    font-size: 23px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 22px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    min-height: 420px;
    background: linear-gradient(135deg, #075c37, #16834e);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px;
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 55px);
    margin-bottom: 20px;
}

.hero p {
    font-size: 19px;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    background: #f4c430;
    color: #173a27;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
}

.regions-section,
.about-section {
    padding: 65px 7%;
    text-align: center;
}

.regions-section h2,
.about-section h2 {
    font-size: 32px;
}

#regionSearch {
    display: block;
    width: 100%;
    max-width: 450px;
    padding: 15px;
    margin: 30px auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.region-card {
    display: block;
    background: white;
    padding: 35px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #24332b;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.region-card[hidden] {
    display: none;
}

.region-icon {
    font-size: 30px;
}

.region-card h3 {
    color: #075c37;
}

.about-section {
    background: #e8f2eb;
}

.about-section p {
    max-width: 750px;
    margin: auto;
    line-height: 1.8;
}

footer {
    background: #063d26;
    color: white;
    padding: 25px;
    text-align: center;
}

@media (max-width: 600px) {
    .navbar {
        justify-content: center;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.region-page {
    padding: 60px 7%;
    min-height: 70vh;
    text-align: center;
}

.region-page h1 {
    font-size: 36px;
    color: #075c37;
}

.back-link {
    margin-top: 40px;
}

.back-link a {
    color: #075c37;
    font-weight: bold;
    text-decoration: none;
}

.attraction-page {
    max-width: 950px;
    min-height: 70vh;
    margin: 0 auto;
    padding: 60px 7%;
    line-height: 1.8;
}

.attraction-page h1 {
    color: #075c37;
    font-size: 38px;
}

.attraction-page h2 {
    color: #075c37;
    margin-top: 35px;
}

.attraction-region {
    font-weight: bold;
    color: #666;
}

.attraction-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 20px;
}

.attraction-page .btn {
    margin-top: 30px;
}

/* Attraction images on region cards */
.region-attraction-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Placeholder when an attraction has no photo */
.region-image-placeholder {
    height: 180px;
    background: #e8f2eb;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #075c37;
    margin-bottom: 15px;
}

.region-image-placeholder span {
    font-size: 40px;
}

.region-image-placeholder p {
    font-size: 14px;
}

/* View details text */
.view-details {
    display: inline-block;
    margin-top: 12px;
    color: #075c37;
    font-weight: bold;
}

/* Improve region card appearance */
.region-card {
    text-align: left;
    overflow: hidden;
}

.region-card:hover .view-details {
    text-decoration: underline;
}

/* Fix large image on attraction details page */
.attraction-page .attraction-image {
    display: block;
    width: 100%;
    max-width: 750px;
    height: 350px;
    max-height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    margin: 25px auto;
}

/* Make images fit smaller phone screens */
@media (max-width: 600px) {
    .attraction-page .attraction-image {
        height: 220px;
        max-height: 220px;
    }
}

/* Google Maps button */
.map-button {
    display: inline-block;
    background-color: #087c47;
    color: white;
    padding: 14px 25px;
    margin-top: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.map-button:hover {
    background-color: #055c34;
}
/* Administrator setup */

.admin-setup {
    max-width: 450px;
    margin: 70px auto;
    padding: 35px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.admin-setup h1 {
    color: #075c37;
    text-align: center;
}

.admin-setup form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-setup label {
    font-weight: bold;
}

.admin-setup input {
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 16px;
}

.admin-setup button {
    background: #075c37;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 7px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.admin-setup button:hover {
    background: #087c47;
}

/* Admin login error */
.login-error {
    color: #b42318;
    background: #fff0ee;
    border: 1px solid #f5c2bd;
    padding: 12px;
    border-radius: 7px;
}

/* Admin dashboard */
.dashboard {
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 7%;
    min-height: 75vh;
}

.dashboard h1 {
    color: #075c37;
    font-size: 36px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 35px 0;
}

.dashboard-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.dashboard-card h2 {
    color: #075c37;
    font-size: 42px;
    margin: 0 0 12px;
}

.dashboard-card p {
    font-weight: bold;
}

.dashboard-actions {
    background: #e8f2eb;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

/* Add attraction form */
.admin-setup select,
.admin-setup textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.admin-setup textarea {
    resize: vertical;
}

.form-success {
    color: #075c37;
    background: #e8f2eb;
    border: 1px solid #b4d9c1;
    padding: 12px;
    border-radius: 7px;
}
/* Attraction image upload field */

.admin-setup input[type="file"] {
    background: #f6f8f5;
    padding: 15px;
    border: 2px dashed #087c47;
    border-radius: 8px;
    cursor: pointer;
}

.admin-setup small {
    color: #666;
    font-size: 13px;
}

/* Manage attractions table */

.manage-table-wrapper {
    margin-top: 30px;
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.manage-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.manage-table th,
.manage-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.manage-table th {
    background: #075c37;
    color: white;
}

.manage-table tr:hover {
    background: #f6f8f5;
}

.manage-thumbnail {
    width: 85px;
    height: 65px;
    object-fit: cover;
    border-radius: 7px;
}
/* Edit attraction */

.edit-preview {
    width: 100%;
    max-width: 350px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.edit-button {
    display: inline-block;
    background: #075c37;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 8px;
}

.edit-button:hover {
    background: #087c47;
}
/* Delete attraction button */

.delete-form {
    display: inline-block;
    margin-left: 8px;
}

.delete-button {
    background: #c62828;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.delete-button:hover {
    background: #a51d1d;
}
/* Fix View, Edit and Delete button layout */

.manage-table td:last-child {
    white-space: nowrap;
}

.manage-table .edit-button {
    display: inline-block;
    background: #087c47;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    margin-left: 8px;
    font-size: 14px;
    font-weight: normal;
    vertical-align: middle;
}

.manage-table .delete-form {
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
}

.manage-table .delete-button {
    display: inline-block;
    background: #c62828;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
}

/* Manage Attractions - Action Buttons */

.manage-table .attraction-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.manage-table .attraction-actions a,
.manage-table .attraction-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    border: none;
    cursor: pointer;
    margin: 0;
    width: auto;
    min-width: 0;
}

.manage-table .attraction-actions form {
    display: inline-flex;
    margin: 0;
    padding: 0;
    width: auto;
    background: transparent;
    box-shadow: none;
}

.manage-table .attraction-actions .action-view {
    background: #e8f0fe;
    color: #1456a0;
}

.manage-table .attraction-actions .action-edit {
    background: #087c47;
    color: white;
}

.manage-table .attraction-actions .action-delete {
    background: #c62828;
    color: white;
}

.manage-table .attraction-actions .action-edit:hover {
    background: #075c37;
}

.manage-table .attraction-actions .action-delete:hover {
    background: #a51d1d;
}
/* FINAL FIX: Manage Attractions action buttons */

.manage-table td .attraction-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    min-width: max-content;
}

.manage-table td .attraction-actions a,
.manage-table td .attraction-actions button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 15px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    width: auto !important;
    color: white !important;
    cursor: pointer;
}

.manage-table td .attraction-actions .action-view {
    background: #2563eb !important;
}

.manage-table td .attraction-actions .action-edit {
    background: #087c47 !important;
}

.manage-table td .attraction-actions .action-delete {
    background: #c62828 !important;
}

.manage-table td .attraction-actions form {
    display: inline-flex !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
/* Fullscreen Photo Gallery */

.gallery-clickable {
    cursor: zoom-in;
}

.gallery-clickable:focus-visible {
    outline: 4px solid #ffc107;
    outline-offset: -4px;
}

.fullscreen-gallery {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 55px 65px;
    box-sizing: border-box;
}

.fullscreen-gallery[hidden] {
    display: none !important;
}

.fullscreen-gallery img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.fullscreen-close {
    position: absolute;
    top: 15px;
    right: 25px;
    background: transparent;
    border: none;
    color: white;
    font-size: 42px;
    cursor: pointer;
}

.fullscreen-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 28px;
    cursor: pointer;
}

.fullscreen-prev {
    left: 10px;
}

.fullscreen-next {
    right: 10px;
}

.fullscreen-counter {
    position: absolute;
    bottom: 20px;
    color: white;
    font-size: 16px;
}

@media (max-width: 600px) {
    .fullscreen-gallery {
        padding: 60px 15px;
    }

    .fullscreen-arrow {
        font-size: 20px;
        padding: 10px;
    }

    .fullscreen-close {
        right: 15px;
    }
}
/* ====================================
   DISCOVER GHANA - VISITOR INFORMATION
==================================== */

.visitor-info-section {
    margin-top: 40px;
    margin-bottom: 35px;
}

.visitor-info-section h2 {
    color: #075c37;
    font-size: 28px;
    margin-bottom: 10px;
}

.visitor-info-intro {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.visitor-info-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    );
    gap: 18px;
    margin-bottom: 25px;
}

.visitor-info-card {
    background: #f4f9f5;
    border: 1px solid #dcebe0;
    border-radius: 12px;
    padding: 22px;
    transition: transform 0.2s ease;
}

.visitor-info-card:hover {
    transform: translateY(-4px);
}

.visitor-info-icon {
    font-size: 30px;
    margin-bottom: 12px;
}

.visitor-info-card h3 {
    color: #075c37;
    font-size: 17px;
    margin-bottom: 10px;
}

.visitor-info-card p {
    color: #444;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Friendly visitor tips */

.visitor-tips-box {
    background: #fff9e8;
    border-left: 5px solid #f2b705;
    border-radius: 10px;
    padding: 25px;
    margin-top: 25px;
}

.visitor-tips-box h3 {
    color: #785500;
    font-size: 21px;
    margin-bottom: 15px;
}

.visitor-tips-box p {
    color: #444;
    line-height: 1.9;
    font-size: 16px;
}

/* Mobile adjustments */

@media (max-width: 600px) {
    .visitor-info-section h2 {
        font-size: 24px;
    }

    .visitor-info-grid {
        grid-template-columns: 1fr;
    }

    .visitor-info-card {
        padding: 18px;
    }

    .visitor-tips-box {
        padding: 20px;
    }
}
/* =====================================
   EXPLORE GHANA HOMEPAGE IMPROVEMENTS
===================================== */

/* Real Ghana flag in navigation */

.ghana-flag {
    width: 36px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
    display: inline-block;
    vertical-align: middle;
}

/* Real Ghana flag above heading */

.hero-flag {
    margin-bottom: 20px;
}

.hero-flag-image {
    width: 75px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Beautiful nature background */

.hero {
    position: relative;

    background-image:
        linear-gradient(
            rgba(0, 45, 25, 0.65),
            rgba(0, 55, 30, 0.72)
        ),
        url("images/ghana-nature.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 80px 20px;
    box-sizing: border-box;
}

/* Hero content */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

/* Main heading */

.hero-content h1 {
    color: white;
    font-size: clamp(36px, 5vw, 76px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
}

/* Description */

.hero-content p {
    color: white;
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Yellow explore button */

.hero-content .btn {
    display: inline-block;
    background: #f6c52e;
    color: #073c26;
    padding: 16px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: 0.2s ease;
}

.hero-content .btn:hover {
    background: #ffd84d;
    transform: translateY(-3px);
}

/* Mobile responsiveness */

@media (max-width: 600px) {

    .hero {
        min-height: 550px;
        padding: 70px 18px;
    }

    .hero-flag-image {
        width: 60px;
        height: 40px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-content .btn {
        font-size: 16px;
        padding: 14px 24px;
    }

    .ghana-flag {
        width: 30px;
        height: 20px;
    }
}
/* =====================================
   EXPLORE GHANA - HERO SLIDESHOW
===================================== */

/* Main hero section */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 650px;
    padding: 80px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    box-sizing: border-box;

    /* Remove the old static background */
    background: #075c37;
}

/* Slideshow container */

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

/* Individual photographs */

.hero-slide {
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Visible photograph */

.hero-slide.active {
    opacity: 1;
}

/* Transparent overlay */

.hero-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(0, 30, 15, 0.25),
        rgba(0, 30, 15, 0.45)
    );

    z-index: -1;
    pointer-events: none;
}

/* Main welcome content */

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 35px;
}

/* Main heading */

.hero-content h1 {
    color: white;
    font-size: clamp(36px, 5vw, 76px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
}

/* Description */

.hero-content p {
    color: white;
    font-size: clamp(17px, 2vw, 23px);
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Ghana flag */

.hero-flag {
    margin-bottom: 20px;
}

.hero-flag-image {
    width: 75px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Yellow button */

.hero-content .btn {
    display: inline-block;

    background: #f6c52e;
    color: #073c26;

    padding: 16px 30px;
    border-radius: 10px;

    text-decoration: none;
    font-size: 18px;
    font-weight: 700;

    transition: 0.2s ease;
}

.hero-content .btn:hover {
    background: #ffd84d;
    transform: translateY(-3px);
}

/* =====================================
   NAVIGATION DOTS
===================================== */

.hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);

    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Individual dots */

.hero-dot {
    width: 13px;
    height: 13px;

    padding: 0;
    border: 2px solid white;
    border-radius: 50%;

    background: transparent;
    cursor: pointer;

    transition: 0.3s ease;
}

/* Active dot */

.hero-dot.active {
    background: #f6c52e;
    border-color: #f6c52e;
    transform: scale(1.2);
}

.hero-dot:hover {
    background: white;
}

.hero-dot:focus-visible {
    outline: 3px solid #f6c52e;
    outline-offset: 4px;
}

/* =====================================
   MOBILE RESPONSIVENESS
===================================== */

@media (max-width: 600px) {

    .hero {
        min-height: 550px;
        padding: 70px 18px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 17px;
    }

    .hero-content .btn {
        font-size: 16px;
        padding: 14px 24px;
    }

    .hero-flag-image {
        width: 60px;
        height: 40px;
    }

    .hero-dots {
        bottom: 20px;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {

    .hero-slide {
        transition: none;
    }

    .hero-content .btn,
    .hero-dot {
        transition: none;
    }
}
/* =====================================
   EXPLORE GHANA - ANALYTICS DASHBOARD
===================================== */

/* Dashboard layout */

.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* Statistics cards */

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin: 35px 0 50px;
}

.analytics-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;

    border-top: 5px solid #087a46;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

    transition: transform 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-5px);
}

.analytics-icon {
    font-size: 38px;
    margin-bottom: 15px;
}

.analytics-card h2 {
    font-size: 42px;
    color: #087a46;
    margin: 10px 0;
}

.analytics-card p {
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

/* Different card accents */

.analytics-card:nth-child(2),
.analytics-card:nth-child(5) {
    border-top-color: #f2b705;
}

.analytics-card:nth-child(3),
.analytics-card:nth-child(6) {
    border-top-color: #d62828;
}

/* =====================================
   MOST VIEWED ATTRACTIONS
===================================== */

.top-attractions-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.top-attractions-section h2 {
    color: #075c37;
    margin-bottom: 10px;
}

.top-attractions-section > p {
    color: #666;
    margin-bottom: 25px;
}

/* Scrollable table on small screens */

.analytics-table-wrapper {
    overflow-x: auto;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.analytics-table th {
    background: #087a46;
    color: white;
    padding: 15px;
    text-align: left;
}

.analytics-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.analytics-table tbody tr:hover {
    background: #f4faf6;
}

.analytics-table a {
    color: #087a46;
    font-weight: 600;
    text-decoration: none;
}

.analytics-table a:hover {
    text-decoration: underline;
}

.analytics-empty {
    background: #f4faf6;
    padding: 20px;
    border-radius: 10px;
    color: #555;
}

/* =====================================
   RESPONSIVE DESIGN
===================================== */

@media (max-width: 900px) {

    .analytics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .analytics-card h2 {
        font-size: 36px;
    }

    .top-attractions-section {
        padding: 20px 15px;
    }

}

/* Explore Ghana: photographic homepage region cards */
.regions-section .region-card { padding: 0; overflow: hidden; text-align: left; }
.regions-section .region-cover { display: block; width: 100%; height: 175px; object-fit: cover; }
.regions-section .region-cover-fallback { display: flex; align-items: center; justify-content: center; font-size: 42px; background: linear-gradient(135deg,#cce6d3,#7ab59a); color: #075c37; }
.regions-section .region-card-body { padding: 18px 20px 22px; }
.regions-section .region-card-body h3 { margin: 0 0 10px; }
.regions-section .region-card-body p { margin: 0; }
/* Explore Ghana: contact form */
.contact-section { padding: 65px 7%; background: #f6f8f5; }
.contact-panel { max-width: 720px; margin: 0 auto; padding: 32px; border-radius: 16px; background: white; box-shadow: 0 5px 22px rgba(0,0,0,.08); }
.contact-panel h2 { margin-top: 0; color: #075c37; font-size: 30px; }
.contact-form { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.contact-form label { font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px; border: 1px solid #b6c9bd; border-radius: 8px; font: inherit; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid #8fcba7; outline-offset: 1px; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.contact-notice { padding: 13px 16px; border-radius: 8px; }
.contact-success { background: #e5f5e9; color: #075c37; }
.contact-error { background: #ffeded; color: #9b2424; }
.contact-privacy { font-size: 13px; color: #555; line-height: 1.5; }
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media(max-width:600px) { .contact-panel { padding: 22px 18px; } }
/* ==========================================
   EXPLORE GHANA - FINAL MOBILE IMPROVEMENTS
========================================== */

@media (max-width: 600px) {

    /* Navigation */

    .navbar {
        padding: 20px 15px;
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .navbar .logo {
        font-size: 23px;
        justify-content: center;
    }

    .navbar nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .navbar nav a {
        font-size: 14px;
        white-space: nowrap;
    }

    /* Homepage heading */

    .hero-content h1 {
        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.2;
    }

    /* Homepage description */

    .hero-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    /* Explore Regions button */

    .hero-content .btn {
        font-size: 16px;
        padding: 14px 24px;
    }

    /* Regions heading */

    .regions-section h2 {
        font-size: 27px;
        line-height: 1.3;
    }

    /* Regions section spacing */

    .regions-section {
        padding: 50px 18px;
    }

    /* Region cards */

    .region-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* About section */

    .about-section {
        padding: 50px 18px;
    }

    .about-section h2 {
        font-size: 27px;
    }
}