/* =====================================================
   TOPA — Modern Axion-inspired Theme (RTL)
   ===================================================== */

@font-face {
    font-family: 'RB';
    src: url('fonts/RB-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RB';
    src: url('fonts/RB-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RB';
    src: url('fonts/RB-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Global RB font stack */
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
label,
button,
input,
textarea,
select,
.elementor-widget-text-editor,
.elementor-heading-title,
.elementor-button-text,
.menu-item a,
.sub-menu a {
    font-family: 'RB', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Preserve icon fonts */
i.fas,
i.far,
i.fab,
i.fal,
.fa,
.fas,
.far,
.fab,
.fal,
.fad,
[class*="fa-"] {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands', 'Font Awesome 5 Free', 'FontAwesome' !important;
}

#topa-admissify-header-root,
#topa-hero-standalone-root,
.axion-top-bar,
.axion-header,
.axion-hero,
.axion-mobile-menu,
.axion-top-bar *,
.axion-header *,
.axion-hero *,
.axion-mobile-menu * {
    box-sizing: border-box;
}

/* =====================================================
   Top bar (ticker)
   ===================================================== */
.axion-top-bar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1001;
    height: 34px;
    background: #F3F4F6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    font-family: 'RB', 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #4B5563;
}

.axion-top-bar-track {
    display: flex;
    white-space: nowrap;
    animation: axionTopBarMarquee 40s linear infinite;
    will-change: transform;
}

.axion-top-bar-content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-right: 40px;
    padding-left: 40px;
}

.axion-top-bar i {
    font-size: 12px;
    color: #6B7280;
}

.axion-top-bar a {
    color: #111827;
    text-decoration: none;
    font-weight: 700;
    padding: 0 6px;
}

.axion-top-bar a:hover {
    color: #F26522;
}

@keyframes axionTopBarMarquee {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 1023px) {
    .axion-top-bar {
        display: none;
    }
}

/* =====================================================
   Header
   ===================================================== */
.axion-header {
    position: absolute;
    top: 34px;
    right: 0;
    left: 0;
    z-index: 1002;
    direction: rtl;
    padding: 14px 16px;
    font-family: 'RB', 'Cairo', sans-serif;
}

@media (max-width: 1023px) {
    .axion-header {
        top: 0;
        padding: 10px 12px;
    }
}

.axion-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    background: #ffffff;
    border-radius: 9999px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Logo */
.axion-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: #111827;
    border-radius: 50%;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s ease;
}

@media (min-width: 1024px) {
    .axion-logo {
        width: 46px;
        height: 46px;
    }
}

.axion-logo:hover {
    transform: scale(1.05);
}

.axion-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Desktop nav */
.axion-desktop-nav {
    display: none;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.axion-nav-list,
.axion-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.axion-mobile-nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

@media (min-width: 1280px) {
    .axion-nav-list {
        gap: 12px;
    }
}

.axion-nav-list > li {
    position: static;
    display: flex;
    align-items: center;
}

.axion-nav-list a,
.axion-mobile-nav-list a {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #1F2937;
    text-decoration: none;
    padding: 9px 10px;
    border-radius: 9999px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.axion-nav-list > li > a:hover,
.axion-nav-list > li > a:focus,
.axion-nav-list > li.current-menu-item > a,
.axion-nav-list > li.current_page_item > a,
.axion-nav-list > li.current-menu-ancestor > a {
    color: #F26522;
    background: rgba(242, 101, 34, 0.05);
    border-bottom-color: #F26522;
    transform: translateY(-1px);
}

/* Hide nav icons for clean look */
.topa-menu-item-icon {
    display: none !important;
}

/* Desktop toggle for mega menu */
button.topa-desktop-toggle[type="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    color: #6B7280;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    margin-right: 2px;
    margin-left: -6px;
    padding: 0;
    transition: transform 0.3s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

button.topa-desktop-toggle[type="button"]:hover {
    background: #ffffff;
    border-color: #F26522;
    color: #F26522;
}

.axion-nav-list > li.mega-open > button.topa-desktop-toggle[type="button"] {
    transform: rotate(-180deg);
    background: #F26522;
    border-color: #F26522;
    color: #ffffff;
}

/* L3 toggle inside mega menu (reveals L4) */
button.topa-sub-toggle[type="button"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    color: #6B7280;
    border-radius: 50%;
    cursor: pointer;
    font-size: 9px;
    margin-right: 6px;
    padding: 0;
    vertical-align: middle;
    transition: transform 0.3s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

button.topa-sub-toggle[type="button"]:hover {
    background: #ffffff;
    border-color: #F26522;
    color: #F26522;
}

.axion-nav-list .sub-menu .sub-menu li.sub-open > button.topa-sub-toggle[type="button"] {
    transform: rotate(-180deg);
    background: #F26522;
    border-color: #F26522;
    color: #ffffff;
}

.axion-mobile-nav-list a {
    padding: 6px 0;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0;
    background: transparent;
    border-bottom: none;
}

/* =====================================================
   Mega Menu — full width animated panel
   ===================================================== */
.axion-nav-list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

/* Top level mega panel — fixed below the pill header */
.axion-nav-list > li > .sub-menu {
    position: fixed;
    top: 106px;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    grid-auto-flow: row dense;
    align-content: start;
    gap: 12px;
    padding: 18px 24px 22px;
    width: 100%;
    max-width: 1100px;
    max-height: calc(100vh - 130px);
    margin: 0;
    background: #ffffff;
    border-radius: 0 0 18px 18px;
    border-top: 3px solid #F26522;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    z-index: 1100;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.98);
    pointer-events: none;
    transform-origin: top center;
    transition: visibility 0.25s ease, opacity 0.25s ease, transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.axion-nav-list > li > .sub-menu::-webkit-scrollbar {
    display: none;
}

.axion-nav-list > li.mega-open > .sub-menu,
.axion-nav-list > li > .sub-menu.mega-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

/* Columns (L2) */
.axion-nav-list > li > .sub-menu > li {
    padding: 14px 16px;
    border-right: 1px solid rgba(0, 0, 0, 0.04);
    background: rgba(249, 250, 251, 0.35);
    border-radius: 10px;
}

.axion-nav-list > li > .sub-menu > li:last-child {
    border-right: none;
}

.axion-nav-list > li > .sub-menu > li > a {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1F2937;
    padding: 0 0 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #F26522;
    border-radius: 0;
    background: transparent !important;
}

.axion-nav-list > li > .sub-menu > li > a:hover {
    color: #F26522;
    background: transparent !important;
}

/* L3 list inside mega */
.axion-nav-list .sub-menu .sub-menu {
    display: block;
    box-shadow: none;
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 4px;
}

/* L3 items have a toggle if they have children */
.axion-nav-list .sub-menu .sub-menu > li {
    position: relative;
}

.axion-nav-list .sub-menu .sub-menu a {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #4B5563;
    padding: 5px 0;
    border-radius: 0;
    background: transparent !important;
    transition: color 0.2s ease, padding 0.2s ease;
    line-height: 1.45;
    max-width: calc(100% - 28px);
}

.axion-nav-list .sub-menu .sub-menu a:hover {
    color: #F26522;
    background: transparent !important;
    padding-right: 4px;
}

/* L4 is hidden by default in mega */
.axion-nav-list .sub-menu .sub-menu .sub-menu {
    display: none;
    margin-right: 14px;
    padding-right: 10px;
    border-right: 1px dashed #e5e7eb;
    margin-top: 6px;
    margin-bottom: 8px;
}

.axion-nav-list .sub-menu .sub-menu li.sub-open > .sub-menu {
    display: block;
}

/* L4 links */
.axion-nav-list .sub-menu .sub-menu .sub-menu a {
    display: block;
    font-size: 12px;
    color: #6B7280;
    padding: 5px 0;
}

/* Header right / CTA */
.axion-header-right {
    display: none;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.axion-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 9999px;
    padding: 10px 10px 10px 22px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.axion-cta-btn:hover {
    transform: translateY(-2px);
}

.axion-text-roll {
    display: block;
    height: 20px;
    overflow: hidden;
}

.axion-text-roll-inner {
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.axion-cta-btn:hover .axion-text-roll-inner,
.axion-cta-btn:focus .axion-text-roll-inner {
    transform: translateY(-50%);
}

.axion-text-roll-inner span {
    display: block;
    height: 20px;
    line-height: 20px;
    white-space: nowrap;
}

.axion-arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    color: #111827;
    font-size: 12px;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    flex-shrink: 0;
}

.axion-cta-btn:hover .axion-arrow-circle,
.axion-cta-btn:focus .axion-arrow-circle {
    transform: rotate(-45deg);
}

/* CTA variants */
.axion-cta-btn--orange {
    background: #F97316;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.axion-cta-btn--orange .axion-arrow-circle {
    background: #ffffff;
    color: #F97316;
}

.axion-cta-btn--orange:hover {
    background: #e06513;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.axion-cta-btn--dark {
    background: #111827;
    color: #ffffff;
}

.axion-cta-btn--dark .axion-arrow-circle {
    background: #ffffff;
    color: #111827;
}

.axion-cta-btn--dark:hover {
    background: #374151;
}

.axion-cta-btn--white {
    background: #ffffff;
    color: #1F2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.axion-cta-btn--white:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Mobile toggle */
button.axion-mobile-toggle[type="button"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #111827;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    button.axion-mobile-toggle[type="button"] {
        display: none;
    }

    .axion-desktop-nav {
        display: flex;
    }

    .axion-header-right {
        display: flex;
    }
}

/* =====================================================
   Mobile menu overlay + bottom sheet
   ===================================================== */
.axion-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0s linear 0.5s;
    direction: rtl;
    font-family: 'RB', 'Cairo', sans-serif;
}

.axion-mobile-menu.open {
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
}

.axion-mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.axion-mobile-menu.open .axion-mobile-backdrop {
    opacity: 1;
}

.axion-mobile-sheet {
    position: absolute;
    right: 12px;
    left: 12px;
    bottom: 12px;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    transform: translateY(calc(100% + 24px));
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.axion-mobile-menu.open .axion-mobile-sheet {
    transform: translateY(0);
}

.axion-mobile-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

button.axion-mobile-close[type="button"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #f3f4f6;
    color: #111827;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
}

.axion-mobile-nav {
    margin-bottom: 24px;
}

.axion-mobile-nav-list li {
    position: relative;
    width: 100%;
}

.axion-mobile-nav-list li > a {
    display: block;
    padding-right: 48px;
    padding-left: 0;
}

.axion-mobile-nav-list .sub-menu li > a {
    padding-right: 40px;
    font-size: 15px;
    font-weight: 600;
    padding-top: 4px;
    padding-bottom: 4px;
}

.axion-mobile-nav-list .sub-menu .sub-menu li > a {
    padding-right: 36px;
    font-size: 14px;
    font-weight: 500;
}

.axion-mobile-nav-list .sub-menu {
    display: none;
    list-style: none;
    margin: 4px 0 8px;
    margin-right: 14px;
    box-shadow: none;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 8px 12px;
}

.axion-mobile-nav-list li.sub-open > .sub-menu {
    display: block !important;
}

.axion-mobile-nav-list .sub-menu .sub-menu {
    background: #f1f1f1;
}

/* Accordion toggle button */
button.topa-mobile-sub-toggle[type="button"] {
    position: absolute;
    top: 2px;
    right: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #E5E7EB !important;
    background: #F9FAFB !important;
    color: #6B7280 !important;
    border-radius: 50% !important;
    cursor: pointer;
    font-size: 12px;
    padding: 0 !important;
    transition: transform 0.3s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

button.topa-mobile-sub-toggle[type="button"]:hover {
    border-color: #F26522 !important;
    color: #F26522 !important;
    background: #ffffff !important;
}

button.topa-mobile-sub-toggle[type="button"].active {
    transform: rotate(-180deg);
    background: #F26522 !important;
    border-color: #F26522 !important;
    color: #ffffff !important;
}

.axion-mobile-cta {
    width: 100%;
    justify-content: space-between;
    padding: 14px 14px 14px 24px;
    font-size: 16px;
}

/* =====================================================
   Hero
   ===================================================== */
.axion-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 75vh;
    width: 100%;
    padding-top: 120px;
    padding-bottom: 80px;
    background: #EFEFEF;
    color: #1F2937;
    direction: rtl;
    text-align: right;
    overflow: hidden;
    font-family: 'RB', 'Cairo', sans-serif;
}

@media (max-width: 1023px) {
    .axion-hero {
        padding-top: 100px;
        min-height: 70vh;
    }
}

/* Image slideshow behind the hero */
.axion-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.axion-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    transform: none;
    transition: none;
    pointer-events: none;
}

.axion-hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 767px) {
    .axion-hero-slide {
        object-position: center 20%;
    }
}

/* Soft overlay above the images for readable text */
.axion-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 15% 25%, rgba(242, 101, 34, 0.08), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(179, 125, 53, 0.08), transparent 32%),
        radial-gradient(circle at 70% 85%, rgba(242, 101, 34, 0.06), transparent 30%),
        radial-gradient(circle at 25% 80%, rgba(179, 125, 53, 0.06), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.35) 100%);
    background-size: 140% 140%;
    animation: axionMeshMove 22s ease-in-out infinite;
    pointer-events: none;
}

.axion-hero::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50%;
    height: 60%;
    z-index: 1;
    background: radial-gradient(circle, rgba(179, 125, 53, 0.05), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    border-radius: 50%;
}

@keyframes axionMeshMove {
    0% { background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%; }
    50% { background-position: 20% 20%, 80% 10%, 80% 80%, 15% 75%, 100% 100%; }
    100% { background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%; }
}

.axion-hero-inner {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 24px 24px;
}

@media (min-width: 640px) {
    .axion-hero-inner {
        padding: 40px 36px 36px;
    }
}

@media (min-width: 1024px) {
    .axion-hero-inner {
        padding: 48px 52px 52px;
    }
}

.axion-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #B37D35;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(179, 125, 53, 0.25);
    border-radius: 9999px;
    padding: 8px 18px;
    margin: 0 0 22px;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(179, 125, 53, 0.08);
}

.axion-hero-badge i {
    color: #F26522;
    font-size: 14px;
}

.axion-hero-label {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
    letter-spacing: 0.05em;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.axion-hero-title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1F2937;
    margin: 0 auto 22px;
    max-width: 850px;
}

@media (min-width: 640px) {
    .axion-hero-title {
        font-size: clamp(2.8rem, 5vw, 4.2rem);
    }
}

.axion-gold {
    color: #B37D35;
    font-weight: 800;
}

.axion-hero-desc {
    font-size: 17px;
    line-height: 1.75;
    color: #4B5563;
    max-width: 620px;
    margin: 0 auto 32px;
    font-weight: 400;
}

@media (min-width: 640px) {
    .axion-hero-desc {
        font-size: 20px;
    }
}

.axion-hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

@media (min-width: 640px) {
    .axion-hero-cta-row {
        flex-direction: row;
        align-items: center;
        gap: 18px;
    }
}

.axion-hero-cta-primary {
    font-size: 14px;
    padding: 14px 14px 14px 26px;
    background: #F97316;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.axion-hero-cta-primary:hover {
    background: #e06513;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.axion-hero-cta-primary .axion-arrow-circle {
    width: 34px;
    height: 34px;
    font-size: 15px;
}

.axion-hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 20px;
    border-radius: 9999px;
    background: transparent;
    color: #1F2937;
    text-decoration: none;
    border: 1px solid #D1D5DB;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.axion-hero-cta-secondary:hover,
.axion-hero-cta-secondary:focus {
    background: #ffffff;
    border-color: #F26522;
    color: #F26522;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.axion-hero-cta-secondary i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.axion-hero-cta-secondary:hover i {
    transform: translateX(-4px);
}

/* Hero quick-link cards */
.axion-hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 48px;
    width: 100%;
    max-width: 860px;
}

@media (min-width: 768px) {
    .axion-hero-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin-top: 56px;
    }
}

