/* Update existing styles with these changes */

:root {
    --primary-red: #e30613;
    --primary-black: #000000;
    --primary-white: #ffffff;
    --dark-green: #005a3c;
    --dark-green-hover: #004530;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #333333;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-green: 0 4px 20px rgba(0,90,60,0.2);
    --transition: all 0.3s ease;
    --border-black: 2px solid #000000; /* New black border variable */
}


* {
    margin: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
    font-size: 18px;
    letter-spacing: -1px;
}

.container {
    max-width: 1200px;
    padding: 0 80px;
}

/* Hidden Breadcrumbs for SEO */
.breadcrumbs-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Logo Styles */
.logo-img {
    height: 60px;
    width: auto;
}

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

/* Text colors */
.text-green {
    color: var(--dark-green);
}

.text-red {
    color: var(--primary-red);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-dark);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--dark-green);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Navigation */
.navbar {
    background: var(--primary-white);
    box-shadow: var(--shadow);
    border-bottom: var(--border-black);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
    flex-direction: row;
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-red); /* Changed from green to red */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red); /* Changed from green to red */
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Word Lid Button Special Styling */
.btn-lid {
    background: var(--dark-green);
    color: var(--primary-white) !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-lid:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-lid::after {
    display: none;
}

.btn-lid-large {
    background: var(--dark-green);
    color: var(--primary-white);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-lid-large:hover {
    background: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-accent {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #c00510;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-white);
    border: 2px solid var(--dark-green);
}
/* CTA card buttons hover - red */
.cta-card .btn-secondary:hover {
    background: var(--primary-red) !important;
    border-color: var(--primary-red);
    color: var(--primary-white);
}

/* Button secondary hover - make red */
.btn-secondary:hover {
    background: var(--primary-red) !important; /* Changed from green to red */
    color: var(--primary-white);
    border-color: var(--primary-red);
    box-shadow: 0 4px 20px rgba(227, 6, 19, 0.3); /* Red shadow */
}
.btn-accent {
    background: var(--dark-green);
    color: var(--primary-white);
}

.btn-accent:hover {
    background: var(--dark-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

/* Hero Section */
/* Hero Section - Darker Text/Content */
.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
    border-bottom: var(--border-black);
}

.text-black {
    font-size: 21px;
    color: var(--primary-black);
    font-weight: bold;
}

.text-red {
    font-size: 21px;
    color: var(--primary-red);
    font-weight: bold;
}

.text-red-bold {
    color: var(--primary-red);
    font-size: 33px;
    font-weight: 900; /* Bold */
    letter-spacing: -2.0px;
    
}

.text-green-bold {
    font-size: 33px;
    color: var(--dark-green);
    font-weight: 900; /* Bold */
    letter-spacing: -2.0px;
}

.hero-content {
    flex: 1;
    padding: 0.5rem 2rem 4rem 2rem; /* Reduced top padding even more (was 1rem) */
    z-index: 2;
    position: relative;
}

/* Hero title styling */
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    margin-top: -1.5rem; /* More negative margin to move further up (was -1rem) */
    animation: slideInLeft 0.8s ease;
    line-height: 0.9;
    letter-spacing: -2.0px;
}

.hero-title .text-black-large {
    color: var(--primary-black);
    display: block;
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -2.0px;
 
}

.hero-title .text-black {
    color: var(--primary-black);
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.hero-title .text-mixed {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    margin-top: -0.2rem;
}

.hero-title .text-red {
    color: var(--primary-red);
}

.hero-title .text-green {
    color: var(--dark-green);
    font-weight: 900; /* Extra bold for "Groen!" */
}

/* Green button for "Doe Mee" */
.btn-green {
    background: var(--dark-green);
    color: var(--primary-white);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-green:hover {
    background: var(--dark-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.hero-subtitle.text-green-bold {
    color: var(--dark-green);
    font-weight: 700;
}


/* Make red text portions even bolder */
.hero-title .text-red,
.hero-title span {
    font-size: 33px;
    color: #000000; /* Darker red */
    font-weight: 900;
    letter-spacing: -2.0px;
}

.hero-subtitle {
    font-family: "Montserrat", sans-serif;
    font-size: 23px;
    color: #555; /* Very dark gray/almost black */
    margin-bottom: 2rem;
   /* max-width: 600px;
    animation: slideInLeft 1s ease;  */
    opacity: 1;
  /*  line-height: 1.7;
    letter-spacing: -1.5px; */
}

/* Update secondary button in hero if using btn-secondary class */
.hero-buttons .btn-secondary {
    background: var(--dark-green);
    color: var(--primary-white);
    border: 2px solid var(--dark-green);
}

.hero-buttons .btn-secondary:hover {
    background: var(--dark-green-hover);
    color: var(--primary-white);
    box-shadow: var(--shadow-green);
}

/* Footer logo container for proper aspect ratio */
.footer-logo-container {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo {
    display: block;
    width: auto;
    height: 60px;
    max-width: 200px;
    object-fit: contain;
}

/* Darker button styles */
.hero-buttons .btn-primary {
    background: #c00510; /* Darker red */
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary:hover {
    background: #a00410; /* Even darker on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: #000000; /* Black text */
    border: 2px solid #000000; /* Black border */
    font-weight: 700;
}

.hero-buttons .btn-secondary:hover {
    background: #000000;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border: #000000 0px solid;
}

.hero-logo {
    max-width: 400px;
    border: #027226 4px solid;
    width: 100%;
    height: auto;
    opacity: 1; /* Full opacity for darker appearance */
    animation: slideInRight 1s ease;
    filter: contrast(1.2) brightness(0.9); /* Higher contrast, slightly darker */
}

/* Alternative darker text options */

/* Option 1: With dark overlay on text area only */
/*
.hero-content {
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, transparent 100%);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}
*/

/* Option 2: Darker text with more weight */
/*
.hero-title {
    color: #000000;
    font-weight: 900;
    -webkit-text-stroke: 1px black;
}
*/

/* Option 3: High contrast version */
/*
.hero-title {
    color: #000000;
    text-shadow: 
        1px 1px 0 rgba(0,0,0,0.1),
        2px 2px 0 rgba(0,0,0,0.05);
    mix-blend-mode: multiply;
}
*/

@media (max-width: 768px) {
  .hero-content {
        padding: 2rem 2rem 3rem 2rem; /* Adjusted for mobile */
    }
    
    .hero-title {
        margin-top: -0.5rem; /* Less negative margin on mobile */
    }
    
    .hero-subtitle {
        margin-bottom: 2.5rem; /* Slightly less on mobile */
    }
    
    .hero-buttons {
        margin-top: 1rem;
    }
    .hero-title .text-black-large {
        font-size: 3rem; /* Smaller on mobile but still large */
        letter-spacing: -3px;
    }
    
    .hero-title .text-mixed {
        font-size: 2.8rem;
        margin-top: -0.1rem;
    }
    
    .hero-subtitle {
        font-size: 21px;
        color: var(--primary-black);
        font-weight: 700;
    }
}
/* App Promotion Section */
.app-promotion {
    padding: 5rem 0;
    background: var(--primary-white);
    position: relative;
    overflow: hidden;
    border-top: var(--border-black);
    border-bottom: var(--border-black);
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
    font-weight: bolder;
}

.app-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
    font-weight: bold;
}

.app-text p strong {
    color: var(--gray-dark);
    font-weight: 900;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.store-badge {
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.app-store-btn:hover .store-badge,
.google-play-btn:hover .store-badge {
    transform: scale(1.05);
}

/* Phone Mockup */
.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-interface {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--dark-green);
    color: white;
    border-bottom: var(--border-black);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
}

.app-menu-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-item {
    background: var(--gray-light);
    padding: 20px 15px;
    border-radius: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.app-item:hover {
    background: var(--dark-green);
    color: white;
    transform: translateX(5px);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--primary-red);
    color: var(--primary-white);
    border-bottom: var(--border-black);
    
}
/* Stats Section Title - if you have an h2 */
.stats h2 {
  font-size: 2rem; /* Increased from default */
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
}

/* Themes Section */
.themes {
    padding: 5rem 0;
    background: var(--gray-light);
    border-bottom: var(--border-black);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

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

.theme-card {
    background: var(--primary-white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: var(--border-black); /* Add black border to cards */
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
/* Fix Duurzaamheid card to be same size as others */
.theme-card-featured {
    grid-column: span 1; /* Changed from span 2 to span 1 */
    background: var(--primary-white);
    border: var(--border-black); /* Keep consistent black border */
}

.theme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--dark-green);
    opacity: 0;
    transition: var(--transition);
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.theme-card:hover::before {
    opacity: 1;
}

.theme-card-featured {
    grid-column: span 1; /* Override any featured card to be same size */
    border: var(--border-black); /* Same border as others */
}

.theme-card[data-theme="wonen"] .theme-icon { color: var(--primary-red); }
.theme-card[data-theme="economie"] .theme-icon { color: #ff9800; }
.theme-card[data-theme="veiligheid"] .theme-icon { color: #2196f3; }
.theme-card[data-theme="duurzaam"] .theme-icon { color: var(--dark-green); 
}
.theme-card[data-theme="democratie"] .theme-icon { color: #9c27b0; }
.theme-card[data-theme="cultuur"] .theme-icon { color: #e91e63; }
.theme-card[data-theme="duurzaam"] {
    grid-column: span 1; /* Force single column */
}
.theme-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.theme-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.theme-card p {
    color: #666;
    margin-bottom: 1rem;
}

.theme-expand {
    background: none;
    border: none;
    color: var(--dark-green);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.theme-expand:hover {
    transform: translateX(5px);
}

/* Theme details - Start hidden/collapsed */
.theme-details {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-medium);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Active state - Show when expanded */
.theme-details.active {
    display: block;
    opacity: 1;
    max-height: 500px;
    animation: slideDown 0.3s ease;
}

.theme-details ul {
    list-style: none;
}

.theme-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.theme-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--dark-green);
    font-weight: bold;
}

.theme-details li strong {
    color: var(--dark-green);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: var(--primary-white);
    border-bottom: var(--border-black);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.stadsdeel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stadsdeel-btn {
    padding: 1rem;
    background: var(--primary-white);
    border: var(--border-black); /* Changed to black border */
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.stadsdeel-btn:hover {
    background: var(--primary-red);
    color: var(--primary-white);
    border-color: var(--primary-red);
}

.stadsdeel-btn.active {
    background: var(--dark-green);
    color: var(--primary-white);
    border-color: var(--dark-green);
}

.stadsdeel-info {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.stadsdeel-info h3 {
    color: var(--dark-green);
    margin-bottom: 1rem;
}

/* News Section */
.news {
    padding: 5rem 0;
    background: var(--gray-light);
    border-bottom: var(--border-black);
}

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

.news-card {
    background: var(--primary-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: var(--border-black);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    height: 200px;
    background: var(--primary-red);
    position: relative;
}

.news-image.green-bg {
    background: var(--dark-green);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
}

.news-content h3 {
    margin: 0.5rem 0;
    color: var(--gray-dark);
}

.news-link {
    color: var(--dark-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}

.news-link:hover {
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--dark-green);
    color: var(--primary-white);
    border-bottom: var(--border-black);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border: var(--border-black);
}

.cta-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cta-card p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* Newsletter */
.newsletter {
    padding: 3rem 0;
    background: var(--gray-dark);
    color: var(--primary-white);
    border-bottom: var(--border-black);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--primary-white);
    padding: 3rem 0 1rem;
    border-top: var(--border-black);
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--dark-green);
}

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

.footer-column li {
    padding: 0.5rem 0;
}

.footer-column a {
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--dark-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.2);
}

.event-card {
    background: rgba(0, 90, 60, 0.1);
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid var(--dark-green);
}

.event-date {
    display: inline-block;
    background: var(--dark-green);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.partner-link {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.partner-link p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* Partner link - make CyberSecurityAD.com red */
.partner-link a {
    color: var(--primary-white) !important; /* Changed from green to red */
    font-weight: 600;
}

.partner-link a:hover {
    color: #ff0011 !important; /* Darker red on hover */
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--dark-green);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

        /* Critical font-face declarations for immediate use */
        @font-face {
            font-family: 'Montserrat';
            font-style: normal;
            font-weight: 400;
            font-display: swap;
            src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
            unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
        }
        
        @font-face {
            font-family: 'Montserrat';
            font-style: normal;
            font-weight: 600;
            font-display: swap;
            src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459WRhyyTh89Y.woff2) format('woff2');
            unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
        }
        
        @font-face {
            font-family: 'Montserrat';
            font-style: normal;
            font-weight: 700;
            font-display: swap;
            src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUSjIg1_i6t8kCHKm459WxhyyTh89Y.woff2) format('woff2');
            unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
        }
        
        /* Critical CSS variables and resets */
        :root {
            --va-green: #005a3c;
            --va-red: #e30613;
        }
        
        * {
            margin: 0;
            padding: 0;
          
        }
        
        html {
            box-sizing: border-box;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        
        body {
            margin: 0;
            font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            font-weight: 400;
            line-height: 1.6;
            color: #333;
        }
        
        /* Prevent layout shift for hero section */
        .hero {
            min-height: 60vh;
            display: flex;
            align-items: center;
        }
        
        /* Prevent FOUC for buttons */
        .btn-primary, .btn-secondary {
            display: inline-block;
            padding: 0.8rem 1.2rem;
            border-radius: 0.5rem;
            text-decoration: none;
            font-weight: 600;
        }
        
        .btn-primary {
            background: var(--va-green);
            color: #fff;
        }
        
        .btn-secondary {
            border: 2px solid var(--va-green);
            color: var(--va-green);
            background: transparent;
        }
        
        /* Hide elements until fonts load */
        .fonts-loading * {
            opacity: 0.98;
        }
        
        .fonts-loaded * {
            opacity: 1;
            transition: opacity 0.1s ease-in;
        }




/* Hero buttons - add more space above */
.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1.2s ease;
    margin-top: 6rem; /* Add extra margin to push buttons down */
}


.modal-content {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    border: var(--border-black);
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

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

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-green);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-green);
    box-shadow: 0 0 0 3px rgba(0, 90, 60, 0.1);
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 500px;
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-logo {
        max-width: 250px;
    }

    .app-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-mockup {
        margin-top: 2rem;
    }
    
    .phone-frame {
        width: 240px;
        height: 480px;
    }
    
    .app-buttons {
        justify-content: center;
        flex-direction: column;
    }

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

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

    .theme-card-featured {
        grid-column: span 1;
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {

    .hero-content {
        padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    }
    
    .hero-title {
        margin-top: 0; /* No negative margin on small screens */
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        margin-top: 0.5rem;
        flex-direction: column;
    }
    .hero-title .text-black-large {
        font-size: 3rem;
        letter-spacing: -3px;
    }
    
    .hero-title .text-mixed {
        font-size: 2.8rem;
        margin-top: 0;
    }
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-green {
        width: 100%;
        text-align: center;
    }
}
    
    .hero-subtitle {
        font-size: 21px;
        font-weight: 600;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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


/* 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: 0;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--dark-green);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero-buttons,
    .newsletter,
    .social-links,
    .modal,
    .cookie-banner {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .section-title {
        page-break-after: avoid;
    }

    .theme-card,
    .news-card {
        page-break-inside: avoid;
    }
}

/* SEO-friendly hidden text for crawlers */
.seo-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Structured data microformat helpers */
[itemscope] {
    border: none;
}

[itemprop] {
    display: inline;
}

.canvas-container {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: var(--border-black);
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    border: var(--border-black);
}

.event-card {
    background: rgba(0, 90, 60, 0.1);
    padding: 1rem;
    border-radius: 5px;
    border: var(--border-black);
}

/* App Promotion Section - Enhanced Styling */
.app-promotion {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    border-top: var(--border-black);
    border-bottom: var(--border-black);
}

.app-promotion::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 90, 60, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
}

.app-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--gray-dark);
    line-height: 1.2;
}

.app-title .text-red {
    display: block;
    margin-top: 0.5rem;
}

.app-intro {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--dark-green);
}

.lead-text {
    font-size: 21px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.download-section {
    text-align: center;
    padding-top: 1rem;
}

.download-text {
    font-size: 1.2rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.app-btn-ios {
    background: #000;
    color: white;
}

.app-btn-ios:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.app-btn-android {
    background: #3DDC84;
    color: white;
}

.app-btn-android:hover {
    background: #2eca72;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61,220,132,0.3);
}

.app-icon {
    width: 20px;
    height: 20px;
}

.app-divider {
    margin: 3rem 0;
    border: none;
    border-top: 2px solid var(--gray-light);
    position: relative;
}

.app-divider::after {
    content: '✦';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 15px;
    color: var(--dark-green);
    font-size: 1.2rem;
}

.app-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.app-subtitle .text-green {
    color: var(--dark-green);
    font-weight: 900;
}


.app-highlights {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-highlights li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(90deg, rgba(0, 90, 60, 0.05) 0%, transparent 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.app-highlights li:hover {
    background: linear-gradient(90deg, rgba(0, 90, 60, 0.1) 0%, rgba(0, 90, 60, 0.05) 100%);
    transform: translateX(5px);
}

.highlight-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.app-highlights strong {
    color: var(--dark-green);
    display: block;
    margin-bottom: 0.25rem;
}

.app-highlights span {
    color: #666;
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
/* Feature Card Styling - Red Border with Green Hover */
.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
}

/* Red border for all feature cards */
.feature-red-border {
    border: 3px solid var(--primary-red) !important;
}

/* Green border on hover */
.feature-red-border:hover {
    border-color: var(--dark-green) !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 90, 60, 0.2);
}

/* Special styling for contact cards */
.feature-contact.feature-red-border {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.02) 0%, rgba(255, 255, 255, 1) 100%);
}

.feature-contact.feature-red-border:hover {
    background: linear-gradient(135deg, rgba(0, 90, 60, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-color: var(--dark-green) !important;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h4 {
    color: var(--gray-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Enhanced Phone Mockup */
.app-mockup {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: sticky;
    top: 100px;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.3),
        inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 5px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-interface {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, #007050 100%);
    color: white;
    border-bottom: var(--border-black);
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.app-logo {
    background: white;
    color: var(--dark-green);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.9rem;
}

.app-menu-items {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.app-item {
    background: var(--gray-light);
    padding: 18px 15px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.app-item:hover {
    background: linear-gradient(135deg, var(--dark-green) 0%, #007050 100%);
    color: white;
    transform: translateX(5px);
    border-color: var(--dark-green);
}

.item-icon {
    font-size: 1.3rem;
    min-width: 30px;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .app-content {
        grid-template-columns: 1fr;
    }
    
    .app-mockup {
        position: static;
        margin-top: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .app-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    .app-btn {
        width: 100%;
        justify-content: center;
    }
    
    .phone-frame {
        width: 280px;
        height: 560px;
    }
}
.text-red-bold {
    color: var(--primary-red);
    font-weight: 900;
}

.app-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
    line-height: 1.3;
}


.features-title {
    font-size: 1.3rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-light);
}

.feature-contact {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.02) 0%, rgba(0, 90, 60, 0.02) 100%);
    border: 2px solid var(--gray-light);
}

.feature-contact:hover {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.05) 0%, rgba(0, 90, 60, 0.05) 100%);
}

/* Updated phone mockup for buurt-app */
.app-header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-green) 100%);
    border-bottom: var(--border-black);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.app-item {
    background: var(--gray-light);
    padding: 16px 15px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.app-item-alert {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.1) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-color: var(--primary-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(227, 6, 19, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
    }
}

.item-badge {
    position: absolute;
    right: 15px;
    background: var(--primary-red);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.app-highlights {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.app-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.app-highlights li:hover {
    border-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 90, 60, 0.1);
}

.highlight-icon {
    font-size: 1.8rem;
    min-width: 35px;
    text-align: center;
}

.app-highlights strong {
    color: var(--gray-dark);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.app-highlights span {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-highlights {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional SEO-Optimized Styles */

/* Visually hidden but available for screen readers */
/* Visually hidden for SEO */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Mark tag styling for SEO emphasis */
mark {
    background: linear-gradient(135deg, rgba(0, 90, 60, 0.1) 0%, rgba(227, 6, 19, 0.1) 100%);
    color: var(--dark-green);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}



.stats-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item dt {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

.stat-item dd {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-green);
}


.app-store-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Mark tag for SEO emphasis */
mark {
    background: rgba(0, 90, 60, 0.1);
    color: var(--dark-green);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Data elements styling */
data {
    font-weight: 700;
    color: var(--primary-red);
}

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

/* Additional CSS for SEO optimization */

/* Visually hidden but available for SEO/Screen readers */
.visually-hidden,
.seo-content {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* SEO H3 specific styling */
.app-subtitle-seo {
    /* Hidden from view but indexed by search engines */
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


.feature-card h4 {
    color: var(--gray-dark);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.feature-contact {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.02) 0%, rgba(0, 90, 60, 0.02) 100%);
    border: 2px solid var(--gray-light);
}

.feature-contact:hover {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.05) 0%, rgba(0, 90, 60, 0.05) 100%);
}


/* Features grid updated for 9 items */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

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

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

/* Feature Card Styling - Enhanced Visual Effects */
.feature-card.feature-hover-reveal {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 3px solid var(--dark-green);
    box-shadow: 0 4px 6px rgba(0, 90, 60, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Feature icon styling */
.feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.4s ease;
    opacity: 0.9;
}

/* Feature title */
.feature-card h4 {
    color: var(--gray-dark);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    transition: all 0.4s ease;
}

/* Hide description by default */
.feature-card .feature-description {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 0.5rem;
    margin-top: 0.5rem;
    visibility: hidden;
    width: 100%;
    text-align: center;
}

/* Hover state - Show description and change border to red */
.feature-card.feature-hover-reveal:hover {
    border-color: var(--primary-red);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 24px rgba(227, 6, 19, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    background: #fafafa;
    padding-bottom: 2.5rem;
}

/* Show description on hover */
.feature-card.feature-hover-reveal:hover .feature-description {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    position: static;
}

/* Adjust icon on hover */
.feature-card.feature-hover-reveal:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    opacity: 1;
    color: var(--primary-red);
}

/* Adjust title on hover */
.feature-card.feature-hover-reveal:hover h4 {
    color: var(--primary-red);
    transform: scale(1.05);
    margin-bottom: 0.5rem;
}

/* Special styling for contact cards */
.feature-card.feature-contact {
    background: rgba(0, 90, 60, 0.02);
}

.feature-card.feature-contact:hover {
    background: rgba(227, 6, 19, 0.03);
}

/* Add subtle animation effect */
@keyframes pulseGreen {
    0% {
        box-shadow: 0 4px 6px rgba(0, 90, 60, 0.1);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 90, 60, 0.2);
    }
    100% {
        box-shadow: 0 4px 6px rgba(0, 90, 60, 0.1);
    }
}

.feature-card.feature-hover-reveal:not(:hover) {
    animation: pulseGreen 3s infinite subtle;
}

/* Focus state for accessibility */
.feature-card.feature-hover-reveal:focus {
    outline: 3px solid var(--dark-green);
    outline-offset: 2px;
}

/* Active state */
.feature-card.feature-hover-reveal:active {
    transform: translateY(-4px) scale(1.01);
    transition: all 0.1s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .feature-card.feature-hover-reveal {
        min-height: 100px;
    }
    
    .feature-card .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h4 {
        font-size: 1rem;
    }
    
    /* Show descriptions on mobile (no hover) */
    .feature-card .feature-description {
        position: static;
        opacity: 0.8;
        transform: none;
        visibility: visible;
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
}

/* Enhanced visual depth */
.features-grid {
    position: relative;
    padding: 1rem;
    background: rgba(0, 90, 60, 0.01);
    border-radius: 15px;
}

/* Add decorative element */
.features-grid::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(0, 90, 60, 0.05);
    border-radius: 20px;
    z-index: -1;
}

/* Hide feature grid - keep for SEO */
.features-grid-hidden {
    display: none;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Enhanced Phone Mockup Styling */
.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    margin: 0 auto;
    max-width: 400px;
}

.phone-frame {
    width: 360px;
    height: 720px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.4),
        0 15px 30px rgba(0,0,0,0.3),
        inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 35%;
    height: 5px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-interface {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--dark-green);
    color: white;
    border-bottom: var(--border-black);
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.app-logo {
    background: white;
    color: var(--dark-green);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.9rem;
}

.app-menu-items {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    background: white;
}

/* Scrollbar styling */
.app-menu-items::-webkit-scrollbar {
    width: 4px;
}

.app-menu-items::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.app-menu-items::-webkit-scrollbar-thumb {
    background: var(--dark-green);
    border-radius: 2px;
}

.app-item {
    background: white;
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    position: relative;
    font-weight: 500;
}

/* Primary features with green border */
.app-item-primary {
    border-color: var(--dark-green);
    background: rgba(0, 90, 60, 0.02);
}

.app-item-primary:hover {
    background: var(--dark-green);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 90, 60, 0.3);
}

/* Contact features with red accent */
.app-item-contact {
    border-color: var(--primary-red);
    background: rgba(227, 6, 19, 0.02);
}

.app-item-contact:hover {
    background: var(--primary-red);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

/* Regular items */
.app-item:hover {
    background: #f0f0f0;
    border-color: var(--dark-green);
    transform: translateX(3px);
}

.item-icon {
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

/* Divider line */
.app-divider-line {
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}

/* Active state indicator */
.app-item::after {
    content: '';
    position: absolute;
    right: 10px;
    width: 6px;
    height: 6px;
    background: var(--dark-green);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-item:hover::after {
    opacity: 1;
}

/* Responsive for different screen sizes */
@media (max-width: 768px) {
    .app-mockup {
        max-width: 320px;
    }
    
    .phone-frame {
        width: 300px;
        height: 600px;
    }
    
    .app-item {
        font-size: 12px;
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
    .app-mockup {
        max-width: 280px;
        padding: 1rem;
    }
    
    .phone-frame {
        width: 260px;
        height: 520px;
    }
    
    .app-item {
        font-size: 11px;
        padding: 10px 8px;
        gap: 8px;
    }
    
    .item-icon {
        font-size: 1rem;
    }
}
/* App Features Section Layout */
.app-features-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    padding: 2rem 0;
}

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

/* Feature Card Styling */
.feature-card {
    background: white;
    border: 3px solid var(--dark-green);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.15);
}

/* Feature Icon */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

/* H3 for SEO - styled smaller for visual hierarchy */
.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary-red);
}

/* Feature Description */
.feature-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    opacity: 0.9;
}

/* Contact cards special styling */
.feature-contact {
    background: rgba(227, 6, 19, 0.02);
}

.feature-contact:hover {
    background: rgba(227, 6, 19, 0.05);
}
/* Phone Mockup with Hover Tooltips */
.phone-frame {
    width: 360px;
    height: 720px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.4),
        0 15px 30px rgba(0,0,0,0.3),
        inset 0 0 0 2px rgba(255,255,255,0.1);
    position: relative;
}

/* App Item with Tooltip */
.app-item {
    background: white;
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    position: relative;
    font-weight: 500;
}

/* UPDATED: Tooltip positioned to the LEFT of phone */
.app-tooltip {
    position: absolute;
    right: calc(100% + 380px); /* Position to the left of the phone frame */
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-green);
    color: white;
    padding: 15px;
    border-radius: 10px;
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 90, 60, 0.3);
}

/* Arrow pointing to the right (towards the phone) */
.app-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--dark-green);
}

.app-tooltip strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.app-tooltip p {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Show tooltip on hover */
.app-item:hover .app-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px);
}

/* UPDATED: Main Description Box - Positioned to LEFT of phone on hover */
.app-description-box {
    position: absolute;
    left: -350px; /* Position to the left of the phone */
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-green);
    color: white;
    padding: 25px;
    border-radius: 15px;
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(0, 90, 60, 0.4);
    z-index: 100;
}

/* Arrow pointing to the right (towards the phone) */
.app-description-box::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 12px solid transparent;
    border-left-color: var(--dark-green);
}

.app-description-content {
    text-align: left; /* Changed from center to left for better readability */
}

.app-description-content p {
    margin: 0.5rem 0;
    font-size: 14px;
    line-height: 1.6;
    color: white;
}

.app-description-content p:first-child {
    font-size: 15px;
    margin-bottom: 0.75rem;
}

.app-description-content strong {
    font-weight: 700;
    color: white;
}

.app-description-content em {
    font-style: italic;
    opacity: 0.95;
}

/* Show main description on phone hover - positioned LEFT */
.phone-frame:hover .app-description-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px); /* Slight movement for smooth animation */
}

/* Alternative: Show description on mockup hover */
.app-mockup:hover .app-description-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

/* Enhanced hover states for app items */
.app-item:hover {
    background: linear-gradient(135deg, rgba(0, 90, 60, 0.05) 0%, rgba(0, 90, 60, 0.02) 100%);
    border-color: var(--dark-green);
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 1400px) {
    /* On smaller screens, position description below the phone */
    .app-description-box {
        left: 50%;
        top: auto;
        bottom: -20px;
        transform: translateX(-50%) translateY(100%);
        width: 90%;
        max-width: 400px;
    }
    
    .app-description-box::after {
        left: 50%;
        top: -12px;
        bottom: auto;
        transform: translateX(-50%);
        border-left-color: transparent;
        border-bottom-color: var(--dark-green);
    }
    
    .phone-frame:hover .app-description-box,
    .app-mockup:hover .app-description-box {
        transform: translateX(-50%) translateY(calc(100% + 20px));
    }
    
    .app-description-content {
        text-align: center;
    }
}

@media (max-width: 1200px) {
    .app-tooltip {
        right: calc(100% + 320px); /* Adjust for smaller screens */
        width: 200px;
    }
}

@media (max-width: 1024px) {
    .app-tooltip {
        right: calc(100% + 20px); /* Closer to phone on tablets */
        width: 180px;
    }
}

@media (max-width: 768px) {
    /* On mobile, show tooltip below the item */
    .app-tooltip {
        left: 0;
        right: auto;
        top: calc(100% + 10px);
        transform: translateY(0);
        width: calc(100% - 20px);
    }
    
    .app-tooltip::after {
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        border-left-color: transparent;
        border-right-color: transparent;
        border-bottom-color: var(--dark-green);
    }
    
    .app-item:hover .app-tooltip {
        transform: translateY(0) translateX(0);
    }
    
    /* Description box on mobile - below phone */
    .app-description-box {
        position: static;
        margin-top: 2rem;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .app-description-box::after {
        display: none;
    }
    
    .app-description-content {
        text-align: center;
    }
    
    .app-description-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .app-description-content p {
        font-size: 12px;
    }
}

/* Animation for smooth appearance */
@keyframes fadeInTooltip {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(-5px);
    }
}

@keyframes fadeInDescription {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(0);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(-10px);
    }
}

.app-item:hover .app-tooltip {
    animation: fadeInTooltip 0.3s ease forwards;
}

.phone-frame:hover .app-description-box {
    animation: fadeInDescription 0.4s ease forwards;
}

/* Special styling for contact items */
.app-item[data-feature="handhaving"],
.app-item[data-feature="gemeenteraad"] {
    border-color: rgba(227, 6, 19, 0.2);
}

.app-item[data-feature="handhaving"]:hover .app-tooltip,
.app-item[data-feature="gemeenteraad"]:hover .app-tooltip {
    background: linear-gradient(135deg, var(--primary-red) 0%, #c00510 100%);
}

.app-item[data-feature="handhaving"] .app-tooltip::after,
.app-item[data-feature="gemeenteraad"] .app-tooltip::after {
    border-left-color: var(--primary-red);
}

/* Highlight effect on hover */
.app-item:hover .item-icon {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Different tooltip colors for different features */
.app-item[data-feature="buurtacties"]:hover .app-tooltip,
.app-item[data-feature="netwerk"]:hover .app-tooltip,
.app-item[data-feature="stadskaart"]:hover .app-tooltip,
.app-item[data-feature="campagnes"]:hover .app-tooltip {
    background: linear-gradient(135deg, var(--dark-green) 0%, #007050 100%);
}

/* Special hover effects for different app items */
.app-item[data-feature="handhaving"]:hover,
.app-item[data-feature="gemeenteraad"]:hover {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.05) 0%, rgba(227, 6, 19, 0.02) 100%);
    border-color: var(--primary-red);
}

/* Ensure phone frame stays above description but below tooltips */
.phone-frame {
    position: relative;
    z-index: 10;
}

.app-mockup {
    position: relative;
    z-index: 10;
}

/* App divider styling enhancement */
.app-divider {
    margin: 2rem 0;
    border: none;
    border-top: 2px solid var(--gray-light);
    position: relative;
}

.app-divider::after {
    content: '✦';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0 15px;
    color: var(--dark-green);
    font-size: 1.2rem;
}
/* Enhanced App Description Box styling */
.app-description-box {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-description-box.visible {
    opacity: 1;
    visibility: visible;
}

.app-description-box.active-feature {
    background: linear-gradient(135deg, var(--dark-green) 0%, #007050 100%);
}

.description-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.description-title {
    font-size: 16px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.description-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.description-subtitle {
    font-size: 13px;
    opacity: 0.9;
    font-style: italic;
}

/* Smooth content transition */
.app-description-content {
    transition: all 0.3s ease;
}

/* Highlight effect when item is hovered */
.app-item:hover {
    background: linear-gradient(135deg, rgba(0, 90, 60, 0.1) 0%, rgba(0, 90, 60, 0.05) 100%);
    border-color: var(--dark-green);
    transform: translateX(5px);
}

/* Special styling for contact features */
.app-item[data-feature="handhaving"]:hover,
.app-item[data-feature="gemeenteraad"]:hover {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.1) 0%, rgba(227, 6, 19, 0.05) 100%);
    border-color: var(--primary-red);
}

/* Different background for contact features in description */
.app-item[data-feature="handhaving"]:hover ~ .app-description-box,
.app-item[data-feature="gemeenteraad"]:hover ~ .app-description-box {
    background: linear-gradient(135deg, var(--primary-red) 0%, #c00510 100%);
}
/* CSS-only toggle using checkbox hack */
.theme-expand-checkbox {
    display: none;
}

.theme-expand-label {
    display: inline-block;
    padding: 8px 16px;
    background: none;
    border: none;
    color: var(--dark-green);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.theme-expand-label::after {
    content: ' →';
}

.theme-expand-checkbox:checked ~ .theme-expand-label::after {
    content: ' ←';
}

.theme-details {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-medium);
}

.theme-expand-checkbox:checked ~ .theme-details {
    display: block;
    animation: slideDown 0.3s ease;
}
.standpunt-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--dark-green);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.program-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 10px;
}

.program-intro .lead-text {
    font-size: 21px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.program-download {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 90, 60, 0.05) 0%, 
        rgba(227, 6, 19, 0.05) 100%);
    border-radius: 10px;
}
html {
    /* Use system font initially */
    font-family: system-ui, -apple-system, sans-serif;
}

/* When fonts are loaded, switch to Montserrat */
html.fonts-loaded body {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

/* Optional: Add subtle transition */
body {
    transition: font-family 0.1s ease-in-out;
}
/* In your styles.css */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Montserrat Regular'),
         url('/fonts/montserrat-v26-latin-regular.woff2') format('woff2'),
         url('/fonts/montserrat-v26-latin-regular.woff') format('woff');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Montserrat SemiBold'),
         url('/fonts/montserrat-v26-latin-600.woff2') format('woff2'),
         url('/fonts/montserrat-v26-latin-600.woff') format('woff');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Montserrat Bold'),
         url('/fonts/montserrat-v26-latin-700.woff2') format('woff2'),
         url('/fonts/montserrat-v26-latin-700.woff') format('woff');
}




/* Ultra Compact Phone Frame - All items visible */
.phone-frame-compact {
  max-height: 300px;
  overflow: visible;
  position: relative;
}

.phone-frame-compact .phone-screen {
  max-height: 300px;
  display: flex;
  flex-direction: column;
}

.phone-frame-compact .app-interface {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.phone-frame-compact .app-header {
  flex-shrink: 0;
  padding: 6px 10px;
  font-size: 13px;
  min-height: 35px;
}

.phone-frame-compact .app-menu-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 5px 0;
  overflow: visible;
}

.phone-frame-compact .app-item {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  min-height: 0; /* Allow items to shrink */
  font-size: 13px;
}

.phone-frame-compact .app-item .item-icon {
  font-size: 18px;
  margin-right: 8px;
  flex-shrink: 0;
}

.phone-frame-compact .app-item span:not(.item-icon) {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Adjust tooltips for smaller size */
.phone-frame-compact .app-tooltip {
  font-size: 12px;
  padding: 8px;
  max-width: 180px;
}
/* Features Section */
.features {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.features .section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.feature-icon {
  font-size: 44px;
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--va-green);
  font-weight: 700;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* CTA Section */
.features-cta {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.cta-text {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 30px;
  font-weight: 500;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-app-store, .btn-google-play {
  transition: transform 0.3s ease;
}

.btn-app-store:hover, .btn-google-play:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .features .section-title {
    font-size: 2rem;
  }
  
  .feature-card {
    padding: 20px;
  }
}
/* App Showcase Section */
.app-showcase {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f8f5 100%);
  overflow: hidden;
  position: relative;
  border-bottom: #000000 solid 3px;
  border-top: #000000 solid 3px;
}

/* Animated Title */
.app-hero {
  text-align: center;
  margin-bottom: 80px;
}

.app-title {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.animated-slide {
  display: block;
  animation: slideIn 0.8s ease-out;
}

.animated-slide:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.highlight-animated {
  background: linear-gradient(90deg, var(--va-green), var(--va-red));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradient 3s ease infinite;
}

@keyframes gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}


/* Download Section */
.app-download-section {
  text-align: center;
  margin-top: 80px;
  padding: 60px;
  background: var(--va-red);
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 3px solid var(--va-white);
}

.download-title {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: var(--primary-white);
}

.pulse-text {
  display: inline-block;
  color: yellow;
  animation: pulse 2s ease infinite;
  font-weight: 900;
  font-size: 55px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: #000;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-3px);
}

.btn-icon {
  fill: white;
}

.btn-text {
  text-align: left;
}

.btn-small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
}

.btn-large {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
}

/* App Statistics */
.app-stats {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    border: var(--border-black);
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--va-black);
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
}

/* Responsive */
@media (max-width: 1024px) {
  .app-interactive-showcase {
    grid-template-columns: 1fr;
  }
  
  .features-interactive {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  
  .feature-item {
    position: static;
  }
}

@media (max-width: 768px) {
  .app-title {
    font-size: 2rem;
  }
  
  .phone-frame {
    width: 280px;
    height: 560px;
  }
  
  .download-buttons {
    flex-direction: column;
  }
  
  .app-stats {
    gap: 30px;
  }
}

/* ... existing styles ... */

/* ========================================
   APP SHOWCASE - INTERACTIVE FEATURES
   ======================================== */

.app-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f8f5 100%);
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid #000000;
    border-top: 3px solid #000000;
}

.app-hero {
    text-align: center;
    margin-bottom: 80px;
}

.app-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}



/* Phone Container - Center Column */
.phone-container {
    grid-column: 2;
    position: relative;
    z-index: 10;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background: #333;
    border-radius: 10px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

/* Screen Content */
.screen-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screen-content.active {
    opacity: 1;
}

.screen-center {
    text-align: center;
}

.screen-logo {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.screen-text {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.feature-display {
    text-align: center;
    padding: 20px;
}

.feature-emoji {
    font-size: 60px;
    display: block;
    margin-bottom: 20px;
}

.feature-display h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.feature-display p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}


/* Left Column Features */
.features-left {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-end;
    padding-right: 0px;
}

/* Right Column Features */
.features-right {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    padding-left: 0px;
}

/* Feature Items - Uniform Styling */
.feature-item {
    pointer-events: auto;
    width: 100%;
    max-width: 350px;
}

/* Feature Bubble - Consistent Size and Style */
.feature-bubble {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 2px solid #e30613;
    min-height: 100px;
    width: 100%;
    position: relative;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Hover Effects */
.feature-bubble:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #005a3c;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8f5 100%);
}

.feature-bubble.active {
    background: #005a3c;
    color: white;
    border-color: #005a3c;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 90, 60, 0.3);
}

.feature-bubble.active .feature-icon {
    transform: scale(1.1);
}

.feature-bubble.active .feature-info h3 {
    color: rgb(113, 0, 0);
}

/* Feature Icon */
.feature-icon {
    font-size: 44px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Feature Info */
.feature-info {
    flex: 1;
    min-width: 0;
}

.feature-info h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
    margin: 0;
    transition: color 0.3s ease;
}

/* Connection Lines (Optional) */
.feature-bubble::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item.left .feature-bubble::after {
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.feature-item.right .feature-bubble::after {
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.feature-bubble:hover::after {
    opacity: 0.5;
}

/* Improved Positioning for 6 Features */
.feature-item:nth-child(1),
.feature-item:nth-child(2),
.feature-item:nth-child(3) {
    justify-self: end;
}

.feature-item:nth-child(4),
.feature-item:nth-child(5),
.feature-item:nth-child(6) {
    justify-self: start;
}

/* Alternative: Explicit positioning for perfect alignment */


.feature-item {
    position: absolute;
    pointer-events: auto;
    width: 350px;
}

/* Left side - evenly spaced */
.feature-item:nth-child(1) {
    left: 0;
    top: 20%;
    transform: translateY(-50%);
}

.feature-item:nth-child(2) {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.feature-item:nth-child(3) {
    left: 0;
    top: 80%;
    transform: translateY(-50%);
}

/* Right side - evenly spaced */
.feature-item:nth-child(4) {
    right: 0;
    top: 20%;
    transform: translateY(-50%);
}

.feature-item:nth-child(5) {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.feature-item:nth-child(6) {
    right: 0;
    top: 80%;
    transform: translateY(-50%);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .app-interactive-showcase {
        gap: 40px;
    }
    
    .feature-item {
        width: 300px;
    }
    
    .feature-bubble {
        padding: 16px;
        min-height: 90px;
    }
    
    .feature-icon {
        font-size: 44px;
        width: 40px;
        height: 40px;
    }
    
    .feature-info h3 {
        font-size: 18px;
    }
}

@media (max-width: 1200px) {
    .feature-item {
        width: 260px;
    }
    
    .feature-bubble {
        gap: 12px;
    }
}

@media (max-width: 992px) {
    /* Stack layout for tablets */
    .app-interactive-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .phone-container {
        grid-column: 1;
        margin: 0 auto;
    }
    
    .features-interactive {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 40px;
        padding: 0 20px;
    }
    
    .feature-item {
        position: static;
        width: 100%;
        transform: none;
        max-width: none;
    }
    
    .feature-bubble::after {
        display: none;
    }
}

@media (max-width: 640px) {
    /* Single column for mobile */
    .features-interactive {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }
    
    .phone-frame {
        width: 280px;
        height: 560px;
    }
    
    .feature-bubble {
        min-height: 80px;
        padding: 16px;
    }
    
    .feature-icon {
        font-size: 44px;
        width: 36px;
        height: 36px;
    }
    
    .feature-info h3 {
        font-size: 18px;
    }
}

/* Animation for feature selection */
@keyframes featureSelect {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0);
    }
}

.feature-bubble.selecting {
    animation: featureSelect 0.4s ease;
}

/* Smooth transitions for screen changes */
.screen-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.95);
}

.screen-content.active {
    transform: scale(1);
}

/* Optional: Add numbering or labels */
.feature-bubble::before {
    content: attr(data-number);
    position: absolute;
    top: -10px;
    right: 20px;
    background: #e30613;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-bubble:hover::before {
    opacity: 1;
}

/* Ensure proper stacking */
.phone-container {
    z-index: 20;
}

.feature-item {
    z-index: 10;
}

.feature-bubble {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}


/* ========================================
   APP SHOWCASE - INTERACTIVE FEATURES (FINAL OVERRIDE)
   ======================================== */



.app-showcase {
    padding: 80px 0 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f8f5 100%) !important;
    overflow: visible !important;
    position: relative !important;
    border-bottom: 3px solid #000000 !important;
    border-top: 3px solid #000000 !important;
}

.app-hero {
    text-align: center !important;
    margin-bottom: 60px !important;
}

.app-tagline {
    font-family: "Montserrat", "sans-serif" !important;
    font-size: 21px !important;
    color: #000000 !important;
    max-width: 800px !important;
    margin: 0 auto !important;

}

/* Interactive Showcase Container - Fixed Layout */
.app-interactive-showcase {
    position: relative !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    min-height: 750px !important;
    padding: 40px 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Phone Container - Ensure proper centering and spacing */
.phone-container {
    position: relative !important;
    z-index: 30 !important; /* Lower z-index so bubbles can appear above */
    margin: 0 400px !important; /* Add horizontal margin to create space for bubbles */
}

/* Feature Items - Adjust positioning to avoid overlap */
.feature-item {
    position: absolute !important;
    pointer-events: auto !important;
    width: 280px !important;
    z-index: 40 !important; /* Higher z-index than phone */
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Reposition features with proper spacing from phone */
.feature-item:nth-child(1) {
    top: 10% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) translate(-500px, 0) !important; /* Move left of phone */
}

.feature-item:nth-child(2) {
    top: 40% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) translate(-500px, 0) !important; /* Move left of phone */
}

.feature-item:nth-child(3) {
    top: 70% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) translate(-500px, 0) !important; /* Move left of phone */
}

.feature-item:nth-child(4) {
    top: 10% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) translate(500px, 0) !important; /* Move right of phone */
}

.feature-item:nth-child(5) {
    top: 40% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) translate(500px, 0) !important; /* Move right of phone */
}

.feature-item:nth-child(6) {
    top: 70% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) translate(500px, 0) !important; /* Move right of phone */
}

/* Feature Bubble - Ensure they're not hidden behind phone */
.feature-bubble {
    background: white !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border: 2px solid #e30613 !important;
    min-height: 80px !important;
    width: 100% !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 41 !important; /* Ensure bubbles are above phone */
}

/* Responsive adjustments - stack vertically on smaller screens */
@media (max-width: 1400px) {
    .phone-container {
        margin: 0 350px !important; /* Reduce margin for smaller screens */
    }
    
    .feature-item:nth-child(1),
    .feature-item:nth-child(2),
    .feature-item:nth-child(3) {
        transform: translate(-50%, -50%) translate(-420px, 0) !important;
    }
    
    .feature-item:nth-child(4),
    .feature-item:nth-child(5),
    .feature-item:nth-child(6) {
        transform: translate(-50%, -50%) translate(420px, 0) !important;
    }
}

@media (max-width: 1200px) {
    .phone-container {
        margin: 0 300px !important;
    }
    
    .feature-item {
        width: 240px !important;
    }
    
    .feature-item:nth-child(1),
    .feature-item:nth-child(2),
    .feature-item:nth-child(3) {
        transform: translate(-50%, -50%) translate(-380px, 0) !important;
    }
    
    .feature-item:nth-child(4),
    .feature-item:nth-child(5),
    .feature-item:nth-child(6) {
        transform: translate(-50%, -50%) translate(380px, 0) !important;
    }
}
/* Ensure articles are visible */
article.feature-item {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Download Section positioning */

.app-download-section {
    position: relative !important;
    z-index: 5 !important;
    margin-top: 60px !important; 
    text-align: center !important;
    margin-top: 80px !important;
    padding: 60px !important;
    background: rgb(113, 4, 4) !important;
    border-radius: 30px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    border: 3px solid var(--primary-red) !important;
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    .feature-item {
        width: 240px !important;
    }
    
    .feature-item:nth-child(1) {
        transform: translate(-50%, -50%) translate(0, -300px) !important;
    }
    
    .feature-item:nth-child(2) {
        transform: translate(-50%, -50%) translate(260px, -150px) !important;
    }
    
    .feature-item:nth-child(3) {
        transform: translate(-50%, -50%) translate(260px, 150px) !important;
    }
    
    .feature-item:nth-child(4) {
        transform: translate(-50%, -50%) translate(0, 300px) !important;
    }
    
    .feature-item:nth-child(5) {
        transform: translate(-50%, -50%) translate(-260px, 150px) !important;
    }
    
    .feature-item:nth-child(6) {
        transform: translate(-50%, -50%) translate(-260px, -150px) !important;
    }
    
    .feature-bubble {
        padding: 12px !important;
        min-height: 75px !important;
    }
    
    .feature-icon {
        font-size: 44px !important;
        width: 32px !important;
        height: 32px !important;
    }
    
    .feature-info h3 {
        font-size: 18px !important;
        font-weight: 700 !important;
    }
}

@media (max-width: 992px) {
    /* Grid layout for tablets */
    .app-interactive-showcase {
        min-height: auto !important;
    }
    
    .features-interactive {
        position: static !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        margin-top: 40px !important;
        padding: 0 20px !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .feature-item {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        max-width: 100% !important;
    }
}

@media (max-width: 640px) {
    .features-interactive {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 0 16px !important;
    }
    
    .phone-frame {
        width: 280px !important;
        height: 560px !important;
    }
    
    .feature-bubble {
        min-height: 70px !important;
        padding: 12px !important;
    }
}

/* Animation */
@keyframes fadeInFeature {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.feature-item {
    animation: fadeInFeature 0.5s ease forwards !important;
}

.feature-item:nth-child(1) { animation-delay: 0.1s !important; }
.feature-item:nth-child(2) { animation-delay: 0.2s !important; }
.feature-item:nth-child(3) { animation-delay: 0.3s !important; }
.feature-item:nth-child(4) { animation-delay: 0.4s !important; }
.feature-item:nth-child(5) { animation-delay: 0.5s !important; }
.feature-item:nth-child(6) { animation-delay: 0.6s !important; }



/* Socialist Party Banner Section */
.sp-banner {
    background: #E60000; /* SP Red background */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin-top: 120px; /* Add margin to push it below the fixed navbar */
}

.sp-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sp-banner-title {
    font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 66px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    margin-top: -25px;
}

.sp-text-white {
    font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 66px;
    color: white;
    display: block;
    margin-bottom: -10px; /* Tighten spacing */
    font-weight: 900;
}
.sp-text-green-bold {
    font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: rgb(4, 92, 27);
    display: block;
    margin-bottom: -10px; /* Tighten spacing */
    font-weight: 900;
}
.sp-text-highlight {
    font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: inline-block;
    background: #FFC107; /* Bright yellow */
    color: #000000; /* Black text */
    padding: 8px 20px;
    font-weight: 900;
    transform: rotate(-2.0deg); /* Slight tilt, right side up */
    margin-top: 10px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

/* Responsive */
@media (max-width: 768px) {
    .sp-banner-title {
        font-size: 2.5rem;
    }
    
    .sp-text-highlight {
        padding: 6px 15px;
    }
}

@media (max-width: 480px) {
    .sp-banner-title {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }
    
    .sp-text-highlight {
        transform: rotate(-1deg);
        padding: 5px 12px;
    }
}
/* ========================================
   HERO TITLE STYLING — NON-CONSOLIDATED
   (elke klasse apart gedefinieerd)
   ======================================== */

/* ========== LARGE TITLES ========== */

/* Black large */
.hero-title .text-black-large {
    color: var(--primary-black) !important;
    display: block !important;
    font-size: 88px !important;   /* <— pas desktop hero-grootte aan */
    font-weight: 900 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -2.5px !important;
    line-height: 0.8 !important;
}

/* Green large */
.hero-title .text-green-large {
    color: #01410b !important;
    display: block !important;
    font-size: 111px !important;   /* <— pas desktop hero-grootte aan */
    font-weight: 900 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -1.5px !important;
    line-height: 0.8 !important;
}

/* Red large */
.hero-title .text-red-large {
    color: var(--primary-red, #e30613) !important;
    display: block !important;
    font-size: 111px !important;   /* <— pas desktop hero-grootte aan */
    font-weight: 900 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -1.5px !important;
    line-height: 0.8 !important;
}

/* ========== BOLD SLOGANS ========== */

/* Green bold */
.hero-title .text-green-bold {
    color: var(--dark-green, #034103) !important;
    font-weight: 900 !important;
    display: block !important;
    font-size: 3rem !important;    /* <— pas desktop slogan-grootte aan */
    line-height: 1.2 !important;
    margin-top: 0.5rem !important;
    letter-spacing: -2px !important;
}

/* Green bold (last child tweak) */
.hero-title .text-green-bold:last-child {
    font-size: 3rem !important;
    letter-spacing: -2px !important;
    margin-top: 0.2rem !important;
}

/* Red bold */
.hero-title .text-red-bold {
    color: var(--primary-red, #e30613) !important;
    font-weight: 900 !important;
    display: block !important;
    font-size: 3rem !important;    /* <— pas desktop slogan-grootte aan */
    line-height: 1.2 !important;
    margin-top: 0.5rem !important;
    letter-spacing: -2px !important;
}

/* Red bold (last child tweak) */
.hero-title .text-red-bold:last-child {
    font-size: 3rem !important;
    letter-spacing: -2px !important;
    margin-top: 0.2rem !important;
}

/* Black bold (optioneel, symmetrie met kleuren) */
.hero-title .text-black-bold {
    color: var(--primary-black) !important;
    font-weight: 900 !important;
    display: block !important;
    font-size: 3rem !important;    /* <— pas desktop slogan-grootte aan */
    line-height: 1.2 !important;
    margin-top: 0.5rem !important;
    letter-spacing: -2px !important;
}

/* Black bold (last child tweak) */
.hero-title .text-black-bold:last-child {
    font-size: 3rem !important;
    letter-spacing: -3px !important;
    margin-top: 0.2rem !important;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .hero-title .text-black-large { font-size: 3.5rem !important; }
    .hero-title .text-green-large { font-size: 3.5rem !important; }
    .hero-title .text-red-large   { font-size: 3.5rem !important; }

    .hero-title .text-green-bold  { font-size: 1.8rem !important; }
    .hero-title .text-red-bold    { font-size: 1.8rem !important; }
    .hero-title .text-black-bold  { font-size: 1.8rem !important; }

    .hero-title .text-green-bold:last-child { font-size: 2rem !important; }
    .hero-title .text-red-bold:last-child   { font-size: 2rem !important; }
    .hero-title .text-black-bold:last-child { font-size: 2rem !important; }
}

@media (max-width: 480px) {
    .hero-title .text-black-large {
        font-size: 2.5rem !important;
        letter-spacing: -1px !important;
    }
    .hero-title .text-green-large {
        font-size: 2.5rem !important;
        letter-spacing: -1px !important;
    }
    .hero-title .text-red-large {
        font-size: 2.5rem !important;
        letter-spacing: -1px !important;
    }

    .hero-title .text-green-bold { font-size: 1.3rem !important; }
    .hero-title .text-red-bold   { font-size: 1.3rem !important; }
    .hero-title .text-black-bold { font-size: 1.3rem !important; }

    .hero-title .text-green-bold:last-child { font-size: 1.5rem !important; }
    .hero-title .text-red-bold:last-child   { font-size: 1.5rem !important; }
    .hero-title .text-black-bold:last-child { font-size: 1.5rem !important; }
}
.text-green-large {
    font-size: 55px !important; /* or 2.06rem */
    color: #035505 !important; /* or your green color */
    font-weight: 900 !important;
    letter-spacing: -2.5px !important;
}

.text-red-large {
    font-size: 44px !important; /* or 2.06rem */
    color: #c7170b !important; /* or your red color */
    font-weight: 800 !important;    
    letter-spacing: -2.5px !important;
}
.sp-banner-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.sp-text-white,
.sp-text-highlight {
  display: inline-block !important;
  text-align: center !important;
  white-space: nowrap !important; /* prevent wrapping */
}

/* Highlight line — scaled text */
.sp-text-highlight {
  background: #FFC107 !important;
  color: #000 !important;
  padding: 8px 20px !important;
  font-weight: 900 !important;
  transform: rotate(-1.5deg) !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2) !important;
  margin-top: 10px !important;

  font-size: clamp(3rem, 8vw, 5.5rem) !important; /* auto-resize */
}