:root {
    --primary: #009e91;
    --primary-dark: #007a70;
    --secondary: #fd823b;
    --secondary-dark: #e06020;
    --ink: #0f172a;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
/* Firefox support */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f1f1f1;
}

.bg-primary {
    background-color: var(--primary);
}
.bg-primary-dark {
    background-color: var(--primary-dark);
}
.hover\:bg-primary-dark:hover {
    background-color: var(--primary-dark);
}
.bg-secondary {
    background-color: var(--secondary);
}
.bg-secondary-dark {
    background-color: var(--secondary-dark);
}
.hover\:bg-secondary-dark:hover {
    background-color: var(--secondary-dark);
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(0, 158, 145, 0.08);
    border: 1px solid rgba(0, 158, 145, 0.15);
    color: var(--primary);
    padding: 0.6rem 1.75rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.badge-premium i {
    font-size: 1.1rem;
}

.badge-premium:hover {
    background-color: rgba(0, 158, 145, 0.12);
    transform: translateY(-1px);
}

.btn-explorer-premium {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    margin: 1rem 0;
}

.btn-explorer-premium:hover {
    background-color: var(--primary-dark);
}

.btn-explorer-premium i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-explorer-premium:hover i {
    transform: translateX(-6px);
}
[dir="ltr"] .btn-explorer-premium:hover i {
    transform: translateX(6px);
}
[dir="ltr"] .btn-explorer-premium i {
    transform: scaleX(-1);
}
*,
::before,
::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:  ;
    --tw-pan-y:  ;
    --tw-pinch-zoom:  ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position:  ;
    --tw-gradient-via-position:  ;
    --tw-gradient-to-position:  ;
    --tw-ordinal:  ;
    --tw-slashed-zero:  ;
    --tw-numeric-figure:  ;
    --tw-numeric-spacing:  ;
    --tw-numeric-fraction:  ;
    --tw-ring-inset:  ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:  ;
    --tw-brightness:  ;
    --tw-contrast:  ;
    --tw-grayscale:  ;
    --tw-hue-rotate:  ;
    --tw-invert:  ;
    --tw-saturate:  ;
    --tw-sepia:  ;
    --tw-drop-shadow:  ;
    --tw-backdrop-blur:  ;
    --tw-backdrop-brightness:  ;
    --tw-backdrop-contrast:  ;
    --tw-backdrop-grayscale:  ;
    --tw-backdrop-hue-rotate:  ;
    --tw-backdrop-invert:  ;
    --tw-backdrop-opacity:  ;
    --tw-backdrop-saturate:  ;
    --tw-backdrop-sepia:  ;
    --tw-contain-size:  ;
    --tw-contain-layout:  ;
    --tw-contain-paint:  ;
    --tw-contain-style:  ;
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:  ;
    --tw-pan-y:  ;
    --tw-pinch-zoom:  ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position:  ;
    --tw-gradient-via-position:  ;
    --tw-gradient-to-position:  ;
    --tw-ordinal:  ;
    --tw-slashed-zero:  ;
    --tw-numeric-figure:  ;
    --tw-numeric-spacing:  ;
    --tw-numeric-fraction:  ;
    --tw-ring-inset:  ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:  ;
    --tw-brightness:  ;
    --tw-contrast:  ;
    --tw-grayscale:  ;
    --tw-hue-rotate:  ;
    --tw-invert:  ;
    --tw-saturate:  ;
    --tw-sepia:  ;
    --tw-drop-shadow:  ;
    --tw-backdrop-blur:  ;
    --tw-backdrop-brightness:  ;
    --tw-backdrop-contrast:  ;
    --tw-backdrop-grayscale:  ;
    --tw-backdrop-hue-rotate:  ;
    --tw-backdrop-invert:  ;
    --tw-backdrop-opacity:  ;
    --tw-backdrop-saturate:  ;
    --tw-backdrop-sepia:  ;
    --tw-contain-size:  ;
    --tw-contain-layout:  ;
    --tw-contain-paint:  ;
    --tw-contain-style:  ;
}

*,
::before,
::after {
    box-sizing: border-box;

    border-width: 0;

    border-style: solid;

    border-color: #e5e7eb;
}

::before,
::after {
    --tw-content: "";
}

html,
:host {
    line-height: 1.5;

    -webkit-text-size-adjust: 100%;

    -moz-tab-size: 4;

    -o-tab-size: 4;
    tab-size: 4;

    font-family:
        ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

    font-feature-settings: normal;

    font-variation-settings: normal;

    -webkit-tap-highlight-color: transparent;
}

body {
    overflow-x: hidden;
    margin: 0;

    line-height: inherit;
}

hr {
    height: 0;

    color: inherit;

    border-top-width: 1px;
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: inherit;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp,
pre {
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;

    font-feature-settings: normal;

    font-variation-settings: normal;

    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

table {
    text-indent: 0;

    border-color: inherit;

    border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;

    font-feature-settings: inherit;

    font-variation-settings: inherit;

    font-size: 100%;

    font-weight: inherit;

    line-height: inherit;

    letter-spacing: inherit;

    color: inherit;

    margin: 0;

    padding: 0;
}

button,
select {
    text-transform: none;
}

button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
    -webkit-appearance: button;

    background-color: transparent;

    background-image: none;
}

:-moz-focusring {
    outline: auto;
}

:-moz-ui-invalid {
    box-shadow: none;
}

progress {
    vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;

    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;

    font: inherit;
}

summary {
    display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

dialog {
    padding: 0;
}

textarea {
    resize: vertical;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: 1;

    color: #9ca3af;
}

input::placeholder,
textarea::placeholder {
    opacity: 1;

    color: #9ca3af;
}

button,
[role="button"] {
    cursor: pointer;
}

:disabled {
    cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;

    vertical-align: middle;
}

img,
video {
    max-width: 100%;
    height: auto;
}

[hidden]:where(:not([hidden="until-found"])) {
    display: none;
}

.visible {
    visibility: visible;
}

.invisible {
    visibility: hidden;
}

.absolute {
    position: absolute;
    width: 100%;
}

.relative {
    position: relative;
}

.sticky {
    position: sticky;
}

.left-0 {
    left: 0px;
}

.right-0 {
    right: 0px;
}

.top-0 {
    top: 0px;
}

.top-full {
    top: 100%;
}

.z-50 {
    z-index: 50;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mt-0 {
    margin-top: 0px;
}

.mt-1 {
    margin-top: 0.25rem;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.hidden {
    display: none;
}

.h-10 {
    height: 2.5rem;
}

.h-24 {
    height: 6rem;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.w-48 {
    width: 12rem;
}

.w-56 {
    width: 14rem;
}

.w-64 {
    width: 16rem;
}

.w-auto {
    width: auto;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.translate-y-0 {
    --tw-translate-y: 0px;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y))
        rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
        scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-2 {
    --tw-translate-y: 0.5rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y))
        rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
        scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y))
        rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
        scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.space-x-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(1rem * var(--tw-space-x-reverse));
    margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.space-x-reverse > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 1;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-b-lg {
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.border-b {
    border-bottom-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-t-2 {
    border-top-width: 2px;
}

.border-gray-100 {
    --tw-border-opacity: 1;
    border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.border-primary {
    --tw-border-opacity: 1;
    border-color: rgb(0 158 145 / var(--tw-border-opacity, 1));
}

.bg-gray-50 {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.bg-primary {
    --tw-bg-opacity: 1;
    background-color: rgb(0 158 145 / var(--tw-bg-opacity, 1));
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.object-contain {
    -o-object-fit: contain;
    object-fit: contain;
}

.p-2 {
    padding: 0.5rem;
}

.px-1 {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.mb-10 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.font-cairo {
    font-family: Cairo, sans-serif;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-\[8px\] {
    font-size: 8px;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
    --tw-text-opacity: 1;
    color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.text-primary {
    --tw-text-opacity: 1;
    color: rgb(0 158 145 / var(--tw-text-opacity, 1));
}

.text-secondary {
    color: var(--secondary);
}

.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.shadow-sm {
    --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
    box-shadow:
        var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-xl {
    --tw-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --tw-shadow-colored:
        0 20px 25px -5px var(--tw-shadow-color),
        0 8px 10px -6px var(--tw-shadow-color);
    box-shadow:
        var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property:
        color, background-color, border-color, text-decoration-color, fill,
        stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.hover\:bg-gray-50:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}

.hover\:bg-primary:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(0 158 145 / var(--tw-bg-opacity, 1));
}

.hover\:bg-primary-dark:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(0 122 112 / var(--tw-bg-opacity, 1));
}

.hover\:text-primary:hover {
    --tw-text-opacity: 1;
    color: rgb(0 158 145 / var(--tw-text-opacity, 1));
}

.hover\:shadow-md:hover {
    --tw-shadow:
        0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --tw-shadow-colored:
        0 4px 6px -1px var(--tw-shadow-color),
        0 2px 4px -2px var(--tw-shadow-color);
    box-shadow:
        var(--tw-ring-offset-shadow, 0 0 #0000),
        var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.group:hover .group-hover\:text-primary {
    --tw-text-opacity: 1;
    color: rgb(0 158 145 / var(--tw-text-opacity, 1));
}

@media (min-width: 640px) {
    .sm\:px-6 {
        padding-right: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:left-0 {
        left: 0px;
    }

    .lg\:right-auto {
        right: auto;
    }

    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    .xl\:gap-6 {
        gap: 1.5rem;
    }

    .xl\:gap-8 {
        gap: 2rem;
    }

    .xl\:space-x-6 > :not([hidden]) ~ :not([hidden]) {
        --tw-space-x-reverse: 0;
        margin-right: calc(1.5rem * var(--tw-space-x-reverse));
        margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
    }
}

.nav-dropdown-wrapper {
    position: relative;
}

.nav-dropdown-trigger {
    transition: none !important;
}

.nav-link-btn {
    line-height: 1;
    vertical-align: middle;
}

.nav-dropdown-trigger:hover {
    color: #009e91 !important;
}

.nav-dropdown-trigger.active {
    color: #009e91;
}

.nav-dropdown-trigger.active i {
    transform: rotate(180deg);
    color: #009e91;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    min-width: 320px;
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
}

.mega-dropdown-left {
    right: auto;
    left: 0;
}

.mega-dropdown-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow:
        0 10px 30px -10px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 14px;
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 20px;
    min-width: 340px;
}

.mega-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mega-dropdown-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 158, 145, 0.08),
        rgba(0, 158, 145, 0.02)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mega-dropdown-item:hover::before {
    opacity: 1;
}

.mega-dropdown-item:hover {
    transform: translateX(-4px);
}

.mega-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        rgba(0, 158, 145, 0.1),
        rgba(0, 158, 145, 0.05)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.mega-item-icon i {
    font-size: 18px;
    color: #009e91;
    transition: all 0.3s ease;
}

.mega-dropdown-item:hover .mega-item-icon {
    background: linear-gradient(135deg, #009e91, #00b5a5);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 158, 145, 0.3);
}

.mega-dropdown-item:hover .mega-item-icon i {
    color: #fff;
    transform: scale(1.1);
}

.college-medicine {
    background: linear-gradient(
        135deg,
        rgba(239, 68, 68, 0.1),
        rgba(239, 68, 68, 0.05)
    ) !important;
}
.college-medicine i {
    color: #ef4444 !important;
}
.mega-dropdown-item:hover .college-medicine {
    background: linear-gradient(135deg, #ef4444, #f87171) !important;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3) !important;
}
.mega-dropdown-item:hover .college-medicine i {
    color: #fff !important;
}

.college-dental {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.1),
        rgba(59, 130, 246, 0.05)
    ) !important;
}
.college-dental i {
    color: #3b82f6 !important;
}
.mega-dropdown-item:hover .college-dental {
    background: linear-gradient(135deg, #3b82f6, #60a5fa) !important;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3) !important;
}
.mega-dropdown-item:hover .college-dental i {
    color: #fff !important;
}

.college-engineering {
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.1),
        rgba(139, 92, 246, 0.05)
    ) !important;
}
.college-engineering i {
    color: #8b5cf6 !important;
}
.mega-dropdown-item:hover .college-engineering {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa) !important;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3) !important;
}
.mega-dropdown-item:hover .college-engineering i {
    color: #fff !important;
}

.college-business {
    background: linear-gradient(
        135deg,
        rgba(245, 158, 11, 0.1),
        rgba(245, 158, 11, 0.05)
    ) !important;
}
.college-business i {
    color: #f59e0b !important;
}
.mega-dropdown-item:hover .college-business {
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3) !important;
}
.mega-dropdown-item:hover .college-business i {
    color: #fff !important;
}

.mega-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
}

.mega-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.mega-dropdown-item:hover .mega-item-title {
    color: #009e91;
}

.mega-item-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.mega-dropdown.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-dropdown-content.compact {
    padding: 12px 14px;
}

.mega-dropdown-content.compact .mega-dropdown-grid {
    gap: 4px;
}

.mega-dropdown-link {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.mega-dropdown-link::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 2px dashed #fd823b;
    transition: height 0.2s ease;
}

.mega-dropdown-link:hover {
    background: transparent;
    color: #fd823b;
    padding-right: 16px;
}

.mega-dropdown-link:hover::before {
    height: 60%;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85vw;
    max-width: 320px;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.mobile-drawer.active {
    left: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.mobile-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #009e91;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-close-btn:hover {
    background: rgba(0, 158, 145, 0.15);
    transform: rotate(90deg);
}

/* Admission Table Styles */
.admission-table-wrapper {
    background: linear-gradient(135deg, #009e91, #00b5a5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 158, 145, 0.3);
    margin-top: 20px;
}

.admission-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.admission-table th,
.admission-table td {
    padding: 14px 20px;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admission-table th {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admission-table tbody tr {
    transition: all 0.3s ease;
}

.admission-table td {
    font-size: 14px;
    font-weight: 500;
}

.admission-table td:first-child {
    font-weight: 600;
}

/* Mobile Table Styles */
@media (max-width: 768px) {
    .admission-table-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
        box-shadow: none;
    }

    .admission-table thead {
        display: none;
    }

    .admission-table,
    .admission-table tbody,
    .admission-table tr,
    .admission-table td {
        display: block;
        width: 100%;
    }

    .admission-table tr {
        margin-bottom: 10px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .admission-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    }

    .admission-table td:last-child {
        border-bottom: 0;
    }

    .admission-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 20px;
        font-weight: 700;
        text-align: left;
        color: rgba(255, 255, 255, 0.8);
    }
}

.mobile-close-btn:active {
    background: rgba(253, 130, 59, 0.15);
    color: #fd823b;
    transform: rotate(180deg) scale(0.9);
}

.mobile-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.mobile-dropdown {
    margin-bottom: 4px;
}

.mobile-dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-dropdown-trigger:hover {
    background: rgba(0, 158, 145, 0.05);
    color: #009e91;
}

.mobile-dropdown-trigger.active {
    background: rgba(0, 158, 145, 0.08);
    color: #009e91;
}

.mobile-dropdown-trigger i {
    font-size: 12px;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.mobile-dropdown-trigger.active i {
    transform: rotate(180deg);
    color: #009e91;
}

.mobile-dropdown-content {
    display: none;
    padding: 8px 0;
    margin-left: 0;
    overflow: hidden;
}

.mobile-dropdown-content.open {
    display: block;
}

.mobile-dropdown-content a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.mobile-dropdown-content a:hover {
    background: transparent;
    color: #fd823b;
    padding-right: 20px;
}

.mobile-dropdown-content a::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 2px dashed #fd823b;
    transition: height 0.2s ease;
}

.mobile-dropdown-content a:hover::before {
    height: 50%;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.mobile-drawer-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.mobile-action-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f3f4f6;
    border-radius: 10px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-action-link:hover {
    background: #e5e7eb;
    color: #374151;
}

.mobile-action-link i {
    font-size: 16px;
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--secondary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(253, 130, 59, 0.3);
    transition: all 0.3s ease;
}

.mobile-cta-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 130, 59, 0.4);
}

.mobile-cta-btn i {
    font-size: 18px;
}

.search-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 48;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 49;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-100%);
}

.search-overlay.active {
    visibility: visible;
}

.search-overlay-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 24px 30px;
}

.search-close-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.search-close-btn {
    background: transparent;
    border: none;
    color: #111827;
    cursor: pointer;
    padding: 10px;
    transition: all 0.2s ease;
    font-size: 20px;
}

.search-close-btn:hover {
    color: #fd823b;
    transform: rotate(90deg);
}

.search-content-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 10px;
}

.search-submit-btn {
    background: #009e91;
    color: #ffffff;
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 0 40px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-submit-btn:hover {
    background: #008a7e;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-field {
    width: 100%;
    height: 50px;
    border: 1px solid #d1d5db;
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding-right: 54px;
    padding-left: 20px;
    font-size: 18px;
    color: #374151;
    background: #ffffff;
    transition: all 0.2s ease;
    text-align: right;
}

.search-field:focus {
    outline: none;
    border-color: #009e91;
}

.search-input-icon {
    position: absolute;
    right: 20px;
    color: #9ca3af;
    font-size: 20px;
}

@media (max-width: 767px) {
    .search-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .search-submit-btn {
        border-radius: 8px;
        height: 54px;
    }

    .search-field {
        border-left: 1px solid #d1d5db;
        border-radius: 8px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-drawer {
        width: 380px;
        max-width: 90vw;
    }

    .mobile-dropdown-content a {
        padding: 12px 16px;
        font-size: 15px;
    }

    .mobile-dropdown-trigger {
        padding: 16px 18px;
        font-size: 16px;
    }

    .mobile-cta-btn {
        padding: 16px 24px;
        font-size: 16px;
    }
    .univ-read-more-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
}

.map-container-wrapper {
    width: 100%;
    max-width: 320px;
    height: 160px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    .map-container-wrapper {
        width: 100%;
        max-width: none;
        height: 200px;
        margin: 1rem 0;
    }
}

.map-container-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--secondary, #fd823b);
}

.map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

#footer-mini-map {
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #f0f3f4;

    transition: filter 0.3s ease;
}

.map-container-wrapper:hover #footer-mini-map {
    filter: brightness(1.05);
}

.map-overlay-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    pointer-events: none;
}

.leaflet-control-attribution {
    display: none !important;
}

.univ-pin-marker {
    background: transparent;
    border: none;
    position: relative;
    overflow: visible;
}

.univ-pin-marker svg {
    position: relative;
    z-index: 2;
}

.pin-pulse {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 10px;
    background: rgba(253, 130, 59, 1);
    border-radius: 50%;
    animation: pin-pulse-ring 2s infinite;
    z-index: 1;
}

@keyframes pin-pulse-ring {
    0% {
        width: 10px;
        height: 5px;
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(253, 130, 59, 0.7);
    }

    100% {
        width: 50px;
        height: 25px;
        opacity: 0;
        box-shadow: 0 0 0 20px rgba(253, 130, 59, 0);
    }
}

.main-footer {
    background-color: #007e74;
    color: #ffffff;
    padding: 3rem 0 0 0;
    margin-top: 0;
    font-family: "Cairo", sans-serif;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
    position: relative;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary, #fd823b);
}

