/* Global Styles */
:root {
    --primary-color: #4285F4;
    --secondary-color: #3367D6;
    --accent-color: #6C9EFF;
    --dark-color: #1A2233;
    --darker-color: #121825;
    --light-color: #f8fafc;
    --text-color: #E0E0E0;
    --text-light: #A0A0A0;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--darker-color);
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    /* background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; */
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Navigation */
.navbar {
    background: var(--darker-color);
    backdrop-filter: blur(0px);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-brand i {
    color: var(--primary-color);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero-section {
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1) 0%, rgba(51, 103, 214, 0.1) 100%);
    background-size: cover;
    opacity: 0.3;
    transform: skewY(-5deg);
    transform-origin: top left;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-image {
    text-align: center;
    font-size: 10rem;
    color: var(--primary-color);
    opacity: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 40px;
        text-align: center;
    }

    .hero-section .min-vh-100 {
        min-height: auto !important;
    }

    .hero-section h1 {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-section p {
        font-size: 1.3rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-section .d-flex.gap-3 {
        display: none !important;
    }

    .hero-section .btn {
        display: none !important;
    }

    .hero-image {
        font-size: 6rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 30px;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .hero-section p {
        font-size: 1.2rem;
        padding: 0 0.5rem;
    }

    .hero-image {
        font-size: 5rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* About Section */
.about-image {
    text-align: center;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.7;
    animation: pulse 4s ease-in-out infinite;
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-item h4 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Services Section */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--accent-color);
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.service-details {
    display: none;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.service-read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

.service-read-more:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* Portfolio Section */
.portfolio-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-image {
    background: var(--gradient-dark);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.portfolio-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Our Vision for Africa Section */
.vision-map {
    text-align: center;
    font-size: 10rem;
    color: var(--primary-color);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.vision-map h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 1rem;
}

.vision-map p {
    color: var(--text-light);
    font-size: 1rem;
}

.vision-goal-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.vision-goal-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.1);
}

.vision-goal-item h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Partnership Opportunities Section */
.partnership-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partnership-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.1);
}

.partnership-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.partnership-card:hover .partnership-icon {
    transform: scale(1.1);
    background: var(--accent-color);
}

.partnership-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.partnership-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    color: var(--white);
}

/* Form Styles */
.form-control {
    border: none;
    border-radius: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Footer */
.bg-darker {
    background: var(--darker-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-image {
        font-size: 4rem;
        margin-top: 2rem;
    }
    
    .about-image {
        font-size: 4rem;
        margin-top: 2rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .portfolio-card {
        margin-bottom: 2rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Insights & Resources Section */
.insight-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.insight-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-content h5 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.insight-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    flex: 1;
}

.insight-read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    padding: 0;
}

.insight-read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Tech Talent Programs Section */
.talent-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.talent-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.1);
}

.talent-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.talent-card:hover .talent-icon {
    transform: scale(1.1);
    background: var(--accent-color);
}

.talent-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.talent-card p {
    color: var(--text-light);
    line-height: 1.6;
} 