/* AISOD Security - Modern, Professional CSS */
:root {
    --primary: #0056b3;
    --primary-light: #0071e3;
    --primary-dark: #003b7a;
    --secondary: #00c2ff;
    --accent: #ff3c78;
    --text: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #0a1f44;
    --card-bg: #fff;
    --card-bg-dark: #112240;
    --shadow: 0 10px 30px rgba(0, 86, 179, 0.15);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --vf-primary-color: var(--primary);
    --vf-primary-light-color: var(--primary-light);
    --vf-background-color: var(--bg-dark);
    --vf-bubble-background-color: var(--card-bg-dark);
    --vf-bubble-background-user-color: var(--primary-dark);
    --vf-font-family: 'Poppins', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.section-dark h2, 
.section-dark h3,
.section-dark h4 {
    color: var(--text-white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    color: inherit;
}

.section-title h2::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--secondary);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.highlight {
    color: var(--secondary);
}

.highlight-container {
    position: relative;
    display: inline-block;
}

.highlight-container .highlight {
    position: relative;
    z-index: 1;
}

.highlight-container::after {
    content: '';
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: rgba(0, 194, 255, 0.2);
    z-index: 0;
    border-radius: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    gap: 8px;
}

.btn i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-portal {
    background-color: black;
    color: white;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
}

.btn-portal:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

.btn-pricing {
    width: 100%;
    padding: 12px 0;
    background-color: var(--primary);
    color: white;
}

.btn-pricing:hover {
    background-color: var(--primary-light);
    color: white;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

#navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

#navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    margin: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
}

.social-icons {
    display: flex;
    margin-right: 20px;
}

.social-icons a {
    margin: 0 8px;
    color: var(--text);
    font-size: 18px;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    margin-left: 15px;
    width: 45px;
    height: 45px;
    position: relative;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 194, 255, 0.15);
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 194, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mobile-menu-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Create X animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--secondary);
    width: 24px;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: var(--secondary);
    width: 24px;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 120px 0 60px;
}

#network-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    animation: fadeInUp 1s;
    line-height: 1.3;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s 0.2s forwards;
    opacity: 0;
    max-width: 800px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s 0.4s forwards;
    opacity: 0;
    margin-bottom: 10px;
}

