/* ==========================================================================
   ABOUT US PAGE STYLES
   ========================================================================== */

.about-page-custom {
    background-color: #04121e;
    color: #ffffff;
    padding: 80px 0;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* --- HERO SECTION --- */

.hero-solution {
    margin-bottom: 100px;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    gap: 100px;
    padding-top: 60px;
}

.about-hero-text {
    flex: 1;
}

.about-label {
    color: #1277A0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.about-hero-text h1 {
    color: #FFF;
    font-family: 'Roboto', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.28px;
    margin-bottom: 25px;
}

.highlight-blue {
    color: #1277A0;
}

.about-hero-text p {
    color: rgba(255, 255, 255, 0.70);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 145%;
    letter-spacing: -0.1px;
    margin-bottom: 15px;
}

.hero-main-image {
    flex: 1.2;
    text-align: right;
    align-items: flex-end;
    margin-right: -5%;
    position: relative;
}

.hero-main-image img {
    max-width: 100%;
    height: auto;
    filter: none;
    box-shadow: none;
}

/* --- INTERACTIVE MAP HERO --- */

.sobis-map-hero {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    font-family: 'Roboto', sans-serif;
}

.sobis-map-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 24px rgba(0, 170, 255, 0.55));
}

/* --- MAP ACTIVE COUNTY POINTS --- */

.sobis-map-points {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.sobis-map-point {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #3BBEFF;
    opacity: 0.5;

    box-shadow:
        0 0 4px rgba(59, 190, 255, 0.95),
        0 0 10px rgba(0, 180, 253, 0.55),
        0 0 20px rgba(0, 180, 253, 0.28);

    animation: sobisMapPointPulse 3s ease-in-out infinite;
}

.sobis-map-point::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(59, 190, 255, 0.5);
    opacity: 0;
    transform: scale(0.45);
    animation: sobisMapPointRing 3s ease-out infinite;
}

.sobis-map-point::after {
    content: "";
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(0, 180, 253, 0.28) 0%,
        rgba(0, 180, 253, 0.10) 35%,
        rgba(0, 180, 253, 0) 70%
    );
    opacity: 0.55;
    filter: blur(2px);
}

.sobis-map-point.is-active {
    width: 8px;
    height: 8px;
    opacity: 0.65;
    background: rgba(255, 255, 255, 0.78);

    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.45),
        0 0 10px rgba(59, 190, 255, 0.45),
        0 0 20px rgba(0, 180, 253, 0.22);
}

.sobis-map-point.is-active::before {
    animation: sobisMapActiveRing 1.3s ease-out infinite;
}

/* delay-uri diferite ca să nu pulseze toate simultan */

.sobis-map-point:nth-child(2n) {
    animation-delay: 0.35s;
}

.sobis-map-point:nth-child(3n) {
    animation-delay: 0.7s;
}

.sobis-map-point:nth-child(4n) {
    animation-delay: 1.05s;
}

.sobis-map-point:nth-child(5n) {
    animation-delay: 1.4s;
}

@keyframes sobisMapPointPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

@keyframes sobisMapPointRing {
    0% {
        opacity: 0;
        transform: scale(0.35);
    }

    35% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: scale(1.55);
    }
}

@keyframes sobisMapActiveRing {
    0% {
        opacity: 0.95;
        transform: scale(0.45);
    }

    100% {
        opacity: 0;
        transform: scale(2.25);
    }
}

/* --- MAP TEXT OVERLAY --- */

.sobis-map-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    text-align: center;
    padding: 30px;
}

.sobis-map-eyebrow {
    color: rgba(255, 255, 255, 0.90);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sobis-map-stat-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        filter 0.45s ease;
}

