@import url('variables.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.1;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all 0.4s ease;
    background: transparent;
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: var(--shadow-soft);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.logo svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

.logo-text {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.03em;
    color: var(--secondary-color);
}

/* Navigation */
.nav ul {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav a:not(.btn) {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1.05rem;
    position: relative;
    padding: 4px 0;
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav a:not(.btn):hover {
    color: var(--primary-dark);
}

.nav a:not(.btn):hover::after {
    width: 100%;
}

/* Dropdown Styles */
.nav ul li {
    position: relative;
}

.has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chevron {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover .chevron {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-md);
    padding: 15px 0;
    display: flex;
    flex-direction: column !important;
    gap: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-soft);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0 !important;
    margin: 0 !important;
}

.dropdown a {
    display: block !important;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
    color: var(--text-color) !important;
    transition: all 0.3s ease !important;
}

.dropdown a::after {
    display: none !important;
}

.dropdown a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-dark) !important;
    padding-left: 25px !important;
}

/* CTA Button */
.btn {
    display: inline-block;
    border: none;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 14px 36px;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset for fixed header */
    overflow: hidden;
    background-color: var(--bg-color);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}

.sphere-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(255, 215, 0, 0) 70%);
    top: -100px;
    right: -100px;
}

.sphere-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #B8860B 0%, rgba(184, 134, 11, 0) 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(18, 18, 18, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 18, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    /* Constrain width for better readability */
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    /* Responsive font size */
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 34px;
    border-radius: var(--border-radius-pill);
    transition: var(--transition-fast);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 40px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.hero-person {
    position: absolute;
    bottom: 0;
    right: 5%;
    height: 90vh;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.3));
    transition: transform 0.5s ease;
}

.hero-person img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.hero-section:hover .hero-person {
    transform: translateX(-10px);
}

.founder-card {
    position: absolute;
    bottom: 15%;
    left: -10%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-radius: 16px;
    z-index: 2;
    animation: float 6s infinite ease-in-out reverse;
    min-width: 220px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.founder-icon {
    font-size: 2rem;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

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

.founder-name {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.founder-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(14deg);
    }

    20% {
        transform: rotate(-8deg);
    }

    30% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-4deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Section Headers */
.section-header {
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Why Choose Zaki - Floating Cards Redesign */
.why-choose-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.relative-container {
    position: relative;
    z-index: 1;
}

.section-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin-top: var(--spacing-md);
}

@media (min-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: flex-start;
        gap: 40px;
    }

    .offset-card {
        transform: translateY(60px);
    }
}

.value-card {
    position: relative;
    padding: 50px 40px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.value-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.card-number {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 215, 0, 0.2);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.5s ease;
}

.value-card:hover .card-number {
    color: rgba(255, 215, 0, 0.5);
}

.value-card h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.value-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.card-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    border-radius: inherit;
}

.value-card:hover .card-glow {
    opacity: 1;
}

/* Floating Animations */
.floating-1 {
    animation: float-slow 8s infinite ease-in-out;
}

.floating-2 {
    animation: float-slow 10s infinite ease-in-out -2s;
}

.floating-3 {
    animation: float-slow 12s infinite ease-in-out -4s;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@media (min-width: 1024px) {
    @keyframes float-slow {

        0%,
        100% {
            transform: translateY(var(--base-y, 0));
        }

        50% {
            transform: translateY(calc(var(--base-y, 0) - 20px));
        }
    }

    .floating-1 {
        --base-y: 0px;
    }

    .floating-2 {
        --base-y: 60px;
    }

    .floating-3 {
        --base-y: 0px;
    }
}

/* Our Process Section */
.process-section {
    background: #fafafa;
    position: relative;
}

.process-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
    position: relative;
}

