/* === Hero === */

.section-hero-full {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
}

.section-hero-full img {
    position: relative;
    width: 100%;
    min-width: 100%;
    height: auto;
    margin: 0 auto;
}

.study-hero .page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* === Faculties === */

.faculties {
    padding: 50px 0;
    background: #fff;
}

.faculties .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faculties .section-header h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.35em;
}

.faculties .page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.faculties .grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 24px 28px 28px;
    background: linear-gradient(120.26deg, rgba(58, 128, 245, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid #3A80F533;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

.faculties .grid-image {
    position: absolute;
    right: 10px;
    top: 0;
    height: 100%;
    max-height: 180px;
    opacity: 0.2;
    pointer-events: none;
    user-select: none;
}

.faculties .grid-item-content {
    position: relative;
    z-index: 1;
}

.faculties .grid-item-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 1.35em;
    color: #1d1d1d;
    margin: 0 0 16px;
}

.faculties .grid-item-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faculties .grid-item-list li {
    position: relative;
    padding-left: 18px;
    margin: 10px 0;
    color: #273142;
    line-height: 1.45;
}

.faculties .grid-item-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3A80F5;
    box-shadow: 0 0 0 2px rgba(58, 128, 245, 0.12);
    transform: translateY(-50%);
}

.faculties .grid-item--wide {
    grid-column: span 2;
}

/* === Branches === */

.branches {
    background: linear-gradient(146deg, rgb(96 103 169) 0%, rgb(51 51 165) 35%, rgb(38 147 169) 100%);
    padding: 70px 0;
}

.branches .container {
    display: flex;
    flex-direction: column;
    gap: 70px;
    max-width: 900px;
}

.branches .section-header h2 {
    color: #fff;
    font-size: 40px;
    line-height: 1.35em;
    text-align: center;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.branch-card {
    position: relative;
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, .08);
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    pointer: cursor;
    text-decoration: none;
    color: inherit;
}

.branch-card-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
    padding: 32px 28px 36px;
}

.branch-card:hover {
    background: #fff;
    box-shadow: 0px 25px 50px -12px #3A80F54D;
}

.branch-card:hover {
    transform: translateY(-2px);
}

.branch-card:hover::before {
    opacity: 1;
}

.branch-icon {
    position: relative;
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    background: #063c98;
    border-radius: 20px;
    padding: 12px;
}

.branch-icon svg,
.branch-icon img {
    width: 100%;
    height: auto;
}

.branch-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.35em;
    text-align: center;
    color: #1d1d1d;
    margin: 0;
}

.branch-description {
    text-align: center;
    font-size: 14px;
    line-height: 1.35em;
    color: rgba(0,0,0,0.7);
}

/* === Masters programs === */

.masters-programs {
    padding: 50px 0;
    background: #fff;
}

.masters-programs .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.masters-programs .section-header a {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.35em;
    color: #1d1d1d;
    font-weight: 700;
    text-decoration: none;
}

.masters-programs .section-header a strong {
    font-weight: 700;
    color: var(--color-accent);
}

.masters-programs .programs-block {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    border-radius: 24px;
    border: 1px solid #3A80F533;
    padding: 40px;
    background: linear-gradient(114.88deg, rgba(58, 128, 245, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.masters-programs .programs-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.masters-programs .programs-header .programs-title {
    font-weight: 600;
    font-size: 20px;
    text-align: center;
}

.masters-programs .programs-header .programs-kicker {
    font-weight: 400;
    font-size: 14px;
    color: rgba(0,0,0,0.8);
    text-align: center;
}

.masters-programs .programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 30px;
}

.masters-programs .program {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #3A80F533;
    background: linear-gradient(106.6deg, rgba(58, 128, 245, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    box-shadow: 0px 8px 25px -8px #0000001A;
    text-decoration: none;
    color: inherit;
}

.masters-programs .program-icon img {
    max-width: 24px;
    width: 24px;
    height: 24px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.masters-programs .program-title {
    color: #1d1d1d;
    font-size: 14px;
    line-height: 1.35em;
    font-weight: 400;
    text-decoration: none;
    margin-top: 3px;
}

/* === Postgraduate programs === */

.postgraduate-programs {
    background: #bacefd;
    padding: 70px 0;
}

.postgraduate-programs .container {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.postgraduate-programs .section-header a {
    color: #1d1d1d;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.35em;
    text-decoration: none;
}

.postgraduate-programs .section-header a strong {
    font-weight: 700;
    color: var(--color-accent);
}

.postgraduate-programs .programs-block {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    border-radius: 24px;
    border: 1px solid #FFFFFF1A;
    padding: 40px;
    background: rgb(255 255 255 / 35%);
}

.postgraduate-programs .programs-header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.postgraduate-programs .programs-header .programs-title {
    color: #1d1d1d;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
}

.postgraduate-programs .programs-header .programs-kicker {
    font-weight: 400;
    font-size: 14px;
    color: rgba(0,0,0,0.8);
    text-align: center;
}

.postgraduate-programs .programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 30px;
}

.postgraduate-programs .program {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #FFFFFF33;
    background: rgb(255 255 255 / 45%);
}

.postgraduate-programs .program-title {
    color: #1d1d1d;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.postgraduate-programs .program-icon img {
    max-width: 24px;
    width: 24px;
    height: 24px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

/* === Buttons === */

.btn {
    position: relative;
    display: flex;
    color: var(--color-accent);
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
}

.btn-text,
.btn-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 8px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    border: 0 !important;
    cursor: pointer;
    background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
    box-shadow: 0px 0px 20px 0px #3B82F699;
    transition: all 0.25s ease-in-out;
    margin: 0 auto;
}

.btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

.btn svg path {
    stroke: #fff;
}

/* === Mobile === */

@media only screen and (max-width: 767px) {

.study-hero .page-grid {
    grid-template-columns: 1fr;
}

.faculties {
    padding: 0;
}

.faculties .section-header h2 {
    font-size: 30px;
}

.faculties .page-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.faculties .grid-item {
    grid-column: span 1;
}

.branches {
    padding: 0;
}

.branches .section-header h2 {
    font-size: 30px;
}

.branches-grid {
    grid-template-columns: 1fr;
    gap: 16px;
}

.masters-programs {
    padding: 0;
}

.masters-programs .section-header h2 {
    font-size: 30px;
}

.masters-programs .programs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

.postgraduate-programs {
    padding: 0;
}

.postgraduate-programs .section-header h2 {
    font-size: 30px;
}

.postgraduate-programs .programs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

}