.social-icons,
.access-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon,
.access-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.social-icon:hover,
.access-icon:hover {
    background: var(--secondary, #fd823b);
    /* border-color: var(--secondary, #fd823b); */
    transform: translateY(-3px);
}

.access-icon {
    background: transparent;
    cursor: pointer;
}

.mt-6 {
    margin-top: 1.5rem;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--secondary);
    color: #ffffff;
    transform: translateY(0.1px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright-col {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-bottom-links a {
    color: #cbd5e1;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.footer-bottom-links a:hover {
    color: white;
    text-decoration: underline;
}

.copyright-text,
.developed-by,
.last-modified {
    font-size: 0.85rem;
    color: white;
    margin: 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.copyright-text:hover {
    color: var(--secondary, #fd823b);
    text-decoration: none;
}

.footer-logos-col {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

.footer-main-logo {
    width: 170px;
    height: auto;
}

.contact-text {
    font-size: 0.9rem;
    color: #e2e8f0;
}

.developer-logo {
    height: auto;
    width: auto;
    max-width: 160px;
    max-height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: start;
    }

    .footer-links a:hover {
        transform: none;
    }

    .social-icons,
    .access-icons {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        text-align: start;
        gap: 1.5rem;
    }

    .footer-bottom-links {
        justify-content: flex-start;
    }

    .footer-logos-col {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .mega-dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px 24px;
        min-width: 380px;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .nav-dropdown-trigger {
        font-size: 12px !important;
        padding: 0.25rem 0.5rem !important;
    }

    .nav-dropdown-trigger span {
        font-size: 12px;
    }

    header .fi-rr-search,
    header .fi-rr-globe {
        font-size: 14px !important;
    }

    header a[href="#"]:has(.fi-rr-globe) span {
        font-size: 12px;
    }

    header a.bg-primary {
        font-size: 11px !important;
        padding: 0.375rem 0.75rem !important;
    }

    .mega-dropdown-link {
        font-size: 12px;
        padding: 8px 10px;
    }

    .mega-dropdown-grid {
        min-width: 320px;
        gap: 4px 16px;
    }
}

@media (min-width: 1280px) {
    .mega-dropdown-grid {
        min-width: 420px;
    }

    .mega-dropdown-link {
        padding: 12px 14px;
    }
}

.phone-ltr {
    display: flex;

    align-items: center;
    gap: 0.5rem;
    unicode-bidi: embed;
}

[dir="ltr"] .phone-ltr {
    justify-content: flex-start;
    text-align: left;
}

@media (hover: none) and (pointer: coarse) {
    .mega-dropdown-link:hover::before {
        height: 0;
    }

    .mega-dropdown-link:active {
        background: rgba(253, 130, 59, 0.15);
        color: #fd823b;
    }
}

.main-header-height {
    height: 64px !important;
}

.h-16 {
    height: 4rem !important;
}

.hero-section {
    /* background: url('../img/Hero Section.png') no-repeat center center; */
    background-size: cover;
    height: calc(80vh - 64px);
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    z-index: 10;
}

.hero-content-wrapper {
    position: relative;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(15px);
    padding-top: 60px;
    padding-bottom: 60px;
    padding-inline-start: 60px;
    padding-inline-end: 110px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-inline-end: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
    z-index: 10;
    width: 100%;
    max-width: 750px;
    text-align: start;

    transform: skewX(-5deg);
    transform-origin: bottom;
    margin-inline-start: -40px;
}

@media (max-width: 767px) {
    .hero-content-wrapper {
        backdrop-filter: blur(0px);
    }
}

[dir="ltr"] .hero-content-wrapper {
    transform: skewX(5deg);
    margin-right: -40px;
    margin-left: 0;
}
[dir="rtl"] .hero-content-wrapper {
    margin-right: 0;
}

.hero-content-wrapper > * {
    transform: skewX(5deg);
}
[dir="ltr"] .hero-content-wrapper > * {
    transform: skewX(-5deg);
}

.hero-section .hero-container {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hero-section::after {
    display: none;
}

.hero-container {
    width: 100%;
    height: 100%;
    z-index: 10;
}

.hero-reveal-container {
    overflow: hidden;
    margin-bottom: 5px;
}

.hero-section h1 {
    font-size: clamp(28px, 4vw, 30px);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: clamp(10px, 1.1vw, 18px);
    line-height: 1.6;
    color: #ffffff;
    max-width: 550px;
    margin-top: 10px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

.hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        to left,
        rgba(0, 0, 0, 0.3) 0%,
        transparent 100%
    );
    z-index: -1;
    border-radius: 20px;
}

.hero-nav-wrapper {
    position: absolute;
    bottom: 35px;
    left: 80px;
    display: flex;
    gap: 15px;
    z-index: 30;
}

.hero-nav-btn {
    position: static !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff !important;
    transition: all 0.2s ease;
}

.hero-nav-btn::after {
    font-size: 14px !important;
    font-weight: 700;
}

.hero-nav-btn:hover {
    background-color: #009e91;
    border-color: #009e91;
}

@media (max-width: 767px) {
    .hero-section {
        text-align: center;
        min-height: 480px;
    }

    .hero-section h1 {
        font-size: 20px;
    }

    .hero-section .flex {
        align-items: center;
    }

    .hero-section p {
        margin-left: auto;
        margin-right: auto;
    }
}

.news-section {
    padding: 50px 0;
    background-color: #ffffff;
}

.news-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 40px;
    direction: rtl;
}

.news-header-right h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
    line-height: 1.2;
}

.news-description {
    color: #64748b;
    font-size: 16px;
    margin-top: 10px;
    max-width: 750px;
    line-height: 1.7;
}

.view-all-link {
    color: #1e293b;
    border: 1px solid #e2e8f0;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #ffffff;
    display: inline-block;
}

.view-all-link:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* stats section */
/* Stats Counter Section - Elegant & Calm Design */
.stats-counter-section {
    padding: 20px 0;
    background-color: #ffffff; /* White background */
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px; /* Increased gap for breathing room */
    text-align: center;
}

.stat-item {
    background: transparent;
    padding: 15px; /* Reduced padding */
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
}

.stat-item:hover {
    transform: none;
}

.stat-icon {
    font-size: 26px; /* Smaller icon */
    color: var(--primary);
    margin-bottom: 12px;
    background: rgba(0, 158, 145, 0.08);
    width: 60px; /* Smaller circle */
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
}

/* Flip Icon on Hover */
.stat-icon {
    transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
    background: var(--primary);
    color: #fff;
    transform: rotateY(180deg);
    box-shadow: 0 10px 20px rgba(0, 158, 145, 0.2);
}

.stat-item:hover .stat-icon i {
    transform: none; /* Reset inner rotation if any */
}

.stat-number {
    font-size: 24px; /* Smaller number */
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    font-family: "Cairo", sans-serif;
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 10px; /* Smaller label */
    color: #718096;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats-counter-section {
        padding: 25px 0;
    }
    .stats-grid {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    }
    .stat-number {
        font-size: 20px;
    }
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .stat-item {
        padding: 10px;
    }
}

/* stats section */

.news-filters {
    background: linear-gradient(
        135deg,
        rgba(0, 158, 145, 0.05) 0%,
        rgba(243, 247, 249, 1) 100%
    );
    padding: 12px;
    border-radius: 20px;
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
    align-items: center;
    direction: rtl;
    border: 1px solid rgba(0, 158, 145, 0.1);
}

.filter-group {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(0, 158, 145, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.filter-group:focus-within {
    border-color: #009e91;
    box-shadow: 0 0 0 4px rgba(0, 158, 145, 0.1);
}

.filter-group i {
    color: #009e91;
    font-size: 18px;
    opacity: 0.7;
}

.filter-group input,
.filter-group select {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 14px;
    color: #1e293b;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
}

.filter-group select option {
    background-color: #ffffff;
    color: #1e293b;
    padding: 15px;
    font-size: 14px;
}

.filter-group select option:checked,
.filter-group select option:hover {
    background-color: #009e91 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(0, 158, 145, 0.2);
}

.filter-group select:hover {
    color: #009e91;
}

.filter-group select:focus option {
    background-color: #ffffff;
    color: #1e293b;
}

.filter-group input[type="date"] {
    position: relative;
    min-height: 24px;
}

.filter-group input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0;
}

.filter-group.search-box {
    flex: 2.5;
}

.filter-group.category-box,
.filter-group.date-box {
    flex: 1;
}

.news-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
    direction: rtl;
}

.news-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-sidebar-card {
    display: flex;
    gap: 22px;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 20px;
    border: 1px solid transparent;
}

.news-sidebar-card:hover,
.news-sidebar-card.active {
    background: rgba(0, 158, 145, 0.04);
}

.news-sidebar-card.active {
    border-color: rgba(0, 158, 145, 0.1);
    transform: translateX(-5px);
}

.news-sidebar-card.active .sidebar-news-title {
    color: #009e91;
}

.news-sidebar-card:hover {
    transform: translateX(-5px);
}

.sidebar-thumb {
    width: 120px;
    height: 110px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-info {
    flex: 1;
}

.info-tag {
    font-size: 13px;
    font-weight: 700;
    color: #009e91;
    margin-bottom: 8px;
    display: block;
}

.sidebar-news-title {
    font-size: 17px;
    font-weight: 800;
    color: #6c717f;
    line-height: 1.5;
    margin-bottom: 12px;
    display: block;
}

.news-meta {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-news-block {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 620px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.featured-news-block img {
    width: 100%;
    height: 100%;
}

.featured-content-overlay {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    padding: 60px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(50px);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
    border-radius: 20px;
}

.featured-content-overlay > * {
    transform: none;
}

.info-tag.category-events,
.info-tag.category-research,
.info-tag.category-agreements,
.info-tag.category-community,
.info-tag.category-academic {
    color: #ff9f43 !important;
}

.featured-category-tag {
    background: var(--cat-color, #ff9f43);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    /* box-shadow: 0 4px 15px rgba(0, 158, 145, 0.4); */
    width: fit-content;
}

.featured-news-block h3 {
    font-size: 25px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.featured-news-block p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 15px;
    max-width: 90%;
}

.featured-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1200px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
    .news-sidebar-list {
        order: 2;
    }
    .featured-news-block {
        order: 1;
        height: 500px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 20px 0;
    }
    .news-header-top {
        gap: 20px;
        margin-bottom: 30px;
        text-align: right;
    }
    .news-header-right h2 {
        font-size: 26px;
    }
    .news-description {
        font-size: 14px;
        max-width: 100%;
    }
    .view-all-link {
        padding: 6px 16px;
        font-size: 13px;
    }
    .news-filters {
        flex-direction: column;
        padding: 15px;
    }
    .filter-group {
        width: 100%;
    }
    .featured-content-overlay {
        backdrop-filter: blur(1px) !important;
        width: 100% !important;
        padding: 40px 30px;
        border-radius: 20px;
        border-left: none;
        background: rgba(0, 0, 0, 0.4);
    }
    .featured-news-block h3 {
        font-size: 24px;
    }
    .news-slider-pagination {
        display: none !important;
    }
}

.newsSwiper {
    width: 100%;
}

.news-slider-pagination {
    bottom: 25px !important;
    right: 60px !important;
    left: auto !important;
    width: auto !important;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.news-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.news-slider-pagination .swiper-pagination-bullet-active {
    width: 30px;
    background: #009e91;
    box-shadow: 0 0 10px rgba(0, 158, 145, 0.3);
}

.memberships-section {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    background: white;
}

.memberships-header h2 {
    font-size: 34px;
    padding-top: 10px;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.membership-card {
    width: 100%;

    border-radius: 24px;
    background-color: var(--white);
    padding: 25px 20px 15px 20px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 240px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.membership-card:hover {
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: #009e91;
}

.membership-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 158, 145, 0.1), transparent);
    border-bottom-left-radius: 40px;
    margin-right: -40px;
    margin-top: -40px;
    transition: all 0.5s ease;
}

.membership-card:hover::before {
    width: 128px;
    height: 128px;
    margin-right: -20px;
    margin-top: -20px;
}

.membership-card img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.5s ease;
    transform: scale(1);
}

.membership-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.membership-logo-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

.membership-logo-wrapper img {
    max-height: 110px !important;
    max-width: 100%;
    object-fit: contain;
}

.membership-name {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #009e91;
    background-color: rgba(0, 158, 145, 0.08);
    padding: 4px 14px;
    border-radius: 50px;
    border: 1px solid rgba(0, 158, 145, 0.15);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
    transition: all 0.3s ease;
}

.membership-card:hover .membership-name {
    background-color: #009e91;
    color: #ffffff;
    border-color: #009e91;
}

.memberships-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .memberships-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

[dir="ltr"] body {
    overflow-x: hidden;
    direction: ltr;
    text-align: left;
}

[dir="ltr"] .mega-dropdown {
    right: auto;
    left: 0;
}

[dir="ltr"] .mega-dropdown-left {
    left: auto;
    left: 0;
}

[dir="ltr"] .mega-dropdown-link::before {
    right: auto;
    left: 0;
    border-left: none;
    border-left: 2px dashed #fd823b;
}

[dir="ltr"] .mega-dropdown-link {
    padding-right: 12px;
    padding-left: 16px;
}
[dir="ltr"] .mega-dropdown-link:hover {
    padding-right: 12px;
    padding-left: 22px;
}

[dir="ltr"] .mobile-drawer {
}
[dir="ltr"] .mobile-drawer.active {
}

[dir="ltr"] .mobile-dropdown-content a::before {
    right: auto;
    left: 0;
    border-left: none;
    border-left: 2px dashed #fd823b;
}

[dir="ltr"] .mobile-dropdown-content a:hover {
    padding-right: 14px;
    padding-left: 20px;
}

[dir="ltr"] .search-field {
    text-align: left;
    border-radius: 8px 0 0 8px;
    border-left: 1px solid #d1d5db;
    border-left: none;
    padding-left: 20px;
    padding-right: 54px;
}

[dir="ltr"] .search-field {
    padding-left: 54px;
    padding-right: 20px;
}

[dir="ltr"] .search-submit-btn {
    border-radius: 0 8px 8px 0;
}

[dir="ltr"] .search-input-icon {
    right: auto;
    left: 20px;
}

[dir="ltr"] .news-filters {
    direction: ltr;
}
[dir="ltr"] .news-header-top {
    direction: ltr;
}
[dir="ltr"] .news-layout {
    direction: ltr;
}

[dir="ltr"] .news-header-right {
    text-align: left;
}
[dir="ltr"] .sidebar-info {
    text-align: left;
}
[dir="ltr"] .featured-content-overlay {
    text-align: left;
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}
[dir="ltr"] .featured-footer {
    justify-content: flex-start;
}

[dir="ltr"] .hero-nav-wrapper {
    left: auto;
    right: 80px;
}

.partners-section {
    position: relative;
}

.partners-swiper-container {
    max-width: 1200px;
    margin: 0 auto;
}

.partnersSwiper .swiper-slide {
    display: flex;
    align-items: center;
    height: auto;
}

.partner-slide-item {
    text-align: center;
    padding: 20px 10px;
    width: 100%;
}

.partner-logo-circle {
    width: 120px;
    height: 120px;

    border-radius: 50%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
}

.partner-logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-name {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

.partners-nav-prev,
.partners-nav-next {
    cursor: pointer;
    position: absolute !important;
    z-index: 100 !important;
    display: flex !important;
}

.partners-nav-prev {
    right: 10px !important;
}

.partners-nav-next {
    left: 10px !important;
}

.partners-swiper-container {
    position: relative;
    min-height: 180px;
}

@media (max-width: 1024px) {
    .partners-nav-prev {
        right: 5px !important;
    }

    .partners-nav-next {
        left: 5px !important;
    }
}

@media (max-width: 768px) {
    .partner-logo-circle {
        width: 100px;
        height: 100px;
        padding: 15px;
    }

    .partners-swiper-container .px-16 {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.features-section {
    background-color: #006b62;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0 !important;

    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1007%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='%23006b62'%3e%3c/rect%3e%3cpath d='M156.434%2c603.44C208.444%2c604.558%2c266.711%2c597.929%2c293.056%2c553.071C319.618%2c507.843%2c300.307%2c451.572%2c271.284%2c407.883C245.624%2c369.256%2c202.797%2c346.443%2c156.434%2c347.409C111.744%2c348.34%2c73.519%2c374.75%2c49.582%2c412.501C23.492%2c453.649%2c5.829%2c504.89%2c29.622%2c547.407C53.81%2c590.63%2c106.914%2c602.375%2c156.434%2c603.44' fill='rgba(253%2c 130%2c 59%2c 0.1)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M1229.85 217.12 a186.51 186.51 0 1 0 373.02 0 a186.51 186.51 0 1 0 -373.02 0z' fill='rgba(253%2c 130%2c 59%2c 0.1)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M-88.57 142.79 a162.61 162.61 0 1 0 325.22 0 a162.61 162.61 0 1 0 -325.22 0z' fill='rgba(253%2c 130%2c 59%2c 0.1)' class='triangle-float1'%3e%3c/path%3e%3cpath d='M1522.006%2c516.08C1575.299%2c513.182%2c1618.033%2c476.285%2c1643.771%2c429.529C1668.486%2c384.631%2c1673.953%2c330.679%2c1648.571%2c286.155C1622.961%2c241.231%2c1573.717%2c215.991%2c1522.006%2c215.934C1470.193%2c215.877%2c1423.029%2c242.326%2c1394.959%2c285.877C1364.08%2c333.786%2c1347.372%2c394.248%2c1374.913%2c444.151C1403.179%2c495.367%2c1463.594%2c519.257%2c1522.006%2c516.08' fill='rgba(253%2c 130%2c 59%2c 0.1)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M596.829%2c130.214C613.817%2c130.851%2c628.63%2c119.452%2c636.948%2c104.626C645.08%2c90.131%2c646.44%2c71.977%2c637.281%2c58.108C628.838%2c45.324%2c612.145%2c44.246%2c596.829%2c43.878C580.532%2c43.486%2c561.33%2c42.149%2c552.859%2c56.077C544.217%2c70.287%2c553.117%2c87.498%2c561.601%2c101.803C569.849%2c115.71%2c580.671%2c129.609%2c596.829%2c130.214' fill='rgba(253%2c 130%2c 59%2c 0.1)' class='triangle-float2'%3e%3c/path%3e%3cpath d='M395.527%2c380.43C431.546%2c380.23%2c459.524%2c351.894%2c476.208%2c319.971C491.571%2c290.576%2c491.123%2c256.469%2c475.644%2c227.134C458.949%2c195.495%2c431.2%2c169.75%2c395.527%2c167.068C354.947%2c164.017%2c310.605%2c177.395%2c291.415%2c213.281C272.917%2c247.872%2c292.537%2c287.581%2c313.276%2c320.877C332.457%2c351.671%2c359.249%2c380.632%2c395.527%2c380.43' fill='rgba(253%2c 130%2c 59%2c 0.1)' class='triangle-float1'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1007'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3cstyle%3e %40keyframes float1 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(-10px%2c 0)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float1 %7b animation: float1 5s infinite%3b %7d %40keyframes float2 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(-5px%2c -5px)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float2 %7b animation: float2 4s infinite%3b %7d %40keyframes float3 %7b 0%25%7btransform: translate(0%2c 0)%7d 50%25%7btransform: translate(0%2c -10px)%7d 100%25%7btransform: translate(0%2c 0)%7d %7d .triangle-float3 %7b animation: float3 6s infinite%3b %7d %3c/style%3e%3c/defs%3e%3c/svg%3e");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.features-section h2 {
    color: var(--secondary) !important;
}

.features-section .view-all-link {
    color: #ffffff !important;
}

.features-section .view-all-link {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.features-section .view-all-link:hover {
    color: var(--secondary) !important;
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    text-decoration: none !important;
}

.features-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 1rem;
}

@media (min-width: 768px) {
    .features-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.features-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.features-subtitle {
    color: #64748b;
    max-width: 42rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.view-all-services-btn {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all-services-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 158, 145, 0.1);
    transform: translateY(-2px);
}

.featuresSwiper .swiper-slide {
    height: auto !important;
    display: flex;
}

.feature-card {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #f1f5f9;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Premium Facility Cards */
.facility-card-premium {
    position: relative;
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.5s ease;
}

.facility-card-premium .img-container {
    position: relative;
    height: 15rem;
    overflow: hidden;
}

.facility-card-premium .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-in-out;
}

.facility-card-premium .img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 78, 105, 0.9),
        rgba(0, 78, 105, 0.3),
        transparent
    );
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.facility-card-premium .card-title-overlay {
    position: absolute;
    bottom: 1.25rem;
    right: 1.5rem;
    left: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.25;
}

.facility-card-premium .card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}

.facility-card-premium .card-desc {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.facility-card-premium .card-tags {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.facility-card-premium .card-tag {
    background-color: rgba(0, 158, 145, 0.1);
    color: var(--primary, #009e91);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 158, 145, 0.2);
}

.cadres-section {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg fill='none'%3e%3cpath d='M958.48-82.39C795.61-77.35 659.4 169.67 357.44 169.81 55.48 169.95-89.63 36.23-243.6 35.41' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3cpath d='M820.23-74.73C691.84-70.57 611.29 114.23 347.65 127 84.01 139.77 10.68 386.61-124.93 395.8' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3cpath d='M1049.26-25.91C904.55-22.86 798.95 163.73 505.23 172.19 211.51 180.65 110.4 412.94-38.8 418.59' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3cpath d='M818.13-62.14C664.77-13.56 618.52 426.45 402.12 428.8 185.72 431.15 107.33 186.37-13.89 176.8' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3cpath d='M1221.91-68.51C1102.48-67.22 992.81 63.19 762.68 63.22 532.54 63.25 533.06-6.78 303.44-6.78 73.83-6.78-39.66 63.02-155.79 63.22' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3c/g%3e%3c/svg%3e");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
}

.cadre-text-column::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    opacity: 0.03;
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.cadre-card-gold {
    height: 300px;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 12px;
}

.cadre-card-gold::before {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    pointer-events: none;
    z-index: 5;
}

.cadres-layout {
    display: grid;
    grid-template-columns: 1fr;

    align-items: center;
}

.cadres-layout > div {
    min-width: 0;
}

@media (min-width: 1024px) {
    .cadres-layout {
        grid-template-columns: 1.2fr 1fr;
    }
}

.cadre-text-column {
    padding-left: 2rem;
    position: relative;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.cadre-highlight-name {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.cadre-highlight-role {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: inline-block;
    background: transparent;
    padding: 0;
    border-radius: 0;
    position: relative;
    line-height: 1.4;
}

.cadre-highlight-desc {
    color: #64748b;
    line-height: 1.8;

    font-size: 1.05rem;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .cadres-layout {
        gap: 1rem;

        grid-template-columns: 1fr;
    }

    .cadre-text-column {
        padding-left: 0;

        margin-bottom: 2rem;
    }

    .cadre-highlight-name {
        font-size: 1.5rem;
    }

    .cadre-highlight-desc {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .cadres-layout {
    }

    .cadre-card-gold {
        height: 240px;
        margin: 5px;
    }

    .cadres-slider-container {
        padding: 5px;
        margin: 0;
    }
}

.cadre-content-overlay {
    position: relative;
    z-index: 10;
    padding: 2rem 2.5rem;

    background: linear-gradient(
        to top,
        rgba(0, 107, 98, 0.95) 0%,
        rgba(0, 107, 98, 0.7) 40%,
        transparent 100%
    );

    text-align: right;
    width: 100%;
}

.cadre-card-gold .cadre-badge {
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.25rem 0.85rem;
    border-radius: 2rem;
    font-size: 0.5rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.cadre-card-gold .cadre-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cadre-card-gold .cadre-role {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.feature-card:hover {
}

.feature-card:hover::before {
    background: var(--primary);
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.card-icon.primary {
    background-color: #f0fdfa;
    color: var(--primary);
}

.feature-card:hover .card-icon {
    transform: scale(1.1) rotate(1deg);
}

.feature-card:hover .card-icon.primary {
    background-color: var(--primary);
    color: #fff;
}

.feature-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--primary);
}

.feature-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    background-color: #f8fafc;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.feature-card:hover .feature-tag {
    background-color: #f1f5f9;
    color: #475569;
}

.feature-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
}

.btn-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}

.btn-feature-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 158, 145, 0.2);
}

.btn-feature-primary:hover {
    background-color: #008a7e;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -2px rgba(0, 158, 145, 0.3);
}

.btn-feature-outline {
    background-color: transparent;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.btn-feature-outline:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
    color: #1e293b;
}

.partners-section {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.community-services-section {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1007%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='%23ffffff'%3e%3c/rect%3e%3cpath d='M164.2 588.84C279.42 586.16 378.59 426.13 595.47 426 812.35 425.87 811.11 496 1026.74 496 1242.38 496 1348.78 426.23 1458.01 426' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3cpath d='M310.76 595.12C501.83 588.89 645.45 299.46 1013.8 294.34 1382.15 289.22 1537.63 155.02 1716.84 154.34' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3cpath d='M887.55 567.66C1021.81 544.06 1088.36 212 1299.83 210.8 1511.3 209.6 1600.86 375.62 1712.11 378.8' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3cpath d='M427.7 564.43C580.14 549.19 652.68 237.52 936.99 223.63 1221.3 209.74 1312.23 57.78 1446.28 55.63' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3cpath d='M171.61 563.8C334.71 563.79 488.98 539.22 823.47 537.28 1157.96 535.34 1298.6 268.4 1475.33 262.88' stroke='%23fd823b' stroke-width='4' stroke-opacity='0.2'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1007'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3c/defs%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: top center;
    background-repeat: no-repeat;
}

.community-service-card {
    position: relative;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.community-service-card:hover {
}

.community-card-bg {
    height: 300px;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.community-card-icon {
    display: none;
}

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

.community-service-card:hover .community-card-icon,
.community-service-card:hover .community-card-img {
}

.community-floating-content {
    background: #ffffff;
    width: 85%;
    margin: -100px auto 0;
    position: relative;
    z-index: 10;
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-badge {
    background-color: #e0f2f1;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.community-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-title-decoration {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.dev/svgjs' width='1440' height='560' preserveAspectRatio='none' viewBox='0 0 1440 560'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1048%26quot%3b)' fill='none'%3e%3crect width='1440' height='560' x='0' y='0' fill='%23009e91'%3e%3c/rect%3e%3cg filter='url(%23shadow)'%3e%3ccircle r='466' cx='1079.91' cy='237.44' fill='%23008f83'%3e%3c/circle%3e%3ccircle r='326.2' cx='1079.91' cy='237.44' fill='%23008075'%3e%3c/circle%3e%3ccircle r='186.4' cx='1079.91' cy='237.44' fill='%23007067'%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1048'%3e%3crect width='1440' height='560' fill='white'%3e%3c/rect%3e%3c/mask%3e%3cfilter id='shadow' x='-50%25' y='-50%25' width='200%25' height='200%25'%3e%3cfeDropShadow dx='0' dy='0' stdDeviation='10' flood-opacity='0.8' flood-color='black'%3e%3c/feDropShadow%3e%3c/filter%3e%3c/defs%3e%3c/svg%3e");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff !important;
    display: inline-block;
    padding: 0.75rem 2.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.grid {
    display: grid;
}

.content-center {
    align-content: center;
}
.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Partners Swiper Navigation Arrows */
.partners-nav-btn {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 30px !important;
    height: 30px !important;
    background-color: #f3f4f6 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 10;
}

.partners-nav-btn::after {
    content: none !important;
}

.partners-nav-btn:hover {
    background-color: #e5e7eb !important;
}

.partners-nav-btn i {
    font-size: 0.5rem;
    color: var(--secondary);
    transition: color 0.3s ease;
}

.partners-nav-btn:hover i {
    color: var(--primary);
}

/* Navigation Arrows Positioning */
.partners-nav-next,
.partners-nav-prev {
    left: auto !important;
    right: auto !important;
}

.partners-nav-next {
    inset-inline-end: 10px !important;
}

.partners-nav-prev {
    inset-inline-start: 10px !important;
}

@media (min-width: 1024px) {
    .partners-nav-next {
        inset-inline-end: 15px !important;
    }
    .partners-nav-prev {
        inset-inline-start: 15px !important;
    }
}

/* Flip arrows for LTR direction */
html[dir="ltr"] .partners-nav-next i,
html[dir="ltr"] .partners-nav-prev i {
    transform: scaleX(-1);
    display: inline-block;
}

/* Accessibility Tools Styles */
/* Filters are applied to #accessibility-overlay to prevent breaking position:fixed of the toolbar */

body.high-contrast #accessibility-overlay {
    backdrop-filter: contrast(150%);
    background-color: transparent !important; /* Ensure overlay remains transparent */
}

/* High Contrast Mode - Exclude Toolbar and Overlay */
.high-contrast
    *:not(#accessibility-toolbar):not(#accessibility-toolbar *):not(
        #accessibility-overlay
    ):not(#accessibility-toggle):not(#accessibility-toggle *) {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Fix for images in High Contrast */
.high-contrast img:not(#accessibility-toolbar img),
.high-contrast svg:not(#accessibility-toolbar svg),
.high-contrast video {
    filter: grayscale(100%) contrast(120%);
    background-color: transparent !important;
}

body.grayscale-mode #accessibility-overlay {
    backdrop-filter: grayscale(100%);
    background-color: transparent !important;
}

body.negative-contrast #accessibility-overlay {
    backdrop-filter: invert(100%);
    background-color: transparent !important;
}

body.negative-contrast img,
body.negative-contrast video {
    filter: invert(
        100%
    ); /* Invert images so they look normal through the inverted overlay */
}

/* Light Background Mode */
.light-background {
    background-color: #ffffff !important;
}

/* Light Background - Exclude Toolbar and Overlay */
.light-background
    *:not(#accessibility-toolbar):not(#accessibility-toolbar *):not(
        #accessibility-overlay
    ):not(#accessibility-toggle):not(#accessibility-toggle *) {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* Reset Toolbar Styles in these modes to ensure they look correct */
.high-contrast #accessibility-toolbar,
.light-background #accessibility-toolbar,
.negative-contrast #accessibility-toolbar {
    background-color: transparent !important;
}

.high-contrast #accessibility-panel,
.light-background #accessibility-panel {
    background: rgba(
        255,
        255,
        255,
        0.95
    ) !important; /* Keep panel white/glassy */
    color: #000 !important; /* Keep panel text black */
}

/* Ensure panel buttons don't get messed up */
.high-contrast .acc-btn,
.light-background .acc-btn {
    background: rgba(243, 244, 246, 0.8) !important;
    color: #000 !important;
}
.high-contrast .acc-btn.active,
.light-background .acc-btn.active {
    background: var(--primary) !important;
    color: #fff !important;
}

.highlight-links a {
    text-decoration: underline !important;
    background-color: yellow !important;
    color: black !important;
    font-weight: bold !important;
}

/* Exception for toolbar links/buttons */
.highlight-links #accessibility-toolbar a,
.highlight-links #accessibility-toolbar button {
    text-decoration: none !important;
    background-color: initial !important; /* Allow button backgrounds */
    color: initial !important;
}

/* Ensure active button state is visible in all modes */
.acc-btn.active {
    box-shadow: inset 0 0 0 2px var(--primary);
}

/* Accessibility Toolbar (Premium Design) */
#accessibility-toolbar {
    position: fixed;
    top: 40%;
    left: 5px;
    transform: translateY(-50%);
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    font-family: "Cairo", sans-serif;
}

#accessibility-toggle {
    background: linear-gradient(135deg, var(--primary), #00796b) !important;
    color: #fff !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 32px rgba(0, 158, 145, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    outline: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
}

#accessibility-toggle::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 60%
    );
    opacity: 0;
    transform: scale(0.5);
    transition:
        opacity 0.3s,
        transform 0.3s;
}

#accessibility-toggle:hover::after {
    opacity: 1;
    transform: scale(1);
}

#accessibility-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 158, 145, 0.6) !important;
}

#accessibility-toggle i {
    font-size: 28px;
    z-index: 2;
}

/* Glassmorphism Panel */
#accessibility-panel {
    position: absolute;
    left: 85px;
    top: -150px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    padding: 24px;
    width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

#accessibility-panel.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

/* Panel Header */
.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.acc-header h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
}

/* Grid Layout */
.acc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* Modern Tiles */
.acc-btn {
    background: rgba(243, 244, 246, 0.8);
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    height: 90px;
}

.acc-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 158, 145, 0.2);
    border-color: transparent;
}

.acc-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    border-color: transparent;
}

.acc-btn i {
    font-size: 24px;
    color: var(--ink);
    transition: color 0.2s ease;
}

/* Hover & Active States for Children */
.acc-btn:hover i,
.acc-btn.active i {
    color: #fff;
    transform: none; /* No movement on icon, just color change */
}

.acc-btn:hover span,
.acc-btn.active span {
    color: #fff;
}

.acc-btn span {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    transition: color 0.2s ease;
}

/* Responsive Styles for Accessibility Toolbar */
@media (max-width: 576px) {
    #accessibility-toolbar {
        left: 10px; /* Closer to edge on mobile */
    }

    #accessibility-toggle {
        width: 50px !important;
        height: 50px !important;
    }

    #accessibility-toggle i {
        font-size: 24px;
    }

    #accessibility-panel {
        position: absolute;
        left: 65px; /* Next to the button */
        top: 50%; /* Center vertically relative to button */
        transform: translateY(-50%) translateX(-20px) scale(0.95);

        width: 250px; /* Compact width */
        max-width: calc(100vw - 80px); /* Ensure it fits */
        padding: 16px;

        background: rgba(
            255,
            255,
            255,
            0.98
        ); /* More solid for mobile readability */
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

        max-height: 80vh;
        overflow-y: auto;

        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

        /* Hide scrollbar for cleaner look */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    #accessibility-panel::-webkit-scrollbar {
        display: none;
    }

    #accessibility-panel.visible {
        transform: translateY(-50%) translateX(0) scale(1) !important;
        visibility: visible;
        opacity: 1;
    }

    /* Compact Header */
    .acc-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    .acc-header h4 {
        font-size: 14px;
    }

    /* Compact Grid */
    .acc-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        gap: 8px;
    }

    /* Compact Buttons */
    .acc-btn {
        height: 70px;
        padding: 8px 4px;
    }

    .acc-btn i {
        font-size: 20px;
    }

    .acc-btn span {
        font-size: 10px;
    }

    /* Compact Reset Button */
    .acc-reset-btn {
        margin-top: 12px;
        padding: 10px;
        font-size: 12px;
    }
}

