:root {
    --primary-color: #059669;
    /* Emerald Green - Eco Friendly */
    --primary-dark: #047857;
    --secondary-color: #1e3a8a;
    /* Navy Blue - Professional */
    --accent-color: #d97706;
    /* Amber - Action/Warning */
    --text-color: #1f2937;
    --text-muted: #4b5563;
    --light-bg: #f3f4f6;
    --white: #ffffff;
    --card-bg: #ffffff;
    --header-bg: #ffffff;
    --border-color: #e5e7eb;
    --max-width: 1200px;
    --header-height: 70px;
    --transition: 0.3s ease;
    --hero-gradient-start: #e0f2f1;
    --hero-gradient-end: #e8f5e9;

    /* Waste Colors */
    --waste-plastic: #d4b106;
    --waste-metal: #4a5568;
    --waste-glass: #2f855a;
    --waste-paper: #2c5282;
    --waste-household: #1a202c;
    --waste-bio: #704012;
    --waste-construction: #c53030;
    --waste-large: #6b46c1;
    --waste-e-waste: #c05621;
}


[data-theme='dark'] {
    --primary-color: #10b981;
    --primary-dark: #059669;
    --secondary-color: #60a5fa;
    --accent-color: #fbbf24;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --light-bg: #111827;
    --white: #1f2937;
    --card-bg: #1f2937;
    --header-bg: #1f2937;
    --border-color: #374151;
    --hero-gradient-start: #0f172a;
    /* Deep Navy */
    --hero-gradient-end: #064e3b;
    /* Deep Emerald */

    --contact-bg-dark: #0f172a;
    --contact-info-bg-dark: #1e293b;

    /* Dark Mode Waste Colors - Lighter/More Vibrant for Contrast */
    --waste-plastic: #facc15;
    --waste-metal: #94a3b8;
    --waste-glass: #4ade80;
    --waste-paper: #60a5fa;
    --waste-household: #cbd5e1;
    --waste-bio: #d97706;
    --waste-construction: #f87171;
    --waste-large: #a78bfa;
    --waste-e-waste: #fb923c;

    --waste-item-bg: rgba(255, 255, 255, 0.12);

    /* Section Alternation - Dark Mode */
    --bg-alt: #161e2e;
    /* Slightly lighter than #111827 */
}

/* Copy Tooltip / Click Feedback */
.bank-account {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.bank-account:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.bank-account::after {
    content: 'Click pentru copiere';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #1f2937;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.bank-account:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.bank-account.copied::after {
    content: '✅ Copiat!';
    background: var(--primary-color);
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}


html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Disable selection for main hero heading and motto */
h1,
.hero-content p {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

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

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

/* Header */
.header {
    height: var(--header-height);
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition);
    display: flex;
    align-items: center;
}

/* Theme Toggle */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
}

.theme-toggle {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all var(--transition);
    font-size: 1.2rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme='dark'] .sun-icon {
    display: none;
}

[data-theme='dark'] .moon-icon {
    display: inline-block;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    margin-right: 40px;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.logo:hover .logo-icon-img {
    transform: scale(1.05) rotate(-5deg);
}

.logo-icon-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: var(--white);
    padding: 2px;
    border: 1.5px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.85rem;
    /* Reduced font size and tighter gaps to prevent wrapping */
    white-space: nowrap;
}

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

/* Special styling for Anunturi menu item */

.nav-links .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Enhanced Hover Effects */
.feature-card,
.tariff-card {
    transition: all var(--transition) !important;
}


.feature-card:hover,
.tariff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}



/* Leaf Effect */
.magic-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    animation: particle-pop 0.8s cubic-bezier(0.12, 0.4, 0.29, 1.46) forwards;
}

.magic-particle.circle {
    border-radius: 50%;
}

.magic-particle.square {
    transform: rotate(45deg);
}

.magic-particle.star {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes particle-pop {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0) rotate(0deg);
    }

    20% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0.2) rotate(var(--rot));
    }
}

/* Motto Animation */
.motto-dynamic {
    display: inline-block;
    font-weight: 700;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.motto-dynamic.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero */
.hero {
    padding-top: calc(var(--header-height) + 40px);
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--secondary-color);
    transition: text-shadow 0.3s ease;
}

