/* =================================
   RENAVART RECYCLERS - GLOBAL STYLES
   ================================= */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* --- THEME VARIABLES --- */
:root {
    /* Brand Colors */
    --primary-green: #3C643C;
    --secondary-red: #EC0200;
    --tertiary-green: #536C44;
    --accent-coral: #E4776A;
    --light-green: #809881;
    --medium-green: #6C846C;
    --dark-accent: #648464;

    /* Light Mode (Default) */
    --bg-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.7);
    --text-color: #333333;
    --heading-color: #3C643C;
    --subtle-text: #666666;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --navbar-bg: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-color: #1a1a1a;
    --card-bg: rgba(30, 30, 30, 0.7);
    --text-color: #e0e0e0;
    --heading-color: #809881;
    --subtle-text: #b0b0b0;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --navbar-bg: rgba(26, 26, 26, 0.9);
    --glass-bg: rgba(30, 30, 30, 0.25);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-red);
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- IMPROVED MINIMAL GLASSMORPHISM --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--shadow-color);
    padding: 2rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-color);
}

/* --- IMPROVED MINIMAL ICONS --- */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    color: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(60, 100, 60, 0.2);
    transition: all 0.3s ease;
}

.icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(60, 100, 60, 0.3);
}

.icon-small {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 12px;
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.certification-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
    color: white !important;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--tertiary-green));
    color: white !important;
    box-shadow: 0 4px 15px rgba(60, 100, 60, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(60, 100, 60, 0.3);
    color: white !important;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-red), #cc0100);
    color: white !important;
    box-shadow: 0 4px 15px rgba(236, 2, 0, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 2, 0, 0.3);
    color: white !important;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-green) !important;
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background-color: var(--primary-green);
    color: white !important;
}

/* --- BUTTON HOVER FIX --- */
.btn-primary:hover, .btn-secondary:hover, .btn-outline:hover {
    color: white !important;
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background-color: var(--navbar-bg);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    box-shadow: 0 5px 15px var(--shadow-color);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.navbar-logo img {
    height: 40px;
    margin-right: 10px;
}

.navbar-menu {
    display: flex;
    list-style: none;
}

.navbar-menu li {
    margin-left: 30px;
}

.navbar-menu a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-red);
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    margin-left: 15px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* --- IMPROVED THEME TOGGLE --- */
.theme-toggle {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 20px;
    color: var(--text-color);
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 44px;
    min-height: 44px;
}

.theme-toggle:hover {
    background-color: var(--border-color);
    transform: rotate(180deg);
}

/* --- HERO SECTION WITH SLIDER --- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin-top: 70px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    z-index: 2;
    width: 90%;
    max-width: 800px;
    text-align: center;
    color: white;
    padding: 2.5rem 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* --- MINIMAL HERO SECTION (About Page) --- */
.minimal-hero {
    height: 60vh;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 70px;
}

.minimal-hero .hero-content {
    width: 90%;
    max-width: 800px;
    z-index: 2;
    padding: 2rem;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.minimal-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    text-align: center;
}

.minimal-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    text-align: center;
}

.minimal-hero .hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.slider-control:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-control.prev {
    left: 20px;
}

.slider-control.next {
    right: 20px;
}

/* --- SLIDER INDICATORS --- */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* --- FLOATING ELEMENTS --- */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 70%;
    left: 80%;
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    top: 40%;
    left: 5%;
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* --- SECTION STYLES --- */
.section {
    padding: 80px 0;
    margin-top: 0;
}
.section:first-of-type {
    padding-top: 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--subtle-text);
}

/* Updated for Stats Section to match footer green with !important */
.stats {
    background: linear-gradient(135deg, var(--primary-green), var(--tertiary-green)) !important;
    padding: 60px 0;
    color: white;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

/* --- SERVICE DETAIL STYLES --- */
.service-detail {
    margin-bottom: 5rem;
}

.service-detail h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.service-detail h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--tertiary-green);
    position: relative;
    padding-left: 1.5rem;
}

.service-detail h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
}

.service-detail ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.service-detail li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.service-detail .btn {
    margin-top: 1.5rem;
}

