/* ===================================
   AFRIQUEEUROPECONNEXIONVMETC
   Complete Stylesheet
   =================================== */

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

:root {
    --sky-blue: #0078D4;
    --light-blue: #50E6FF;
    --red: #E81123;
    --yellow: #FFB900;
    --orange: #FF8C00;
    --teal: #00B7C3;
    --dark: #1F1F1F;
    --gray: #605E5C;
    --light-gray: #F3F2F1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* ===================================
   HEADER & NAVIGATION WITH DROPDOWNS
   =================================== */

header {
    background: linear-gradient(135deg, var(--sky-blue) 0%, #005A9E 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,0.2);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    margin-top: 10px;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--dark);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
    transition: all 0.3s;
}

.dropdown-menu a i {
    color: var(--sky-blue);
    font-size: 1.2rem;
    width: 25px;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--sky-blue);
    transform: translateX(5px);
}

.dropdown-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 8px 8px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-links.mobile-active {
    display: flex;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--light-blue) 100%);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--yellow);
    border-radius: 50%;
    opacity: 0.1;
    top: -200px;
    right: -200px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--red);
    border-radius: 50%;
    opacity: 0.1;
    bottom: -100px;
    left: -100px;
    animation: float 8s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.hero i {
    margin-right: 10px;
}

/* ===================================
   BUTTONS
   =================================== */

.cta-btn {
    background: var(--yellow);
    color: var(--dark);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--yellow);
    display: inline-block;
    cursor: pointer;
    margin-top: 1rem;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,185,0,0.3);
}

.btn-primary {
    background: var(--yellow);
    color: var(--dark);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--yellow);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,185,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--sky-blue);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--sky-blue);
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--sky-blue);
    color: white;
    transform: translateY(-3px);
}

/* ===================================
   MAIN CONTENT
   =================================== */

main {
    min-height: calc(100vh - 300px);
}

section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--yellow));
    border-radius: 2px;
}

section h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1rem;
}

section ul {
    list-style: none;
    margin: 2rem 0;
}

section ul li {
    padding: 0.8rem 0;
    color: var(--gray);
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sky-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===================================
   CARDS & GRIDS
   =================================== */

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

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

.card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid var(--sky-blue);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.card ul {
    margin: 1rem 0;
}

.card i {
    font-size: 3rem;
    color: var(--sky-blue);
    margin-bottom: 1rem;
    display: block;
}

/* ===================================
   FORMS
   =================================== */

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #E1E1E1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--sky-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--sky-blue), var(--light-blue));
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,120,212,0.3);
}

/* ===================================
   STATS SECTION
   =================================== */

.stats {
    background: var(--dark);
    padding: 60px 0;
    color: white;
}

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

.stat-item h3 {
    font-size: 3rem;
    color: var(--yellow);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ===================================
   FOOTER & SOCIAL MEDIA
   =================================== */

.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--yellow);
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--yellow);
    transform: translateX(5px);
}

/* Social Media Links in Footer */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--sky-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-links a.linkedin:hover { background: #0077B5; }
.social-links a.facebook:hover { background: #1877F2; }
.social-links a.twitter:hover { background: #000000; }
.social-links a.instagram:hover { 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
}
.social-links a.whatsapp:hover { background: #25D366; }
.social-links a.researchgate:hover { background: #00CCBB; }
.social-links a.email:hover { background: var(--red); }

/* Floating Social Media Bar */
.floating-social {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-social a {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
    font-size: 1.3rem;
    text-decoration: none;
}

.floating-social a:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.floating-social a.linkedin { color: #0077B5; }
.floating-social a.facebook { color: #1877F2; }
.floating-social a.twitter { color: #000000; }
.floating-social a.instagram { color: #E4405F; }
.floating-social a.whatsapp { color: #25D366; }
.floating-social a.researchgate { color: #00CCBB; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Microsoft Partnership Badge */
.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--sky-blue);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin: 1rem;
}

.partner-badge img {
    height: 30px;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.bg-light {
    background: var(--light-gray);
}

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

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .floating-social {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    section {
        padding: 40px 0;
    }

    .social-links {
        justify-content: center;
    }
}
