/* Modern Professional Styles for Khaya-Mnandi */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Prata&display=swap');

/* Color Variables */
:root {
      --navbar-height: 80px; /* adjust if yours is taller or shorter */

    --primary: #5e35b1;
    --primary-dark: #4527a0;
    --primary-light: #7e57c2;
    --secondary: #26a69a;
    --dark: #263238;
    --dark-gray: #455a64;
    --medium-gray: #90a4ae;
    --light-gray: #eceff1;
    --white: #ffffff;
    --black: #000000;
    --success: #43a047;
    --warning: #ffa000;
    --error: #e53935;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Prata', serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

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

.section-padding {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 53, 177, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 53, 177, 0.2);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background-color: var(--light-gray);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background-color: rgba(38, 50, 56, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    font-family: 'Prata', serif;
    font-size: 1.2rem;
    border-radius: 4px;
    margin-right: 0.75rem;
}

.logo-text {
    font-family: 'Prata', serif;
    font-size: 1.2rem;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    position: relative;
    opacity: 0.9;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    width: calc(100% - 2rem);
    height: 2px;
    background-color: var(--primary-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
        url('assets/mnandifood.png');

    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--dark);
    background-size: cover;
    background-position: center;
}


.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    position: relative;
    height: 500px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1rem;
    height: 2px;
    background-color: var(--primary-light);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.scroll-indicator .line {
    width: 1px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Clients Section */
.clients-section {
    background-color: var(--light-gray);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.client-logo-item {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    height: 60px;
    display: flex;
    align-items: center;
}

.client-logo-item:hover {
    opacity: 1;
}

.client-logo-item img {
    max-height: 100%;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
}

/* About Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-image {
    position: relative;
    height: 500px;
}

.image-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 60%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 8px solid var(--white);
    z-index: 1;
}

.about-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-content h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.ownership-badge {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.ownership-badge span {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    width: fit-content;
    display: inline-block;
}

/* Services Section */
.services-section {
    background-color: var(--white);
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(94, 53, 177, 0.1);
}

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

.service-card h3 {
    font-family: 'Prata', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.service-features {
    margin-top: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Stats Section */
.stats-section {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Values Section */
.values-section {
    background-color: var(--light-gray);
}

.values-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.tab:hover {
    transform: translateX(5px);
}

.tab.active {
    border-left: 4px solid var(--primary);
    background-color: rgba(94, 53, 177, 0.05);
}

.tab-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.tab-content h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tab-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.values-content {
    position: relative;
    height: 100%;
}

.value-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    background-color: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.value-panel.active {
    opacity: 1;
    visibility: visible;
}

.value-panel h3 {
    font-family: 'Prata', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.value-panel p {
    font-size: 1rem;
    color: var(--dark-gray);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--white);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    padding: 0 1.5rem;
}

.testimonial-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: rgba(94, 53, 177, 0.1);
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-weight: 600;
    color: var(--dark);
}

.client-position {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary);
    color: var(--white);
}

.cta-box {
    background-color: var(--primary-dark);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(94, 53, 177, 0.3);
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
}

.contact-info {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.contact-title {
    font-family: 'Prata', serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.contact-details p {
    margin-bottom: 0;
    color: var(--dark-gray);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.contact-form {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.1);
}

textarea.form-control {
    min-height: 150px;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 3rem 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 8rem 0;
        height: auto;
    }
    
    .hero-image-container {
        height: 400px;
        margin-top: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-image {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .client-logos {
        gap: 1.5rem;
    }
    
    .client-logo-item {
        height: 40px;
    }
    
    .about-image {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-links {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .footer-copy {
        text-align: left;
    }
}


.hero-section {
  margin-top: var(--navbar-height);

    background: 
        linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
        url('https://images.unsplash.com/photo-1543353071-873f17a7a088?auto=format&fit=crop&w=1920&q=80');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: white;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 500px;
        height: auto;
        padding: 6rem 0 3rem 0;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 350px;
        padding: 4rem 0 2rem 0;
        background-position: center top;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-text {
        }
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 250px;
        padding: 2.5rem 0 1.5rem 0;
        background-position: center top;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-text {
        font-size: 0.95rem;
    }
}

/* --- NAVBAR/HAMBURGER --- */
/* Example hamburger menu styles, add if missing */
.navbar-toggler {
    display: none;
    border: none;
    background: transparent;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block;
    }
    navbar-nav {
        display: none; /* Hide nav links by default on mobile */
    }
    .navbar-nav.active {
        display: flex; /* Show nav links when hamburger is active */
        flex-direction: column;
        background: rgba(38, 50, 56, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1001;
    }
}



        @media (max-width: 767.98px) {
            .hero-section {
                padding: 4rem 0;
            }
            
            
        }
@media (max-width: 767px) {
    .testimonials-section {
        display: none;
    }
}


@media (max-width: 767px) {
    .stats-section {
        display: none;
    }
}


/* Hide by default */
.section-subtitle {
    display: none;
}

/* Show on mobile (screens 767px and smaller) */
@media (max-width: 767px) {
    .section-subtitle {
        display: block;
    }
}
