:root {
    --primary-color: #22c55e;
    --primary-dark: #16a34a;
    --secondary-color: #3b82f6;
    --accent-color: #1f2937;
    --dark-color: #111827;
    --light-color: #f8fafc;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 16px; /* Increased from 14px */
}

/* Typography - More compact and techy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); } /* Increased sizes */
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; } /* Increased from 1rem */

p { 
    margin-bottom: 1rem;
    font-size: 1rem; /* Increased from 0.9rem */
    color: #4b5563;
}

/* Header Styles */
.glass-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    padding: 0.75rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.category-btn {
    padding: 0.7rem 1.3rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem; /* Increased from 0.85rem */
}

.category-btn:hover {
    background: rgba(34, 197, 94, 0.1);
}

.category-btn.active {
    background: var(--primary-color);
    color: white;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem; /* Increased from 1rem */
    margin-right: 12px;
}

.brand-names h1 {
    font-size: 1.5rem; /* Increased from 1.2rem */
    margin-bottom: 0;
    color: var(--dark-color);
}

.sub-brand {
    font-size: 1rem; /* Increased from 0.9rem */
    color: #666;
    margin: 0;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.holographic-nav {
    transition: all 0.3s ease;
}

.holographic-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.holographic-nav a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem; /* Increased from 0.85rem */
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.holographic-nav a:hover,
.holographic-nav a.active {
    color: var(--primary-color);
    background: rgba(34, 197, 94, 0.1);
}

/* Hero Section */
.hero-section {
    display: flex;
    min-height: 90vh;
    align-items: center;
    padding: 6rem 5% 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(59, 130, 246, 0.05));
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    z-index: 2;
}

.hero-visual {
    flex: 1;
    position: relative;
    z-index: 2;
}

.glowing-text {
    color: var(--dark-color);
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 5px rgba(34, 197, 94, 0.2); }
    to { text-shadow: 0 0 15px rgba(34, 197, 94, 0.4); }
}

.hero-subhead {
    font-size: 1.25rem; /* Increased from 1rem */
    color: #6b7280;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.neon-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem; /* Increased from 0.85rem */
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.neon-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.neon-button:hover:before {
    left: 100%;
}

.neon-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--primary-dark);
}

.neon-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.neon-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-device {
    width: 90%;
    align: center;
    animation: floating 3s ease-in-out infinite;
   
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Key Benefits Section */
.key-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 4rem 5%;
    background: white;
}

.benefit-card {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem; /* Increased from 1.5rem */
}

.benefit-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.25rem; /* Increased from 1.1rem */
}

.benefit-card ul {
    text-align: left;
    list-style: none;
    font-size: 1rem; /* Increased from 0.85rem */
}

.benefit-card li {
    margin-bottom: 0.5rem;
    color: #6b7280;
    position: relative;
    padding-left: 1.25rem;
}

.benefit-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Featured Solutions Section */
.featured-solutions {
    padding: 4rem 5%;
    background: rgba(34, 197, 94, 0.05);
}

.featured-solutions h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.1);
    cursor: pointer;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.solution-card h3 {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem; /* Increased from 1.1rem */
}

.solution-card p {
    color: #6b7280;
    margin-bottom: 0;
    font-size: 1rem; /* Increased from 0.85rem */
}

/* Tagline Section */
.tagline-section {
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.typewriter-text {
    font-size: clamp(1.5rem, 3.5vw, 2rem); /* Increased sizes */
    margin-bottom: 0.75rem;
    animation: typewriter 3s steps(40, end);
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.highlight-text {
    font-size: 1.25rem; /* Increased from 1rem */
    opacity: 0.9;
    font-style: italic;
    color: white;
}

/* Page Sections */
.page-section {
    padding: 4rem 5%;
}

.section-hero {
    text-align: center;
    padding: 6rem 5% 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    margin-top: 70px;
}

.subtitle {
    font-size: 1.25rem; /* Increased from 1rem */
    opacity: 0.9;
    margin: 0;
}

/* Content Layouts */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.content-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Solution Details */
.solution-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.solution-item {
    background: rgba(34, 197, 94, 0.05);
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.solution-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem; /* Increased from 0.95rem */
}

/* FAQ Styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0.75rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    text-align: left;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem; /* Increased from 0.95rem */
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(34, 197, 94, 0.05);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 1rem; /* Increased from 0.9rem */
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    font-size: 1rem; /* Increased from 0.85rem */
}

.faq-answer.show {
    padding: 0 1.25rem 1.25rem;
    max-height: 1000px;
}

/* Testimonials */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    margin: 0 auto; 
    max-width: 500px;
    margin-right: 0.5rem;            
}


.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem; /* Increased from 1.5rem */
    font-weight: bold;
    margin: 0 auto 1rem;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 1rem; /* Increased from 0.85rem */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-top: 50px;
}

.learn-more:hover {
    gap: 0.75rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 1rem; /* Increased from 0.85rem */
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem; /* Increased from 0.9rem */
}

.testimonial-position {
    font-size: 0.9rem; /* Increased from 0.8rem */
    color: var(--primary-color);
}

.africa-focus {
    display: flex;
    padding: 5rem 5%;
    align-items: center;
    background: white;
    flex-direction: row; /* Ensure horizontal layout */
}

.content-block {
    flex: 1;
    padding-right: 2rem; /* Add space between content and image */
    text-align: left;
}

.image-block {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Align image to the right */
    align-items: center;
}

.image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* Footer */
.holographic-footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand .logo {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.25rem; /* Increased from 1rem */
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem; /* Increased from 0.85rem */
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    color: #d1d5db;
    font-size: 1rem; /* Increased from 0.85rem */
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem; /* Increased from 1rem */
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.facebook { background: #1877f2; }
.instagram { background: #e4405f; }
.linkedin { background: #0077b5; }
.twitter { background: #1da1f2; }

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.9rem; /* Increased from 0.8rem */
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem; /* Increased from 0.9rem */
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem; /* Increased from 0.85rem */
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .glass-header {
        padding: 0.75rem 3%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .holographic-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: var(--shadow);
        border-radius: 0 0 12px 12px;
    }

    .holographic-nav.active {
        display: block;
    }

    .holographic-nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .holographic-nav li {
        margin: 0;
    }

    .holographic-nav a {
        display: block;
        padding: 0.75rem;
        border-radius: 8px;
        margin-bottom: 0.25rem;
    }

    .hero-section {
        flex-direction: column;
        padding: 7rem 3% 2rem;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 1.5rem;
    }

    .key-benefits {
        padding: 2rem 3%;
        grid-template-columns: 1fr;
    }

    .page-section {
        padding: 2rem 3%;
    }

    .section-hero {
        padding: 5rem 3% 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .social-icons {
        justify-content: left;
    }
    .africa-focus {
        flex-direction: column;
    }
    
    .content-block {
        padding-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .image-block {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Add these new styles for the testimonial slider */
.testimonial-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    box-sizing: border-box;
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    margin: 0 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
}

/* Particle background styles */
.particle-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content, .hero-visual {
    position: relative;
    z-index: 2;
}