.logoBox .logo img {
    max-height: 64px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

#header .logoBox .logo img {
    display: block;
}

/* Tighter header-to-hero spacing */
:root {
    --header-height: 88px;
}

.main-container {
    padding-top: var(--header-height) !important;
}

/* Hero slider — match Edwise spacing; avoid clipping illustrations */
.main-container > .container.hero-section {
    padding-top: 0;
    padding-bottom: 0;
}

.home-hero-wrapper {
    padding: 0 12px 72px;
    overflow: visible;
    width: 100%;
}

.home-wrap.swiper {
    width: 100%;
    overflow: hidden;
}

.home-wrap .swiper-wrapper {
    align-items: stretch;
}

.home-wrap .swiper-slide {
    text-align: left;
    height: auto;
    box-sizing: border-box;
    padding: 0 0 16px;
}

.home-wrap .swiper-slide .home-hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.home-hero {
    margin-bottom: 0 !important;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 100%;
    min-height: 460px;
}

.home-hero .hero-left,
.home-hero .hero-right {
    min-width: 0;
    box-sizing: border-box;
}

.home-hero .hero-left {
    flex: 1 1 48%;
    max-width: 700px;
    width: 100%;
    padding-bottom: 0;
}

.home-hero .hero-right {
    flex: 1 1 48%;
    max-width: 650px;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero .hero-right img {
    width: 100%;
    height: auto !important;
    max-height: 631px;
    object-fit: contain !important;
    object-position: center;
    display: block;
}

.home-hero .hero-title-txt {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.home-hero .hero-left .comm-para p {
    overflow-wrap: break-word;
}

.home-wrap .home-pagination {
    bottom: 20px;
}

.hero-btns {
    flex-wrap: wrap;
}

#removePadding.comm-section {
    padding: 32px 0 50px !important;
    margin-top: 0 !important;
}

#removePadding .counter-wrap {
    position: relative;
    z-index: 1;
}

/* Footer */
.apex-footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.apex-footer-logo img {
    max-height: 56px;
    width: auto;
    display: block;
}

.apex-footer-about {
    color: #4d5566;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 280px;
}

.apex-footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.apex-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(29, 67, 141, 0.1);
}

.apex-footer-social img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.apex-icef-badge {
    margin-top: 20px;
}

.apex-icef-badge-link {
    display: inline-block;
    text-decoration: none;
}

.apex-icef-badge-fallback {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--clr-primary, #1d438d);
    border-radius: 6px;
    color: var(--clr-primary, #1d438d);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    background: #fff;
}

.apex-footer-contact li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.apex-footer-contact li strong {
    display: block;
    color: var(--clr-primary);
    font-size: 14px;
    font-weight: 600;
}

.apex-footer-contact li span,
.apex-footer-contact li a {
    color: #4d5566;
    font-size: 14px;
    line-height: 1.5;
}

.footer-link-wrap .f-col:first-child {
    margin-bottom: 10px;
}

/* Bottom CTA banner — Contact + social */
.apex-btm-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 0 !important;
    font-size: inherit !important;
    color: inherit !important;
}

.apex-btm-actions .button.white {
    flex-shrink: 0;
    margin: 0;
}

.apex-btm-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.apex-btm-social-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.apex-btm-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apex-btm-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--clr-primary);
    text-decoration: none;
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.apex-btm-social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    background: #fff;
    color: var(--clr-primary);
}

.apex-btm-social-links a:nth-child(1):hover {
    color: #1877f2;
}

.apex-btm-social-links a:nth-child(2):hover {
    color: #0a66c2;
}

.apex-btm-social-links a:nth-child(3):hover {
    color: #25d366;
}

.apex-btm-actions-mobile {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.apex-btm-actions-mobile .apex-btm-social {
    width: 100%;
}

@media (max-width: 750px) {
    .btm-bnr-content p {
        margin-bottom: 28px;
    }

    .apex-btm-actions-mobile .button.white {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Contact page */
.apex-contact-cards {
    margin-top: 48px;
}

.apex-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    height: 100%;
    padding: 28px 24px;
    border-radius: 24px;
    background: #fff;
    border: 2px solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(241deg, #c6d3e3, #ffffff, #dde5ee);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 12px 32px rgba(29, 67, 141, 0.06);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apex-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(29, 67, 141, 0.12);
}

.apex-contact-card-static {
    cursor: default;
}

.apex-contact-card-static:hover {
    transform: none;
}

.apex-contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--clr-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.apex-contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--clr-primary);
    margin: 0;
}

.apex-contact-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #4d5566;
    margin: 0;
    word-break: break-word;
}

