/* =========================================
   DOCUMENT CLEARANCE PAGE STYLES
   ========================================= */

/* --- Hero Section --- */
.hero { position: relative; height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-light); background: url('../images/placeholders/hero-poster.jpg') no-repeat center center/cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 25, 47, 0.75); }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-size: 3.5rem; font-weight: 700; color: var(--text-light); margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.25rem; max-width: 700px; margin: 0 auto 2.5rem; color: rgba(255, 255, 255, 0.9); }

/* --- General Section Styling --- */
.page-section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* --- Why Choose Us --- */
.why-choose-us { background-color: var(--bg-light); padding-top: 0; margin-top: -80px; position: relative; z-index: 10; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; background-color: var(--bg-light); padding: 3rem; border-radius: var(--border-radius); box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
.feature-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1.5rem; }
.feature-item h4 { margin-bottom: 0.5rem; }

/* --- Services Grid --- */
.services-grid-section { background-color: var(--bg-soft-gray); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.service-card { background-color: var(--bg-light); border-radius: var(--border-radius); border: 1px solid #EAECEF; transition: transform var(--transition-speed), box-shadow var(--transition-speed); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--box-shadow); }
.card-image { width: 100%; height: 200px; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-content { padding: 1.5rem; text-align: center; display: flex; flex-direction: column; flex-grow: 1; }
.service-card-title { margin-bottom: 1rem; font-size: 1.3rem; }
.service-card-text { margin-bottom: 2rem; color: var(--text-secondary); flex-grow: 1; }
.card-content .btn { width: 100%; }
.service-card--highlighted { border: 2px solid var(--primary-color); box-shadow: 0 10px 30px rgba(0, 82, 204, 0.15); }
.highlight-badge { position: absolute; top: 15px; right: 15px; background-color: var(--primary-color); color: var(--text-light); padding: 5px 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; z-index: 1; }

/* --- Process & FAQ Section --- */
.process-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: flex-start; }
.step-item { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; }
.step-number { flex-shrink: 0; width: 50px; height: 50px; line-height: 50px; border-radius: 50%; background-color: var(--primary-color); color: var(--text-light); text-align: center; font-size: 1.5rem; font-weight: 700; }
.step-content h4 { margin-bottom: 0.25rem; }
.faq-item { border-bottom: 1px solid #EAECEF; }
.faq-question { width: 100%; background: none; border: none; text-align: left; padding: 1.5rem 0; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--secondary-color); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform var(--transition-speed); }
.faq-question.active::after { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease; }
.faq-answer p { padding: 0 0 1.5rem; margin: 0; }

/* --- Final CTA --- */
.cta-section { background-color: var(--secondary-color); color: var(--text-light); padding: 5rem 0; }
.cta-section h2 { color: var(--text-light); }
.cta-section p { color: rgba(255, 255, 255, 0.9); }
.cta-section .btn { font-size: 1.1rem; }

/* =========================================
   RESPONSIVE ADJUSTMENTS (UPDATED)
   ========================================= */
@media (max-width: 992px) {
    /* Tablet styles */
    .features-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Mobile styles */
    .page-section {
        padding: 3rem 0; /* Reduced padding for mobile */
    }
    .hero {
        height: 60vh; /* Shorter hero on mobile */
        min-height: 450px;
    }
    .hero-title {
        font-size: 2.2rem; /* Adjusted title size */
    }
    .hero-subtitle {
        font-size: 1.1rem; /* Adjusted subtitle size */
    }
    .why-choose-us {
        margin-top: -60px; /* Adjusted overlap */
    }
    .features-grid {
        padding: 2rem; /* Reduced padding */
    }
    .section-title {
        font-size: 1.8rem; /* Smaller section titles */
    }
    .step-content h4, .faq-question {
        font-size: 1rem; /* Smaller sub-headings */
    }
}