.axion-hero-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 14px 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(179, 125, 53, 0.14);
    border-radius: 16px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.axion-hero-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: rgba(242, 101, 34, 0.45);
    box-shadow: 0 12px 28px rgba(242, 101, 34, 0.14);
}

.axion-hero-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.12), rgba(179, 125, 53, 0.12));
    color: #F26522;
    font-size: 18px;
    margin-bottom: 4px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.axion-hero-card:hover .axion-hero-card-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, #F26522, #B37D35);
    color: #ffffff;
}

.axion-hero-card-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #1F2937;
}

.axion-hero-card-sub {
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    line-height: 1.5;
}

/* Hide old header/hero pieces when Axion classes are active */
.topa-main-bar,
.topa-nav-bar,
.topa-hero-slideshow,
.topa-hero-slide,
#topa-drawer-overlay,
#topa-mobile-drawer {
    display: none !important;
}

/* Make only the hero Elementor wrapper transparent so background shows through */
.elementor-element-topa_hero_container,
.elementor-element-topa_hero_container > .e-con-inner,
.elementor-element-topa_hero_container .elementor-widget-container,
.elementor-element-topa_hero_container .elementor-shortcode {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Ensure axion-hero fills its container */
.elementor-shortcode .axion-hero {
    min-height: 75vh;
}

/* =====================================================
   Homepage content modules
   ===================================================== */
.axion-home-modules {
    padding: 80px 0 100px;
    background: #ffffff;
    font-family: 'RB', 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
}

.axion-home-modules-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.axion-home-modules-title {
    font-size: 28px;
    font-weight: 800;
    color: #1F2937;
    margin: 0 0 12px;
}

.axion-home-modules-sub {
    font-size: 15px;
    color: #6B7280;
    margin: 0 0 44px;
    max-width: 600px;
}

.axion-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.axion-home-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.axion-home-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    border-color: #F26522;
}