/* Reset Button */
.acc-reset-btn {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background: rgba(254, 242, 242, 0.8);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.acc-reset-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: scale(1.02);
}

/* Reading Guide Overlay */
#reading-guide {
    position: fixed;
    top: 50%;
    left: 0;
    width: 100vw;
    height: 30px; /* Focus area height */
    background: rgba(255, 255, 0, 0.15);
    border-top: 2px solid rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 200000;
    display: none;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.3); /* Dim everything else */
}

/* Big Cursor */
.big-cursor,
.big-cursor * {
    cursor:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='%23000000' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M5.5 3.21l10.8 5.6 5.4 11.2-5.4-2.8-5.4 2.8V3.21z'/%3E%3C/svg%3E"),
        auto !important;
}

/* =========================================
   College Page Wrapper
   ========================================= */
.college-page-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .college-page-wrapper {
        padding: 0 3rem;
    }
}

/* =========================================
   Page Header (Slim Banner)
   ========================================= */
.page-header {
    background: var(--primary);
    padding: 1.5rem 0;
    position: relative;
}

.page-header-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 0px 0 10px 10px;
}

.page-header-title {
    font-family: "Cairo", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.page-header .breadcrumb a:hover {
    color: var(--secondary);
}

.page-header .breadcrumb .sep {
    color: rgba(255, 255, 255, 0.4);
}

.page-header .breadcrumb .current {
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .page-header-title {
        font-size: 1.2rem;
    }
    .page-header .breadcrumb {
        font-size: 0.6rem;
    }
}

/* =========================================
   College Hero About + Vision/Mission
   ========================================= */
.college-hero-about {
    margin-bottom: 0;
}

/* Banner */
.college-hero-banner {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.college-hero-bg {
    position: absolute;
    inset: -20% 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    z-index: 0;
    will-change: transform;
    background-attachment: fixed;
}

.college-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 158, 145, 0.85);
    z-index: 1;
}

.college-hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 1rem;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .college-hero-content {
        padding: 3rem;
    }
}

.left-right-section {
    margin: 0 10%;
}

@media (max-width: 991px) {
    .left-right-section {
        margin: 0 1%;
    }
}

.college-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.college-hero-title {
    font-family: "Cairo", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
}

.college-hero-desc {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    max-width: 50rem;
    margin: 0;
}

.college-hero-desc strong {
    color: #ffffff;
}

/* Vision & Mission Tabs Wrapper */
.vm-tabs-wrapper {
    padding: 2.5rem 0;
}

.vm-tabs-group {
    display: inline-flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    /* border: 1px solid #e2e8f0; */
}

/* Tabs */
.vm-tabs-container {
    display: flex;
    margin-bottom: 1.25rem;
}

.vm-tab-btn {
    padding: 0.5rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: "Cairo", sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.vm-tab-active {
    background: var(--primary);
    color: #ffffff;
    border-radius: 50px;
}

.vm-tab-inactive {
    background: transparent;
    color: #64748b;
}

.vm-tab-inactive:hover {
    color: var(--primary);
}

/* Content Box */
.vm-content-box {
    background: #009e9114;
    border-radius: 0.75rem;
    padding: 2rem 2.5rem;
}

.vm-title {
    font-family: "Cairo", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 0.5rem 0;
}

.vm-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.9;
    margin: 0;
}

.tab-content.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .college-hero-banner {
        min-height: 220px;
    }

    .college-hero-title {
        font-size: 1.5rem;
    }

    .college-hero-desc {
        font-size: 0.85rem;
    }
}

/* =========================================
   Objectives Section (???????)
   ========================================= */
.objectives-section {
    margin-bottom: 0.5rem;
}

.obj-header {
    margin-bottom: 1rem;
}

.obj-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 0.5rem 0;
}

.obj-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .obj-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.obj-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.5rem;
    /* background: #ffffff; */
    border-radius: 0.5rem;
}

.obj-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(0, 158, 145, 0.05);
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.obj-text {
    font-size: 1rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.6;
    margin: 0;
    flex: 1; /* take up remaining space */
}

.objectives-container p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .objectives-container {
        padding: 1.5rem;
    }

    .obj-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1rem;
    }

    .obj-item::after {
        font-size: 4rem;
        top: auto;
        bottom: 5px;
        transform: translateY(0);
    }

    .obj-item:hover::after {
        transform: translateX(-5px) scale(1.05);
    }
}
/* =========================================
   Program Learning Outcomes (?????? ???? ????????)
   ========================================= */
.outcomes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    list-style: none;
    padding: 0;
}

@media (min-width: 640px) {
    .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .outcomes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.outcome-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.5rem 0.5rem;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 4px 15px rgba(0, 78, 105, 0.05); */
    /* border: 1px solid rgba(0, 158, 145, 0.1); */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.outcome-number {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 6px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.outcome-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   Admission Requirements (?????? ???????)
   ========================================= */
.admission-table-wrapper {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        rgba(0, 78, 105, 0.9) 100%
    );
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 78, 105, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.admission-table-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.admission-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.admission-table th {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 700;
    padding: 1.25rem 1.5rem;
    font-size: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.admission-table th:first-child {
    border-top-right-radius: 0.5rem;
}

.admission-table th:last-child {
    border-top-left-radius: 0.5rem;
}

.admission-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    font-weight: 500;
}

.admission-table tr:last-child td {
    border-bottom: none;
}

.admission-table td:first-child {
    font-weight: 700;
    color: #ffffff;
    width: 40%;
}

@media (max-width: 768px) {
    .admission-table-wrapper {
        padding: 1rem;
    }

    .admission-table thead {
        display: none;
    }

    .admission-table,
    .admission-table tbody,
    .admission-table tr,
    .admission-table td {
        display: block;
        width: 100%;
        text-align: right;
    }

    .admission-table tr {
        margin-bottom: 1.5rem;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.75rem;
        overflow: hidden;
    }

    .admission-table td {
        padding: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .admission-table td:first-child {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        width: 100%;
        border-bottom: none;
        text-align: center;
        font-size: 1.1rem;
    }

    .admission-table td:last-child {
        border-bottom: none;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        text-align: center;
    }
}

/* =========================================
   Dean Section (???? ???? ??????)
   ========================================= */
.dean-section {
    padding: 1rem 0;
    background: #ffffff;
}

.dean-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.5rem 0;
    position: relative;
}

/* Top Row: Logo + Dean Info */
.dean-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Right: College Logo */
.dean-logo-side {
    flex-shrink: 0;
}

.dean-college-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.dean-college-logo:hover {
    opacity: 1;
}

/* Center: Mid Image */
.dean-center-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    opacity: 0.9;
}

.dean-mid-image {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .dean-center-img {
        width: 100%;
        /* padding: 0; */
        margin-top: 1rem;
    }
}

/* Left: Dean Photo + Info */
.dean-info-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.dean-photo-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    /* border: 3px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
}

.dean-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dean-name {
    font-family: "Cairo", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    text-align: center;
}

.dean-role {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    text-align: center;
}

/* Dean Message Content */
.dean-message-content {
    text-align: right;
    position: relative;
}

.dean-quote-icon {
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    position: absolute;
    top: -0.5rem;
    left: 0;
}

.dean-message-title {
    font-family: "Cairo", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 1rem 0;
}

.dean-message-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 2;
    margin: 0;
    text-align: justify;
    direction: rtl;
}

/* Responsive */
@media (max-width: 768px) {
    .dean-card {
        padding: 1.5rem;
    }

    .dean-top-row {
        /* flex-direction: column; */
        align-items: center;
        text-align: center;
    }

    .dean-college-logo {
        height: 80px;
    }

    .dean-photo-wrapper {
        width: 100px;
        height: 100px;
    }

    .dean-message-title {
        font-size: 1.15rem;
    }
}

/* =========================================
   Our Colleges Section (???????)
   ========================================= */
.colleges-section {
    padding: 1rem 0;
    background: #ffffff;
    position: relative;
}

/* --- Header --- */
.colleges-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.colleges-header-right {
    text-align: right;
    flex-grow: 1;
}

.colleges-title {
    font-family: "Cairo", sans-serif;
    font-size: 1.875rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.colleges-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
    margin: 0;
    max-width: 28rem;
}

.colleges-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.colleges-view-all {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    background: #fff;
    transition: all 0.25s ease;
}

.colleges-view-all:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.colleges-nav-btns {
    display: flex;
    gap: 0.5rem;
}

.colleges-nav-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.colleges-nav-btn i {
    margin-top: 2px;
    pointer-events: none;
}

.colleges-nav-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 12px rgba(0, 158, 145, 0.3);
}

.colleges-nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
}

.colleges-nav-btn.swiper-button-disabled:hover {
    transform: none;
    box-shadow: none;
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #64748b;
}

/* --- Card --- */
.college-card {
    background: #009e910d;
    border-radius: 1.25rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
    transition: box-shadow 0.35s ease;
}

.college-card:hover {
    /* box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08); */
    border-color: #cbd5e1;
    /* transform: translateY(-4px); */
}

/* Image Container */
.college-card-img {
    width: 100%;
    height: 15.625rem;
    overflow: hidden;
    position: relative;
    background: #e5e7eb;
    border-radius: 0.85rem;
}

.college-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* .college-card:hover .college-card-img img {
    transform: scale(1.06);
} */

/* Logo variant (for logos instead of photos) */
.college-card-img--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

/* .college-card-img--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
} */

/* Card Body */
.college-card-body {
    overflow-x: hidden;
    padding: 1rem 0.4rem 0.4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: right;
}

