:root {
    /* HERSPIRE AFRIKA Brand Colors */
    --primary-purple: #6A0DAD;          /* Royal Purple - primary brand */
    --accent-gold: #F4A300;             /* Gold - African print accent */
    --accent-deep-red: #9B1C31;         /* Deep Red */
    --accent-forest-green: #1E5631;     /* Forest Green */
    --accent-burnt-orange: #C2410C;     /* Burnt Orange */
    --warm-off-white: #FAF9F6;          /* Warm Off White - neutral */
    --charcoal-text: #1F2937;           /* Charcoal - text */
    --neutral-bg: #FAF9F6;
    --muted: #f5f5f5;
    --card-bg: #ffffff;
    --text: #1F2937;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
h1,h2,h3,h4,h5,h6 {
    color: var(--primary-purple);
    font-family: "Montserrat", "Inter", sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}
p, a, button, li, span, div, input, textarea, select, label{
    font-family: 'Inter', sans-serif;
    color: var(--text);
    font-weight: 400;
    letter-spacing: 0;
}
/* Override for buttons and CTAs with explicit text-white class */
a.text-white, button.text-white, a.text-white span, a.text-white i {
    color: white !important;
}

/* Footer links - ensure white text on dark background */
footer a.footer-link,
footer a.footer-link span,
footer span.footer-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer a.footer-link:hover,
footer a.footer-link:hover span {
    color: #F4A300 !important; /* accent-gold */
}

/* General footer links override */
footer a:not(.text-secondary-orange):not(.bg-secondary-orange):not(.footer-link) {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer a:hover:not(.bg-accent-gold):not(.footer-link) {
    color: #F4A300 !important; /* accent-gold */
}
body {
    color: var(--text);
    margin: 0;
    background: var(--muted);
}

/* Improve image quality */
img {
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

/* High quality rendering for thumbnails - use smooth scaling for photos */
img[class*="object-contain"] {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
    will-change: transform;
}

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Button hover effects */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(106, 13, 173, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility
*:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
} */

/* button:focus,
a:focus {
    outline: 2px solid var(--primary-purple);
    outline-offset: 2px;
} */

/* Remove focus outline for navigation links */
.nav-link:focus,
.mobile-nav-link:focus,
header nav a:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Partners Carousel Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-scroll-left {
    animation: scroll-left 30s linear infinite;
}

.animate-scroll-left:hover {
    animation-play-state: paused;
}

/* Header Navigation Styles */
.nav-link {
    position: relative;
    outline: none !important;
    border: none !important;
}

.nav-link:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #F4A300; /* accent-gold */
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #F4A300 !important; /* accent-gold */
}

.nav-link.active::after {
    width: 80%;
    background-color: #F4A300;
}

/* Mobile nav link active state */
.mobile-nav-link.active {
    background-color: rgba(106, 13, 173, 0.1) !important;
    color: #6A0DAD !important; /* primary-purple */
}
