/* Variable declarations with extended color palette */
:root {
    /* Main colors - updated to be more like ConnectID */
    --primary-color: #2E8B57; /* SeaGreen */
    --primary-light: #4CAF50;
    --primary-dark: #1B5E20;
    --secondary-color: #ff6b35; /* Vibrant Orange */
    --secondary-light: #ff8a65;
    --secondary-dark: #e53935;
    
    /* Neutral colors */
    --light-bg: #FAF8F5;
    --dark-text: #222222;
    --light-text: #FFFFFF;
    --gray-100: #F9F9F9;
    --gray-200: #F5F5F5;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-inset: inset 0 2px 5px rgba(0,0,0,0.05);
    
    /* Typography */
    --h1-size: clamp(2.5rem, 5vw, 3.5rem);
    --h2-size: clamp(2rem, 4vw, 2.5rem);
    --h3-size: clamp(1.25rem, 3vw, 1.5rem);
    --body-size: clamp(1rem, 2vw, 1.125rem);
    --small-size: clamp(0.875rem, 1.5vw, 1rem);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Reset and general styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Accounts for fixed header */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: #FAF8F5;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: var(--body-size);
}

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

a:hover {
    color: var(--primary-dark);
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

h1 {
    font-size: var(--h1-size);
    font-weight: 700;
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

p {
    margin-bottom: var(--space-sm);
}

.lead {
    font-size: 1.125rem;
    font-weight: 500;
}

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

/* Section styling */
.section-padding {
    padding: 100px 0;
}

section:nth-of-type(even) {
    background-color: var(--gray-100);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.section-subtitle {
    display: inline-block;
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--gray-600);
}

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

.highlight {
    color: var(--secondary-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.08); }
    50% { transform: scale(1); }
    75% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.heart-emoji {
    display: inline-block;
    font-size: 1.3em;
    color: var(--secondary-color);
    animation: heartbeat 2.5s infinite ease-in-out;
    vertical-align: middle;
    margin: 0 2px;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.fade-in:nth-child(2) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.6s;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    padding: 0;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 90px;
}

header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

header .container {
    height: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2000;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-large {
    height: 70px;
}

.scrolled .logo-img {
    height: 55px;
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }

    .logo-img {
        max-height: 36px;
    }
    
    .hero-right {
        height: 45vh;
    }
    
    #hero h1 {
        font-size: clamp(2.5rem, 7vw, 3.5rem);
    }
    
    #hero .subtitle {
        font-size: clamp(1rem, 2.2vw, 1.2rem);
    }
    
    #hero .subtitle-secondary {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 2000;
    position: relative;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2.5rem;
    position: relative;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

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

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

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

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.85rem 2.5rem;
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 139, 87, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(244, 164, 96, 0.25);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    box-shadow: 0 6px 20px rgba(244, 164, 96, 0.35);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .btn {
        width: 100%;
    }
}

/* Hero Section */
#hero {
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Account for fixed header */
    padding: 0;
    background: #FAF8F5;
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
}

.hero-left {
    width: 50%;
    padding: 5% 3% 5% 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.hero-right {
    width: 50%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#hero h1 {
    font-size: clamp(3.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    position: relative;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--primary-color);
}

#hero .subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.35rem);
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
    max-width: 600px;
    font-weight: 400;
    line-height: 1.6;
}

#hero .subtitle-secondary {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: var(--space-md);
    color: var(--gray-600);
    max-width: 600px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-shape path {
    fill: var(--light-bg);
}

/* About Section */
#about {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1573246123716-6b1782bfc499?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2060&q=80') no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}
.about-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    max-width: 50%;
}

.about-image {
    order: 2;
}

.features-container {
    flex: 1;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
}

.feature {
    background-color: var(--light-text);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

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

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary-color);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .hero-left, .hero-right {
        width: 100%;
        padding: 8% 5%;
    }
    
    .hero-right {
        height: 60vh;
        order: -1; /* Move image to the top on mobile */
    }
    
    .about-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .about-text {
        max-width: 100%;
    }
    
    .features-container {
        width: 100%;
    }
}

/* How It Works Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    text-align: center;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 90px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.3;
    z-index: 0;
}

.step {
    background-color: var(--light-text);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.step-icon {
    position: relative;
    margin-bottom: 2rem;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.step-icon span {
    display: inline-block;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--light-text);
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.3);
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.step p {
    color: var(--gray-600);
    margin-bottom: 0;
}

/* Chefs Section */
.chefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0.5rem;
}

.chef-card {
    background: var(--light-text);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    height: 100%;
    overflow: hidden;
    transition: all 0.4s ease;
}

.chef-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.chef-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.chef-img-container {
    overflow: hidden;
    position: relative;
}

.chef-img-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to top, rgba(46, 139, 87, 0.2), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.chef-card:hover .chef-img-container::before {
opacity: 1;
}

.chef-card img {
width: 100%;
height: 220px;
object-fit: cover;
transition: transform 0.5s ease;
}

.chef-card:hover img {
transform: scale(1.1);
}

.chef-details {
    padding: 1.5rem;
    text-align: center;
}

.chef-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--gray-900);
}

.chef-title {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.chef-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.chef-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.chef-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chef-social a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-3px);
}