.college-card-title {
    font-family: "Cairo", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.college-card-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer & Button */
.college-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.college-read-more {
    display: inline-block;
    padding: 0.45rem 1.25rem;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.college-read-more:hover {
    background: #008578;
    box-shadow: 0 4px 14px rgba(0, 158, 145, 0.35);
}

/* Swiper slide spacing */
.collegesSwiper .swiper-slide {
    padding: 0.5rem 0.4rem 1.25rem;
    height: auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .colleges-section {
        padding: 3rem 0;
    }

    .colleges-header {
        gap: 0.75rem;
    }

    .colleges-header-left {
        flex-shrink: 0;
    }

    .colleges-title {
        font-size: 1.5rem;
    }

    .college-card-img {
        height: 11rem;
    }
}

/* ===== COLLEGE SIDE MENU ===== */
.college-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.college-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.college-side-menu {
    position: fixed;
    top: 50%; /* overridden by JS */
    left: 0;
    width: fit-content;
    max-width: 85vw;
    height: fit-content;
    max-height: 95vh;
    background: #ffffff;
    z-index: 99999999999;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
    overflow: clip; /* allows children to scroll, not the parent */
    border-radius: 0 16px 16px 0;
    will-change: transform, opacity;
    touch-action: pan-y; /* allow vertical swipe gestures */
}

.college-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.college-menu-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.college-menu-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.college-menu-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
}

.college-menu-close {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: white; */
    color: #009e91;
    /* border: 1px solid rgba(0,0,0,0.05); */
    cursor: pointer;
    transition: all 0.3s ease;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
    font-size: 12px;
}

.college-menu-close:hover {
    background: rgba(0, 158, 145, 0.1);
    transform: rotate(90deg);
}

.college-menu-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* smooth on iOS */
    overscroll-behavior: contain;
    /* Custom thin scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 158, 145, 0.3) transparent;
}

.college-menu-content::-webkit-scrollbar {
    width: 4px;
}

.college-menu-content::-webkit-scrollbar-track {
    background: transparent;
}

.college-menu-content::-webkit-scrollbar-thumb {
    background: rgba(0, 158, 145, 0.3);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.college-menu-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 158, 145, 0.6);
}

/* College Menu Links */
.college-side-link {
    display: block;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    white-space: normal;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 4px;
}

/* .college-side-link::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-right: 3px dashed var(--primary);
  transition: height 0.2s ease;
} */

.college-side-link:hover {
    background: transparent;
    color: #009e91;
}

.college-side-link:hover::before {
    height: 60%;
}

/* Accordion */
.college-accordion {
    margin-bottom: 4px;
}

.college-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    /* border-bottom: 1px dashed rgba(0, 0, 0, 0.1); */
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.college-accordion-trigger:hover {
    background: transparent;
    color: #009e91;
}

.college-accordion-trigger.active {
    background: rgba(0, 158, 145, 0.05);
    color: #009e91;
    border-bottom-color: transparent;
}

.college-accordion-trigger i {
    font-size: 12px;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.college-accordion-trigger.active i {
    transform: rotate(180deg);
    color: #009e91;
}

.college-accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    border-radius: 0 0 8px 8px;
}

.college-accordion-content .college-side-link {
    padding: 10px 24px 10px 14px;
    font-size: 13px;
    font-weight: 500;
    border-bottom: none;
    border-radius: 6px;
    margin-bottom: 2px;
}

/* Floating Trigger */
.college-menu-trigger {
    position: fixed;
    top: 30%;
    left: 0;
    transform: translateY(-50%);
    background: #009e91;
    color: white;
    width: auto;
    height: 44px;
    padding: 0 16px;
    border-radius: 0 10px 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 995;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.college-menu-trigger:hover {
    padding-right: 22px;
    background: #008a7e;
}

/* ===== PROGRAMS ACCORDION (dept pages) ===== */
.programs-accordion-wrapper {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1.5rem;
}

.programs-accordion-card {
    flex: 1;
    border: 1px solid rgba(0, 158, 145, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

.programs-accordion-trigger {
    width: 100%;
    font-size: 1rem;
    padding: 14px 20px;
    /* background: rgba(0, 158, 145, 0.05); */
}

.programs-accordion-body {
    overflow-x: hidden;
    padding: 8px 12px;
}

/* Active link in college side menu */
.college-side-link.side-link-active {
    color: #009e91 !important;
}

/* Responsive: stack programs accordion cards on small screens */
@media (max-width: 640px) {
    .programs-accordion-wrapper {
        flex-direction: column;
    }

    .programs-accordion-body .college-side-link {
        border-bottom: none;
    }
}
/* ===== FAQ SECTION ===== */
.faq-wrapper {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.faq-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.faq-card.active {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 158, 145, 0.08);
    transform: translateY(-2px);
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
    gap: 1.5rem;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    transition: color 0.3s ease;
    flex: 1;
}

.faq-card.active .faq-question {
    color: var(--primary);
}

.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #64748b;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card.active .faq-icon-wrapper {
    color: var(--primary);
}

.faq-icon-wrapper i {
    font-size: 0.8rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* FAQ Content */
.faq-content {
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.5rem;
}

.faq-content-inner {
    padding: 0.5rem 0 1.5rem 0;
    border-top: 1px solid #f1f5f9;
    color: #475569;
    line-height: 1.8;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .faq-trigger {
        padding: 1rem 1.25rem;
    }
    .faq-question {
        font-size: 1rem;
    }
}

/* ===== STAFF SECTION ===== */
.staff-section {
    padding: 3rem 0;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

/* -- Featured (Dean) card spans full width -- */
.staff-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    border-radius: 20px;
    background: linear-gradient(135deg, #f0fdfb 0%, #fff 60%);
    border: 1.5px solid rgba(0, 158, 145, 0.2);
    box-shadow: 0 8px 32px rgba(0, 158, 145, 0.1);
    overflow: hidden;
    position: relative;
}

.staff-card--featured::before {
    border-radius: 20px 0 0 20px;
    width: 6px;
    height: 100%;
    top: 0;
    right: 0;
    position: absolute;
    background: linear-gradient(180deg, var(--primary), #00c9b8);
}

.staff-card--featured .staff-photo-wrapper {
    flex-shrink: 0;
    width: 180px;
    min-height: 220px;
    background: none;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
}

.staff-card--featured .staff-photo-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: top center;
    border: none;
    box-shadow: none;
}

.staff-featured-body {
    overflow-x: hidden;
    flex: 1;
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
}

.staff-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, #b8960c, #e0b d00);
    background: linear-gradient(90deg, #c9a227, #e8c547);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    width: fit-content;
    margin-bottom: 4px;
    box-shadow: 0 2px 8px rgba(180, 140, 0, 0.3);
}

.staff-card--featured .staff-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
}

.staff-card--featured .staff-title {
    display: inline-block;
    font-size: 0.78rem;
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
    border-radius: 20px;
    padding: 3px 12px;
    font-weight: 700;
    width: fit-content;
}

.staff-card--featured .staff-specialty {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
}

.staff-featured-bio {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.8;
    border-right: 3px solid var(--primary);
    padding-right: 10px;
    margin-top: 6px;
}

@media (max-width: 640px) {
    .staff-card--featured {
        flex-direction: column;
    }
    .staff-card--featured .staff-photo-wrapper {
        width: 100%;
        min-height: 200px;
    }
    .staff-card--featured::before {
        border-radius: 20px 20px 0 0;
        width: 100%;
        height: 6px;
        right: 0;
        top: 0;
    }
}

.staff-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.35s cubic-bezier(0.22, 0.68, 0, 1.2),
        box-shadow 0.3s ease;
    border: 1px solid rgba(0, 158, 145, 0.08);
    display: flex;
    flex-direction: column;
}

.staff-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 158, 145, 0.14);
}

/* Coloured accent bar at top */
.staff-card::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #00c9b8);
    border-radius: 20px 20px 0 0;
}

.staff-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 1.4rem 1rem 0;
    background: linear-gradient(165deg, rgba(0, 158, 145, 0.06) 0%, #fff 60%);
}

.staff-photo-wrapper img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    border: 3px solid rgba(0, 158, 145, 0.25);
    box-shadow: 0 4px 14px rgba(0, 158, 145, 0.18);
    transition:
        transform 0.4s ease,
        border-color 0.3s ease;
}

.staff-card:hover .staff-photo-wrapper img {
    transform: scale(1.06);
    border-color: var(--primary);
}

.staff-overlay {
    position: absolute;
    bottom: 0;
    right: calc(50% - 55px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.staff-card:hover .staff-overlay {
    opacity: 1;
}

.staff-bio-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(0, 158, 145, 0.4);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
    white-space: nowrap;
}

.staff-bio-btn:hover {
    background: #007d73;
    transform: scale(1.05);
}

.staff-info {
    padding: 1rem 1.2rem 0.75rem;
    text-align: center;
    flex: 1;
}

.staff-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.3;
}

.staff-title {
    display: inline-block;
    font-size: 0.75rem;
    color: #fff;
    background: var(--primary);
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 4px;
}

.npdah {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.staff-specialty {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 3px;
}

.staff-bio {
    padding: 0.75rem 1.2rem 1rem;
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.75;
    border-top: 1px solid rgba(0, 158, 145, 0.12);
    background: rgba(0, 158, 145, 0.02);
    animation: fadeIn 0.3s ease;
}

.staff-bio.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .staff-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .staff-photo-wrapper img {
        width: 80px;
        height: 80px;
    }
    .staff-name {
        font-size: 0.82rem;
    }
}

@media (max-width: 400px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Program Page Styles (?????? ???????????)
   ========================================= */

.program-hero-section {
    padding-top: 8rem;
    padding-bottom: 6rem;
    position: relative;
    background-color: #004e69;
    color: white;
    overflow: hidden;
}

.program-hero-bg-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.program-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
}

/* Elegant Split Layout - About Program */
.program-about-wrapper {
    /* background: #ffffff; */
    border-radius: 2rem;
    padding: 1.5rem 1rem;
    /* box-shadow: 0 10px 40px rgba(0, 78, 105, 0.05); */
    /* border: 1px solid #f8fafc; */
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .program-about-wrapper {
        padding: 3rem;
    }
}

.text-ink {
    color: var(--secondary);
}

.program-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1150px) {
    .program-about-grid {
        grid-template-columns: 24fr 4fr;
        gap: 2rem;
    }
}

/* .program-about-image-side {
    position: relative;
    height: 100%;
    min-height: 350px;
} */

.program-about-text-side {
    position: relative;
    z-index: 10;
}

.program-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.program-about-image-container {
    position: relative;
    z-index: 10;
    overflow: hidden;
    width: 100%;
    max-width: 250px;
    aspect-ratio: 1 / 1;
    margin-left: auto;
    margin-right: auto;
    border-radius: 0.5rem;
}

.program-about-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   Study Plan Accordion Row
   ========================================= */
.study-plan-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.study-plan-row .college-accordion-trigger.programs-accordion-trigger {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 8px 0 0 8px !important;
}

.study-plan-row .college-accordion-trigger.programs-accordion-trigger > span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.study-plan-dl {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, #009e91, #00b8a9);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 0 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0 8px 8px 0;
    transition: background 0.25s ease;
    cursor: pointer;
}

.study-plan-dl:hover {
    background: #007a70;
}

.dl-label {
    display: none;
}

@media (min-width: 480px) {
    .dl-label {
        display: inline;
    }
}

.study-plan-img-box {
    border-radius: 12px;
    overflow: auto;
    border: 1px solid rgba(0, 158, 145, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    -webkit-overflow-scrolling: touch;
}

.study-plan-img-box img {
    display: block;
    width: 100%;
    min-width: 280px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .study-plan-img-box {
        max-width: 65%;
        margin: 0 auto;
    }
}

/* =========================================
   Course Descriptions Section (????? ????????)
   ========================================= */
#course-desc-section .obj-header {
    margin-bottom: 1.5rem;
}

/* Level card */
.cd-level {
    /* border: 1px solid rgba(0, 158, 145, .18); */
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    /* box-shadow: 0 3px 14px rgba(0, 0, 0, .05); */
    min-width: 0; /* prevent flex/grid expansion */
    max-width: 100%; /* never wider than the viewport */
}

.cd-level-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.4rem;
    background: linear-gradient(
        135deg,
        rgba(0, 158, 145, 0.07),
        rgba(0, 158, 145, 0.02)
    );
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: right;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    color: #6b737f;
    transition: background 0.25s;
}

.cd-level-header:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 158, 145, 0.13),
        rgba(0, 158, 145, 0.05)
    );
}

.cd-level-header.open {
    color: #009e91;
}

.cd-level-header .cd-lh-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #009e91;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.cd-level-header .cd-lh-title {
    flex: 1;
}

.cd-level-header .cd-lh-arrow {
    font-size: 13px;
    color: #9ca3af;
    transition: transform 0.3s;
}

.cd-level-header.open .cd-lh-arrow {
    transform: rotate(180deg);
    color: #009e91;
}

.cd-level-body {
    overflow-x: hidden;
    overflow: hidden;
    height: 0;
    background: #fff;
    min-width: 0; /* keeps table scroll contained */
}

.cd-level-body-inner {
    padding: 1.25rem 1.4rem 1.4rem;
}

/* Semester block */
.cd-semester {
    margin-bottom: 1.5rem;
}
.cd-semester:last-child {
    margin-bottom: 0;
}

.cd-semester-title {
    font-size: 14px;
    font-weight: 700;
    color: #009e91;
    padding-bottom: 0.5rem;
    margin-bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Courses table */
.cd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.cd-table thead tr {
    background: rgba(0, 158, 145, 0.07);
}

.cd-table th {
    padding: 0.65rem 0.9rem;
    font-weight: 700;
    color: #1e293b;
    border: 1px solid rgba(0, 158, 145, 0.12);
    white-space: nowrap;
    text-align: right;
}

.cd-table td {
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.07);
    color: #374151;
    vertical-align: middle;
}

.cd-table tbody tr:hover > td {
    background: rgba(0, 158, 145, 0.03);
}

.cd-table .cd-code {
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    color: #009e91;
    white-space: nowrap;
}

.cd-table .cd-hours {
    text-align: center;
    font-weight: 700;
    min-width: 60px;
}

/* Description toggle button */
.cd-desc-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #009e91;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}

.cd-desc-btn:hover {
    background: rgba(0, 158, 145, 0.08);
}
.cd-desc-btn i {
    transition: transform 0.3s;
    font-size: 11px;
}
.cd-desc-btn.open i {
    transform: rotate(180deg);
}

.cd-desc-row td {
    background: #f8fafc !important;
    border-top: none !important;
    padding: 0.7rem 1.1rem !important;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.8;
}

.cd-desc-row {
    display: none;
}
.cd-desc-row.visible {
    display: table-row;
}

/* Responsive: scroll table on small screens */
.cd-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
}

/* Responsive overrides */
@media (max-width: 768px) {
    .cd-level-header {
        padding: 0.9rem 1rem;
        font-size: 14px;
    }

    .cd-level-header .cd-lh-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .cd-level-body-inner {
        padding: 0.9rem 0.8rem 0.8rem;
    }

    .cd-semester-title {
        font-size: 13px;
        padding-bottom: 0.4rem;
        margin-bottom: 0.6rem;
    }

    .cd-table {
        font-size: 10px;
    }

    /* Allow header text to wrap so table fits the screen */
    .cd-table th {
        white-space: normal;
        word-break: break-word;
    }

    .cd-table th,
    .cd-table td {
        padding: 0.35rem 0.45rem;
    }

    .cd-table .cd-code {
        font-size: 11px;
    }
    .cd-table .cd-hours {
        min-width: 50px;
    }

    .cd-desc-btn {
        font-size: 11px;
        padding: 0.25rem 0.4rem;
    }

    .cd-desc-row td {
        padding: 0.5rem 0.6rem !important;
        font-size: 12px;
    }
}

/* =========================================
   About Department Section (???? ?? ?????)
   ========================================= */
.dept-about-section {
    /* padding: 3rem 0; */
    margin: 2rem 0;
}

.dept-about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .dept-about-container {
        padding: 0 1.5rem;
    }
}
@media (min-width: 1024px) {
    .dept-about-container {
        padding: 0 3rem;
    }
}

.dept-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .dept-about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .grids {
        grid-template-columns: 1fr 4fr;
    }
}

.dept-about-text .obj-header {
    margin-bottom: 1.5rem;
}

.dept-about-desc {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.8;
    text-align: justify;
    text-align-last: right;
}

.dept-about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dept-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dept-about-logo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* =========================================
   Custom News Page Slider Section
   ========================================= */

.featured-slider-section {
    margin: 2rem 0;
}

.custom-news-section {
    background-color: #f9fafb;
}

.custom-news-card {
    position: relative;
    padding: 2rem;
}

.custom-news-bg-shape {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80%;
    height: 70%;
    background-color: #e5e7eb;
    border-radius: 2rem;
    z-index: 1;
    transform: translate(2rem, 2rem);
}

.custom-news-inner {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.custom-news-content {
    min-height: 400px;
}

.custom-news-title {
    color: var(--primary);
}

/* Pagination for Custom News */
.custom-news-pagination {
    position: relative;
    margin-top: 3rem;
}

.custom-news-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.custom-news-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary);
    width: 30px;
    border-radius: 5px;
}

@media (max-width: 1024px) {
    .custom-news-bg-shape {
        transform: translate(1rem, 1rem);
        width: 90%;
        height: 80%;
    }
}

/* =========================================
   News Cards Grid Section
   ========================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
    margin: 2rem 0;
}
@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-grid-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-grid-thumb {
    height: 200px;
    overflow: hidden;
}
.news-grid-thumb img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.news-grid-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: start;
}
.news-grid-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0.75rem 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-grid-card:hover .news-grid-title {
    color: #007a70; /* primary-dark */
}
.news-grid-desc {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* =========================================
   Community Services Grid Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 158, 145, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 158, 145, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(0, 158, 145, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 0.8rem;
}

[dir="ltr"] .service-card::before {
    transform-origin: left;
}
[dir="ltr"] .service-card:hover::before {
    transform-origin: right;
}

/* =========================================
   Academic Development Center (ADC) Page
   ========================================= */

/* --- About Section --- */
.adc-about-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0faf9 100%);
}

.adc-about-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .adc-about-wrapper {
        flex-direction: row;
        gap: 4rem;
    }
}

.adc-about-text-side {
    flex: 1;
}

.adc-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 158, 145, 0.08);
    color: var(--primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.adc-section-badge i {
    font-size: 1rem;
}

.adc-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.adc-title-line {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.adc-about-paragraph {
    font-size: 1.05rem;
    line-height: 2;
    color: #4b5563;
    text-align: justify;
}

/* Image Side */
.adc-about-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.adc-image-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 158, 145, 0.15);
}

.adc-image-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.adc-image-frame:hover img {
    transform: scale(1.05);
}

.adc-image-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* --- Stats Section --- */
.adc-stats-section {
    padding: 4rem 0;
    background: white;
}

.adc-stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .adc-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.adc-stat-card {
    background: linear-gradient(135deg, #f8fffe 0%, #eef9f8 100%);
    border: 1px solid rgba(0, 158, 145, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.adc-stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.adc-stat-card:hover::after {
    opacity: 1;
}

.adc-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 158, 145, 0.2);
}

.adc-stat-card > * {
    position: relative;
    z-index: 1;
}

.adc-stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(0, 158, 145, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.adc-stat-card:hover .adc-stat-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.adc-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.3rem;
    transition: color 0.4s ease;
}

.adc-stat-card:hover .adc-stat-number {
    color: white;
}

.adc-stat-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #6b7280;
    transition: color 0.4s ease;
}

.adc-stat-card:hover .adc-stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* --- Contact Section --- */
.adc-contact-section {
    padding: 4rem 0 5rem;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8fffe 100%);
}

.adc-contact-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.adc-contact-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .adc-contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.adc-contact-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 158, 145, 0.08);
    transition: all 0.4s ease;
}

.adc-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 158, 145, 0.12);
    border-color: var(--primary);
}

.adc-contact-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.adc-contact-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.adc-contact-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* =========================================
   Organizational Chart Tree
   ========================================= */
.org-chart-section {
    padding: 1rem 0;
    background: white;
}

.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2.5rem;
}

.org-tree-root {
    display: flex;
    justify-content: center;
}

.org-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
    transition: all 0.4s ease;
    font-size: 0.85rem;
}

.org-node i {
    font-size: 1.2rem;
}

.org-node-root {
    color: var(--primary);
    font-size: 0.95rem;
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 158, 145, 0.2);
    min-width: 220px;
}

.org-node-root i {
    font-size: 1.4rem;
}

/* Connector from root to branches */
.org-tree-connector,
.org-tree-connector-vertical {
    width: 1px;
    height: 35px;
    background: rgba(0, 158, 145, 0.18);
    position: relative;
}

.org-tree-connector::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 660px;
    max-width: 75%;
    height: 2px;
    background: rgba(0, 158, 145, 0.18);
}

/* Branches container */
.org-tree-branches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
    position: relative;
    padding-top: 28px;
}

/* Horizontal line connecting all children */
.org-tree-branches::before {
    content: "";
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: rgba(0, 158, 145, 0.18);
}

.org-node-child {
    border: 1.5px solid rgba(0, 158, 145, 0.12);
    color: #374151;
    font-size: 0.8rem;
    padding: 1rem 0.8rem;
    position: relative;
    border-radius: 14px;
}

.org-node-child::before {
    content: "";
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 28px;
    background: rgba(0, 158, 145, 0.18);
}

.org-node-child i {
    color: var(--primary);
    font-size: 1.1rem;
}

