/*

Olwethu Consulting - Cloud & Data Engineering for South African SMEs
Complete CSS Styling - Modern, Responsive, SME-Focused Design

*/

@charset "utf-8";

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e6f5c;
    --primary-dark: #0f5b4b;
    --primary-light: #3a8a76;
    --secondary-color: #2c5a4a;
    --accent-color: #f59e0b;
    --text-primary: #1a2c3e;
    --text-secondary: #2c4b5e;
    --text-muted: #6c8d9c;
    --text-light: #ffffff;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-soft: #f0f9f5;
    --bg-dark: #0b2622;
    --gradient-primary: linear-gradient(135deg, #1e6f5c 0%, #0f5b4b 100%);
    --gradient-elegant: linear-gradient(135deg, #1e6f5c 0%, #0f5b4b 50%, #3a8a76 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg-primary);
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ==================== NAVIGATION ==================== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    background: var(--gradient-elegant);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    gap: 5px;
}

.hamburger {
    width: 26px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    z-index: 999;
    transform: translateY(-120%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #eef2f5;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 1.3rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 30%, #f0f9f5, #ffffff);
    padding: 120px 20px 80px;
}

.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(30, 111, 92, 0.08);
    border-radius: 50%;
    animation: float 12s infinite alternate;
}

.shape-1 { width: 140px; height: 140px; top: 15%; left: 5%; animation-duration: 18s; }
.shape-2 { width: 220px; height: 220px; bottom: 10%; right: 5%; background: rgba(15, 91, 75, 0.05); }
.shape-3 { width: 90px; height: 90px; top: 40%; right: 15%; animation-duration: 14s; }
.shape-4 { width: 180px; height: 180px; bottom: 20%; left: 10%; animation-duration: 20s; }
.shape-5 { width: 70px; height: 70px; top: 70%; left: 20%; }
.shape-6 { width: 110px; height: 110px; top: 10%; right: 25%; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-35px) rotate(8deg); }
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0b2b2a;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(15, 91, 75, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(15, 91, 75, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 28px;
    height: 45px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transform: translateX(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    border-color: var(--primary-dark);
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    transform: translateX(-50%);
    border-radius: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 1; }
}

/* ==================== SECTION STYLES ==================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-align: center;
    letter-spacing: -0.02em;
    background: var(--gradient-elegant);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: var(--bg-secondary);
    position: relative;
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, #cfe9e2, #a1cdc1);
    border-radius: 2rem;
    height: 380px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231e6f5c" width="80px" height="80px"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14H9V8h2v8zm4 0h-2V8h2v8z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.4s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.skill-tag {
    background: #eef7f3;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==================== PACKAGES SECTION ==================== */
/* Updated to match Services section styling */
.packages-section {
    background: var(--bg-secondary);
    padding: 100px 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.package-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    border: 1px solid #e0ece8;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
}

.package-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.package-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 60px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.package-header {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 0;
}

.package-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.package-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0.5rem 0 0.25rem;
}

.package-billing {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.package-content {
    padding: 0;
}

.package-features {
    list-style: none;
    margin: 1rem 0 1.5rem;
}

.package-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-features li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
}

.package-ideal {
    background: var(--bg-soft);
    padding: 0.8rem 1rem;
    border-radius: 16px;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.package-ideal strong {
    color: var(--primary-color);
}

.package-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 0.5rem;
}

.package-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.packages-note {
    text-align: center;
    margin-top: 3rem;
    background: white;
    padding: 1rem;
    border-radius: 2rem;
    color: var(--text-secondary);
    border: 1px solid #e0ece8;
    box-shadow: var(--shadow-sm);
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    background: var(--bg-primary);
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    border: 1px solid #e0ece8;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s ease;
    text-align: center;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: linear-gradient(135deg, #0f5b4b 0%, #1e6f5c 50%, #2c5a4a 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.contact-floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.contact-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.contact-shape-1 { width: 70px; height: 70px; top: 15%; left: 8%; animation: floatShape 24s infinite alternate; }
.contact-shape-2 { width: 110px; height: 110px; top: 65%; right: 12%; background: rgba(255, 255, 255, 0.06); animation: floatShape 28s infinite reverse; }
.contact-shape-3 { width: 55px; height: 55px; top: 25%; right: 30%; background: rgba(255, 255, 255, 0.1); animation: floatShape 20s infinite; }
.contact-shape-4 { width: 90px; height: 90px; bottom: 20%; left: 18%; background: rgba(255, 255, 255, 0.05); border-radius: 25px; animation: floatShape 26s infinite; }
.contact-shape-5 { width: 35px; height: 35px; top: 12%; right: 45%; background: rgba(255, 255, 255, 0.12); animation: floatShape 18s infinite reverse; }
.contact-shape-6 { width: 130px; height: 130px; bottom: 12%; right: 8%; background: rgba(255, 255, 255, 0.04); border-radius: 35px; animation: floatShape 32s infinite; }

@keyframes floatShape {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-30px) rotate(10deg); }
}

.contact-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact .section-title {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.contact .section-title::after {
    background: white;
}

.contact-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.contact-form {
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: inherit;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    border-radius: 24px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 0.8rem;
    padding: 1rem;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-dark);
    color: #cdded9;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left p {
    color: #a0bcb5;
    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: #a0bcb5;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: white;
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .skills {
        justify-content: center;
    }
    
    .packages-section,
    .services-section,
    .about,
    .contact {
        padding: 70px 0;
    }
}

@media (max-width: 850px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .packages-grid,
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .packages-section,
    .services-section,
    .about,
    .contact {
        padding: 50px 0;
    }
    
    .package-header h3 {
        font-size: 1.3rem;
    }
    
    .package-price {
        font-size: 1.6rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .cta-button,
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}