.sobis-map-stat-display.is-changing {
    opacity: 0;
    transform: scale(0.98);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.sobis-map-stat-display.is-entering {
    animation: sobisMapStatEnter 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sobis-map-stat-display.is-pop {
    animation: sobisMapStatPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.sobis-map-stat-display.is-pop .sobis-map-number,
.sobis-map-stat-display.is-pop .sobis-map-plus {
    animation: none;
}

@keyframes sobisMapStatPop {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }

    45% {
        opacity: 1;
        transform: scale(1.06);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.sobis-map-number-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 8px;
}

.sobis-map-number,
.sobis-map-plus {
    font-weight: 900;
    font-size: 108px;
    line-height: 0.82;
    color: transparent !important;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px #1277A0;
    text-shadow: none !important;
    background: none !important;

    filter:
        drop-shadow(0 0 2px rgba(18, 119, 160, 0.65))
        drop-shadow(0 0 5px rgba(18, 119, 160, 0.38))
        drop-shadow(0 0 10px rgba(0, 180, 253, 0.14));
}

.sobis-map-number {
    font-family: 'Arial', sans-serif;
    font-weight: 900;
    letter-spacing: 0.03em;
    padding: 10px 0;
}

.sobis-map-plus {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 86px;
    line-height: 1.1;
    margin-left: 6px;
    padding-top: 12px;
}

.sobis-map-text-wrap {
    text-align: center;
}

.sobis-map-title {
    display: block;
    color: rgba(255, 255, 255, 0.90);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 5px;
}

.sobis-map-description {
    display: block;
    max-width: 420px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.35;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.65);
}

/* --- SECTION DIVIDERS --- */

.sobis-divider-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 100px 0 60px;
    width: 100%;
}

.sobis-divider-glow::before,
.sobis-divider-glow::after {
    content: "";
    flex: 1;
    height: 1px;
    transform: scaleY(0.5);
}

.sobis-divider-glow::before {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
}

.sobis-divider-glow::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
}