.org-node-child:hover i {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .org-tree-branches {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
    }

    .org-tree-branches::before,
    .org-node-child::before,
    .org-tree-connector::after {
        display: none;
    }

    .org-tree-connector,
    .org-tree-connector-vertical {
        height: 20px;
    }

    .org-node-root {
        min-width: auto;
        font-size: 0.95rem;
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .org-tree-branches {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

/* =========================================
   ADC Contact Bar (Primary BG)
   ========================================= */
.adc-contact-bar {
    padding: 3rem 0;
    margin-top: 2rem;
}

.adc-contact-bar-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
}

.adc-contact-bar-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .adc-contact-bar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.adc-contact-bar-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    transition: background 0.3s ease;
}

.adc-contact-bar-item i {
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.adc-contact-bar-item strong {
    color: #1f2937;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.adc-contact-bar-item p {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   Schedule Lecture Table
   ========================================= */
.schedule-section {
    padding: 2rem 0 4rem;
}

.schedule-header-info {
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.schedule-header-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.schedule-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-label {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.95rem;
}

.schedule-value {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.schedule-semester-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1f2937;
    padding-top: 0.8rem;
    border-top: 1px solid #e5e7eb;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.schedule-table thead {
    background: var(--primary);
}

.schedule-th,
.schedule-th-day {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 1rem 0.8rem;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.schedule-th-day {
    min-width: 100px;
    background: var(--primary);
}

.schedule-day {
    font-weight: 800;
    font-size: 0.95rem;
    color: white;
    text-align: center;
    padding: 1rem 0.8rem;
    background: var(--primary);
    border-bottom: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
    min-width: 100px;
}

.schedule-cell {
    text-align: center;
    padding: 0.8rem 0.6rem;
    border-bottom: 1px solid #000000;
    border-left: 1px solid #000000;
    vertical-align: middle;
    transition: background 0.2s ease;
}

.schedule-subject {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.schedule-lab {
    color: red;
    font-weight: 600;
    font-size: 0.75rem;
}

.schedule-instructor {
    color: var(--secondary);
    font-size: 0.78rem;
    margin-bottom: 2px;
    border-top: 1px solid black;
    margin-top: 4px;
    padding-top: 4px;
}

.schedule-room {
    display: flex;
    justify-content: center;
    gap: 0;
    border-top: 1px solid black;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 600;
}

.schedule-room span {
    flex: 1;
    padding: 4px 6px;
    text-align: center;
}

.schedule-room .room-name {
    color: var(--primary);
    border-inline-end: 1px solid black;
}

.schedule-room .room-time {
    color: var(--primary);
}
.schedule-off {
    color: #000000;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
}

.schedule-off span {
    opacity: 0.6;
}

.schedule-footer-info {
    margin-top: 1rem;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 158, 145, 0.05);
    border-radius: 8px;
}

.schedule-footer-info p {
    color: #6b7280;
    font-size: 0.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-footer-info i {
    color: var(--primary);
}

@media (max-width: 768px) {
    .schedule-header-row {
        flex-direction: column;
    }
    .schedule-header-info {
        padding: 1rem;
    }
    .schedule-semester-title {
        font-size: 0.95rem;
    }

    .schedule-section {
        padding: 1rem 0 2rem;
    }

    .schedule-table {
        min-width: unset;
        width: 100%;
        table-layout: fixed;
    }

    .schedule-th,
    .schedule-th-day {
        font-size: 0.6rem;
        padding: 0.5rem 0.2rem;
        word-break: break-word;
    }

    .schedule-th-day {
        min-width: unset;
        width: 50px;
    }

    .schedule-day {
        font-size: 0.65rem;
        padding: 0.5rem 0.2rem;
        min-width: unset;
        word-break: break-word;
    }

    .schedule-cell {
        padding: 0.4rem 0.2rem;
    }

    .schedule-subject {
        font-size: 0.6rem;
        line-height: 1.3;
    }

    .schedule-lab {
        font-size: 0.55rem;
    }

    .schedule-instructor {
        font-size: 0.55rem;
        margin-top: 2px;
        padding-top: 2px;
    }

    .schedule-room {
        font-size: 0.5rem;
        margin-top: 2px;
    }

    .schedule-room span {
        padding: 1px 2px;
        font-size: 0.5rem;
    }

    .schedule-off {
        font-size: 0.7rem;
    }

    .schedule-footer-info p {
        font-size: 0.7rem;
    }
}

/* --- Leadership Page Styles --- */
.leadership-profile-wrapper {
    text-align: center;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}
.leadership-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}
.leadership-profile-info {
    margin-top: 20px;
}
.leadership-profile-name {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.leadership-profile-item {
    margin-bottom: 30px;
    background-color: color-mix(in srgb, var(--primary) 6%, transparent);
    padding: 40px 10px;
    border-radius: 24px;
    border: 1px solid color-mix(in srgb, var(--primary) 15%, transparent);
}

.leadership-profile-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.leadership-profile-desc {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.8;
    text-align: justify;
    text-align-last: start;
}
.leadership-profile-btn {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    transition:
        background-color 0.3s,
        box-shadow 0.3s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.leadership-profile-btn:hover {
    background-color: var(--primary-dark, #007a70);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    color: white;
}

/* Journey Download Card */
.journey-download-card {
    width: 80%;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    display: grid !important;
    grid-template-columns: 100px 1fr !important;
    align-items: stretch !important;
}

@media (min-width: 992px) {
    .journey-download-card[data-aos] {
        transition-timing-function: cubic-bezier(
            0.215,
            0.61,
            0.355,
            1
        ) !important;
    }
}

@media (max-width: 991px) {
    .journey-download-card {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .journey-card-icon-wrapper {
        border-left: none !important;
        min-height: auto !important;
    }
    .leadership-profile-text {
        text-align: center !important;
    }
    .journey-card-icon-wrapper i {
        font-size: 3.5rem;
    }
    .journey-card-title {
        font-size: 1.3rem !important;
        margin-top: 1rem;
    }
    .journey-card-desc {
        font-size: 0.95rem !important;
    }
    .journey-card-btn {
        padding: 0.8rem 1.8rem !important;
        font-size: 0.9rem !important;
        width: 100%;
        justify-content: center;
    }
}

.journey-card-icon-wrapper i {
    font-size: 3rem;
    color: var(--primary);
}

.journey-card-title {
    font-size: 1.4rem !important;
    color: var(--primary) !important;
    margin-bottom: 0.25rem;
}

.journey-card-desc {
    font-size: 1rem !important;
    color: #4b5563;
    margin-bottom: 1.5rem !important;
    line-height: 1.7;
}

.journey-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.4rem 1rem !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: var(--primary);
    color: white !important;
    font-weight: bold;
    box-shadow: 0 4px 8px -2px rgba(0, 158, 145, 0.2);
}

.journey-card-btn i {
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .leadership-profile-text {
        text-align: center;
    }
    .leadership-profile-line {
        margin-left: auto;
        margin-right: auto;
    }
    .leadership-profile-desc {
        text-align: center;
        text-align-last: center;
    }
}

/* =========================================
   Custom About Center Section
   ========================================= */
.custom-about-center-section {
    padding: 1rem 0;
}

.custom-about-center-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .custom-about-center-grid {
        flex-direction: row;
        justify-content: space-between;
    }
    .custom-about-center-text {
        flex: 1.2;
    }
    .custom-about-center-image {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
}

.custom-about-center-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    position: relative;
}

.custom-about-center-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    text-align: justify;
}

.custom-about-center-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 1200px) {
    .custom-about-center-body {
        flex-direction: row;
        align-items: flex-start;
    }
}

.custom-about-center-inline-img {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    transition: transform 0.4s ease;
    flex-shrink: 0;
}

/* ===== CENTER LEADERSHIP PAGE ===== */
.leadership-table-wrap {
    background: #fff;
    border-radius: 5px;
    overflow: clip;
    margin-bottom: 1rem;
}

/* Stats table — always stays as a table on all screens */
.stats-table-wrap {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0;
}
.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Cairo", sans-serif;
}
.stats-table thead tr {
    background: linear-gradient(135deg, var(--primary) 0%, #007a6e 100%);
}
.stats-table thead th {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 10px 12px;
    text-align: center;
}
.stats-table tbody td {
    padding: 10px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary);
    border-bottom: none;
}
.leadership-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Cairo", sans-serif;
}
.leadership-table thead tr {
    background: linear-gradient(135deg, var(--primary));
}
.leadership-table thead th {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 17px 18px;
    text-align: right;
    white-space: nowrap;
}
.leadership-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}
.leadership-table tbody tr:last-child {
    border-bottom: none;
}
.leadership-table tbody td {
    padding: 16px 18px;
    font-size: 0.88rem;
    color: #374151;
    vertical-align: middle;
}
.member-name {
    font-weight: 800;
    font-size: 0.95rem;
}
.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
}
.member-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.member-email-link {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.member-email-link:hover {
    color: #007a6e;
    text-decoration: underline;
}
.phone-num {
    direction: ltr;
    display: inline-block;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
}
.degree-badge {
    color: #374151;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
}
.cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 158, 145, 0.2);
}
.cv-btn:hover {
    background: #007a6e;
}
.row-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: #d1d5db;
    text-align: center;
    width: 40px;
}
.spec-text {
    color: #6b7280;
    font-size: 0.82rem;
}

/* ── Stacked cards on screens < 1400px ── */
@media (max-width: 1400px) {
    .leadership-table-wrap {
        overflow: visible;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }
    .leadership-table,
    .leadership-table tbody {
        display: block;
        width: 100%;
    }
    .leadership-table thead {
        display: none;
    }
    .leadership-table tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: 16px;
        margin-bottom: 14px;
    }
    .leadership-table tbody .last-member-row {
        margin-bottom: 14px;
    }
    .leadership-table tbody td {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 7px 0;
        font-size: 0.86rem;
        border: none;
        border-bottom: 1px dashed #f0f0f0;
    }
    .leadership-table tbody td:last-child {
        border-bottom: none;
        padding-top: 12px;
    }
    .leadership-table tbody td::before {
        content: attr(data-label);
        font-weight: 800;
        color: var(--primary);
        font-size: 0.75rem;
        min-width: 110px;
        flex-shrink: 0;
        padding-top: 2px;
    }

    /* hide row number on mobile */
    .leadership-table tbody td.row-num {
        display: none;
    }
    .cv-btn {
        justify-content: center;
        padding: 9px 16px;
        font-size: 0.82rem;
    }
    .member-name {
        font-size: 0.92rem;
    }
    .member-email-link {
        word-break: break-all;
        font-size: 0.78rem;
    }
    .degree-badge {
        font-size: 0.76rem;
    }
    .member-role-badge {
        font-size: 0.76rem;
        white-space: normal;
    }
}
/* ===== END CENTER LEADERSHIP PAGE ===== */

/* ===== ACCESSIBILITY TOOLBAR ===== */
#accessibility-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99990;
    pointer-events: none;
    transition: backdrop-filter 0.3s ease;
}

.acc-header-detail {
    background: rgba(0, 158, 145, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.acc-header-icon {
    color: var(--primary);
    font-size: 20px;
}

/* ===== MOBILE DRAWER ADDITIONAL STYLES ===== */
.mobile-drawer-contact-link {
    display: block;
    padding: 15px 20px;
    font-weight: 600;
    color: #111827;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
}

.mobile-drawer-contact-link:hover {
    background-color: #f9fafb;
    color: var(--primary);
}

/* =========================================
   Disable AOS Animations on Mobile
   ========================================= */
@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .custom-about-center-title,
    .obj-title {
        font-size: 1.15rem;
    }
}

/* =========================================
   Activity Cards – Center Activities Page
   ========================================= */
.activity-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin: 1rem 0;
}

@media (min-width: 640px) {
    .activity-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .activity-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.activity-card {
    background: #0096881a;
    padding: 1rem;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

/* Image Container */
.activity-card-img {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.activity-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.35) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Body */
.activity-card-body {
    padding: 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

/* Title Link */
.activity-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.65;
    color: #1f2937;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.25s ease;
}

.activity-card-title:hover {
    color: #009e91;
}

/* Meta Info */
.activity-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
}

.activity-card-source,
.activity-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6b7280;
}

.activity-card-source i,
.activity-card-date i {
    font-size: 0.85rem;
    color: #009e91;
}

/* =========================================
   Activity Detail Page
   ========================================= */
.activity-detail-wrapper {
    max-width: 80%;
    margin: 1rem auto;
}

.activity-detail-article {
    border-radius: 12px;
    overflow: hidden;
    background: #0096881a;
    padding: 1rem;
    border-radius: 5px;
}

/* Hero Image */
.activity-detail-hero {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

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

/* Meta Bar */
.activity-detail-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 1rem;
}

.activity-detail-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #6b7280;
}

.activity-detail-meta-item i {
    color: #009e91;
    font-size: 0.95rem;
}

/* Content Body */
.activity-detail-content {
    padding: 0.2rem;
    line-height: 1.9;
    color: #374151;
}

.activity-detail-content p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    text-align: justify;
}

.activity-detail-content h2,
.activity-detail-content h3 {
    font-weight: 800;
    color: var(--primary);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.activity-detail-content h2 {
    font-size: 1.3rem;
}

.activity-detail-content h3 {
    font-size: 1.15rem;
}

.activity-detail-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.activity-detail-content ul li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.activity-detail-content ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: #009e91;
    border-radius: 50%;
}

/* Back Link */
.activity-detail-back {
    padding: 1.5rem 2rem;
    border-top: 1px solid #f3f4f6;
}

.activity-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #009e91;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.activity-detail-back-link:hover {
    gap: 0.7rem;
}

@media (max-width: 640px) {
    .activity-detail-meta-bar {
        padding: 1rem 1.25rem;
    }
    .activity-detail-content {
        padding: 1.25rem;
    }
    .activity-detail-content h2 {
        font-size: 1.1rem;
    }
    .activity-detail-back {
        padding: 1rem 1.25rem;
    }

    .activity-detail-wrapper {
        max-width: 100%;
    }
}

/* =========================================
   Courses & Workshops Page
   ========================================= */
.left-right-section .container {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* =========================================
   Document Download Links
   ========================================= */
.doc-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #009e91;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
    background: transparent;
}

.doc-download-link:hover {
    color: #009e91;
    transform: translateY(-1px);
}

.doc-download-link span {
    border-bottom: 1px dashed currentColor;
}

/* Year Badge */
.doc-year-wrapper {
    text-align: center;
    margin-bottom: 2rem;
}

.doc-year-badge {
    background: linear-gradient(135deg, #009e91, #00b8a9);
    color: #fff;
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
}

/* File Type Icons */
.doc-download-link .fa-file-word {
    color: #2b579a;
    font-size: 1.2rem;
}

.doc-download-link .fa-file-pdf {
    color: #d32f2f;
    font-size: 1.2rem;
}

/* =========================================
   Contact Directory Page
   ========================================= */

/* --- Intro Section --- */
.contact-dir-section {
    padding: 3rem 0 1rem;
}

.contact-dir-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-dir-intro-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 12px 30px rgba(0, 158, 145, 0.25);
}

.contact-dir-intro-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 0.8rem;
}

.contact-dir-intro-desc {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.8;
}

/* --- Contact Cards Grid --- */
.contact-dir-cards-section {
    padding: 2rem 0 3rem;
}

.contact-dir-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-dir-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Individual Card --- */
.contact-dir-card {
    border-radius: 20px;
    padding: 1rem rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-dir-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

/* --- Card Icon --- */
.contact-dir-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.contact-dir-card-icon.phone-icon,
.contact-dir-card-icon.email-icon,
.contact-dir-card-icon.location-icon,
.contact-dir-card-icon.hours-icon {
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
}

.contact-dir-card:hover .contact-dir-card-icon.phone-icon,
.contact-dir-card:hover .contact-dir-card-icon.email-icon,
.contact-dir-card:hover .contact-dir-card-icon.location-icon,
.contact-dir-card:hover .contact-dir-card-icon.hours-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 158, 145, 0.3);
}

/* --- Card Body --- */
.contact-dir-card-label {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-dir-card-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-dir-card-note {
    font-size: 0.82rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
}

/* --- Card Action --- */
.contact-dir-card-action {
    margin-top: 1.2rem;
}

.contact-dir-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.5px solid;
}

.contact-dir-action-btn.phone-btn,
.contact-dir-action-btn.email-btn,
.contact-dir-action-btn.location-btn {
    color: var(--primary);
    border-color: rgba(0, 158, 145, 0.25);
    background: rgba(0, 158, 145, 0.05);
}

.contact-dir-action-btn.phone-btn:hover,
.contact-dir-action-btn.email-btn:hover,
.contact-dir-action-btn.location-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 15px rgba(0, 158, 145, 0.3);
}

/* --- Social Media --- */
.contact-dir-social-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-dir-social-header .section-title {
    display: inline-block;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 0;
}

.contact-dir-social-header .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contact-dir-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-dir-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--primary);
    background: rgba(0, 158, 145, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-dir-social-link:hover {
    color: #ffffff;
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 158, 145, 0.3);
}

@media (min-width: 768px) {
    .contact-dir-social-row {
        flex-wrap: nowrap;
    }
}


.contact-dir-small-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary);
    background: rgba(0, 158, 145, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-dir-small-social-link:hover {
    color: #ffffff;
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 158, 145, 0.3);
}

@media (min-width: 768px) {
    .contact-dir-small-social-row {
        flex-wrap: nowrap;
    }
}


/* --- Status Badge --- */
.contact-dir-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 158, 145, 0.08);
    border: 1.5px solid rgba(0, 158, 145, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: contact-pulse 2s ease-in-out infinite;
}

@keyframes contact-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

/* --- Contact Form Section --- */
.contact-dir-form-section {
    padding: 2rem 0 4rem;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f4ff 100%);
}

.contact-dir-form-wrapper {
    max-width: 750px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 158, 145, 0.08);
}

.contact-dir-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-dir-form-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 0.4rem;
}

.contact-dir-form-subtitle {
    font-size: 0.9rem;
    color: #9ca3af;
}

.contact-dir-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .contact-dir-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-dir-input-group {
    margin-bottom: 1rem;
}

.contact-dir-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.4rem;
}

.contact-dir-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.contact-dir-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 158, 145, 0.08);
    background: white;
}

.contact-dir-input-wrapper i {
    font-size: 1rem;
    color: #9ca3af;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.contact-dir-input-wrapper:focus-within i {
    color: var(--primary);
}

.contact-dir-input-wrapper input {
    width: 100%;
    padding: 0.8rem 0;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: #1f2937;
    font-family: inherit;
}

.contact-dir-textarea-wrapper {
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-dir-textarea-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 158, 145, 0.08);
    background: white;
}

.contact-dir-textarea-wrapper textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: #1f2937;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.contact-dir-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1rem;
    font-weight: 800;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 158, 145, 0.2);
    font-family: inherit;
}

.contact-dir-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 158, 145, 0.3);
}

.contact-dir-submit-btn:active {
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .contact-dir-intro-title {
        font-size: 1.4rem;
    }

    .contact-dir-card {
        padding: 1.5rem 1.2rem;
    }

    .contact-dir-form-wrapper {
        padding: 1.5rem 1.2rem;
    }

    .contact-dir-form-title {
        font-size: 1.2rem;
    }
}

/* --- Modern Banking-Style App Cards (Student Guide) --- */
.sg-modern-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem auto;
}

.sg-modern-card {
    position: relative;
    flex: 1 1 280px;
    max-width: 350px; /* Keeps the card from stretching too wide when alone */
    border-radius: 24px;
    height: 420px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column-reverse;
    align-items: center; /* Centers all content horizontally */
    overflow: hidden;
    color: white;
    text-align: center; /* Centers the text */
    transition:
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
    .sg-modern-card {
        height: 480px;
        padding: 2.5rem 2rem;
    }
}

.sg-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 158, 145, 0.2);
}

/* --- Full-width Card Variation (for Single Guide Page) --- */
.sg-modern-card.sg-full-width {
    max-width: 1000px;
    width: 100%;
}

@media (max-width: 767px) {
    .sg-modern-card.sg-full-width {
        max-width: 100%;
        padding: 1rem;
    }
    .sg-modern-card.sg-full-width .sg-modern-subtitle {
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    .sg-modern-card.sg-full-width .sg-modern-image {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin: 1.5rem auto 0;
        width: 70%;
        max-height: 200px;
        opacity: 0.9;
    }
}

@media (min-width: 768px) {
    .sg-modern-card.sg-full-width {
        flex-direction: row;
        text-align: right;
        padding: 3rem 4rem;
        height: auto;
        min-height: 400px;
        align-items: center;
        justify-content: space-between;
    }
    .sg-modern-card.sg-full-width .sg-modern-content {
        flex: 1;
        padding-left: 3rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .sg-modern-card.sg-full-width .sg-modern-title {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }
    .sg-modern-card.sg-full-width .sg-modern-subtitle {
        font-size: 1.15rem;
        line-height: 1.8;
        margin-bottom: 2.5rem;
    }
    .sg-modern-card.sg-full-width .sg-modern-btn-wide {
        width: auto;
        padding: 0.8rem 2.8rem;
        margin-top: 0;
        font-size: 1.1rem;
    }
    .sg-modern-card.sg-full-width .sg-modern-image {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        width: 35%;
        max-height: 280px;
        opacity: 0.95;
    }
}

/* Background Gradients (Updated to Primary Color variations) */
.bg-theme-blue,
.bg-theme-light-grey,
.bg-theme-dark-grey,
.bg-theme-navy {
    background: var(--primary);
}

.sg-modern-content {
    position: relative;
    z-index: 10;
}
.sg-modern-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    font-family: "Cairo", sans-serif;
    line-height: 1.3;
}
@media (min-width: 768px) {
    .sg-modern-title {
        font-size: 1.8rem;
    }
}
.sg-modern-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.95;
}

/* Graphic/Logo Image */
.sg-modern-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    max-height: 50%;
    object-fit: contain;
    object-position: center;
    z-index: 5;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    opacity: 0.8;
}

/* Wide Button */
.sg-modern-btn-wide {
    position: relative;
    z-index: 10;
    margin-top: auto;
    background: white;
    border: 1px solid white;
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.sg-modern-btn-wide:hover {
    background: transparent; /* Allows the primary card color to seamlessly bleed through */
    color: white; /* Text flips to white */
    border-color: white; /* Leaves a crisp white outline */
    letter-spacing: 0.5px; /* Subtle text expansion */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Deeper shadow for 3D feel */
}

/* Circle Button (expanding to pill on hover) */
.sg-modern-btn-circle {
    position: relative;
    z-index: 10;
    margin-top: auto;
    align-self: center;
    width: auto;
    min-width: 48px;
    height: 48px;
    background: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 1.15rem;
    padding: 0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
}

.sg-btn-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: "Cairo", sans-serif;
}

.sg-modern-btn-circle i {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sg-modern-btn-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 0 1.25rem;
}

.sg-modern-btn-circle:hover .sg-btn-text {
    max-width: 100px;
    opacity: 1;
    color: var(--primary);
}

.sg-modern-btn-circle:hover i {
    color: var(--primary);
    margin-right: 0.5rem; /* space between text and icon since document is RTL */
}

/* ==========================================================================
   Regulations Card Styles
   ========================================================================== */
/* ===== Regulations Accordion ===== */
.regulations-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.regulations-accordion-wrapper .programs-accordion-card {
    flex: none;
}

.regulation-accordion-trigger {
    padding: 18px 20px;
}

.regulation-accordion-trigger > i {
    font-size: 1.1rem;
    color: #9ca3af;
    transition: transform 0.3s ease;
}

.regulation-accordion-title {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 700;
    color: #1f2937;
    text-align: start;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.college-accordion-trigger.regulation-accordion-trigger:hover
    .regulation-accordion-title {
    color: var(--primary);
}

.regulation-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    padding: 7px;
}

