/* ==========================================
   Services Pages Custom Stylesheet
   Axion Computers Redesign
   ========================================== */

/* Page Level Settings */
body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--body-color);
}

/* ==========================================
   Hero Section (Dark Banner Layout)
   ========================================== */
.hero {
    min-height: 80vh;
    padding: 180px 0 100px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(4, 13, 28, 0.85) 0%, rgba(8, 30, 63, 0.9) 100%);
    z-index: 1;
}

.hero-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--bg-white);
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.hero-image img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-premium);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    box-shadow: 0 10px 20px rgba(249, 72, 38, 0.25);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(249, 72, 38, 0.4);
    color: var(--bg-white);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--bg-white);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

/* ==========================================
   Common Sections
   ========================================== */
.section {
    padding: 100px 0;
}

.section:nth-of-type(even) {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.section-title p {
    font-size: 16px;
    color: var(--body-color);
    line-height: 1.7;
}

/* ==========================================
   Services Grid & Cards
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 45px 35px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-card-hover);
}

.icon-box {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    background: rgba(249, 72, 38, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .icon-box {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--body-color);
    line-height: 1.7;
}

/* ==========================================
   About Section
   ========================================== */
.about-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-image,
.about-content {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.about-content p {
    font-size: 16px;
    color: var(--body-color);
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================
   Industries Grid
   ========================================== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-box {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.industry-box:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-card-hover);
}

.industry-box h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.industry-box p {
    font-size: 15px;
    color: var(--body-color);
    line-height: 1.7;
}

/* ==========================================
   CTA Banner (Dark Section)
   ========================================== */
.cta {
    position: relative;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    text-align: center;
    border-radius: 24px;
    margin: 0 5%;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 30, 63, 0.9) 0%, rgba(4, 13, 28, 0.95) 100%);
    z-index: 1;
}

.cta h2,
.cta p,
.cta .btn {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-family: var(--font-heading);
    color: var(--bg-white);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta p {
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
    line-height: 1.8;
}

/* ==========================================
   FAQ Section (Light Cards layout)
   ========================================== */
.faq-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.faq-box:hover {
    border-color: transparent;
    box-shadow: var(--shadow-card-hover);
}

.faq-box h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.faq-box p {
    font-size: 15.5px;
    color: var(--body-color);
    line-height: 1.7;
}

/* ==========================================
   Responsive Adjustments
   ========================================== */
@media (max-width: 991px) {
    .hero {
        padding: 160px 0 80px;
    }
    .hero-content h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hero-wrap {
        gap: 40px;
    }
    .section-title h2,
    .about-content h2,
    .cta h2 {
        font-size: 30px;
    }
    .section {
        padding: 70px 0;
    }
    .cta {
        margin: 0;
        border-radius: 0;
        padding: 80px 20px;
    }
}
