/* ============================================================================
   ICQA CDFOS GHL Theme Landing Page - Custom Stylesheet
   Integrates with Hello Elementor theme and EDUK8U branding
   ============================================================================ */

/* Brand Colors */
:root {
    --eduk8u-navy: #052A65;
    --eduk8u-navy-secondary: #1F345F;
    --eduk8u-orange: #DD5426;
    --eduk8u-orange-secondary: #E5622A;
    --eduk8u-white: #FFFFFF;
    --eduk8u-off-white: #F8F9FA;
    --eduk8u-light-grey: #E9ECEF;
    --eduk8u-deep-navy: #02112B;
    --eduk8u-dark-grey: #235;
}

/* ============================================================================
   GLOBAL STYLES
   ============================================================================ */

.cdfos-landing-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
}

.cdfos-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .cdfos-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .cdfos-container {
        padding: 0 2rem;
    }
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.cdfos-hero {
    position: relative;
    padding: 120px 0 80px;
    color: white;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.cdfos-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 42, 101, 0.85) 0%, rgba(31, 52, 95, 0.75) 100%);
    z-index: 1;
}

.cdfos-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cdfos-badge {
    display: inline-block;
    background-color: rgba(221, 84, 38, 0.2);
    color: #DD5426;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.cdfos-hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

@media (min-width: 768px) {
    .cdfos-hero-title {
        font-size: 3.5rem;
    }
}

.cdfos-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cdfos-qual-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .cdfos-qual-badges {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.cdfos-badge-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
}

.cdfos-badge-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.5rem;
}

.cdfos-badge-title {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.cdfos-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .cdfos-ctas {
        flex-direction: row;
        gap: 1rem;
    }
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.cdfos-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .cdfos-btn {
        padding: 1rem 2rem;
        font-size: 1.0625rem;
    }
}

.cdfos-btn-primary {
    background-color: #DD5426;
    color: white;
}

.cdfos-btn-primary:hover {
    background-color: #E5622A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(221, 84, 38, 0.3);
}

.cdfos-btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cdfos-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cdfos-icon-whatsapp {
    font-size: 1.25rem;
}

/* ============================================================================
   TRUST STRIP
   ============================================================================ */

.cdfos-trust-strip {
    background-color: #F8F9FA;
    border-top: 1px solid #E9ECEF;
    border-bottom: 1px solid #E9ECEF;
    padding: 2rem 0;
}

.cdfos-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cdfos-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cdfos-trust-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.cdfos-trust-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.cdfos-checkmark {
    color: #DD5426;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.cdfos-trust-item p {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

.cdfos-section {
    padding: 5rem 0;
    background-color: white;
}

.cdfos-section:nth-child(even) {
    background-color: #F8F9FA;
}

.cdfos-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--eduk8u-navy);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .cdfos-section h2 {
        font-size: 2.5rem;
    }
}

.cdfos-section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.cdfos-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
}

/* ============================================================================
   CARDS
   ============================================================================ */

.cdfos-card {
    background-color: white;
    border: 1px solid #E9ECEF;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.cdfos-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cdfos-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--eduk8u-navy);
    margin-bottom: 1rem;
}

.cdfos-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.cdfos-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cdfos-card li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: #555;
}

.cdfos-card li:before {
    content: '•';
    color: #DD5426;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cdfos-card-combined {
    background: linear-gradient(135deg, var(--eduk8u-navy) 0%, var(--eduk8u-navy-secondary) 100%);
    color: white;
    border: none;
}

.cdfos-card-combined h3,
.cdfos-card-combined h4 {
    color: white;
}

.cdfos-card-combined p {
    color: rgba(255, 255, 255, 0.9);
}

.cdfos-combined-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .cdfos-combined-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cdfos-combined-item {
    color: white;
    font-size: 0.95rem;
}

.cdfos-card-full {
    grid-column: 1 / -1;
}

/* ============================================================================
   GRIDS
   ============================================================================ */

.cdfos-dual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cdfos-dual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cdfos-capabilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cdfos-capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cdfos-capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cdfos-capability {
    background-color: white;
    border: 1px solid #E9ECEF;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.cdfos-capability:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cdfos-capability h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--eduk8u-navy);
    margin-bottom: 0.75rem;
}

.cdfos-capability p {
    font-size: 0.9375rem;
    color: #666;
    margin: 0;
}

/* ============================================================================
   PROGRAMME DETAILS
   ============================================================================ */

.cdfos-programme-details {
    background-color: #F8F9FA;
    border: 1px solid #E9ECEF;
}

.cdfos-detail-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cdfos-detail-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cdfos-detail-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cdfos-detail-item {
    padding-bottom: 1rem;
}