.apex-contact-form-wrap {
    display: flex;
    align-items: stretch;
    gap: 48px;
}

.apex-contact-form-left,
.apex-contact-form-right {
    width: 50%;
}

.apex-contact-perks {
    margin: 24px 0 32px;
}

.apex-contact-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4d5566;
    font-size: 16px;
    margin-bottom: 12px;
}

.apex-contact-perks i {
    color: var(--clr-primary);
    font-size: 22px;
}

.apex-contact-form-img {
    border-radius: 28px;
    overflow: hidden;
    max-height: 280px;
}

.apex-contact-form-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apex-contact-form-panel {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 48px rgba(15, 34, 58, 0.08);
    height: 100%;
}

.apex-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.apex-form-span-2 {
    grid-column: span 2;
}

.apex-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: 8px;
}

.apex-form-control {
    width: 100%;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
    color: #374151;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.apex-form-control::placeholder {
    color: #9ca3af;
}

.apex-form-control:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(29, 67, 141, 0.12);
}

.apex-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231d438d' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.apex-form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.apex-contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.apex-contact-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--clr-primary);
}

.apex-contact-consent label {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #4b5563;
    cursor: pointer;
}

.apex-contact-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.apex-contact-page-form label.error {
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
}

.apex-contact-page-form .apex-form-control.error {
    border-color: #dc2626;
}

.book-counseller-form .form-textarea-group .form-field {
    min-height: 120px;
    resize: vertical;
}

.apex-contact-msg {
    margin-top: 16px;
    font-size: 15px;
    color: var(--clr-primary);
}

.apex-contact-msg.is-success {
    color: #1d7a46;
}

.apex-contact-msg.is-error {
    color: #dc2626;
}

/* Online application form */
.apex-apply-section {
    padding-bottom: 80px;
}

.apex-apply-intro {
    max-width: 720px;
    margin: 0 auto 40px;
}

.apex-apply-form-panel {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 60px rgba(15, 34, 58, 0.08);
}

.apex-apply-section-block {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #eef2f7;
}

.apex-apply-section-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.apex-apply-section-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.apex-apply-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8edf4 0%, #f0f4fa 100%);
    color: var(--clr-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.apex-apply-section-head h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--clr-primary);
    margin: 0 0 4px;
}

.apex-apply-section-head p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.apex-apply-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.apex-apply-grid .apex-form-span-2 {
    grid-column: span 2;
}

.apex-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
}

.apex-form-file {
    padding: 10px 14px;
    min-height: auto;
}

.apex-apply-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 8px;
}

.apex-apply-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
}

.apex-apply-radio input {
    accent-color: var(--clr-primary);
}

.apex-apply-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 36px;
}

.apex-apply-actions .button {
    min-width: 200px;
    justify-content: center;
}

.apex-apply-form .mt-2 {
    margin-top: 10px;
}

.apex-connect-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 48px;
    border-radius: 40px;
    background: linear-gradient(135deg, #e8edf4 0%, #f7f9fc 100%);
    border: 2px solid transparent;
    background-image: linear-gradient(#f7f9fc, #f7f9fc), linear-gradient(241deg, #c6d3e3, #ffffff, #dde5ee);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.apex-connect-content {
    max-width: 520px;
}

.apex-connect-content p {
    color: #4d5566;
    font-size: 16px;
    line-height: 1.6;
    margin: 16px 0 28px;
}

.apex-connect-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.apex-connect-buttons .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.apex-connect-image {
    max-width: 420px;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
}

.apex-connect-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact-hdr-sec .comm-para {
    margin-top: 16px;
}

.lacation-main-div .comm-para p.white-text {
    opacity: 0.9;
}

.apex-blog-meta {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 10px;
}

/* Homepage blog section */
.blogs-sec-wrap .f-row {
    row-gap: 32px;
}

.blogs-sec-wrap .f-col {
    margin-bottom: 0;
}

.blogs-sec-wrap .apex-home-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.blogs-sec-wrap .apex-home-blog-card .blogs-img {
    display: block;
    flex: 0 0 auto;
    height: 220px;
    margin-top: 0;
    padding: 14px 14px 0;
    overflow: hidden;
}

.blogs-sec-wrap .apex-home-blog-card .blogs-img img {
    border-radius: 20px;
}

.blogs-sec-wrap .apex-home-blog-card .blogs-dtl {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: auto;
    min-height: 200px;
    padding: 20px 24px 24px;
    gap: 14px;
    justify-content: flex-start;
}

.blogs-sec-wrap .apex-home-blog-card .blogs-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1 1 auto;
}