@media (min-width: 1024px) {
    .process-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }

    .process-grid::before {
        content: '';
        position: absolute;
        top: 60px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.3) 50%, transparent 100%);
        z-index: 0;
    }
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon-wrapper {
    position: relative;
    margin-bottom: 30px;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.glass-card-dark {
    background: rgba(10, 10, 10, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--secondary-color);
}

.step-icon.active {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.process-step:hover .step-icon:not(.active) {
    background: var(--primary-color);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 280px;
    margin: 0 auto;
}

/* Case Studies Section */
.case-studies-section {
    padding: var(--spacing-xl) 0;
}

.slider-container {
    position: relative;
    padding: 20px 0;
    margin: 40px -20px;
}

.cases-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px;
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
}

.cases-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.cases-slider .case-card {
    flex: 0 0 calc(100% - 40px);
    scroll-snap-align: center;
    max-width: 600px;
    height: 480px;
}

@media (min-width: 768px) {
    .cases-slider .case-card {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (min-width: 1200px) {
    .cases-slider .case-card {
        flex: 0 0 calc(33.333% - 40px);
    }
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.slider-nav:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: -25px;
}

.slider-nav.next {
    right: -25px;
}

@media (max-width: 768px) {
    .slider-nav {
        display: none;
    }
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

.case-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    height: 550px;
    /* Increased height for better proportions */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    background: #000;
    /* Fallback */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.case-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 40px;
}

.case-card:hover .case-image {
    transform: scale(1.08);
    /* Parallax zooom */
}

.case-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(10, 10, 20, 0.8) 40%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    transition: opacity 0.5s ease;
}

.case-overlay {
    position: relative;
    z-index: 3;
    color: var(--white);
    margin-bottom: 20px;
    padding-right: 10px;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* CTA Overlay Button */
.case-cta-overlay {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translate(20px, -20px) rotate(-10deg);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-icon-round {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 50px;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.case-card:hover .case-cta-overlay {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
}

.case-card:hover .case-overlay {
    transform: translateY(-5px);
}

.case-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.case-overlay h3 {
    color: var(--white);
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Premium Stats Box */
.case-stats {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    /* Darker glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    /* Top highlight */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.case-card:hover .case-stats {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.case-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align for cleaner look */
    text-align: center;
    position: relative;
    padding: 5px 0;
}

/* Divider lines between stats */
.case-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-value {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-name {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Utilities */
.mt-spacing-md {
    margin-top: var(--spacing-md);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {

    /* Navigation */
    .mobile-nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: var(--transition-slow);
        flex-direction: column;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .nav a {
        font-size: 2rem;
        font-weight: 700;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section */
    .hero-section {
        text-align: center;
        padding-top: 100px;
        align-items: flex-start;
    }

    .hero-person {
        right: -20%;
        opacity: 0.4;
        height: 60vh;
        z-index: 0;
    }

    .founder-card {
        display: none;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta-group {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: center;
    }

    /* Fix for "pink on pink" issue */
    .gradient-sphere {
        opacity: 0.25;
        filter: blur(100px);
    }
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInStagger 0.8s ease backwards;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
    position: relative;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.gmb-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
}

.gmb-badge svg {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

/* Animations */
@keyframes fadeInStagger {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-grid .testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-grid .testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-grid .testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    transition: var(--transition-bounce);
}

.faq-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.3s ease;
}

.faq-header:hover {
    background: rgba(255, 255, 255, 0.08);
}

.faq-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-color);
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg) scale(0);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 30px 25px;
    opacity: 0.7;
    line-height: 1.6;
}

.faq-item.active .faq-body {
    max-height: 300px;
}

.faq-item.active {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--white);
    text-align: left;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.contact-person-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.contact-person-large {
    position: relative;
    flex-shrink: 0;
}

.person-img-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: var(--secondary-color);
}

.person-tag-large {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: #B8860B;
    /* Darker Goldenrod for contrast */
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 1px;
    box-shadow: 0 8px 16px rgba(184, 134, 11, 0.4);
}

/* Chat Bubble Styles */
.chat-bubble {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 24px;
    border-bottom-left-radius: 2px;
    max-width: 320px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: bubbleFloat 6s ease-in-out infinite;
}

.bubble-header {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.chat-bubble p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

@keyframes bubbleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .contact-person-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .chat-bubble {
        border-bottom-left-radius: 24px;
        border-top-right-radius: 2px;
    }
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.method-text h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.method-text p {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-form {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 20px;
    color: var(--white);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Footer Section */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr;
    }
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    margin-bottom: 25px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-size: 1rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.link-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-group a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.link-group a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-legal {
    display: flex;
    gap: 30px;
}

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

/* Trust Bar Styles */
.trust-bar {
    width: 100%;
    overflow: hidden;
    padding: 25px 0;
    position: relative;
    background: var(--secondary-color);
    /* Dark background for visibility */
    border-radius: 16px;
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.trust-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
    gap: 120px;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    cursor: default;
}

.trust-logo {
    height: 45px;
    width: auto;
    max-width: 150px;
    opacity: 0.5;
    filter: grayscale(1) brightness(2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-item:hover {
    color: var(--white);
}

.trust-item:hover .trust-logo {
    opacity: 1;
    filter: grayscale(0) brightness(1);
    transform: scale(1.08);
}

/* Enhancing glow for images */
.logo-meta:hover .trust-logo {
    filter: drop-shadow(0 0 10px rgba(6, 104, 225, 0.3));
}

.logo-google:hover .trust-logo {
    filter: drop-shadow(0 0 10px rgba(66, 133, 244, 0.3));
}

.logo-microsoft:hover .trust-logo {
    filter: drop-shadow(0 0 10px rgba(242, 80, 34, 0.3));
}

.logo-coursera:hover .trust-logo {
    filter: drop-shadow(0 0 10px rgba(0, 86, 210, 0.3));
}

.logo-fnb:hover .trust-logo {
    filter: drop-shadow(0 0 10px rgba(0, 150, 136, 0.3));
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Contact Button Refinement */
.contact-form .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    /* Elite Gold Gradient */
    border: none;
    box-shadow: 0 10px 20px rgba(218, 165, 32, 0.2);
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
    /* Returning to Green on hover for contrast */
    box-shadow: 0 15px 30px rgba(0, 176, 155, 0.4);
    transform: translateY(-3px);
}