/* --- TARGET AUDIENCE CARDS --- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.audience-card {
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.audience-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.audience-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

/* --- PROCESS STEPS --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--tertiary-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(60, 100, 60, 0.2);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-green);
}

/* --- LOCATIONS SECTION --- */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.location-card {
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.location-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* --- CERTIFICATIONS SECTION --- */
.certifications {
    background: linear-gradient(135deg, var(--primary-green), var(--tertiary-green));
    padding: 60px 0;
}

.certifications .section-title h2 {
    color: white;
}

.certifications .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.certification-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.certification-item {
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-10px);
}

.certification-item h3 {
    color: white;
    margin-bottom: 10px;
}

.certification-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* --- TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 5px solid var(--light-green);
    transition: transform 0.3s ease;
}

.team-member:hover .team-photo {
    transform: scale(1.05);
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-green);
    font-weight: 600;
}

.team-position {
    color: var(--medium-green);
    margin-bottom: 0;
    font-weight: 500;
}

.team-member .social-links {
    justify-content: center;
    margin-top: 15px;
}

/* --- CONTACT FORM --- */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--card-bg);
    color: var(--text-color);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- BLOG SECTION --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    padding: 5px 10px;
    background-color: var(--light-green);
    color: var(--primary-green);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-green);
}

.blog-excerpt {
    margin-bottom: 15px;
    color: var(--text-color);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--subtle-text);
}

/* --- BLOG ARTICLE --- */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0 3rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.blog-meta-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--subtle-text);
}

.blog-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 10px;
}

.blog-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.blog-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--tertiary-green);
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 10px;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 20px;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-green);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--subtle-text);
}

/* --- BLOG IMAGE PLACEHOLDERS --- */
.blog-image-placeholder {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
}

.blog-image-content {
    text-align: center;
    color: white !important;
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.blog-image-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.blog-image-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white !important;
}

.blog-image-content p {
    color: white !important;
}

/* Animated background patterns */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

.animated-bg .pattern {
    position: absolute;
    background: white;
    border-radius: 50%;
}

.animated-bg .pattern:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.animated-bg .pattern:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 70%;
    left: 80%;
    animation: float 10s ease-in-out infinite;
}

.animated-bg .pattern:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 5%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Blog footer */
.blog-footer {
    margin-top: 3rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-tags h3 {
    margin-right: 1rem;
    margin-bottom: 0;
    color: var(--heading-color);
}

.tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: var(--light-green);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: var(--primary-green);
    transform: translateY(-2px);
}

.social-share {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-share span {
    color: var(--text-color);
    margin-right: 0.5rem;
}

.social-share .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-share .social-link:hover {
    background-color: var(--primary-green);
    color: white;
    transform: translateY(-3px);
}

/* Related articles */
.related-posts {
    margin-top: 4rem;
}

.related-posts h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--heading-color);
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.related-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-content {
    padding: 1.5rem;
}

.related-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.related-excerpt {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--subtle-text);
}

.related-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-date i {
    color: var(--primary-green);
}

/* --- FAQ SECTION --- */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--light-green);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-green);
}