[data-theme='dark'] .hero-content h1 {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
    /* Subtle blue glow for navy/blue secondary */
}

.hero-content p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-btns .btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.img-placeholder {
    width: 100%;
    height: 400px;
    background-color: #d1fae5;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-dark);
    font-weight: 600;
    border: 4px dashed #6ee7b7;
}

/* Notice Board */
.notice-board {
    padding: 20px 0;
    margin-top: -40px;
    /* Overlap with hero slightly or just pull up */
    position: relative;
    z-index: 20;
}

.notice-card {
    background-color: #fffbeb;
    /* Light yellow/amber for attention */
    border-left: 5px solid var(--accent-color);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.notice-icon {
    font-size: 2rem;
}

.notice-content h3 {
    color: var(--accent-color);
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.notice-content p {
    margin-bottom: 5px;
    color: var(--text-color);
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
    /* Use the alt/light background */
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
}

[data-theme='dark'] .features {
    background-color: var(--bg-alt);
    /* Light navy for separation */
}

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

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--secondary-color);
}

/* About */
.about {
    background-color: var(--white);
    /* White/Deep Dark */
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

[data-theme='dark'] .about {
    background-color: var(--light-bg);
    /* Deepest navy for separation */
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    background: linear-gradient(to right, rgba(5, 150, 105, 0.05), rgba(30, 58, 138, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.about-block {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.about-block h4 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list-item {
    margin-bottom: 20px;
    padding-left: 0;
    position: relative;
}

.about-list-item strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 5px;
}

.about-footer {
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Collection Schedule */
.schedule {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.schedule .section-title h2 {
    color: white;
}

.schedule .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.schedule-day {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color var(--transition);
}

.schedule-day:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.day-header {
    padding: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    color: white;
}

.day-header.marți {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.day-header.miercuri {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.day-header.joi {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.day-header.vineri {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.day-content {
    padding: 24px;
    color: var(--text-color);
    text-align: center;
    font-size: 1.05rem;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--card-bg);
}

.day-content span {
    display: block;
    margin-top: 4px;
}

.schedule-note {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #fbbf24;
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.schedule-note p {
    margin: 0;
    color: white;
    line-height: 1.6;
}

.schedule-note strong {
    color: #fbbf24;
}

/* Tariffs */
.tariffs {
    background-color: var(--light-bg);
}

.tariffs-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tariff-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, background-color var(--transition);
    border: 1px solid var(--border-color);
}

.tariff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.tariff-card.popular {
    border: 2px solid var(--primary-color);
    position: relative;
}

.tariff-card.popular::after {
    content: 'Recomandat';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.tariff-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.price span {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

.tariff-card ul {
    text-align: left;
    margin-bottom: 32px;
}

.tariff-card ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tariffs Documents Link */
.tariff-docs {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.tariff-doc-link {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 12px;
    background: rgba(5, 150, 105, 0.05);
    border-radius: 6px;
}

.tariff-doc-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.tariff-doc-link .icon {
    font-size: 1.1rem;
}


/* Contact */
.contact {
    background-color: var(--secondary-color);
    color: white;
    padding: 100px 0;
    position: relative;
}

[data-theme='dark'] .contact {
    background-color: #111e36;
    /* Slightly lighter navy for better separation */
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 15%, transparent 85%, rgba(0, 0, 0, 0.3) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 20px 40px -20px rgba(0, 0, 0, 0.4), inset 0 -20px 40px -20px rgba(0, 0, 0, 0.4);
}

.contact .section-title h2 {
    color: white;
}

.contact .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.contact .section-title p {
    opacity: 0.8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme='dark'] .contact-wrapper {
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
}

.contact-info {
    background: var(--primary-color);
    padding: 60px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

[data-theme='dark'] .contact-info {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #064e3b 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.info-item p,
.info-item a {
    font-size: 1.1rem;
    opacity: 1;
}

.contact-form-wrapper {
    padding: 60px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--white);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.footer {
    background-color: #0f172a;
    /* Darker navy for a more premium feel */
    color: #9ca3af;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-badge {
    font-size: 0.75rem;
    color: #475569;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    width: fit-content;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(16, 185, 129, 0.05);
}


.footer-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social-link {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    opacity: 0.8;
}

.footer-social-link:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 1;
}

.footer-social-link img,
.footer-social-link svg {
    height: 28px;
    width: auto;
    display: block;
}

.facebook-link svg {
    fill: #1877F2;
    width: 28px;
    height: 28px;
}

.primaria-link {
    display: flex;
    align-items: center;
}

.primaria-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
}

.primaria-logo-wrapper img {
    height: 38px !important;
    width: auto;
}

.primaria-text {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: #f1f5f9;
    /* Near white for better contrast on navy */
    text-transform: uppercase;
    text-align: left;
}

.primaria-text span:last-child {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* FAQ Section Re-design */
.faq-section {
    padding: 60px 0 100px;
    background: var(--white);
    transition: background-color var(--transition);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-hero {
    text-align: center;
    margin-bottom: 50px;
}

.faq-search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 30px auto 0;
}

.faq-search-input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15);
}

.faq-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Category Tabs */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.faq-tab-btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.faq-tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.faq-tab-icon {
    font-size: 1.1rem;
}

/* FAQ Items Layout */
.faq-category-group {
    margin-bottom: 40px;
    display: block;
    /* Shown by default */
}

.faq-category-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion {
    max-width: 100%;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.accordion-header {
    width: 100%;
    padding: 22px 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-header.active {
    background: rgba(16, 185, 129, 0.03);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.accordion-icon {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    background: rgba(16, 185, 129, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-body {
    padding: 25px;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    background: var(--card-bg);
}

.accordion-body strong {
    color: var(--primary-dark);
}

[data-theme='dark'] .accordion-body strong {
    color: var(--primary-color);
}

/* Search results empty state */
.faq-no-results {
    text-align: center;
    padding: 50px 0;
    display: none;
}

.faq-no-results span {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.faq-no-results p {
    color: var(--text-muted);
}

/* Subscription Section */
.subscription-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.subscription-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-dark));
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
}

.subscription-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.subscription-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 500px;
}

.subscription-form input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    outline: none;
}

@media (max-width: 768px) {
    .subscription-card {
        flex-direction: column;
        text-align: center;
    }

    .subscription-form {
        width: 100%;
    }
}

.visit-counter {
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding-right: 0;
}

.footer-nav a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand,
    .footer-nav {
        align-items: center;
        text-align: center;
    }
}


/* Modals */
/* Modals Unified */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    align-items: center;
    justify-content: center;
}

.modal.active,
.modal.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.modal-content {
    background-color: var(--white);
    margin: auto;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-color);
    text-decoration: none;
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--light-bg);
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: var(--secondary-color);
    font-size: 1.5rem;
    padding-right: 30px;
}

.modal-body {
    padding: 24px;
    line-height: 1.7;
    color: var(--text-color);
}

/* --- Waste Grid Premium Design --- */
.waste-content-modal {
    max-width: 1000px !important;
}

.waste-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 10px 0;
}

.waste-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.waste-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
}

.waste-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Color Variables for Waste Types */
:root {
    --color-plastic: #fbbf24;
    /* Yellow */
    --color-metal: #94a3b8;
    /* Steel */
    --color-glass: #10b981;
    /* Green */
    --color-paper: #3b82f6;
    /* Blue */
    --color-household: #1f2937;
    /* Black/Dark */
    --color-bio: #92400e;
    /* Brown */
    --color-construction: #ef4444;
    /* Red */
    --color-large: #8b5cf6;
    /* Purple */
    --color-e-waste: #06b6d4;
    /* Cyan */
}

/* Specific Border Overrides */
.waste-plastic {
    border-top: 5px solid var(--color-plastic);
}

.waste-plastic::before {
    background: var(--color-plastic);
}

.waste-metal {
    border-top: 5px solid var(--color-metal);
}

.waste-metal::before {
    background: var(--color-metal);
}

.waste-glass {
    border-top: 5px solid var(--color-glass);
}

.waste-glass::before {
    background: var(--color-glass);
}

.waste-paper {
    border-top: 5px solid var(--color-paper);
}

.waste-paper::before {
    background: var(--color-paper);
}

.waste-household {
    border-top: 5px solid var(--color-household);
}

.waste-household::before {
    background: var(--color-household);
}

.waste-bio {
    border-top: 5px solid var(--color-bio);
}

.waste-bio::before {
    background: var(--color-bio);
}

.waste-construction {
    border-top: 5px solid var(--color-construction);
}

.waste-construction::before {
    background: var(--color-construction);
}

.waste-large {
    border-top: 5px solid var(--color-large);
}

.waste-large::before {
    background: var(--color-large);
}

.waste-e-waste {
    border-top: 5px solid var(--color-e-waste);
}

.waste-e-waste::before {
    background: var(--color-e-waste);
}

.waste-item h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
}

.waste-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 12px;
}

.waste-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    width: fit-content;
}

.badge-recyclable {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-residual {
    background: rgba(31, 41, 55, 0.1);
    color: #1f2937;
}

.badge-special {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.waste-item .warning-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px dashed rgba(245, 158, 11, 0.3);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #92400e;
    margin-top: auto;
}

.waste-item .danger-box {
    background: rgba(239, 68, 68, 0.05);
    border: 1px dashed rgba(239, 68, 68, 0.3);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #b91c1c;
    margin-top: auto;
}

/* Payment Modal Refinement */
.payment-modal-content {
    max-width: 750px !important;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 10px;
}

.payment-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.payment-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 5px;
}

.payment-card-icon {
    font-size: 1.8rem;
    background: var(--white);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.payment-card-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--secondary-color);
}

.payment-card-body {
    flex-grow: 1;
}

.payment-detail {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
}

.payment-detail-icon {
    opacity: 0.7;
}

.payment-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 10px;
    text-transform: uppercase;
}

.bank-details-wrapper {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bank-item {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.bank-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
}

.bank-iban {
    font-family: 'Monaco', 'Consolas', monospace;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
    background: rgba(16, 185, 129, 0.05);
    padding: 8px;
    border-radius: 6px;
    display: block;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px dashed var(--primary-color);
}

.bank-iban:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.02);
}

