html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

:root {
    --brand-navy:#4096ec;
    --brand-blue:  #087cf0;
    --brand-blue-dark: #1861ac;
    --brand-footer-start: color-mix(in srgb, var(--brand-navy) 72%, white);
    --brand-footer-end: color-mix(in srgb, var(--brand-blue) 65%, white);
    --bs-primary: #1b6ec2;
    --bs-primary-rgb: 27, 110, 194;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: var(--brand-blue);
    border-color: var(--brand-blue-dark);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--brand-blue-dark);
    border-color: #145a9e;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-right: 0.5rem;
}

.logo > img {
    height: 3.5rem;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.navbar {
    min-height: 4.5rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

header .navbar.bg-primary {
    background-color: var(--brand-navy) !important;
    background-image: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
    box-shadow: 0 2px 12px rgba(13, 59, 102, 0.35);
}

header .navbar .nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}

header .navbar .nav-link:hover,
header .navbar .nav-link:focus {
    color: #fff;
}

@media (max-width: 576px) {
    .logo > img {
        height: 2.75rem;
        max-width: 200px;
    }

    .navbar {
        min-height: 4rem;
    }
}

.table {
    display: grid;
    grid-template-columns: 1fr;
}

.table dt {
    padding: 24px 0;
    padding-bottom: 0;
    border-bottom: none;
    font-weight: 800 !important;
}

.table dd {
    margin: 0 !important;
    padding: 24px 0;
    border-bottom: 1px solid #346B89;
}

.table dt:last-of-type, .table dd:last-of-type {
    border-bottom: none;
}

main {
    min-height: calc(100vh - 14rem);
}

.marginTop {
    margin-top: 7rem;
}

.hero-section {
    position: relative;
    color: #fff;
    padding: 10rem 0 6rem;
    margin-top: 4.5rem;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    will-change: transform;
}

.hero-slide.active .hero-slide-bg {
    animation: heroZoomIn 6s ease-out forwards;
}

@keyframes heroZoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.52);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.88) 0%, rgba(27, 110, 194, 0.78) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    min-height: 220px;
}

.hero-content-item {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.hero-content-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.hero-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.6rem;
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.hero-indicator.active {
    background: #fff;
    transform: scale(1.15);
}

.hero-section h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    font-size: 1.1rem;
    opacity: 0.95;
}

.section-title {
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0d3b66;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #6c757d;
    text-transform: uppercase;
}

.section-dark {
    background: #0d3b66;
    color: #fff;
}

.section-dark .section-title,
.section-dark .section-subtitle {
    color: #fff;
}

.section-dark .section-subtitle {
    opacity: 0.7;
}

.section-light {
    background: #f0f4f8;
}

.stat-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.25rem;
    height: 100%;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(13, 59, 102, 0.12);
}

.stat-card .module-code {
    font-weight: 700;
    color: #1b6ec2;
}

.service-card {
    border-left: 4px solid #1b6ec2;
    background: #f8f9fa;
    padding: 1.5rem;
    height: 100%;
}

.service-card-img {
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.service-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

.greeting-box {
    background: #f8f9fa;
    border-left: 4px solid #0d3b66;
    padding: 1.5rem 2rem;
}

.content-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(13, 59, 102, 0.15);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

.feature-row {
    align-items: center;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.strength-item {
    border-bottom: 1px solid #dee2e6;
    padding: 1.25rem 0;
}

.strength-item:last-child {
    border-bottom: none;
}

.project-card {
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card .card-body {
    padding: 1.5rem;
}

.industry-badge {
    display: inline-block;
    background: rgba(27, 110, 194, 0.1);
    color: #0d3b66;
    border: 1px solid rgba(27, 110, 194, 0.3);
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    margin: 0.25rem;
    font-size: 0.9rem;
}

.page-banner {
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.9), rgba(27, 110, 194, 0.8)),
                url('../img/sap/services-infrastructure.png') center/cover no-repeat;
    color: #fff;
    padding: 7rem 0 3rem;
    margin-top: 4.5rem;
    margin-bottom: 2rem;
}

.page-banner h1 {
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.vision-box {
    background: linear-gradient(135deg, #0d3b66, #1b6ec2);
    color: #fff;
    border-radius: 0.5rem;
    padding: 2rem;
}

.vision-box h3 {
    font-size: 1rem;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.contact-page__row {
    align-items: flex-start;
}

.contact-page .contact-sidebar {
    align-self: flex-start;
}

.contact-sidebar img {
    border-radius: 0.5rem;
    width: 100%;
    object-fit: cover;
    max-height: 320px;
}

.contact-page .contact-sidebar .service-card {
    height: auto;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .contact-page__form {
        margin-bottom: 0;
    }
}

.google-map {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(13, 59, 102, 0.12);
    background: #e9ecef;
}

.google-map iframe {
    display: block;
    width: 100%;
    border: 0;
    aspect-ratio: 16 / 10;
    min-height: 240px;
}

.google-map--large iframe {
    min-height: 420px;
}

.google-map--compact iframe {
    min-height: 220px;
    aspect-ratio: 4 / 3;
}

.google-map-link a {
    font-size: 0.9rem;
}

.footer-logo {
    height: 3.5rem;
    width: auto;
    opacity: 1;
    filter: drop-shadow(0 1px 2px rgba(13, 59, 102, 0.15));
}

footer.footer {
    background-color: var(--brand-footer-start);
    background-image: linear-gradient(135deg, var(--brand-footer-start) 0%, var(--brand-footer-end) 100%);
    color: rgba(255, 255, 255, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

footer.footer .text-body-secondary {
    color: rgba(255, 255, 255, 0.88) !important;
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 420px;
        padding: 7rem 0 4rem;
    }

    .feature-row.reverse {
        flex-direction: column;
    }
}
