﻿*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
}

.nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: 0.25rem;
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    transition: color 0.3s;
}

    .nav__logo img.logo-img {
        height: 15px; /* adjust as needed */
        width: auto; /* keeps aspect ratio */
        display: block; /* removes extra gaps */
    }

    .nav__logo:hover {
        color: var(--first-color);
    }

.nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
}

.nav__toggle-menu, .nav__toggle-close {
/*    margin-left: 180px;*/
    font-size: 1.25rem;
    color: var(--title-color);
    position: absolute;
    display: grid;
    place-items: center;
    inset: 0;
    cursor: pointer;
    transition: opacity 0.1s, transform 0.4s;
}

.nav__toggle-close {
    opacity: 0;
}

@media screen and (max-width: 1118px) {
    .nav{
        background:white;
        position:fixed;
    }
    .nav__data {
        width: 97%;
    }

    .nav__toggle {
        margin-left: auto;
    }

    .nav__menu {
        background-color: var(--body-color);
        position: absolute;
        left: 0;
        top: 2.5rem;
        width: 100%;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        padding-block: 1.5rem 4rem;
        pointer-events: none;
        opacity: 0;
        transition: top 0.4s, opacity 0.3s;
    }

        .nav__menu::-webkit-scrollbar {
            width: 0.5rem;
        }

        .nav__menu::-webkit-scrollbar-thumb {
            background-color: hsl(220, 12%, 70%);
        }
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

    .nav__link:hover {
        background-color: var(--first-color-lighten);
    }

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav__toggle-menu {
    opacity: 0;
    transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
    opacity: 1;
    transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__button {
    cursor: pointer;
}

.dropdown__arrow {
    font-size: 1.5rem;
    font-weight: initial;
    transition: transform 0.4s;
}

.dropdown__content, .dropdown__group, .dropdown__list {
    display: grid;
}

.dropdown__container {
    background-color: var(--first-color-lighten);
    height: 0;
    overflow: hidden;
    transition: height 0.4s;
}

.dropdown__content {
    row-gap: 1.75rem;
}

.dropdown__group {
    padding-left: 2.5rem;
    row-gap: 0.5rem;
}

    .dropdown__group:first-child {
        margin-top: 1.25rem;
    }

    .dropdown__group:last-child {
        margin-bottom: 1.25rem;
    }

.dropdown__icon i {
    font-size: 1.25rem;
    color: var(--first-color);
}

.dropdown__title {
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
}

.dropdown__list {
    row-gap: 0.25rem;
}

.dropdown__link {
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    color: var(--text-color);
    transition: color 0.3s;
}

    .dropdown__link:hover {
        color: var(--title-color);
    }

/* Rotate dropdown icon */
.show-dropdown .dropdown__arrow {
    transform: rotate(180deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
    .dropdown__group {
        padding-left: 1.5rem;
    }
}
/* For large devices */
@media screen and (min-width: 1118px) {
    /* Nav */
    .nav {
        height: calc(var(--header-height) + 2rem);
        display: flex;
        justify-content: space-between;
    }

    .nav__toggle {
        display: none;
    }

    .nav__list {
        display: flex;
        column-gap: 3rem;
        height: 100%;
    }

    .nav li {
        display: flex;
    }

    .nav__link {
        padding: 0;
    }

        .nav__link:hover {
            background-color: initial;
        }
    /* Dropdown */
    .dropdown__button {
        column-gap: 0.25rem;
        pointer-events: none;
    }

    .dropdown__container {
        height: max-content;
        position: absolute;
        left: 0;
        right: 0;
        top: 6.5rem;
        background-color: var(--body-color);
        box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
        pointer-events: none;
        opacity: 0;
        transition: top 0.4s, opacity 0.3s;
    }

    .dropdown__content {
        grid-template-columns: repeat(4, max-content);
        column-gap: 6rem;
        max-width: 1120px;
        margin-inline: auto;
    }

    .dropdown__group {
        padding: 4rem 0;
        align-content: baseline;
        row-gap: 1.25rem;
    }

        .dropdown__group:first-child, .dropdown__group:last-child {
            margin: 0;
        }

    .dropdown__list {
        row-gap: 0.75rem;
    }

    .dropdown__icon {
        width: 60px;
        height: 60px;
        background-color: var(--first-color-lighten);
        border-radius: 50%;
        display: grid;
        place-items: center;
        margin-bottom: 1rem;
    }

        .dropdown__icon i {
            font-size: 2rem;
        }

    .dropdown__title {
        font-size: var(--normal-font-size);
    }

    .dropdown__link {
        font-size: var(--small-font-size);
    }

        .dropdown__link:hover {
            color: var(--first-color);
        }

    .dropdown__item {
        cursor: pointer;
    }

        .dropdown__item:hover .dropdown__arrow {
            transform: rotate(180deg);
        }

        .dropdown__item:hover > .dropdown__container {
            top: 5.5rem;
            opacity: 1;
            pointer-events: initial;
            cursor: initial;
        }
}

@media screen and (min-width: 1152px) {
    .container {
        margin-inline: auto;
    }
}


.dropdown__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dropdown__icon {
    margin-bottom: 15px;
}

.dropdown__title {
    margin-bottom: 12px;
}

.dropdown__list {
    padding-left: 0;
    margin-left: 0;
}

    .dropdown__list li {
        list-style: none;
        margin-left: 0;
    }


/* ================= NAVBAR HIDE ON SCROLL ================= */
.header {
    position: sticky; /* allows scroll behavior without fixed */
    top: 0;
    z-index: 1000;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

    /* hidden state */
    .header.nav-hidden {
        transform: translateY(-100%);
        opacity: 0;
    }


/* ================= SECTION TABS ================= */
.section-tabs-wrapper {
    background: #ffffff;
}

.section-tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 24px;
    display: flex;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
    height: 70px;
}

/* Tab button */
.section-tab {
    background: transparent;
    border: none;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    padding: 6px 2px;
    cursor: pointer;
    position: relative;
    transition: color 0.25s ease;
    height: 70px;
}

    /* Hover */
    .section-tab:hover {
        color: #2563eb;
    }

    /* Active */
    .section-tab.active {
        color: #2563eb;
        font-weight: 600;
        height: 70px;
    }

        .section-tab.active::after {
            transform: scaleX(1);
        }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .section-tabs {
        gap: 18px;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

        .section-tabs::-webkit-scrollbar {
            display: none;
        }

    .section-tab {
        white-space: nowrap;
    }
}

/* ================= STICKY SECTION TABS ================= */
#what-is {
    position: relative;
    padding-bottom: 0 ; /* matches tab height */
}

.section-tabs-wrapper {
    height:auto ;
    position: relative;
    z-index: 998;
    transition: box-shadow 0.3s ease;
    min-height:70px;
}
    

    /* When it becomes sticky */
    .section-tabs-wrapper.is-sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }
        .section-tabs-wrapper.is-sticky + .overview-section {
            margin-top: 70px;
        }

/* Spacer to avoid layout jump */
.section-tabs-spacer {
    height: 0;
}

    .section-tabs-spacer.active {
        /*height: 44px;*/ /* approx height of tabs */
    }

/* Main navbar hide animation */
.header {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

    .header.nav-hidden {
        transform: translateY(-100%);
        opacity: 0;
    }


/* ================= HERO BANNER ================= */

.central-hero-banner {
    height: 700px;
    background: linear-gradient(135deg, #2c4f6e, #6ea6c9);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* WRAPPER */
.central-hero-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
}

/* LEFT CONTENT */
.central-content h1 {
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

.central-content p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    max-width: 520px;
    margin-bottom: 32px;
}

/* BUTTONS */
.central-buttons {
    display: flex;
    gap: 18px;
}

.btn-primary,
.cta-button {
    padding: 14px 28px;
    border-radius: 28px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
}

.btn-primary {
    background: #14b8a6;
    color: #ffffff;
}

.cta-button {
    background: #0ea5e9;
    color: #ffffff;
}

/* RIGHT IMAGE */
.central-image {
    position: relative;
    display: flex;
    justify-content: center;
}

    .central-image img {
        max-width: 100%;
        height: 350px;
        border-radius: 4px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.35);
        transform: none;
    }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .central-hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .central-content p {
        margin-left: auto;
        margin-right: 35px;
    }

    .central-buttons {
        justify-content: center;
    }

    .central-image {
        margin-top: 40px;
    }
}

@media (max-width: 640px) {
    .central-hero-banner {
        height: auto;
        padding: 80px 0;
    }

    .central-content h1 {
        margin-right:25px;
        font-size: 34px;
    }

    /* BUTTONS → STACKED */
    .central-buttons {
        flex-direction: column;
        gap: 14px;
        align-items: stretch;
    }

        .central-buttons a {
            width: 100%;
            text-align: center;
            padding: 14px 0;
            font-size: 15px;
            border-radius: 26px;
        }

    /* IMAGE FIX */
    .central-image {
        margin-top: 32px;
    }

        .central-image img {
            width: 100%;
            max-width: 100%;
            height: auto; /* 🔥 critical */
            border-radius: 6px;
            transform: none;
            box-shadow: 0 18px 45px rgba(0,0,0,0.25);
        }
}


/* ================= OVERVIEW BASE ================= */
.overview-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #eef9fb 0%, #f7feff 100%);
    font-family: "Poppins", sans-serif;
}

.overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.overview-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.overview-header p {
    font-size: 18px;
    color: #444;
    max-width: 900px;
}

/* ================= TOP ROW ================= */
.overview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
}

/* ================= BLUE BOX PILLS (TRANSFORM, ETC.) ================= */
.overview-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 100%;
}

/* Pill – modern default */
.pill {
    padding: 10px 18px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    white-space: nowrap;
}

    /* Hover */
    .pill:hover {
        background: #e8f0ff;
        color: #1f6fe5;
    }

    /* Active */
    .pill.active {
        background: linear-gradient(135deg, #1f6fe5, #3b82f6);
        color: #ffffff;
        border-color: transparent;
        box-shadow: 0 6px 18px rgba(31,111,229,0.35);
    }

/* Consultant button */
.consult-btn {
    background: #1677ff;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

/* ================= CONTENT LAYOUT ================= */
.overview-body {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* LEFT */
.overview-left {
    width: 40%;
}

.overview-list {
    display: none;
}

    .overview-list.active {
        display: block;
    }

/* List item */
.list-item {
    padding: 18px 20px;
    cursor: pointer;
    border-left: 4px solid transparent;
}

    .list-item h4 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

    .list-item p {
        margin-top: 8px;
        font-size: 14px;
        color: #555;
    }

    .list-item.active {
        border-left-color: #1f6fe5;
    }

    /* Hide description for inactive */
    .list-item:not(.active) p {
        display: none;
    }

/* RIGHT */
.overview-right {
    width: 60%;
    display: flex;
    justify-content: center;
}

.overview-image {
    display: none;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

    .overview-image.active {
        display: block;
    }


@media (max-width: 768px) {

    /* Disable hide-on-scroll effect on mobile */
    .header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        transform: none !important;
        opacity: 1 !important;
        z-index: 1200;
    }

        /* Even if JS adds nav-hidden, ignore it */
        .header.nav-hidden {
            transform: none !important;
            opacity: 1 !important;
        }

    /* Push page content below fixed navbar */
    body {
        padding-top: calc(var(--header-height) + 10px);
    }

    /* Container for injected image */
    .mobile-inline-image {
        margin-top: 16px;
        display: none;
    }

    /* Show image only for active list item */
    .list-item.active .mobile-inline-image {
        display: block;
    }

    .mobile-inline-image img {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .overview-image.active {
        display: none;
    }
}


@media (max-width: 768px) {

    /* 🔴 HIDE RED BOX BUTTONS (Overview / Features / Modules) */
    .overview-tabs,
    .section-tabs,
    .sub-nav,
    .overview-nav {
        display: none !important;
    }

    /* BLUE BOX PILLS → CLEAN GRID */
    .overview-pills {
        display: grid;
        grid-template-columns:1fr;
        gap: 12px;
        margin-top: 16px;
    }

    .pill {
        width: 100%;
        padding: 12px 10px;
        font-size: 13px;
        border-radius: 16px;
        justify-content: center;
    }

    /* Layout stack */
    .overview-body {
        flex-direction: column;
        gap: 32px;
    }

    .overview-left,
    .overview-right {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .overview-pills {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .pill {
        width: 100%;
        padding: 14px 14px;
        font-size: 13px;
        border-radius: 16px;
    }
}

@media (max-width: 600px) {
    .overview-pills {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 18px;
    }

    .pill {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}





/*  ===================  sap features =====================*/

.top-action {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.cta-btn {
    background: #1f6fff;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.modules-layout {
    display: flex;
    gap: 50px;
}

/* LEFT */
.modules-list {
    width: 30%;
    list-style: none;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.module-item {
    margin-left:-32px;
    padding: 14px 16px;
    border-bottom: 1px dashed #e5e7eb;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}

    .module-item:last-child {
        border-bottom: none;
    }

    .module-item::after {
        position: absolute;
        right: 16px;
    }

    .module-item.active {
        background: #f5f8ff;
    }
        .module-item.active::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 4px;
            height: 100%;
            background: #1f6fff;
        }


/* RIGHT */
.modules-content {
    width: 65%;
}

.content-panel {
    display: none;
}

    .content-panel.visible {
        display: block;
    }

    .content-panel ul {
        list-style: none;
        margin-top: 12px;
    }

        .content-panel ul li {
            margin-bottom: 8px;
        }

.content-panel ul {
    list-style: none;
    padding: 0;
}

    .content-panel ul li {
        position: relative;
        padding-left: 26px;
        margin-bottom: 10px;
        color: #334155;
        line-height: 1.5;
    }


.content-panel ul li::before {
            content: "✔";
            position: absolute;
            left: 0;
            top: 0;
            color: #22c55e;
            font-weight: 700;
        }
@media (max-width: 768px) {

    .modules-layout {
        flex-direction: column;
    }

    .modules-list,
    .modules-content {
        width: 100%;
    }

    .modules-content {
        display: none;
    }

    .mobile-content {
        display: none;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px dashed #e5e7eb;
        font-weight: 400;
    }

    .module-item.active .mobile-content {
        display: block;
    }
    .mobile-content h3 {
        display: none;
    }
}


/* ================= HANA HIGHLIGHTS (white background, benefits above boxes) ================= */
#hana-highlights.hana-highlights {
    /*background: #ffffff;*/ /* white background as requested */
/*    color: #0f1724;*/
    font-family: "Poppins", sans-serif;
}

/* ================= BUSINESS BENEFITS ================= */

.business-benefits-section {
    padding: 80px 0;
    font-family: "Poppins", sans-serif;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.benefits-title {
    font-size: 36px;
    font-weight: 700;
    color: #0f2b4c;
    margin-bottom: 10px;
}

.benefits-subtitle {
    font-size: 18px;
    color: #4b5c6b;
    max-width: 760px;
    margin: 0 auto 50px;
}

/* ✅ CLEAN 3 × 3 GRID */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

/* Card */
.benefit-card {
    background: #ffffff;
    padding: 34px 28px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

/*    .benefit-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 42px rgba(0,0,0,0.12);
    }*/

    /* Text */
    .benefit-card h3 {
        font-size: 20px;
        font-weight: 700;
        color: #0f2b4c;
        margin-bottom: 10px;
    }

    .benefit-card p {
        font-size: 15px;
        color: #4b5c6b;
        line-height: 1.55;
    }

/* ✅ RESPONSIVE */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefits-title {
        font-size: 28px;
    }

    .benefits-subtitle {
        font-size: 16px;
    }
}



/* ================= Why Choose SAP Business One on HANA ================= */
.why-sap-section {
    background: linear-gradient(180deg, #eef9fb 0%, #f7feff 100%); /* keep section background neutral so it integrates with page */
    color: #0f1724;
    font-family: "Poppins", sans-serif;
}

/* heading */
.why-heading h2 {
    font-size: 30px;
    font-weight: 700;
    color: #0b2b45;
    margin: 0 0 8px 0;
}

.why-heading .underline {
    width: 135px;
    height: 3px;
    background: linear-gradient(90deg,#2b6ef6,#00b0ff);
    border-radius: 3px;
    margin-top: 8px;
}

/* list layout */
.why-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* each item */
.why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

/* number badge */
.why-index {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(43,110,246,0.12);
    color: #2b6ef6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 18px rgba(11,66,105,0.04);
    flex-shrink: 0;
}

/* text column */
.why-body {
    flex: 1;
    min-width: 0;
}

/* title and description */
.why-title {
    font-size: 16px;
    font-weight: 700;
    color: #072a46;
    margin-bottom: 6px;
}

.why-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

/* image styling */
.why-illustration {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(11,66,105,0.06);
}

/* responsive adjustments */
@media (max-width: 991px) {
    .why-heading h2 {
        font-size: 24px;
    }

    .why-index {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .why-item {
        gap: 12px;
    }

    .why-text {
        font-size: 13.5px;
    }

    .why-illustration {
        margin-top: 20px;
    }
}

@media (max-width: 575px) {
    .why-heading h2 {
        font-size: 20px;
    }

    .why-index {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .why-list {
        gap: 12px;
    }

    .why-text {
        font-size: 13px;
    }
}


/* ==================== FAQ STYLE 2 (ISOLATED) ==================== */

.faq2-wrapper {
    padding: 80px 20px;
    font-family: "Poppins", sans-serif;
    color: #222;
}

.faq2-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq2-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

.faq2-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq2-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 12px;
    transition: background 0.2s ease;
}

    .faq2-item:hover {
        background: #fafafa;
    }

.faq2-title {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 16px 0;
}

    .faq2-title::before {
        content: "›";
        font-size: 26px;
        font-weight: 600;
        color: #806666;
        transition: transform 0.3s ease;
    }

    .faq2-title h3 {
        font-size: 18px;
        font-weight: 500;
        margin: 0;
    }

/* Expand arrow */
.faq2-item.faq2-expanded .faq2-title::before {
    transform: rotate(90deg);
}

.faq2-content {
    max-height: 0;
    overflow: hidden;
    padding-left: 38px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

    .faq2-content p {
        margin: 15px 0;
        color: #555;
    }

/* Expanded state */
.faq2-item.faq2-expanded .faq2-content {
    padding-top: 8px;
    padding-bottom: 16px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1118px) {
    .faq2-list {
        margin: 0 40px;
    }
}

@media (max-width: 768px) {
    .faq2-list {
        margin: 0 20px;
    }
}

@media (max-width: 300px) {
    .faq2-list {
        margin: 0 10px;
    }

    .faq2-title {
        flex-direction: column;
        align-items: flex-start;
    }

        .faq2-title h3 {
            font-size: 15px;
        }
}

/* ==================== BUSINESS CENTRAL RESOURCES ==================== */

.bc-resources-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #eef9fb 0%, #f7feff 100%);
    font-family: "Poppins", sans-serif;
}

.resources-header h2 {
    font-size: 35px;
    font-weight: 600;
    color: #1d1b1b;
    margin-bottom: 10px;
}

.resources-header p {
    max-width: 720px;
    margin: 0 auto 50px;
    color: #555;
    font-size: 16px;
}

.resource-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

    .resource-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    }

.resource-icon {
    font-size: 36px;
    color: #0d6efd;
    margin-bottom: 16px;
}

.resource-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.resource-card p {
    font-size: 14.5px;
    color: #555;
    margin-bottom: 16px;
}

.resource-link {
    font-size: 14px;
    font-weight: 500;
    color: #0d6efd;
    text-decoration: none;
}

    .resource-link:hover {
        text-decoration: underline;
    }

.resource-card.highlight {
    border: 2px solid #0d6efd;
    background: linear-gradient(180deg, #f0f6ff, #ffffff);
}



/* ================= CTA SECTION ================= */
.cta-section {
    padding: 0 20px;
    background: #ffffff;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #f8fbfd;
    border-radius: 6px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* CTA text */
.cta-text h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #1d1b1b;
}

/* CTA button */
.cta-btn {
    color: #ffffff;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 25px;
    }

    .cta-text h3 {
        font-size: 22px;
    }
}

/* =========================================================
   GLOBAL RESPONSIVE SAFETY NET (DO NOT CHANGE LOGIC)
========================================================= */

/* Prevent horizontal overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}





/* ---------------- BUSINESS BENEFITS ---------------- */
@media (max-width: 992px) {
    .benefit-card {
        padding: 28px 22px;
    }
}

@media (max-width: 575px) {
    .benefits-title {
        font-size: 26px;
    }

    .benefits-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .benefit-card h3 {
        font-size: 18px;
    }

    .benefit-card p {
        font-size: 14px;
    }
}



/* ---------------- WHY SAP SECTION ---------------- */
@media (max-width: 991px) {
    .why-heading h2 {
        text-align: center;
    }

    .why-heading .underline {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---------------- CTA SECTION ---------------- */
@media (max-width: 575px) {
    .cta-container {
        padding: 24px 20px;
    }

    .cta-text h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .cta-btn {
        padding: 12px 26px;
        font-size: 13px;
    }
}


/* =========================================================
   FINAL EDGE-SPACING FIXES (ONLY RESPONSIVE SAFETY)
========================================================= */

/* ---------- GLOBAL CONTAINER EDGE SAFETY ---------- */
@media (max-width: 991px) {
    .container,
    .overview-container,
    .benefits-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 575px) {
    .container,
    .overview-container,
    .benefits-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ---------- SAP FEATURES: Talk to Consultant ---------- */
/*@media (max-width: 991px) {
    .sap-features-section .consult-btn {
        margin-right: 0;
        align-self: flex-start;
    }
}

@media (max-width: 575px) {
    .sap-features-section .consult-btn {
        width: 100%;
        text-align: center;
    }
}*/

/* ---------- BUSINESS BENEFITS: CARD EDGE FIX ---------- */
@media (max-width: 991px) {
    .benefits-grid {
        padding-right: 0;
    }

    .benefit-card {
        margin-right: 0;
    }
}

/* ---------- TECHNICAL HIGHLIGHTS & INDUSTRIES ---------- */
@media (max-width: 991px) {
    .hana-highlights .highlight-card {
        margin-right: 0;
    }
}

@media (max-width: 575px) {
    .hana-highlights .highlight-card {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ---------- WHY CHOOSE SAP: Talk to Consultant ---------- */
@media (max-width: 991px) {
    .why-sap-section .consult-btn {
        margin-right: 0;
        align-self: flex-start;
    }
}

@media (max-width: 575px) {
    .why-sap-section .consult-btn {
/*        width: 100%;*/
        text-align: center;
    }
}

/*=============== FOOTER BASE ===============*/
.footer {
    background: #ffffff; /* pure white */
    padding: 3rem 1.5rem 2rem;
    font-family: var(--body-font);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

    /* Subtle background shading behind columns */
    .footer .footer-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(245, 247, 250, 0.6);
        z-index: 0;
    }

    /* Content above background */
    .footer .container,
    .footer .row,
    .footer .col {
        position: relative;
        z-index: 1;
    }

    /* Headings */
    .footer h4 {
        font-size: var(--normal-font-size);
        font-weight: var(--font-semi-bold);
        color: var(--title-color);
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Text links */
    .footer address,
    .footer p,
    .footer ul li,
    .footer a {
        font-size: var(--small-font-size);
        color: var(--text-color);
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .footer a {
        text-decoration: none; /* removes underline */
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: var(--first-color);
        }

    /*=============== LAYOUT ===============*/
    .footer .row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 2.5rem;
    }

.row > * {
    flex-shrink: 0;
    /* width: 100%; */
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

    .footer .col {
        flex: 1;
        min-width: 220px;
        display: flex;
        flex-direction: column;
        margin-bottom: 1.5rem;
    }

    /* Container row for logos + social icons */
    .footer .footer-brand-social {
        width:35%;
        display: flex;
        flex-wrap: wrap; /* wrap on small screens */
        gap: 0rem;
        justify-content:flex-start;
        margin-top: 2rem;
        flex-wrap:nowrap;
    }

    /* Partner logos */
    .footer .partners {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

.partner-logo {
    max-height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

    .partner-logo:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
    }

/* Social icons */
.footer .social {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin: 0;
    align-items: center;
}

    .footer .social li {
        list-style: none;
    }

    .footer .social a {
        color: var(--title-color);
        font-size: 1.4rem;
        padding: 0.4rem;
        border-radius: 50%;
        background: rgba(0,0,0,0.05);
        transition: background 0.3s, color 0.3s, transform 0.3s;
    }

        .footer .social a:hover {
            color: #fff;
            background: var(--first-color);
            transform: translateY(-3px);
        }
/*================ RESPONSIVE QUERIES =================*/

/* Mid-desktop / large tablets */
@media screen and (max-width: 1152px) {
    .footer .partners {
        gap: 0.8rem;
    }

    .partner-logo {
        max-height: 35px;
    }

    .footer .social a {
        font-size: 1.3rem;
        padding: 0.35rem;
    }
}

/* Small laptops / tablets */
@media screen and (max-width: 1118px) {
    .footer .footer-brand-social {
        flex-wrap: wrap; /* allow wrapping */
        gap: 0.8rem;
    }

    .footer .partners {
        border-right: none; /* remove vertical line for better fit */
        padding-right: 0;
        margin-bottom: 0.5rem;
    }

    .footer .social {
        padding-left: 0;
    }

    .partner-logo {
        max-height: 30px;
    }

    .footer .social a {
        font-size: 1.2rem;
        padding: 0.3rem;
    }
}

/* Very small screens */
@media screen and (max-width: 300px) {
    .footer .footer-brand-social {
        flex-direction: column; /* stack vertically */
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer .partners {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .partner-logo {
        max-height: 25px;
    }

    .footer .social {
        gap: 0.5rem;
    }

        .footer .social a {
            font-size: 1rem;
            padding: 0.25rem;
        }
}


/*=============== COPYRIGHT ===============*/
.footer .copyright {
    font-size: var(--smaller-font-size);
    color: var(--text-color);
    text-align: center;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
}

    .footer .copyright a {
        color: var(--first-color);
        font-weight: var(--font-medium);
    }

/*=============== RESPONSIVE QUERIES ===============*/

/* For very small devices (max-width: 300px) */
@media screen and (max-width: 300px) {
    .footer {
        padding: 2rem 1rem;
    }

        .footer .row {
            flex-direction: column;
            gap: 1.5rem;
        }

        .footer h4 {
            font-size: 0.9rem;
        }

        .footer address,
        .footer p,
        .footer ul li,
        .footer a {
            font-size: 0.75rem;
        }

        .footer .social a {
            font-size: 1rem;
            padding: 0.3rem;
        }

    .partner-logo {
        max-height: 30px;
    }
}

/* For tablets & small laptops (max-width: 1118px) */
@media screen and (max-width: 1118px) {
    .footer {
        padding: 2.5rem 1rem;
    }

        .footer .row {
            gap: 2rem;
        }

        .footer .col {
            min-width: 180px;
        }

    .partner-logo {
        max-height: 35px;
    }
}

/* For mid-desktops (max-width: 1152px) */
@media screen and (max-width: 1152px) {
    .footer .row {
        display:flex;
        flex-direction:column;
        gap: 2rem;
    }

    .footer h4 {
        font-size: calc(var(--normal-font-size) - 0.1rem);
    }
}