.sobis-divider-glow span {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #ffffff;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- IRIDA VALUES --- */

.irida-values-section {
    margin-bottom: 75px;
}

.irida-intro {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.irida-name {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding: 0 0 12px;

    font-family: "Roboto Flex", "Roboto", sans-serif;
    font-size: clamp(50px, 6vw, 75px);
    font-weight: 800;
    font-variation-settings:
        "wght" 800,
        "wdth" 94,
        "opsz" 72;

    line-height: 1;
    letter-spacing: 0.2em;
    text-indent: 0.14em;
    text-transform: uppercase;

    color: #04121e;
    -webkit-text-fill-color: #04121e;
    -webkit-text-stroke: 0;

    text-shadow:
        -1px -1px 0 #3093bb,
         1px -1px 0 #3093bb,
        -1px  1px 0 #3093bb,
         1px  1px 0 #3093bb;
}

.irida-name::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 58%;
    height: 1px;

    background: linear-gradient(
        90deg,
        rgba(18, 119, 160, 0) 0%,
        rgba(59, 190, 255, 0.8) 50%,
        rgba(18, 119, 160, 0) 100%
    );

    transform: translateX(-50%);
}

.irida-intro p {
    max-width: 700px;
    margin: 8px auto 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.6;
}

.irida-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.irida-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    min-height: 260px;
    padding: 28px 18px 24px;
    overflow: hidden;
    border: 1px solid rgba(59, 190, 255, 0.70);
    border-radius: 8px;
    background-color: #051220;
    box-shadow: 0 0 7px rgba(0, 170, 255, 0.45);
    text-align: center;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.irida-card::before,
.irida-card::after {
    content: "";
    position: absolute;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        #3BBEFF 48%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(4px);
}

.irida-card::before {
    top: -1px;
}

.irida-card::after {
    bottom: -1px;
}

.irida-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    margin-bottom: 18px;
    border-radius: 50%;
    background: linear-gradient(90deg, #12769F 0%, #1D4266 100%);
    color: #FFFFFF;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}

.irida-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.irida-card h3 {
    margin: 0 0 10px;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.irida-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    line-height: 1.48;
}

.irida-card:hover {
    border-color: rgba(59, 190, 255, 0.95);
    box-shadow: 0 0 14px rgba(0, 170, 255, 0.70);
    transform: translateY(-5px);
}

/* --- VISION & MISSION STYLES --- */

.vision-mission-section {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.vm-card {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
}

.vm-card.reverse-card {
    flex-direction: row-reverse;
}

.icon-circle-large {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #12769F 0%, #1D4266 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle-large i {
    font-size: 64px;
    color: #ffffff;
}

.vm-content {
    flex: 1;
}

.vm-content h4 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.vm-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* --- CTA SECTION --- */

.cta-custom-section {
    text-align: center;
    padding: 100px 0 40px;
    position: relative;
}

.cta-custom-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
}

.cta-container p {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #FFF;
}

.sobis-blue-text {
    color: #1277A0;
}

.sobis-btn-offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 56px;
    padding: 0 28px;
    border-radius: 50px;
    background: linear-gradient(90deg, #12769F 0%, #1D4266 100%);
    border: none !important;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    color: #FFFFFF !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    outline: none;
}

.sobis-btn-offer:hover {
    transform: scale(1.03) translateY(-2px) !important;
    filter: brightness(1.15) !important;
}

.sobis-btn-offer::after {
    display: none !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- IRIDA PE TABLETĂ / LAPTOP MIC --- */

@media (min-width: 821px) and (max-width: 1150px) {
    .irida-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .irida-card {
        grid-column: span 2;
    }

    .irida-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .irida-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

}

@media (min-width: 821px) and (max-width: 1150px) {
    .hero-content-wrapper {
        gap: 45px;
        padding-top: 50px;
        align-items: center;
    }
    
    .about-label {
        font-size: 14px;
    }

    .about-hero-text h1 {
        font-size: 34px;
        line-height: 1.22;
    }

    .about-hero-text p {
        font-size: 18px;
        line-height: 1.45;
    }

    .hero-main-image {
        margin-right: 0;
    }

    .sobis-map-hero {
        max-width: 520px;
        margin: 0 auto;
    }

    .sobis-map-overlay {
        padding: 22px 18px;
    }

    .sobis-map-eyebrow {
        font-size: 11px;
        letter-spacing: 0.24em;
        margin-bottom: 8px;
    }

    .sobis-map-stat-display {
        min-width: 270px;
    }

    .sobis-map-number,
    .sobis-map-plus {
        font-size: 82px;
        line-height: 0.82;
        -webkit-text-stroke: 1.8px #1277A0;

        filter:
            drop-shadow(0 0 2px rgba(18, 119, 160, 0.60))
            drop-shadow(0 0 5px rgba(18, 119, 160, 0.34))
            drop-shadow(0 0 9px rgba(0, 180, 253, 0.12));
    }

    .sobis-map-number {
        padding: 7px 0;
    }

    .sobis-map-plus {
        font-size: 60px;
        margin-left: 5px;
        padding-top: 9px;
    }

    .sobis-map-number-wrap {
        margin-bottom: 4px;
    }

    .sobis-map-title {
        font-size: 24px;
        line-height: 1.08;
        margin-bottom: 3px;
    }

    .sobis-map-description {
        font-size: 14px;
        line-height: 1.22;
        max-width: 300px;
    }

    .sobis-map-point {
        width: 5px;
        height: 5px;
    }

    .sobis-map-point.is-active {
        width: 7px;
        height: 7px;
    }

    .sobis-map-point::before {
        inset: -6px;
    }

    .sobis-map-point::after {
        inset: -11px;
    }
}

/* --- TABLETĂ MICĂ / MOBIL LANDSCAPE --- */

@media (max-width: 820px) {
    .about-page-custom {
        padding: 110px 0;
    }

    .hero-solution {
        margin-bottom: 60px;
    }

    .sobis-divider-glow {
        margin: 70px 0 40px;
    }

    .hero-content-wrapper {
        flex-direction: column;
        text-align: left;
        gap: 35px;
        padding-top: 30px;
    }
    
    .about-label {
        font-size: 14px;
    }

    .about-hero-text {
        width: 100%;
        max-width: 560px;
    }

    .about-hero-text h1 {
        font-size: 34px;
        line-height: 1.22;
    }

    .about-hero-text p {
        font-size: 18px;
        line-height: 1.5;
    }

    .hero-main-image {
        width: 100%;
        max-width: 620px;
        margin: 0 auto !important;
        text-align: center;
    }

    .sobis-map-hero {
        max-width: 620px;
        margin: 0 auto;
    }

    .sobis-map-overlay {
        padding: 20px 16px;
    }

    .sobis-map-eyebrow {
        font-size: 9px;
        letter-spacing: 0.22em;
        margin-bottom: 8px;
    }

    .sobis-map-stat-display {
        min-width: auto;
        width: 100%;
    }

    .sobis-map-number,
    .sobis-map-plus {
        font-size: 62px;
        line-height: 0.82;
        color: transparent !important;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1.4px #1277A0;
        text-shadow: none !important;
        background: none !important;

        filter:
            drop-shadow(0 0 3px rgba(18, 119, 160, 0.75))
            drop-shadow(0 0 8px rgba(0, 180, 253, 0.35))
            drop-shadow(0 0 16px rgba(0, 180, 253, 0.18));
    }

    .sobis-map-number {
        font-size: 54px;
        letter-spacing: 0.03em;
        padding: 4px 0;
    }

    .sobis-map-plus {
        font-size: 38px;
        margin-left: 4px;
        padding-top: 7px;
    }

    .sobis-map-number-wrap {
        margin-bottom: 3px;
    }

    .sobis-map-title {
        font-size: 19px;
        line-height: 1.08;
        margin-bottom: 2px;
    }

    .sobis-map-description {
        font-size: 11px;
        max-width: 250px;
        line-height: 1.22;
    }

    .sobis-map-point {
        width: 4px;
        height: 4px;
        box-shadow:
            0 0 3px rgba(59, 190, 255, 0.85),
            0 0 8px rgba(0, 180, 253, 0.45),
            0 0 14px rgba(0, 180, 253, 0.22);
    }

    .sobis-map-point.is-active {
        width: 6px;
        height: 6px;
    }

    .sobis-map-point::before {
        inset: -5px;
    }

    .sobis-map-point::after {
        inset: -10px;
    }

    .sobis-divider-glow span {
        font-size: 14px;
    }

    .irida-values-section {
        margin-bottom: 70px;
    }

    .irida-intro {
        margin-bottom: 36px;
    }

    .irida-name {
        font-size: 42px;
        letter-spacing: 0.18em;
    }

    .irida-intro p {
        font-size: 17px;
    }

    .irida-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .irida-card {
        width: 100%;
        min-height: auto;
        padding: 28px 22px;
    }

    .irida-letter {
        width: 54px;
        height: 54px;
        margin-bottom: 16px;
        font-size: 25px;
    }

    .irida-card h3 {
        font-size: 22px;
    }

    .irida-card p {
        font-size: 17px;
        line-height: 1.48;
    }

    .vm-card,
    .vm-card.reverse-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 20px 0;
    }

    .icon-circle-large {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .icon-circle-large i {
        font-size: 35px;
    }

    .vm-content h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .vm-content p {
        font-size: 16px;
    }

    .cta-container p {
        font-size: 20px;
    }
}

/* --- MOBIL MIC --- */

@media (max-width: 480px) {
    .hero-content-wrapper {
        gap: 25px;
    }
    
    .about-label {
        font-size: 14px;
    }

    .about-hero-text h1 {
        font-size: 25px;
        line-height: 1.3;
    }

    .about-hero-text p {
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-main-image {
        margin-top: -10px !important;
    }

    .sobis-map-hero {
        max-width: 100%;
    }

    .sobis-map-overlay {
        padding: 16px 10px;
    }

    .sobis-map-eyebrow {
        font-size: 8px;
        letter-spacing: 0.18em;
        margin-bottom: 6px;
    }

    .sobis-map-number {
        font-size: 45px;
        padding: 2px 0;
    }

    .sobis-map-plus {
        font-size: 30px;
        padding-top: 6px;
    }

    .sobis-map-title {
        font-size: 17px;
        margin-bottom: 2px;
    }

    .sobis-map-description {
        font-size: 10px;
        max-width: 230px;
        line-height: 1.2;
    }
    .irida-name {
        font-size: 36px;
        letter-spacing: 0.16em;
        -webkit-text-stroke-width: 0.7px;
    }

    .irida-intro p {
        font-size: 16px;
    }

    .irida-card {
        padding: 26px 20px;
    }

    .irida-card p {
        font-size: 16px;
    }

}