.cdfos-detail-label {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cdfos-detail-value {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--eduk8u-navy);
}

/* ============================================================================
   CURRICULUM
   ============================================================================ */

.cdfos-curriculum-section {
    margin-bottom: 3rem;
}

.cdfos-curriculum-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--eduk8u-navy);
    margin-bottom: 1.5rem;
}

.cdfos-units-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cdfos-units-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cdfos-units-elective {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cdfos-units-elective {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cdfos-units-elective {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cdfos-unit {
    background-color: white;
    border: 1px solid #E9ECEF;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.cdfos-unit:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cdfos-unit-core {
    background: linear-gradient(135deg, rgba(5, 42, 101, 0.05) 0%, rgba(31, 52, 95, 0.05) 100%);
    border: 1px solid rgba(5, 42, 101, 0.1);
}

.cdfos-unit-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--eduk8u-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.cdfos-unit-code {
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--eduk8u-navy);
    margin-bottom: 0.75rem;
}

.cdfos-unit h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.cdfos-unit p {
    font-size: 0.9375rem;
    color: #666;
    margin: 0;
}

/* ============================================================================
   ELIGIBILITY
   ============================================================================ */

.cdfos-eligibility-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .cdfos-eligibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cdfos-eligibility-form {
    background-color: white;
    border: 1px solid #E9ECEF;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-top: 2rem;
}

.cdfos-eligibility-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--eduk8u-navy);
    margin-bottom: 1.5rem;
}

.cdfos-ghl-form {
    display: block;
    width: 100%;
    min-height: 1200px;
    border: 0;
    border-radius: 3px;
}

@media (max-width: 767px) {
    .cdfos-eligibility-form {
        padding: 1rem;
    }

    .cdfos-ghl-form {
        min-height: 1450px;
    }
}

/* ============================================================================
   CAREER PATHWAY
   ============================================================================ */

.cdfos-roles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .cdfos-roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cdfos-roles-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.cdfos-role-card {
    background: linear-gradient(135deg, rgba(5, 42, 101, 0.05) 0%, rgba(31, 52, 95, 0.05) 100%);
    border: 1px solid #E9ECEF;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.cdfos-role-card:hover {
    background: linear-gradient(135deg, rgba(221, 84, 38, 0.1) 0%, rgba(229, 98, 42, 0.1) 100%);
    border-color: #DD5426;
}

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */

.cdfos-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cdfos-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cdfos-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cdfos-step {
    background-color: white;
    border: 1px solid #E9ECEF;
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    padding-top: 3.5rem;
    transition: box-shadow 0.3s ease;
}

.cdfos-step:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cdfos-step-number {
    position: absolute;
    top: -1rem;
    left: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #DD5426;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.cdfos-step h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.cdfos-step p {
    font-size: 0.9375rem;
    color: #666;
    margin: 0;
}

/* ============================================================================
   FAQ
   ============================================================================ */

.cdfos-faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.cdfos-faq-item {
    background-color: white;
    border: 1px solid #E9ECEF;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.cdfos-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cdfos-faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--eduk8u-navy);
    margin-bottom: 0.75rem;
}

.cdfos-faq-item p {
    font-size: 0.9375rem;
    color: #666;
    margin: 0;
}

/* ============================================================================
   FINAL CTA
   ============================================================================ */

.cdfos-final-cta {
    background: linear-gradient(135deg, var(--eduk8u-navy) 0%, var(--eduk8u-navy-secondary) 100%);
    color: white;
    text-align: center;
}

.cdfos-final-cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cdfos-final-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.cdfos-final-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .cdfos-final-ctas {
        flex-direction: row;
        gap: 1rem;
    }
}

.cdfos-disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 640px) {
    .cdfos-hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .cdfos-hero-title {
        font-size: 1.75rem;
    }

    .cdfos-hero-subtitle {
        font-size: 1rem;
    }

    .cdfos-section {
        padding: 3rem 0;
    }

    .cdfos-section h2 {
        font-size: 1.5rem;
    }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

.cdfos-btn:focus,
.cdfos-faq-item:focus {
    outline: 2px solid #DD5426;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .cdfos-btn,
    .cdfos-card,
    .cdfos-capability,
    .cdfos-unit,
    .cdfos-step,
    .cdfos-faq-item,
    .cdfos-role-card {
        transition: none;
    }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
    .cdfos-hero-overlay {
        background: white;
    }

    .cdfos-hero-title,
    .cdfos-hero-subtitle {
        color: #333;
    }

    .cdfos-btn {
        border: 1px solid #333;
        color: #333;
        background: white;
    }
}