.axion-home-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #FDF2E9;
    color: #F26522;
    font-size: 24px;
}

.axion-home-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #1F2937;
    margin: 0 0 8px;
}

.axion-home-card-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.65;
    margin: 0 0 8px;
    flex: 1;
}

.axion-home-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #F26522;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.axion-home-card-link:hover {
    gap: 12px;
}

@media (max-width: 768px) {
    .axion-home-modules {
        padding: 48px 0 60px;
    }

    .axion-home-modules-title {
        font-size: 22px;
    }

    .axion-home-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Homepage content blocks
   ===================================================== */
.axion-content-blocks {
    padding: 80px 0 100px;
    background: #F3F4F6;
    font-family: 'RB', 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
}

.axion-content-blocks-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.axion-block {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.axion-block-title {
    font-size: 26px;
    font-weight: 800;
    color: #1F2937;
    margin: 0 0 16px;
}

.axion-block-text {
    font-size: 15px;
    line-height: 1.8;
    color: #6B7280;
    margin: 0 0 18px;
}

.axion-block-text strong {
    color: #1F2937;
}

.axion-block-link,
.axion-block-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #F26522;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.axion-block-link:hover,
.axion-block-cta:hover {
    gap: 12px;
}

.axion-block-cta {
    color: #B37D35;
}

/* About the platform */
.axion-about {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.axion-about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: linear-gradient(135deg, #F26522, #B37D35);
    color: #ffffff;
    font-size: 40px;
}

/* Latest reports/posts */
.axion-latest,
.axion-rankings {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.axion-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.axion-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.axion-latest-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.axion-latest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.axion-latest-thumb {
    position: relative;
    height: 180px;
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.axion-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.axion-latest-thumb-icon {
    font-size: 36px;
    color: #B37D35;
}

.axion-latest-meta {
    font-size: 12px;
    color: #B37D35;
    margin: 20px 20px 6px;
    font-weight: 700;
}

.axion-latest-title {
    font-size: 18px;
    font-weight: 800;
    color: #1F2937;
    margin: 0 20px 10px;
    line-height: 1.4;
}

.axion-latest-excerpt {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0 20px 24px;
    flex: 1;
}

.axion-latest-empty {
    color: #6B7280;
    font-size: 15px;
}

/* University rankings preview */
.axion-rankings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.axion-ranking-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    text-decoration: none;
    border: 1px solid #E5E7EB;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.axion-ranking-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    border-color: #F26522;
}

.axion-ranking-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #FDF2E9;
    color: #F26522;
    font-size: 22px;
    margin-bottom: 16px;
}

.axion-ranking-title {
    font-size: 18px;
    font-weight: 800;
    color: #1F2937;
    margin: 0 0 10px;
}

.axion-ranking-desc {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}

.axion-ranking-link {
    font-size: 14px;
    font-weight: 700;
    color: #B37D35;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Newsletter CTA */
.axion-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, #F26522, #B37D35);
    color: #ffffff;
    flex-wrap: wrap;
}

.axion-newsletter-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.axion-newsletter-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.axion-newsletter .axion-block-title,
.axion-newsletter .axion-block-text,
.axion-contact-banner .axion-block-title,
.axion-contact-banner .axion-block-text {
    color: #ffffff;
}

.axion-newsletter .axion-block-title,
.axion-contact-banner .axion-block-title {
    margin-bottom: 6px;
}

.axion-newsletter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 420px;
}

.axion-newsletter-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 9999px;
    font-family: 'RB', 'Cairo', sans-serif;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    outline: none;
}

.axion-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.axion-newsletter-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 9999px;
    background: #1F2937;
    color: #ffffff;
    font-family: 'RB', 'Cairo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.axion-newsletter-btn:hover {
    background: #111827;
}

/* Contact / CTA banner */
.axion-contact-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: #1F2937;
    color: #ffffff;
    flex-wrap: wrap;
}

.axion-contact-banner-text {
    flex: 1;
}

.axion-contact-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 9999px;
    background: #F26522;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.axion-contact-banner-btn:hover {
    background: #e0550d;
    transform: translateY(-2px);
}

/* Content blocks responsive */
@media (max-width: 1023px) {
    .axion-content-blocks {
        padding: 48px 0 64px;
    }

    .axion-content-blocks-inner {
        gap: 48px;
    }

    .axion-block {
        padding: 28px;
    }

    .axion-about {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .axion-about-icon {
        margin: 0 auto;
    }

    .axion-latest-grid,
    .axion-rankings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .axion-newsletter,
    .axion-contact-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .axion-newsletter-form {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .axion-latest-grid,
    .axion-rankings-grid {
        grid-template-columns: 1fr;
    }
}