/* Enhanced AI Assistant Note for Hero Section */
.ai-assistant-note {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: rgba(0, 194, 255, 0.15);
    border-radius: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s 0.6s forwards, pulse 2s infinite 1s;
    opacity: 0;
    border: 1px solid rgba(0, 194, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.ai-assistant-note::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 30px;
    width: 12px;
    height: 12px;
    background-color: var(--secondary);
    border-radius: 50%;
    animation: blink 2s infinite;
}

.ai-assistant-note:hover {
    background-color: rgba(0, 194, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.ai-assistant-note:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.ai-assistant-note i {
    color: var(--secondary);
    font-size: 20px;
    animation: wave 2s ease-in-out infinite;
}

.ai-assistant-note p {
    margin: 0;
    font-size: 15px;
    color: white;
    font-weight: 500;
}

.ai-assistant-note p .highlight {
    color: var(--secondary);
    font-weight: 600;
    position: relative;
}

.ai-assistant-note p .highlight::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--secondary);
    opacity: 0.7;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes wave {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* Enhanced Mobile AI Assistant Note */
@media (max-width: 768px) {
    /* ... existing mobile styles ... */
    
    /* Enhanced AI Assistant Note for Mobile */
    .ai-assistant-note {
        margin-top: 20px;
        padding: 12px 20px;
        text-align: center;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        background-color: rgba(0, 194, 255, 0.15);
        border-radius: 50px;
        border: 1px solid rgba(0, 194, 255, 0.3);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        position: relative;
        z-index: 10;
        opacity: 1 !important;
        transform: none !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
        will-change: transform, box-shadow;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .ai-assistant-note:active {
        transform: translateY(2px) !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .ai-assistant-note i {
        color: var(--secondary);
        font-size: 18px;
        margin-right: 8px;
        display: inline-block;
        vertical-align: middle;
    }
    
    .ai-assistant-note p {
        margin: 0;
        font-size: 14px;
        font-weight: 500;
        display: inline-block;
        vertical-align: middle;
    }
    
    .scroll-down {
        bottom: 20px;
        z-index: 5;
    }
    
    /* ... other styles ... */
}

@media (max-width: 480px) {
    .ai-assistant-note {
        margin-top: 20px;
        padding: 10px 15px;
        border-radius: 30px;
        max-width: 95%;
    }
    
    .ai-assistant-note i {
        font-size: 16px;
    }
    
    .ai-assistant-note p {
        font-size: 0.9rem;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 2;
}

.scroll-down span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--secondary);
    border-right: 2px solid var(--secondary);
    transform: rotate(45deg);
    margin-top: -10px;
    animation: scrollDown 2s infinite;
}

.scroll-down span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-down span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

/* About Features */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.feature-card .icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 2;
}

.service-icon {
    font-size: 36px;
    color: var(--secondary);
    padding: 30px 0 20px;
    text-align: center;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    padding: 0 25px;
    text-align: center;
    margin-bottom: 20px;
}

.service-details {
    padding: 0 25px 25px;
}

.service-details p {
    margin-bottom: 10px;
}

.service-details p strong {
    color: var(--secondary);
}

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.client-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.client-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.client-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Pricing */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background-color: var(--card-bg-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--secondary);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 30px;
    font-size: 14px;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header {
    padding: 30px 30px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    font-size: 28px;
    margin-bottom: 5px;
}

.pricing-subtitle {
    color: var(--secondary);
    font-weight: 500;
}

.pricing-body {
    padding: 30px;
    flex-grow: 1;
}

.pricing-body p {
    margin-bottom: 15px;
}

.pricing-body ul {
    margin-bottom: 20px;
}

.pricing-body ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.pricing-body ul li i {
    color: var(--secondary);
    margin-right: 10px;
}

.pricing-note {
    font-style: italic;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-footer {
    padding: 0 30px 30px;
}

.custom-plan {
    text-align: center;
    margin-top: 30px;
}

.custom-plan h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.custom-plan p {
    margin-bottom: 20px;
}

/* AI Features */
.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ai-feature {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.ai-feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.ai-icon {
    font-size: 30px;
    color: var(--primary);
    margin-right: 20px;
    padding-top: 5px;
}

.ai-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.ai-quote {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    margin-top: 50px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(0, 86, 179, 0.1);
}

/* Africa Section */
.africa-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.africa-image {
    flex: 1;
    text-align: center;
}

.africa-image img {
    max-width: 100%;
    height: auto;
}

.africa-text {
    flex: 1;
}

.africa-text p {
    margin-bottom: 20px;
}

.africa-text ul {
    margin-bottom: 30px;
}

.africa-text ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.africa-text ul li i {
    color: var(--secondary);
    margin-right: 15px;
}

.africa-quote {
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    color: var(--secondary);
}

/* Team Section */
.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.team-member {
    width: 300px;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.member-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.member-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.team-quote {
    text-align: center;
    font-size: 20px;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 194, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: var(--secondary);
    margin-right: 20px;
}

.contact-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-text a {
    color: var(--secondary);
    transition: var(--transition);
}

.contact-text a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
}

.social-links a i {
    margin-right: 5px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.contact-quote {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-top: 50px;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    min-width: 150px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    color: white;
}

/* Animations for AOS fallback */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }
    
    .africa-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    #navbar {
        padding: 10px 0;
        height: 60px;
        background-color: rgba(10, 31, 68, 0.95);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }
    
    /* Fallback for browsers that don't support backdrop-filter */
    @supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
        #navbar {
            background-color: rgba(10, 31, 68, 0.98);
        }
    }
    
    #navbar.scrolled {
        background-color: var(--bg-dark);
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1010; /* Ensure it's above other elements */
        transform: translateZ(0); /* Prevent flickering on some mobile devices */
    }
    
    .logo img {
        height: 38px;
        margin-right: 0;
        display: block; /* Ensure proper rendering */
    }
    
    .nav-right {
        justify-content: flex-end;
        gap: 10px;
        align-items: center;
    }
    
    .language-selector {
        margin-right: 15px;
    }
    
    .btn-portal {
        display: none;
    }
    
    #hero {
        padding: 90px 0 50px;
        height: auto;
        min-height: calc(100vh - 60px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 20px;
        max-width: 100%;
        z-index: 5; /* Ensure content is above background */
        user-select: text; /* Make text selectable */
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        line-height: 1.3;
        word-break: break-word; /* Prevent overflow on small screens */
        hyphens: auto; /* Enable hyphenation if needed */
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.6;
        opacity: 1 !important; /* Ensure visibility */
    }
    
    .hero-btns {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
        justify-content: center;
        margin: 0 auto 30px;
        opacity: 1 !important; /* Ensure visibility */
    }
    
    .hero-btns .btn {
        min-width: 140px;
        text-align: center;
        padding: 12px 20px;
        font-size: 16px;
        margin: 0 5px;
        border-radius: 50px;
        touch-action: manipulation; /* Improve touch behavior */
        -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
    }
    
    /* Optimized network animation */
    #network-animation {
        opacity: 0.4;
        position: absolute;
        pointer-events: none; /* Prevent interaction for better performance */
    }

    /* Optimize AOS animations on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (max-width: 480px) {
    #navbar .container {
        padding: 0 15px;
    }
    
    #hero {
        padding: 75px 0 40px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-content .highlight {
        display: inline-block;
        position: relative;
        padding: 0 5px;
    }
    
    .hero-content .highlight::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 8px;
        background-color: rgba(0, 194, 255, 0.3);
        z-index: -1;
        border-radius: 4px;
    }
    
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    
    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-btns .btn {
        width: 100%;
        margin: 0 0 10px 0;
    }
    
    .ai-assistant-note {
        margin-top: 25px;
        padding: 10px 15px;
        border-radius: 30px;
        max-width: 95%;
    }
    
    .ai-assistant-note i {
        font-size: 16px;
    }
    
    .ai-assistant-note p {
        font-size: 13px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .scroll-down {
        bottom: 15px;
    }
    
    .mobile-nav {
        width: 85%;
    }
    
    /* Optimize form on small screens */
    .contact-form {
        padding: 15px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input, 
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    /* Optimize pricing cards */
    .pricing-card {
        padding: 20px 15px;
    }
    
    .pricing-header h3 {
        font-size: 22px;
    }
    
    .pricing-body ul li {
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    #navbar {
        height: 55px;
        padding: 8px 0;
    }
    
    .logo img {
        height: 32px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .ai-assistant-note {
        padding: 8px 15px;
        margin-top: 15px;
    }
    
    .ai-assistant-note i {
        font-size: 16px;
    }
    
    .ai-assistant-note p {
        font-size: 0.8rem;
    }
    
    #hero {
        padding-top: 70px;
        min-height: calc(100vh - 55px);
    }
    
    .btn {
        padding: 9px 18px;
        font-size: 14px;
    }
}

