

.hero-dev {
    padding: clamp(60px, 10vh, 120px) 5%;
    background: radial-gradient(circle at 90% 10%, #f8fafc 0%, #ffffff 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
}

/* --- Text Styling --- */
.dev-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

/* Animated dot for that "live" feel */
.dot { 
    width: 8px; height: 8px; background: var(--primary); border-radius: 50%; 
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.4);
    animation: pulse 2s infinite;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-text h1 span {
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
}

/* --- CTA Buttons --- */
.hero-cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

.btn-main {
    background: var(--primary);
    color: #fff !important;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.5);
    filter: brightness(1.1);
}

.btn-link {
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-link:hover { color: var(--primary); transform: translateX(5px); }

/* --- Terminal Window --- */
.code-window {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transform: perspective(1000px) rotateY(-5deg); /* Slight 3D effect */
    transition: 0.5s;
}


.code-header {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
}

.dots span { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.r { background: #ff5f56; } .y { background: #ffbd2e; } .g { background: #27c93f; }

.code-content { padding: 30px; font-family: 'Fira Code', monospace; font-size: 0.85rem; line-height: 1.8; }

/* Code Highlights */
.k { color: #c678dd; } .v { color: #e5c07b; } 
.s { color: #98c379; } .f { color: #61afef; } 
.c { color: #5c6370; font-style: italic; }

.cursor { display: inline-block; width: 8px; height: 16px; background: var(--primary); margin-left: 5px; animation: blink 1s infinite; vertical-align: middle; }

/* --- RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
    .code-window { transform: none; }
}

@media (max-width: 768px) {
    .hero-dev { 
        padding-top: 60px; 
        text-align: center; 
    }
    
    .hero-container { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }

    .hero-text p { 
        margin-left: auto; 
        margin-right: auto; 
        font-size: 0.95rem; 
        padding: 0 10px;
    }

    /* --- THE FIX: KEEP BUTTONS ON ONE LINE --- */
    .hero-cta { 
        justify-content: center; 
        gap: 12px; /* Reduced gap to save space */
        flex-wrap: nowrap; /* Prevents stacking */
    }

    .btn-main { 
        width: auto; /* Remove 100% width */
        padding: 12px 20px; /* Slimmer padding for mobile */
        font-size: 0.85rem; /* Smaller text to ensure fit */
        white-space: nowrap; /* Keeps text on one line */
    }

    .btn-link {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    /* Code window adjustment for mobile */
    .code-content { 
        font-size: 0.7rem; 
        padding: 15px; 
        text-align: left; /* Keep code left-aligned even if text is centered */
    }
    
    .code-window { 
        max-width: 100%; 
        overflow-x: auto; 
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@keyframes blink { 50% { opacity: 0; } }

:root {

    --border: #e2e8f0;
  
}

/* SECTION BASE */
.workflow-section {
    padding: 80px 5%;
    background: var(--section-bg);
}

.header-center {
    text-align: center;
    margin-bottom: 60px;
}

.header-center h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-top: 10px;
    font-weight: 800;
}

.header-center h2 span { color: var(--primary); }

.badge {
    font-size: 0.75rem;
    padding: 5px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 600;
}

/* --- DESKTOP GRID --- */
.workflow-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.workflow-step {
    position: relative;
    text-align: center;
}

/* DESKTOP INDICATORS */
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.step-num {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 0 0 6px #fff;
    font-size: 0.9rem;
}

/* DESKTOP HORIZONTAL LINE */
.connector {
    position: absolute;
    top: 22px; /* Center of the 45px circle */
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.workflow-step:last-child .connector {
    display: none;
}

/* CONTENT BOXES */
.step-content {
    padding: 0 10px;
}

.step-content h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.step-content p {
    font-size: 0.8rem;
    color: var(--light);
    line-height: 1.5;
}

/* --- TABLET (3 Columns) --- */
@media (max-width: 1024px) {
    .workflow-track {
        grid-template-columns: repeat(3, 1fr);
    }
    .connector { display: none; } /* Hide horizontal line when items wrap */
}

@media (max-width: 600px) {
    /* Container needs relative positioning */
    .workflow-track {
        display: flex;
        flex-direction: column;
        padding-left: 10px;
        position: relative;
    }

    .workflow-step {
        display: flex;
        text-align: left;
        gap: 20px;
        /* The padding-bottom determines the length of the line between steps */
        padding-bottom: 15px; 
        position: relative;
    }

    /* Remove extra space/line from the very last step */
    .workflow-step:last-child {
        padding-bottom: 0;
    }

    .step-indicator {
        position: relative;
        display: flex;
        justify-content: center;
        flex-shrink: 0;
        width: 36px; /* Anchor width for the line */
    }

    /* THE VERTICAL LINE: Anchored to the indicator */
    .step-indicator::after {
        content: "";
        position: absolute;
        top: 60px; /* Starts exactly at the bottom of the circle */
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        /* This fills the padding-bottom gap of the .workflow-step */
        height: calc(100% + 9px); 
        background-color: var(--border);
        z-index: 1;
    }

    /* Hide the line on the last step so it doesn't bleed out */
    .workflow-step:last-child .step-indicator::after {
        display: none;
    }

    /* Smaller Step Number */
    .step-num {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
        background: var(--primary);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2; /* Number sits on top of the line */
        position: relative;
    }

    /* Hide the old connector div if it exists in your PHP */
    .connector {
        display: none !important;
    }

    /* Content Typography */
    .step-content {
        padding-top: 4px;
    }

    .step-content h3 {
        font-size: 1.2rem;
        margin: 0 0 4px 0;
        font-weight: 700;
        color: var(--dark);
    }

    .step-content p {
        font-size: 0.95rem;
        line-height: 1.4;
        color: var(--light);
        margin: 0;
    }
}



/* --- Project Request Section --- */
.project-request {
    padding: 80px 5%;
    background: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.container-form {
    /* Maintained within the 1300px dashboard constraint while leaving breathing room */
    max-width: 1200px; 
    margin: 0 auto;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- Left Side (Info Content) --- */
.info-side {
    position: relative;
}

.badge-alt {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.info-side h2 {
    font-size: 2.2rem;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 15px;
    margin-top: 10px;
    font-weight: 800;
}

.info-side h2 span { 
    color: var(--primary); 
}

.info-side p {
    color: var(--light);
    margin-bottom: 35px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 24px;
    color: var(--light);
    font-size: 0.95rem;
    padding-left: 35px;
    position: relative;
}

.features-list li strong {
    color: var(--dark);
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.features-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-mini {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.contact-mini span {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--dark);
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tech-tags span {
    background: #f8fafc;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--dark);
    border: 1px solid var(--border);
    transition: 0.3s;
}

.tech-tags span:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- Right Side (Form & Lock Logic) --- */
.form-side {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    border: 1px solid var(--border);
}

.login-overlay {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
}

.lock-icon-wrap {
    width: 80px;
    height: 80px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2.2rem;
    border: 1px solid var(--border);
}

/* --- Phone Number Unified Container (Strict Flexbox Fix) --- */
.phone-container {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8fafc;
    transition: 0.3s;
    height: 54px;
    overflow: hidden;
}

.phone-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

/* 1. Wrapper strictly confines the dropdown */
.country-code-wrapper {
    position: relative;
    width: 50px;
    flex-shrink: 0; /* Prevents shrinking */
    border-right: 1px solid var(--border);
    background: #f1f5f9;
}

/* 2. Visual Display Layer */
.code-display {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--dark);
    pointer-events: none; /* Let clicks hit the select below */
    z-index: 1;
}

/* 3. Dropdown Layer */
.country-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: none;
}

.country-select option {
    opacity: 1 !important;
    background-color: #fff !important;
    color: #000 !important;
}

/* 4. Input Layer (Main Typing Area) */
.phone-input {
    flex: 1;
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 0 15px !important; /* Standard padding, no longer needs the 85px hack */
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    font-family: inherit;
    outline: none; /* Focus outline handled by phone-container */
}

/* --- Standard Form Elements --- */
.input-group { margin-bottom: 24px; }

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.input-group input, 
.input-group select:not(.country-select), 
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: var(--dark);
    font-family: inherit;
    outline: none;
}

.input-group input:focus, 
.input-group select:focus:not(.country-select), 
.input-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.form-row-group {
    display: flex;
    gap: 20px;
}

.form-row-group .input-group {
    flex: 1;
}

/* States */
.input-group input[readonly] {
    background: #f1f5f9 !important;
    border-color: var(--border) !important;
    color: #94a3b8 !important;
    cursor: default;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 18px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 10px;
    border: none;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.4);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .form-wrapper { 
        grid-template-columns: 1fr; 
        gap: 18px; 
    }
    .form-row-group {
        flex-direction: column;
        gap: 0;
    }
}


/* ============================================================
   METHODOLOGY SECTION — methodology-section.css
   Compatible with: methodology.php
   Light mode only
============================================================ */

/* --- GOOGLE FONT IMPORT (if not already in <head>) --- */
/* @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap'); */

/* --- ROOT SECTION --- */
.methodology-showcase {
    padding: 64px 0 80px;
    background: #ffffff;
    overflow-x: hidden;
}

/* --- CONTAINER --- */
.container-1300 {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- SECTION HEADER --- */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}


.section-header h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 10px;
    margin-top: 10;
}

.section-header h2 span {
    color: var(--primary);
}

.section-header p {
    font-size: 0.88rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ============================================================
   SLIDER — mobile peek scroll, desktop 4-col grid
============================================================ */
.methodology-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 52px;
    scrollbar-width: none;
}

.methodology-slider::-webkit-scrollbar {
    display: none;
}

/* ============================================================
   CARD
============================================================ */
.model-card {
    flex: 0 0 83%;
    scroll-snap-align: start;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 22px;
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s ease;
}

.model-card.active-card {
    border-color: #2563eb;
    background: #f0f7ff;
}

/* ============================================================
   DESKTOP GRID OVERRIDE
============================================================ */
@media (min-width: 860px) {
    .methodology-showcase {
        padding: 80px 0 96px;
    }

    .methodology-slider {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow: visible;
        padding: 6px 0 10px;
        gap: 18px;
    }

    .model-card {
        flex: none;
        height: 100%;
    }

    .model-card:hover {
        border-color: #2563eb;
        background: #ffffff;
        transform: translateY(-8px);
    }

    .model-card.active-card:hover {
        background: #edf4ff;
    }
}

/* ============================================================
   DIAGRAM CANVAS
============================================================ */
.diagram-space {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
}

/* SVG sizing — fills diagram-space width, preserves ratio */
.diagram-space svg {
    width: 100%;
    height: 100%;
    max-width: 210px;
    overflow: visible;
}

/* Agile / Spiral are square viewboxes */
.ag-svg,
.sp-svg {
    max-width: 180px;
}

/* ============================================================
   AGILE ORBIT ANIMATION
============================================================ */
.ag-orbit {
    transform-origin: 90px 90px;
    animation: ag-spin 30s linear infinite;
}

@keyframes ag-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ============================================================
   CARD BODY — INFO
============================================================ */
.model-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 7px;
}

.model-info p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 14px;
}

.model-tag {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 10px;
    border-radius: 5px;
}

/* ============================================================
   EXTRA SMALL SCREENS
============================================================ */
@media (max-width: 380px) {
    .model-card {
        flex: 0 0 90%;
        padding: 20px 16px 18px;
    }

    .diagram-space {
        height: 155px;
    }

    .model-info h3 {
        font-size: 0.95rem;
    }

    .model-info p {
        font-size: 0.75rem;
    }
}