.college-accordion-trigger.regulation-accordion-trigger.active
    .regulation-accordion-icon {
    background: var(--primary);
    color: #ffffff;
}

.regulation-accordion-text {
    font-size: 1rem;
}

.regulation-accordion-desc {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: justify;
    margin: 0;
    padding: 0.5rem 0.25rem;
}

/* ==========================================================================
   Forms Cards Styles
   ========================================================================== */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin: 3rem auto;
}
@media (min-width: 768px) {
    .forms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-card {
    background: var(--primary);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.form-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.form-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 1.75rem;
    position: relative;
    z-index: 2;
}

.form-info {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.form-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.form-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.form-action {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.btn-download-form {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: var(--primary) !important;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.btn-download-form:hover {
    background: var(--primary);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 158, 145, 0.2);
}

@media (max-width: 991px) {
    .form-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .form-action {
        width: 100%;
    }
    .btn-download-form {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Announcements Cards */
.announcements-section {
    margin: 1rem 0;
}

.announcement-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
}

.announcement-thumb {
    width: 100%;
    aspect-ratio: 10 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: #f8fafc;
    position: relative;
}

.announcement-thumb img,
.announcement-thumb iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    transition: transform 0.4s ease;
    display: block;
}

.announcement-body {
    flex-grow: 1;
    margin-bottom: 24px;
}

.announcement-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: right;
}

.announcement-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.announcement-card:hover .announcement-title a {
    color: #009e91;
}

.announcement-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
}

.announcement-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6b7280;
}

.announcement-date i {
    color: #374151;
    font-size: 1.1rem;
}

.announcement-more {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
}

.announcement-more:hover {
    border-color: #009e91;
    color: #009e91;
    background-color: rgba(0, 158, 145, 0.05);
}

.announcement-more i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

[dir="rtl"] .announcement-card:hover .announcement-more i {
    transform: translateX(-4px);
}
[dir="ltr"] .announcement-card:hover .announcement-more i {
    transform: translateX(4px);
}

/* --- Media Gallery Custom Styles --- */

.gallery-tabs-wrapper {
    margin-top: 2rem;
}

.gallery-tabs {
    display: inline-flex;
    background-color: #f1f3f5;
    border-radius: 50px;
    padding: 6px;
    gap: 8px;
}

.gallery-tab {
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: #6b7280;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    background-color: transparent;
}

.gallery-tab.active {
    background-color: #ffffff;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gallery-tab:hover:not(.active) {
    color: var(--primary);
}

@media (max-width: 768px) {
    .gallery-tabs {
        padding: 4px;
        gap: 4px;
    }
    .gallery-tab {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

.gallery-grid {
    margin-top: 2rem;
}

.gallery-card {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    gap: 24px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

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

.gallery-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: rgba(0, 158, 145, 0.85); /* Primary color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    pointer-events: none;
}

.gallery-play-icon i {
    margin-left: -2px; /* Fix triangle alignment */
    font-size: 1.2rem;
}

.gallery-card:hover .gallery-play-icon {
    background-color: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- GSAP Gallery Modal Styles --- */

.gsap-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none; /* Hidden by default, toggled to flex via JS */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gsap-gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.9rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10000;
}

.gsap-gallery-modal-close:hover {
    background: #ff4d4d;
    border-color: #ff4d4d;
    color: #fff;
}

.gsap-gallery-modal-close:active {
    transform: scale(0.95);
}

.gsap-modal-content {
    max-width: 900px;
    width: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: transparent;
}

.gsap-modal-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.gsap-modal-content .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background-color: #000;
}

.gsap-modal-content .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* ========================================= */
/* Alumni Year Cards */
/* ========================================= */

.alumni-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding-bottom: 2rem;
}

.alumni-year-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #f3f4f6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    position: relative;
    overflow: hidden;
}

.alumni-year-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: right; /* RTL friendly */
}

.alumni-year-card .alumni-card-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(0, 158, 145, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.alumni-year-card .alumni-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.alumni-year-card .alumni-card-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.alumni-year-card .alumni-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #f3f4f6;
    color: #4b5563;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.alumni-year-card .alumni-card-btn:hover {
    background-color: var(--primary);
    color: #ffffff;
}

/* ========================================= */
/* Alumni Details & Table Styles */
/* ========================================= */

.alumni-filter-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 20;
}

.alumni-filter-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
}

.alumni-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    flex-grow: 1;
    justify-content: flex-start;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 220px;
    flex-grow: 1;
    position: relative;
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 0.4rem 1.25rem;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-group:focus-within {
    background-color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 158, 145, 0.1);
}

.filter-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.filter-label i {
    color: var(--primary);
    font-size: 1.05rem;
}

.filter-select-wrapper {
    flex-grow: 1;
    width: 100%;
}

.filter-select {
    width: 100%;
    padding: 0.45rem 0;
    background-color: transparent;
    border: none;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    font-family: inherit;
    appearance: none;
}

select.filter-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 0 center;
    background-size: 1rem;
    padding-left: 1.5rem;
    cursor: pointer;
}

.filter-actions {
    display: flex;
    align-items: flex-end;
}

.filter-btn {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.75rem;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 158, 145, 0.2);
}

.filter-btn:hover {
    background-color: #00877c;
}

.filter-btn:active {
    transform: translateY(1px);
}

/* Table Container */
.alumni-table-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
}

.table-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
}

.table-actions {
    display: flex;
    gap: 0.75rem;
}

.table-action-btn {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    color: var(--primary);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-action-btn:hover {
    border-color: var(--primary);
    background-color: rgba(0, 158, 145, 0.05);
}

.table-responsive {
    overflow-x: auto;
}

.alumni-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.alumni-table th {
    background-color: #f9fafb;
    padding: 1rem;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 800;
    color: #4b5563;
    border-bottom: 2px solid #f3f4f6;
}

.alumni-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
    font-size: 0.95rem;
    color: #1f2937;
    font-weight: 600;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.student-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 158, 145, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.student-name {
    font-weight: 700;
}

.gpa-badge {
    background-color: rgba(0, 158, 145, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-block;
}

.status-approved {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .alumni-filter-inner {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    .alumni-filter-grid {
        flex-direction: column;
    }
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Academic Calendar Specific Styles
   ========================================================================== */
.calendar-card-footer {
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.calendar-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 8px;
    border: none;
    color: white !important;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.calendar-action-btn:hover {
    opacity: 0.85;
    color: white;
}

.calendar-download-btn {
    width: 36px;
    background-color: var(--secondary);
    font-size: 1.1rem;
}

.calendar-download-btn i {
    margin: 0;
    padding-top: 4px;
}

.calendar-details-btn {
    padding: 0 1rem;
    background-color: var(--primary);
}

/* ==========================================================================
   Careers Section Styles
   ========================================================================== */

.careers-section {
    position: relative;
    overflow: hidden;
    max-width: 95%; /* Full space on mobile */
    margin: 1rem auto;
}

@media (min-width: 1024px) {
    .careers-section {
        max-width: 80%;
    }
}

.careers-title {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* =========================================
   Careers Layout Structure (Moved from HTML)
   ========================================= */
.careers-layout-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1.5rem;
}

.careers-text-content {
    flex: 1;
    text-align: start;
}

.careers-text {
    color: #6b7280; /* text-gray-500 */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.625; /* leading-relaxed */
    margin: 0 auto; /* mx-auto */
}

.careers-image-wrapper {
    flex-shrink: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Scaling */
@media (min-width: 640px) {
    .careers-layout-wrapper {
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .careers-layout-wrapper {
        gap: 3rem;
    }
    .careers-text {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .careers-text-content {
        text-align: center;
    }
    .btn-explorer-premium {
        margin-inline: auto;
    }
}

@media (min-width: 1024px) {
    .careers-layout-wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .careers-text-content {
        text-align: start;
    }

    .careers-text {
        font-size: 1.125rem;
        /* text-align: justify; */
        margin-inline: 0;
    }
}

.careers-hero-image {
    width: 250px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* ==========================================================================
   Job Details Page
   ========================================================================== */
.job-details-card {
    background: #f2fbf9;
    border-radius: 12px;
    max-width: 80%;
    margin: 1rem auto;
    overflow: hidden;
}

.job-card-header {
    background-color: #f2fbf9;
    padding: 1.5rem 2rem;
    /* border-bottom: 1px solid #e1f4f0; */
}

.job-card-title {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .job-card-title {
        font-size: 1.25rem;
    }
}

/* Responsive: full width on small screens */
@media (max-width: 767px) {
    .job-details-card {
        max-width: 100%;
        margin: 0.75rem 0;
        border-radius: 8px;
    }

    .job-card-header {
        padding: 1rem 1.25rem;
    }

    .job-card-body {
        padding: 1.25rem;
    }

    .job-badges-row {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }

    .job-specs-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }

    .job-req-list {
        grid-template-columns: 1fr !important;
    }

    .job-card-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.95rem;
    }

    .job-card-title {
        font-size: 1rem;
    }
}

.job-card-number {
    background-color: #00756a;
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.job-card-body {
    padding: 2rem;
}

.job-badges-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.job-badge {
    background-color: #e1f4ef;
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
}

.job-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .job-specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.job-spec-box {
    /* background-color: #f6fcfb; */
    border: 1px solid #e1f4ef;
    border-radius: 8px;
    padding: 1.5rem;
    /* Default alignment inherits from rtl */
}

.job-spec-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.job-spec-desc {
    color: #4a5568;
    font-size: 0.95rem;
    margin: 0;
}

.job-req-section {
    margin-top: 1.5rem;
}

.job-req-title {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.job-req-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 1024px) {
    .job-req-list {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 2.5rem;
    }
}

.job-req-list li {
    position: relative;
    padding-right: 1.5rem;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.8;
}

.job-req-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
}

/* ==========================================================================
   Job Announcements Slider
   ========================================================================== */
.job-announcements-section {
    width: 100%;
}

.job-announcements-container {
    max-width: 95%;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .job-announcements-container {
        max-width: 80%;
    }
}

/* Hover Arrow for Job Cards */
.job-hover-arrow {
    position: absolute;
    bottom: 0.5rem;
    left: 0.9rem;
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 158, 145, 0.3);
    z-index: 10;
}

.job-hover-arrow i {
    font-size: 1rem;
    margin-top: 3px;
    margin-right: 2px; /* Slight centering adjustment for the arrow icon */
}

.job-hover-arrow:hover {
    background: #008578;
    color: white;
    transform: translateX(-12px) scale(1.05); /* Extra pop on hover */
}

/* Reveal arrow when the card is hovered */
.college-card:hover .job-hover-arrow {
    opacity: 1;
    transform: translateX(0);
}

.bg-light-primary {
    background-color: #f2fbf9;
    padding: 1rem 0;
}

/* Ensure all jobs cards are uniform in height */
.jobsSwiper .swiper-wrapper {
    align-items: stretch;
}

.job-announcements-title {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
}

@media (min-width: 768px) {
    .job-announcements-title {
        font-size: 1.75rem;
    }
}

.jobsSwiper .swiper-slide {
    height: auto !important;
    display: flex; /* Ensures inner generic child items can stretch */
}

/* Make sure the nested cards expand fully */
.jobsSwiper .college-card {
    width: 100%;
}

.job-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.job-date i {
    font-size: 1.2rem;
    margin-top: 4px;
}

.job-title {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 600;
}

.jobs-slider-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jobs-slider-nav button:hover {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 158, 145, 0.2);
}

/* ============================================================
   CONTACT US PAGE  (contact-us.html)
   ============================================================ */

/* ── Intro Band ── */
.cu-intro-band {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-dark) 100%
    );
    padding: 28px 0;
}
.cu-intro-band-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
}
.cu-intro-icon {
    font-size: 2rem;
    flex-shrink: 0;
    opacity: 0.9;
}
.cu-intro-text {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
    opacity: 0.95;
}

/* ── Cards Section ── */
.cu-cards-section {
    padding: 72px 0 48px;
}
.cu-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1100px) {
    .cu-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 580px) {
    .cu-cards-grid {
        grid-template-columns: 1fr;
    }
}

.cu-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 32px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1.5px solid transparent;
}
.cu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 158, 145, 0.13);
    border-color: var(--primary);
}

.cu-card-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
}
.cu-icon-phone {
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
}
.cu-icon-email {
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
}
.cu-icon-location {
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
}
.cu-icon-hours {
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
}

.cu-card-body {
    flex: 1;
}
.cu-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 6px;
}
.cu-card-value {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 4px;
    transition: opacity 0.2s;
}
.cu-card-value:hover {
    opacity: 0.75;
}
.cu-card-note {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
}
.cu-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.25s,
        transform 0.2s;
}
.cu-card-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.04);
}
.cu-card-schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cu-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}
.cu-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: cu-pulse 1.8s infinite;
}
.cu-badge-open {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}
@keyframes cu-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* ── Section Headers ── */
.cu-section-header {
    margin-bottom: 32px;
}
.cu-section-header-center {
    text-align: center;
}
.cu-section-tag {
    display: inline-block;
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.cu-section-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 6px;
}
.cu-section-sub {
    font-size: 0.95rem;
    color: #6b7280;
}

/* ── Form + Map Grid ── */
.cu-form-map-section {
    padding: 64px 0;
    background: #f8fafc;
}
.cu-form-map-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) {
    .cu-form-map-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Form ── */
.cu-form-wrapper {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.cu-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cu-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 600px) {
    .cu-form-row {
        grid-template-columns: 1fr;
    }
}
.cu-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cu-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
}
.cu-input-wrap {
    position: relative;
}
.cu-input-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.95rem;
    pointer-events: none;
}
.cu-input {
    width: 100%;
    padding: 11px 40px 11px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1e293b;
    background: #f9fafb;
    transition:
        border-color 0.25s,
        box-shadow 0.25s;
    outline: none;
    box-sizing: border-box;
}
.cu-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 158, 145, 0.12);
    background: #fff;
}
.cu-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1e293b;
    background: #f9fafb;
    resize: vertical;
    transition:
        border-color 0.25s,
        box-shadow 0.25s;
    outline: none;
    box-sizing: border-box;
}
.cu-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 158, 145, 0.12);
    background: #fff;
}
.cu-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition:
        background 0.25s,
        transform 0.2s,
        box-shadow 0.25s;
    box-shadow: 0 4px 18px rgba(0, 158, 145, 0.25);
}
.cu-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 158, 145, 0.35);
}
.cu-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}
.cu-form-msg {
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0;
}
.cu-form-success {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
    padding: 12px 16px;
    max-height: 60px;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Map ── */
.cu-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cu-map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
.cu-leaflet-map {
    height: 320px;
    width: 100%;
}
.cu-map-open-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s;
}
.cu-map-open-btn:hover {
    background: var(--primary-dark);
}

/* Custom Leaflet Marker */
.cu-marker-pin {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 158, 145, 0.4);
}
.cu-marker-pin i {
    transform: rotate(45deg);
    color: #fff;
    font-size: 1.1rem;
}

/* ── Social Section ── */
.cu-social-section {
    background: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    margin-top: 24px;
}
.cu-social-title {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
}
.cu-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.cu-social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}
.cu-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.cu-social-fb {
    background: #1877f2;
}
.cu-social-tw {
    background: #000;
}
.cu-social-ig {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
}
.cu-social-yt {
    background: #ff0000;
}
.cu-social-li {
    background: #0077b5;
}

/* ── Departments Section ── */
.cu-depts-section {
    padding: 64px 0;
}
.cu-depts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
@media (max-width: 900px) {
    .cu-depts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .cu-depts-grid {
        grid-template-columns: 1fr;
    }
}

.cu-dept-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    border: 1.5px solid #f1f5f9;
    transition:
        border-color 0.25s,
        box-shadow 0.25s,
        transform 0.25s;
}
.cu-dept-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(0, 158, 145, 0.12);
    transform: translateY(-3px);
}
.cu-dept-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 158, 145, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.cu-dept-info {
    flex: 1;
}
.cu-dept-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
}
.cu-dept-phone {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 2px;
}
.cu-dept-phone:hover {
    text-decoration: underline;
}
.cu-dept-ext {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ============================================================
   UNIVERSITY MAP PAGE  (university-map.html)
   ============================================================ */

/* ── Map Hero Section ── */
.umap-hero {
    padding: 56px 0 0;
    background: #f8fafc;
}
.umap-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.umap-section-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}
@media (max-width: 768px) {
    .umap-section-title {
        font-size: 1.5rem;
    }
}
@media (max-width: 480px) {
    .umap-section-title {
        font-size: 1.25rem;
    }
}

.umap-section-sub {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 32px;
}
@media (max-width: 768px) {
    .umap-section-sub {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }
}

/* ── Main Map Frame ── */
.umap-frame-wrapper {
    position: relative;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.1);
    line-height: 0;
}
.umap-iframe {
    width: 100%;
    height: 540px;
    border: 0;
    display: block;
}
@media (max-width: 768px) {
    .umap-iframe {
        height: 360px;
    }
}

/* ── Info Bar (below map) ── */
.umap-info-bar {
    background: var(--primary);
    padding: 28px 0;
}
.umap-info-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
@media (max-width: 768px) {
    .umap-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.umap-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}
.umap-info-item:last-child {
    border-right: none;
}
@media (max-width: 768px) {
    .umap-info-item {
        border-right: none;
        padding: 0;
    }
}
.umap-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.umap-info-text strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.75;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.umap-info-text span {
    font-size: 0.95rem;
    font-weight: 600;
}

/* ── Directions Section ── */
.umap-directions {
    padding: 64px 0;
    background: #fff;
}
.umap-directions-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.umap-directions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .umap-directions-grid {
        grid-template-columns: 1fr;
    }
}

.umap-dir-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1.5px solid #e2e8f0;
    transition:
        border-color 0.25s,
        box-shadow 0.25s;
}
.umap-dir-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 28px rgba(0, 158, 145, 0.1);
}
.umap-dir-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.umap-dir-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}
.umap-dir-text {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
}

/* ── Open in Google Maps Button ── */
.umap-gmap-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.25s,
        transform 0.2s,
        box-shadow 0.25s;
    box-shadow: 0 4px 16px rgba(0, 158, 145, 0.25);
    margin-top: 24px;
}
.umap-gmap-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 158, 145, 0.35);
}

.university-branches-map-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 4px 32px rgba(0,0,0,0.12); */
}

.university-branches-map {
    width: 100%;
    height: 500px;
    display: block;
    z-index: 1;
    margin: 1rem auto;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .university-branches-map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .university-branches-map {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .university-branches-map {
        height: 300px;
    }
}

/* ==================================================== */
/* Complaints & Suggestions Form Styles */
/* ==================================================== */
.complaints-section {
    padding: 30px 0;
    background-color: #f8fafc;
}

.complaints-wrapper {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    padding: 48px;
    border-radius: 20px;
}

@media (max-width: 992px) {
    .complaints-wrapper {
        padding: 32px 24px;
    }
}
@media (max-width: 576px) {
    .complaints-wrapper {
        padding: 30px 15px;
        box-shadow: none;
        border-radius: 0;
        max-width: 100% !important;
        margin: 0;
        width: 100%;
    }
    .complaints-section {
        padding: 0; /* Remove section padding for full-flush mobile look */
    }
}

.comp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .comp-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.comp-form-group {
    margin-bottom: 24px;
}

.comp-label {
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.comp-req {
    color: #ef4444;
    margin-right: 4px;
}

.comp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.comp-input-icon {
    position: absolute;
    right: 16px;
    color: #9ca3af;
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s;
}

.comp-input,
.comp-select,
.comp-textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1f2937;
    background-color: #f9fafb;
    transition: all 0.3s ease;
}

.comp-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 20px;
    padding-left: 44px; /* Space for select arrow */
}

/* Fix RTL Icon Position */
html[dir="rtl"] .comp-input,
html[dir="rtl"] .comp-select,
html[dir="rtl"] .comp-textarea {
    padding: 14px 44px 14px 16px;
}

html[dir="rtl"] .comp-select {
    padding: 14px 16px 14px 44px; /* Icon on right, arrow on left */
}

.comp-input:focus,
.comp-select:focus,
.comp-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 158, 145, 0.1);
}

.comp-input:focus ~ .comp-input-icon,
.comp-select:focus ~ .comp-input-icon,
.comp-textarea:focus ~ .comp-input-icon {
    color: var(--primary);
}

.comp-textarea {
    padding-right: 16px;
    padding-left: 16px;
    resize: vertical;
    min-height: 120px;
}
html[dir="rtl"] .comp-textarea {
    padding-right: 16px; /* No icon for textarea */
}

.comp-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.comp-radio-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #4b5563;
    position: relative;
    padding-right: 28px;
    user-select: none;
}

.comp-radio-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.comp-radio-custom {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #f3f4f6;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.comp-radio-label:hover input ~ .comp-radio-custom {
    border-color: var(--primary);
}

.comp-radio-label input:checked ~ .comp-radio-custom {
    background-color: var(--primary);
    border-color: var(--primary);
}

.comp-radio-custom:after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.comp-radio-label input:checked ~ .comp-radio-custom:after {
    display: block;
}

.comp-form-submit {
    margin-top: 32px;
    text-align: center;
}

.comp-submit-btn {
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 40px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 158, 145, 0.25);
}

.comp-submit-btn:hover {
    background-color: var(--primary-dark);
}

/* ── Admission & Form Extensions ── */
.full-row {
    width: 100% !important;
}

.vertical-group {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.comp-file-wrap {
    position: relative;
    width: 100%;
}

.comp-file-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.comp-file-input:hover {
    border-color: var(--primary);
    background: #ffffff;
}

.comp-file-input::-webkit-file-upload-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    margin-left: 10px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
}