#join-us {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.section-subtitle-badge {
    margin-bottom: 1rem;
}

.section-subtitle-badge span {
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    display: inline-block;
}

#join-us .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

#join-us .section-tagline {
    font-size: 1.5rem;
    color: var(--gray-600);
    text-align: center;
    margin-top: 1rem;
    font-weight: 400;
}

/* Get Started Timeline */
.get-started-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    z-index: 1;
}

.onboarding-timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #2E8B57;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.timeline-row:last-child {
    margin-bottom: 0;
}

.timeline-left, 
.timeline-right {
    width: 45%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.timeline-left {
    margin-right: auto;
    text-align: right;
}

.timeline-right {
    margin-left: auto;
    text-align: left;
}

.timeline-left:empty,
.timeline-right:empty {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
}

/* Timeline Center with Icon */
.timeline-center {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-icon {
    width: 48px;
    height: 48px;
    background-color: white;
    border-radius: 50%;
    border: 3px solid #2E8B57;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2E8B57;
    font-size: 18px;
    z-index: 2;
}

/* Text Styling */
.timeline-left h3,
.timeline-right h3 {
    color: #2E8B57;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.timeline-left p,
.timeline-right p {
    color: #555;
    margin: 0;
    line-height: 1.5;
    font-size: 15px;
}

.template h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.template h3 i {
    margin-right: 10px;
}

.chef-template {
    border-top: 4px solid var(--primary-color);
}

.customer-template {
    border-top: 4px solid var(--secondary-color);
}

.template-content {
    padding-top: var(--space-sm);
}

.template-steps {
    padding-left: 1.5rem;
    margin: var(--space-sm) 0;
}

.template-steps li {
    margin-bottom: 0.75rem;
    position: relative;
}

.template-note {
    font-size: var(--small-size);
    color: var(--gray-600);
    font-style: italic;
    margin: var(--space-sm) 0;
    padding: var(--space-xs) var(--space-sm);
    background-color: var(--gray-100);
    border-left: 3px solid var(--secondary-color);
    border-radius: var(--radius-sm);
}

@media (max-width: 992px) {
    .join-us-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .join-us-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .get-started-templates {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .join-us-image {
        max-width: 600px;
        margin: var(--space-md) auto 0;
    }
}

/* Testimonials Section */
#testimonials {
    background-color: var(--light-bg);
}

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

.testimonial {
    background-color: var(--light-text);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    flex-grow: 1;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-content p {
    font-style: italic;
    margin: 1.5rem 0;
    color: var(--gray-800);
}

.rating {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-text);
    box-shadow: var(--shadow-sm);
}

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

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* CTA Section */
#cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1498837167922-ddd27525d352?q=80&w=1470&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
    text-align: center;
    padding: 6rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.app-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.app-badge img {
    max-height: 50px;
    transition: transform 0.3s ease;
}

.app-badge:hover img {
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    position: relative;
}

.footer-top {
    padding: 5rem 0 3rem;
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-logo-img {
        height: 50px;
    }
}

.footer-about p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.footer-links h4, .footer-contact h4 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

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

.footer-contact p i {
    margin-right: 15px;
    color: var(--primary-color);
}

.footer-contact a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.newsletter h5 {
    color: var(--light-text);
    margin: 1.5rem 0 1rem;
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 0.8rem;
    padding-right: 3rem;
    border: none;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 1rem;
    border: none;
    background: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    color: var(--light-text);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.copyright i {
    color: #e25555;
    margin: 0 3px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Mobile menu styles */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--light-text);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 120px 30px 30px;
        transition: all 0.4s ease;
    }
    
    .menu-open .nav-links {
        right: 0;
    }
    
    .nav-links li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .nav-links a:not(.btn) {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .nav-links a.btn {
        width: 100%;
        text-align: center;
    }
    
    /* Hero section */
    #hero {
        padding: 8rem 0 5rem;
        text-align: center;
    }
    
    #hero h1 {
        font-size: 2.2rem;
    }
    
    /* Section content */
    .about-content,
    .get-started-templates {
        grid-template-columns: 1fr;
    }
    
    .steps::before {
        display: none;
    }
    
    /* Footer */
    .footer-top {
        padding: 3rem 0 2rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .benefits-list {
        grid-template-columns: 1fr;
    }
    
    .feature {
        padding: 1.2rem;
    }
    
    .app-badges {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .about-content,
    .benefits-container,
    .join-us-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image::after,
    .join-us-image::after {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }

    .step-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Timeline responsive styles */
    .onboarding-timeline::before {
        left: 30px;
    }
    
    .timeline-row {
        flex-direction: column;
        margin-bottom: 30px;
    }
    
    .timeline-center {
        left: 30px;
        top: 0;
        transform: none;
        position: relative;
        margin-bottom: 15px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .timeline-left,
    .timeline-right {
        width: 80%;
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-left {
        order: 2;
    }
    
    .timeline-center {
        order: 1;
    }
    
    .timeline-right {
        order: 3;
    }
    
    .timeline-left:empty,
    .timeline-right:empty {
        display: none;
    }
    
    .timeline-left h3,
    .timeline-right h3 {
        font-size: 18px;
    }
    
    .timeline-left p,
    .timeline-right p {
        font-size: 14px;
    }
}