.blogs-sec-wrap .apex-home-blog-card .blogs-dtl .button {
    width: fit-content;
    margin: auto 0 0;
    align-self: flex-start;
}

.blogs-sec-wrap > .center-btn {
    margin-top: 48px;
    clear: both;
    position: relative;
    z-index: 2;
}

.blogs-title a {
    color: inherit;
    text-decoration: none;
}

.blogs-title a:hover {
    color: var(--clr-primary);
}

.apex-blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.apex-blog-pagination a,
.apex-blog-pagination span {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--clr-lBlue);
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 500;
}

.apex-blog-pagination a.active,
.apex-blog-pagination a:hover {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}

.apex-blog-pagination span.disabled {
    opacity: 0.4;
}

.apex-univ-hero {
    padding-bottom: 24px;
}

.apex-univ-hero-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 40px;
    align-items: center;
    margin-top: 12px;
}

.apex-univ-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 52, 96, 0.08);
    color: var(--clr-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.apex-univ-hero-title {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 500;
    color: #111827;
    margin: 0 0 18px;
    max-width: 640px;
}

.apex-univ-hero-text {
    max-width: 620px;
}

.apex-univ-hero-text p {
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
}

.apex-univ-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 30px;
}

.apex-univ-stat {
    min-width: 150px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 52, 96, 0.08);
    box-shadow: 0 10px 30px rgba(15, 52, 96, 0.06);
}

.apex-univ-stat strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    color: var(--clr-primary);
    margin-bottom: 4px;
}

.apex-univ-stat span {
    display: block;
    font-size: 13px;
    color: #6b7280;
}

.apex-univ-hero-search {
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 560px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 52, 96, 0.08);
    box-shadow: 0 16px 40px rgba(15, 52, 96, 0.08);
}

.apex-univ-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.apex-univ-search-field i {
    color: var(--clr-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.apex-univ-search-field .form-field {
    border: 0;
    background: transparent;
    padding: 16px 0;
    width: 100%;
    box-shadow: none;
    height: auto;
}

.apex-univ-search-field .form-field:focus {
    outline: none;
}

.apex-univ-hero-search .button {
    min-width: 130px;
    border-radius: 12px;
    margin: 0;
}

.apex-univ-hero-visual {
    position: relative;
}

.apex-univ-hero-card {
    position: relative;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
    border: 1px solid rgba(15, 52, 96, 0.08);
    box-shadow: 0 24px 60px rgba(15, 52, 96, 0.12);
    overflow: hidden;
}

.apex-univ-hero-card::before {
    content: "";
    position: absolute;
    inset: auto -20% -30% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.18) 0%, rgba(244, 114, 182, 0) 70%);
    pointer-events: none;
}

.apex-univ-hero-card::after {
    content: "";
    position: absolute;
    inset: -20% auto auto -10%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.16) 0%, rgba(52, 211, 153, 0) 70%);
    pointer-events: none;
}

.apex-univ-hero-card-label {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.apex-univ-hero-logo-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.apex-univ-hero-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 16px 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.apex-univ-hero-logo-item:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 52, 96, 0.18);
    box-shadow: 0 12px 24px rgba(15, 52, 96, 0.08);
}

.apex-univ-hero-logo-item img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
}

.apex-univ-listing-section {
    padding-top: 20px;
}

.apex-univ-country-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}

.apex-univ-country-tabs a {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--clr-lBlue);
    color: var(--clr-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.apex-univ-country-tabs a:hover,
.apex-univ-country-tabs a.active {
    background: var(--clr-primary);
    color: #fff;
    border-color: var(--clr-primary);
}

.apex-univ-listing .partner-logo.apex-univ-card,
.apex-univ-card-link-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 16px;
    text-decoration: none;
    color: inherit;
}