.beneficiary-info {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-dark));
    color: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.beneficiary-text h4 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.beneficiary-text p {
    margin: 3px 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

/* User Feedback for Copy */
.bank-iban::after {
    content: 'Click pentru copiere';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}

.bank-iban:hover::after {
    opacity: 1;
}

.bank-iban.copied::after {
    content: '✅ Copiat!';
    opacity: 1;
}

/* News/Announcements Page Styles */
.news-section {
    padding: calc(var(--header-height) + 60px) 0 80px;
    /* Account for fixed header */
    background-color: var(--light-bg);
    min-height: 80vh;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Card Color Variants */
.news-card.color-blue {
    border-top: 5px solid #3b82f6;
    /* Blue */
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.05), transparent);
}

.news-card.color-green {
    border-top: 5px solid #10b981;
    /* Green */
    background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.05), transparent);
}

.news-card.color-orange {
    border-top: 5px solid #f59e0b;
    /* Orange */
    background: linear-gradient(to bottom right, rgba(245, 158, 11, 0.05), transparent);
}

.news-card.color-purple {
    border-top: 5px solid #8b5cf6;
    /* Purple */
    background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.05), transparent);
}

/* Card Content */
.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.05);
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.news-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

.news-content-preview {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 24px;
    flex-grow: 1;
    /* Push button to bottom */
}