body.dark-mode .faq-question {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

/* --- FOOTER --- */
.footer {
    background: linear-gradient(135deg, var(--tertiary-green), var(--primary-green));
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column p, .footer-column li {
    color: rgba(255, 255, 255, 0.8);
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-links {
    color: rgba(255, 255, 255, 0.8) !important;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.social-link:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* --- FOOTER TEXT COLOR FIX --- */
.footer-bottom p {
    color: white !important;
}

.footer-bottom p a {
    color: white !important;
}

.footer-bottom p a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* --- UTILITY CLASSES --- */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 15px;
}

.h-100 {
    height: 100%;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.p-4 {
    padding: 1.5rem;
}

.p-5 {
    padding: 2rem;
}

.text-center {
    text-align: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.me-3 {
    margin-right: 1rem;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

/* --- BOOTSTRAP-LIKE GRID SYSTEM --- */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.align-items-center {
    align-items: center;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.order-lg-2 {
    order: 2;
}

.order-lg-1 {
    order: 1;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

/* --- IMAGE FEATURE SECTION --- */
.image-feature {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.image-feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.image-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px var(--shadow-color);
    transition: all 0.3s ease;
    height: 100%;
}

.image-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-color);
}

.image-feature-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-bottom: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.image-feature-item:hover .image-feature-img {
    transform: scale(1.05);
}

.image-feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-green);
    font-weight: 600;
}

.image-feature-desc {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* --- HERO IMAGE BACKGROUND --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    background-image: url('../images/renavart_recyclers_e_waste_management.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- DARK MODE ADJUSTMENTS FOR IMAGE SECTIONS --- */
body.dark-mode .image-feature-item {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .image-feature-title {
    color: var(--light-green);
}

/* --- ANIMATION CLASSES FOR IMAGE SECTIONS --- */
.image-feature-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.image-feature-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- RECYCLING PROCESS PAGE STYLES --- */
.recycling-process {
    padding: 80px 0;
}

.process-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.process-visual {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.process-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow-color);
    margin-bottom: 30px;
}

.process-download {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* --- DARK MODE FOR RECYCLING PROCESS PAGE --- */
body.dark-mode .process-image {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .section-title h2 { font-size: 2.2rem; }
    .minimal-hero h1 { font-size: 3rem; }
    .minimal-hero p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
    /* Mobile Navigation Improvements */
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--navbar-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-menu li {
        margin: 20px 0;
    }
    
    .navbar-menu a {
        font-size: 1.2rem;
        padding: 10px 15px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }
    
    .navbar-menu a:hover {
        background-color: var(--light-green);
        color: white;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    /* Hero Section Adjustments */
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 100px 0 50px;
    }
    
    .hero h1 { 
        font-size: 2.5rem; 
        line-height: 1.3;
    }
    
    .hero p { 
        font-size: 1.1rem; 
        line-height: 1.6;
    }
    
    .hero-buttons { 
        flex-direction: column; 
        align-items: center; 
        gap: 15px;
    }
    
    .section { 
        padding: 60px 0; 
    }
    
    .stat-number { 
        font-size: 2.5rem; 
    }
    
    /* Minimal Hero Adjustments */
    .minimal-hero {
        height: auto;
        min-height: 50vh;
        padding: 100px 0 50px;
    }
    
    .minimal-hero h1 { 
        font-size: 2.5rem; 
        line-height: 1.3;
    }
    
    .minimal-hero p { 
        font-size: 1.1rem; 
        line-height: 1.6;
    }
    
    /* Team Section Adjustments */
    .team-photo {
        width: 150px;
        height: 150px;
    }
    
    /* Grid Adjustments */
    .col-md-6, .col-md-4, .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Blog Adjustments */
    .blog-image-placeholder {
        height: 200px;
    }
    
    .blog-image-content {
        padding: 1.5rem;
    }
    
    .blog-image-content i {
        font-size: 3rem;
    }
    
    .blog-image-content h3 {
        font-size: 1.3rem;
    }
    
    /* Touch-friendly improvements */
    .slider-control {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    /* Slider controls for mobile */
    .slider-control.prev {
        left: 10px;
    }
    
    .slider-control.next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    /* Container padding adjustments */
    .container {
        padding: 0 15px;
    }
    
    /* Typography adjustments */
    .hero h1 { 
        font-size: 2rem; 
        line-height: 1.3;
    }
    
    .section-title h2 { 
        font-size: 1.8rem; 
    }
    
    .blog-grid { 
        grid-template-columns: 1fr; 
    }
    
    .hero-buttons { 
        gap: 15px; 
        width: 100%;
    }
    
    .btn { 
        padding: 12px 20px; 
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    /* Minimal Hero Adjustments */
    .minimal-hero h1 { 
        font-size: 2rem; 
        line-height: 1.3;
    }
    
    .minimal-hero p { 
        font-size: 1rem; 
        line-height: 1.6;
    }
    
    /* Team Section Adjustments */
    .team-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Grid Adjustments */
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Glass morphism adjustments */
    .glass {
        padding: 1.5rem;
    }
    
    /* Service card adjustments */
    .service-card {
        padding: 20px;
    }
    
    /* Stats section adjustments */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Form adjustments */
    .form-control {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    /* Blog article adjustments */
    .blog-featured-image {
        height: 250px;
    }
    
    /* Blog grid adjustments */
    .blog-card {
        margin-bottom: 20px;
    }
    
    /* Related posts adjustments */
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* --- MOBILE-FIRST SPECIFIC STYLES --- */
/* Hide desktop-specific elements on mobile */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* Show mobile-specific elements only on mobile */
@media (min-width: 769px) {
    .show-on-mobile {
        display: none !important;
    }
}

/* --- ANIMATION CLASSES --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* --- LOADING ANIMATION --- */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- ACCESSIBILITY --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus outline */
*:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Dark mode specific adjustments */
body.dark-mode .hero-content {
    background: rgba(0, 0, 0, 0.7);
}

body.dark-mode .minimal-hero {
    background: linear-gradient(135deg, #2a4a2a 0%, #1a3a1a 100%);
}

body.dark-mode .stats {
    background: linear-gradient(135deg, #2a4a2a 0%, #1a3a1a 100%) !important;
}

body.dark-mode .certifications {
    background: linear-gradient(135deg, #2a4a2a 0%, #1a3a1a 100%);
}

body.dark-mode .footer {
    background: linear-gradient(135deg, #2a4a2a 0%, #1a3a1a 100%);
}

body.dark-mode .glass {
    background: rgba(30, 30, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .navbar {
    background-color: rgba(26, 26, 26, 0.9);
}

body.dark-mode .form-control {
    background-color: rgba(30, 30, 30, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

body.dark-mode .faq-question {
    background-color: rgba(255, 255, 255, 0.05);
}

/* --- SERVICE PAGE SPECIFIC STYLES --- */

/* Fix for missing audience-icon class */
.audience-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(60, 100, 60, 0.2);
    transition: all 0.3s ease;
}

.audience-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(60, 100, 60, 0.3);
}

/* CSS-based image replacements */
.service-image-placeholder {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
}

.service-image-content {
    text-align: center;
    color: white !important;
    padding: 2rem;
    z-index: 2;
    position: relative;
}

.service-image-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.service-image-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white !important;
}

/* Process steps visual */
.process-visual {
    margin: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.process-step-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
    z-index: 2;
}

.process-step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(60, 100, 60, 0.2);
}

.process-step-text {
    font-size: 0.9rem;
    color: var(--text-color);
}

.process-line {
    position: absolute;
    top: 30px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--light-green);
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .process-visual {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-line {
        top: 30px;
        left: 30px;
        width: 2px;
        height: 80%;
    }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MOBILE PERFORMANCE OPTIMIZATIONS --- */
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimize images for mobile */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Touch-friendly hover states */
@media (hover: none) and (pointer: coarse) {
    .btn:hover, .service-card:hover, .audience-card:hover, 
    .team-member:hover, .certification-item:hover, .location-card:hover {
        transform: none;
    }
    
    .btn:active, .service-card:active, .audience-card:active, 
    .team-member:active, .certification-item:active, .location-card:active {
        transform: scale(0.98);
    }
}

/* --- MOBILE NAVIGATION ENHANCEMENTS --- */
/* Add overlay when mobile menu is open */
.navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.navbar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu close button */
.mobile-menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--light-green);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: var(--primary-green);
}

/* --- MOBILE-FIRST IMPROVEMENTS --- */
/* Make sure all touch targets are at least 44x44px */
@media (max-width: 768px) {
    .btn, .theme-toggle, .social-link, .navbar-toggle, 
    .slider-control, .faq-question {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Add more space between touch targets */
    .navbar-menu li {
        margin: 25px 0;
    }
    
    /* Make sure text is readable on small screens */
    body {
        font-size: 16px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }
    h5 { font-size: 1.1rem; }
    h6 { font-size: 1rem; }
}

/* --- SCROLLBAR STYLING --- */
/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--medium-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

/* --- LOADING STATES --- */
/* Add loading spinner for mobile */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

/* --- PULL TO REFRESH --- */
/* Add pull-to-refresh indicator for mobile */
.pull-to-refresh {
    position: fixed;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: top 0.3s ease;
    z-index: 1001;
}

.pull-to-refresh.active {
    top: 0;
}

/* --- HORIZONTAL SCROLL PREVENTION --- */
/* Prevent horizontal scroll on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* --- SAFE AREA FOR NOTCHED DEVICES --- */
/* Add safe area insets for devices with notches */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
    
    .hero {
        padding-top: max(70px, env(safe-area-inset-top));
    }
    
    .footer {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* --- SKIP LINK --- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}