.apex-univ-card-link-wrap:hover .apex-univ-card-name {
    color: var(--clr-primary);
}

.apex-univ-profile {
    max-width: 1100px;
    margin: 0 auto;
}

.apex-univ-profile-head {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.apex-univ-profile-logo {
    flex: 0 0 180px;
    max-width: 180px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apex-univ-profile-logo img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.apex-univ-profile-intro {
    flex: 1;
    min-width: 260px;
}

.apex-univ-profile-location {
    color: #6b7280;
    margin: 8px 0 20px;
    font-size: 16px;
}

.apex-univ-profile-grid {
    gap: 24px;
    margin-bottom: 48px;
}

.apex-univ-info-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 28px;
    height: 100%;
}

.apex-univ-info-card + .apex-univ-info-card {
    margin-top: 24px;
}

.apex-univ-thumb-card img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.apex-univ-section-title {
    font-size: 20px;
    margin: 0 0 20px;
    color: var(--clr-primary);
}

.apex-univ-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.apex-univ-info-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.apex-univ-info-list li:last-child {
    border-bottom: 0;
}

.apex-univ-info-list strong {
    flex: 0 0 140px;
    color: #374151;
}

.apex-univ-info-list span {
    text-align: right;
    color: #6b7280;
}

.apex-univ-info-list a {
    color: var(--clr-primary);
    text-decoration: none;
}

.apex-univ-courses-wrap,
.apex-univ-related-wrap {
    margin-top: 48px;
}

.apex-univ-courses-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.apex-univ-courses-table th,
.apex-univ-courses-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.apex-univ-courses-table th {
    background: #f8fafc;
    color: var(--clr-primary);
    font-weight: 600;
}

.apex-univ-courses-table tr:last-child td {
    border-bottom: 0;
}

.apex-univ-cta-card .button.line {
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

@media (max-width: 768px) {
    .apex-univ-profile-head {
        flex-direction: column;
        text-align: center;
    }

    .apex-univ-profile-intro .hero-btns {
        justify-content: center;
    }

    .apex-univ-info-list li {
        flex-direction: column;
        gap: 4px;
    }

    .apex-univ-info-list span {
        text-align: left;
    }

    .apex-univ-hero-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .apex-univ-hero-search {
        flex-direction: column;
        max-width: none;
    }

    .apex-univ-hero-search .button {
        width: 100%;
    }

    .apex-univ-hero-stats {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.apex-univ-card-meta {
    padding: 14px 12px 0;
    text-align: center;
}

.apex-univ-card-name {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--clr-primary);
    margin: 0 0 6px;
}

.apex-univ-card-country {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* Course detail & listing pages */
.apex-course-profile {
    max-width: 1100px;
    margin: 0 auto;
}

.apex-course-hero-img {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid #e5e7eb;
}

.apex-course-hero-img img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    display: block;
}

.apex-course-degree-badge {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--clr-primary);
    font-size: 14px;
    font-weight: 600;
}

.apex-univ-profile-location a {
    color: var(--clr-primary);
    text-decoration: none;
}

.apex-univ-profile-location a:hover {
    text-decoration: underline;
}

.apex-course-scholarship-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.apex-course-scholarship-note p {
    margin: 8px 0 0;
    color: #6b7280;
    line-height: 1.6;
}

.apex-course-university-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 16px;
}

.apex-course-university-link img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.apex-course-university-link h3 {
    font-size: 17px;
    margin: 0 0 4px;
    color: var(--clr-primary);
}

.apex-course-university-link p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.apex-course-tuition-note {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.apex-course-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.apex-related-courses {
    clear: both;
    width: 100%;
    padding-top: 48px;
    border-top: 1px solid #e5e7eb;
}

.apex-related-courses-title {
    margin-bottom: 28px;
    text-align: left;
}

.apex-related-course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.apex-related-course-card:hover {
    box-shadow: 0 12px 32px rgba(15, 34, 58, 0.1);
    transform: translateY(-3px);
}

.apex-related-course-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
}

.apex-related-course-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apex-related-course-card-body {
    padding: 16px 18px 20px;
    flex: 1 1 auto;
}

.apex-related-course-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: var(--clr-secndry);
    line-height: 1.35;
}

