/* ========== VARIABLES ========== */
:root {
    --primary: #3dd845;
    --secondary: #2bc9de;
    --dark: #0a2e38;
    --light: #f8f9fa;
    --gray: #6c757d;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

/* ========== HERO SECTION ========== */
.requirements-hero {
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark); /* Fallback */
}

.requirements-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 46, 56, 0.9), rgba(43, 201, 222, 0.3));
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ========== REQUIREMENTS SECTIONS ========== */
.requirements-container {
    overflow: hidden;
}

.requirement-section {
    padding: 5rem 0;
    position: relative;
}

.requirement-section.bg-light {
    background-color: var(--light);
}

.requirement-row {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.requirement-row.reverse {
    flex-direction: row-reverse;
}

.requirement-image {
    flex: 1;
    min-height: 500px;
    min-width: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition);
}

.requirement-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0));
    z-index: 1;
}

.requirement-row.reverse .requirement-image::before {
    background: linear-gradient(to left, rgba(0,0,0,0.2), rgba(0,0,0,0));
}

.requirement-content {
    flex: 1;
    min-width: 300px;
    padding: 3rem;
    display: flex;
    align-items: center;
}

.requirement-text {
    max-width: 600px;
    margin: 0 auto;
}

.requirement-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
}

.requirement-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.requirement-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.requirement-text ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.requirement-text li {
    margin-bottom: 0.8rem;
    position: relative;
    list-style-type: none;
    padding-left: 1.8rem;
}

.requirement-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
}

/* ========== CTA SECTION ========== */
.requirements-cta {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.cta-btn-primary {
    background: white;
    color: var(--dark);
    padding-right: 3rem;
}

.cta-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-btn-icon {
    position: absolute;
    right: 1.5rem;
    transition: var(--transition);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.cta-btn-primary:hover {
    background: var(--light);
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.cta-btn:hover .cta-btn-icon {
    transform: translateX(5px);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.requirement-section {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.requirement-section:nth-child(1) { animation-delay: 0.1s; }
.requirement-section:nth-child(2) { animation-delay: 0.3s; }
.requirement-section:nth-child(3) { animation-delay: 0.5s; }

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    .requirement-row,
    .requirement-row.reverse {
        flex-direction: column;
    }
    
    .requirement-image {
        min-height: 400px;
        order: -1;
    }
    
    .requirement-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .requirements-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .requirement-text h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}