/* ============================================
   RESPONSIVE NAVIGATION - Systems Thinking Africa
   ============================================ */

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

 :root {
  
    --clay-terracotta: #C45C3E;   /* Warm, confident red-orange (accents) */
    --savanna-gold: #D9A13B;      /* Sophisticated gold (highlights) */
    --earth-brown: #6F4E37;       /* Deep brown (text on light bg) */
    --warm-ivory: #FDF8F2;        /* Soft, natural off-white (background) */
    --charcoal-soft: #2A241F;     /* Almost black but softer (main text) */
    --accent-gradient: linear-gradient(105deg, #C45C3E 0%, #D9A13B 100%);

            --clay-terracotta: #b35f3a;
            --deep-umber: #6c3e2b;
            --savanna-gold: #d9a13b;
            --warm-sand: #f4ede4;
            --charcoal-soft: #2c241e;
            --off-white: #fefaf5;
            --accent-gradient: linear-gradient(105deg, #b35f3a 0%, #ce7e4a 100%);
            --border-organic: rgba(179, 95, 58, 0.25);
            --shadow-elevated: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
            --pattern-opacity: 0.035;

        }

        body {
            background-color: var(--off-white);
            font-family: 'Inter', sans-serif;
            color: var(--charcoal-soft);
            overflow-x: hidden;
        }

.navbar {
    margin-top: 1.5rem;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1600px;
            background: rgba(254, 250, 245, 0.92);
    z-index: 1000;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 0;
    width: 100%;
    max-width: none;
    border-radius: 0;
    padding: 1rem 3rem;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* Desktop Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 11pt;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    padding: 16px 30px;
    transition: color 0.2s ease, border-color 0.2s ease;
    
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* Nav Actions - Menu Button */
.nav-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
}

.menu-toggle .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Body class for menu open - prevent scrolling */
body.menu-open {
    overflow: hidden;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Desktop */
@media (max-width: 1200px) {
    .nav-links {
        gap: 2.5rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
}

/* Mobile Navigation Menu - Activates at 992px */
@media (max-width: 992px) {
    .navbar {
        width: 95%;
        padding: 0.8rem 1.5rem;
        border-radius: 40px;
        margin-top: 1rem;
    }
    
    .navbar.scrolled {
        width: 100%;
        border-radius: 0;
        padding: 0.8rem 1.5rem;
    }
    
    /* Show menu button on mobile */
    .menu-toggle {
        display: block;
    }
    
    /* Mobile Navigation Menu - Slide from right */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
       width: min(85%, 520px);
        height: 98vh;
        background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        margin: 0;
        padding: 2rem;
        z-index: 1001;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        border-radius: 0;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: inline-block;
        padding: 0.8rem 0;
        font-size: 1.1rem;
        letter-spacing: 0.15em;
    }
    
    .nav-links a.active,
    .nav-links a:hover {
        border-bottom: none;
        color: var(--primary);
        background: rgba(184, 59, 42, 0.1);
        border-radius: 30px;
        padding: 0.8rem 1.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
        white-space: normal;
        line-height: 1.2;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
      .navbar {
        width: 95%;
        padding: 0.8rem 1.5rem;
        border-radius: 40px;
        margin-top: 1rem;
    }
  
    .logo {
        font-size: 1rem;
        max-width: 300px;
    }
    
    .menu-toggle .material-symbols-outlined {
        font-size: 1.8rem;
    }
    
    .nav-links {
        width: 85%;
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.6rem 0;
    }
    
    .nav-links a.active,
    .nav-links a:hover {
        padding: 0.6rem 1.2rem;
    }
}

/* ============================================
   FOOTER STYLES (Matching your existing)
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2a24 100%);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   pointer-events: none;
    z-index: 0;
}

.footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
    margin-bottom: 0rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    padding: 0 20px;
}

.footer-brand .logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.footer-brand p {
    color: #DFBC94;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-icons a span {
    color: #DFBC94;
    font-size: 20px;
}

.footer-links h5, .footer-contact h5, .footer-direct h5 {
    color: #DFBC94;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h5::after, .footer-contact h5::after, .footer-direct h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
}

.footer-links a {
    display: block;
    text-decoration: none;
    color: #DFBC94;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    font-size: 0.9rem;
}



.contact-item {
    display: flex;
    align-items: left;
    gap: 12px;
    margin-bottom: 1rem;
    color: #DFBC94;
    font-size: 0.85rem;
    transition: var(--transition);
}



.contact-item .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary-light);
    min-width: 24px;
}

.contact-item a {
    color: #DFBC94;
    text-decoration: none;
}


.phone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.75rem;
    color: #DFBC94;
    font-size: 0.9rem;
}

.phone-item .material-symbols-outlined {
    font-size: 20px;
    color: var(--accent);
    min-width: 24px;
}

.phone-item a {
    color: #DFBC94;
    text-decoration: none;
}

.phone-item a:hover {
    color: var(--accent);
}

.direct-label {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.footer-bottom .development {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

.footer-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light), var(--accent));
    background-size: 200% 100%;
    animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer .container {
        padding: 0 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-links h5::after, 
    .footer-contact h5::after, 
    .footer-direct h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        text-align: left;
        color:#DFBC94;
    }
    
    .footer-links a:hover {
        transform: translateX(0) translateY(-2px);
    }
    
    .contact-item, .phone-item {
        justify-content:flex-start;
    }
    
    .social-icons {
        justify-content:flex-start;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 8px 1rem;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-brand .logo {
        font-size: 1.5rem;
    }
    
    .footer-bottom p,
    .footer-bottom .development {
        font-size: 0.9rem;
    }
}

/* Material Icons */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}