.apex-related-course-card-body > p {
    margin: 6px 0 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.apex-course-listing .f-row {
    row-gap: 30px;
}

.apex-course-card-university {
    margin: 6px 0 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.apex-course-table-link {
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 500;
}

.apex-course-table-link:hover {
    text-decoration: underline;
}

.apex-course-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.apex-course-pagination nav {
    width: 100%;
}

.apex-course-listing {
    margin-top: 8px;
}

.apex-course-card-country {
    margin: 4px 0 0;
    font-size: 12px;
    color: #9ca3af;
}

.apex-course-hero-card {
    min-height: 280px;
}

.apex-course-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.apex-course-hero-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apex-course-hero-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.apex-course-hero-item img {
    width: 100%;
    height: 72px;
    object-fit: cover;
    display: block;
}

/* Blog listing hero */
.apex-blog-hero-search {
    max-width: 100%;
}

.apex-blog-hero-search-inner {
    display: flex;
    align-items: stretch;
    gap: 12px;
    max-width: 560px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 34, 58, 0.06);
}

.apex-blog-hero-category {
    flex: 0 0 190px;
    min-width: 0;
}

.apex-blog-category-select {
    width: 100%;
    height: 100%;
    min-height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 36px 0 14px;
    font-size: 14px;
    color: var(--clr-primary);
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231d438d' d='M1.41 0 6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    cursor: pointer;
}

.apex-blog-hero-search-inner .apex-univ-search-field {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
}

.apex-blog-hero-search-inner .button {
    flex: 0 0 auto;
    align-self: stretch;
    min-height: 48px;
    padding-inline: 24px;
    white-space: nowrap;
}

.apex-blog-hero-card {
    min-height: 280px;
}

.apex-blog-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.apex-blog-hero-item {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apex-blog-hero-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.apex-blog-hero-item img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .apex-blog-hero-search-inner {
        max-width: none;
        flex-wrap: wrap;
    }

    .apex-blog-hero-category {
        flex: 1 1 100%;
    }

    .apex-blog-hero-search-inner .apex-univ-search-field {
        flex: 1 1 calc(100% - 120px);
    }

    .apex-blog-hero-search-inner .button {
        flex: 0 0 100%;
        width: 100%;
    }
}

.apex-blog-cta {
    margin-top: 48px;
    padding: 40px;
    border-radius: 32px;
    background: #e8edf4;
    text-align: center;
}

/* Blog detail page */
.apex-blog-detail-section {
    padding-top: 0;
}

.apex-blog-detail {
    max-width: 1100px;
    margin: 0 auto;
}

.apex-blog-detail-hero {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid #e5e7eb;
    aspect-ratio: 21 / 9;
    background: #f3f4f6;
}

.apex-blog-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.apex-blog-detail-intro {
    margin-bottom: 36px;
}

.apex-blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #6b7280;
}

.apex-blog-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--clr-primary);
    font-size: 13px;
    font-weight: 600;
}

.apex-blog-detail-title {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    color: var(--clr-secndry);
    margin: 0 0 16px;
    font-weight: 600;
}

.apex-blog-detail-excerpt {
    font-size: 18px;
    line-height: 1.65;
    color: #6b7280;
    margin: 0;
    max-width: 820px;
}

.apex-blog-detail-grid {
    gap: 32px;
    align-items: flex-start;
}

.apex-blog-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--header-height, 88px) + 24px);
}

.apex-blog-detail-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px 36px;
}

.apex-blog-detail-content.blog-content p {
    margin: 0 0 1.25rem;
    font-size: 17px;
    line-height: 1.75;
    color: #374151;
    text-align: left;
}

.apex-blog-detail-content.blog-content p:last-child {
    margin-bottom: 0;
}

.apex-blog-detail-content.blog-content h2,
.apex-blog-detail-content.blog-content h3,
.apex-blog-detail-content.blog-content h4 {
    color: var(--clr-primary);
    font-weight: 600;
    line-height: 1.35;
    margin: 2rem 0 1rem;
}

.apex-blog-detail-content.blog-content h2 {
    font-size: 26px;
}

