:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #a855f7;
    --accent-color: #ec4899;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-hover: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-purple: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

html {
    scroll-padding-top: 80px;
}

/* Scroll Animations */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.fade-up-element:nth-child(even) {
    transition-delay: 0.1s;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light {
    background-color: var(--bg-light);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    width: 100%;
    margin-top: 1rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    /* Adjust height as needed */
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.1), transparent 40%),
        radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.1), transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-trust i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
    bottom: -20px;
    left: -20px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transform: rotate(-3deg);
    transition: hover 0.3s;
}

.glass-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-purple);
}

/* Floating Cards in Hero */
.floating-card {
    position: absolute;
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
    min-width: 200px;
    animation: float-card 6s ease-in-out infinite;
}

.card-left {
    top: 20%;
    left: -40px;
    animation-delay: 1s;
}

.card-right {
    top: 15%;
    right: -40px;
    animation-delay: 2s;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.icon-purple-f {
    background: #8b5cf6;
}

.icon-orange-f {
    background: #f97316;
}

.floating-content h4 {
    font-size: 1rem;
    margin-bottom: 0.1rem;
    color: var(--text-color);
    font-weight: 700;
}

.floating-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .card-left {
        left: 0;
        top: 10%;
    }

    .card-right {
        right: 0;
        bottom: 10%;
    }
}

/* Sections */
.section {
    padding: 6rem 0;
}

/* Dark Purple Section */
.dark-purple-section {
    background: linear-gradient(135deg, #4c1d95 0%, #312e81 100%);
    color: white;
}

.badge-outline {
    display: inline-block;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
}

.text-white {
    color: white !important;
}

.text-yellow {
    color: #fde047;
}

.text-white-opacity {
    color: rgba(255, 255, 255, 0.8) !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
}

/* Features/Why Join */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f3f4f6;
}

/* Dark Card Variant */
.dark-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.dark-card h3 {
    color: white;
}

.dark-card p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.dark-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #eef2ff;
    color: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    /* Spacing increased */
}

/* Specific Icons for Dark Cards */
.dark-card .feature-icon {
    color: white;
}

.icon-green {
    background: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.icon-purple-dark {
    background: #8b5cf6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* icon-blue, icon-pink, icon-orange already defined in other section, but styles might conflict. Let's make sure features use these classes correctly */
.dark-card .icon-blue {
    background: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
}

.dark-card .icon-pink {
    background: #ec4899;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    color: white;
}

.dark-card .icon-orange {
    background: #f97316;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    color: white;
}

.dark-card .icon-blue-light {
    background: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Process / How it Works */
.badge-purple {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f3e8ff;
    color: #9333ea;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-purple i {
    margin-right: 0.5rem;
}

.process-wrapper {
    position: relative;
    padding-top: 2rem;
}

/* Connector Line Logic - replaced with Arrow Icons */
.process-line {
    display: none;
    /* Hide the old line */
}

/* Arrow Connectors */
@media (min-width: 1024px) {
    .process-card::after {
        content: '\f101';
        /* FontAwesome angle-double-right or similar. Using chevron-right \f054 or long-arrow \f178 */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        /*color: #d1d5db;*/
        /* Light gray */
        z-index: 10;
        width: 30px;
        text-align: center;
    }

    /* Remove arrow from the last card */
    .process-card:last-child::after {
        display: none;
    }

    /* Adjust spacing if needed to prevent overlap with arrow */
    .process-grid {
        gap: 3rem;
        /* Increase gap to make room for arrow */
    }
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Reduced min-width to allow fitting */
    position: relative;
    z-index: 1;
}

.process-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    text-align: left;
    position: relative;
    transition: var(--transition);
    border: 1px solid #f9fafb;
    height: 100%;
    border-top-width: 4px;
    /* Added top border width */
}

/* Specific Top Border Colors for Process Cards */
.process-card:nth-child(1) {
    border-top-color: #3b82f6;
}

/* Blue */
.process-card:nth-child(2) {
    border-top-color: #8b5cf6;
}

/* Purple */
.process-card:nth-child(3) {
    border-top-color: #ec4899;
}

/* Pink */
.process-card:nth-child(4) {
    border-top-color: #f97316;
}

/* Orange */

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.step-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    /* Center horizontally */
    transform: translateX(-50%);
    /* Center horizontally */
    right: auto;
    /* Reset right positioning */
    background: #f3f4f6;
    color: #000000;
    /* Black color */
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 5;
    /* Ensure it stays on top of border */
}

.process-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.icon-purple {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.4);
}

.icon-pink {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    box-shadow: 0 10px 20px -5px rgba(219, 39, 119, 0.4);
}

.icon-orange {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 10px 20px -5px rgba(234, 88, 12, 0.4);
}

.process-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.process-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Requirements Section Redesign */
.req-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.req-text-col {
    padding-top: 1rem;
}

.text-left {
    text-align: left;
    margin-left: 0;
}

.no-exp-card {
    background: #eef2ff;
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
    border: 1px solid #e0e7ff;
}

.no-exp-icon {
    background: #6366f1;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.no-exp-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.no-exp-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Right Grid */
.req-grid-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.req-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.req-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.req-card.full-width {
    grid-column: span 2;
}

.req-icon {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.icon-blue-light {
    background: #eff6ff;
    color: #3b82f6;
}

.icon-pink-light {
    background: #fdf2f8;
    color: #ec4899;
}

.icon-purple-light {
    background: #f5f3ff;
    color: #8b5cf6;
}

.icon-orange-light {
    background: #fff7ed;
    color: #f97316;
}

.icon-green-light {
    background: #ecfdf5;
    color: #10b981;
}

.req-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.req-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .req-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .req-text-col {
        text-align: center;
    }

    .text-left {
        text-align: center;
        margin: 0 auto 2rem;
    }

    .no-exp-card {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .req-grid-col {
        grid-template-columns: 1fr;
    }

    .req-card.full-width {
        grid-column: span 1;
    }
}

/* Jobs Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.job-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.job-tag {
    background: #eff6ff;
    color: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-weight: 600;
}

.job-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.job-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.job-details i {
    margin-right: 0.3rem;
    color: #9ca3af;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-main);
    padding: 6rem 0;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background: #111827;
    color: #d1d5db;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #374151;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo .logo-img {
    height: 35px;
    /* Slightly smaller for footer */
    /* Removed filter as it caused the logo with background to become a solid white block */
    background: white;
    /* Ensure background is white if transparent, or matches image background */
    padding: 2px 5px;
    /* Add small padding if it looks crowded */
    border-radius: 4px;
    /* Slight rounding for aesthetics */
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-list li,
.footer-links li {
    margin-bottom: 1rem;
    display: flex;
    gap: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }

    .requirements-box {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .timeline-number {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .sm-hidden {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .req-list li {
        font-size: 1rem;
    }

    /* Hero Mobile Updates */
    .hero-visual {
        height: auto;
        min-height: 450px;
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
    }

    .image-placeholder-card {
        transform: rotate(0deg);
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .floating-card {
        position: relative;
        width: 100%;
        max-width: 280px;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        animation: none;
        /* Disable float on mobile to stay stable */
        margin: 0 auto;
    }

    .card-left,
    .card-right {
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
    }
}

/* Ensure grid items don't overflow on very small screens */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.process-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Reduced min-width to allow fitting */
}

@media (min-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
        /* Force 4 columns on large screens */
    }
}

/* Force dark card text visibility */
.dark-card h3 {
    color: white !important;
}

.dark-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}