/* Mobile Navigation - Enhanced */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    padding: 30px 25px;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
    visibility: visible;
    opacity: 1;
}

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--secondary);
    font-size: 20px;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-nav-close:hover {
    background-color: var(--primary);
    transform: rotate(90deg);
}

.mobile-nav-links {
    margin-top: 60px;
}

.mobile-nav-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0;
    margin: 0;
}

.mobile-nav-links ul li {
    width: 100%;
    margin-bottom: 0;
}

.mobile-nav-links ul li a {
    display: flex;
    align-items: center;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: rgba(0, 194, 255, 0.05);
    transition: var(--transition);
    width: 100%;
    text-align: left;
    border-left: 3px solid transparent;
}

.mobile-nav-links ul li a i {
    margin-right: 10px;
    font-size: 20px;
    min-width: 24px;
    text-align: center;
    color: var(--secondary);
}

.mobile-nav-links ul li a:hover, .mobile-nav-links ul li a:active {
    color: var(--text-white);
    background-color: var(--primary);
    transform: translateX(5px);
    border-left: 3px solid var(--secondary);
}

.mobile-nav-links ul li a:hover i, .mobile-nav-links ul li a:active i {
    color: var(--secondary);
}

/* Language Selector Styles - Enhanced */
.language-selector {
    display: flex;
    align-items: center;
    margin: 0 15px;
    position: relative;
    z-index: 101;
}

.language-label {
    margin-right: 8px;
    font-size: 14px;
    color: var(--primary);
    display: none; /* Hide by default, show on larger screens */
}

.language-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 8px 30px 8px 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' fill='%230056b3' d='M6 6 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    transition: var(--transition);
    width: auto;
    min-width: 100px;
}

.language-dropdown:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

.language-dropdown:hover {
    background-color: rgba(0, 86, 179, 0.05);
}

/* Dark background adjustment for hero section */
#navbar:not(.scrolled) .language-dropdown {
    color: var(--secondary);
    border-color: rgba(0, 194, 255, 0.5);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' fill='%2300c2ff' d='M6 6 0 0h12z'/%3E%3C/svg%3E");
}