[dir="rtl"] .comp-file-input::-webkit-file-upload-button {
    margin-left: 0;
    margin-right: 10px;
}

/* Fix for checkbox looks vs radio if reused */
.comp-radio-label input[type="checkbox"] ~ .comp-radio-custom {
    border-radius: 4px;
}

/* =========================================
   FAQ Page Styles
   ========================================= */
.faq-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.faq-card.active {
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: right;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    transition:
        color 0.3s ease,
        background-color 0.3s ease;
}

.faq-trigger:hover {
    background-color: #f9fafb;
}

.faq-card.active .faq-trigger {
    color: var(--primary);
}

.faq-icon-wrapper i {
    display: inline-block;
    font-size: 1.2rem;
    color: #64748b;
    transition: color 0.3s ease;
}

.faq-card.active .faq-icon-wrapper i {
    color: var(--primary);
}

.faq-content {
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.faq-content-inner {
    padding: 0 24px 24px 24px;
}

.faq-content-inner p {
    color: #475569;
    margin: 0;
    line-height: 1.8;
    font-size: 1rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    transition: color 0.3s ease;
}

.faq-card.active .faq-content-inner p {
    color: #64748b;
}

/* =========================================
   Services Section (Custom)
   ========================================= */
.services-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.services-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.services-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 1rem;
}

.services-subtitle {
    color: #64748b;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    position: relative;
    height: 380px;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.service-card:hover .service-img {
}

.service-overlay-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(255, 255, 255, 0.05) 80%,
        transparent 100%
    );
    z-index: 2;
}

.service-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 10;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        transparent 100%
    );
}

.service-badge {
    margin-bottom: 1rem;
    background-color: rgba(0, 158, 145, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: fit-content;
    padding: 0.4rem 1.2rem;
    border-radius: 99px;
    font-size: 0.75rem;
    color: #ffffff;
    font-weight: 700;
    opacity: 0; /* مخفي افتراضياً */
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.service-card:hover .service-badge {
    opacity: 1;
    transform: translateY(0);
}

/* تم حذف .service-card:hover .service-badge */

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.service-card-desc {
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: var(--primary);
    padding: 0.7rem 1.5rem;
    border-radius: 0.85rem;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.service-card:hover .service-btn {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 158, 145, 0.3);
}

.service-card:hover .service-btn i {
    transform: translateX(-5px);
}

.service-btn:hover i {
    transform: none;
}

/* =========================================
   Events Modal Explorer Styles
   ========================================= */
.events-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    opacity: 0;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.events-modal-overlay.active {
    display: flex;
}

.events-modal-container {
    width: 100%;
    max-width: 1100px;
    height: 90vh;
    background: #ffffff;
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(30px);
}

.events-modal-header {
    padding: 1.5rem 2rem;
    background: #0096881a;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(0, 158, 145, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.modal-close-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.events-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
    background: #0096881a;
}

/* Event Cards in Modal */
.event-explorer-card {
    background: #0096881a;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.event-explorer-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.event-card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.event-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-explorer-card:hover .event-card-img-wrapper img {
    transform: scale(1.05);
}

.event-card-badge {
    position: absolute;
    bottom: 1rem;
    inset-inline-start: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 2;
}

.event-card-badge.health {
    background-color: var(--primary);
}
.event-card-badge.tech {
    background-color: var(--primary);
}
.event-card-badge.venture {
    background-color: var(--primary);
}
.event-card-badge.environment {
    background-color: var(--primary);
}
.event-card-badge.sports {
    background-color: var(--primary);
}
.event-card-badge.culture {
    background-color: var(--primary);
}

.event-card-content {
    padding: 1.5rem;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.event-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.event-card-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.event-card-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.event-card-btn i {
    transition: transform 0.2s ease;
}

.event-card-btn:hover i {
    transform: translateX(-4px);
}

/* LTR Support for hover animation */
[dir="ltr"] .event-card-btn:hover i {
    transform: translateX(4px);
}
[dir="ltr"] .event-card-btn i {
    transform: scaleX(-1); /* Flip the left-pointing arrow to right-pointing */
}

/* Custom Modal Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

@media (max-width: 640px) {
    .events-modal-container {
        height: 100vh;
        border-radius: 0;
    }
    .events-modal-overlay {
        padding: 0;
    }
    .events-modal-body {
        padding: 1rem;
    }
    .events-modal-header {
        padding: 1rem !important;
        gap: 0.75rem;
    }
    .modal-header-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.1rem;
        border-radius: 0.75rem;
    }
    .events-modal-header h3 {
        font-size: 1.15rem !important;
    }
    .events-modal-header p {
        font-size: 0.75rem;
    }
    .modal-close-btn {
        width: 2rem;
        height: 2rem;
    }
}

/* =========================================================
   عمادة البحث العلمي والدراسات العليا
   scientific-research.html
   ========================================================= */

/* --- Section subtitle --- */

/* ==================== PROGRAMS ==================== */

.sr-programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

@media (max-width: 1024px) {
    .sr-programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .sr-programs-grid {
        grid-template-columns: 1fr;
    }
}

.sr-program-card {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sr-program-card:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
}

.sr-program-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.sr-program-badge {
    display: inline-block;
    /* background: rgba(0,158,145,0.1); */
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.75rem;
    border-radius: 9px;
    border: 1px solid rgba(0, 158, 145, 0.2);
    width: fit-content;
}

.sr-program-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.5;
}

.sr-program-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.7;
    flex: 1;
}

.sr-program-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.sr-program-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #9ca3af;
    font-weight: 600;
}

.sr-program-meta i {
    font-size: 0.8rem;
    color: var(--primary);
}

/* ==================== ADMISSION ==================== */
.sr-admission-section {
    padding: 1rem 0;
    background: #fff;
}

.sr-admission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .sr-admission-grid {
        grid-template-columns: 1fr;
    }
}

.sr-admission-card {
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s;
    height: 100%;
}

.sr-admission-card:hover {
    /* box-shadow: 0 8px 28px rgba(0,158,145,0.12); */
    border-color: rgba(0, 158, 145, 0.3);
}

.sr-admission-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.sr-admission-card-header h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}

.sr-admission-icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--primary);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.sr-admission-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sr-admission-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.6;
}

.sr-admission-list li i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* Timeline */
.sr-admission-timeline {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    padding-right: 1.5rem;
}

.sr-timeline-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
}

.sr-timeline-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 0.3rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 3px rgba(0, 158, 145, 0.2);
}

.sr-admission-timeline {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    padding-right: 1.5rem;
}

.sr-admission-timeline::before {
    content: "";
    position: absolute;
    right: calc(1.5rem + 3px - 0.5px);
    top: 0.6rem;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        var(--primary),
        rgba(0, 158, 145, 0.1)
    );
}

@media (max-width: 640px) {
    .sr-admission-timeline {
        padding-right: 1rem;
    }
    .sr-admission-timeline::before {
        right: calc(1rem + 3px - 0.5px);
    }
}

.sr-timeline-item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
}

.sr-timeline-item p {
    font-size: 0.82rem;
    color: #6b7280;
    margin-top: 0.2rem;
}

/* ==================== THESIS UNIT ==================== */
.sr-thesis-section {
    padding: 1rem 0;
}

.sr-thesis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .sr-thesis-grid {
        grid-template-columns: 1fr;
    }
}

.sr-thesis-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sr-download-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.sr-download-card:hover {
    border-color: var(--primary);
    background: rgba(0, 158, 145, 0.04);
    transform: translateX(-4px);
}

.sr-download-icon {
    width: 2.8rem;
    height: 2.8rem;
    background: rgba(0, 158, 145, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: background 0.25s;
}

.sr-download-card:hover .sr-download-icon {
    background: var(--primary);
    color: #fff;
}

.sr-download-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sr-download-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
}

.sr-download-size {
    font-size: 0.75rem;
    color: #9ca3af;
}

.sr-download-arrow {
    font-size: 1rem;
    color: #d1d5db;
    transition: color 0.2s;
    flex-shrink: 0;
}

.sr-download-card:hover .sr-download-arrow {
    color: var(--primary);
}

/* Steps */
.sr-steps-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.sr-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sr-step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.sr-step-num {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sr-step-content strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.sr-step-content p {
    font-size: 0.83rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ==================== REGULATIONS ==================== */
.sr-regulations-section {
    background: #fff;
}

.sr-regulations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .sr-regulations-grid {
        grid-template-columns: 1fr;
    }
}

.sr-regulation-card {
    border-radius: 9px;
    padding: 2rem;
    border: 1px solid #009e9121;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border 0.25s;
}

.sr-regulation-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.sr-regulation-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sr-regulation-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid var(--primary);
}

.sr-regulation-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.sr-regulation-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
    flex: 1;
}

.sr-regulation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    padding: 0.45rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 7px;
    transition: all 0.25s ease;
    width: fit-content;
    margin-top: auto;
}

.sr-regulation-link:hover {
    background: var(--primary);
    color: #fff;
}

/* =========================================================
   مجلات الجامعة العلمية
   scientific-journals.html
   ========================================================= */

.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.journal-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 158, 145, 0.12);
    border-color: var(--primary);
}

.journal-cover {
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.journal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.journal-card:hover .journal-cover img {
    transform: scale(1.1);
}

.journal-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.journal-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 9px;
    background: rgba(0, 158, 145, 0.08);
    width: fit-content;
    border: 1px solid rgba(0, 158, 145, 0.15);
}

.journal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.35rem;
    line-height: 1.5;
}

.journal-desc {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.7;
    flex: 1;
}

/* Hover overlay link */
.journal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(
        15,
        23,
        42,
        0.75
    ); /* Dark ink overlay to make primary button pop */
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
}

.journal-card:hover .journal-overlay {
    opacity: 1;
}

.journal-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    border: 2px solid #ffffff;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.journal-card:hover .journal-link-btn {
    transform: translateY(0);
}

.journal-link-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.journal-link-btn i {
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

/* =========================================================
   تفاصيل المجلة العلمية
   journal-details.html
   ========================================================= */

.journal-section {
    margin: 1rem 0;
}

.journal-detail-header-card {
    background: #009e9114;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .journal-detail-header-card {
        flex-direction: row;
    }
}

.journal-detail-cover-wrapper {
    margin: 0 auto;
    border-radius: 0.75rem;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .journal-detail-cover-wrapper {
        width: 260px;
        max-width: none;
        height: 260px;
        margin: 0;
    }
}

.journal-detail-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .journal-detail-info {
        width: 75%;
    }
}

.journal-detail-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .journal-detail-title {
        font-size: 1.875rem;
        text-align: start;
    }
}

.journal-detail-meta-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.journal-detail-meta-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
}

.journal-detail-meta-list li strong {
    color: var(--primary);
}

.journal-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .journal-content-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.journal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    grid-column: span 1 / span 1;
}

.journal-main-content {
    grid-column: span 1 / span 1;
}

.journal-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .journal-img {
        height: 100%;
    }
}

@media (min-width: 1024px) {
    .journal-main-content {
        grid-column: span 2 / span 2;
    }
}

.journal-box-card {
    background: #009e9114;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.journal-box-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 1rem;
}

.journal-box-title-wrap i {
    font-size: 1.2rem;
}

.journal-box-title-wrap h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.down-journal {
    padding: 0.5rem;
    height: fit-content;
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.down-journal:hover {
    background: var(--primary);
    color: #fff;
}

.journal-theme-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.journal-theme-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.journal-theme-list span {
    color: #374151;
    font-size: 0.875rem;
}

.journal-editors-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.journal-editor-item {
    padding: 0.75rem;
    background: #009e9114;
    border-radius: 0.5rem;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.journal-editor-item:hover {
    border-color: var(--primary);
}

.journal-editor-item .name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary);
}

.journal-editor-item .role {
    font-size: 0.75rem;
    color: #374151;
    font-weight: 600;
}

.journal-researches-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.journal-research-item {
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    background: #009e9114;
    position: relative;
    overflow: hidden;
}

.journal-research-item:hover {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.journal-research-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .journal-research-title {
        font-size: 1.125rem;
    }
}

.journal-research-item:hover .journal-research-title {
    color: var(--primary);
}

.journal-research-meta {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.journal-research-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.journal-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.journal-btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.journal-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.journal-btn-primary:hover {
    background: var(--primary-dark);
}

/* Custom Section Badge */
.section-badge {
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(0, 158, 145, 0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 9px;
    color: var(--primary);
    border: 1px solid rgba(0, 158, 145, 0.1);
    width: fit-content;
}

/* Careers & Community Hero Layout */

/* Custom Secondary Large Button */
.btn-lg-secondary {
    position: relative;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 700;
    padding: 0.4rem 0.4rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    overflow: hidden;
    width: fit-content;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0.5rem auto;
}

@media (min-width: 768px) {
    .btn-lg-secondary {
        margin: 0.5rem 0;
    }
}

.btn-lg-secondary:hover {
    background-color: var(--primary-dark);
}

.btn-lg-secondary span {
    position: relative;
    z-index: 10;
}

.btn-lg-secondary .btn-icon {
    position: relative;
    z-index: 10;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-lg-secondary:hover .btn-icon {
    transform: translateX(-0.25rem);
}

.btn-lg-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.btn-lg-secondary:hover::before {
    transform: translateY(0);
}

/* --- Announcements & Gallery Grid Layout --- */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .announcements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .announcements-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Academic Calendar Specific Styles */
.calendar-announcement-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 100%;
    width: 30%;
    margin: 1rem auto;
}

@media (max-width: 1200px) {
    .calendar-announcement-card {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .calendar-announcement-card {
        width: 100%;
    }
}

.calendar-announcement-thumb {
    width: 100%;
    aspect-ratio: 6 / 9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: #f8fafc;
    position: relative;
}

.calendar-announcement-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specialized Close Button for Calendar Page Modal */
.calendar-page .gsap-gallery-modal-close {
    top: 10px;
    right: 200px;
    background: rgba(0, 158, 145, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {
    .calendar-page .gsap-gallery-modal-close {
        right: 150px;
    }
}

@media (max-width: 768px) {
    .calendar-page .gsap-gallery-modal-close {
        right: 10px;
    }
}

.calendar-page .gsap-gallery-modal-close:hover {
    color: #ffff;
    background: red;
}

/* --- Continuing Education Page --- */
.ce-section {
    padding: 2rem 0;
    /* background: #f8fafc; */
}

.ce-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .ce-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .ce-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ce-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.ce-card:hover {
    /* transform: translateY(-10px); */
    border-color: rgba(0, 158, 145, 0.2);
}

.ce-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
}

.ce-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.ce-card:hover .ce-thumb img {
    transform: scale(1.02);
}

.ce-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 158, 145, 0.2);
}

.ce-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ce-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

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

.ce-card:hover .ce-title {
    color: var(--primary);
}

.ce-meta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f8fafc;
}

.ce-info {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ce-info i {
    color: var(--primary);
    opacity: 0.7;
}

.ce-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ce-more {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.ce-more:hover {
    opacity: 0.8;
}

/* --- Continuing Education Detail --- */
.ce-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .ce-detail-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.ce-info-sidebar {
    position: sticky;
    top: 100px;
}

.ce-info-box {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.ce-info-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.ce-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.ce-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 158, 145, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.ce-info-text {
    display: flex;
    flex-direction: column;
}

.ce-info-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 2px;
}

.ce-info-value {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 800;
}

.ce-reg-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    font-weight: 800;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    cursor: pointer;
    border: none;
}

.ce-reg-btn:hover {
    background: #00857a;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 158, 145, 0.2);
    color: #fff;
}

/* ========================================= */
/* Conferences & Seminars Section */
/* ========================================= */
.conferences-section {
    position: relative;
    background-color: transparent;
}

.conferences-tabs-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.conferences-tab {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 0.4rem 1.2rem;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.conferences-tab:hover {
    background: rgba(0, 158, 145, 0.04);
    color: var(--primary);
}

.conferences-tab.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.conferences-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

@media (min-width: 768px) {
    .conferences-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .conferences-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.conference-card {
    background-color: #ffffff;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}

.conference-card:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 158, 145, 0.15);
}

.conference-card-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.conference-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.conference-card:hover .conference-card-img {
    transform: scale(1.02);
}

.conference-date-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: #ffffff;
    color: var(--primary);
    padding: 0.3rem 0.7rem;
    border-radius: 9px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.conference-card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.conference-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172ab3;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.conference-card:hover .conference-card-title {
    color: var(--primary);
}

.conference-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    color: #64748b;
    font-size: 0.95rem;
}

.conference-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.conference-meta-item i {
    color: var(--primary);
}

/* ========================================= */
/* Conference Detail Page                      */
/* ========================================= */

/* Layout */
.conf-detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
}
@media (min-width: 1024px) {
    .conf-detail-layout {
        grid-template-columns: 1fr 350px;
    }
}

/* Hero Image */
.conf-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}
.conf-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.conf-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0) 55%
    );
}
.conf-hero-badge {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    background: var(--primary);
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 9px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Content Article */
.conf-article h2 {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.conf-section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
}
.conf-section-title i {
    font-size: 1.1rem;
}
.conf-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 1rem;
}
.conf-goals-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.conf-goals-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #4b5563;
    background: rgba(0, 158, 145, 0.09);
    padding: 0.5rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.conf-goals-list li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}
@media (max-width: 640px) {
    .conf-goals-list {
        grid-template-columns: 1fr;
    }
}

/* Back Button */
.conf-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    border: 1.5px solid rgba(0, 158, 145, 0.25);
    background: rgba(0, 158, 145, 0.04);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    text-decoration: none;
}
.conf-back-btn:hover {
    background: rgba(0, 158, 145, 0.1);
    border-color: var(--primary);
}

/* Sidebar */
.conf-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.conf-info-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.conf-info-card-header {
    background: var(--primary);
    color: #fff;
    padding: 1rem 1.4rem;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.conf-info-list {
    padding: 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.conf-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}
.conf-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.conf-info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 158, 145, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.conf-info-text-label {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-bottom: 2px;
}
.conf-info-text-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

/* Videos Section */
.conf-videos-section {
    margin-top: 2.5rem;
}
.conf-videos-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (min-width: 640px) {
    .conf-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .conf-videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.conf-video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}
.conf-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 158, 145, 0.12);
    border-color: rgba(0, 158, 145, 0.2);
}
.conf-video-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #0f172a;
    cursor: pointer;
}
.conf-video-thumb iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.conf-video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s ease;
    cursor: pointer;
}
.conf-video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}
.conf-video-play-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 6px 20px rgba(0, 158, 145, 0.4);
    transition: transform 0.3s ease;
}
.conf-video-play-btn:hover {
    transform: scale(1.1);
}
.conf-video-thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.conf-video-info {
    padding: 1.1rem 1.2rem;
}
.conf-video-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.conf-video-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #94a3b8;
}
.conf-video-meta i {
    color: var(--primary);
}

/* Video Modal */
.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.video-modal-backdrop.open {
    display: flex;
}
.video-modal-box {
    width: 100%;
    max-width: 860px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.video-modal-iframe-wrap {
    position: relative;
    padding-top: 56.25%;
}
.video-modal-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-modal-close {
    position: absolute;
    top: -44px;
    left: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ========================================= */
/* Conference Info Strip                       */
/* ========================================= */
.conf-info-strip {
    display: flex;
    flex-wrap: wrap;
    border-radius: 7px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
}
.conf-strip-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.4rem;
    flex: 1 1 150px;
    transition: background 0.2s;
}
[dir="rtl"] .conf-strip-item {
    border-left: none;
    border-right: 1px solid #f1f5f9;
}
.conf-strip-item:last-child {
    border-left: none;
    border-right: none;
}
.conf-strip-item:hover {
    background: rgba(0, 158, 145, 0.04);
}
.conf-strip-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 158, 145, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.conf-strip-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 2px;
}
.conf-strip-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}
@media (max-width: 768px) {
    .conf-strip-item {
        flex: 1 1 45%;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }
}
@media (max-width: 480px) {
    .conf-strip-item {
        flex: 1 1 100%;
    }
}

/* ========================================= */
/* Compact Video Grid (Conference Detail)    */
/* ========================================= */
.conf-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}
.conf-compact-grid .announcement-card {
    border-radius: 12px;
}

