/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}
/*.heading-font{*/
/*    font-family: 'Space Grotesk', sans-serif;*/
/*}*/

/*body {*/
    /* font-family: "Inter",sans-serif; */
    /* background-color: #0b0f19; */
/*    background-color: #ffffff;*/
    /* Dark background fallback */
    /* display: flex;
  justify-content: center;
  align-items: center; */
/*    min-height: 100vh;*/
    /* padding: 20px; */
/*}*/

.section {
    width: 100%;
    max-width: 1280px;
    padding: 20px;
    margin: 0 auto;
    color: #000000 !important;
    /*font-size: 16px;*/
}

.section_p {
    width: 100%;
    max-width: 1280px;
    padding: 1rem 20px;
    margin: 0 auto;
    color: #000 !important;
    /*font-size: 1.1rem;*/
    line-height: 1.5;
    /*text-align: justify;*/
}
.italic_p{
    font-style: italic;
    line-height: 1.5rem;
    /*font-size: 20px;*/
    /*font-weight: 400;*/
    margin-top: 2rem;
    line-height: 1.5;
}

/* Main Container with 1280px max-width constraint */
.hero-container {
    width: 100%;
    /*max-width: 1280px;*/
    min-height: 560px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;

    /* Semi-generic tech/laptop background with a dark vignette overlay */
    background:
        linear-gradient(135deg, rgba(10, 15, 30, 0.92) 30%, rgba(10, 15, 30, 0.4) 100%),
        url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=1248&q=80') no-repeat center center;
    background-size: cover;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); */
}

/* Content Area */
.hero-content {
    /*max-width: 760px; */
    /*max-width: 1280px;*/
    max-width: 1220px;
    /*max-width: 100%;*/
    width: 100%;
    margin: 0 auto;
    /*padding: 0 2rem;*/
    z-index: 2;
}

/* Metadata Text */
.hero-meta {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.8px;
    color: #a0aec0;
    margin-bottom: 24px;
    /*font-family: "Poppins";*/
}

.hero-meta .separator {
    margin: 0 8px;
    color: #4a5568;
}

/* Heading Configuration */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 28px;
     font-family: 'Space Grotesk', sans-serif !important;
     /*font-family: 'Inter', sans-serif !important;*/
}

.brand-blue {
    color: #1d72ec;
    /* High-contrast blue matching the screenshot */
}

/* Description Text */
.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Call-to-action Button Layout */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Base Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    min-height: 58px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.25s ease;
}

/* Primary Button (Blue) */
.btn-primary {
    background-color: #0A62DB;
    color: #ffffff;
    transition: 0.2s;
}

.btn-primary:hover {
    /* background-color: #0f52bd; */
    transform: scale(1.05);
}

.btn-primary .arrow {
    margin-left: 8px;
    font-size: 1.1rem;
}

/* Secondary Button (Translucent dark) */
.btn-secondary {
    background-color: #19203288;
    color: #ffffff;
    border: 1px solid #ffffff1a;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background-color: rgba(35, 45, 70, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary .play-icon {
    font-size: 0.75rem;
    margin-right: 8px;
    color: #0A62DB;
    /* Accent color for the play arrow */
}

/* Section Container Wrapper */
.outcomes-section {
    width: 100%;
    max-width: 1280px;
    margin: 60px auto;
    color: #000000 !important;
    /*font-family: sans-serif;*/
}

/* Header Elements */
.section-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 34px;
    letter-spacing: -0.5px;
    color: #000000 !important;
    font-family: 'Space Grotesk', sans-serif !important;
     /*font-family: 'Inter', sans-serif !important;*/
}

.section-subtitle {
    /*font-size: 1.1rem;*/
    color: #000000 !important;
    /* max-width: 600px; */
    margin: 0 auto;
    line-height: 1.5;
    /*text-align: justify;*/
}

/* 3-Column Flexible Grid Layout */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 20px;
    align-items: stretch;
    /* Keeps all cards equal height natively */
}

/* Individual Card Styling */
.outcome-card {
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

.outcome-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
    background-color: rgba(30, 41, 59, 0.6);
}