.apex-blog-detail-content.blog-content h3,
.apex-blog-detail-content.blog-content h4 {
    font-size: 22px;
}

.apex-blog-detail-content.blog-content h2:first-child,
.apex-blog-detail-content.blog-content h3:first-child,
.apex-blog-detail-content.blog-content h4:first-child {
    margin-top: 0;
}

.apex-blog-detail-content.blog-content ul,
.apex-blog-detail-content.blog-content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.4rem;
    color: #374151;
}

.apex-blog-detail-content.blog-content li {
    margin: 0.5rem 0;
    font-size: 17px;
    line-height: 1.7;
}

.apex-blog-detail-content.blog-content li p {
    margin: 0.5rem 0;
}

.apex-blog-detail-content.blog-content a {
    color: var(--clr-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.apex-blog-detail-content.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5rem 0;
}

.apex-blog-detail-content.blog-content blockquote {
    margin: 1.5rem 0;
    padding: 16px 20px;
    border-left: 4px solid var(--clr-primary);
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    color: #4b5563;
}

.apex-blog-detail-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.apex-blog-detail-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 500;
}

.apex-blog-detail-links a:hover {
    text-decoration: underline;
}

.apex-blog-detail-bottom-cta .hero-btns {
    justify-content: center;
}

.apex-blog-related-section .blogs-sec-wrap {
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .apex-blog-detail-sidebar {
        position: static;
    }

    .apex-blog-detail-content {
        padding: 24px;
    }

    .apex-blog-detail-hero {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {
    .apex-blog-detail-meta {
        gap: 8px 12px;
    }

    .apex-blog-detail-excerpt {
        font-size: 16px;
    }

    .apex-blog-cta {
        padding: 28px 20px;
    }

    .apex-blog-detail-bottom-cta .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .apex-blog-detail-bottom-cta .hero-btns .button {
        width: 100%;
        justify-content: center;
    }
}

.why-left a {
    color: var(--clr-primary);
    text-decoration: underline;
}

.moreabout-dtl-points a {
    color: var(--clr-primary);
}

.inner-hero.inner-hero-2 {
    padding-bottom: 40px;
}

.accordion .pera a {
    color: var(--clr-primary);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    :root {
        --header-height: 74px;
    }

    .apex-contact-form-wrap,
    .apex-connect-wrap {
        flex-direction: column;
    }

    .apex-contact-form-left,
    .apex-contact-form-right,
    .apex-connect-content,
    .apex-connect-image {
        width: 100%;
        max-width: 100%;
    }

    .apex-contact-form-img {
        max-height: 220px;
    }

    .apex-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .apex-form-span-2 {
        grid-column: span 1;
    }

    .apex-contact-form-panel {
        padding: 24px 20px;
    }

    .apex-apply-form-panel {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .apex-apply-grid {
        grid-template-columns: 1fr;
    }

    .apex-apply-grid .apex-form-span-2 {
        grid-column: span 1;
    }

    .apex-apply-actions {
        flex-direction: column;
    }

    .apex-apply-actions .button {
        width: 100%;
    }

    .apex-connect-wrap {
        padding: 32px 24px;
    }

    .home-hero-wrapper {
        padding: 0 0 56px;
    }

    .home-hero {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 32px;
        min-height: 0;
    }

    .home-hero .hero-right {
        order: -1;
        margin-top: 0 !important;
        max-width: 100%;
        flex: 0 0 auto;
    }

    .home-hero .hero-left {
        flex: 0 0 auto;
        width: 100%;
    }

    .hero-title-txt {
        font-size: clamp(26px, 5vw, 34px);
    }

    .hero-title-txt::before {
        left: 0;
        top: -28px;
    }

    #removePadding.comm-section {
        padding: 24px 0 40px !important;
    }
}

@media (max-width: 834px) {
    .home-hero {
        margin-bottom: 24px !important;
    }

    .hero-right {
        max-width: 100% !important;
    }
}

.story-vdo img {
    object-fit: contain;
    background: #fff;
}

@media (max-width: 576px) {
    .hero-btns .button {
        width: 100%;
        justify-content: center;
    }

    .hero-title-txt {
        font-size: clamp(22px, 6vw, 28px);
        line-height: 1.35;
    }
}
