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

:root {
    --primary-color: #734A40;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: #27272a;
    --gradient-primary: linear-gradient(135deg, #734A40 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --shadow-glow: 0 0 20px rgba(115, 74, 64, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 110px; /* offset for fixed navbar (20px top + 70px height + extra spacing) */
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    background: rgba(10, 10, 10, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

    .nav-logo {
        display: flex;
        align-items: center;
        margin-left: 0;
        flex-shrink: 0;
    }

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 8px 12px;
    border-radius: 8px;
}

.logo-link:hover {
    background: transparent;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px rgba(115, 74, 64, 0.5); }
    50% { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 15px rgba(115, 74, 64, 0.8); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: opacity 0.2s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.bar {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hamburger:hover .bar {
    background: var(--accent-color);
    box-shadow: 0 1px 5px rgba(6, 182, 212, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 2s;
    background: var(--gradient-secondary);
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-darker);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* About Us Page Styles */
.about-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.africa-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.africa-image:hover {
    transform: scale(1.05);
}

.team-circle {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.team-member {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: teamFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

.team-member:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.team-member:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); }
.team-member:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); }
.team-member:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); }

@keyframes teamFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.mission {
    padding: 100px 0;
    background: var(--bg-darker);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.mission-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.mission-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.mission-card p {
    color: var(--text-secondary);
}

.values {
    padding: 100px 0;
    background: var(--bg-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.team {
    padding: 100px 0;
    background: var(--bg-darker);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.team-member-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    line-height: 1.6;
}

.story {
    padding: 100px 0;
    background: var(--bg-dark);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-timeline {
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 80px;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Solutions Page Styles */
.solutions-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.solution-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: solutionFloat 6s ease-in-out infinite;
}

.solution-icon:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.solution-icon:nth-child(2) { top: 60%; right: 30%; animation-delay: 2s; }
.solution-icon:nth-child(3) { bottom: 30%; left: 50%; animation-delay: 4s; }
.solution-icon:nth-child(4) { top: 40%; right: 10%; animation-delay: 1s; }

.solution-icon:hover {
    transform: scale(1.2);
    box-shadow: var(--shadow-glow);
}

@keyframes solutionFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

.solutions-overview {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.solution-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.solution-card:hover::before {
    opacity: 0.05;
}

.solution-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon-large {
    transform: scale(1.1) rotate(5deg);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.process {
    padding: 100px 0;
    background: var(--bg-dark);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.technologies {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.tech-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.tech-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tech-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.case-studies {
    padding: 100px 0;
    background: var(--bg-dark);
}

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

.case-study {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.case-study:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.case-study-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.case-study-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-study-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.case-study-stats .stat {
    text-align: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
}

.case-study-stats .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.case-study-stats .stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Revenue Assessment Page Styles */
.revenue-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.chart-container {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 1rem;
    height: 300px;
}

.chart-bar {
    width: 60px;
    height: 100%;
    background: var(--bg-card);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--gradient-primary);
    border-radius: 8px;
    animation: fillBar 2s ease-out forwards;
}

@keyframes fillBar {
    from { height: 0; }
    to { height: var(--value); }
}

.assessment-tools {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.tool-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
}

.tool-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-card);
    margin: 5% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    border: 1px solid var(--border-color);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: var(--text-secondary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.results {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.results h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.result-label {
    color: var(--text-secondary);
}

.result-value {
    color: var(--primary-color);
    font-weight: 600;
}

.hidden {
    display: none;
}

.metrics-dashboard {
    padding: 100px 0;
    background: var(--bg-dark);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.metric-content h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.metric-change {
    font-size: 0.9rem;
    font-weight: 500;
}

.metric-change.positive {
    color: #10b981;
}

.metric-change.negative {
    color: #ef4444;
}

.recommendations {
    padding: 100px 0;
    background: var(--bg-darker);
}

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

.recommendation-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.recommendation-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.recommendation-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.recommendation-card:hover .recommendation-icon {
    transform: scale(1.1) rotate(5deg);
}

.recommendation-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.recommendation-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.recommendation-impact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.impact-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.impact-value {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 120px; /* Increased padding to create more space between nav and content */
        margin: 0;
        overflow-x: hidden; /* Prevent horizontal scroll */
        width: 100%;
        box-sizing: border-box;
    }

    html {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .navbar {
        top: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        border-radius: 9999px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
        margin: 0;
        position: fixed;
        transform: none;
        z-index: 1000;
        background: rgba(10, 10, 10, 0.2);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .nav-container {
        padding: 0 20px;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }



    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        z-index: 1300; /* above nav-menu so it can close the menu */
        padding: 6px; /* Smaller touch target per request */
        border-radius: 10px;
        background: transparent;
        border: none;
        box-shadow: none;
        margin-right: 0;
        flex-shrink: 0;
    }
    
    .hamburger:hover {
        background: transparent;
        border-color: transparent;
        transform: none;
        box-shadow: none;
        opacity: 0.9;
    }
    
    .hamburger .bar {
        width: 22px;
        height: 2px;
        margin: 3px 0;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .hamburger:hover .bar {
        background: var(--accent-color);
        box-shadow: 0 1px 6px rgba(6, 182, 212, 0.5);
    }

    .nav-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        width: 100vw;
        text-align: center;
        transition: transform 0.35s ease, opacity 0.2s ease;
        padding: 80px 0 0 0; /* remove default UL left padding */
        height: 100vh;
        border-radius: 0;
        z-index: 900; /* under navbar so hamburger remains clickable */
        overflow-y: auto;
        pointer-events: none; /* disabled until active */
        transform: translate3d(-120%, 0, 0);
        visibility: hidden;
        opacity: 0;
        contain: paint;
        will-change: transform;
    }

    .nav-menu.active {
        transform: translate3d(0, 0, 0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        width: 100vw;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 20px; /* Additional top padding for hero content */
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 10px; /* Extra spacing for the title */
    }
    
    /* Add spacing for other page titles */
    .section-title {
        margin-top: 20px;
    }
    
    /* Add spacing for blog page title */
    .dashboard-showcase h2 {
        margin-top: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: auto;
        max-width: 280px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .mission-content,
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

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

    .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 90vh;
    }
    
    /* Blog specific mobile styles */
    .container {
        padding: 0 25px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .dashboard-card {
        margin-bottom: 1rem;
        min-height: auto;
        overflow: hidden;
    }
    
    .dashboard-content {
        padding: 1.5rem;
        padding-bottom: 4rem;
        min-height: 180px;
    }
    
    .dashboard-content h3 {
        font-size: 1.2rem;
    }
    
    .dashboard-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .btn-container {
        position: absolute;
        bottom: 1.5rem;
        right: 1.5rem;
        padding-top: 0;
    }
    
    /* Blog post content mobile styles */
    .container[style*="max-width: 800px"] {
        padding: 0 25px !important;
    }
    
    /* Fix image loading and performance */
    .dashboard-img {
        will-change: transform;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
    
    /* Disable animations on mobile for better performance */
    .dashboard-card:hover .dashboard-img {
        transform: none;
    }
    
    .dashboard-card:hover {
        transform: none;
    }
}

/* Scroll Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Optional small spinner (non-blocking) */
.page-spinner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(10,10,10,0.75);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 12px;
    border-radius: 10px;
    z-index: 10000;
    display: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.loading-spinner {
    display: flex;
    gap: 8px;
}

.bubble {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: bubble-bounce 1.4s ease-in-out infinite both;
}

.bubble:nth-child(1) {
    animation-delay: -0.32s;
}

.bubble:nth-child(2) {
    animation-delay: -0.16s;
}

.bubble:nth-child(3) {
    animation-delay: 0s;
}

@keyframes bubble-bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(115, 74, 64, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(115, 74, 64, 0.4);
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.back-to-top:hover::before {
    opacity: 1;
}

.back-to-top i {
    position: relative;
    z-index: 1;
}

/* Typewriter Effect */
.typewriter-line {
    display: inline-block;
    min-width: 200px;
}

.typewriter-text {
    display: inline-block;
    background: linear-gradient(135deg, #734A40 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: var(--primary-color);
    font-weight: bold;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive Back to Top Button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .typewriter-line {
        min-width: 150px;
    }
}

/* Contact Links */
.contact-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

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

.contact-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(115, 74, 64, 0.4);
}

/* 404 Page Styles */
.error-hero {
    min-height: 70vh;
}

.error-hero .hero-title {
    font-size: 4rem;
}

.error-hero .hero-subtitle {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* About Content */
.about-content {
    padding: 80px 0;
}

/* Dark ambient visual background for About section */
.about-content.has-dark-bg {
    position: relative;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(14, 165, 233, 0.08), transparent 60%),
                radial-gradient(1000px 500px at 90% 20%, rgba(139, 92, 246, 0.08), transparent 60%),
                radial-gradient(900px 500px at 30% 90%, rgba(236, 72, 153, 0.07), transparent 60%),
                linear-gradient(180deg, rgba(10,10,14,0.6) 0%, rgba(10,10,14,0.6) 100%);
    overflow: hidden;
}

/* Global Ambient Effects */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(800px 400px at 20% 20%, rgba(14, 165, 233, 0.03), transparent 50%),
        radial-gradient(600px 300px at 80% 80%, rgba(139, 92, 246, 0.03), transparent 50%),
        radial-gradient(700px 350px at 50% 50%, rgba(236, 72, 153, 0.02), transparent 50%);
    pointer-events: none;
    z-index: -2; /* place below fire canvas */
    animation: ambientFloat 20s ease-in-out infinite;
}

/* Fire ember canvas (full-page, non-interactive) */
#fire-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1; /* above gradients, below content */
}

/* Subtle floating particles effect */
.ambient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.ambient-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.ambient-particle:nth-child(2) {
    top: 60%;
    left: 85%;
    animation-delay: 5s;
    animation-duration: 25s;
}

.ambient-particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 10s;
    animation-duration: 18s;
}

.ambient-particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 15s;
    animation-duration: 22s;
}

.ambient-particle:nth-child(5) {
    top: 70%;
    left: 50%;
    animation-delay: 8s;
    animation-duration: 30s;
}

/* Enhanced card hover effects */
.feature-card,
.solution-card,
.dashboard-card,
.team-member-card,
.value-card,
.case-study,
.tool-card,
.mission-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after,
.solution-card::after,
.dashboard-card::after,
.team-member-card::after,
.value-card::after,
.case-study::after,
.tool-card::after,
.mission-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::after,
.solution-card:hover::after,
.dashboard-card:hover::after,
.team-member-card:hover::after,
.value-card:hover::after,
.case-study:hover::after,
.tool-card:hover::after,
.mission-card:hover::after {
    left: 100%;
}

/* Subtle glow effects on interactive elements */
.btn,
.nav-link,
.feature-card,
.solution-card,
.dashboard-card {
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover,
.nav-link:hover,
.feature-card:hover,
.solution-card:hover,
.dashboard-card:hover {
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.15);
}

/* Ambient animations */
@keyframes ambientFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(1deg);
    }
    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.about-content.has-dark-bg::before,
.about-content.has-dark-bg::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.about-content.has-dark-bg::before {
    top: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at center, rgba(14,165,233,0.18), rgba(14,165,233,0) 70%);
    filter: blur(10px);
    opacity: 0.6;
}

.about-content.has-dark-bg::after {
    bottom: -140px;
    right: -100px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at center, rgba(139,92,246,0.16), rgba(139,92,246,0) 70%);
    filter: blur(12px);
    opacity: 0.55;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.founder-image {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.founder-image:hover {
    transform: scale(1.05);
}

/* Focus Points */
.focus-points {
    margin: 2rem 0;
}

.focus-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(115, 74, 64, 0.1);
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.focus-point i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.focus-point span {
    color: var(--text-secondary);
    line-height: 1.6;
}

.focus-quote {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(115, 74, 64, 0.1);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

/* Additional CTA */
.additional-cta {
    padding: 60px 0;
    background: var(--bg-darker);
}

.cta-button-container {
    text-align: center;
}

/* Form Styles */
.assessment-form {
    padding: 80px 0;
    background: var(--bg-darker);
}

.revenue-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-section {
    margin-bottom: 3rem;
}

.form-section h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(115, 74, 64, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

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

.form-note {
    background: rgba(115, 74, 64, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.form-note p {
    color: var(--text-secondary);
    margin: 0;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

/* Dashboard Showcase */
.dashboard-showcase {
    padding: 80px 0;
    background: var(--bg-darker);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
    grid-auto-rows: 1fr;
    grid-auto-flow: row;
}

.dashboard-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
    position: relative;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.dashboard-image {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.dashboard-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dashboard-card:hover .dashboard-img {
    transform: scale(1.05);
}

.dashboard-content {
    padding: 1.5rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    min-height: 200px;
}

.dashboard-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.dashboard-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Solutions: What You Get section inside dashboard cards */
.what-you-get {
    margin: 0.75rem 0 1rem;
}

.what-you-get-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.what-you-get-list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0 0 0.5rem;
}

.what-you-get-list li {
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    line-height: 1.6;
}

.solution-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
}

.solution-cta .btn {
    width: auto;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
}

.dashboard-content .btn-container {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    justify-content: flex-end;
    width: auto;
    height: auto;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .revenue-form {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        justify-content: center;
    }
    
    .testimonial-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
}

/* Testimonial Section */
.testimonial {
    padding: 80px 0;
    background: var(--bg-darker);
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--primary-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
    opacity: 0.3;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: justify;
}

/* Blog post typography */
article h3 {
    color: var(--text-primary);
    font-size: 1.45rem;
    line-height: 1.3;
    margin: 2rem 0 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

article h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem;
    opacity: 0.95;
}

article p + h3,
article ul + h3,
article ol + h3 {
    margin-top: 2.25rem;
}

.testimonial-author {
    text-align: right;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.author-name {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-company {
    color: var(--primary-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Form Validation Styles */
.validation-error {
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.form-group .error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group input.error + .error-message,
.form-group select.error + .error-message,
.form-group textarea.error + .error-message {
    display: block;
}
