:root {
    --primary-green: #006B3F;
    --primary-hover: #005632;
    --text-dark: #121212;
    --text-light: #5f6368;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

* {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-thumb {
    background: #005632;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #d3d3d3;
    border-radius: 10px;
}

body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(0, 222, 180, 0.06), transparent 8%),
        linear-gradient(180deg, #020202 0%, #050505 100%);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    scroll-behavior: smooth;
}


a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'poppins', sans-serif;
    background-color: var(--bg-light);
    /* Subtle mesh gradient for that "Smart" look */
    background-image: radial-gradient(at 0% 0%, rgba(0, 107, 63, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 107, 63, 0.03) 0px, transparent 50%);
    color: var(--text-dark);
    margin: 0;
    overflow-x: hidden;
}

/* Header Refinement */
.main-header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 60px;
    top: 0;
    z-index: 1000;
}

.logo {
    position: relative;
    display: flex;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo img {
    position: relative;
    bottom: 5px;
    width: 32px;
    margin-right: -5px;
}

.logo span {
    color: var(--primary-green);
}

nav {
    position: relative;
    width: 50%;
    display: flex;
    justify-content: flex-start;
}

.mobile-menu{
    display: none;
}

ul {
    position: relative;
    display: flex;
    column-gap: 30px;
}

ul li {
    position: relative;
    display: block;
    width: fit-content;
    font-size: 14px;
    font-weight: bold;
}

ul li:hover {
    color: green;
}

/* Hero Section Refinement */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    text-align: center;
    overflow: hidden;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(../img/lagos.webp);
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.2;
    background-position: top;
}

.hero-container {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    margin: 0 auto;
}

.badge-container {
    position: relative;
    width: fit-content;
    background: rgba(154, 255, 154, 0.26);
    border: 1px solid green;
    height: auto;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 13px;
    margin: 0 auto 20px auto;
    display: block;
    cursor: pointer;
}

h1 {
    position: relative;
    font-size: 55px;
    /* Responsive font sizing */
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(120deg, var(--primary-green) 0%, #00a862 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Responsive Buttons */
.hero-ctas {
    position: relative;
    width: fit-content;
    display: flex;
    gap: 12px;
    margin: 0 auto;
}

.btn-primary,
.btn-outline {
    width: 100%;
    max-width: fit-content;
    padding: 18px 30px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-family: poppins;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 14px rgba(0, 107, 63, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 107, 63, 0.3);
}

.btn-outline {
    background: var(--white);
    border: 0.6px solid green;
    color: var(--text-dark);
}

.btn-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/*///////////////////////////////////////////*/
/*///////////////////////////////////////////*/

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ticker-title {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-green);
    margin-bottom: 25px;
    opacity: 0.8;
}

.ticker {
    display: flex;
    width: 100%;
}

.ticker-track {
    display: flex;
    gap: 60px;
    animation: scroll 30s linear infinite;
    width: max-content;
    /* Critical for seamless loop */
}

.sign-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 100px;
}

.sign-item img {
    position: relative;
    width: 45px;
    height: 45px;
    /*    filter: grayscale(100%);*/
    /* Keeps the "Smart" look clean */
    transition: filter 0.3s ease;
    opacity: 0.6;
}

.sign-item:hover img {
    filter: grayscale(0%);
    /* Pops on hover */
    opacity: 1;
}

.sign-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Infinity Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Scrolls exactly half the width */
}

/*///////////////////////////////////////////*/
/*///////////////////////////////////////////*/

/* Section Layout */
.map-section {
    padding: 60px 8% 100px;
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Responsive Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Smart Card Design */
.park-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.park-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-green);
}

.park-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #e6f0ec;
    color: var(--primary-green);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.park-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.park-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

/* The Navigation Deep-Link Button */
.btn-card-link {
    display: block;
    width: 100%;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.park-card:hover .btn-card-link {
    background: var(--primary-green);
    color: #ffffff;
    border-color: var(--primary-green);
}

/* Fast-Load Shimmer Animation */
.skeleton-card {
    height: 250px;
    background: linear-gradient(90deg, #f6f7f8 25%, #edeef1 50%, #f6f7f8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 24px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/*///////////////////////////////////////////*/
/*///////////////////////////////////////////*/


.laws-section {
    padding: 80px 8%;
    background: #fcfcfc;
}

.law-search-container {
    max-width: 600px;
    margin: 0 auto 40px;
}

#lawSearch {
    width: 100%;
    padding: 18px 25px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    box-shadow: var(--soft-shadow);
    outline: none;
    transition: 0.3s;
}

#lawSearch:focus {
    border-color: var(--primary-green);
}

/* Table Styling */
.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    border: 1px solid #f0f0f0;
}

.fine-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.fine-table th {
    background: #f8fafc;
    padding: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-green);
    border-bottom: 2px solid #f0f0f0;
}

.fine-table td {
    padding: 20px;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.fine-table tr:hover {
    background: #f0f7f4;
}


/*///////////////////////////////////////////*/
/*///////////////////////////////////////////*/

.main-footer {
    background: #111111;
    color: #ffffff;
    padding: 80px 8% 40px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.footer-brand{
    position: relative;
    margin-bottom: 20px;
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 0px;
}

.footer-brand p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    height: 10px;
}

.footer-links{
    position: relative;
    margin-bottom: 20p
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    height: 9px;
}

.footer-links ul {
    list-style: none;
    display: block;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-green);
}

/* Newsletter Form */
.footer-form {
    display: flex;
    gap: 10px;
}

.footer-form input {
    background: #222;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 8px;
    color: white;
    width: 100%;
}

.footer-form button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 20px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}