/* Subtle accent for the middle "Run" strategy card */
.featured-card {
    background-color: rgba(30, 41, 59, 0.6);
    border-color: rgba(29, 114, 236, 0.3);
}

/* Badges for individual categories */
.card-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.badge-optimize {
    background-color: rgba(234, 179, 8, 0.15);
    color: #facc15;
}

.badge-run {
    background-color: rgba(29, 114, 236, 0.15);
    color: #3b82f6;
}

.badge-modernize {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

/* Content Within Cards */
.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.card-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* --- Responsive Breakpoints --- */

/* Mobile Devices */
@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
    }

    .cards-grid {
        grid-template-columns: 1fr !important;
        /* Stack layout entirely */
    }

    /* .featured-card {
        grid-column: span 1;
    } */

    .outcome-card {
        padding: 24px;
    }
}

/* A MODERNIZATION PATH  */
.path-section ol li::marker {
  font-weight: bold;
}
.path-section {
    width: 100%;
    max-width: 1280px;
    /*margin: 40px auto;*/
    margin: 0 auto;
    /* padding: 40px 0; */
    padding: 0 20px;
    color: #000000 !important;
    /*font-family: 'Inter', sans-serif;*/
}
.section_p_last{
    margin-bottom: 1.8rem;
}

.path-header {
    margin-bottom: 48px;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.phase-step {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.3) 100%);
    border-top: 3px solid #1264e3;
    padding: 32px 24px;
    border-radius: 0 0 8px 8px;
}

.phase-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1264e3;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.phase-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.phase-text {
    font-size: 0.95rem;
    /* color: #94a3b8; */
    line-height: 1.6;
}

@media (max-width: 768px) {
    .phases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-card {
        flex-direction: column;
        gap: 24px;
        padding: 28px;
    }

    .about-meta {
        flex: none;
    }
}

/* PRODUCTION-PROVEN */
.proof-cta-section {
    width: 100%;
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
    color: #000000 !important;
    /*font-family: 'Inter', sans-serif;*/
}

.proof-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: center;
}

.tagline {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a0aec0;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.font-tight {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 28px;
}

.quote-box {
    border-left: 3px solid #1264e3;
    padding-left: 20px;
    margin: 0;
}

.quote-box p {
    font-style: italic;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* CTA Card Box Layout */
.cta-card {
    background: radial-gradient(circle at top right, rgba(18, 100, 227, 0.15), rgba(15, 23, 42, 0.4));
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-btn {
    width: 100%;
}

/* ABOUT CLOUDFRAME  */
.about-section {
    width: 100%;
    max-width: 1280px;
    margin: 40px auto 40px auto;
    padding: 0 20px;
    color: #000000 !important;
    /*font-family: 'Inter', sans-serif;*/
}

.about-card {
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px;
    border-radius: 12px;
    display: flex;
    gap: 48px;
}

.about-meta {
    flex: 0 0 240px;
}

.about-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hq-label {
    font-size: 0.85rem;
    color: #64748b;
}

.white-text {
    color: #cbd5e1;
}

.about-body {
    flex: 1;
}

.about-body p {
    font-size: 0.95rem;
    color: #000000 !important;
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-body p:last-child {
    margin-bottom: 0;
}

/* --- Responsive Breakpoints --- */

/* Tablets and small laptops */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-container {
        padding: 45px;
        min-height: auto;
    }

    .section {
        padding: 20px;
    }
.section_p{
padding: 20px;
}
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        /* drops to 2 columns */
        gap: 20px;
    }

    /* Forces the center/featured card to span both columns for nicer layouts on 2-col */
    /* .featured-card {
        grid-column: span 2;
    } */

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile Devices */
@media (max-width: 576px) {

    .hero-container {
        padding: 32px 20px;
        /* Shifts gradient opacity on mobile for better text readability over the image */
        background: linear-gradient(180deg, rgba(10, 15, 30, 0.96) 60%, rgba(10, 15, 30, 0.8) 100%),
            url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&w=600&q=80') no-repeat center center;
        background-size: cover;
    }

    .hero-meta {
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 16px;
    }
}