.read-more-btn {
    align-self: flex-start;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Reading Modal Specifics */
.modal-date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.visit-counter {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #9ca3af;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.visit-counter span {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-links a {
    margin-left: 20px;
    font-size: 0.875rem;
}

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

.footer-facebook {
    color: #9ca3af;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-facebook:hover {
    color: #1877F2;
    /* Facebook Blue */
    transform: scale(1.1);
}

.footer-facebook svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 900px) {
    .header-container {
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease, background-color var(--transition);
        padding: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 40px;
    }

    .contact-form-wrapper {
        padding: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links a {
        margin: 0 10px;
    }
}

/* Modals */
/* Removed redundant modal block */

.modal-content {
    background-color: var(--card-bg);
    margin: auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    color: var(--text-color);
    transition: background-color var(--transition);
    display: flex;
    /* Support flex-end alignment for children */
    flex-direction: column;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #666;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    position: sticky;
    top: 0;
    align-self: flex-end;
    /* Pin to the right corner */
    z-index: 1000;
    margin-top: -30px;
    margin-right: -30px;
    margin-bottom: -35px;
    /* Overlap content to stay on the same row */
    padding: 10px 15px;
    background: var(--card-bg);
    border-radius: 0 12px 0 12px;
    transition: all 0.3s ease;
    display: flex;
    width: fit-content;
}



.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    color: var(--secondary-color);
}