.conf-compact-grid .announcement-title {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    font-weight: 700;
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1e293b;
}
.conf-compact-grid .announcement-footer {
    padding: 0.6rem 0.9rem;
    border-top: 1px solid #f1f5f9;
}
.conf-compact-grid .announcement-date {
    font-size: 0.75rem;
    color: #64748b;
}
.conf-compact-grid .announcement-more {
    font-size: 0.78rem;
    padding: 0.3rem 0.7rem;
    background: rgba(0, 158, 145, 0.06);
    color: var(--primary);
    border-radius: 6px;
    font-weight: 600;
}
.conf-compact-grid .announcement-more:hover {
    background: var(--primary);
    color: #fff;
}
@media (max-width: 480px) {
    .conf-compact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Library Section Styles ===== */
.about-image-container {
    position: relative;
    transition: transform 0.3s ease;
}
.about-image-container:hover {
    transform: scale(1.02);
}
.about-image-container::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0.5rem;
    pointer-events: none;
}
.library-section .badge-premium {
    background-color: rgba(0, 158, 145, 0.1);
    color: var(--primary);
    margin-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Professional Library Section Styles */
.facilities-section {
    margin: 1rem 0;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 72rem; /* 6xl */
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.library-professional-card {
    background-color: #00968829;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #f9fafb;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

@media (min-width: 1201px) {
    .library-professional-card {
        flex-direction: row;
        padding: 1.5rem;
    }
}

.library-badge-teal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f0fdfa;
    color: #0f766e;
    padding: 0.5rem 1rem;
    border-radius: 9px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.library-content-area {
    width: 100%;
    text-align: center;
}

.library-image-area {
    height: 280px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #fff;
}

.library-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 1201px) {
    .library-content-area {
        width: 60%;
        text-align: right;
    }
}

.library-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.library-description {
    color: #4b5563;
    line-height: 1.625;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    z-index: 10;
}

.library-quote-icon {
    position: absolute;
    right: -1.5rem;
    top: -2rem;
    font-size: 6rem;
    color: #0d9488;
    opacity: 0.05;
    font-family: fantasy;
    user-select: none;
}

@media (max-width: 991px) {
    .library-quote-icon {
        display: none;
    }
}

.library-feature-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .library-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.library-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.library-feature-item:hover {
    border-color: #99f6e4;
    background-color: #f0fdfa;
    transform: translateY(-2px);
}

.library-feature-item i {
    color: #0d9488;
    font-size: 1.25rem;
}

/* Custom Additions */
.hover\:text-primary-dark:hover {
    color: #007a70 !important;
}
/* إخفاء خريطة الفوتر */
.footer-logos-col.map-container-wrapper {
    display: none !important;
}

/* ==========================================================================
   Sitemap Styles
   ========================================================================== */
.sitemap-section {
    padding: 1rem 0;
    /* background-color: #f9fafb; */
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .sitemap-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .sitemap-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1300px) {
    .sitemap-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.sitemap-card {
    background-color: #0096881a;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.sitemap-card:hover {
    /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
    transform: translateY(-2px);
}

.sitemap-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #fff;
    padding-bottom: 0.5rem;
}

.sitemap-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sitemap-sublist {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-inline-start: 1.25rem;
    margin-top: 0.35rem;
    /* border-inline-start: 1px solid var(--secondary); */
}

.sitemap-link {
    color: #4b5563;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    /* border-inline-start: 2px dashed transparent; */
}

.sitemap-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: inherit;
    display: inline-flex;
}

.sitemap-link .fi-rr-minus-small {
    color: var(--secondary);
}

.sitemap-link:hover {
    color: var(--secondary);
    /* padding-inline-start: 0.5rem; */
    border-inline-start-color: var(--secondary);
}

html[dir="ltr"] .sitemap-link i {
    transform: scaleX(-1);
}

/* ==========================================================================
   University President Section Design Improvements
   ========================================================================== */

/* Improve the grid spacing between text and image/qualifications sides */

.president-about-wrapper {
    /* background: #ffffff; */
    border-radius: 2rem;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    /* box-shadow: 0 10px 40px rgba(0, 78, 105, 0.05); */
    /* border: 1px solid #f8fafc; */
    position: relative;
    overflow: hidden;
}

/* Right Section containing President image and qualifications */
.president-about-image-side.text-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* President Title: 'رئيس الجامعة' */
.president-about-image-side.text-right h4.text-primary {
    margin: 0;
    color: #fd823b !important; /* Secondary color for title to match other headings */
    position: relative;
    padding-bottom: 0;
    display: inline-block;
    font-weight: 800;
}

/* President Image Box Enhancement - Soft & Elegant */
.president-about-image-side.text-right .mt-3 {
    width: 200px; /* Increased the size of the image */
    margin-left: auto; /* Align to right in RTL */
    margin-right: 0;
}

html[dir="ltr"] .president-about-image-side.text-right .mt-3 {
    margin-right: auto;
    margin-left: 0;
}

.president-about-image-side.text-right .mt-3 .relative.overflow-hidden {
    /* aspect-ratio: 1 / 1; */
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 1.5rem; /* softer corners */
    box-shadow: 0 8px 24px rgba(0, 158, 145, 0.08) !important;
    border: 1px solid rgba(0, 158, 145, 0.1); /* Light, subtle border */
    background: #fff;
    padding: 0.4rem;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.president-about-image-side.text-right .mt-3 .relative.overflow-hidden > div,
.president-about-image-side.text-right
    .mt-3
    .relative.overflow-hidden
    > div
    > div {
    width: 100%;
    height: 100%;
    border-radius: 1.1rem;
    overflow: hidden;
}

.president-about-image-side.text-right .mt-3 .relative.overflow-hidden:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 158, 145, 0.12) !important;
}

.president-about-image-side.text-right .mt-3 img {
    transition: transform 0.5s ease;
    border-radius: 1.1rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.president-about-image-side.text-right
    .mt-3
    .relative.overflow-hidden:hover
    img {
    transform: scale(1.03);
}

/* Reset margin for President Name */
.president-about-image-side.text-right h3.text-ink {
    margin-top: 0.5rem !important;
    font-size: 1.6rem;
    color: #333;
}

/* Qualifications Box Enhancement */
.president-about-image-side.text-right div.text-primary.font-semibold {
    margin-top: 0 !important;
    background: linear-gradient(
        to right,
        rgba(0, 158, 145, 0.05),
        rgba(0, 158, 145, 0.01)
    );
    border-right: 4px solid #009e91;
    border-radius: 0.5rem 0 0 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    color: #4a5568 !important; /* Darker text for readability */
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    overflow: hidden;
    width: 100%;
}

html[dir="ltr"]
    .president-about-image-side.text-right
    div.text-primary.font-semibold {
    border-right: none;
    border-left: 4px solid #009e91;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Decorative background shape in qualifications box */
.president-about-image-side.text-right div.text-primary.font-semibold::before {
    content: "";
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(
        135deg,
        rgba(253, 130, 59, 0.1),
        rgba(0, 158, 145, 0.05)
    );
    border-radius: 50%;
    z-index: 0;
}

.president-about-image-side.text-right div.text-primary.font-semibold > * {
    position: relative;
    z-index: 1;
}

/* If qualifications contain lists, style them beautifully */
.president-about-image-side.text-right div.text-primary.font-semibold ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.president-about-image-side.text-right div.text-primary.font-semibold ul li {
    position: relative;
    padding-right: 1.5rem;
    margin-bottom: 0.5rem;
}

html[dir="ltr"]
    .president-about-image-side.text-right
    div.text-primary.font-semibold
    ul
    li {
    padding-right: 0;
    padding-left: 1.5rem;
}

.president-about-image-side.text-right
    div.text-primary.font-semibold
    ul
    li::before {
    content: "•";
    position: absolute;
    right: 0;
    color: #fd823b;
    font-size: 1.2rem;
    line-height: 1.2;
}

html[dir="ltr"]
    .president-about-image-side.text-right
    div.text-primary.font-semibold
    ul
    li::before {
    right: auto;
    left: 0;
}

/* ==========================================================================
   Left Section (University President Message) Design Improvements
   ========================================================================== */

/* Enhancing the Message Title "كلمة رئيس الجامعة" */
.president-about-text-side .npdah h2.text-primary {
    color: #fd823b !important;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

/* Enhancing the large quote mark icon */
.president-about-text-side .npdah .text-6xl {
    color: #fd823b; /* Secondary color */
    opacity: 0.15;
    transform: translateY(-5px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.president-about-text-side .npdah:hover .text-6xl {
    opacity: 0.25;
    transform: translateY(-8px);
}

/* Enhancing the Speech Content (Light Professional Box) */
.president-about-text-side .prose {
    background: linear-gradient(
        135deg,
        rgba(0, 158, 145, 0.03),
        rgba(253, 130, 59, 0.02)
    );
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 158, 145, 0.06); /* Very subtle border */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.president-about-text-side .prose p {
    color: #4b5563 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    position: static !important; /* Ensure the span aligns to the .prose container */
    line-height: 1.8;
}

/* Adjust the decorative line inside the speech box */
.president-about-text-side .prose span.absolute {
    top: 0 !important;
    height: 100% !important;
    right: 0 !important;
    width: 4px !important;
    /* background: linear-gradient(to bottom, #009e91, #fd823b) !important; */
    background: linear-gradient(to bottom, #009e91, #009e91) !important;
    border-radius: 0 !important;
}

html[dir="ltr"] .president-about-text-side .prose span.absolute {
    right: auto !important;
    left: 0 !important;
}

.president-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .president-section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   empty state styles
   ========================================================================== */

.empty-state-container {
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.empty-state-card {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 30px;
    padding: 50px 35px;
    text-align: center;
    /* box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.08),
        0 2px 5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0; */
    position: relative;
    overflow: hidden;
}

.empty-state-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    background: rgba(22, 163, 74, 0.05);
    border-radius: 50%;
}

.empty-state-card::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 220px;
    height: 220px;
    background: rgba(249, 115, 22, 0.05);
    border-radius: 50%;
}

.empty-state-icon {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(22, 163, 74, 0.1),
        rgba(249, 115, 22, 0.1)
    );
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle {
    width: 85px;
    height: 85px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle i {
    font-size: 42px;
    color: #16a34a;
}

.icon-dot {
    position: absolute;
    border-radius: 50%;
}

.dot-green {
    width: 16px;
    height: 16px;
    background: var(--primary-dark);
    top: 20px;
    right: 18px;
}

.dot-orange {
    width: 12px;
    height: 12px;
    background: var(--secondary-dark);
    bottom: 22px;
    left: 18px;
}

.empty-state-card h3 {
    font-size: 30px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.empty-state-card p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.empty-state-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.empty-state-divider .line {
    height: 4px;
    border-radius: 10px;
}

.empty-state-divider .green {
    width: 70px;
    background: var(--primary-dark);
}

.empty-state-divider .orange {
    width: 35px;
    background: var(--secondary-dark);
}
/* =========================================*/
.leadership-card {
    background-color: color-mix(
        in srgb,
        var(--primary, #009e91) 6%,
        transparent
    );
    border: 1px solid
        color-mix(in srgb, var(--primary, #009e91) 15%, transparent);
    border-radius: 24px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.leadership-avatar-box {
    width: 170px;
    height: 170px;
    aspect-ratio: 1 / 1;
    border-radius: 1.25rem;
    overflow: hidden;
    margin: 0 auto 1.25rem auto;
    position: relative;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.08);
    border: 4px solid #ffffff;
    outline: 2px solid
        color-mix(in srgb, var(--primary, #009e91) 20%, transparent);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.leadership-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.leadership-badge {
    display: inline-block;
    background-color: var(--secondary, #f58220);
    color: #ffffff;
    padding: 0.2rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.leadership-name,
.leadership-profile-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary, #009e91);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.leadership-bio {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* =========================================
   Features Cards (Image, Overlay & Top Line)
   ========================================= */
.features-section {
    position: relative;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.feature-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #ffffff;
    border: 1px solid
        color-mix(in srgb, var(--secondary, #f58220) 25%, transparent);
}

.feature-card:hover {
    box-shadow: 0 20px 40px -10px
        color-mix(in srgb, var(--secondary, #f58220) 30%, transparent);
}

/* Card Background & Image */
.feature-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.feature-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-card-img {
    transform: scale(1.09);
}

/* Faint White Overlay */
.feature-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.45) 68%,
        rgba(255, 255, 255, 0.88) 80%,
        rgba(255, 255, 255, 0.96) 100%
    );
    transition: all 0.5s ease;
    z-index: 2;
}

.feature-card:hover .feature-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.55) 68%,
        rgba(255, 255, 255, 0.92) 80%,
        rgba(255, 255, 255, 0.99) 100%
    );
}

/* Content Layer */
.feature-card-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    color: #111827;
}

/* Title */
.feature-card .feature-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary, #009e91);
    line-height: 1.35;
    margin: 0;
    transition: color 0.4s ease;
}

/* Description */
.feature-card .feature-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ستايل الخاص في دليل الطالب */

/* =========================================
   Modern Banking-Style Student Guide Component
   ========================================= */
.sg-modern-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem auto;
}

.sg-modern-card {
    position: relative;
    flex: 1 1 280px;
    max-width: 350px;
    border-radius: 24px;
    height: 420px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    overflow: hidden;
    color: white;
    text-align: center;
    transition:
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease;
}

@media (min-width: 768px) {
    .sg-modern-card {
        height: 480px;
        padding: 2.5rem 2rem;
    }
}

/* Full-width Card Variation */
.sg-modern-card.sg-full-width {
    max-width: 1000px;
    width: 100%;
}

@media (max-width: 767px) {
    .sg-modern-card.sg-full-width {
        max-width: 100%;
        padding: 1rem;
    }

    .sg-modern-card.sg-full-width .sg-modern-subtitle {
        margin-bottom: 2rem;
        line-height: 1.6;
        color: #64748b;
    }

    .sg-modern-card.sg-full-width .sg-modern-image {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        margin: 1.5rem auto 0;
        width: 70%;
        max-height: 200px;
        opacity: 0.9;
    }
}

@media (min-width: 768px) {
    .sg-modern-card.sg-full-width {
        flex-direction: row;
        text-align: right;
        padding: 3rem 4rem;
        height: auto;
        min-height: 400px;
        align-items: center;
        justify-content: space-between;
    }

    .sg-modern-card.sg-full-width .sg-modern-content {
        flex: 1;
        padding-left: 3rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .sg-modern-card.sg-full-width .sg-modern-title {
        font-size: 2.4rem;
        margin-bottom: 1rem;
    }

    .sg-modern-card.sg-full-width .sg-modern-subtitle {
        font-size: 1.15rem;
        line-height: 1.8;
        margin-bottom: 2.5rem;
        color: #64748b;
    }

    .sg-modern-card.sg-full-width .sg-modern-btn-wide {
        width: auto;
        padding: 0.8rem 2.8rem;
        margin-top: 0;
        font-size: 1.1rem;
    }

    .sg-modern-card.sg-full-width .sg-modern-image {
        position: relative;
        transform: none;
        top: auto;
        left: auto;
        width: 35%;
        max-height: 280px;
        opacity: 0.95;
    }
}

/* Background Variations */
.bg-theme-blue,
.bg-theme-light-grey,
.bg-theme-dark-grey,
.bg-theme-navy {
    background: var(--primary);
}

/* White Theme Student Guide Card */
.sg-modern-card.bg-white {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid
        color-mix(in srgb, var(--primary, #009e91) 20%, transparent);
}

.sg-modern-card.bg-white .sg-modern-title {
    color: var(--secondary, #f58220) !important;
}

.sg-modern-card.bg-white .sg-modern-btn-wide {
    background: var(--secondary, #f58220) !important;
    color: #ffffff !important;
    border: 1px solid var(--secondary, #f58220) !important;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease !important;
}

.sg-modern-card.bg-white .sg-modern-btn-wide:hover {
    background: var(--secondary, #f58220) !important;
    border-color: var(--secondary, #f58220) !important;
    color: #ffffff !important;
    transform: scale(1.04) !important;
    box-shadow: 0 6px 20px rgba(245, 130, 32, 0.35) !important;
}

/* Card Content & Text Elements */
.sg-modern-content {
    position: relative;
    z-index: 10;
}

.sg-modern-title {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    font-family: "Cairo", sans-serif;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .sg-modern-title {
        font-size: 1.8rem;
    }
}

.sg-modern-subtitle {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.95;
}

/* Graphic Image */
.sg-modern-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    max-height: 50%;
    object-fit: contain;
    object-position: center;
    z-index: 5;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    opacity: 0.8;
}

/* Wide Button Base Style */
.sg-modern-btn-wide {
    position: relative;
    z-index: 10;
    margin-top: auto;
    background: white;
    border: 1px solid white;
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
    padding: 0.5rem 0.5rem;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.sg-modern-btn-wide:hover {
    background: transparent;
    color: white;
    border-color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Circle Button (expanding to pill on hover) */
.sg-modern-btn-circle {
    position: relative;
    z-index: 10;
    margin-top: auto;
    align-self: center;
    width: auto;
    min-width: 48px;
    height: 48px;
    background: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 1.15rem;
    padding: 0;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    overflow: hidden;
}

.sg-btn-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: "Cairo", sans-serif;
}

.sg-modern-btn-circle i {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sg-modern-btn-circle:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 0 1.25rem;
}

.sg-modern-btn-circle:hover .sg-btn-text {
    max-width: 100px;
    opacity: 1;
    color: var(--primary);
}

.sg-modern-btn-circle:hover i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ستايل الخاص في دليل الطالب */

/* Hero Image & Slider Container */
.activity-detail-hero {
    width: 100%;
    height: 500px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.activity-detail-hero .swiper-slide img,
.activity-detail-hero > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* شريط التحكم السفلي في منتصف الصورة */
.activity-detail-hero .activity-hero-controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 10;
}

/* أزرار الأسهم المصغرة على الجانبين */
.activity-detail-hero .activity-hero-controls .swiper-button-prev,
.activity-detail-hero .activity-hero-controls .swiper-button-next,
.activity-detail-hero .swiper-button-prev,
.activity-detail-hero .swiper-button-next {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    color: #ffffff !important;
    background: rgba(0, 59, 109, 0.75) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.activity-detail-hero .activity-hero-controls .swiper-button-prev:hover,
.activity-detail-hero .activity-hero-controls .swiper-button-next:hover,
.activity-detail-hero .swiper-button-prev:hover,
.activity-detail-hero .swiper-button-next:hover {
    background: #009e91 !important;
    transform: scale(1.15) !important;
}

.activity-detail-hero .activity-hero-controls .swiper-button-prev::after,
.activity-detail-hero .activity-hero-controls .swiper-button-next::after,
.activity-detail-hero .swiper-button-prev::after,
.activity-detail-hero .swiper-button-next::after {
    font-size: 11px !important;
    font-weight: bold !important;
}

/* نقاط الترقيم في المنتصف بين السهمين */
.activity-detail-hero .activity-hero-controls .swiper-pagination,
.activity-detail-hero .swiper-pagination {
    position: static !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
}

.activity-detail-hero .swiper-pagination-bullet {
    background: #ffffff !important;
    opacity: 0.5 !important;
    width: 7px !important;
    height: 7px !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
}

.activity-detail-hero .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #009e91 !important;
    width: 20px !important;
    border-radius: 5px !important;
}

/* التجاوب للشاشات الصغيرة */
@media (max-width: 768px) {
    .activity-detail-hero {
        height: 320px;
    }

    .activity-detail-hero .activity-hero-controls {
        bottom: 10px;
        padding: 4px 10px;
        gap: 8px;
    }

    .activity-detail-hero .activity-hero-controls .swiper-button-prev,
    .activity-detail-hero .activity-hero-controls .swiper-button-next,
    .activity-detail-hero .swiper-button-prev,
    .activity-detail-hero .swiper-button-next {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
    }

    .activity-detail-hero .activity-hero-controls .swiper-button-prev::after,
    .activity-detail-hero .activity-hero-controls .swiper-button-next::after,
    .activity-detail-hero .swiper-button-prev::after,
    .activity-detail-hero .swiper-button-next::after {
        font-size: 9px !important;
    }
}

/* style for achievements page */
.achievements-section {
        position: relative;
        padding-top: 3.5rem;
        padding-bottom: 4.5rem;
        background: #fafbfc;
    }

    .achievements-grid {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 1.75rem;
    }

    @media (min-width: 640px) {
        .achievements-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (min-width: 1024px) {
        .achievements-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 2rem;
        }
    }

    .achievement-card {
        position: relative;
        background: #ffffff;
        border-radius: 20px;
        border: 1px solid rgba(0, 158, 145, 0.12);
        padding: 2.25rem 1.75rem;
        box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 220px;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow: hidden;
    }

    /* Top decorative gradient bar */
    .achievement-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
        opacity: 0.85;
        transition: height 0.35s ease, opacity 0.35s ease;
    }

    /* Subtle background glow on hover */
    .achievement-card::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: radial-gradient(circle at top right, rgba(0, 158, 145, 0.04), transparent 70%);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .achievement-card:hover {
        transform: translateY(-6px);
        border-color: rgba(0, 158, 145, 0.35);
        box-shadow: 0 20px 40px -10px rgba(0, 158, 145, 0.16);
    }

    .achievement-card:hover::before {
        height: 6px;
        opacity: 1;
    }

    .achievement-card:hover::after {
        opacity: 1;
    }

    .achievement-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
    }

    .achievement-icon-wrapper {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        background: linear-gradient(135deg, rgba(0, 158, 145, 0.1) 0%, rgba(253, 130, 59, 0.08) 100%);
        border: 1px solid rgba(0, 158, 145, 0.18);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 1.5rem;
        transition: all 0.4s ease;
        box-shadow: 0 4px 12px rgba(0, 158, 145, 0.08);
    }

    .achievement-card:hover .achievement-icon-wrapper {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        color: #ffffff;
        transform: scale(1.08) rotate(-4deg);
        box-shadow: 0 8px 22px rgba(0, 158, 145, 0.28);
        border-color: transparent;
    }

    .achievement-number-badge {
        font-size: 0.85rem;
        font-weight: 800;
        color: rgba(0, 158, 145, 0.7);
        background: rgba(0, 158, 145, 0.06);
        padding: 0.35rem 0.85rem;
        border-radius: 99px;
        border: 1px solid rgba(0, 158, 145, 0.12);
        letter-spacing: 0.05em;
        transition: all 0.3s ease;
    }

    .achievement-card:hover .achievement-number-badge {
        background: rgba(253, 130, 59, 0.12);
        color: var(--secondary-dark);
        border-color: rgba(253, 130, 59, 0.25);
    }

    .achievement-card-title {
        font-size: 1.15rem;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.7;
        margin: 0;
        transition: color 0.3s ease;
    }

    .achievement-card:hover .achievement-card-title {
        color: var(--primary-dark);
    }

    .achievement-card-footer {
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: 1px dashed rgba(0, 0, 0, 0.06);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .achievement-accent-line {
        height: 3px;
        width: 32px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: 99px;
        transition: width 0.4s ease;
    }

    .achievement-card:hover .achievement-accent-line {
        width: 60px;
    }

    .achievement-accent-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: var(--secondary);
    }
