.text-justify {
    text-align: justify;
    hyphens: auto;
}

body {
    background-color: #f9f9f9;
    color: #333333;
    font-family: "Poppins", sans-serif;
    padding-top:55px;
}

.hero {
    background: url("../images/background-hero.webp") center/cover no-repeat;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.15));
    backdrop-filter: blur(5px);
}

.hero>.container {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    border-radius: 14px;
}

.hero-content h1 {
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.9);
}

.hero-content p {
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85);
}

.btn-6g {
    background-color: rgb(8, 55, 190);
    color: #fff;
    font-weight: bold;
}

.navbar .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.85);
}

.navbar {
    background-color: white;
}

.section {
    background-color: #f9f9f9;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.section h2 {
    /* color: rgb(90, 100, 135); */
    color: #0056b3;
}

p {
    padding-left: 15px;
    padding-right: 15px;
}

.custom-toggler-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.custom-toggler-icon span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    left: 0;
    transition: 0.3s ease-in-out;
}

.custom-toggler-icon span:nth-child(1) {
    top: 5px;
}

.custom-toggler-icon span:nth-child(2) {
    top: 11px;
}

.custom-toggler-icon span:nth-child(3) {
    top: 17px;
}

.logo-mini {
    width: 8vh;
    height: auto;
}

.navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .custom-toggler-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 11px;
}

#solutions h2 {
    letter-spacing: -0.02em;
}

#solutions p {
    line-height: 1.6;
}

.footer-6g {
    background-color: #0b0f19;
    color: #e5e7eb;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5f5;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-list a {
    color: #cbd5f5;
    text-decoration: none;
}

.footer-list a:hover {
    text-decoration: underline;
}

.footer-list i {
    font-size: 1rem;
    color: #9ca3af;
}

.footer-linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #cbd5f5;
    text-decoration: none;
}

.footer-linkedin-link i {
    font-size: 1.1rem;
    color: #9ca3af;
}

.footer-linkedin-link:hover {
    text-decoration: underline;
}

/* CARD LAYOUT */
.service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease-in-out;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: 14px;
}

.service-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    margin-bottom: 0;
    line-height: 1.6;
}

.badge-type {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

/* CTA ALIGNMENT */
.service-cta {
    margin-top: auto;
    padding-top: 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    display: inline-block;
}

.service-cta:hover {
    text-decoration: underline;
}

/* BOTTOM CTA */
.cta-box {
    background: #0d6efd;
    color: #fff;
    border-radius: 18px;
    padding: 44px;
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    text-decoration: none;
    color: #0056b3;
    padding-left: 28px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6b7280;
}

.tech-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #ffffff;
}

.tech-underline {
    font-size: 1.65rem;
    position: relative;
    font-weight: 600;
}

.language-switcher {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.language-switcher .lang-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 0 4px;
}

.language-switcher .lang-link:hover {
    color: #000;
}

.language-switcher .lang-link.active {
    color: #000;
    font-weight: 600;
    cursor: default;
}

.language-switcher .lang-separator {
    color: #aaa;
}

.partner-frame {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.partner-title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 24px;
}


.partner-separator {
    width: 1px;
    height: 48px;
    background: rgba(0, 0, 0, 0.15);
}



.partner-logos {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 32px;
}

.partner-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo-box img,
.partner-logo-box svg {
    display: block;
}

/* OPTIKAI KORREKCIÓ: EY taglinet kicsit összébb kell húzni */
.logo-ey {
    max-height: 88px;
    /* hagy egy kis levegőt */
}

/* OTP-nél ne legyen “túl kicsi” a jel */
.logo-otp {
    max-height: 72px;
    /* arányban az EY-hoz */
}

.utility-links {
    font-size: 14px;
    opacity: 0.95;
}

.utility-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 8px;
}

.utility-links a:hover {
    text-decoration: underline;
}

.utility-links span {
    opacity: 0.4;
}

.partner-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
}

/* Mobil */
@media (max-width: 768px) {
    .partner-logo-box img {
        max-height: 48px;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 64px;
    }
}

@media (max-height: 500px) {
    .hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}