/* ═══════════════════════════════════════
   HOME.CSS — Homepage Specific Styles
   ═══════════════════════════════════════ */

/* ─── Shared Section Styles ─── */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.section-tag-light {
    color: var(--accent-light);
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.text-accent {
    color: var(--accent);
}

.section-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-500);
}

/* ─── Hero Section ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-image: url('/assets/img/hero-image.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 36, 64, 0.92) 0%,
            rgba(27, 58, 92, 0.85) 50%,
            rgba(15, 36, 64, 0.75) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

/* Hero Content (Left) */
.hero-content {
    color: var(--white);
}

.hero-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 6px;
}

.hero-location {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.hero-location i {
    margin-right: 5px;
    color: var(--accent);
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-rating .stars {
    display: flex;
    gap: 2px;
    color: #FFD700;
    font-size: 13px;
}

.rating-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 18px;
}

.text-highlight {
    color: var(--accent);
    font-style: italic;
    font-family: var(--font-heading);
}

.hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    max-width: 540px;
}

/* Hero Feature List */
.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin-bottom: 32px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features i {
    color: var(--success);
    font-size: 16px;
    flex-shrink: 0;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 16px 48px;
    font-size: 16px;
    min-width: 220px;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

/* Hero Form (Right) */
.hero-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
    margin-bottom: 4px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 24px;
}

.hero-form-card .btn-block {
    margin-top: 6px;
    padding: 14px;
    font-size: 16px;
    border-radius: var(--radius-sm);
}

/* ─── Stats Bar ─── */
.stats-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 0 20px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ═══════════════════════════════════════
   ABOUT HOME SECTION
   ═══════════════════════════════════════ */
.about-home-section {
    background: var(--white);
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-home-content .section-title {
    text-align: left;
}

.about-home-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.about-home-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 28px 0 32px;
}

.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.about-highlight-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(27, 58, 92, 0.08) 0%, rgba(27, 58, 92, 0.04) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 20px;
    transition: var(--transition);
}

.about-highlight-item:hover .about-highlight-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    transform: scale(1.05);
}

.about-highlight-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.about-highlight-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* About Image */
.about-home-image {
    display: flex;
    justify-content: center;
}

.about-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.about-img-accent {
    position: absolute;
    top: 20px;
    right: -16px;
    bottom: -16px;
    left: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: var(--radius-lg);
    z-index: 1;
    opacity: 0.2;
}

/* ═══════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════ */
.services-section {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    transform: scale(1.05);
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 18px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-link:hover {
    color: var(--accent);
    gap: 10px;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* ═══════════════════════════════════════
   WHY CHOOSE US SECTION
   ═══════════════════════════════════════ */
.why-section {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.why-content .section-title {
    text-align: left;
}

.why-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 30px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-features li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.why-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(27, 58, 92, 0.08) 0%, rgba(27, 58, 92, 0.04) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
}

.why-features li:hover .why-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
}

.why-features h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.why-features p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}



/* Why Visual (Right) */
.why-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.why-card-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.why-card-highlight:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.highlight-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.why-card-highlight p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.why-quote {
    font-size: 15px;
    font-style: italic;
    line-height: 1.7;
    color: var(--gray-500);
    padding: 20px 24px;
    border-left: 3px solid var(--accent);
    background: var(--gray-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ═══════════════════════════════════════
   SUPPORTING BUSINESSES SECTION
   ═══════════════════════════════════════ */
.support-section {
    background: var(--gray-50);
}

/* ═══════════════════════════════════════
   SUPPORTING BUSINESSES SECTION
   ═══════════════════════════════════════ */
.support-section {
    background: var(--gray-50);
}

.support-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 20px;
    gap: 30px;
}

/* Connecting Line */
.support-timeline::before {
    content: '';
    position: absolute;
    top: 65px;
    /* aligns with middle of icons */
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(27, 58, 92, 0.1);
    z-index: 1;
}

.support-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.support-step-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(27, 58, 92, 0.08);
    position: relative;
    transition: var(--transition);
    border: 3px solid var(--gray-50);
}

.support-step:hover .support-step-icon {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(232, 162, 58, 0.2);
    border-color: var(--accent);
    color: var(--accent);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--white);
}

.support-step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.support-step-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-500);
}

/* ═══════════════════════════════════════
   INDUSTRIES SECTION
   ═══════════════════════════════════════ */
.industries-section {
    background: var(--white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.industry-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    cursor: default;
}

.industry-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.industry-card i {
    font-size: 32px;
    color: var(--accent);
    transition: var(--transition);
}

.industry-card:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

.industry-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}

/* ═══════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════ */
.faq-section {
    background: var(--gray-50);
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    column-count: 2;
    column-gap: 24px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border-left: 4px solid transparent;
    break-inside: avoid;
    margin-bottom: 24px;
    display: inline-block;
    width: 100%;
}

.faq-item:hover,
.faq-item.active {
    border-left-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--white);
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    padding-right: 20px;
}

.faq-question i {
    font-size: 14px;
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question h4 {
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 30px 24px;
    display: none;
    border-top: 1px solid var(--gray-100);
    margin-top: 16px;
    padding-top: 16px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.cta-section {
    position: relative;
    background-image: url('/assets/img/hero-image.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(15, 36, 64, 0.93) 0%,
            rgba(27, 58, 92, 0.88) 100%);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 650px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 992px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 34px;
    }

    .hero-form-wrapper {
        justify-content: center;
    }

    .hero-form-card {
        max-width: 500px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-visual {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .why-card-highlight {
        flex: 1;
        min-width: 200px;
    }

    .why-quote {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stat-item::after {
        display: none;
    }

    .about-home-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-home-content .section-title {
        text-align: center;
    }

    .about-home-content .section-tag {
        display: block;
        text-align: center;
    }

    .about-home-content .btn {
        display: flex;
        width: fit-content;
        margin: 0 auto;
    }

    /* Support Timeline - Vertical on Tablet */
    .support-timeline {
        flex-direction: column;
        gap: 40px;
        padding-left: 30px;
    }

    .faq-container {
        column-count: 1;
    }

    .support-timeline::before {
        top: 0;
        bottom: 0;
        left: 77px;
        width: 2px;
        height: 100%;
    }

    .support-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 24px;
        padding: 0;
    }

    .support-step-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .support-timeline {
        padding-left: 15px;
    }

    .support-timeline::before {
        left: 60px;
    }

    .support-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }



    .cta-title {
        font-size: 28px;
    }

    .why-visual {
        flex-direction: column;
    }

    .why-card-highlight {
        min-width: unset;
    }

    .about-img-accent {
        display: none;
    }

    .about-img-wrapper {
        max-width: 100%;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }
}