/* Notice Modal Specifics */
.notice-content-modal {
    max-width: 600px;
    border-top: 5px solid var(--accent-color);
}

/* Cleaned up redundant styles */

/* Accordion Styles */
.accordion {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition), border-color var(--transition);
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

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

.accordion-header {
    width: 100%;
    padding: 20px 30px;
    background: var(--card-bg);
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: background-color var(--transition), color var(--transition);
}

.accordion-header:hover {
    background-color: #f8fafc;
}

.accordion-header.active {
    background-color: #eff6ff;
    color: var(--primary-color);
}

.accordion-icon {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--card-bg);
}

.accordion-body {
    padding: 20px 30px;
    border-top: 1px solid #f1f5f9;
}

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

.info-column h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 8px;
}

.info-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

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


.info-list {
    list-style: disc;
    /* Changed from none to disc */
    padding-left: 20px;
    /* Added padding for bullets */
}

.info-list>li {
    margin-bottom: 12px;
    padding-left: 5px;
    /* Reduced from 10px since we have list padding now */
}

.info-list>li:last-child {
    margin-bottom: 0;
}

.doc-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 4px 0;
}

.doc-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.nested-list {
    list-style: disc;
    margin-top: 8px;
    margin-left: 30px;
    color: #4b5563;
}

.nested-list li {
    margin-bottom: 4px;
}

/* Nested Accordion Styles */
.nested-accordion-item {
    margin-top: 5px;
    border: none;
}

.nested-accordion-header {
    width: 100%;
    padding: 8px 12px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: all 0.2s;
}

.nested-accordion-header:hover {
    background-color: var(--light-bg);
}

.nested-accordion-header.active {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.nested-accordion-header .accordion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nested-accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.nested-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 40px;
}

/* News Modal & Truncation Styles */
.anunt-body-preview {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    flex-grow: 1;
}

.anunt-body-full {
    display: none;
}

