:root {
    /* Exact Logo Color Palette */
    --primary-green: #2E7D32;       /* Forest green from logo text & banner */
    --accent-green: #4CAF50;        /* Light leaf green */
    --amber-gold: #FBC02D;          /* Drop / bulb yellow */
    --dark-charcoal: #1A252C;        /* Logo dark text & accents */
    --light-gray: #F8FAFC;          /* Clean section background */
    --text-color: #2D3748;          /* High contrast readable body text */
    
    /* Glassmorphism Variables for White Background */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(46, 125, 50, 0.2);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

/* Glassy Navigation Bar */
.glass-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--amber-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark-charcoal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section & Slider */
.hero-section {
    position: relative;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    overflow: hidden;
    margin-top: 60px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-glass-card {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 3rem 2rem;
    border-radius: 20px;
    max-width: 800px;
}

.hero-glass-card h1 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.hero-glass-card p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-charcoal);
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-green);
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, background 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    background: var(--accent-green);
}

.cta-btn.secondary {
    background: var(--amber-gold);
    color: var(--dark-charcoal);
}

/* Layout Containers & Reusable Glass Cards */
.section-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-green);
}

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

.glass-card {
    background: var(--light-gray);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
}

/* Pillar Cards */
.pillar-card {
    text-align: center;
    transition: transform 0.3s;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.pillar-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--dark-charcoal);
}

/* About Section */
.about-summary {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.about-summary h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.about-summary p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.summary-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 10rem;
    opacity: 0.05;
    color: var(--primary-green);
}

/* Stats Cards */
.stat-card {
    text-align: center;
    background: #ffffff;
}

.stat-icon {
    font-size: 2rem;
    color: var(--amber-gold);
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

/* Action Banner */
.action-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: var(--light-gray);
}

/* Page Header Section */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1e5622 100%);
    color: #ffffff;
    padding: 5rem 1.5rem 3rem 1.5rem;
    text-align: center;
    margin-top: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

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

.story-paragraph {
    margin-bottom: 1.2rem;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
}

.story-paragraph:last-child {
    margin-bottom: 0;
}

/* Horizontal Scroll Container for Founding Members */
.horizontal-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 10px;
}

.member-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    text-align: center;
    background: #ffffff;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-green);
    margin-bottom: 1rem;
}

.member-name {
    color: var(--dark-charcoal);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.member-role {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Vision & Mission Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vision-mission-card {
    background: #ffffff;
}

.card-icon-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.card-icon-header i {
    font-size: 1.8rem;
    color: var(--amber-gold);
}

.styled-list {
    list-style: none;
    margin-top: 1rem;
}

.styled-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    color: var(--text-color);
}

.styled-list i {
    color: var(--primary-green);
}

/* Pillar Tiles */
.pillar-tile {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.pillar-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pillar-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pillar-content h3 {
    color: var(--primary-green);
    margin-bottom: 0.8rem;
}

.pillar-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Staff & Board Cards */
.staff-card {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    background: #ffffff;
    transition: transform 0.3s;
}

.staff-card:hover {
    transform: translateY(-3px);
}

.staff-img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
}

.staff-info h3 {
    font-size: 1.1rem;
    color: var(--dark-charcoal);
}

.staff-badge, .board-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0.3rem 0;
}

.staff-badge {
    background: rgba(46, 125, 50, 0.15);
    color: var(--primary-green);
}

.board-badge {
    background: rgba(251, 192, 45, 0.25);
    color: #8c6d00;
}

.staff-info p {
    font-size: 0.85rem;
    color: #64748b;
}

/* Combined Green & Yellow Why Joined Section */
.join-us-banner {
    background: linear-gradient(135deg, var(--primary-green) 0%, #1b4d1f 60%, var(--amber-gold) 100%);
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.join-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.join-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.join-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.highlight-item i {
    color: var(--amber-gold);
    font-size: 1.2rem;
}

.join-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 16px;
    color: var(--dark-charcoal);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.join-form-wrapper h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
    text-align: center;
}

/* Form Group Base Styles */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-charcoal);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--dark-charcoal);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* Story Section Grid & Image Styling */
.story-card-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: center;
}

.story-image-container {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.4s ease;
}

.story-card-grid:hover .story-image {
    transform: scale(1.02);
}

/* Segmented Toggle Control (Fixed Alignment & Mobile Responsiveness) */
.toggle-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.segment-toggle {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: #f1f3f0;
    padding: 5px;
    border-radius: 50px;
    border: 1px solid rgba(46, 125, 50, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 520px;
}

.toggle-btn {
    flex: 1 1 0;
    min-width: 0; /* Prevents text overflow on small viewports */
    border: none;
    background: transparent;
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-charcoal);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    white-space: normal; /* Permits text wrapping without clipping */
}

.toggle-btn i {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.toggle-btn.active {
    background: var(--primary-green);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.25);
}

/* Gallery Feed Switching */
.feed-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feed-grid.active {
    display: grid;
}