#navbar:not(.scrolled) .language-dropdown:hover {
    background-color: rgba(0, 194, 255, 0.1);
}

#navbar:not(.scrolled) .language-label {
    color: var(--secondary);
}

@media (min-width: 768px) {
    .language-label {
        display: block;
    }
    
    .language-dropdown {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .language-selector {
        margin: 0 10px 0 auto;
    }
    
    .language-dropdown {
        padding: 6px 25px 6px 10px;
        font-size: 13px;
        min-width: 80px;
        background-position: right 8px center;
    }
}

/* Mobile language selector - Improved */
.mobile-nav .language-selector {
    margin: 30px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-nav .language-label {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary);
}

.mobile-nav .language-dropdown {
    width: 100%;
    max-width: 200px;
    padding: 12px 30px 12px 15px;
    font-size: 16px;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    background-position: right 15px center;
    background-size: 12px;
    background-color: rgba(0, 194, 255, 0.05);
    border-radius: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' fill='none'%3E%3Cpath fill='%2300c2ff' d='M6 6 0 0h12z'/%3E%3C/svg%3E");
}

.mobile-nav .language-dropdown:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.2);
}

.mobile-nav .language-dropdown:hover {
    background-color: rgba(0, 194, 255, 0.1);
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--text-white);
}

.loader-content img {
    animation: pulse 1.5s infinite;
    margin-bottom: 15px;
}

.loader-content p {
    font-size: 18px;
    font-weight: 500;
    animation: fadeInUp 1s forwards;
}

/* Additional performance optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    #network-animation {
        display: none;
    }
}

/* Fix for service dropdown making page unscrollable on mobile */
.service-selector {
    max-width: 100%;
    overflow: hidden;
}

.service-dropdown {
    width: 100%;
    padding: 12px 15px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' fill='white' d='M6 6 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    transition: var(--transition);
    cursor: pointer;
    font-weight: 500;
}

.service-dropdown:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: var(--secondary);
}

.service-dropdown:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.3);
}

/* Style dropdown options for better visibility */
.service-dropdown option {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 10px;
}

/* Form validation styling */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #ff3c78;
    background-color: rgba(255, 60, 120, 0.05);
}

.form-group.error::after {
    content: 'This field is required';
    display: block;
    color: #ff3c78;
    font-size: 12px;
    margin-top: 5px;
}

.form-group.error[data-error-msg]::after {
    content: attr(data-error-msg);
}

/* Toast message for form validation */
.form-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff3c78;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.form-toast.success {
    background-color: #2ecc71;
}

.form-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
    margin-left: 20px;
    position: relative;
    z-index: 999;
    transition: var(--transition);
}

.mobile-menu-btn:hover span {
    background-color: var(--secondary);
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

.scrolled .mobile-menu-btn span {
    background-color: var(--secondary);
}

/* Mobile menu button animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background-color: var(--secondary);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
    background-color: var(--secondary);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    #navbar {
        height: 70px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .nav-right {
        margin-left: auto;
    }
    
    .btn-portal {
        display: none;
    }
    
    .social-icons {
        display: none;
    }
}

/* Make sure body doesn't scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Fix for the service description section */
.service-description {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
}

.service-description.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Further refinements for very small screens */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 22px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-btns .btn {
        width: 100%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 25px;
    }
    
    .mobile-nav-close {
        top: 15px;
        right: 15px;
    }
}

/* Optimize performance for network animation on mobile */
@media (max-width: 768px) {
    #network-animation {
        opacity: 0.5; /* Reduce opacity on mobile for better performance */
    }
}

.company-name {
    color: white;
    font-weight: 800;
}

/* Enhanced button text styles */
.btn span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
}

/* Improved accessibility for keyboard focus */
.ai-assistant-note:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Add keyboard support for mobile interaction */
.ai-assistant-note:focus-visible {
    outline: 2px solid var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.3);
}

.ai-assistant-note.active-touch {
    transform: scale(0.98) !important;
    background-color: rgba(0, 194, 255, 0.25);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Preload optimization for mobile */
@media (max-width: 768px) {
    /* Optimize loading performance */
    html {
        scroll-behavior: auto !important; /* Disable smooth scrolling on mobile for better performance */
    }
    
    /* Improved touch target sizes for mobile */
    .btn, .mobile-menu-btn, .ai-assistant-note, .scroll-down, a {
        min-height: 44px; /* Apple's recommended minimum touch target size */
    }
} 