.btn-read-more {
    align-self: flex-start;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.modal-date-dynamic {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Nav Highlight (Anunturi) */
.nav-highlight {
    background: rgba(217, 119, 6, 0.1);
    /* Subtle Amber background */
    color: var(--accent-color) !important;
    padding: 8px 16px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    position: relative;
    border: 1px solid rgba(217, 119, 6, 0.3);
    transition: all 0.3s ease;
}

.nav-highlight::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    animation: anunt-pulse 2s infinite;
}

@keyframes anunt-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.nav-highlight:hover {
    background: var(--accent-color);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* Recycling Game Styles */
.game-container {
    background: var(--card-bg);
    border-radius: 40px;
    padding: 30px 15px 15px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1.5px solid var(--border-color);
    transform: scale(0.95);
    transform-origin: top center;
}

.game-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    margin-bottom: -10px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.bin {
    aspect-ratio: 1/1.5;
    /* Natural aspect ratio for individual images */
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 10px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    cursor: default;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    box-shadow: none !important;
    background-color: transparent !important;
    margin-bottom: 0;
}

.bin-label {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    pointer-events: none;
    width: max-content;
}

.bin-icon {
    display: none;
}

/* Individual Bin Images */
.bin.blue {
    background-image: url('../img/game/bin-blue.png');
}

.bin.yellow {
    background-image: url('../img/game/bin-yellow.png');
}

.bin.green {
    background-image: url('../img/game/bin-green.png');
}

.bin.gray {
    background-image: url('../img/game/bin-gray.png');
}

.bin.drag-over {
    transform: scale(1.08);
    filter: brightness(1.2);
}

.trash-pile {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px 15px 10px;
    margin-top: 10px;
    background: var(--light-bg);
    border-radius: 15px;
    min-height: 120px;
    border: 2px dashed var(--border-color);
    position: relative;
    overflow: visible;
}

.trash-item {
    cursor: grab;
    padding: 12px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    touch-action: none;
    min-width: 85px;
    border: 1px solid var(--border-color);
}

.trash-icon {
    width: 60px;
    height: 60px;
    background-image: url('../img/game/icons-sheet.png');
    background-size: 400% 400%;
    background-repeat: no-repeat;
    margin-bottom: 5px;
    border-radius: 8px;
}

/* Sprite positions corrected for the new v2 4x4 sheet */
.trash-item[data-id="ziar"] .trash-icon {
    background-position: 0% 0%;
}

.trash-item[data-id="carton"] .trash-icon {
    background-position: 33.33% 0%;
}

.trash-item[data-id="paper_stack"] .trash-icon {
    background-position: 66.66% 0%;
}

.trash-item[data-id="toilet_roll"] .trash-icon {
    background-position: 100% 0%;
}

.trash-item[data-id="pet"] .trash-icon {
    background-position: 0% 33.33%;
}

.trash-item[data-id="soda_can"] .trash-icon {
    background-position: 33.33% 33.33%;
}

.trash-item[data-id="tin_can"] .trash-icon {
    background-position: 66.66% 33.33%;
}

.trash-item[data-id="bag"] .trash-icon {
    background-position: 100% 33.33%;
}

.trash-item[data-id="beer"] .trash-icon {
    background-position: 0% 66.66%;
}

.trash-item[data-id="jar"] .trash-icon {
    background-position: 33.33% 66.66%;
}

.trash-item[data-id="perfume"] .trash-icon {
    background-position: 66.66% 66.66%;
}

.trash-item[data-id="scutec"] .trash-icon {
    background-position: 100% 66.66%;
}

.trash-item[data-id="tissue"] .trash-icon {
    background-position: 0% 100%;
}

.trash-item[data-id="pizza"] .trash-icon {
    background-position: 33.33% 100%;
}

.trash-item[data-id="mug"] .trash-icon {
    background-position: 66.66% 100%;
}


.trash-label {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.trash-item:hover .trash-label {
    opacity: 1;
    top: -45px;
}

.trash-item:active {
    cursor: grabbing;
}

.trash-item:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.firework {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100;
}

#game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    padding: 30px;
    backdrop-filter: blur(5px);
}

#game-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 600px) {
    .bins-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-container {
        padding: 15px;
        min-height: 500px;
    }
}

/* --- Authentication Pages (Premium Styling) --- */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"><circle cx="3" cy="3" r="3"/><circle cx="13" cy="13" r="3"/></g></svg>');
    opacity: 1;
    pointer-events: none;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

[data-theme='dark'] .auth-card {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

[data-theme='dark'] .auth-header h1 {
    color: var(--white);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-left: 4px;
}

[data-theme='dark'] .form-group label {
    color: var(--gray-300);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #f1f5f9;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-color);
}

.form-control:focus {
    background: #fff;
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

[data-theme='dark'] .form-control {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .form-control:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--primary-color);
}

.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.btn-auth:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.auth-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.auth-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: none;
    font-size: 0.95rem;
    border-left: 5px solid #dc2626;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

/* Fix for Contact Info Indentation (User Request) */
.info-item {
    margin-bottom: 24px;
}

.info-item h4 {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.1em;
}

/* Indent paragraph content relative to the header text */
.info-item p {
    margin-left: 36px;
    /* Indent to align with text, bypassing icon approx width */
    color: var(--text-color);
    line-height: 1.5;
    position: relative;
    padding-left: 10px;
    /* Extra breathing room */
    border-left: 2px solid rgba(0, 0, 0, 0.05);
    /* Subtle visual guide */
}

[data-theme='dark'] .info-item p {
    border-left-color: rgba(255, 255, 255, 0.05);
}

/* Registration specific overrides */
.auth-card.wide {
    max-width: 700px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.info-box {
    background-color: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: #d97706;
    border-radius: 0 8px 8px 0;
}

[data-theme='dark'] .info-box {
    background-color: rgba(245, 158, 11, 0.05);
    color: #fbbf24;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}