.media-card {
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.media-card:hover {
    transform: translateY(-5px);
}

.media-preview {
    position: relative;
    width: 100%;
    height: 260px;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.media-info {
    padding: 1.2rem;
}

.platform-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.platform-tag.tiktok {
    background: #f1f5f9;
    color: #0f172a;
}

.platform-tag.instagram {
    background: #fdf2f8;
    color: #be185d;
}

/* Bottom Gallery Description & Buttons */
.gallery-bottom-card {
    text-align: center;
    background: #ffffff;
    padding: 2.5rem;
}

.community-enthusiasm-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.dual-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.dual-btn-container .cta-btn {
    min-width: 180px;
    justify-content: center;
}

/* Donation Page Styling */
.form-container-card {
    max-width: 750px;
    margin: 0 auto;
    background: #ffffff;
}

.payment-method-panel {
    display: none;
    padding-top: 1rem;
}

.payment-method-panel.active {
    display: block;
}

.panel-info-box {
    text-align: center;
}

.panel-info-box p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.paypal-btn {
    background: #0070ba;
    color: #ffffff;
}

.paypal-btn:hover {
    background: #005ea6;
}

.wire-details-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.wire-instruction {
    margin-bottom: 1rem;
    color: var(--dark-charcoal);
    font-weight: 600;
}

.wire-list {
    list-style: none;
}

.wire-list li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed #cbd5e1;
    color: var(--text-color);
    font-size: 0.95rem;
}

.wire-list li:last-child {
    border-bottom: none;
}

.wire-list strong {
    color: var(--primary-green);
    display: inline-block;
    width: 160px;
}

/* Contact Page Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
    align-items: start;
}

.contact-info-card,
.contact-form-card {
    background: #ffffff;
}

.contact-subtext {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-details-list {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.contact-details-list strong {
    display: block;
    color: var(--dark-charcoal);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.contact-details-list p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 0;
}

.social-connect {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

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

.social-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-charcoal);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: var(--primary-green);
    color: #ffffff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-response-alert {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.form-response-alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-response-alert.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ==========================================================================
   Redesigned High-Contrast Footer (ProGreeners Palette)
   ========================================================================== */

.footer {
    background: linear-gradient(135deg, #1b4332 0%, #081c15 100%);
    color: #ffffff;
    padding: 3.5rem 1.5rem 2rem 1.5rem;
    margin-top: 4rem;
    text-align: center;
    border-top: 4px solid #ffb703; /* Bright golden accent line */
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo & Motto */
.footer-logo,
.footer-logo:visited,
.footer-logo:active {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffb703 !important; /* Brand golden yellow */
    text-decoration: none !important;
    margin-bottom: 0.6rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-logo:hover {
    color: #ffd166 !important;
    transform: translateY(-2px);
}

.footer-logo i {
    color: #74c69d; /* Bright leaf green icon */
}

.footer-motto {
    font-size: 0.98rem;
    color: #d8f3dc;
    max-width: 580px;
    margin: 0 auto 1.8rem auto;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

/* Contact Links (Phone & Email) */
.footer-contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-contact-link,
.footer-contact-link:visited,
.footer-contact-link:active {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.98rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.footer-contact-link i {
    color: #ffb703;
}

.footer-contact-link:hover {
    background: #ffb703;
    color: #081c15 !important;
    border-color: #ffb703;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 183, 3, 0.25);
}

.footer-contact-link:hover i {
    color: #081c15;
}

.footer-divider {
    display: none;
}

/* Social Media Buttons */
.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-social-btn,
.footer-social-btn:visited,
.footer-social-btn:active {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.footer-social-btn:hover {
    background: #74c69d;
    color: #081c15 !important;
    border-color: #74c69d;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 14px rgba(116, 198, 157, 0.4);
}

.footer-separator {
    width: 100%;
    max-width: 500px;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    margin: 0 auto 1.8rem auto;
}

/* Bottom Copyright & Attribution */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.copyright-text {
    font-size: 0.88rem;
    color: #b7e4c7;
    margin: 0;
}

.attribution-text {
    font-size: 0.88rem;
    color: #b7e4c7;
    margin: 0;
}

/* Powered by Cly Technologies Link */
.tech-link,
.tech-link:visited,
.tech-link:active {
    color: #ffb703 !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tech-link:hover {
    color: #081c15 !important;
    background: #ffb703;
    box-shadow: 0 2px 8px rgba(255, 183, 3, 0.3);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .join-us-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .story-card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-image-container {
        height: 250px;
        min-height: auto;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 1.5rem;
        width: 220px;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid var(--glass-border);
        box-shadow: var(--glass-shadow);
    }

    .nav-links.show {
        display: flex;
    }

    .hero-glass-card h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .wire-list strong {
        display: block;
        width: 100%;
        margin-bottom: 0.2rem;
    }

    .footer {
        padding: 2.5rem 1rem 1.5rem 1rem;
    }

    .footer-contact-info {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .footer-contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Specific Mobile Fixes for Screen Widths <= 420px */
@media (max-width: 420px) {
    .segment-toggle {
        padding: 4px;
        border-radius: 16px;
    }

    .toggle-btn {
        padding: 0.5rem 0.3rem;
        font-size: 0.78rem;
        gap: 0.25rem;
        border-radius: 12px;
    }

    .toggle-btn i {
        font-size: 0.85rem;
    }
}
