:root {
    --bg-color: #F8FAFC;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(0, 0, 0, 0.08);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --accent-glow: rgba(56, 189, 248, 0.15);
    
    /* Category Colors (adjusted for light theme) */
    --cat-logistica: #EA580C; /* Orange */
    --cat-administracion: #059669; /* Green */
    --cat-comercial: #2563EB; /* Blue */
    --cat-servicio: #DC2626; /* Red */
    --cat-direccion: #7C3AED; /* Purple */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lexend', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Shapes for Glassmorphism Effect */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.7;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(255,255,255,0) 70%);
}

.shape-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(255,255,255,0) 70%);
}

.shape-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, rgba(255,255,255,0) 70%);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Top Bar for Partners */
.top-bar {
    width: 100%;
    padding: 1rem 0;
    background: rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.main-nav-links {
    display: flex;
    gap: 1.5rem;
}
.nav-link {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link.active {
    color: #3B82F6;
}
.partners-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.partner-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}
.partner-logos-group {
    display: flex;
    align-items: center;
    gap: 1.15rem; /* slightly more separated than before */
}
.partner-logo {
    max-height: 24px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s;
}
.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Main Client Logo */
.client-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.client-logo-main {
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

.client-logo-main:hover {
    transform: translateY(-2px);
}

/* Header */
.header {
    text-align: center;
    padding: 5rem 0 3rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--card-border);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.title {
    font-family: 'Lexend', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    padding-bottom: 0.1em;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #0F172A, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-family: 'Lexend', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Filters */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: white;
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Categories Active Colors */
.filter-btn.active[data-filter="logistica"] { border-bottom: 2px solid var(--cat-logistica); }
.filter-btn.active[data-filter="administracion"] { border-bottom: 2px solid var(--cat-administracion); }
.filter-btn.active[data-filter="comercial"] { border-bottom: 2px solid var(--cat-comercial); }
.filter-btn.active[data-filter="servicio"] { border-bottom: 2px solid var(--cat-servicio); }
.filter-btn.active[data-filter="direccion"] { border-bottom: 2px solid var(--cat-direccion); }


/* Grid */
.grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 8rem; /* Extra space for the floating button */
}

/* Process Card */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Selected State */
.card.selected {
    border-color: #3B82F6;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.15);
    background: #EFF6FF; /* tailwind blue-50 */
}

/* Card Checkbox */
.card-checkbox-wrapper {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

.checkbox-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.card:hover .checkbox-label {
    color: var(--text-primary);
}

.card.selected .checkbox-label {
    color: #3B82F6;
}

.card-checkbox {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 2px solid rgba(15, 23, 42, 0.25); /* Darker border for better visibility */
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.card:hover .card-checkbox {
    border-color: #3B82F6;
}

.card.selected .card-checkbox {
    background: #3B82F6;
    border-color: #3B82F6;
}

.card-checkbox svg {
    width: 16px;
    height: 16px;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.card.selected .card-checkbox svg {
    opacity: 1;
    transform: scale(1);
}

/* Card Categories Indicators Removed for cleaner agency design */

.card-header {
    margin-bottom: 2rem;
    padding-right: 10rem; /* Space for checkbox and label */
}

.category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 1rem;
    border-radius: 1rem;
    display: inline-block;
    margin-bottom: 1rem;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.card[data-category="logistica"] .category-tag { color: var(--cat-logistica); border: 1px solid rgba(234, 88, 12, 0.2); }
.card[data-category="administracion"] .category-tag { color: var(--cat-administracion); border: 1px solid rgba(5, 150, 105, 0.2); }
.card[data-category="comercial"] .category-tag { color: var(--cat-comercial); border: 1px solid rgba(37, 99, 235, 0.2); }
.card[data-category="servicio"] .category-tag { color: var(--cat-servicio); border: 1px solid rgba(220, 38, 38, 0.2); }
.card[data-category="direccion"] .category-tag { color: var(--cat-direccion); border: 1px solid rgba(124, 58, 237, 0.2); }


.card-title {
    font-family: 'Lexend', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

/* Horizontal Layout Inside Card */
.card-content-horizontal {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.section {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section p {
    font-size: 1rem;
    color: #334155;
    line-height: 1.7;
}

/* Timeline specific */
.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-secondary);
    border: 2px solid white;
}

.card[data-category="logistica"] .timeline-item::before { background: var(--cat-logistica); }
.card[data-category="administracion"] .timeline-item::before { background: var(--cat-administracion); }
.card[data-category="comercial"] .timeline-item::before { background: var(--cat-comercial); }
.card[data-category="servicio"] .timeline-item::before { background: var(--cat-servicio); }
.card[data-category="direccion"] .timeline-item::before { background: var(--cat-direccion); }

.timeline-item strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.timeline-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Impact */
.impact-section {
    justify-content: center;
}

.impact-box {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    height: 100%;
}

.impact-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: #059669; /* Emerald 600 */
    line-height: 1.6;
}

/* Floating Action Button */
.floating-btn {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    text-decoration: none;
    z-index: 100;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

.floating-btn.hidden {
    transform: translateX(-50%) translateY(150px);
    opacity: 0;
    pointer-events: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(248, 250, 252, 0.85); /* Light backdrop */
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.95) translateY(20px);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

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

.modal-title {
    font-family: 'Lexend', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.modal-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.modal-body {
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-bottom: 2rem;
}

/* Custom Scrollbar for modal body */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

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

.selected-list li {
    background: #F8FAFC;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.selected-list li::before {
    content: '✓';
    color: #059669;
    font-weight: bold;
}

.textarea-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.textarea-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.textarea-group textarea {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    color: var(--text-primary);
    font-family: 'Lexend', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 120px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.textarea-group textarea:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: #3B82F6;
    color: white;
}

.btn-primary:hover {
    background: #2563EB;
}

/* Proyecto 1 Layout */
.project-one-container {
    padding: 3rem;
    margin-bottom: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.p1-header {
    text-align: center;
    margin-bottom: 4rem;
}

.p1-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.p1-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.p1-subdesc {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.p1-phases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.phase-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.phase-card:hover {
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    transform: translateY(-3px);
}

.phase-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.phase-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.phase-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 1024px) {
    .card-content-horizontal {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .p1-phases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .partner-text {
        width: 100%;
        text-align: center;
        margin-bottom: -0.5rem;
    }

    .client-logo-main {
        max-height: 70px;
    }

    .header {
        padding: 3rem 0 2rem;
    }

    .title { font-size: 2.5rem; }
    .subtitle { font-size: 1.5rem; }
    
    .floating-btn {
        width: 90%;
        justify-content: center;
    }
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    .modal-footer {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .p1-phases-grid {
        grid-template-columns: 1fr;
    }
    .project-one-container {
        padding: 1.5rem;
    }
/* ==============================
   PROYECTO 1 PREMIUM STYLES
   ============================== */

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 4rem;
    margin-bottom: 6rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(16px);
}

.hero-image-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 0.8s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.06);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2.75rem;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 1.5rem 0;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.bullet svg {
    color: #3B82F6;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 6rem;
}

.section-title-center {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Lexend', sans-serif;
}

.section-subtitle-center {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.15rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.kpi-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.4s ease;
}

.kpi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.9);
}

.kpi-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.kpi-value {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Lexend', sans-serif;
    line-height: 1;
    margin-bottom: 1rem;
}

.kpi-label {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.kpi-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.text-blue { color: #3B82F6; }
.text-emerald { color: #059669; }
.text-purple { color: #8B5CF6; }

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 4rem;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border-radius: 1.5rem;
    margin-bottom: 6rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid var(--card-border);
}

.flow-grid {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-step:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.04);
}

.flow-step.highlight {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.08);
}

.flow-icon {
    width: 60px;
    height: 60px;
    background: var(--text-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.flow-step:hover .flow-icon {
    background: var(--text-primary);
}

.flow-step.highlight .flow-icon {
    background: #3B82F6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.flow-step h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.flow-step p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.flow-arrow {
    display: flex;
    align-items: center;
    color: #CBD5E1;
    font-size: 2rem;
}

/* Phases Section Overrides */
.phases-section {
    margin-bottom: 6rem;
}

.p1-phases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.phase-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.phase-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.15);
    margin-bottom: 1rem;
    font-family: 'Lexend', sans-serif;
    line-height: 1;
}

.phase-title {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.phase-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 4rem;
    border-radius: 1.5rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Media Queries Updated */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 3rem;
        gap: 3rem;
    }
    .flow-grid {
        flex-direction: column;
        gap: 2rem;
    }
    .flow-arrow {
        justify-content: center;
        padding: 1rem 0;
    }
    .flow-arrow svg {
        transform: rotate(90deg);
    }
    .flow-step.highlight {
        transform: scale(1);
    }
    .p1-phases-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .how-it-works-section {
        padding: 3rem 2rem;
    }
    .hero-title {
        font-size: 2rem;
    }
}

