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

:root {
    --primary-green: #2ECC71;
    --primary-green-dark: #1e8449;
    --dark-bg: #0a0f0c;
    --darker-bg: #060a08;
    --card-bg: #111813;
    --card-bg-soft: #0f1611;
    --text-light: #e8e8e8;
    --text-muted: #9aa39c;
    --border-color: #1f2a23;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    color: var(--primary-green);
    text-decoration: none;
}

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

.section-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Navigation */
header {
    background-color: var(--darker-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.logo {
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    width: 28px;
    height: 28px;
}

.logo-mark svg {
    width: 26px;
    height: 26px;
}

.logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    letter-spacing: 0.5px;
}

.logo-text strong {
    color: var(--text-light);
    font-weight: 800;
}

.logo-text span {
    color: var(--primary-green);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-light);
    transition: color 0.3s;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn {
    padding: 0.55rem 1.4rem;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #06120b;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #27c069;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: rgba(46, 204, 113, 0.1);
}

.btn-pill {
    border-radius: 999px;
    padding: 0.65rem 1.8rem;
    font-size: 0.8rem;
}

/* Full-width sections */
.hero-wrapper,
.features-section,
.categories-section,
.offers-section,
.testimonials-section {
    width: 100%;
}

.hero-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.features-section {
    margin-bottom: 3rem;
}

.categories-section {
    margin-bottom: 3rem;
}

.offers-section {
    margin-bottom: 3rem;
}

.testimonials-section {
    margin-bottom: 3rem;
}

/* Hero Section */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 420px;
    padding: 3rem 2rem;
    background-color: #0a0f0c;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 480px;
    flex-shrink: 0;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.3px;
}

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

.hero-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
}

.hero-buttons .btn {
    padding: 0.55rem 1.3rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 24px;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
    z-index: 5;
    margin-left: auto;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #0a0f0c 0%, rgba(10, 15, 12, 0.9) 10%, rgba(10, 15, 12, 0.7) 25%, rgba(10, 15, 12, 0.3) 50%, transparent 85%);
    z-index: 2;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-pin {
    position: absolute;
    left: 14%;
    bottom: 1.5rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-pin-icon {
    color: var(--primary-green);
    display: inline-flex;
}

.hero-pin-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-pin-text strong {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 0 4rem 0;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-3px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 204, 113, 0.12);
    color: var(--primary-green);
    flex-shrink: 0;
}

.feature-card h3 {
    margin-bottom: 0.35rem;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Categories Section */
.categories-section {
    margin: 4rem 0;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 0 4rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.15rem;
    color: var(--primary-green);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.view-all {
    color: var(--primary-green);
    font-weight: 500;
    font-size: 0.9rem;
}

.view-all:hover {
    text-decoration: underline;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 2.5rem 1.5rem 1.5rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-overlay h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-overlay p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Special Offers */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.offer-card {
    padding: 0;
    border-radius: 12px;
    color: white;
    min-height: 190px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.offer-card--green {
    background: linear-gradient(135deg, #27AE60 0%, #1e8449 100%);
}

.offer-card--brown {
    background: linear-gradient(135deg, #7a6a3a 0%, #4f4524 100%);
}

.offer-card--gold {
    background: linear-gradient(135deg, #d4a017 0%, #a87d0d 100%);
}

.offer-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.offer-card--green .offer-card-bg {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
    mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}

.offer-card--brown .offer-card-bg {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
    mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}

.offer-card--gold .offer-card-bg {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%);
    mask-image: linear-gradient(to right, transparent 0%, #000 35%);
}

.offer-card-body {
    position: relative;
    z-index: 1;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 190px;
    max-width: 70%;
}

.offer-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.offer-card p {
    opacity: 0.95;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.offer-btn {
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    margin-top: auto;
    width: fit-content;
    font-weight: 600;
    font-size: 0.8rem;
}

.offer-btn:hover {
    background-color: white;
    color: #1a1a1a;
}

/* Testimonials */
.testimonials-section {
    margin: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.carousel-dots .dot.active {
    background-color: var(--primary-green);
    width: 20px;
    border-radius: 999px;
}

.testimonial-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.testimonial-name {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-name strong {
    display: block;
}

.stars {
    color: var(--primary-green);
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 3rem 2rem 1rem;
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-about {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 240px;
}

.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 0;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--primary-green);
    color: #06120b;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: #27c069;
}

/* Sidebar Dashboard Layout */
.dashboard-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 0;
    min-height: 100vh;
    background-color: var(--dark-bg);
}

.sidebar {
    background-color: var(--darker-bg);
    border-right: 1px solid var(--border-color);
    padding: 2rem 0;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--border-color);
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    transition: all 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background-color: var(--card-bg);
    color: var(--primary-green);
    border-left: 3px solid var(--primary-green);
    padding-left: calc(1.5rem - 3px);
}

.dashboard-content {
    padding: 2rem;
    overflow-y: auto;
}

/* Dashboard Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-green);
}

.metric-change {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Dashboard Sections */
.dashboard-section {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.dashboard-section h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background-color: var(--darker-bg);
    color: var(--primary-green);
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.data-table tr:hover {
    background-color: var(--darker-bg);
}

/* Charts Container */
.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
}

/* Modal/Popup */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--primary-green);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.1);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-image {
        display: none;
    }

    .hero {
        padding: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .section-content {
        padding: 0 1.5rem;
    }

    nav {
        padding: 1rem 1.5rem;
    }

    .hero {
        padding: 2.5rem 1.5rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .categories-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .categories-grid,
    .offers-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .offer-card-body {
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
