﻿a, .card-program-link, .btn-ubam {
    text-decoration: none !important;
}

.main-wrapper {
    width: 100%;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("/images/ubam-cei/ososvslinares.webp");
}

.oxford-logo {
    width: 200px;
}

.hero-container, .offer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text-side {
    flex: 1;
    min-width: 300px;
}

.hero-image-side {
    flex: 1;
    display: flex;
}

.image-frame {
    width: 100%;
    max-width: 660px;
    height: auto;
}

.img-hero {
    width: 100%;
    height: auto;
    aspect-ratio: 660 / 513;
    object-fit: cover;
    border-radius: 40px;
}

.img-about {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--color-ubam-dark);
    font-size: 1rem;
}

.mini-icon {
    font-size: 1.3rem !important;
    color: var(--color-ubam-blue);
}

.btn-ubam {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    border: none;
    display: inline-block;
    transition: var(--ubam-transition);
    cursor: pointer;
}

.btn-cyan {
    background-color: var(--color-ubam-blue);
}

.btn-pink {
    background-color: var(--color-ubam-dark-pink);
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-pink:hover {
    transform: translateY(-2px);
    background-color: #b9155c;
}

.offer-title-script {
    font-family: 'Oleo Script', cursive;
    font-size: 3.5rem;
    color: var(--color-ubam-blue);
    margin-bottom: 15px;
}

.offer-subtitle-main {
    color: var(--color-ubam-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.card-program {
    background: var(--color-ubam-white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--ubam-transition);
    border-bottom: 6px solid transparent;
    text-align: center;
    padding-bottom: 25px;
}

.card-program:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.card-icon-box {
    height: 140px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon-box span {
    font-size: 3.5rem;
    color: #cbd5e1;
}

.border-green {
    border-bottom-color: var(--color-ubam-green);
}

.border-cyan {
    border-bottom-color: var(--color-ubam-blue);
}

.border-blue {
    border-bottom-color: var(--color-ubam-dark-blue);
}

.border-pink {
    border-bottom-color: var(--color-ubam-dark-pink);
}

.location-flex-container {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: stretch;
}

.location-info-card {
    flex: 1;
    background: var(--color-ubam-white-pure);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info-card hr {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 20px 0;
}

.map-container-side {
    flex: 1.5;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.map-container-side iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}

.address-details p {
    margin-bottom: 8px;
    color: var(--color-ubam-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .hero-content-wrapper, .location-flex-container {
        flex-direction: column;
        text-align: center;
    }

    .map-container-side {
        height: 350px;
        order: 2;
    }

    .location-flex-container {
        gap: 20px;
    }

    .location-info-card {
        padding: 25px;
    }

    .map-container-side {
        width: 100%;
        height: 300px;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .offer-grid {
        margin-top: 50px;
    }

    .benefits-list {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 0 20px;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 20px;
        text-align: center;
    }

    .hero-title-container {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 20px;
    }

    .oxford-logo {
        width: 150px;
    }

    .hero-content-wrapper {
        gap: 20px;
    }

    .map-container-side {
        min-height: 250px;
    }

    .location-flex-container {
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .btn-ubam {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .hero-title-container {
        margin-bottom: 15px;
    }

    .section-subtitle-script {
        font-size: 1.75rem;
        margin-bottom: 8px;
    }

    .section-title-bold {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .card-program {
        padding-bottom: 16px;
    }

    .location-info-card {
        padding: 20px;
    }

    .offer-title-script {
        font-size: 2rem;
    }
}
