/* ========================================
   Services Page Sleek Redesign (services.css)
   Requires home.css for base tokens & fonts
   ======================================== */

/* ===== SERVICES HERO ===== */
.services-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.98) 100%),
                url('../Designs/3. Institutional Design/Universities/University.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 120px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    min-height: 65vh;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* Wiremesh Grid Pattern Overlay */
.services-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

.services-hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 165, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: #ffa500;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    margin-top: 0;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #fff;
}

.services-hero-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 3;
}

.hero-scroll-indicator i {
    font-size: 2rem;
    color: #ffa500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== MAIN SERVICES GRID ===== */
.services-main-section {
    padding: 60px 0;
    background: var(--off-white);
}
.services-main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.service-main-card {
    background: var(--surface);
    padding: 34px 28px;
    border-radius: var(--rlg);
    border: 1px solid var(--border);
    transition: var(--t);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26,39,64,0.15);
}
.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.service-icon-large {
    width: 54px;
    height: 54px;
    background: var(--gold-light);
    color: var(--gold);
    border-radius: var(--rsm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: var(--t);
}
.service-badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}
.service-badge.popular {
    background: rgba(243,156,18,0.15);
    color: var(--gold-dark);
}
.service-badge.featured {
    background: rgba(52,152,219,0.15);
    color: #2980b9;
}
.service-main-card h3 {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 12px;
    font-weight: 700;
}
.service-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 13.5px;
}
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}
.service-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border);
}
.service-features li:last-child {
    border-bottom: none;
}
.service-features i {
    color: var(--gold);
    font-size: 14px;
}
.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--off-white);
    color: var(--text-main);
    text-decoration: none;
    border-radius: var(--rxl);
    font-weight: 700;
    font-size: 13px;
    transition: var(--t);
    border: 1px solid var(--border);
    align-self: flex-start;
}
.service-cta:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(243,156,18,0.3);
}
.service-cta i {
    transition: transform 0.28s;
    font-size: 11px;
}
.service-cta:hover i {
    transform: translateX(4px);
}

/* ===== PROCESS SECTION ===== */
.process-section {
    padding: 60px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}
.process-timeline {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.process-step {
    background: var(--off-white);
    padding: 30px 24px;
    border-radius: var(--rmd);
    border: 1px solid var(--border);
    transition: var(--t);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shsm);
    border-color: rgba(243,156,18,0.25);
}
.step-number {
    width: 44px;
    height: 44px;
    background: var(--gold-light);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
    transition: var(--t);
}
.process-step:hover .step-number {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 4px 14px rgba(243,156,18,0.3);
}
.step-content {
    flex: 1;
}
.step-content h3 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 700;
}
.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 13px;
    margin: 0;
}
.step-icon {
    position: absolute;
    right: 20px;
    top: 24px;
    color: var(--gold-light);
    font-size: 40px;
    opacity: 0.4;
    transition: var(--t);
}
.process-step:hover .step-icon {
    color: var(--gold);
    opacity: 0.15;
    transform: scale(1.1) rotate(-5deg);
}

/* ===== WHY CHOOSE SERVICES ===== */
.why-choose-services {
    padding: 60px 0;
    background: linear-gradient(rgba(26,39,64,0.92), rgba(26,39,64,0.96)),
                url('../Projects ongoing and complete/projects 2.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}
.why-choose-services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(243,156,18,0.1) 0%, transparent 50%);
}
.why-choose-services .section-header h2,
.why-choose-services .section-header p {
    color: #fff;
}
.why-choose-services .section-header p {
    color: rgba(255,255,255,0.6);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
.benefit-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    padding: 34px 24px;
    border-radius: var(--rmd);
    border: 1px solid rgba(255,255,255,0.06);
    text-align: left;
    transition: var(--t);
    display: flex;
    flex-direction: column;
}
.benefit-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(243,156,18,0.3);
    transform: translateY(-6px);
}
.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(243,156,18,0.15);
    color: var(--gold);
    border-radius: var(--rsm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 20px;
    transition: var(--t);
}
.benefit-card:hover .benefit-icon {
    background: var(--gold);
    color: #fff;
    box-shadow: 0 4px 14px rgba(243,156,18,0.4);
}
.benefit-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}
.benefit-card p {
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    font-size: 13px;
}

/* ===== SERVICES CTA ===== */
.services-cta {
    padding: 60px 0;
    background: linear-gradient(130deg, #1a2740 0%, #243350 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(243,156,18,0.10) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(243,156,18,0.08) 0%, transparent 45%);
    animation: none;
    z-index: 0;
}

.services-cta-content {
    position: relative;
    z-index: 1;
}

.services-cta .cta-icon {
    font-size: 44px;
    color: #f39c12;
    margin-bottom: 20px;
}

.services-cta h2 {
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 16px;
    font-weight: 800;
    color: #fff;
}

.services-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 600px;
    margin: 0 auto 34px;
    line-height: 1.7;
}
.cta-buttons-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 34px;
}
.cta-buttons-row .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--rxl);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--t);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    box-shadow: 0 6px 20px rgba(243,156,18,0.3);
    border: none;
}
.cta-buttons-row .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(243,156,18,0.45);
}
.cta-buttons-row .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--rxl);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--t);
    background: var(--off-white);
    color: var(--text-main);
    border: 1px solid var(--border);
}
.cta-buttons-row .btn-secondary:hover {
    background: var(--border);
    transform: translateY(-2px);
}
.cta-info-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    max-width: 600px;
    margin: 0 auto;
}
.cta-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.cta-info-item i {
    color: var(--gold);
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-main-grid,
    .benefits-grid,
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .services-hero {
        padding: 100px 20px 60px;
    }

    .services-hero-content h1 {
        font-size: 1.8rem;
    }

    .services-hero-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .services-main-grid,
    .benefits-grid,
    .process-timeline {
        grid-template-columns: 1fr;
    }
    .cta-buttons-row {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons-row .btn-primary,
    .cta-buttons-row .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
