
* {
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
  }
  
  img {
    max-width:100%;
    height:auto;
    display:block;
  }
  
  /* تحسين تحميل الخطوط - font-display: swap */
  @font-face {
    font-family: 'Almarai';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Almarai Light'), local('Almarai-Light');
  }
  
  @font-face {
    font-family: 'Almarai';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Almarai Regular'), local('Almarai-Regular');
  }
  
  @font-face {
    font-family: 'Almarai';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Almarai Bold'), local('Almarai-Bold');
  }
  
  @font-face {
    font-family: 'Almarai';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: local('Almarai ExtraBold'), local('Almarai-ExtraBold');
  }
  
  :root {
    --color-default: #222222;
    --color-primary: #0e2133;
    --color-secondary: #dba327;
    --primary:#0e2133;
    --primary-darker:#082036;
    --secondary:#dba327;
    --accent:#dba327;
    --light:#FDFEFE;
    --dark:#1C1C1C;
    --gray:#808080;
    --light-gray:#F0F2F5;
    --hero-accent:#FFC107;
    --transition:all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow:0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-hover:0 10px 25px rgba(0, 0, 0, 0.12);
    --radius:15px;
    --gold-gradient:linear-gradient(145deg, #dba327 0%, var(--secondary) 100%);
    --scrollbar-track:#f1f1f1;
    --scrollbar-thumb:linear-gradient(145deg, #dba327 0%, #B8860B 50%, #DAA520 100%);
    --scrollbar-thumb-hover:linear-gradient(145deg, #B8860B 0%, #dba327 50%, var(--hero-accent) 100%);
    --success:#28a745;
    --warning:#ffc107;
    --danger:#dc3545;
    --info:var(--accent);
    --light-border:#e9ecef;
    --dark-border:#dee2e6;
    
    /* Fonts */
    --font-default: "Almarai", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-primary: "Almarai", sans-serif;
    --font-secondary: "Almarai", sans-serif;
  }
  
  *,
  *::before,
  *::after {
    margin:0;
    padding:0;
    box-sizing:border-box;
  }
  
  html {
    scroll-behavior:smooth;
    scroll-padding-top:0;
    overflow-x:hidden;
  }
  
  @media (max-width:767px) {
    html {
    scroll-behavior:auto;
  }
  
  html:has(a:focus) {
    scroll-behavior:smooth;
  }
  }
  
  body {
    font-family:var(--font-default);
    background:var(--light-gray);
    color:var(--dark);
    line-height:1.8;
    min-height:100vh;
    overflow-x:hidden;
  }
  
  .page-loader {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#0a2b4c;
    backdrop-filter:blur(15px);
    z-index:99999;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    opacity:1;
    visibility:visible;
    transition:all 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .page-loader.is-hidden {
    opacity:0;
    visibility:hidden;
    transform:scale(0.8) rotate(5deg);
  }
  
  .premium-spinner {
    position:relative;
    width:120px;
    height:120px;
    margin-bottom:3rem;
  }
  
  .spinner-ring {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border-radius:50%;
    animation:premiumSpin 3s ease-in-out infinite;
  }
  
  .spinner-ring:nth-child(1) {
    border:6px solid transparent;
    border-top:6px solid var(--secondary);
    border-right:6px solid var(--secondary);
    animation-duration:2.5s;
    box-shadow:0 0 20px rgba(219, 163, 39, 0.5);
  }
  
  .spinner-ring:nth-child(2) {
    width:90px;
    height:90px;
    top:15px;
    left:15px;
    border:5px solid transparent;
    border-top:5px solid var(--accent);
    border-left:5px solid var(--accent);
    animation-duration:2s;
    animation-direction:reverse;
    box-shadow:0 0 15px rgba(30, 136, 229, 0.4);
  }
  
  .spinner-ring:nth-child(3) {
    width:60px;
    height:60px;
    top:30px;
    left:30px;
    border:4px solid transparent;
    border-top:4px solid var(--hero-accent);
    border-bottom:4px solid var(--hero-accent);
    animation-duration:1.5s;
    box-shadow:0 0 10px rgba(255, 193, 7, 0.3);
  }
  
  .spinner-ring:nth-child(4) {
    width:30px;
    height:30px;
    top:45px;
    left:45px;
    border:3px solid transparent;
    border-top:3px solid var(--primary);
    animation-duration:1s;
    animation-direction:reverse;
    box-shadow:0 0 8px rgba(10, 43, 76, 0.6);
  }
  
  .spinner-center {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:20px;
    height:20px;
    background:linear-gradient(45deg, var(--secondary), var(--hero-accent));
    border-radius:50%;
    animation:centerPulse 2s ease-in-out infinite;
    box-shadow:0 0 15px rgba(219, 163, 39, 0.8);
  }
  
  @keyframes premiumSpin {
    0% {
    transform:rotate(0deg) scale(1);
    opacity:1;
  }
  
  25% {
    transform:rotate(90deg) scale(1.05);
    opacity:0.9;
  }
  
  50% {
    transform:rotate(180deg) scale(1.1);
    opacity:0.8;
  }
  
  75% {
    transform:rotate(270deg) scale(1.05);
    opacity:0.9;
  }
  
  100% {
    transform:rotate(360deg) scale(1);
    opacity:1;
  }
  }
  
  @keyframes centerPulse {
    0%, 100% {
    transform:translate(-50%, -50%) scale(1);
    opacity:1;
  }
  
  50% {
    transform:translate(-50%, -50%) scale(1.3);
    opacity:0.7;
  }
  }
  
  .loading-text {
    text-align:center;
    color:var(--light);
    animation:fadeInUp 1.5s ease-out;
    position:relative;
  }
  
  .loading-text::before {
    content:'';
    position:absolute;
    top:-20px;
    left:50%;
    transform:translateX(-50%);
    width:100px;
    height:2px;
    background:linear-gradient(90deg, transparent, var(--secondary), transparent);
    animation:textLine 3s ease-in-out infinite;
  }
  
  .loading-text h3 {
    font-size:2rem;
    font-weight:800;
    margin-bottom:1rem;
    background:linear-gradient(45deg, var(--secondary) 0%, var(--hero-accent) 50%, var(--accent) 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    animation:textGlow 3s ease-in-out infinite alternate;
    text-shadow:0 0 30px rgba(219, 163, 39, 0.5);
  }
  
  .loading-text p {
    font-size:1.2rem;
    opacity:0.9;
    animation:pulse 2.5s ease-in-out infinite;
    color:rgba(255, 255, 255, 0.8);
  }
  
  @keyframes fadeInUp {
    from {
    opacity:0;
    transform:translateY(50px);
  }
  
  to {
    opacity:1;
    transform:translateY(0);
  }
  }
  
  @keyframes textGlow {
    from {
    filter:brightness(1) drop-shadow(0 0 10px rgba(219, 163, 39, 0.3));
    transform:scale(1);
  }
  
  to {
    filter:brightness(1.3) drop-shadow(0 0 20px rgba(219, 163, 39, 0.6));
    transform:scale(1.05);
  }
  }
  
  @keyframes textLine {
    0% {
    width:0;
    opacity:0;
  }
  
  50% {
    width:100px;
    opacity:1;
  }
  
  100% {
    width:0;
    opacity:0;
  }
  }
  
  .progress-loader {
    width:400px;
    height:8px;
    background:rgba(255, 255, 255, 0.15);
    border-radius:15px;
    overflow:hidden;
    margin-top:2rem;
    position:relative;
    box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .progress-bar {
    height:100%;
    background:linear-gradient(90deg, var(--secondary) 0%, var(--hero-accent) 25%, var(--accent) 50%, var(--hero-accent) 75%, var(--secondary) 100%);
    border-radius:15px;
    width:0%;
    animation:progressFill 2s ease-in-out forwards;
    position:relative;
    box-shadow:0 0 20px rgba(219, 163, 39, 0.6);
  }
  
  .progress-bar::after {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation:shimmer 2.5s ease-in-out infinite;
  }
  
  .progress-bar::before {
    content:'';
    position:absolute;
    top:-2px;
    left:0;
    right:0;
    height:12px;
    background:linear-gradient(90deg, var(--secondary) 0%, var(--hero-accent) 50%, var(--secondary) 100%);
    border-radius:15px;
    opacity:0.3;
    animation:progressGlow 2s ease-in-out infinite alternate;
  }
  
  @keyframes progressFill {
    0% {
    width:0%;
  }
  
  30% {
    width:40%;
  }
  
  60% {
    width:75%;
  }
  
  100% {
    width:100%;
  }
  }
  
  @keyframes shimmer {
    0% {
    transform:translateX(-100%);
  }
  
  100% {
    transform:translateX(100%);
  }
  }
  
  @keyframes progressGlow {
    from {
    opacity:0.3;
  }
  
  to {
    opacity:0.7;
  }
  }
  
  .content-loader {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:5rem 3rem;
    background:#0a2b4c;
    border-radius:var(--radius);
    box-shadow:0 20px 40px rgba(10, 43, 76, 0.1);
    text-align:center;
    position:relative;
    overflow:hidden;
    border:2px solid rgba(219, 163, 39, 0.2);
  }
  
  .content-loader::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(219, 163, 39, 0.1), transparent);
    animation:contentShimmer 3s ease-in-out infinite;
  }
  
  .content-spinner {
    position:relative;
    width:80px;
    height:80px;
    margin-bottom:2rem;
  }
  
  .content-spinner .spinner-ring {
    width:80px;
    height:80px;
    border:4px solid transparent;
    border-top:4px solid var(--primary);
    border-radius:50%;
    animation:contentSpin 2s linear infinite;
    box-shadow:0 0 15px rgba(10, 43, 76, 0.3);
  }
  
  .content-spinner .spinner-ring:nth-child(2) {
    width:60px;
    height:60px;
    top:10px;
    left:10px;
    border-top-color:var(--secondary);
    animation-duration:1.5s;
    animation-direction:reverse;
    box-shadow:0 0 12px rgba(219, 163, 39, 0.4);
  }
  
  .content-spinner .spinner-ring:nth-child(3) {
    width:40px;
    height:40px;
    top:20px;
    left:20px;
    border-top-color:var(--accent);
    animation-duration:1s;
    box-shadow:0 0 8px rgba(30, 136, 229, 0.3);
  }
  
  .content-spinner .spinner-ring:nth-child(4) {
    width:20px;
    height:20px;
    top:30px;
    left:30px;
    border-top-color:var(--hero-accent);
    animation-duration:0.8s;
    animation-direction:reverse;
    box-shadow:0 0 6px rgba(255, 193, 7, 0.4);
  }
  
  @keyframes contentSpin {
    0% {
    transform:rotate(0deg);
  }
  
  100% {
    transform:rotate(360deg);
  }
  }
  
  @keyframes contentShimmer {
    0% {
    left:-100%;
  }
  
  100% {
    left:100%;
  }
  }
  
  @media (max-width:768px) {
    .premium-spinner {
    width:100px;
    height:100px;
    margin-bottom:2rem;
  }
  
  .spinner-ring:nth-child(2) {
    width:75px;
    height:75px;
    top:12.5px;
    left:12.5px;
  }
  
  .spinner-ring:nth-child(3) {
    width:50px;
    height:50px;
    top:25px;
    left:25px;
  }
  
  .spinner-ring:nth-child(4) {
    width:25px;
    height:25px;
    top:37.5px;
    left:37.5px;
  }
  
  .loading-text h3 {
    font-size:1.6rem;
  }
  
  .loading-text p {
    font-size:1rem;
  }
  
  .progress-loader {
    width:300px;
  }
  
  .content-loader {
    padding:4rem 2rem;
  }
  }
  
  @media (max-width:480px) {
    .premium-spinner {
    width:80px;
    height:80px;
  }
  
  .spinner-ring:nth-child(2) {
    width:60px;
    height:60px;
    top:10px;
    left:10px;
  }
  
  .spinner-ring:nth-child(3) {
    width:40px;
    height:40px;
    top:20px;
    left:20px;
  }
  
  .spinner-ring:nth-child(4) {
    width:20px;
    height:20px;
    top:30px;
    left:30px;
  }
  
  .loading-text h3 {
    font-size:1.4rem;
  }
  
  .progress-loader {
    width:250px;
  }
  }
  
  nav#main-nav ul li a {
    white-space:nowrap;
  }
  
  .logo-text h1 {
    white-space:nowrap;
  }
  
  ::-webkit-scrollbar {
    width:16px;
    height:16px;
  }
  
  ::-webkit-scrollbar-track {
    background:var(--scrollbar-track);
    border-radius:10px;
    box-shadow:inset 0 0 5px rgba(0, 0, 0, 0.1);
  }
  
  ::-webkit-scrollbar-thumb {
    background:var(--scrollbar-thumb);
    border-radius:10px;
    border:2px solid var(--scrollbar-track);
    box-shadow:0 2px 8px rgba(219, 163, 39, 0.3);
    transition:all 0.3s ease;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background:var(--scrollbar-thumb-hover);
    box-shadow:0 4px 12px rgba(219, 163, 39, 0.5);
    transform:scale(1.05);
  }
  
  ::-webkit-scrollbar-thumb:active {
    background:linear-gradient(145deg, #B8860B 0%, #dba327 50%, #FFD700 100%);
    box-shadow:0 2px 6px rgba(219, 163, 39, 0.7);
  }
  
  ::-webkit-scrollbar-corner {
    background:var(--scrollbar-track);
  }
  
  * {
    scrollbar-width:thin;
    scrollbar-color:#dba327 #f1f1f1;
  }
  
  .university-details-content::-webkit-scrollbar,
  .mobile-filter-dropdown-content::-webkit-scrollbar,
  .custom-options::-webkit-scrollbar,
  .options-list::-webkit-scrollbar,
  .dropdown-content::-webkit-scrollbar,
  .modal-content::-webkit-scrollbar {
    width:12px;
  }
  
  .university-details-content::-webkit-scrollbar-track,
  .mobile-filter-dropdown-content::-webkit-scrollbar-track,
  .custom-options::-webkit-scrollbar-track,
  .options-list::-webkit-scrollbar-track,
  .dropdown-content::-webkit-scrollbar-track,
  .modal-content::-webkit-scrollbar-track {
    background:rgba(241, 241, 241, 0.5);
    border-radius:8px;
  }
  
  .university-details-content::-webkit-scrollbar-thumb,
  .mobile-filter-dropdown-content::-webkit-scrollbar-thumb,
  .custom-options::-webkit-scrollbar-thumb,
  .options-list::-webkit-scrollbar-thumb,
  .dropdown-content::-webkit-scrollbar-thumb,
  .modal-content::-webkit-scrollbar-thumb {
    background:linear-gradient(145deg, #dba327 0%, #B8860B 100%);
    border-radius:8px;
    border:1px solid rgba(219, 163, 39, 0.3);
  }
  
  .university-details-content::-webkit-scrollbar-thumb:hover,
  .mobile-filter-dropdown-content::-webkit-scrollbar-thumb:hover,
  .custom-options::-webkit-scrollbar-thumb:hover,
  .options-list::-webkit-scrollbar-thumb:hover,
  .dropdown-content::-webkit-scrollbar-thumb:hover,
  .modal-content::-webkit-scrollbar-thumb:hover {
    background:linear-gradient(145deg, #B8860B 0%, #dba327 100%);
    box-shadow:0 2px 6px rgba(219, 163, 39, 0.4);
  }
  
  .container {
    max-width:100vw;
    position:relative;
    padding-top:85px;
  }
  
  body.modal-open {
    overflow:hidden;
  }
  
  .container {
    width:92%;
    max-width:1280px;
    margin:0 auto;
    padding:0 15px;
  }
  
  section,
  .section {
    padding:4rem 0;
    position:relative;
    overflow-x:hidden;
  }
  
  .section-title {
    text-align:center;
    margin-bottom:2rem;
  }
  
  .section-title h2 {
    font-size:2rem;
    color:var(--primary);
    margin-bottom:0.5rem;
    position:relative;
    padding-bottom:0.5rem;
  }
  
  .about-section-enhanced .section-title {
    margin-bottom:1.5rem;
  }
  
  .about-section-enhanced .section-title h2 {
    font-size:1.8rem;
  }
  
  .section-title h2::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:4px;
    background:var(--secondary);
    border-radius:2px;
  }
  
  .section-title p {
    font-size:1.1rem;
    color:var(--gray);
    max-width:600px;
    margin:0.5rem auto 0;
  }
  
  .section-title-centered {
    text-align:center;
  }
  
  .hide-on-small-screen {
    display:none;
  }
  
  @media (min-width:768px) {
    .hide-on-small-screen {
    display:block;
  }
  }
  
  @keyframes slideInRight {
    to {
    transform:translateX(0);
    opacity:1;
  }
  }
  
  .dropdown {
    position:relative;
    overflow:visible;
  }
  
  .dropdown-toggle {
    cursor:pointer;
    user-select:none;
  }
  
  .dropdown-toggle i {
    transition:transform 0.3s ease;
  }
  
  .dropdown.active .dropdown-toggle i {
    transform:rotate(180deg);
  }
  
  .dropdown-content {
    display:none;
    position:absolute;
    opacity:0;
    visibility:hidden;
    min-width:280px;
    background-color:#ffffff !important;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0, 0, 0, 0.2);
    border:1px solid rgba(0, 0, 0, 0.1);
    z-index:10000;
    transition:all 0.3s ease;
  }
  
  .dropdown.active .dropdown-content {
    display:block;
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
  
  .dropdown-content a {
    display:flex;
    align-items:center;
    padding:12px 16px;
    text-decoration:none;
    color:#1C1C1C !important;
    font-weight:500;
    font-size:0.95rem;
    border-bottom:1px solid #f0f0f0;
    transition:all 0.3s ease;
    border-radius:6px;
    margin-bottom:3px;
  }
  
  .dropdown-content a:hover {
    background:#0A2B4C;
    color:white;
    transform:translateX(-3px);
  }
  
  .dropdown-content a i {
    margin-left:12px;
    width:18px;
    text-align:center;
    color:#0A2B4C !important;
    font-size:1rem;
    transition:color 0.3s ease;
  }
  
  .dropdown-content a:hover i {
    color:white;
  }
  
  .dropdown-content hr {
    margin:10px 0;
    border:none;
    border-top:1px solid #e0e0e0;
  }
  
  @media (min-width:1401px) {
    .dropdown-content {
    top:calc(100% + 10px);
    right:-150px;
    padding:20px;
    transform:translateY(-10px);
    animation:fadeInDropdown 0.3s forwards;
  }
  }
  
  .btn, .hero-btn, .btn-details, .modern-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:15px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:var(--transition);
    border:none;
    cursor:pointer;
    position:relative;
    overflow:hidden;
    z-index:1;
    text-align:center;
    font-family:var(--font-default);
  }
  
  .btn-details {
    padding:10px 24px;
    font-size:0.95rem;
    align-self:flex-start;
    background:linear-gradient(135deg, var(--secondary) 0%, #dba327 100%);
    color:var(--primary);
    border-radius:25px;
    font-weight:600;
    box-shadow:0 4px 12px rgba(219, 163, 39, 0.3);
    transition:all 0.3s ease;
    position:relative;
    overflow:hidden;
  }
  
  .btn-details::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition:left 0.5s ease;
  }
  
  .btn-details:hover::before {
    left:100%;
  }
  
  .btn-details:hover {
    transform:translateY(-2px) scale(1.05);
    box-shadow:0 8px 20px rgba(219, 163, 39, 0.4);
    background:linear-gradient(135deg, #dba327 0%, var(--secondary) 100%);
  }
  
  .btn:hover, .hero-btn:hover, .btn-details:hover, .modern-btn:hover {
    box-shadow:0 4px 15px rgba(219, 163, 39, 0.4);
    transform:scale(1.05);
  }
  
  .btn::before, .hero-btn::before, .btn-details::before {
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:0;
    height:0;
    background:rgba(255,255,255,0.3);
    border-radius:50%;
    transition:all 0.3s ease;
    transform:translate(-50%, -50%);
    z-index:-1;
    pointer-events:none;
  }
  
  .btn:hover::before, .hero-btn:hover::before, .btn-details:hover::before {
    width:300px;
    height:300px;
  }
  
  .btn-primary {
    background:var(--gold-gradient);
    color:var(--primary);
    box-shadow:0 8px 20px rgba(219, 163, 39, 0.35);
  }
  
  .btn-secondary {
    background:var(--gold-gradient);
    color:var(--primary);
    box-shadow:0 8px 20px rgba(219, 163, 39, 0.35);
  }
  
  .btn-outline {
    background:transparent;
    border:2px solid var(--secondary);
    color:var(--secondary);
  }
  
  .btn-outline:hover {
    background:var(--secondary);
    color:var(--primary);
  }
  
  .btn-sm {
    padding:6px 12px;
    font-size:0.8rem;
  }
  
  .hero-btn {
    padding:16px 40px;
    font-size:1.15rem;
    gap:12px;
  }
  
  .hero-btn-primary {
    background:var(--hero-accent);
    color:var(--primary);
    box-shadow:0 8px 25px rgba(0,0,0, 0.15);
  }
  
  .hero-btn-primary:hover {
    transform:translateY(-5px) scale(1.05);
    box-shadow:0 12px 30px rgba(0,0,0, 0.2);
    background:white;
  }
  
  .hero-btn-secondary {
    background:transparent;
    color:white;
    border:2px solid white;
  }
  
  .hero-btn-secondary:hover {
    background:white;
    color:var(--primary);
    transform:translateY(-5px);
  }
  
  .page-hero {
    position:relative;
    padding:4rem 0;
    padding-top:calc(4rem + 60px);
    text-align:center;
    overflow:hidden;
    background:var(--primary);
    min-height:50vh;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  .page-hero::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index:1;
  }
  
  .page-hero::after {
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:100px;
    background:linear-gradient(to top, rgba(10, 43, 76, 0.1), transparent);
    z-index:1;
  }
  
  .page-hero-content {
    position:relative;
    z-index:2;
    color:white;
    max-width:1000px;
    margin:0 auto;
    padding:0 2rem;
    animation:heroFadeIn 1s ease-out;
  }
  
  @keyframes heroFadeIn {
    from {
    opacity:0;
    transform:translateY(30px);
  }
  
  to {
    opacity:1;
    transform:translateY(0);
  }
  }
  
  .page-hero h1 {
    font-size:2.5rem;
    font-weight:800;
    margin-bottom:1rem;
    line-height:1.2;
    text-shadow:0 6px 20px rgba(0,0,0,0.4);
    background:linear-gradient(135deg, var(--light) 0%, #f0f0f0 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    animation:titleGlow 3s ease-in-out infinite alternate;
  }
  
  @keyframes titleGlow {
    from {
    text-shadow:0 6px 20px rgba(0,0,0,0.4);
  }
  
  to {
    text-shadow:0 6px 20px rgba(0,0,0,0.4), 0 0 30px rgba(219, 163, 39, 0.3);
  }
  }
  
  .page-hero h1 span {
    background:linear-gradient(135deg, var(--hero-accent) 0%, #FFD700 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    position:relative;
  }
  
  .page-hero h1 span::after {
    content:"";
    position:absolute;
    bottom:-5px;
    left:0;
    width:100%;
    height:3px;
    background:linear-gradient(90deg, var(--hero-accent), transparent);
    border-radius:2px;
  }
  
  .page-hero h2 {
    font-size:1.5rem;
    font-weight:600;
    margin-bottom:1rem;
    line-height:1.4;
    text-shadow:0 2px 8px rgba(0,0,0,0.3);
    color:rgba(255,255,255,0.95);
  }
  
  .page-hero p {
    font-size:1.1rem;
    max-width:800px;
    margin:0 auto 1.5rem auto;
    opacity:0.95;
    line-height:1.8;
    text-shadow:0 2px 8px rgba(0,0,0,0.3);
    font-weight:400;
  }
  
  .feature-card, .spec-card, .transaction-card, .protocol-card, .scholarship-card, .school-card, .activity-card, .book-card {
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    transition:var(--transition);
    display:flex;
    flex-direction:column;
  }
  
  .feature-card:hover, .spec-card:hover, .transaction-card:hover, .protocol-card:hover, .activity-card:hover, .book-card:hover {
    transform:translateY(-10px);
    box-shadow:var(--shadow-hover);
  }
  
  .about-features, .specializations-grid, .transactions-grid, .protocols-grid, .scholarships-grid, .activities-grid, .library-grid, .university-cards-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:1.5rem;
  }
  
  .scholarships-grid {
    max-width:100%;
    overflow-x:hidden;
  }
  
  .scholarship-card .icon {
    position:absolute;
    top:1.5rem;
    left:1.5rem;
    width:50px;
    height:50px;
    background:var(--gold-gradient);
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:3;
    box-shadow:0 4px 12px rgba(219, 163, 39, 0.3);
    transition:all 0.4s ease;
  }
  
  .scholarship-card .icon i {
    color:white;
    font-size:1.5rem;
    transition:all 0.4s ease;
  }
  
  .scholarship-card:hover .icon {
    transform:scale(1.1) rotate(5deg);
    box-shadow:0 6px 20px rgba(219, 163, 39, 0.5);
  }
  
  .scholarship-card:hover .icon i {
    color:white;
    transform:scale(1.1);
  }
  
  .scholarship-card {
    position:relative;
    overflow:hidden;
    border:none;
    background:linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow:0 8px 30px rgba(0, 0, 0, 0.12);
    transition:all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius:20px;
  }
  
  .scholarship-card::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:6px;
    background:linear-gradient(90deg, var(--secondary) 0%, #FFD700 50%, var(--secondary) 100%);
    z-index:1;
    box-shadow:0 2px 10px rgba(219, 163, 39, 0.4);
  }
  
  .scholarship-card::after {
    content:'';
    position:absolute;
    top:-50%;
    right:-50%;
    width:200%;
    height:200%;
    background:radial-gradient(circle, rgba(219, 163, 39, 0.08) 0%, transparent 70%);
    border-radius:50%;
    z-index:0;
    transition:all 0.6s ease;
  }
  
  .scholarship-card:hover {
    transform:translateY(-12px) scale(1.03);
    box-shadow:0 20px 60px rgba(0, 0, 0, 0.2);
    background:linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  }
  
  .scholarship-card:hover::before {
    height:8px;
    box-shadow:0 4px 15px rgba(219, 163, 39, 0.6);
  }
  
  .scholarship-card:hover::after {
    top:-30%;
    right:-30%;
    background:radial-gradient(circle, rgba(219, 163, 39, 0.15) 0%, transparent 70%);
  }
  
  .scholarship-card-body {
    padding:2rem;
    flex-grow:1;
    display:flex;
    flex-direction:column;
    position:relative;
    z-index:2;
    background:transparent;
  }
  
  .scholarship-card-body::before {
    content:'';
    position:absolute;
    top:0;
    right:0;
    width:120px;
    height:120px;
    background:linear-gradient(135deg, rgba(219, 163, 39, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius:0 0 0 100%;
    z-index:0;
  }
  
  .scholarship-card-body::after {
    content:'🎓';
    position:absolute;
    top:1.5rem;
    right:1.5rem;
    font-size:3rem;
    opacity:0.08;
    z-index:0;
    transform:rotate(-15deg);
    transition:all 0.5s ease;
  }
  
  .scholarship-card:hover .scholarship-card-body::after {
    opacity:0.12;
    transform:rotate(0deg) scale(1.1);
  }
  
  .scholarship-card .country {
    font-weight:700;
    color:var(--secondary);
    margin-bottom:0.75rem;
    font-size:0.8rem;
    text-transform:uppercase;
    letter-spacing:1px;
    position:relative;
    z-index:1;
    display:inline-block;
    padding:0.4rem 0.875rem;
    background:linear-gradient(135deg, rgba(219, 163, 39, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-radius:20px;
    border:1px solid rgba(219, 163, 39, 0.2);
  }
  
  .scholarship-card h3 {
    font-size:1.4rem;
    background:linear-gradient(135deg, var(--primary) 0%, #1a4a6b 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    margin-bottom:1rem;
    flex-grow:1;
    word-wrap:break-word;
    overflow-wrap:break-word;
    hyphens:auto;
    max-width:100%;
    width:100%;
    box-sizing:border-box;
    white-space:normal;
    overflow:hidden;
    text-overflow:ellipsis;
    display:block;
    line-height:1.5;
    font-weight:800;
    position:relative;
    z-index:1;
    transition:all 0.3s ease;
  }
  
  .scholarship-card:hover h3 {
    transform:translateY(-2px);
  }
  
  .scholarship-card .description {
    font-size:0.95rem;
    color:#555;
    margin-bottom:1.5rem;
    line-height:1.7;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow:ellipsis;
    position:relative;
    z-index:1;
    padding-right:1rem;
  }
  
  .scholarship-card-footer {
    padding:1.5rem 2rem;
    background:linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(233, 236, 239, 0.95) 100%);
    border-top:3px solid transparent;
    border-image:linear-gradient(90deg, transparent, var(--secondary), transparent) 1;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    z-index:2;
    backdrop-filter:blur(10px);
  }
  
  .scholarship-card-footer::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:0;
    height:100%;
    background:linear-gradient(135deg, rgba(219, 163, 39, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
    transition:width 0.5s ease;
    z-index:0;
  }
  
  .scholarship-card:hover .scholarship-card-footer::before {
    width:100%;
  }
  
  .scholarship-card-footer::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:60px;
    height:3px;
    background:var(--gold-gradient);
    border-radius:3px 3px 0 0;
    opacity:0;
    transition:opacity 0.3s ease;
  }
  
  .scholarship-card:hover .scholarship-card-footer::after {
    opacity:1;
  }
  
  .scholarship-card-footer .btn-details {
    position:relative;
    z-index:1;
    padding:0.875rem 2rem;
    background:linear-gradient(135deg, var(--primary) 0%, #1a4a6b 100%);
    color:white;
    border:none;
    border-radius:30px;
    font-weight:700;
    font-size:0.95rem;
    transition:all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    gap:0.75rem;
    box-shadow:0 4px 15px rgba(14, 33, 51, 0.3);
    overflow:hidden;
  }
  
  .scholarship-card-footer .btn-details::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition:left 0.5s ease;
  }
  
  .scholarship-card-footer .btn-details:hover::before {
    left:100%;
  }
  
  .scholarship-card-footer .btn-details:hover {
    background:var(--gold-gradient);
    color:var(--primary);
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 8px 25px rgba(219, 163, 39, 0.5);
  }
  
  .scholarship-card-footer .btn-details::after {
    content:'←';
    font-size:1.2rem;
    transition:all 0.3s ease;
    font-weight:bold;
  }
  
  .scholarship-card-footer .btn-details:hover::after {
    transform:translateX(5px);
  }
  
  .scholarship-card .deadline {
    font-weight:700;
    position:relative;
    z-index:1;
    color:var(--primary);
    font-size:0.85rem;
  }
  
  .school-page-layout {
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:2rem;
    align-items:flex-start;
  }
  
  .school-card {
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    transition:var(--transition);
  }
  
  .school-card:hover {
    box-shadow:var(--shadow-hover);
    transform:translateY(-5px);
  }
  
  .school-card-header {
    padding:2rem;
    display:flex;
    align-items:center;
    gap:1.5rem;
    border-bottom:1px solid var(--light-border);
  }
  
  .school-card-logo {
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid var(--secondary);
    flex-shrink:0;
  }
  
  .school-card-title h3 {
    font-size:2rem;
    color:var(--primary);
    margin:0;
  }
  
  .school-card-title p {
    font-size:1.1rem;
    color:var(--gray);
  }
  
  .school-card-body {
    padding:2rem;
  }
  
  .school-card-body .info-item {
    display:flex;
    align-items:center;
    gap:15px;
    font-size:1.1rem;
    margin-bottom:1rem;
  }
  
  .school-card-body .info-item i {
    color:var(--secondary);
    font-size:1.3rem;
    width:25px;
    text-align:center;
  }
  
  .sidebar-card {
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:2rem;
    margin-bottom:2rem;
    transition:var(--transition);
    border-right:4px solid var(--accent);
  }
  
  .sidebar-card:hover {
    box-shadow:var(--shadow-hover);
    transform:translateY(-5px);
    border-right-color:var(--secondary);
  }
  
  .sidebar-card h3 {
    color:var(--primary);
    font-size:1.4rem;
    font-weight:700;
    margin-bottom:1.5rem;
    text-align:center;
    position:relative;
    padding-bottom:0.5rem;
  }
  
  .sidebar-card h3::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:50px;
    height:3px;
    background:var(--secondary);
    border-radius:2px;
  }
  
  .sidebar-card ul {
    list-style:none;
    padding:0;
    margin:0;
  }
  
  .sidebar-card ul li {
    margin-bottom:1rem;
    padding:1rem;
    background:linear-gradient(145deg, var(--light-gray) 0%, #e9ecef 100%);
    border-radius:10px;
    border-left:4px solid var(--accent);
    transition:all 0.3s ease;
    position:relative;
    overflow:hidden;
  }
  
  .sidebar-card ul li::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.1), transparent);
    transition:left 0.5s ease;
  }
  
  .sidebar-card ul li:hover::before {
    left:100%;
  }
  
  .sidebar-card ul li:hover {
    transform:translateX(-5px);
    box-shadow:0 4px 12px rgba(30, 136, 229, 0.2);
    border-left-color:var(--secondary);
  }
  
  .sidebar-card ul li i {
    color:var(--accent);
    font-size:1.2rem;
    margin-left:10px;
    margin-top:2px;
    float:right;
  }
  
  .sidebar-card ul li:last-child {
    margin-bottom:0;
  }
  
  .accordion-container {
    max-width:900px;
    margin:0 auto;
  }
  
  .accordion-item {
    background:white;
    border-radius:var(--radius);
    margin-bottom:1rem;
    box-shadow:var(--shadow);
    overflow:hidden;
    transition:var(--transition);
    border-right:4px solid transparent;
  }
  
  .accordion-item:hover {
    box-shadow:var(--shadow-hover);
    transform:translateY(-5px);
    border-right-color:var(--secondary);
  }
  
  .accordion-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:1.5rem 2rem;
    cursor:pointer;
    background:white;
  }
  
  .accordion-header h3 {
    font-size:1.3rem;
    color:var(--primary);
    font-weight:700;
    margin:0;
    text-align:right;
  }
  
  .accordion-icon {
    font-size:1.2rem;
    color:var(--secondary);
    transition:transform 0.4s ease;
  }
  
  .accordion-item.active .accordion-icon {
    transform:rotate(180deg);
  }
  
  .accordion-content {
    max-height:0;
    overflow:hidden;
    transition:max-height 0.5s ease-out, padding 0.5s ease-out;
    background:var(--light-gray);
    border-top:1px solid var(--light-border);
  }
  
  .accordion-content-inner {
    padding:2rem;
    display:grid;
    gap:1.5rem;
  }
  
  .accordion-content-inner h4 {
    color:var(--primary);
    font-size:1.1rem;
    margin-bottom:1rem;
    padding-bottom:0.5rem;
    border-bottom:2px solid var(--secondary);
    display:flex;
    align-items:center;
    gap:10px;
    text-align:right;
  }
  
  .accordion-content-inner h4 i {
    color:var(--secondary);
  }
  
  .accordion-content-inner ul {
    list-style:none;
    padding:0;
  }
  
  .accordion-content-inner ul li {
    margin-bottom:0.8rem;
    display:flex;
    align-items:flex-start;
    gap:10px;
  }
  
  .accordion-content-inner ul li i {
    color:var(--secondary);
    margin-top:5px;
  }
  
  .content-block p {
    margin-bottom:0.5rem;
  }
  
  .fees {
    margin-top:1.5rem;
    padding:1rem;
    background:#e6f7ff;
    border-right:4px solid var(--accent);
  }
  
  .fees p {
    font-weight:700;
    color:var(--primary);
    font-size:1.1rem;
  }
  
  .inquiry-form-container,
  .registration-form {
    margin-top:2rem;
    padding:2.5rem;
    background-color:var(--light-gray);
    border-radius:var(--radius);
    border:1px solid var(--light-border);
    box-shadow:0 8px 25px rgba(0,0,0,0.07);
    transition:var(--transition);
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
  }
  
  .inquiry-form-container:hover,
  .registration-form:hover {
    box-shadow:var(--shadow-hover);
  }
  
  .form-group {
    margin-bottom:1.75rem;
  }
  
  .form-group label {
    display:block;
    margin-bottom:0.75rem;
    color:var(--dark);
    font-weight:600;
    font-size:1.1rem;
  }
  
  .form-control,
  .form-control-file {
    width:100%;
    padding:14px 18px;
    border:1px solid var(--dark-border);
    border-radius:8px;
    font-size:1rem;
    font-family:var(--font-default);
    transition:var(--transition);
    background-color:white;
    color:var(--dark);
  }
  
  textarea.form-control {
    resize:vertical;
  }
  
  .form-control:focus {
    outline:none;
    border-color:var(--secondary);
    box-shadow:0 0 0 4px rgba(219, 163, 39, 0.2);
  }
  
  .form-control-file {
    padding:10px;
    border-style:dashed;
    cursor:pointer;
  }
  
  .form-control-file:hover {
    border-color:var(--primary);
  }
  
  .inquiry-form button[type="submit"],
  .registration-form button[type="submit"] {
    width:100%;
    padding:16px;
    font-size:1.2rem;
    margin-top:1rem;
  }
  
  .image-preview {
    width:150px;
    height:150px;
    border:2px dashed var(--light-border);
    border-radius:50%;
    margin-top:1rem;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    color:var(--gray);
    overflow:hidden;
    background-color:#fff;
    margin-right:auto;
    margin-left:auto;
  }
  
  .image-preview__image {
    width:100%;
    height:100%;
    object-fit:cover;
  }
  
  #inquiry-feedback,
  #form-feedback {
    margin-top:1.5rem;
    padding:1rem;
    border-radius:8px;
    text-align:center;
    font-weight:600;
  }
  
  #inquiry-feedback.success,
  #form-feedback.success {
    background-color:#d4edda;
    color:#155724;
    border:1px solid #c3e6cb;
  }
  
  #inquiry-feedback.error,
  #form-feedback.error {
    background-color:#f8d7da;
    color:#721c24;
    border:1px solid #f5c6cb;
  }
  
  .page-hero.library-hero {
    background-image:url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?q=80&w=2070&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    padding:8rem 0;
    padding-top:calc(8rem + 80px);
  }
  
  .section-subtitle {
    display:flex;
    align-items:center;
    gap:15px;
    font-size:1.8rem;
    font-weight:700;
    color:var(--primary);
    margin:3rem 0 2rem 0;
    padding-bottom:1rem;
    border-bottom:3px solid var(--secondary);
  }
  
  .section-subtitle i {
    color:var(--secondary);
    font-size:1.5rem;
  }
  
  .new-books-section {
    margin:4rem 0;
  }
  
  .books-showcase {
    display:grid;
    grid-template-columns:1fr;
    gap:3rem;
    margin-top:2rem;
  }
  
  .book-showcase-card {
    background:white;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    overflow:hidden;
    transition:all 0.3s ease;
    display:grid;
    grid-template-columns:300px 1fr;
    gap:0;
  }
  
  .book-showcase-card:hover {
    transform:translateY(-10px);
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
  }
  
  .book-showcase-cover {
    position:relative;
    background:linear-gradient(135deg, #f8f9fa, #e9ecef);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:2rem;
  }
  
  .book-showcase-cover img {
    max-width:200px;
    max-height:280px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    transition:transform 0.3s ease;
  }
  
  .book-showcase-card:hover .book-showcase-cover img {
    transform:scale(1.05);
  }
  
  .book-badge {
    position:absolute;
    top:20px;
    right:20px;
    background:linear-gradient(135deg, var(--secondary), #dba327);
    color:white;
    padding:8px 16px;
    border-radius:20px;
    font-size:0.8rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
  }
  
  .book-showcase-content {
    padding:2.5rem;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }
  
  .book-header h4 {
    font-size:1.8rem;
    font-weight:700;
    color:var(--primary);
    margin-bottom:1rem;
    line-height:1.3;
  }
  
  .book-meta {
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-bottom:2rem;
  }
  
  .book-meta span {
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--dark);
    font-size:0.95rem;
  }
  
  .book-meta i {
    color:var(--secondary);
    width:16px;
  }
  
  .book-synopsis {
    flex:1;
  }
  
  .book-synopsis h5 {
    font-size:1.2rem;
    font-weight:600;
    color:var(--primary);
    margin-bottom:1rem;
    padding-bottom:0.5rem;
    border-bottom:2px solid var(--secondary);
  }
  
  .book-synopsis p {
    line-height:1.8;
    margin-bottom:1.2rem;
    color:var(--dark);
    text-align:justify;
  }
  
  .book-actions {
    display:flex;
    gap:1rem;
    margin-top:2rem;
    padding-top:1.5rem;
    border-top:1px solid var(--light-border);
  }
  
  .btn-download-primary {
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:var(--gold-gradient);
    color:var(--primary);
    padding:14px 28px;
    border-radius:25px;
    text-decoration:none;
    font-weight:600;
    transition:all 0.3s ease;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
  }
  
  .btn-download-primary:hover {
    transform:translateY(-3px);
    box-shadow:0 8px 25px rgba(0,0,0,0.3);
  }
  
  .library-section {
    margin:4rem 0;
    padding-top:3rem;
    border-top:2px solid var(--light-border);
  }
  
  .library-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:2rem;
    margin-top:2rem;
    max-width:100%;
    overflow-x:hidden;
  }
  
  .book-card {
    background:white;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
    overflow:hidden;
    transition:all 0.3s ease;
    cursor:pointer;
  }
  
  .book-card:hover {
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
  }
  
  .book-cover {
    height:200px;
    background:linear-gradient(135deg, #f8f9fa, #e9ecef);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:1rem;
  }
  
  .book-cover img {
    max-width:120px;
    max-height:160px;
    border-radius:8px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
  }
  
  .book-details {
    padding:1.5rem;
  }
  
  .book-details h3 {
    font-size:1.1rem;
    font-weight:600;
    color:var(--primary);
    margin-bottom:1rem;
    line-height:1.4;
  }
  
  .book-details p {
    font-size:0.9rem;
    color:var(--dark);
    margin-bottom:0.5rem;
  }
  
  .page-hero.activities-hero {
    background-image:url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    padding:8rem 0;
    padding-top:calc(8rem + 80px);
  }
  
  .page-hero.activities-hero::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(10, 43, 76, 0.8);
    z-index:1;
  }
  
  .page-hero.activities-hero .page-hero-content {
    position:relative;
    z-index:2;
  }
  
  .page-hero.activities-hero h1 {
    font-size:4rem;
  }
  
  .page-hero.activities-hero p {
    font-size:1.4rem;
    max-width:800px;
    margin-bottom:2.5rem;
  }
  
  .activities-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(350px, 1fr));
    gap:2rem;
    margin-top:2rem;
    max-width:100%;
    overflow-x:hidden;
  }
  
  .activity-card {
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    transition:var(--transition);
    display:flex;
    flex-direction:column;
  }
  
  .activity-card:hover {
    transform:translateY(-10px);
    box-shadow:var(--shadow-hover);
  }
  
  .activity-header {
    padding:2rem;
    background:linear-gradient(135deg, var(--primary), #0A2B4C);
    color:white;
    display:flex;
    align-items:center;
    gap:1.5rem;
    position:relative;
    overflow:hidden;
  }
  
  .activity-header::before {
    content:'';
    position:absolute;
    top:-50%;
    right:-50%;
    width:200%;
    height:200%;
    background:radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation:shimmer 3s ease-in-out infinite;
  }
  
  .activity-icon {
    width:70px;
    height:70px;
    border-radius:50%;
    background:rgba(255, 255, 255, 0.2);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
    border:3px solid rgba(255, 255, 255, 0.3);
    backdrop-filter:blur(10px);
    transition:all 0.3s ease;
    z-index:2;
  }
  
  .activity-card:hover .activity-icon {
    transform:scale(1.1) rotate(5deg);
    background:rgba(255, 255, 255, 0.3);
  }
  
  .activity-header h3 {
    font-size:1.6rem;
    font-weight:700;
    margin:0;
    flex:1;
    z-index:2;
    position:relative;
  }
  
  .activity-body {
    padding:2rem;
    flex-grow:1;
    display:flex;
    flex-direction:column;
  }
  
  .activity-body p {
    color:var(--gray);
    margin-bottom:1.5rem;
    font-size:1.1rem;
    line-height:1.7;
  }
  
  .activity-features {
    list-style:none;
    padding:0;
    margin:1.5rem 0;
    flex-grow:1;
  }
  
  .activity-features li {
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 0;
    color:var(--dark);
    font-weight:500;
  }
  
  .activity-features li i {
    color:var(--secondary);
    font-size:1rem;
  }
  
  .activity-footer {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:auto;
    padding-top:1.5rem;
    border-top:1px solid var(--light-border);
  }
  
  .activity-date {
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--gray);
    font-size:0.9rem;
    font-weight:600;
  }
  
  .activity-date i {
    color:var(--secondary);
  }
  
  .sitemap-hero {
    position:relative;
    padding:6rem 0;
    text-align:center;
    overflow:hidden;
    background:var(--primary);
  }
  
  .sitemap-hero::before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index:1;
  }
  
  .sitemap-container {
    width:92%;
    max-width:1280px;
    margin:0 auto;
    padding:0 15px;
  }
  
  .sitemap-hero-content {
    position:relative;
    z-index:2;
    color:white;
    max-width:900px;
    margin:0 auto;
  }
  
  .sitemap-hero h1 {
    font-size:3.5rem;
    font-weight:800;
    margin-bottom:1.5rem;
    line-height:1.3;
    text-shadow:0 4px 12px rgba(0,0,0,0.3);
  }
  
  .sitemap-hero h1 i {
    color:var(--hero-accent);
    margin-left:10px;
  }
  
  .sitemap-hero p {
    font-size:1.3rem;
    max-width:750px;
    margin:0 auto;
    opacity:0.95;
    line-height:1.9;
  }
  
  .quick-access {
    padding:4rem 0;
    background:var(--light);
  }
  
  .quick-access-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:1.5rem;
    margin-top:2rem;
  }
  
  .quick-access-item {
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:2rem;
    text-align:center;
    text-decoration:none;
    color:var(--dark);
    transition:var(--transition);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-bottom:4px solid var(--secondary);
  }
  
  .quick-access-item:hover {
    transform:translateY(-8px);
    box-shadow:var(--shadow-hover);
    border-color:var(--primary);
  }
  
  .quick-access-icon {
    font-size:3rem;
    color:var(--primary);
    margin-bottom:1rem;
    transition:var(--transition);
  }
  
  .quick-access-item:hover .quick-access-icon {
    color:var(--secondary);
    transform:scale(1.1);
  }
  
  .quick-access-title {
    font-size:1.4rem;
    font-weight:700;
    margin-bottom:0.5rem;
    color:var(--primary);
  }
  
  .quick-access-desc {
    font-size:0.95rem;
    color:var(--gray);
  }
  
  .sitemap-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:2rem;
    margin-top:2rem;
  }
  
  .sitemap-card {
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    transition:var(--transition);
    border-top:5px solid var(--primary);
    display:flex;
    flex-direction:column;
  }
  
  .sitemap-card:hover {
    transform:translateY(-8px);
    box-shadow:var(--shadow-hover);
    border-color:var(--secondary);
  }
  
  .sitemap-card-header {
    background:var(--primary);
    color:white;
    padding:1.5rem;
    display:flex;
    align-items:center;
    gap:1rem;
  }
  
  .sitemap-card-icon {
    font-size:2rem;
    color:var(--secondary);
    transition:var(--transition);
  }
  
  .sitemap-card:hover .sitemap-card-icon {
    transform:scale(1.1) rotate(5deg);
  }
  
  .sitemap-card-title {
    font-size:1.5rem;
    font-weight:700;
    margin:0;
  }
  
  .sitemap-card-description {
    padding:1rem 1.5rem;
    color:var(--gray);
    font-size:0.95rem;
    border-bottom:1px solid var(--light-border);
  }
  
  .sitemap-links {
    list-style:none;
    padding:1.5rem;
    flex-grow:1;
  }
  
  .sitemap-links li {
    margin-bottom:0.8rem;
  }
  
  .sitemap-links li a {
    color:var(--dark);
    text-decoration:none;
    font-weight:500;
    display:flex;
    align-items:center;
    gap:10px;
    transition:var(--transition);
    padding:5px 0;
  }
  
  .sitemap-links li a:hover {
    color:var(--primary);
    transform:translateX(5px);
  }
  
  .sitemap-links li a i {
    color:var(--secondary);
    font-size:0.9rem;
  }
  
  @media (max-width:768px) {
    .sitemap-hero h1 {
    font-size:2.5rem;
  }
  
  .sitemap-hero p {
    font-size:1.1rem;
  }
  
  .quick-access-grid, .sitemap-grid {
    grid-template-columns:1fr;
  }
  
  .quick-access-item, .sitemap-card {
    padding:1.5rem;
  }
  
  .quick-access-icon {
    font-size:2.5rem;
  }
  
  .quick-access-title {
    font-size:1.2rem;
  }
  
  .sitemap-card-header {
    padding:1rem;
  }
  
  .sitemap-card-icon {
    font-size:1.8rem;
  }
  
  .sitemap-card-title {
    font-size:1.3rem;
  }
  
  .sitemap-card-description {
    padding:0.8rem 1.5rem;
  }
  
  .sitemap-links {
    padding:1rem 1.5rem;
  }
  }
  
  .page-hero.university-hero {
    background-image:url('https://images.unsplash.com/photo-1562774053-701939374585?q=80&w=2070&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    padding:8rem 0;
    padding-top:calc(8rem + 80px);
  }
  
  .page-hero.university-hero::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(10, 43, 76, 0.8);
    z-index:1;
  }
  
  .page-hero.university-hero .page-hero-content {
    position:relative;
    z-index:2;
  }
  
  .page-hero.university-hero h1 {
    font-size:4rem;
    font-weight:800;
    margin-bottom:1.5rem;
    line-height:1.3;
    text-shadow:0 4px 12px rgba(0,0,0,0.3);
  }
  
  .page-hero.university-hero p {
    font-size:1.4rem;
    max-width:800px;
    margin:0 auto;
    opacity:0.95;
    line-height:1.9;
  }
  
  .universities-directory-section {
    padding:2rem 0;
    background:var(--light-gray);
  }
  
  .controls-container {
    display:flex;
    flex-direction:column;
    gap:1.5rem;
    margin-bottom:2rem;
    padding:1.5rem;
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
  }
  
  .search-bar.university-search-bar {
    position:relative;
    max-width:500px;
    margin:0 auto;
  }
  
  .search-bar.university-search-bar i {
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    color:var(--gray);
    font-size:1.1rem;
  }
  
  .search-bar.university-search-bar input {
    width:100%;
    padding:12px 45px 12px 15px;
    border:2px solid var(--light-gray);
    border-radius:50px;
    font-size:1rem;
    transition:var(--transition);
    background:white;
  }
  
  .search-bar.university-search-bar input:focus {
    outline:none;
    border-color:var(--secondary);
    box-shadow:0 0 0 3px rgba(219, 163, 39, 0.1);
  }
  
  .state-filter-dropdown {
    position:relative;
    width:100%;
    max-width:400px;
    margin:0 auto;
    text-align:center;
  }
  
  .state-filter-dropdown .dropdown-toggle-btn {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    padding:12px 20px;
    background:white;
    border:2px solid var(--light-gray);
    border-radius:50px;
    color:var(--dark);
    font-weight:600;
    font-size:1rem;
    cursor:pointer;
    transition:var(--transition);
    box-shadow:var(--shadow);
  }
  
  .state-filter-dropdown .dropdown-toggle-btn:hover {
    border-color:var(--secondary);
    box-shadow:var(--shadow-hover);
  }
  
  .state-filter-dropdown .dropdown-toggle-btn i {
    color:var(--primary);
    font-size:1.1rem;
  }
  
  .state-filter-dropdown .dropdown-toggle-btn .dropdown-arrow {
    margin-right:auto;
    transition:transform 0.3s ease;
  }
  
  .state-filter-dropdown.active .dropdown-toggle-btn .dropdown-arrow {
    transform:rotate(180deg);
  }
  
  .state-filter-dropdown .dropdown-content-filter {
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    width:100%;
    min-width:350px;
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow-hover);
    z-index:10;
    padding:1.5rem;
    max-height:400px;
    overflow-y:auto;
    border:1px solid #eee;
  }
  
  .state-filter-dropdown.active .dropdown-content-filter {
    display:block;
  }
  
  .state-filter-dropdown .dropdown-search-box {
    position:relative;
    margin-bottom:1.5rem;
  }
  
  .state-filter-dropdown .dropdown-search-box input {
    width:100%;
    padding:12px 45px 12px 20px;
    border:2px solid var(--light-gray);
    border-radius:25px;
    font-size:1rem;
    transition:var(--transition);
  }
  
  .state-filter-dropdown .dropdown-search-box i {
    position:absolute;
    right:20px;
    top:50%;
    transform:translateY(-50%);
    color:var(--gray);
    font-size:1rem;
  }
  
  .state-filter-dropdown .dropdown-options {
    display:flex;
    flex-direction:column;
    gap:0.8rem;
  }
  
  .state-filter-dropdown .dropdown-options span {
    padding:12px 20px;
    cursor:pointer;
    transition:var(--transition);
    border-radius:10px;
    text-align:right;
    color:var(--dark);
    font-size:1rem;
    font-weight:500;
  }
  
  .state-filter-dropdown .dropdown-search-box input:focus {
    outline:none;
    border-color:var(--secondary);
    box-shadow:0 0 0 3px rgba(219, 163, 39, 0.1);
  }
  
  .state-filter-dropdown .dropdown-options span:hover {
    background:var(--light-gray);
    color:var(--primary);
    transform:translateX(-3px);
  }
  
  .state-filter-dropdown .dropdown-options span.selected {
    background:var(--primary);
    color:white;
    font-weight:600;
  }
  
  .university-cards-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
    gap:2rem;
    margin-top:2rem;
  }
  
  .flip-card {
    background-color:transparent;
    width:100%;
    height:320px;
    perspective:1000px;
    cursor:pointer;
    transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .flip-card:hover {
    transform:translateY(-8px);
  }
  
  .flip-card-inner {
    position:relative;
    width:100%;
    height:100%;
    text-align:center;
    transition:transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style:preserve-3d;
  }
  
  .flip-card.flipped .flip-card-inner {
    transform:rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position:absolute;
    width:100%;
    height:100%;
    backface-visibility:hidden;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    border:1px solid rgba(0, 0, 0, 0.1);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }
  
  .flip-card-front {
    background:linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    backdrop-filter:blur(10px);
  }
  
  .flip-card-back {
    background:linear-gradient(145deg, var(--primary) 0%, #0A2B4C 100%);
    color:white;
    transform:rotateY(180deg);
    padding:1.5rem;
    text-align:right;
  }
  
  .university-logo-container {
    padding:1.5rem;
    display:flex;
    justify-content:center;
    align-items:center;
    height:120px;
    background-color:var(--light-gray);
    border-bottom:1px solid var(--light-border);
  }
  
  .university-logo {
    max-width:100px;
    max-height:100px;
    object-fit:contain;
  }
  
  .university-name {
    font-size:1.4rem;
    font-weight:700;
    color:var(--primary);
    padding:1rem 1.5rem;
    text-align:center;
    flex-grow:1;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  .university-location {
    font-size:0.95rem;
    color:var(--gray);
    padding:0 1.5rem 1.5rem;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
  }
  
  .university-location i {
    color:var(--secondary);
  }
  
  .flip-card-back h4 {
    font-size:1.5rem;
    font-weight:700;
    margin-bottom:1rem;
    color:var(--hero-accent);
  }
  
  .flip-card-back ul {
    list-style:none;
    padding:0;
    margin-bottom:1.5rem;
  }
  
  .flip-card-back ul li {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:0.8rem;
    font-size:0.95rem;
  }
  
  .flip-card-back ul li i {
    color:var(--secondary);
    font-size:1.1rem;
  }
  
  .flip-card-back .btn-details {
    background:var(--secondary);
    color:var(--primary);
    padding:10px 20px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:var(--transition);
    align-self:flex-start;
    margin-top:auto;
  }
  
  .flip-card-back .btn-details:hover {
    background:white;
    box-shadow:0 4px 15px rgba(219, 163, 39, 0.4);
    transform:translateY(-3px);
  }
  
  @media (max-width:992px) {
    .page-hero.university-hero h1 {
    font-size:3rem;
  }
  
  .page-hero.university-hero p {
    font-size:1.2rem;
  }
  
  .university-cards-grid {
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  }
  }
  
  @media (max-width:768px) {
    .page-hero.university-hero h1 {
    font-size:2.5rem;
  }
  
  .page-hero.university-hero p {
    font-size:1.1rem;
  }
  
  .controls-container {
    flex-direction:column;
    gap:1rem;
    padding:1rem;
  }
  
  .search-bar.university-search-bar {
    max-width:100%;
  }
  
  .state-filter-dropdown {
    max-width:100%;
  }
  
  .state-filter-dropdown .dropdown-content-filter {
    min-width:300px;
    padding:1.2rem;
    max-height:350px;
  }
  
  .state-filter-dropdown .dropdown-search-box {
    margin-bottom:1.2rem;
  }
  
  .state-filter-dropdown .dropdown-options {
    gap:0.6rem;
  }
  
  .state-filter-dropdown .dropdown-options span {
    padding:10px 16px;
    font-size:0.95rem;
  }
  
  .university-cards-grid {
    grid-template-columns:1fr;
  }
  
  .flip-card {
    height:300px;
  }
  
  .university-name {
    font-size:1.2rem;
  }
  
  .university-location {
    font-size:0.9rem;
  }
  
  .flip-card-back h4 {
    font-size:1.3rem;
  }
  
  .flip-card-back ul li {
    font-size:0.9rem;
  }
  }
  
  @media (max-width:480px) {
    .page-hero.university-hero h1 {
    font-size:2rem;
  }
  
  .page-hero.university-hero p {
    font-size:1rem;
  }
  
  .flip-card {
    height:280px;
  }
  
  .university-name {
    font-size:1.1rem;
  }
  
  .university-location {
    font-size:0.85rem;
  }
  
  .flip-card-back h4 {
    font-size:1.2rem;
  }
  }
  
  .about-section-enhanced {
    padding:3rem 0;
    background:white;
    position:relative;
    overflow:hidden;
  }
  
  .about-grid {
    display:grid;
    grid-template-columns:1fr;
    gap:2rem;
    align-items:center;
    position:relative;
    z-index:2;
  }
  
  .about-content-wrapper {
    display:grid;
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  
  @media (min-width:1201px) {
    .about-content-wrapper {
    grid-template-columns:1fr 1fr;
  }
  }
  
  .about-attache-section {
    background-color:#f8f9fa;
    padding:2rem;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    text-align:right;
    transition:var(--transition);
    position:relative;
    overflow:hidden;
  }
  
  .about-attache-section:hover {
    transform:translateY(-10px);
    box-shadow:0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .about-attache-section::after {
    content:'';
    position:absolute;
    bottom:0;
    left:0;
    transform:scaleX(0);
    width:100%;
    height:5px;
    background:var(--gold-gradient);
    border-radius:5px;
    transition:transform 0.4s ease-out;
    transform-origin:left;
  }
  
  .about-attache-section:hover::after {
    transform:scaleX(1);
  }
  
  .about-attache-section h3 {
    font-size:1.5rem;
    color:var(--primary);
    margin-bottom:0.75rem;
    position:relative;
    display:inline-block;
    padding-bottom:0.5rem;
  }
  
  .about-attache-section h3::after {
    content:'';
    position:absolute;
    bottom:0;
    right:50%;
    transform:translateX(50%);
    width:60px;
    height:3px;
    background:var(--secondary);
    border-radius:2px;
  }
  
  .about-attache-section p {
    font-size:0.95rem;
    line-height:1.7;
    max-width:800px;
    margin:0 auto;
    margin-right:0;
    margin-left:auto;
    color:var(--dark);
    text-align:right;
  }
  
  .about-features {
    display:grid;
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  
  @media (min-width:768px) {
    .about-features {
    grid-template-columns:1fr 1fr;
  }
  }
  
  .feature-card {
    background:#f8f9fa;
    padding:1.5rem 1.5rem;
    border-radius:var(--radius);
    box-shadow:0 4px 15px rgba(0, 0, 0, 0.05);
    transition:transform 0.4s ease, box-shadow 0.4s ease;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:right;
    position:relative;
    overflow:hidden;
  }
  
  .feature-card:hover {
    transform:translateY(-10px);
    box-shadow:0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .feature-card::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%) scaleX(0);
    width:80%;
    height:5px;
    background:var(--gold-gradient);
    border-radius:5px;
    transition:transform 0.4s ease-out;
  }
  
  .feature-card:hover::after {
    transform:translateX(-50%) scaleX(1);
  }
  
  .feature-card .icon {
    width:60px;
    height:60px;
    background:var(--gold-gradient);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:1rem;
    position:relative;
    z-index:1;
    transition:var(--transition);
  }
  
  .feature-card:hover .icon {
    transform:scale(1.1) rotate(5deg);
  }
  
  .feature-card .icon i {
    font-size:1.8rem;
    color:white;
  }
  
  .feature-card h4 {
    font-size:1.2rem;
    color:var(--primary);
    margin-bottom:0.75rem;
    font-weight:700;
    position:relative;
    z-index:1;
    text-align:center;
  }
  
  .feature-card p {
    font-size:0.9rem;
    color:var(--dark);
    line-height:1.7;
    position:relative;
    z-index:1;
    text-align:right;
  }
  
  .news-section {
    background:var(--light-gray);
  }
  
  #news-section .section-title {
    margin-bottom:1.5rem;
  }
  
  #news-section .section-title h2 {
    font-size:1.8rem;
  }
  
  #news-section .section-title p {
    font-size:0.95rem;
  }
  
  .news-carousel-wrapper {
    position:relative;
    padding:0 45px;
    max-width:100%;
    overflow-x:hidden;
  }
  
  @media (max-width:767px) {
    .news-carousel-wrapper {
      padding:0 50px;
    }
  }
  
  .news-carousel-container {
    overflow:hidden;
    width:100%;
  }
  
  .news-grid {
    display:flex;
    gap:1.5rem;
    transition:transform 0.5s ease-in-out;
    will-change:transform;
  }

  /* مؤشر تحميل الأخبار */
  .news-loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    min-height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease-in-out;
  }

  .news-loading-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
  }

  @keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
  }

  .news-loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
  }

  .spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
  }

  .spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: var(--secondary);
    animation-delay: -0.5s;
    animation-duration: 1.2s;
  }

  .spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: var(--accent);
    animation-delay: -1s;
    animation-duration: 0.8s;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .news-loading-text {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .news-loading-text h4 {
    color: var(--dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: var(--font-default);
  }

  .news-loading-text p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
    font-family: var(--font-default);
  }

  .news-loading-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
  }

  .loading-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
  }

  .loading-dot:nth-child(1) { animation-delay: -0.32s; }
  .loading-dot:nth-child(2) { animation-delay: -0.16s; }
  .loading-dot:nth-child(3) { animation-delay: 0s; }

  @keyframes bounce {
    0%, 80%, 100% {
      transform: scale(0);
      opacity: 0.5;
    }
    40% {
      transform: scale(1);
      opacity: 1;
    }
  }

  /* إخفاء مؤشر التحميل عند تحميل الأخبار */
  .news-loading-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
  }

  /* إخفاء مؤشر التحميل تلقائياً بعد 20 ثانية */
  .news-loading-indicator {
    animation: autoHide 20s forwards;
  }

  @keyframes autoHide {
    0%, 95% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      pointer-events: none;
    }
  }

  /* تحسينات للشاشات الصغيرة */
  @media (max-width: 768px) {
    .news-loading-indicator {
      padding: 3rem 1rem;
      min-height: 250px;
    }

    .news-loading-spinner {
      width: 60px;
      height: 60px;
    }

    .spinner-ring:nth-child(2) {
      width: 45px;
      height: 45px;
      top: 7.5px;
      left: 7.5px;
    }

    .spinner-ring:nth-child(3) {
      width: 30px;
      height: 30px;
      top: 15px;
      left: 15px;
    }

    .news-loading-text h4 {
      font-size: 1.2rem;
    }

    .news-loading-text p {
      font-size: 0.9rem;
    }
  }
  
  .news-card {
    flex:0 0 auto;
    width:calc((100% - (1.5rem * (3 - 1))) / 3);
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    transition:var(--transition);
    display:flex;
    flex-direction:column;
    border:1px solid #eee;
  }
  
  .news-card:hover {
    transform:translateY(-10px);
    box-shadow:var(--shadow-hover);
  }
  
  .news-carousel-control {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:38px;
    height:38px;
    background:var(--primary);
    color:white;
    border:none;
    border-radius:50%;
    cursor:pointer;
    font-size:1rem;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:var(--shadow);
    z-index:10;
    transition:var(--transition);
  }
  
  #news-carousel-prev {
    right:0;
    left:auto;
  }
  
  #news-carousel-next {
    left:0;
    right:auto;
  }
  
  .news-carousel-control:hover {
    background:var(--secondary);
    color:var(--primary);
    transform:translateY(-50%) scale(1.1);
  }
  
  .news-carousel-control:disabled {
    background:#ccc;
    cursor:default;
    transform:translateY(-50%) scale(1);
    opacity:0.7;
  }
  
  .news-image {
    width:100%;
    height:160px;
    overflow:hidden;
    position:relative;
    display:block;
  }
  
  .news-image img, .news-image iframe {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform 0.3s ease-in-out;
    border:none;
  }
  
  .news-card:hover .news-image img {
    transform:scale(1.05);
  }
  
  .news-video {
    width:100%;
    height:200px;
    overflow:hidden;
    position:relative;
    display:block;
    border-radius:12px;
  }
  
  .news-video iframe {
    width:100%;
    height:100%;
    border:none;
    border-radius:12px;
  }
  
  .news-video iframe::after {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:transparent;
    pointer-events:none;
  }
  
  .news-video {
    position:relative;
    overflow:hidden;
  }
  
  .news-video iframe {
    position:relative;
    z-index:1;
  }
  
  .news-video iframe[src*="vimeo"] {
    filter:contrast(1.1) brightness(1.05);
  }
  
  .news-video::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:transparent;
    z-index:2;
    pointer-events:none;
  }
  
  .news-image-controls {
    position:absolute;
    top:50%;
    width:100%;
    display:flex;
    justify-content:space-between;
    padding:0 10px;
    opacity:0;
    transition:opacity 0.3s ease;
    pointer-events:none;
    z-index:10;
  }
  
  .news-card:hover .news-image-controls {
    opacity:1;
    pointer-events:auto;
  }
  
  .news-image-control {
    background:rgba(0, 0, 0, 0.5);
    color:white;
    border:none;
    cursor:pointer;
    font-size:1.5rem;
    z-index:10;
    border-radius:50%;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background-color 0.3s;
  }
  
  .news-image-control:hover {
    background:rgba(0, 0, 0, 0.8);
  }
  
  .news-image-indicators {
    position:absolute;
    bottom:10px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:5px;
    opacity:0;
    transition:opacity 0.3s ease;
  }
  
  .news-card:hover .news-image-indicators {
    opacity:1;
  }
  
  .news-image-indicator {
    width:8px;
    height:8px;
    background:rgba(255, 255, 255, 0.5);
    border-radius:50%;
    cursor:pointer;
    transition:background-color 0.3s, transform 0.3s;
  }
  
  .news-image-indicator.active {
    background:var(--secondary);
    transform:scale(1.2);
  }
  
  .news-content {
    padding:1.25rem;
    flex-grow:1;
    display:flex;
    flex-direction:column;
  }
  
  .news-meta {
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--gray);
    font-size:0.85rem;
    margin-bottom:0.75rem;
  }
  
  .news-meta i {
    color:var(--secondary);
  }
  
  .news-title {
    font-size:1.15rem;
    color:var(--primary);
    margin-bottom:0.5rem;
    text-align:right;
    line-height:1.4;
  }
  
  .news-excerpt {
    font-size:0.9rem;
    color:var(--gray);
    flex-grow:1;
    line-height:1.6;
  }
  
  .btn-read-more {
    display:flex;
    align-items:center;
    gap:6px;
    color:var(--accent);
    text-decoration:none;
    font-weight:600;
    font-size:0.9rem;
    margin-top:1rem;
    transition:var(--transition);
  }
  
  .btn-read-more i {
    transition:var(--transition);
    transform:translateX(0);
  }
  
  .btn-read-more:hover {
    color:var(--primary);
  }
  
  .btn-read-more:hover i {
    transform:translateX(-5px);
  }
  
  .news-image-controls {
    position:absolute;
    top:50%;
    width:100%;
    display:flex;
    justify-content:space-between;
    padding:0 10px;
    opacity:0;
    transition:opacity 0.3s ease;
    pointer-events:none;
    z-index:10;
  }
  
  .news-card:hover .news-image-controls {
    opacity:1;
    pointer-events:auto;
  }
  
  .news-image-control {
    background:rgba(0, 0, 0, 0.5);
    color:white;
    border:none;
    cursor:pointer;
    font-size:1.5rem;
    z-index:10;
    border-radius:50%;
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background-color 0.3s;
  }
  
  .news-image-control:hover {
    background:rgba(0, 0, 0, 0.8);
  }
  
  .news-image-indicators {
    position:absolute;
    bottom:10px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:5px;
    opacity:0;
    transition:opacity 0.3s ease;
  }
  
  .news-card:hover .news-image-indicators {
    opacity:1;
  }
  
  .news-image-indicator {
    width:8px;
    height:8px;
    background:rgba(255, 255, 255, 0.5);
    border-radius:50%;
    cursor:pointer;
    transition:background-color 0.3s, transform 0.3s;
  }
  
  .news-image-indicator.active {
    background:var(--secondary);
    transform:scale(1.2);
  }
  
  .spec-card {
    padding:1.5rem;
    text-align:center;
    border-left:1px solid #eee;
    border-right:1px solid #eee;
    border-bottom:1px solid var(--light-border);
  }
  
  .spec-card:hover {
    transform:translateY(-10px) scale(1.02);
  }
  
  .spec-card .icon {
    font-size:2.2rem;
    color:var(--secondary);
    margin-bottom:1rem;
    background:var(--gold-gradient);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    transition:var(--transition);
  }
  
  .spec-card:hover .icon {
    transform:scale(1.2) rotate(10deg);
  }
  
  .spec-card h3 {
    font-size:1.2rem;
    color:var(--primary);
    margin-bottom:0.5rem;
  }
  
  .spec-card p {
    font-size:0.9rem;
    color:var(--gray);
    line-height:1.6;
  }
  
  #specializations-section .section-title {
    margin-bottom:1.5rem;
  }
  
  #specializations-section .section-title h2 {
    font-size:1.8rem;
  }
  
  .cultural-counselor-section {
    background-color:var(--light);
    padding:3rem 0;
  }
  
  .cultural-counselor-section .section-title {
    margin-bottom:1.5rem;
  }
  
  .cultural-counselor-section .section-title h2 {
    font-size:1.8rem;
  }
  
  .speech-toggle-buttons {
    display:flex;
    justify-content:center;
    gap:0.75rem;
    margin-bottom:1.5rem;
    flex-wrap:wrap;
  }
  
  .speech-toggle-btn {
    padding:10px 20px;
    border:2px solid var(--secondary);
    background-color:transparent;
    color:var(--secondary);
    font-weight:700;
    font-size:0.9rem;
    cursor:pointer;
    transition:all 0.3s ease;
    border-radius:50px;
    display:flex;
    align-items:center;
    gap:8px;
    font-family:var(--font-default);
  }
  
  .speech-toggle-btn:hover {
    background-color:var(--secondary);
    color:var(--primary);
    transform:translateY(-3px);
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
  }
  
  .speech-toggle-btn.active {
    background:var(--gold-gradient);
    color:var(--primary);
    border-color:var(--secondary);
    box-shadow:0 4px 15px rgba(219, 163, 39, 0.4);
  }
  
  .counselor-content {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1.5rem;
    text-align:center;
  }
  
  @media (min-width:768px) {
    .counselor-content {
    flex-direction:row;
    align-items:center;
    gap:2rem;
  }
  }
  
  .counselor-image {
    flex-shrink:0;
    width:300px;
    height:200px;
    border-radius:15px;
    overflow:hidden;
    border:3px solid var(--secondary);
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    cursor:pointer;
  }
  
  .counselor-image img {
    width:100%;
    height:100%;
    object-fit:cover;
  }
  
  .speech-text-container {
    flex-grow:1;
    max-width:600px;
  }
  
  .speech-content {
    display:none;
    animation:fadeInSpeech 0.5s ease-in-out;
    width:100%;
  }
  
  .speech-content.active {
    display:block;
  }
  
  .speech-content p {
    font-size:0.95rem;
    line-height:1.6;
    margin-bottom:0.75rem;
    text-align:right;
  }
  
  .center-align {
    width:fit-content;
    margin-left:auto;
    margin-right:auto;
    text-align:center !important;
  }
  
  .speech-signature {
    font-size:1rem;
    font-weight:700;
    color:var(--primary);
    margin-top:1.5rem;
    padding-bottom:0.5rem;
    border-bottom:3px solid var(--secondary);
    width:fit-content;
    margin-right:auto;
    margin-left:0;
    text-align:left;
  }
  
  .transactions-grid {
    display:grid;
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  
  #transactions-guide-section .section-title {
    margin-bottom:1.5rem;
  }
  
  #transactions-guide-section .section-title h2 {
    font-size:1.8rem;
  }
  
  #transactions-guide-section .section-title p {
    font-size:0.95rem;
  }
  
  .transaction-card {
    position:relative;
    border-left:1px solid #eee;
    border-right:1px solid #eee;
    border-bottom:1px solid var(--light-border);
    overflow:hidden;
  }
  
  .transaction-card::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:var(--gold-gradient);
    border-radius:0 0 5px 5px;
  }
  
  @media (min-width:768px) {
    .transactions-grid {
    grid-template-columns:repeat(2, 1fr);
  }
  }
  
  @media (min-width:993px) {
    .transactions-grid {
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  }
  }
  
  action-card {
    border-top:5px solid var(--secondary);
    border-left:1px solid #eee;
    border-right:1px solid #eee;
    border-bottom:1px solid var(--light-border);
  }
  
  .card-hidden {
    display:none;
  }
  
  .transaction-card:hover {
    transform:translateY(-8px);
  }
  
  .transaction-header {
    padding:1.5rem;
    display:flex;
    align-items:center;
    gap:1rem;
  }
  
  .transaction-header .icon {
    font-size:2rem;
    color:var(--secondary);
    width:50px;
    text-align:center;
    transition:var(--transition);
  }
  
  .transaction-card:hover .transaction-header .icon {
    transform:scale(1.2) rotate(15deg);
  }
  
  .transaction-header h3 {
    font-size:1.2rem;
    color:var(--primary);
    margin:0;
    flex-grow:1;
    line-height:1.4;
  }
  
  .transaction-body {
    padding:0 1.25rem 1.25rem;
    flex-grow:1;
    display:flex;
    flex-direction:column;
  }
  
  .transaction-body p {
    color:var(--gray);
    flex-grow:1;
    margin-bottom:1.25rem;
    font-size:0.9rem;
    line-height:1.6;
  }
  
  .show-more-container {
    text-align:center;
    margin-top:1.5rem;
  }
  
  @media (max-width:767px) {
    /* تحسين دليل المعاملات على الجوال */
    .transactions-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
      padding: 0 0.5rem;
    }
    
    .transaction-card {
      padding: 0;
      margin-bottom: 1rem;
    }
    
    .transaction-header {
      padding: 1rem;
      flex-wrap: wrap;
      gap: 0.75rem;
    }
    
    .transaction-header .icon {
      font-size: 1.5rem;
      width: 40px;
    }
    
    .transaction-header h3 {
      font-size: 1.1rem;
      line-height: 1.4;
      word-wrap: break-word;
      hyphens: auto;
    }
    
    .transaction-body {
      padding: 0 1rem 1rem;
    }
    
    .transaction-body p {
      font-size: 0.95rem;
      line-height: 1.6;
      margin-bottom: 1rem;
    }
    
    .btn-details {
      width: 100%;
      padding: 12px 20px;
      font-size: 1rem;
      min-height: 44px; /* touch target مناسب */
      align-self: stretch;
      justify-content: center;
    }
    
    .show-more-container {
      position:relative;
      z-index:10;
      padding: 0 0.5rem;
    }
    
    .show-more-container .btn {
      width: 100%;
      max-width: 100%;
      min-height: 44px;
    }
  }
  
  .show-more-container button {
    position:relative;
    z-index:11;
    touch-action:manipulation;
  }
  
  .protocols-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
    gap:2rem;
  }
  
  .protocol-card {
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    transition:var(--transition);
    display:flex;
    flex-direction:column;
    border-bottom:5px solid var(--secondary);
  }
  
  .protocol-card:hover {
    transform:translateY(-10px);
    box-shadow:var(--shadow-hover);
  }
  
  .protocol-card .icon {
    font-size:3.5rem;
    color:var(--secondary);
    padding:2rem;
    text-align:center;
    background-color:#f8f9fa;
    transition:var(--transition);
  }
  
  .protocol-card-body {
    padding:2rem;
    flex-grow:1;
    display:flex;
    flex-direction:column;
  }
  
  .protocol-card h3 {
    font-size:1.6rem;
    color:var(--primary);
    margin-bottom:1rem;
    flex-grow:1;
  }
  
  .protocol-card p {
    font-size:1rem;
    color:var(--gray);
    margin-bottom:1.5rem;
    flex-grow:1;
  }
  
  .protocols-grid .protocol-card:hover .icon {
    transform:scale(1.2) rotate(15deg);
  }
  
  .protocols-grid .protocol-card:not(.main-page) .icon {
    transform:scale(1.1);
    color:var(--primary);
    background-color:var(--secondary);
  }
  
  footer {
    background-color:var(--primary);
    color:rgba(255, 255, 255, 0.8);
    padding:4rem 0 2rem 0;
    border-top:5px solid var(--secondary);
  }
  
  .footer-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:2.5rem;
    margin-bottom:3rem;
  }
  
  .footer-col h3 {
    color:white;
    font-size:1.5rem;
    margin-bottom:1.5rem;
    position:relative;
    padding-bottom:0.5rem;
  }
  
  .footer-col h3::after {
    content:'';
    position:absolute;
    bottom:0;
    right:0;
    width:40px;
    height:3px;
    background:var(--secondary);
  }
  
  .footer-col ul {
    list-style:none;
  }
  
  .footer-col ul li {
    margin-bottom:0.8rem;
  }
  
  .footer-col ul li a {
    color:rgba(255, 255, 255, 0.8);
    text-decoration:none;
    transition:all 0.3s ease;
    display:flex;
    align-items:center;
    gap:10px;
  }
  
  .footer-col ul li a:hover {
    color:white;
    padding-right:5px;
  }
  
  .footer-col ul li a i,
  .footer-col ul li i {
    color:var(--secondary);
  }
  
  .social-icons {
    display:flex;
    gap:1rem;
    margin-top:1.5rem;
  }
  
  .social-icons a {
    color:white;
    font-size:1.5rem;
    transition:all 0.3s ease;
  }
  
  .social-icons a:hover {
    color:var(--secondary);
    transform:scale(1.1);
  }
  
  .footer-bottom {
    text-align:center;
    padding-top:2rem;
    border-top:1px solid rgba(255, 255, 255, 0.2);
  }
  
  /* Enhanced centered divider between column 2 and 3 */
  .footer-grid { position:relative; }
  .footer-grid::before {
    content:"";
    position:absolute;
    top:10%;
    bottom:10%;
    left:calc(50% + 1.25rem); /* نصف المسافة بين العمودين */
    transform:translateX(-50%);
    width:4px;
    background:#dba327;
    opacity:1;
  }
  .footer-grid::after { display:none; }
  @media (max-width: 768px) {
    .footer-grid::before,
    .footer-grid::after { display:none; }
    .footer-grid .footer-col:nth-child(3) {
      border-top:2px solid #dba327;
      margin-top:1.5rem;
      padding-top:1.5rem;
    }
  }

  /* Hide divider on medium screens */
  @media (min-width: 769px) and (max-width: 1199px) {
    .footer-grid::before { display:none; }
  }

  /* Temporarily disable the page loader globally */
  .page-loader { display:none !important; }
  
  .modal-overlay {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0, 0, 0, 0.5);
    backdrop-filter:blur(5px);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:2000;
    opacity:0;
    visibility:hidden;
    transition:opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .modal-overlay.is-visible {
    display:flex;
    opacity:1;
    visibility:visible;
  }
  
  .modal-content {
    background:white;
    padding:1.25rem;
    border-radius:var(--radius);
    max-width:500px;
    width:90%;
    max-height:75vh;
    overflow-y:auto;
    position:relative;
    transform:scale(0.9);
    transition:transform 0.3s ease;
  }
  
  #transaction-modal .modal-content {
    max-width:450px;
    padding:0.75rem;
    max-height:80vh;
    overflow-y:auto;
    height:auto;
    width:90%;
  }
  
  #news-modal .modal-content {
    max-width:450px;
    padding:0.75rem;
    max-height:80vh;
    overflow-y:auto;
    height:auto;
    width:90%;
  }
  
  .modal-overlay.is-visible .modal-content {
    transform:scale(1);
  }
  
  .book-detail-content {
    display:flex;
    flex-direction:column;
    gap:2rem;
  }
  
  .book-detail-header {
    display:flex;
    gap:2rem;
    align-items:flex-start;
  }
  
  .book-detail-cover {
    width:200px;
    height:280px;
    object-fit:cover;
    border-radius:var(--radius);
    box-shadow:0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink:0;
  }
  
  .book-detail-info {
    flex:1;
  }
  
  .book-detail-info h2 {
    color:var(--primary);
    font-size:1.8rem;
    margin-bottom:1rem;
    line-height:1.3;
  }
  
  .book-detail-meta {
    display:flex;
    flex-direction:column;
    gap:0.5rem;
  }
  
  .book-detail-meta p {
    display:flex;
    align-items:center;
    gap:0.5rem;
    color:var(--gray-dark);
    font-size:1rem;
  }
  
  .book-detail-meta i {
    color:var(--accent);
    width:16px;
  }
  
  .book-detail-description h3 {
    color:var(--primary);
    font-size:1.3rem;
    margin-bottom:1rem;
    padding-bottom:0.5rem;
    border-bottom:2px solid var(--secondary);
  }
  
  .description-text {
    line-height:1.8;
    color:var(--gray-dark);
    font-size:1rem;
  }
  
  .description-text p {
    margin-bottom:1rem;
  }
  
  @media (max-width:768px) {
    .book-detail-header {
    flex-direction:column;
    text-align:center;
  }
  
  .book-detail-cover {
    width:150px;
    height:210px;
    margin:0 auto;
  }
  
  .book-detail-info h2 {
    font-size:1.5rem;
  }
  }
  
  .modal-close {
    position:absolute;
    top:12px;
    left:12px;
    font-size:1.75rem;
    font-weight:bold;
    color:var(--gray);
    background:none;
    border:none;
    cursor:pointer;
    line-height:1;
    width:32px;
    height:32px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  #transaction-modal .modal-close {
    top:10px;
    left:10px;
    font-size:1.5rem;
    width:28px;
    height:28px;
  }
  
  #modal-title {
    color:var(--primary);
    margin-bottom:0.5rem;
    padding-bottom:0.5rem;
    border-bottom:2px solid var(--secondary);
    text-align:center;
    font-size:1.2rem;
  }
  
  #transaction-modal #modal-title {
    font-size:0.95rem;
    margin-bottom:0.25rem;
    padding-bottom:0.25rem;
    line-height:1.25;
  }
  
  #modal-body {
    padding:0;
    background:white;
    font-size:0.9rem;
    line-height:1.5;
  }
  
  #transaction-modal #modal-body {
    font-size:0.75rem;
    line-height:1.3;
    overflow-x:hidden;
    word-wrap:break-word;
  }
  
  #transaction-modal #modal-body p {
    margin-bottom:0.3rem;
    line-height:1.3;
    font-size:0.75rem;
  }
  
  #transaction-modal #modal-body > *:first-child {
    margin-top:0;
  }
  
  #transaction-modal #modal-body > *:last-child {
    margin-bottom:0;
  }
  
  #modal-body h4 {
    color:var(--primary);
    font-size:0.95rem;
    margin-top:0.5rem;
    margin-bottom:0.3rem;
    text-align:center;
  }
  
  #transaction-modal #modal-body h4 {
    font-size:0.8rem;
    margin-top:0.25rem;
    margin-bottom:0.15rem;
    line-height:1.25;
  }
  
  #modal-body ul {
    list-style:none;
    padding:0;
  }
  
  #modal-body ul li {
    margin-bottom:0.3rem;
    display:flex;
    gap:8px;
    font-size:0.9rem;
  }
  
  #transaction-modal #modal-body ul li {
    margin-bottom:0.2rem;
    gap:5px;
    font-size:0.8rem;
    line-height:1.4;
  }
  
  #modal-body ul li i {
    color:var(--accent);
    margin-top:4px;
    font-size:0.85rem;
  }
  
  #transaction-modal #modal-body ul li i {
    margin-top:2px;
    font-size:0.75rem;
  }
  
  #modal-body .info-block {
    display:flex;
    gap:8px;
    align-items:center;
    background:#e6f7ff;
    padding:0.5rem;
    border-radius:8px;
    margin-top:0.5rem;
    font-size:0.9rem;
  }
  
  #transaction-modal #modal-body .info-block {
    gap:4px;
    padding:0.3rem;
    margin-top:0.25rem;
    font-size:0.75rem;
    line-height:1.3;
  }
  
  #transaction-modal #modal-body .info-block i {
    font-size:0.7rem;
  }
  
  #modal-body .info-block i {
    color:var(--accent);
  }
  
  #modal-body .action-buttons {
    margin-top:1rem;
    text-align:center;
  }
  
  #transaction-modal #modal-body .action-buttons {
    margin-top:0.4rem;
  }
  
  #transaction-modal #modal-body .action-buttons .btn {
    padding:0.4rem 0.875rem;
    font-size:0.8rem;
  }
  
  .modal-news-meta {
    font-size:0.9rem;
    color:var(--gray);
    margin-bottom:1rem;
    display:flex;
    align-items:center;
    gap:10px;
  }
  
  .modal-news-meta i {
    color:var(--secondary);
  }
  
  #modal-news-title {
    color:var(--primary);
    margin-bottom:1rem;
    padding-bottom:1rem;
    border-bottom:2px solid var(--secondary);
    text-align:center;
  }
  
  #news-modal #modal-news-title {
    font-size:0.95rem;
    margin-bottom:0.25rem;
    padding-bottom:0.25rem;
    line-height:1.25;
  }
  
  #modal-protocol-title {
    color:var(--primary);
    margin-bottom:1rem;
    padding-bottom:1rem;
    border-bottom:2px solid var(--secondary);
    text-align:center;
  }
  
  .protocol-modal-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:2rem;
    margin-top:1rem;
  }
  
  .protocol-section {
    background:linear-gradient(145deg, var(--light-gray) 0%, #e9ecef 100%);
    border-radius:12px;
    padding:1.5rem;
    border-left:4px solid var(--accent);
    transition:all 0.3s ease;
    position:relative;
    overflow:hidden;
  }
  
  .protocol-section::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.1), transparent);
    transition:left 0.5s ease;
  }
  
  .protocol-section:hover::before {
    left:100%;
  }
  
  .protocol-section:hover {
    transform:translateY(-5px);
    box-shadow:0 8px 20px rgba(30, 136, 229, 0.2);
    border-left-color:var(--secondary);
  }
  
  .protocol-section.full-width {
    grid-column:1 / -1;
  }
  
  .protocol-section h4 {
    color:var(--primary);
    font-size:1.2rem;
    margin:0 0 1rem 0;
    text-align:center;
    position:relative;
    padding-bottom:0.5rem;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
  }
  
  .protocol-section h4::after {
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:40px;
    height:2px;
    background:var(--secondary);
    border-radius:1px;
  }
  
  .protocol-section h4 i {
    color:var(--accent);
    font-size:1.1rem;
  }
  
  .protocol-section p {
    font-size:1.1rem;
    line-height:1.7;
    color:#444;
    margin-bottom:0;
    text-align:center;
    font-weight:600;
  }
  
  .protocol-section ul {
    list-style:none;
    padding:0;
    margin:0;
  }
  
  .protocol-section ul li {
    margin-bottom:0.8rem;
    padding:0.8rem;
    background:white;
    border-radius:8px;
    box-shadow:0 2px 4px rgba(0, 0, 0, 0.05);
    transition:all 0.3s ease;
    display:flex;
    align-items:center;
    gap:12px;
  }
  
  .protocol-section ul li:hover {
    transform:translateX(-5px);
    box-shadow:0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .protocol-section ul li i {
    color:var(--accent);
    font-size:1.1rem;
    width:20px;
    text-align:center;
    flex-shrink:0;
  }
  
  .protocol-section ul li:last-child {
    margin-bottom:0;
  }
  
  #image-modal {
    padding:20px;
  }
  
  #image-modal .image-modal-content {
    position:relative;
    max-width:80vw;
    max-height:80vh;
    width:auto;
    height:auto;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  #image-modal .modal-close {
    position:absolute;
    top:20px;
    right:20px;
    left:auto;
    z-index:10;
    width:40px;
    height:40px;
    border-radius:50%;
    font-size:1.5rem;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1;
  }
  
  #image-modal #modal-image {
    max-width:100%;
    max-height:100%;
    object-fit:contain;
    transition:transform 0.3s ease;
    transform-origin:center center;
  }
  
  @media (max-width:768px) {
    #image-modal #modal-image {
      touch-action:pan-x pan-y;
      user-select:none;
      -webkit-user-select:none;
      -moz-user-select:none;
      -ms-user-select:none;
    }
  }
  
  #image-modal .image-controls-top {
    position:absolute;
    top:20px;
    left:20px;
    z-index:10;
    display:flex;
    gap:10px;
  }
  
  #image-modal .image-controls-top button {
    background:rgba(0,0,0,0.5);
    color:white;
    border:none;
    width:40px;
    height:40px;
    border-radius:50%;
    cursor:pointer;
    font-size:1.2rem;
    transition:background-color 0.3s;
  }
  
  #image-modal .image-controls-top button:hover {
    background:rgba(0,0,0,0.8);
  }
  
  #image-modal .image-carousel-controls {
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:100%;
    display:flex;
    justify-content:space-between;
    padding:0 10px;
    z-index:9;
  }
  
  #image-modal .image-carousel-controls button {
    background:rgba(0, 0, 0, 0.5);
    color:white;
    border:none;
    cursor:pointer;
    font-size:2rem;
    width:50px;
    height:50px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:background-color 0.3s;
  }
  
  #image-modal .image-carousel-controls button:hover {
    background:rgba(0, 0, 0, 0.8);
  }
  
  #image-modal {
    backdrop-filter:blur(5px);
  }
  
  #image-modal .image-modal-content {
    background:rgba(255, 255, 255, 0.95);
    border-radius:16px;
    box-shadow:0 25px 80px rgba(0, 0, 0, 0.4);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255, 255, 255, 0.2);
  }
  
  #image-modal .modal-close {
    background:rgba(0, 0, 0, 0.8);
    color:white;
    transition:all 0.3s ease;
  }
  
  #image-modal .modal-close:hover {
    background:rgba(255, 0, 0, 0.8);
    transform:scale(1.1);
  }
  
  #image-modal .image-controls-top button {
    background:rgba(0, 0, 0, 0.8);
    transition:all 0.3s ease;
  }
  
  #image-modal .image-controls-top button:hover {
    background:rgba(0, 0, 0, 0.9);
    transform:scale(1.1);
  }
  
  #image-modal .image-controls-top button:disabled {
    opacity:0.5;
    cursor:not-allowed;
    transform:none;
  }
  
  #image-modal .image-carousel-controls button {
    background:rgba(0, 0, 0, 0.8);
    transition:all 0.3s ease;
  }
  
  #image-modal .image-carousel-controls button:hover {
    background:rgba(0, 0, 0, 0.9);
    transform:scale(1.1);
  }
  
  #image-modal .image-carousel-controls button:disabled {
    opacity:0.5;
    cursor:not-allowed;
    transform:none;
  }
  
  #image-modal .image-counter {
    position:absolute;
    bottom:30px;
    right:30px;
    background:rgba(0, 0, 0, 0.8);
    color:white;
    padding:8px 16px;
    border-radius:20px;
    font-size:14px;
    font-weight:600;
    z-index:10001;
  }
  
  #image-modal .image-thumbnails {
    position:absolute;
    bottom:100px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:8px;
    z-index:10001;
    max-width:80%;
    overflow-x:auto;
    padding:10px;
  }
  
  #image-modal .image-thumbnail {
    width:60px;
    height:60px;
    border-radius:8px;
    object-fit:cover;
    cursor:pointer;
    border:3px solid transparent;
    transition:all 0.3s ease;
    opacity:0.7;
  }
  
  #image-modal .image-thumbnail:hover {
    opacity:1;
    transform:scale(1.1);
  }
  
  #image-modal .image-thumbnail.active {
    border-color:#007bff;
    opacity:1;
  }
  
  .news-image-gallery, .scholarship-image-gallery {
    position:relative;
    overflow:hidden;
    border-radius:12px;
    background:#f8f9fa;
  }
  
  .news-image-gallery .gallery-main-image, .scholarship-image-gallery .gallery-main-image {
    width:100%;
    height:250px;
    object-fit:cover;
    cursor:pointer;
    transition:transform 0.3s ease;
    border-radius:12px;
  }
  
  @media (max-width:768px) {
    .news-image-gallery .gallery-main-image, .scholarship-image-gallery .gallery-main-image {
      transition:none;
    }
    
    .news-image-gallery .gallery-main-image:hover, .scholarship-image-gallery .gallery-main-image:hover {
      transform:none;
    }
  }
  
  .news-image-gallery .gallery-main-image:hover, .scholarship-image-gallery .gallery-main-image:hover {
    transform:scale(1.05);
  }
  
  .news-image-gallery .gallery-controls, .scholarship-image-gallery .gallery-controls {
    position:absolute;
    top:10px;
    right:10px;
    display:flex;
    gap:8px;
    opacity:0;
    transition:opacity 0.3s ease;
    z-index:10;
  }
  
  .news-image-gallery:hover .gallery-controls, .scholarship-image-gallery:hover .gallery-controls {
    opacity:1;
  }
  
  .news-image-gallery .gallery-control, .scholarship-image-gallery .gallery-control {
    background:rgba(0, 0, 0, 0.7);
    color:white;
    border:none;
    width:35px;
    height:35px;
    border-radius:50%;
    font-size:14px;
    cursor:pointer;
    transition:all 0.3s ease;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  .news-image-gallery .gallery-control:hover, .scholarship-image-gallery .gallery-control:hover {
    background:rgba(0, 0, 0, 0.9);
    transform:scale(1.1);
  }
  
  .news-image-gallery .gallery-control:disabled, .scholarship-image-gallery .gallery-control:disabled {
    opacity:0.5;
    cursor:not-allowed;
    transform:none;
  }
  
  .news-image-gallery .gallery-indicators {
    position:absolute;
    bottom:10px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:6px;
    opacity:0;
    transition:opacity 0.3s ease;
    z-index:10;
  }
  
  .news-image-gallery:hover .gallery-indicators {
    opacity:1;
  }
  
  .news-image-gallery .gallery-indicator {
    width:8px;
    height:8px;
    border-radius:50%;
    background:rgba(255, 255, 255, 0.5);
    cursor:pointer;
    transition:all 0.3s ease;
  }
  
  .news-image-gallery .gallery-indicator.active {
    background:white;
    transform:scale(1.2);
  }
  
  .news-image-gallery .gallery-counter, .scholarship-image-gallery .gallery-counter {
    position:absolute;
    bottom:10px;
    right:10px;
    background:rgba(0, 0, 0, 0.7);
    color:white;
    padding:4px 8px;
    border-radius:12px;
    font-size:12px;
    font-weight:600;
    z-index:10;
  }
  
  .news-image-gallery .gallery-thumbnails, .scholarship-image-gallery .gallery-thumbnails {
    position:absolute;
    bottom:40px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:4px;
    opacity:0;
    transition:opacity 0.3s ease;
    z-index:10;
    max-width:80%;
    overflow-x:auto;
    padding:5px;
  }
  
  .news-image-gallery:hover .gallery-thumbnails, .scholarship-image-gallery:hover .gallery-thumbnails {
    opacity:1;
  }
  
  .news-image-gallery .gallery-thumbnail, .scholarship-image-gallery .gallery-thumbnail {
    width:30px;
    height:30px;
    border-radius:4px;
    object-fit:cover;
    cursor:pointer;
    border:2px solid transparent;
    transition:all 0.3s ease;
    opacity:0.7;
  }
  
  .news-image-gallery .gallery-thumbnail:hover, .scholarship-image-gallery .gallery-thumbnail:hover {
    opacity:1;
    transform:scale(1.1);
  }
  
  .news-image-gallery .gallery-thumbnail.active, .scholarship-image-gallery .gallery-thumbnail.active {
    border-color:white;
    opacity:1;
  }
  
  .news-card .news-image-gallery {
    margin-bottom:15px;
  }
  
  .scholarship-image {
    margin-bottom:15px;
  }
  
  .scholarship-image img {
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:8px;
    cursor:pointer;
    transition:transform 0.3s ease;
  }
  
  .scholarship-image img:hover {
    transform:scale(1.05);
  }
  
  .news-card .news-image-gallery .gallery-main-image {
    height:200px;
  }
  
  .news-image-gallery .auto-play-indicator {
    position:absolute;
    top:10px;
    left:10px;
    background:rgba(0, 0, 0, 0.7);
    color:white;
    padding:4px 8px;
    border-radius:12px;
    font-size:10px;
    font-weight:600;
    opacity:0;
    transition:opacity 0.3s ease;
    z-index:10;
  }
  
  .news-image-gallery:hover .auto-play-indicator {
    opacity:1;
  }
  
  @media (max-width:768px) {
    #image-modal .image-modal-content {
    max-width:100vw;
    max-height:100vh;
    margin:0;
    border-radius:0;
    width:100vw;
    height:100vh;
  }
  
  #image-modal .modal-close {
    top:10px;
    right:10px;
    width:35px;
    height:35px;
    font-size:18px;
    background:rgba(0, 0, 0, 0.8);
    border-radius:50%;
  }
  
  #image-modal .image-controls-top {
    display:none;
  }
  
  #image-modal .image-carousel-controls {
    display:none;
  }
  
  #image-modal .image-thumbnails {
    display:none;
  }
  
  #image-modal .image-counter {
    display:none;
  }
  
  #image-modal #modal-image {
    width:100%;
    height:100%;
    object-fit:contain;
    transform:none !important;
  }
  
  .news-image-gallery .gallery-main-image {
    height:200px;
  }
  
  .news-image-gallery .gallery-controls {
    display:none;
  }
  
  .news-image-gallery .gallery-indicators {
    display:none;
  }
  
  .news-image-gallery .gallery-thumbnails {
    display:none;
  }
  
  .news-image-gallery .gallery-counter {
    display:none;
  }
  
  .news-image-gallery .auto-play-indicator {
    display:none;
  }
  }
  
  header {
    background:var(--primary);
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:1000;
    padding:10px 0;
    border-bottom:3px solid var(--secondary);
    overflow:visible;
  }
  
  .header-container {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    overflow:visible;
  }
  
  .logo {
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
  }
  
  .logo img {
    height:50px;
    border-radius:0;
    border:none;
    box-shadow:none;
    background:transparent;
  }
  
  .logo-text h1 {
    font-size:1.4rem;
    font-weight:700;
    color:white;
    margin:0;
    white-space:nowrap;
  }
  
  .logo-text p {
    font-size:0.8rem;
    color:rgba(255, 255, 255, 0.8);
    margin:0;
    white-space:nowrap;
  }
  
  nav#main-nav ul {
    display:flex;
    align-items:center;
    list-style:none;
    margin:0;
    padding:0;
    gap:8px;
  }
  
  .nav-item {
    position:relative;
  }
  
  .nav-item a {
    display:block;
    color:rgba(255, 255, 255, 0.9);
    text-decoration:none;
    font-weight:600;
    padding:8px 16px;
    border-radius:50px;
    transition:var(--transition);
    font-size:0.95rem;
    white-space:nowrap;
  }
  
  .nav-item a:hover,
  .nav-item a.active {
    background:var(--secondary);
    color:var(--primary);
    transform:translateY(-2px);
  }
  
  .more-dropdown {
    position:relative;
    display:none;
  }
  
  .more-dropdown-content {
    display:none;
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    background:white;
    min-width:280px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
    border-radius:15px;
    border:1px solid #eee;
    padding:10px;
    z-index:1001;
    opacity:0;
    visibility:hidden;
    transform:translateY(-10px);
    transition:opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }
  
  .more-dropdown.active .more-dropdown-content {
    display:block;
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
  
  .more-dropdown-content a {
    color:var(--dark) !important;
    font-weight:600;
    padding:12px 15px;
    font-size:0.95rem;
    border-radius:8px;
    display:flex;
    align-items:center;
    gap:12px;
    background:none !important;
    text-decoration:none;
    transition:all 0.3s ease;
  }
  
  .more-dropdown-content a:hover {
    background:var(--light-gray) !important;
    color:var(--primary) !important;
    transform:translateX(-3px);
  }
  
  .more-dropdown-content a i {
    width:20px;
    text-align:center;
    color:var(--secondary);
    font-size:1rem;
  }
  
  .more-dropdown-content hr {
    border:none;
    border-top:1px solid #f0f0f0;
    margin:8px 5px;
  }
  
  .dropdown-divider {
    height:2px;
    background:linear-gradient(90deg, transparent 0%, var(--secondary) 20%, var(--accent) 50%, var(--secondary) 80%, transparent 100%);
    margin:15px 0;
    border-radius:1px;
    position:relative;
    overflow:hidden;
  }
  
  .dropdown-divider::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(219, 163, 39, 0.3), transparent);
    animation:shimmer 2s ease-in-out infinite;
  }
  
  @keyframes shimmer {
    0% {
    left:-100%;
  }
  
  50% {
    left:100%;
  }
  
  100% {
    left:100%;
  }
  }
  
  .announcement-section {
    padding:4rem 0;
    background:var(--light-gray);
  }
  
  .announcement-card {
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    max-width:900px;
    margin:0 auto;
  }
  
  .announcement-header {
    background:linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
    color:white;
    padding:2rem;
    text-align:center;
    position:relative;
  }
  
  .announcement-header::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%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");
    opacity:0.1;
  }
  
  .announcement-icon {
    position:relative;
    z-index:2;
    margin-bottom:1rem;
  }
  
  .announcement-icon i {
    font-size:3rem;
    color:var(--secondary);
    text-shadow:0 2px 4px rgba(0,0,0,0.3);
  }
  
  .announcement-header h2 {
    position:relative;
    z-index:2;
    font-size:1.8rem;
    font-weight:700;
    margin:0;
    line-height:1.4;
  }
  
  .announcement-content {
    padding:2.5rem;
  }
  
  .announcement-content p {
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:1.5rem;
    color:var(--dark);
    text-align:justify;
  }
  
  .announcement-content p:last-of-type {
    margin-bottom:2rem;
  }
  
  .announcement-signature {
    background:var(--light-gray);
    padding:1.5rem;
    border-radius:10px;
    border-right:4px solid var(--secondary);
    margin-top:2rem;
  }
  
  .announcement-signature p {
    margin:0.5rem 0;
    font-weight:600;
    color:var(--primary);
  }
  
  .announcement-signature p:first-child {
    font-size:1.2rem;
  }
  
  .announcement-signature p:last-child {
    color:var(--gray);
    font-weight:500;
  }
  
  .event-gallery {
    background:var(--light-gray);
    padding:2rem;
    border-top:1px solid var(--light-border);
  }
  
  .event-gallery h3 {
    color:var(--primary);
    font-size:1.4rem;
    font-weight:700;
    margin-bottom:0.5rem;
    display:flex;
    align-items:center;
    gap:10px;
  }
  
  .event-gallery h3 i {
    color:var(--secondary);
  }
  
  .event-gallery > p {
    color:var(--gray);
    margin-bottom:1.5rem;
    font-style:italic;
  }
  
  .gallery-view-btn {
    text-align:center;
    margin-top:2rem;
    position:relative;
  }
  
  .btn-view-gallery {
    background:var(--gold-gradient);
    color:var(--primary) !important;
    border:none;
    padding:18px 40px;
    border-radius:50px;
    font-size:1.2rem;
    font-weight:700;
    cursor:pointer;
    transition:all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display:inline-flex;
    align-items:center;
    gap:12px;
    box-shadow:0 8px 25px rgba(10, 43, 76, 0.3);
    position:relative;
    overflow:hidden;
    text-transform:uppercase;
    letter-spacing:0.5px;
    min-width:200px;
    justify-content:center;
  }
  
  .btn-view-gallery::before {
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition:left 0.6s;
  }
  
  .btn-view-gallery:hover::before {
    left:100%;
  }
  
  .btn-view-gallery:hover {
    transform:translateY(-5px) scale(1.05);
    box-shadow:0 15px 35px rgba(219, 163, 39, 0.4);
    background:var(--gold-gradient);
    color:var(--primary) !important;
  }
  
  .btn-view-gallery:active {
    transform:translateY(-2px) scale(1.02);
    box-shadow:0 8px 20px rgba(219, 163, 39, 0.3);
  }
  
  .btn-view-gallery i {
    font-size:1.4rem;
    transition:transform 0.3s ease;
    color:inherit;
  }
  
  .btn-view-gallery:hover i {
    transform:rotate(360deg) scale(1.1);
  }
  
  .btn-view-gallery::after {
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:0;
    height:0;
    background:rgba(255, 255, 255, 0.3);
    border-radius:50%;
    transform:translate(-50%, -50%);
    transition:width 0.6s, height 0.6s;
  }
  
  .btn-view-gallery:active::after {
    width:300px;
    height:300px;
  }
  
  .image-modal {
    display:none;
    position:fixed;
    z-index:2000;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color:rgba(0, 0, 0, 0.9);
    backdrop-filter:blur(5px);
  }
  
  @keyframes modalSlideIn {
    from {
    opacity:0;
    transform:translateY(-50px) scale(0.9);
  }
  
  to {
    opacity:1;
    transform:translateY(0) scale(1);
  }
  }
  
  .modal-header {
    background:linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
    color:white;
    padding:1.5rem 2rem;
    border-radius:15px 15px 0 0;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  
  .modal-header h3 {
    margin:0;
    font-size:1.3rem;
    font-weight:700;
  }
  
  .modal-body {
    padding:2rem;
  }
  
  .modal-gallery {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
    gap:2rem;
  }
  
  .modal-image-item {
    text-align:center;
  }
  
  .modal-image-item img {
    width:100%;
    max-width:400px;
    height:auto;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0, 0, 0, 0.1);
    cursor:pointer;
    transition:var(--transition);
    image-rendering:auto;
    image-rendering:smooth;
    image-rendering:high-quality;
    -ms-interpolation-mode:bicubic;
  }
  
  .modal-image-item img:hover {
    transform:scale(1.05);
    box-shadow:0 10px 25px rgba(0, 0, 0, 0.2);
  }
  
  .image-caption {
    margin-top:1rem;
    color:var(--gray);
    font-size:0.9rem;
    font-style:italic;
  }
  
  .modal-close {
    top:15px;
    left:15px;
    width:35px;
    height:35px;
    font-size:1.5rem;
  }
  
  #modal-title {
    padding:1.5rem 1rem 1rem;
    font-size:1.2rem;
  }
  
  #modal-body {
    padding:1.5rem 1rem;
  }
  
  #modal-body p {
    font-size:1rem;
    line-height:1.6;
  }
  
  #modal-body h4 {
    font-size:1.1rem;
    margin:1.5rem 0 0.8rem;
  }
  
  #modal-body ul {
    padding:1rem;
  }
  
  #modal-body ul li {
    padding:0.4rem;
    margin-bottom:0.6rem;
  }
  
  #modal-body .action-buttons .btn {
    padding:0.8rem 1.5rem;
    font-size:1rem;
  }
  
  .modal-gallery {
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  
  #modal-news-title {
    padding:1.5rem 1rem;
    font-size:1.3rem;
  }
  
  .modal-news-meta {
    padding:0.8rem 1rem;
    font-size:0.9rem;
  }
  
  #modal-protocol-title {
    padding:1.5rem 1rem 1rem;
    font-size:1.2rem;
  }
  
  .protocol-modal-grid {
    grid-template-columns:1fr;
    gap:1.5rem;
  }
  
  .protocol-section {
    padding:1rem;
  }
  
  .protocol-section h4 {
    font-size:1.1rem;
    margin-bottom:0.8rem;
  }
  
  .protocol-section p {
    font-size:1rem;
  }
  
  .protocol-section ul li {
    padding:0.6rem;
    margin-bottom:0.6rem;
    font-size:0.9rem;
  }
  
  @media (max-width:768px) {
    .announcement-section {
    padding:2rem 0;
  }
  
  .announcement-header {
    padding:1.5rem;
  }
  
  .announcement-header h2 {
    font-size:1.4rem;
  }
  
  .announcement-content {
    padding:1.5rem;
  }
  
  .announcement-content p {
    font-size:1rem;
  }
  
  .event-gallery {
    padding:1.5rem;
  }
  
  .btn-view-gallery {
    padding:15px 30px;
    font-size:1.1rem;
    min-width:180px;
  }
  
  .btn-view-gallery i {
    font-size:1.2rem;
  }
  }
  
  .mobile-toggle {
    display:none;
    background:none;
    border:none;
    color:white;
    font-size:1.5rem;
    cursor:pointer;
    z-index:1002;
  }
  
  .mobile-sidebar {
    position:fixed;
    top:0;
    right:-300px;
    width:280px;
    height:100%;
    background-color:var(--primary);
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(165deg, var(--primary) 0%, #0A2B4C 100%);
    box-shadow:-10px 0 30px rgba(0,0,0,0.2);
    z-index:1001;
    transition:right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display:flex;
    flex-direction:column;
  }
  
  .mobile-sidebar.is-open {
    right:0;
  }
  
  .sidebar-overlay {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    z-index:1000;
    opacity:0;
    visibility:hidden;
    transition:opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .sidebar-overlay.is-visible {
    opacity:1;
    visibility:visible;
  }
  
  .sidebar-header {
    padding:15px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid rgba(255, 255, 255, 0.1);
    flex-shrink:0;
  }
  
  .sidebar-logo {
    display:flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
  }
  
  .sidebar-logo img {
    height:35px;
  }
  
  .sidebar-logo span {
    color:white;
    font-weight:700;
    font-size:1rem;
  }
  
  .sidebar-close-btn {
    background:none;
    border:none;
    color:white;
    font-size:1.5rem;
    cursor:pointer;
    opacity:0.8;
    transition:opacity 0.3s, transform 0.3s;
  }
  
  .sidebar-close-btn:hover {
    opacity:1;
    transform:rotate(90deg);
  }
  
  .sidebar-nav-container {
    overflow-y:auto;
    flex-grow:1;
  }
  
  .sidebar-nav-container ul {
    list-style:none;
    padding:10px 0;
    margin:0;
  }
  
  .sidebar-nav-container li a {
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px 25px;
    color:rgba(255,255,255,0.8);
    text-decoration:none;
    font-weight:600;
    transition:var(--transition);
    border-right:3px solid transparent;
  }
  
  .sidebar-nav-container li a:hover {
    background:rgba(255, 255, 255, 0.05);
    color:white;
    transform:translateX(5px);
  }
  
  .sidebar-nav-container li a.active {
    background:rgba(255, 255, 255, 0.1);
    color:white;
    border-right-color:var(--secondary);
  }
  
  .sidebar-nav-container li a i {
    width:20px;
    text-align:center;
    color:var(--secondary);
  }
  
  .sidebar-nav-container .divider {
    height:1px;
    background:rgba(255, 255, 255, 0.1);
    margin:10px 25px;
  }
  
  .sidebar-more-toggle {
    cursor:pointer;
    justify-content:space-between;
  }
  
  .sidebar-more-toggle .chevron {
    transition:transform 0.3s ease-in-out;
  }
  
  .sidebar-more-toggle.active .chevron {
    transform:rotate(180deg);
  }
  
  .sidebar-more-content {
    max-height:0;
    overflow:hidden;
    transition:max-height 0.4s ease-out;
    background:rgba(0,0,0,0.2);
    padding:5px 0;
  }
  
  .sidebar-more-content h4 {
    font-size:0.8rem;
    text-transform:uppercase;
    color:rgba(255, 255, 255, 0.5);
    padding:15px 25px 5px;
    font-weight:700;
  }
  
  .sidebar-more-content a {
    padding-right:40px;
  }
  
  .sidebar-more-content a i {
    color:rgba(255, 255, 255, 0.8) !important;
  }
  
  .sidebar-footer {
    padding:20px 25px;
    border-top:1px solid rgba(255, 255, 255, 0.1);
    flex-shrink:0;
  }
  
  .sidebar-social-icons {
    display:flex;
    justify-content:center;
    gap:20px;
  }
  
  .sidebar-social-icons a {
    color:rgba(255,255,255,0.7);
    font-size:1.2rem;
    transition:var(--transition);
  }
  
  .sidebar-social-icons a:hover {
    color:white;
    transform:scale(1.2);
  }
  
  .mobile-sidebar.is-open .sidebar-nav-container li {
    animation:slideInRight 0.5s ease-out forwards;
    opacity:0;
  }
  
  @keyframes slideInRight {
    from {
    opacity:0;
    transform:translateX(30px);
  }
  
  to {
    opacity:1;
    transform:translateX(0);
  }
  }
  
  @media (max-width:991px) {
    #main-nav {
    display:none;
  }
  
  .mobile-toggle {
    display:block;
  }
  }
  
  @media (max-width:767px) {
    .logo img {
    height:45px;
  }
  
  .logo-text h1 {
    font-size:1.2rem;
  }
  }
  
  @media (max-width:1200px) {
    .news-card {
    flex:0 0 calc((100% - 2rem) / 2);
  }
  }
  
  @media (max-width:992px) {
    .section-title h2 {
    font-size:2.2rem;
  }
  
  .about-section-enhanced .section-title h2 {
    font-size:1.6rem;
  }
  
  .about-section-enhanced {
    padding:2.5rem 0;
  }
  
  .cultural-counselor-section {
    padding:2.5rem 0;
  }
  
  .cultural-counselor-section .section-title h2 {
    font-size:1.5rem;
  }
  
  .counselor-image {
    width:280px;
    height:190px;
  }
  
  .speech-content p {
    font-size:0.9rem;
  }
  
  .speech-toggle-btn {
    padding:10px 18px;
    font-size:0.85rem;
  }
  
  #specializations-section .section-title h2 {
    font-size:1.6rem;
  }
  
  .specializations-grid {
    gap:1.25rem;
  }
  
  .spec-card {
    padding:1.25rem;
  }
  
  .spec-card .icon {
    font-size:2rem;
    margin-bottom:0.875rem;
  }
  
  .spec-card h3 {
    font-size:1.1rem;
  }
  
  .spec-card p {
    font-size:0.85rem;
  }
  
  #news-section .section-title h2 {
    font-size:1.6rem;
  }
  
  #news-section .section-title p {
    font-size:0.9rem;
  }
  
  .news-grid {
    gap:1.25rem;
  }
  
  .news-card {
    width:calc((100% - (1.25rem * (3 - 1))) / 3);
  }
  
  .news-image {
    height:140px;
  }
  
  .news-content {
    padding:1rem;
  }
  
  .news-title {
    font-size:1.05rem;
  }
  
  .news-excerpt {
    font-size:0.85rem;
  }
  
  .news-carousel-control {
    width:35px;
    height:35px;
    font-size:0.9rem;
  }
  
  #transactions-guide-section .section-title h2 {
    font-size:1.6rem;
  }
  
  #transactions-guide-section .section-title p {
    font-size:0.9rem;
  }
  
  .transactions-grid {
    gap:1.25rem;
  }
  
  .transaction-header {
    padding:1.125rem;
  }
  
  .transaction-header .icon {
    font-size:1.5rem;
    width:40px;
  }
  
  .transaction-header h3 {
    font-size:1.1rem;
  }
  
  .transaction-body {
    padding:0 1.125rem 1.125rem;
  }
  
  .transaction-body p {
    font-size:0.85rem;
    margin-bottom:1rem;
  }
  
  .about-attache-section {
    padding:1.5rem;
  }
  
  .about-attache-section p {
    font-size:0.9rem;
  }
  
  .feature-card {
    padding:1.25rem 1.25rem;
  }
  
  .feature-card h4 {
    font-size:1.1rem;
  }
  
  .feature-card p {
    font-size:0.85rem;
  }
  
  .page-hero h1 {
    font-size:2rem;
  }
  
  .page-hero h2 {
    font-size:1.3rem;
  }
  
  .page-hero p {
    font-size:1rem;
  }
  
  .news-card {
    flex:0 0 100%;
  }
  
  .news-carousel-wrapper {
    padding:0;
  }
  
  .news-carousel-control {
    display:flex;
    width:40px;
    height:40px;
    font-size:1rem;
  }
  
  #news-carousel-prev {
    right:10px;
  }
  
  #news-carousel-next {
    left:10px;
  }
  
  .counselor-content {
    flex-direction:column;
    text-align:center;
  }
  
  /* تحسين قسم كلمة السفير/المستشار على الجوال */
  .counselor-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 400 / 270;
    margin: 0 auto 1.5rem;
  }
  
  .speech-text-container {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .speech-content {
    padding: 0;
  }
  
  .speech-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: right;
  }
  
  .speech-content p.center-align {
    text-align: center;
  }
  
  .speech-signature {
    font-size: 0.95rem;
    margin-top: 1.5rem;
  }
  
  .speech-toggle-buttons {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0 1rem;
  }
  
  .speech-toggle-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.9rem;
    min-height: 44px;
  }
  
  .counselor-text {
    text-align:center;
  }
  
  .footer-grid {
    text-align:center;
  }
  
  .footer-col h3::after {
    right:50%;
    transform:translateX(50%);
  }
  
  .social-icons {
    justify-content:center;
  }
  }
  
  @media (min-width:768px) and (max-width:992px) {
    .tab-buttons {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:10px;
    padding:15px;
    background:transparent;
    box-shadow:none;
    border-radius:var(--radius);
  }
  
  .tab-btn {
    background-color:white;
    box-shadow:var(--shadow);
    border-radius:30px;
    justify-content:center;
    transition:background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    padding:14px 28px;
    font-size:1rem;
  }
  
  .tab-btn.active {
    background:var(--gold-gradient);
    color:var(--primary);
    box-shadow:0 4px 15px rgba(219, 163, 39, 0.4);
    transform:translateY(-2px);
  }
  
  .tab-indicator {
    display:none;
  }
  }
  
  @media (max-width:767px) {
    .page-hero {
    padding:3rem 0;
    padding-top:calc(3rem + 60px);
    min-height:40vh;
  }
  
  .page-hero.library-hero,
  .page-hero.activities-hero,
  .page-hero.university-hero {
    padding:3rem 0;
    padding-top:calc(3rem + 60px);
  }
  
  .page-hero h1 {
    font-size:1.8rem;
  }
  
  .page-hero h2 {
    font-size:1.2rem;
  }
  
  .page-hero p {
    font-size:0.95rem;
  }
  
  .hero-cta-buttons, .action-buttons, .speech-toggle-buttons {
    flex-direction:column;
    align-items:center;
    gap:15px;
  }
  
  .btn, .hero-btn {
    width:100%;
    max-width:300px;
  }
  
  .footer-grid {
    grid-template-columns:1fr;
  }
  
  .specializations-grid, .transactions-grid, .activities-grid, .library-grid, .university-cards-grid {
    grid-template-columns:1fr;
    gap:1rem;
  }
  
  #specializations-section .section-title h2 {
    font-size:1.4rem;
  }
  
  .spec-card {
    padding:1rem;
  }
  
  .spec-card .icon {
    font-size:1.8rem;
    margin-bottom:0.75rem;
  }
  
  .spec-card h3 {
    font-size:1rem;
    margin-bottom:0.375rem;
  }
  
  .spec-card p {
    font-size:0.8rem;
  }
  
  .news-card {
    flex:0 0 100%;
    min-height:350px;
  }
  
  #news-section .section-title h2 {
    font-size:1.4rem;
  }
  
  #news-section .section-title p {
    font-size:0.85rem;
  }
  
  .news-content {
    padding:1rem;
  }
  
  .news-title {
    font-size:1rem;
    line-height:1.4;
    margin-bottom:0.75rem;
  }
  
  .news-excerpt {
    font-size:0.8rem;
    line-height:1.6;
  }
  
  .news-grid {
    padding:0 20px;
    gap:1rem;
  }
  
  .news-image {
    height:130px;
  }
  
  .news-carousel-control {
    width:32px;
    height:32px;
    font-size:0.85rem;
  }
  
  .news-carousel-wrapper {
    padding:0 40px;
  }
  
  #transactions-guide-section .section-title h2 {
    font-size:1.4rem;
  }
  
  #transactions-guide-section .section-title p {
    font-size:0.85rem;
  }
  
  .transactions-grid {
    gap:1rem;
  }
  
  .transaction-header {
    padding:1rem;
    gap:0.75rem;
  }
  
  .transaction-header .icon {
    font-size:1.4rem;
    width:38px;
  }
  
  .transaction-header h3 {
    font-size:1rem;
  }
  
  .transaction-body {
    padding:0 1rem 1rem;
  }
  
  .transaction-body p {
    font-size:0.8rem;
    margin-bottom:0.875rem;
  }
  
  .show-more-container {
    margin-top:1.25rem;
  }
  
  .tab-buttons {
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    padding:10px;
    background:transparent;
    box-shadow:none;
    border-radius:var(--radius);
  }
  
  .tab-btn {
    background-color:white;
    box-shadow:var(--shadow);
    border-radius:30px;
    justify-content:center;
    transition:background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    padding:12px 20px;
    font-size:0.9rem;
  }
  
  .tab-btn.active {
    background:var(--gold-gradient);
    color:var(--primary);
    box-shadow:0 4px 15px rgba(219, 163, 39, 0.4);
    transform:translateY(-2px);
  }
  
  .tab-indicator {
    display:none;
  }
  }
  
  @media (max-width:575px) {
    .page-hero h1 {
    font-size:1.5rem;
  }
  
  .page-hero h2 {
    font-size:1.1rem;
  }
  
  .page-hero p {
    font-size:0.9rem;
  }
  
  .hero-btn {
    padding:10px 20px;
    font-size:0.9rem;
  }
  
  .about-section-enhanced {
    padding:1.5rem 0;
  }
  
  .about-section-enhanced .section-title h2 {
    font-size:1.2rem;
  }
  
  .about-attache-section {
    padding:1rem;
  }
  
  .about-attache-section p {
    font-size:0.8rem;
  }
  
  .feature-card {
    padding:0.875rem 0.875rem;
  }
  
  .feature-card .icon {
    width:45px;
    height:45px;
  }
  
  .feature-card .icon i {
    font-size:1.3rem;
  }
  
  .feature-card h4 {
    font-size:0.95rem;
  }
  
  .feature-card p {
    font-size:0.75rem;
  }
  
  .cultural-counselor-section {
    padding:1.5rem 0;
  }
  
  .cultural-counselor-section .section-title h2 {
    font-size:1.2rem;
  }
  
  .speech-toggle-btn {
    padding:8px 14px;
    font-size:0.8rem;
  }
  
  .counselor-image {
    width:220px;
    height:150px;
  }
  
  .speech-content p {
    font-size:0.8rem;
  }
  
  .speech-signature {
    font-size:0.85rem;
  }
  
  #specializations-section {
    padding:1.5rem 0;
  }
  
  #specializations-section .section-title h2 {
    font-size:1.2rem;
  }
  
  .specializations-grid {
    gap:0.875rem;
  }
  
  .spec-card {
    padding:0.875rem;
  }
  
  .spec-card .icon {
    font-size:1.6rem;
    margin-bottom:0.625rem;
  }
  
  .spec-card h3 {
    font-size:0.95rem;
  }
  
  .spec-card p {
    font-size:0.75rem;
  }
  
  #news-section .section-title h2 {
    font-size:1.2rem;
  }
  
  #news-section .section-title p {
    font-size:0.8rem;
  }
  
  .news-card {
    min-height:320px;
  }
  
  .news-content {
    padding:0.75rem;
  }
  
  .news-meta {
    font-size:0.75rem;
    margin-bottom:0.5rem;
  }
  
  .news-title {
    font-size:0.95rem;
  }
  
  .news-excerpt {
    font-size:0.75rem;
  }
  
  .btn-read-more {
    font-size:0.8rem;
    margin-top:0.75rem;
  }
  
  .news-image {
    height:120px;
  }
  
  .news-carousel-control {
    width:30px;
    height:30px;
    font-size:0.8rem;
  }
  
  .news-carousel-wrapper {
    padding:0 35px;
  }
  
  #transactions-guide-section .section-title h2 {
    font-size:1.2rem;
  }
  
  #transactions-guide-section .section-title p {
    font-size:0.8rem;
  }
  
  .transactions-grid {
    gap:0.875rem;
  }
  
  .transaction-header {
    padding:0.875rem;
    gap:0.625rem;
  }
  
  .transaction-header .icon {
    font-size:1.3rem;
    width:35px;
  }
  
  .transaction-header h3 {
    font-size:0.95rem;
  }
  
  .transaction-body {
    padding:0 0.875rem 0.875rem;
  }
  
  .transaction-body p {
    font-size:0.75rem;
    margin-bottom:0.75rem;
  }
  
  .show-more-container {
    margin-top:1rem;
  }
  
  .cultural-counselor-section {
    padding:1.5rem 0;
  }
  
  .cultural-counselor-section .section-title h2 {
    font-size:1.2rem;
  }
  
  .speech-toggle-btn {
    padding:8px 14px;
    font-size:0.8rem;
  }
  
  .counselor-image {
    width:220px;
    height:150px;
  }
  
  .speech-content p {
    font-size:0.8rem;
  }
  
  .speech-signature {
    font-size:0.85rem;
  }
  
  .section-title h2 {
    font-size:1.8rem;
  }
  
  .tab-buttons {
    padding:8px;
    gap:5px;
  }
  
  .tab-btn {
    padding:10px 15px;
    font-size:0.85rem;
  }
  
  #image-modal .modal-close {
    top:5px;
    right:5px;
    width:30px;
    height:30px;
    font-size:16px;
  }
  
  .news-image-gallery .gallery-main-image {
    height:180px;
  }
  }
  
  @keyframes fadeInDropdown {
    from {
    opacity:0;
    transform:translateY(-10px) scale(0.95);
  }
  
  to {
    opacity:1;
    transform:translateY(0) scale(1);
  }
  }
  
  @keyframes slideDown {
    from {
    opacity:0;
    transform:translateY(-10px);
  }
  
  to {
    opacity:1;
    transform:translateY(0);
  }
  }
  
  @keyframes slideInLeft {
    from {
    opacity:0;
    transform:translateX(-20px);
  }
  
  to {
    opacity:1;
    transform:translateX(0);
  }
  }
  
  @keyframes fadeInTab {
    from {
    opacity:0;
    transform:translateY(10px);
  }
  
  to {
    opacity:1;
    transform:translateY(0);
  }
  }
  
  @keyframes fadeInSpeech {
    from {
    opacity:0;
    transform:translateY(15px);
  }
  
  to {
    opacity:1;
    transform:translateY(0);
  }
  }
  
  @keyframes shimmer {
    0%, 100% {
    transform:translateX(-100%) translateY(-100%) rotate(0deg);
  }
  
  50% {
    transform:translateX(100%) translateY(100%) rotate(180deg);
  }
  }
  
  @keyframes pulse {
    0%, 100% {
    opacity:0;
    transform:scale(1);
  }
  
  50% {
    opacity:0.3;
    transform:scale(1.1);
  }
  }
  
  @keyframes pulse-glow {
    0%, 100% {
    opacity:0;
    transform:scale(1);
  }
  
  50% {
    opacity:0.3;
    transform:scale(1.1);
  }
  }
  
  @keyframes spin {
    0% {
    transform:translateX(-50%) rotate(0deg);
  }
  
  100% {
    transform:translateX(-50%) rotate(360deg);
  }
  }
  
  @media (min-width:993px) {
    .transactions-grid .transaction-card {
    display:flex;
  }
  
  .show-more-container {
    display:none;
  }
  }
  
  .page-hero.admission-hero {
    background-image:url('https://images.unsplash.com/photo-1568667256549-094345857637?q=80&w=1915&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    padding:8rem 0;
  }
  
  .page-hero.admission-hero::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(10, 43, 76, 0.8);
    z-index:1;
  }
  
  .page-hero.admission-hero .page-hero-content {
    position:relative;
    z-index:2;
  }
  
  .page-hero.admission-hero h1 {
    font-size:4rem;
  }
  
  .page-hero.admission-hero p {
    font-size:1.4rem;
    max-width:800px;
    margin-bottom:2.5rem;
  }
  
  .hero-cta-buttons {
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
  }
  
  .hero-btn {
    padding:12px 28px;
    font-size:1rem;
    gap:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  
  .main-content-area {
    padding-top:4rem;
  }
  
  .tabs-container {
    position:relative;
    margin-bottom:3rem;
  }
  
  .tab-buttons {
    display:flex;
    position:relative;
    background:white;
    border-radius:50px;
    padding:10px;
    box-shadow:var(--shadow);
    z-index:1;
    justify-content:flex-start;
    overflow-x:auto;
    -ms-overflow-style:none;
    scrollbar-width:none;
  }
  
  .tab-buttons::-webkit-scrollbar {
    display:none;
  }
  
  .tab-btn {
    padding:14px 28px;
    border:none;
    background:transparent;
    color:var(--gray);
    font-weight:700;
    font-size:1rem;
    cursor:pointer;
    transition:all 0.3s ease;
    display:flex;
    align-items:center;
    gap:12px;
    position:relative;
    z-index:2;
    white-space:nowrap;
    flex-shrink:0;
    font-family:var(--font-default);
  }
  
  .tab-btn i {
    font-size:1.2rem;
  }
  
  .tab-btn.active {
    color:var(--primary);
  }
  
  .tab-indicator {
    position:absolute;
    top:10px;
    left:0;
    height:calc(100% - 20px);
    background:var(--gold-gradient);
    border-radius:30px;
    transition:transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index:1;
    box-shadow:0 4px 15px rgba(219, 163, 39, 0.4);
  }
  
  @media (min-width:768px) and (max-width:992px) {
    .tab-buttons {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:10px;
    overflow-x:visible;
    padding:15px;
    background:transparent;
    box-shadow:none;
    border-radius:var(--radius);
  }
  
  .tab-btn {
    background-color:white;
    box-shadow:var(--shadow);
    border-radius:30px;
    justify-content:center;
  }
  
  .tab-btn.active {
    background:var(--gold-gradient);
    color:var(--primary);
  }
  
  .tab-indicator {
    display:none;
  }
  }
  
  @media (max-width:767px) {
    .tab-buttons {
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    overflow-x:visible;
    padding:10px;
    background:transparent;
    box-shadow:none;
    border-radius:var(--radius);
  }
  
  .tab-btn {
    background-color:white;
    box-shadow:var(--shadow);
    border-radius:30px;
    justify-content:center;
  }
  
  .tab-btn.active {
    background:var(--gold-gradient);
    color:var(--primary);
  }
  
  .tab-indicator {
    display:none;
  }
  }
  
  .tab-content .section {
    padding-top:1.5rem;
    padding-bottom:1.5rem;
  }
  
  .tab-content > .section:first-child {
    padding-top:0;
  }
  
  .admission-card {
    background:white;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    overflow:hidden;
    transition:var(--transition);
    border:1px solid #eee;
  }
  
  .admission-card:hover {
    transform:translateY(-8px) scale(1.01);
    box-shadow:var(--shadow-hover);
  }
  
  .card-header {
    background:var(--primary);
    color:white;
    padding:2rem;
    display:flex;
    align-items:center;
    gap:20px;
    border-bottom:5px solid var(--secondary);
  }
  
  .card-icon {
    font-size:3rem;
    color:var(--secondary);
    min-width:70px;
    height:70px;
    background:rgba(255, 255, 255, 0.1);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:var(--transition);
  }
  
  .admission-card:hover .card-icon {
    transform:rotate(15deg) scale(1.1);
  }
  
  .card-title h3 {
    font-size:1.8rem;
    margin-bottom:8px;
    font-weight:700;
  }
  
  .card-title p {
    opacity:0.9;
    font-size:1rem;
    font-weight:600;
  }
  
  .card-body {
    padding:2.5rem;
  }
  
  .admission-card .section-title {
    color:var(--primary);
    font-size:1.5rem;
    margin:0 0 1.5rem;
    padding-bottom:10px;
    border-bottom:3px solid var(--secondary);
    display:flex;
    align-items:center;
    gap:15px;
    font-weight:700;
    text-align:right;
  }
  
  .admission-card .section-title i {
    color:var(--secondary);
  }
  
  .section-text {
    color:var(--dark);
    line-height:1.9;
    margin-bottom:1.5rem;
    font-size:1.1rem;
  }
  
  .features-list {
    list-style:none;
    padding:0;
    margin:1.8rem 0;
  }
  
  .features-list li {
    padding:15px 10px;
    display:flex;
    align-items:flex-start;
    gap:15px;
    border-bottom:1px solid #f0f0f0;
    transition:var(--transition);
    border-radius:8px;
  }
  
  .features-list li:hover {
    background:var(--light-gray);
    transform:translateX(-5px);
  }
  
  .features-list li:last-child {
    border-bottom:none;
  }
  
  .features-list li i {
    color:var(--secondary);
    font-size:1.2rem;
    margin-top:5px;
  }
  
  .steps {
    counter-reset:step;
    margin:1.8rem 0;
    padding:0;
  }
  
  .step {
    position:relative;
    padding-right:3rem;
    margin-bottom:1.8rem;
    padding-bottom:1.8rem;
    border-bottom:1px dashed #ccc;
    font-size:1.1rem;
    list-style-type:none;
  }
  
  .step:last-child {
    border-bottom:none;
    margin-bottom:0;
    padding-bottom:0;
  }
  
  .step::before {
    counter-increment:step;
    content:counter(step);
    position:absolute;
    right:0;
    top:-2px;
    width:35px;
    height:35px;
    background:var(--gold-gradient);
    color:var(--primary);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    font-size:1rem;
    box-shadow:0 2px 5px rgba(0,0,0,0.2);
  }
  
  .highlight-box {
    background-color:#FFF9E6;
    border-right:5px solid var(--secondary);
    padding:2rem;
    margin:2rem 0;
    border-radius:0 var(--radius) var(--radius) 0;
  }
  
  .highlight-box.warning {
    background-color:#fdf3f2;
    border-right-color:#d9534f;
  }
  
  .highlight-box.warning h4 i {
    color:#d9534f;
  }
  
  .highlight-box h4 {
    color:var(--primary);
    margin-bottom:1rem;
    display:flex;
    align-items:center;
    gap:12px;
    font-size:1.2rem;
    text-align:right;
  }
  
  .highlight-box h4 i {
    color:var(--secondary);
  }
  
  .action-buttons {
    display:flex;
    gap:20px;
    margin-top:2.5rem;
    flex-wrap:wrap;
  }
  
  #modal-body .protocol-modal-grid {
    display:grid;
    grid-template-columns:1fr;
    gap:1rem;
  }
  
  @media (min-width:576px) {
    #modal-body .protocol-modal-grid {
    grid-template-columns:1fr 1fr;
  }
  }
  
  #modal-body .protocol-section {
    background-color:var(--light-gray);
    padding:1.25rem;
    border-radius:var(--radius);
    border-left:4px solid var(--secondary);
    transition:all 0.3s ease;
  }
  
  #modal-body .protocol-section:hover {
    transform:translateY(-3px);
    box-shadow:var(--shadow);
  }
  
  #modal-body .protocol-section.full-width {
    grid-column:1 / -1;
  }
  
  #modal-body .protocol-section h4 {
    display:flex;
    align-items:center;
    gap:10px;
    font-size:1.15rem;
    color:var(--primary);
    margin-top:0;
    margin-bottom:1rem;
    font-weight:700;
  }
  
  #modal-body .protocol-section h4 i {
    color:var(--secondary);
    font-size:1.4rem;
    width:25px;
    text-align:center;
  }
  
  #modal-body .protocol-section ul {
    list-style:none;
    padding:0;
    margin:0;
  }
  
  #modal-body .protocol-section ul li {
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:0.8rem;
    font-size:0.95rem;
  }
  
  #modal-body .protocol-section ul li:last-child {
    margin-bottom:0;
  }
  
  #modal-body .protocol-section ul li i {
    color:var(--accent);
    margin-top:4px;
    font-size:0.9rem;
  }
  
  #modal-body .protocol-section p {
    font-size:1.05rem;
    font-weight:600;
    color:var(--dark);
    margin:0;
  }
  
  @media (max-width:992px) {
    .school-page-layout {
    grid-template-columns:1fr;
  }
  
  .sidebar-card {
    padding:1.5rem;
    margin-bottom:1.5rem;
  }
  
  .sidebar-card h3 {
    font-size:1.2rem;
    margin-bottom:1rem;
  }
  
  .sidebar-card ul li {
    padding:0.8rem;
    margin-bottom:0.8rem;
    font-size:0.9rem;
  }
  
  .sidebar-card ul li i {
    font-size:1rem;
    margin-left:8px;
  }
  }
  
  @media (max-width:768px) {
    .school-card-header {
    flex-direction:column;
    text-align:center;
    padding:1.5rem;
  }
  
  .school-card-logo {
    width:130px;
    height:130px;
  }
  
  .school-card-title h3 {
    font-size:1.5rem;
  }
  
  .school-card-body {
    padding:1.5rem;
  }
  }
  
  @media (max-width:992px) {
    .book-showcase-card {
    grid-template-columns:220px 1fr;
  }
  }
  
  @media (max-width:768px) {
    .book-showcase-card {
    grid-template-columns:1fr;
  }
  
  .book-showcase-cover img {
    max-width:150px;
    max-height:210px;
  }
  
  .book-showcase-content {
    padding:1.5rem;
  }
  
  .book-header h4 {
    font-size:1.5rem;
  }
  
  .book-actions {
    flex-direction:column;
    align-items:stretch;
  }
  
  .btn-download-primary {
    justify-content:center;
  }
  }
  
  @media (max-width:480px) {
    .book-showcase-content {
    padding:1rem;
  }
  
  .book-header h4 {
    font-size:1.3rem;
  }
  
  .book-synopsis p {
    font-size:0.95rem;
  }
  
  .book-showcase-cover img {
    max-width:130px;
    max-height:185px;
  }
  
  .btn-download-primary {
    padding:12px 24px;
    font-size:0.9rem;
  }
  }
  
  .page-loader {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#0a2b4c;
    backdrop-filter:blur(15px);
    z-index:99999;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    opacity:1;
    visibility:visible;
    transition:all 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  }
  
  .page-loader.is-hidden {
    opacity:0;
    visibility:hidden;
    transform:scale(0.8) rotate(5deg);
  }
  
  .logo-fixed {
    position:absolute;
    top:40px;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:80px;
    background:url('https://sudanembassyeg.gov.sd/assets/img/logo.png') center/contain no-repeat;
    background-color:rgba(255, 255, 255, 0.95);
    box-shadow:0 0 25px rgba(219, 163, 39, 0.6);
    padding:10px;
    z-index:100001;
  }
  
  .loading-text {
    text-align:center;
    color:var(--light);
    animation:fadeInUp 1.5s ease-out;
    position:relative;
    margin-bottom:2rem;
  }
  
  .loading-text h3 {
    font-size:2rem;
    font-weight:800;
    margin-bottom:1rem;
    color:#d4af37;
    animation:textGlow 3s ease-in-out infinite alternate;
    text-shadow:0 0 30px rgba(219, 163, 39, 0.5);
  }
  
  .loading-text p {
    font-size:1.2rem;
    opacity:0.9;
    animation:pulse 2.5s ease-in-out infinite;
    color:rgba(255, 255, 255, 0.8);
  }
  
  @keyframes fadeInUp {
    from {
    opacity:0;
    transform:translateY(50px);
  }
  
  to {
    opacity:1;
    transform:translateY(0);
  }
  }
  
  @keyframes textGlow {
    from {
    filter:brightness(1) drop-shadow(0 0 10px rgba(219, 163, 39, 0.3));
    transform:scale(1);
  }
  
  to {
    filter:brightness(1.3) drop-shadow(0 0 20px rgba(219, 163, 39, 0.6));
    transform:scale(1.05);
  }
  }
  
  .progress-loader {
    width:400px;
    height:8px;
    background:rgba(255, 255, 255, 0.15);
    border-radius:15px;
    overflow:hidden;
    margin-bottom:2rem;
    position:relative;
    box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .progress-bar {
    height:100%;
    background:#d4af37;
    border-radius:15px;
    width:0%;
    animation:progressFill 2s ease-in-out forwards;
    position:relative;
    box-shadow:0 0 20px rgba(219, 163, 39, 0.6);
  }
  
  @keyframes progressFill {
    0% {
    width:0%;
  }
  
  30% {
    width:40%;
  }
  
  60% {
    width:75%;
  }
  
  100% {
    width:100%;
  }
  }
  
  .progress-dots {
    display:flex;
    gap:15px;
    margin-top:2rem;
    justify-content:center;
  }
  
  .dot {
    width:12px;
    height:12px;
    background:#d4af37;
    border-radius:50%;
    animation:dotBounce 1.5s ease-in-out infinite;
    box-shadow:0 0 10px rgba(219, 163, 39, 0.6);
  }
  
  .dot:nth-child(1) {
    animation-delay:0s;
  }
  
  .dot:nth-child(2) {
    animation-delay:0.2s;
  }
  
  .dot:nth-child(3) {
    animation-delay:0.4s;
  }
  
  .dot:nth-child(4) {
    animation-delay:0.6s;
  }
  
  .dot:nth-child(5) {
    animation-delay:0.8s;
  }
  
  @keyframes dotBounce {
    0%, 100% {
    transform:translateY(0);
    opacity:0.5;
  }
  
  50% {
    transform:translateY(-20px);
    opacity:1;
  }
  }
  
  @media (max-width:768px) {
    .loading-text h3 {
    font-size:1.6rem;
  }
  
  .loading-text p {
    font-size:1rem;
  }
  
  .progress-loader {
    width:300px;
  }
  
  .logo-fixed {
    width:60px;
    height:60px;
    top:30px;
  }
  }
  
  @media (max-width:480px) {
    .loading-text h3 {
    font-size:1.4rem;
  }
  
  .progress-loader {
    width:250px;
  }
  
  .logo-fixed {
    width:50px;
    height:50px;
    top:20px;
  }
  
  /* تحسين إضافي للنوافذ المنبثقة في الشاشات الصغيرة جداً */
  .modal-content {
    max-width: 98vw;
    width: 98vw;
    max-height: 98vh;
    padding: 1rem;
    margin: 1vh auto;
    border-radius: 8px;
  }
  
  .modal-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  
  .modal-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .news-meta-modal {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  
  .news-content-modal {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .action-buttons {
    margin-top: 1rem;
    gap: 0.5rem;
  }
  
  .action-buttons .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .modal-close {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  
  /* تحسين التمرير في النوافذ المنبثقة */
  .modal-content {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  
  /* تحسين التفاعل مع اللمس */
  .modal-overlay {
    touch-action: manipulation;
  }
  
  .modal-content * {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* تحسين عرض الصور في النوافذ المنبثقة */
  .modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0.5rem 0;
  }
  
  #transaction-modal .modal-content img {
    margin: 0.3rem 0;
  }
  
  /* تحسين عرض الجداول في النوافذ المنبثقة */
  .modal-content table {
    width: 100%;
    font-size: 0.85rem;
    border-collapse: collapse;
    margin: 0.5rem 0;
  }
  
  #transaction-modal .modal-content table {
    font-size: 0.75rem;
    margin: 0.3rem 0;
  }
  
  .modal-content th,
  .modal-content td {
    padding: 0.5rem;
    border: 1px solid #ddd;
    text-align: right;
  }
  
  #transaction-modal .modal-content th,
  #transaction-modal .modal-content td {
    padding: 0.35rem;
    font-size: 0.75rem;
  }
  
  .modal-content th {
    background-color: #f8f9fa;
    font-weight: 600;
  }
  }
  
  .transaction-info {
    display:flex;
    flex-direction:column;
    gap:0.5rem;
    margin:0.5rem 0;
    padding:0.25rem 0;
  }
  
  #transaction-modal .transaction-info {
    gap:0.25rem;
    margin:0.25rem 0;
    padding:0.1rem 0;
  }
  
  .transaction-info-item {
    display:flex;
    align-items:center;
    gap:0.625rem;
    padding:0.4rem;
    background:linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius:8px;
    border-right:3px solid var(--secondary);
    transition:var(--transition);
  }
  
  #transaction-modal .transaction-info-item {
    gap:0.4rem;
    padding:0.3rem;
  }
  
  #transaction-modal .transaction-info-item .info-icon {
    width:28px;
    height:28px;
    font-size:0.8rem;
  }
  
  #transaction-modal .transaction-info-item .info-label {
    font-size:0.7rem;
  }
  
  #transaction-modal .transaction-info-item .info-value {
    font-size:0.85rem;
  }
  
  .transaction-info-item:hover {
    transform:translateX(5px);
    box-shadow:0 3px 10px rgba(0, 0, 0, 0.1);
  }
  
  .transaction-info-item .info-icon {
    width:35px;
    height:35px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:var(--gold-gradient);
    color:white;
    font-size:0.9rem;
    flex-shrink:0;
  }
  
  #transaction-modal .transaction-info-item .info-icon {
    width:28px;
    height:28px;
    font-size:0.8rem;
  }
  
  .transaction-info-item .info-content {
    display:flex;
    flex-direction:column;
    gap:0.2rem;
    flex-grow:1;
  }
  
  .transaction-info-item .info-label {
    font-size:0.8rem;
    color:var(--gray);
    font-weight:500;
  }
  
  #transaction-modal .transaction-info-item .info-label {
    font-size:0.7rem;
  }
  
  .transaction-info-item .info-value {
    font-size:0.95rem;
    color:var(--primary);
    font-weight:600;
  }
  
  #transaction-modal .transaction-info-item .info-value {
    font-size:0.85rem;
  }
  
  .fees-item .info-icon {
    background:linear-gradient(135deg, #28a745 0%, #20c997 100%);
  }
  
  .fees-item .info-value {
    color:#28a745;
  }
  
  .duration-item .info-icon {
    background:linear-gradient(135deg, #007bff 0%, #6610f2 100%);
  }
  
  .duration-item .info-value {
    color:#007bff;
  }
  
  .transaction-info-container {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:0.75rem;
    margin:0.75rem 0;
    padding:0.875rem;
    background:linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius:12px;
    border-right:4px solid var(--secondary);
    box-shadow:0 4px 15px rgba(0, 0, 0, 0.08);
  }
  
  #transaction-modal .transaction-info-container {
    gap:0.4rem;
    margin:0.4rem 0;
    padding:0.4rem;
  }
  
  .transaction-info-container .transaction-info-item {
    background:white;
    border-radius:10px;
    padding:0.625rem;
    box-shadow:0 2px 8px rgba(0, 0, 0, 0.06);
    border:1px solid var(--light-border);
    transition:var(--transition);
  }
  
  #transaction-modal .transaction-info-container .transaction-info-item {
    padding:0.3rem;
  }
  
  #transaction-modal .transaction-info-container .info-icon {
    width:26px;
    height:26px;
    font-size:0.75rem;
  }
  
  #transaction-modal .transaction-info-container .info-label {
    font-size:0.7rem;
  }
  
  #transaction-modal .transaction-info-container .info-value {
    font-size:0.8rem;
  }
  
  .transaction-info-container .transaction-info-item:hover {
    transform:translateY(-3px);
    box-shadow:0 6px 20px rgba(0, 0, 0, 0.12);
  }
  
  .transaction-info-container .info-icon {
    width:40px;
    height:40px;
    font-size:1rem;
  }
  
  .transaction-info-container .info-content {
    gap:0.3rem;
  }
  
  .transaction-info-container .info-label {
    font-size:0.85rem;
    color:var(--gray);
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:0.5px;
  }
  
  .transaction-info-container .info-value {
    font-size:1.1rem;
    font-weight:700;
  }
  
  @media (max-width:768px) {
    .transaction-info {
    gap:0.5rem;
    margin:0.75rem 0;
  }
  
  .transaction-info-item {
    padding:0.4rem;
    gap:0.5rem;
  }
  
  .transaction-info-item .info-icon {
    width:30px;
    height:30px;
    font-size:0.8rem;
  }
  
  .transaction-info-item .info-label {
    font-size:0.75rem;
  }
  
  .transaction-info-item .info-value {
    font-size:0.85rem;
  }
  
  .transaction-info-container {
    grid-template-columns:1fr;
    gap:0.75rem;
    padding:1rem;
    margin:1rem 0;
  }
  
  .transaction-info-container .transaction-info-item {
    padding:0.75rem;
  }
  
  .transaction-info-container .info-icon {
    width:35px;
    height:35px;
    font-size:0.9rem;
  }
  
  .transaction-info-container .info-label {
    font-size:0.8rem;
  }
  
  .transaction-info-container .info-value {
    font-size:1rem;
  }
  }
  
  @keyframes slideInRight {
    from {
    opacity:0;
    transform:translateX(20px);
  }
  
  to {
    opacity:1;
    transform:translateX(0);
  }
  }
  
  .transaction-info-item {
    animation:slideInRight 0.5s ease-out;
  }
  
  .transaction-info-item:nth-child(2) {
    animation-delay:0.1s;
  }
  
  .transaction-info-item:hover .info-icon {
    transform:scale(1.1) rotate(5deg);
  }
  
  .transaction-info-item:hover .info-value {
    color:var(--secondary);
  }
  
  .simple-info-container {
    margin:1.5rem 0;
    padding:1rem;
    background:#f8f9fa;
    border-radius:8px;
    border-right:3px solid var(--secondary);
  }
  
  .simple-info-item {
    display:flex;
    align-items:center;
    gap:0.75rem;
    padding:0.5rem 0;
    color:var(--primary);
    font-size:0.95rem;
  }
  
  .simple-info-item i {
    color:var(--secondary);
    font-size:1rem;
    width:20px;
    text-align:center;
  }
  
  .simple-info-item span {
    flex-grow:1;
  }
  
  .transaction-description {
    margin-bottom:1.5rem;
    line-height:1.6;
    color:var(--primary);
  }
  
  .transaction-description p {
    margin-bottom:1rem;
  }
  
  .transaction-description p:last-child {
    margin-bottom:0;
  }
  
  @media (max-width:768px) {
    .simple-info-container {
    margin:1rem 0;
    padding:0.75rem;
  }
  
  .simple-info-item {
    font-size:0.9rem;
    gap:0.5rem;
  }
  
  .simple-info-item i {
    font-size:0.9rem;
    width:18px;
  }
  }
  
  .agreement-detail-content {
    padding:1rem 0;
  }
  
  .agreement-info-item {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:1rem;
    padding:0.8rem;
    background:linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius:8px;
    border-left:4px solid var(--secondary);
  }
  
  .agreement-info-item i {
    color:var(--secondary);
    font-size:1.2rem;
    width:20px;
    text-align:center;
  }
  
  .agreement-info-item strong {
    color:var(--primary);
    font-weight:600;
  }
  
  .agreement-description {
    margin:1.5rem 0;
    padding:1rem;
    background:white;
    border-radius:8px;
    border:1px solid #e9ecef;
    line-height:1.7;
    color:#444;
  }
  
  .agreement-description h1,
  .agreement-description h2,
  .agreement-description h3,
  .agreement-description h4,
  .agreement-description h5,
  .agreement-description h6 {
    color:var(--primary);
    margin:1rem 0 0.5rem 0;
  }
  
  .agreement-description p {
    margin-bottom:1rem;
  }
  
  .agreement-description ul,
  .agreement-description ol {
    margin:1rem 0;
    padding-right:1.5rem;
  }
  
  .agreement-description li {
    margin-bottom:0.5rem;
  }
  
  .agreement-links {
    margin-top:2rem;
    padding:1.5rem;
    background:linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius:12px;
    border:1px solid #dee2e6;
  }
  
  .agreement-links h4 {
    color:var(--primary);
    margin-bottom:1rem;
    display:flex;
    align-items:center;
    gap:10px;
  }
  
  .agreement-links h4 i {
    color:var(--secondary);
    font-size:1.2rem;
  }
  
  .external-links {
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
  }
  
  .external-links .btn {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:0.8rem 1.2rem;
    background:var(--primary);
    color:white;
    text-decoration:none;
    border-radius:8px;
    transition:var(--transition);
    font-weight:500;
  }
  
  .external-links .btn:hover {
    background:var(--primary-darker);
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(10, 43, 76, 0.3);
  }
  
  .external-links .btn-gold {
    background:var(--gold-gradient);
    color:var(--primary);
    font-weight:600;
    border:2px solid transparent;
  }
  
  .external-links .btn-gold:hover {
    background:linear-gradient(145deg, #dba327 0%, #B8860B 100%);
    color:white;
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(219, 163, 39, 0.4);
    border-color:var(--secondary);
  }
  
  .external-links .btn i {
    font-size:1rem;
  }
  
  @media (max-width:768px) {
    .agreement-info-item {
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
  }
  
  .external-links {
    flex-direction:column;
  }
  
  .external-links .btn {
    justify-content:center;
  }
  }
  
  .book-downloads {
    margin-top:2rem;
    padding:1.5rem;
    background:linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius:12px;
    border:1px solid #dee2e6;
  }
  
  .book-downloads h4 {
    color:var(--primary);
    margin-bottom:1rem;
    display:flex;
    align-items:center;
    gap:10px;
  }
  
  .book-downloads h4 i {
    color:var(--secondary);
    font-size:1.2rem;
  }
  
  .download-links {
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
  }
  
  .download-links .btn {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:0.8rem 1.2rem;
    background:var(--primary);
    color:white;
    text-decoration:none;
    border-radius:8px;
    transition:var(--transition);
    font-weight:500;
  }
  
  .download-links .btn:hover {
    background:var(--primary-darker);
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(10, 43, 76, 0.3);
  }
  
  .download-links .btn-gold {
    background:var(--gold-gradient);
    color:var(--primary);
    font-weight:600;
    border:2px solid transparent;
  }
  
  .download-links .btn-gold:hover {
    background:linear-gradient(145deg, #dba327 0%, #B8860B 100%);
    color:white;
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(219, 163, 39, 0.4);
    border-color:var(--secondary);
  }
  
  .download-links .btn i {
    font-size:1rem;
  }
  
  @media (max-width:768px) {
    .download-links {
    flex-direction:column;
  }
  
  .download-links .btn {
    justify-content:center;
  }
  }
  
  .book-description {
    margin:1rem 0;
    padding:1rem;
    background:linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius:8px;
    border-left:4px solid var(--secondary);
  }
  
  .book-description h5 {
    color:var(--primary);
    margin:0 0 0.5rem 0;
    font-size:1rem;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:8px;
  }
  
  .book-description h5::before {
    content:"📖";
    font-size:1.1rem;
  }
  
  .description-text {
    color:#666;
    line-height:1.6;
    font-size:0.9rem;
  }
  
  .description-text p {
    margin:0.5rem 0;
  }
  
  .description-text h1, .description-text h2, .description-text h3, .description-text h4, .description-text h5, .description-text h6 {
    color:var(--primary);
    margin:1rem 0 0.5rem 0;
    font-size:1rem;
  }
  
  .description-text ul, .description-text ol {
    margin:0.5rem 0;
    padding-right:1.5rem;
  }
  
  .description-text li {
    margin-bottom:0.3rem;
  }
  
  .description-text strong {
    color:var(--primary);
    font-weight:600;
  }
  
  .description-text em {
    font-style:italic;
    color:#555;
  }
  
  @media (max-width:768px) {
    .book-description {
    margin:0.8rem 0;
    padding:0.8rem;
  }
  
  .book-description h5 {
    font-size:0.9rem;
  }
  
  .description-text {
    font-size:0.85rem;
  }
  }
  
  .scroll-to-top-btn {
    position:fixed;
    bottom:20px;
    right:20px;
    width:50px;
    height:50px;
    border-radius:50%;
    background:var(--primary);
    color:white;
    border:none;
    cursor:pointer;
    font-size:1.2rem;
    box-shadow:rgba(0, 0, 0, 0.15) 0px 4px 12px;
    transition:all 0.3s ease;
    z-index:1000;
    opacity:0;
    visibility:hidden;
    transform:scale(1);
    display:flex;
    align-items:center;
    justify-content:center;
  }
  
  .scroll-to-top-btn:hover {
    transform:scale(1.1);
    background:var(--secondary);
    box-shadow:rgba(0, 0, 0, 0.25) 0px 6px 16px;
  }
  
  .scroll-to-top-btn.visible {
    opacity:1;
    visibility:visible;
  }
  
  .scroll-to-top-btn i {
    font-size:1.1rem;
  }
  
  @media (max-width:768px) {
    .scroll-to-top-btn {
    width:45px;
    height:45px;
    bottom:15px;
    right:15px;
    font-size:1.1rem;
  }
  
  .scroll-to-top-btn i {
    font-size:1rem;
  }
  }
  
  .announcement-content {
    font-family:var(--font-default);
    line-height:1.8;
    color:var(--dark);
  }
  
  .announcement-content .intro-text {
    font-size:1.1rem;
    font-weight:600;
    color:var(--primary);
    margin-bottom:2rem;
    padding:1.5rem;
    background:linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius:var(--radius);
    border-right:4px solid var(--secondary);
  }
  
  .procedures-container {
    margin:2rem 0;
  }
  
  .procedure-item {
    background:#fff;
    border-radius:var(--radius);
    padding:2rem;
    margin-bottom:2rem;
    box-shadow:var(--shadow);
    border:1px solid var(--light-border);
    transition:var(--transition);
  }
  
  .procedure-item:hover {
    box-shadow:var(--shadow-hover);
    transform:translateY(-2px);
  }
  
  .procedure-item h4 {
    color:var(--primary);
    font-size:1.3rem;
    font-weight:700;
    margin-bottom:1rem;
    display:flex;
    align-items:center;
    gap:0.5rem;
  }
  
  .procedure-item h4 i {
    color:var(--secondary);
    font-size:1.2rem;
  }
  
  .procedure-item p {
    margin-bottom:1rem;
    font-size:1rem;
    line-height:1.7;
  }
  
  .highlight-box {
    background:linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border:1px solid #ffc107;
    border-radius:10px;
    padding:1.5rem;
    margin:1.5rem 0;
    border-right:4px solid #ffc107;
  }
  
  .highlight-box p {
    margin:0;
    font-weight:600;
    color:#856404;
  }
  
  .highlight-box i {
    color:#ffc107;
    margin-left:0.5rem;
  }
  
  .steps-list {
    background:#f8f9fa;
    border-radius:10px;
    padding:1.5rem;
    margin:1rem 0;
    border-right:3px solid var(--secondary);
  }
  
  .steps-list li {
    margin-bottom:0.8rem;
    font-weight:500;
    color:var(--primary);
  }
  
  .requirements-box {
    background:linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border:1px solid #2196f3;
    border-radius:10px;
    padding:1.5rem;
    margin:1.5rem 0;
    border-right:4px solid #2196f3;
  }
  
  .requirements-box h5 {
    color:#1976d2;
    font-weight:700;
    margin-bottom:1rem;
    display:flex;
    align-items:center;
    gap:0.5rem;
  }
  
  .requirements-box h5 i {
    color:#2196f3;
  }
  
  .requirements-box ul {
    margin:0;
    padding-right:1.5rem;
  }
  
  .requirements-box li {
    margin-bottom:0.5rem;
    color:#1565c0;
    font-weight:500;
  }
  
  .facebook-link-section {
    background:linear-gradient(135deg, #1877f2 0%, #42a5f5 100%);
    border-radius:var(--radius);
    padding:2rem;
    margin:2rem 0;
    text-align:center;
    box-shadow:var(--shadow);
  }
  
  .facebook-link-section h4 {
    color:white;
    font-size:1.4rem;
    font-weight:700;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0.5rem;
  }
  
  .facebook-link-section h4 i {
    font-size:1.5rem;
  }
  
  .facebook-btn {
    background:white !important;
    color:#1877f2 !important;
    border:2px solid white !important;
    font-weight:700 !important;
    font-size:1.1rem !important;
    padding:1rem 2rem !important;
    border-radius:50px !important;
    display:inline-flex !important;
    align-items:center !important;
    gap:0.8rem !important;
    transition:var(--transition) !important;
    text-decoration:none !important;
    box-shadow:0 4px 15px rgba(0, 0, 0, 0.1) !important;
  }
  
  .facebook-btn:hover {
    background:#f0f2f5 !important;
    color:#1877f2 !important;
    transform:translateY(-2px) !important;
    box-shadow:0 8px 25px rgba(0, 0, 0, 0.15) !important;
  }
  
  .facebook-btn i {
    font-size:1.3rem !important;
  }
  
  .conclusion-section {
    background:linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius:var(--radius);
    padding:2rem;
    margin:2rem 0;
    border-right:4px solid var(--secondary);
  }
  
  .conclusion-section p {
    font-size:1.1rem;
    font-weight:600;
    color:var(--primary);
    margin-bottom:1.5rem;
  }
  
  .signature {
    background:white;
    border-radius:10px;
    padding:1.5rem;
    margin-top:1.5rem;
    border:1px solid var(--light-border);
    text-align:center;
  }
  
  .signature p {
    margin:0.5rem 0;
    color:var(--primary);
  }
  
  .signature p:first-child {
    font-size:1.2rem;
    font-weight:700;
    color:var(--secondary);
  }
  
  .important-announcement-header {
    background:linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color:white;
    border-radius:var(--radius);
    padding:2rem;
    margin-bottom:2rem;
    text-align:center;
    box-shadow:var(--shadow);
    border-right:4px solid #a71e2a;
  }
  
  .important-announcement-header h3 {
    font-size:1.8rem;
    font-weight:800;
    margin-bottom:1rem;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0.8rem;
  }
  
  .important-announcement-header h3 i {
    font-size:2rem;
    color:#ffc107;
    animation:pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% {
    transform:scale(1);
  }
  
  50% {
    transform:scale(1.1);
  }
  
  100% {
    transform:scale(1);
  }
  }
  
  .announcement-subtitle {
    font-size:1.2rem;
    font-weight:600;
    line-height:1.8;
    margin:0;
    opacity:0.95;
  }
  
  .visa-procedure-section {
    background:#fff;
    border-radius:var(--radius);
    padding:2rem;
    margin:2rem 0;
    box-shadow:var(--shadow);
    border:1px solid var(--light-border);
  }
  
  .visa-procedure-section h4 {
    color:var(--primary);
    font-size:1.4rem;
    font-weight:700;
    margin-bottom:1.5rem;
    display:flex;
    align-items:center;
    gap:0.8rem;
  }
  
  .visa-procedure-section h4 i {
    color:var(--secondary);
    font-size:1.3rem;
  }
  
  .steps-container {
    margin:2rem 0;
  }
  
  .step-item {
    display:flex;
    align-items:flex-start;
    gap:1.5rem;
    margin-bottom:2rem;
    padding:1.5rem;
    background:linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius:15px;
    border-right:4px solid var(--secondary);
    transition:var(--transition);
  }
  
  .step-item:hover {
    transform:translateX(-5px);
    box-shadow:var(--shadow-hover);
  }
  
  .step-number {
    background:var(--secondary);
    color:white;
    width:40px;
    height:40px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:1.2rem;
    flex-shrink:0;
    box-shadow:0 4px 15px rgba(219, 163, 39, 0.3);
  }
  
  .step-content {
    flex:1;
  }
  
  .step-content h5 {
    color:var(--primary);
    font-size:1.2rem;
    font-weight:700;
    margin-bottom:0.5rem;
  }
  
  .step-content p {
    color:var(--dark);
    font-size:1rem;
    line-height:1.6;
    margin:0;
  }
  
  .ministry-response {
    background:linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border:1px solid #28a745;
    border-radius:15px;
    padding:1.5rem;
    margin:2rem 0;
    border-right:4px solid #28a745;
    text-align:center;
  }
  
  .ministry-response p {
    margin:0;
    font-size:1.1rem;
    font-weight:600;
    color:#155724;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0.8rem;
  }
  
  .ministry-response i {
    color:#28a745;
    font-size:1.3rem;
  }
  
  @media (max-width:768px) {
    .announcement-content .intro-text {
    font-size:1rem;
    padding:1rem;
  }
  
  .procedure-item {
    padding:1.5rem;
  }
  
  .procedure-item h4 {
    font-size:1.2rem;
  }
  
  .facebook-link-section {
    padding:1.5rem;
  }
  
  .facebook-link-section h4 {
    font-size:1.2rem;
  }
  
  /* تحسين نوافذ الأخبار المنبثقة للشاشات الصغيرة */
  .modal-content {
    max-width: 95vw;
    width: 95vw;
    max-height: 95vh;
    padding: 1.5rem;
    margin: 2.5vh auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }
  
  .modal-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }
  
  .modal-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .news-meta-modal {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  #news-modal .news-meta-modal {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
  }
  
  .news-content-modal {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  #news-modal .news-content-modal {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
  #news-modal #modal-news-body {
    font-size: 0.75rem;
    line-height: 1.3;
    overflow-x: hidden;
    word-wrap: break-word;
  }
  
  #news-modal #modal-news-body p {
    margin-bottom: 0.3rem;
    line-height: 1.3;
    font-size: 0.75rem;
  }
  
  #news-modal #modal-news-body > *:first-child {
    margin-top: 0;
  }
  
  #news-modal #modal-news-body > *:last-child {
    margin-bottom: 0;
  }
  
  #news-modal #modal-news-body h4 {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    margin-bottom: 0.15rem;
    line-height: 1.25;
  }
  
  #news-modal #modal-news-body ul li {
    margin-bottom: 0.15rem;
    gap: 4px;
    font-size: 0.75rem;
    line-height: 1.3;
  }
  
  #news-modal #modal-news-body ul li i {
    margin-top: 1px;
    font-size: 0.7rem;
  }
  
  #news-modal .action-buttons {
    margin-top: 0.4rem;
  }
  
  #news-modal .action-buttons .btn {
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
  }
  
  #news-modal .modal-close {
    top: 10px;
    left: 10px;
    font-size: 1.5rem;
    width: 28px;
    height: 28px;
  }
  
  .action-buttons {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .action-buttons .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
  }
  
  .modal-close {
    top: 10px;
    right: 10px;
    left: auto;
    width: 35px;
    height: 35px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* تحسين النوافذ المنبثقة للشاشات المتوسطة */
  @media (min-width: 769px) and (max-width: 1024px) {
    .modal-content {
      max-width: 85vw;
      width: 85vw;
      max-height: 90vh;
      padding: 2rem;
      margin: 5vh auto;
    }
    
    .modal-content h2 {
      font-size: 1.6rem;
    }
    
    .modal-content p {
      font-size: 1rem;
    }
    
    .news-meta-modal {
      font-size: 0.9rem;
    }
    
    .news-content-modal {
      font-size: 1rem;
    }
    
    .action-buttons {
      flex-direction: row;
      gap: 1rem;
    }
    
    .action-buttons .btn {
      flex: 1;
      max-width: 200px;
    }
  }
  
  .facebook-btn {
    font-size:1rem !important;
    padding:0.8rem 1.5rem !important;
  }
  
  .conclusion-section {
    padding:1.5rem;
  }
  
  .important-announcement-header {
    padding:1.5rem;
  }
  
  .important-announcement-header h3 {
    font-size:1.5rem;
  }
  
  .announcement-subtitle {
    font-size:1.1rem;
  }
  
  .visa-procedure-section {
    padding:1.5rem;
  }
  
  .step-item {
    flex-direction:column;
    text-align:center;
    gap:1rem;
  }
  
  .step-number {
    align-self:center;
  }
  }

/* ===================================================================
   تنسيقات إعلان منح جامعة الأزهر الشريف
   =================================================================== */

.scholarship-announcement-content {
  font-family: var(--font-default);
  line-height: 1.8;
  color: var(--dark);
  max-width: 100%;
  margin: 0 auto;
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.scholarship-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  color: var(--light);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scholarship-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.scholarship-logo {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.scholarship-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.announcement-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.scholarship-intro {
  padding: 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 3px solid var(--secondary);
}

.intro-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  text-align: center;
  margin: 0;
}

.scholarship-requirements {
  padding: 2rem;
  background: var(--light);
}

.scholarship-requirements h4 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: var(--radius);
  border: 2px solid var(--light-border);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.requirement-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary);
}

.requirement-icon {
  background: var(--gold-gradient);
  color: var(--light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(219, 163, 39, 0.3);
}

.requirement-content h5 {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.requirement-content p {
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

.application-period {
  padding: 2rem;
  background: linear-gradient(135deg, var(--secondary) 0%, #B8860B 100%);
  color: var(--light);
  text-align: center;
}

.application-period h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.period-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.period-dates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.period-duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.application-steps {
  padding: 2rem;
  background: var(--light);
}

.application-steps h4 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: var(--radius);
  border: 2px solid var(--light-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-gradient);
  transition: all 0.3s ease;
}

.step-item:hover {
  transform: translateX(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary);
}

.step-item:hover::before {
  width: 8px;
}

.step-number {
  background: var(--gold-gradient);
  color: var(--light);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(219, 163, 39, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.step-content {
  flex: 1;
}

.step-content h5 {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-content p {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.step-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.step-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem;
  background: rgba(219, 163, 39, 0.1);
  border-radius: 8px;
  border-right: 4px solid var(--secondary);
  font-size: 0.9rem;
  color: var(--primary);
}

.email-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  border: 2px solid var(--light-border);
  margin-bottom: 1rem;
}

.email-address {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: var(--primary);
  flex: 1;
}

.copy-email-btn {
  background: var(--secondary);
  color: var(--light);
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-email-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.important-notes {
  padding: 2rem;
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-top: 3px solid var(--warning);
}

.important-notes h4 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.note-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  border-right: 4px solid var(--warning);
  font-weight: 500;
  color: var(--primary);
}

.note-item i {
  color: var(--success);
  font-size: 1.1rem;
}

.scholarship-footer {
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  color: var(--light);
  text-align: center;
}

.wish-section {
  margin-bottom: 2rem;
}

.wish-text {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  opacity: 0.9;
}

.contact-info h5 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-info p {
  margin: 0.5rem 0;
  opacity: 0.9;
}

/* تنسيقات متجاوبة */
@media (max-width: 768px) {
  .scholarship-title {
    font-size: 1.4rem;
  }
  
  .requirements-grid {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-number {
    align-self: center;
  }
  
  .period-dates {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .notes-grid {
    grid-template-columns: 1fr;
  }
  
  .step-btn {
    width: 100%;
    justify-content: center;
  }
  
  .email-box {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem;
    text-align: center;
  }
  
  .email-address {
    font-size: 0.9rem;
    word-break: break-all;
    line-height: 1.4;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    border: 1px solid var(--light-border);
    min-width: 0;
    overflow-wrap: break-word;
  }
  
  .copy-email-btn {
    align-self: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* تنسيقات للشاشات الصغيرة جداً */
@media (max-width: 480px) {
  .email-box {
    padding: 1rem;
    gap: 0.6rem;
  }
  
  .email-address {
    font-size: 0.8rem;
    padding: 0.4rem;
    word-break: break-all;
    hyphens: auto;
  }
  
  .copy-email-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .step-content h5 {
    font-size: 1.1rem;
  }
  
  .step-content p {
    font-size: 0.9rem;
  }
}

/* تنسيقات فئات متطلبات جامعة الأزهر */
.requirements-category {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border-right: 4px solid var(--secondary);
}

.requirements-category h5 {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.requirements-category h5 i {
  color: var(--secondary);
  font-size: 1.1rem;
}

.important-note {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 2px solid var(--warning);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.important-note p {
  margin: 0;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .requirements-category {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .requirements-category h5 {
    font-size: 1.1rem;
  }
  
  .important-note {
    padding: 1rem;
  }
}

/* تنسيقات إعلانات الدورات التدريبية */
.announcement-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.announcement-box h5 {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.announcement-box h5 i {
  color: var(--secondary);
  font-size: 1.2rem;
}

.announcement-box p {
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .announcement-box {
    padding: 1.5rem;
  }
  
  .announcement-box h5 {
    font-size: 1.2rem;
  }
}

/* تنسيقات شبكة المنح الدراسية */
.scholarship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.scholarship-item {
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  border: 2px solid var(--success);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.scholarship-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scholarship-item .percentage {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.scholarship-item .benefit {
  display: block;
  color: var(--success);
  font-weight: 600;
  font-size: 0.95rem;
}

/* تنسيقات شبكة دعم المتفوقين */
.excellence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.excellence-item {
  background: linear-gradient(135deg, #fff3e0 0%, #ffcc80 100%);
  border: 2px solid var(--warning);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.excellence-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.excellence-item .rank {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.excellence-item .benefit {
  display: block;
  color: var(--warning);
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .scholarship-grid,
  .excellence-grid {
    grid-template-columns: 1fr;
  }
  
  .scholarship-item,
  .excellence-item {
    padding: 0.8rem;
  }
}

/* ========================================
   Student Search Styles - Beautiful Design
   ======================================== */
.students-search-container {
  margin: 2.5rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(219, 163, 39, 0.2);
  position: relative;
  overflow: hidden;
}

.students-search-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  border-radius: 20px 20px 0 0;
}

.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-box i.fas.fa-search {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary);
  font-size: 1.2rem;
  z-index: 2;
}

.search-box input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border: 2px solid transparent;
  border-radius: 15px;
  font-size: 1.1rem;
  font-family: var(--font-default);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: var(--dark);
}

.search-box input::placeholder {
  color: #a0a0a0;
  font-weight: 400;
}

.search-box input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(219, 163, 39, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.clear-btn {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(238, 90, 82, 0.3);
}

.clear-btn:hover {
  background: linear-gradient(135deg, #ee5a52 0%, #dc4c48 100%);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(238, 90, 82, 0.4);
}

.clear-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.search-stats {
  text-align: center;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(219, 163, 39, 0.1) 0%, rgba(219, 163, 39, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(219, 163, 39, 0.2);
  margin-bottom: 1rem;
}

.search-help {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0.05) 100%);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 1rem;
  text-align: center;
}

.search-help small {
  color: #1976d2;
  font-size: 0.85rem;
  line-height: 1.4;
}

.search-help i {
  color: #ff9800;
  margin-left: 5px;
}

.students-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 15px;
  margin-top: 2rem;
  max-height: 450px;
  overflow-y: auto;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border: 1px solid rgba(219, 163, 39, 0.1);
  position: relative;
}

.students-list::-webkit-scrollbar {
  width: 8px;
}

.students-list::-webkit-scrollbar-track {
  background: rgba(219, 163, 39, 0.1);
  border-radius: 10px;
}

.students-list::-webkit-scrollbar-thumb {
  background: var(--gold-gradient);
  border-radius: 10px;
}

.students-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #B8860B 0%, #dba327 100%);
}

.student-item {
  padding: 16px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  border: 1px solid rgba(219, 163, 39, 0.15);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.student-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.student-item:hover::before {
  left: 100%;
}

.student-item:hover {
  background: var(--gold-gradient);
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(219, 163, 39, 0.3);
  border-color: transparent;
}

.student-item:active {
  transform: translateY(-1px) scale(1.01);
}

/* تمييز النص المطابق في البحث */
.search-highlight {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: var(--dark);
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(255, 215, 0, 0.3);
  animation: highlightPulse 0.3s ease-in-out;
}

@keyframes highlightPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* News Content Enhancement */
.news-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(219, 163, 39, 0.1);
}

.news-header {
  background: var(--gold-gradient);
  padding: 2rem;
  text-align: center;
  position: relative;
}

.news-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.news-header h3 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.news-content-section {
  padding: 2.5rem;
}

.news-content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 2rem;
  font-weight: 500;
}

.announcement-footer {
  background: linear-gradient(135deg, rgba(219, 163, 39, 0.05) 0%, rgba(219, 163, 39, 0.02) 100%);
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(219, 163, 39, 0.1);
  text-align: center;
}

.announcement-footer p {
  margin: 0.5rem 0;
  color: var(--secondary);
  font-weight: 600;
}

/* Responsive for student search */
@media (max-width: 768px) {
  .students-list {
    grid-template-columns: 1fr;
    max-height: 350px;
    padding: 15px;
    gap: 12px;
  }
  
  .search-box input {
    font-size: 16px;
    padding: 14px 45px 14px 18px;
  }
  
  .students-search-container {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .news-content-section {
    padding: 1.5rem;
  }
  
  .news-header {
    padding: 1.5rem;
  }
  
  .news-header h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .student-item {
    padding: 14px 16px;
    font-size: 0.95rem;
  }
  
  .search-box input {
    padding: 12px 40px 12px 16px;
  }
}

/* Secondary Navigation Bar */
.secondary-nav {
  background: #0d3456;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #000;
}

.secondary-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  width: 92%;
}

.secondary-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.95rem;
}

.secondary-nav-link:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

.secondary-dropdown {
  position: relative;
}

.secondary-dropdown-toggle {
  cursor: pointer;
}

.secondary-dropdown-toggle .dropdown-icon {
  font-size: 0.8rem;
  transition: var(--transition);
  margin-right: 0.3rem;
}

.secondary-dropdown.active .secondary-dropdown-toggle .dropdown-icon {
  transform: rotate(180deg);
}

.secondary-dropdown-content {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  border: 1px solid #eee;
  padding: 10px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.secondary-dropdown.active .secondary-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.secondary-dropdown-content a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: var(--dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.secondary-dropdown-content a i {
  color: var(--secondary);
  width: 20px;
  text-align: center;
}

.secondary-dropdown-content a:hover {
  background: var(--light-gray);
  color: var(--primary);
  transform: translateX(-3px);
}

/* Adjust header position to be below secondary nav initially */
header {
  top: 45px;
  z-index: 1000;
  transition: top 0.3s ease;
}

/* When secondary nav is scrolled past, header moves to top */
header.header-at-top {
  top: 0 !important;
}

/* Adjust padding for secondary nav */
.page-hero {
  padding-top: 12rem !important;
}

/* Responsive for Secondary Nav */
@media (max-width: 768px) {
  .secondary-nav {
    top: 0;
    height: 40px;
  }
  
  header {
    top: 40px;
  }
  
  header.header-at-top {
    top: 0 !important;
  }
  
  .secondary-nav-container {
    gap: 0.5rem;
  }
  
  .secondary-nav-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }
  
  .secondary-nav-link span {
    display: none;
  }
  
  .secondary-nav-link i {
    font-size: 1.2rem;
  }
  
  .secondary-dropdown-content {
    right: 0;
    left: auto;
  }
}

@media (max-width: 480px) {
  .secondary-nav-container {
    gap: 0.3rem;
  }
  
  .secondary-nav-link {
    padding: 0.3rem 0.4rem;
  }
  
  /* ============================================
     تحسينات شاملة لتجربة الجوال
     ============================================ */
  
  /* تحسين النوافذ المنبثقة على الجوال */
  .modal-content {
    width: 95% !important;
    max-width: 95% !important;
    padding: 1.5rem !important;
    max-height: 90vh !important;
    margin: 2.5vh auto !important;
    border-radius: 15px !important;
  }
  
  .modal-close {
    font-size: 2.5rem !important;
    top: 10px !important;
    left: 10px !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
  }
  
  .modal-close:hover {
    background: rgba(0, 0, 0, 0.2) !important;
    transform: scale(1.1) !important;
  }
  
  .modal-content h2,
  #modal-title,
  #modal-news-title,
  #modal-scholarship-title,
  #modal-protocol-title {
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
    word-wrap: break-word !important;
  }
  
  .modal-content p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
  }
  
  /* تحسين الأزرار على الجوال */
  .btn,
  .hero-btn,
  .btn-primary,
  .btn-secondary,
  .btn-details {
    min-height: 44px !important; /* touch target مناسب */
    padding: 12px 24px !important;
    font-size: 1rem !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(219, 163, 39, 0.3) !important;
  }
  
  .action-buttons {
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }
  
  .action-buttons .btn {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* تحسين الاختصاصات على الجوال */
  .specializations-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 0 0.5rem !important;
  }
  
  .spec-card {
    padding: 1.5rem 1rem !important;
  }
  
  .spec-card .icon {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .spec-card h3 {
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }
  
  .spec-card p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  
  /* تحسين قسم الأخبار على الجوال */
  .news-card {
    margin: 0 0.5rem !important;
  }
  
  .news-card .news-content {
    padding: 1rem !important;
  }
  
  .news-card .news-title {
    font-size: 1.1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }
  
  .news-card .btn-read-more {
    min-height: 44px !important;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
  }
  
  /* تحسين القوائم المنسدلة على الجوال */
  .secondary-dropdown-content {
    right: 0 !important;
    left: auto !important;
    min-width: 200px !important;
    max-width: 90vw !important;
  }
  
  .secondary-dropdown-content a {
    padding: 14px 16px !important;
    font-size: 0.95rem !important;
    min-height: 44px !important;
  }
  
  /* تحسين النصوص الطويلة */
  .speech-content,
  .transaction-body p,
  .spec-card p,
  .news-content p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }
  
  /* تحسين الصور على الجوال */
  .counselor-image img,
  .news-image img,
  .spec-card img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* تحسين الجداول (إن وجدت) */
  table {
    width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* تحسين التباعد العام */
  .section {
    padding: 2rem 0.5rem !important;
  }
  
  .container {
    padding: 0 1rem !important;
  }
  
  /* تحسين العناوين على الجوال */
  .section-title h2 {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    padding: 0 0.5rem !important;
  }
  
  .section-title p {
    font-size: 0.95rem !important;
    padding: 0 0.5rem !important;
  }
  
  /* تحسين الأيقونات */
  .icon,
  .spec-card .icon,
  .transaction-header .icon {
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* تحسين التمرير السلس */
  .modal-content,
  .news-carousel-container,
  .transactions-grid {
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
  }
  
  /* تحسين التفاعل مع اللمس */
  * {
    -webkit-tap-highlight-color: rgba(219, 163, 39, 0.2) !important;
  }
  
  button,
  a,
  .btn,
  .transaction-card,
  .spec-card {
    touch-action: manipulation !important;
  }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 1.8rem !important;
  }
  
  .page-hero p {
    font-size: 0.95rem !important;
  }
  
  .section-title h2 {
    font-size: 1.5rem !important;
  }
  
  .transaction-header h3 {
    font-size: 1rem !important;
  }
  
  .spec-card h3 {
    font-size: 1.1rem !important;
  }
  
  .modal-content {
    padding: 1rem !important;
  }
  
  .modal-content h2 {
    font-size: 1.2rem !important;
  }
  
  .counselor-image {
    max-width: 250px !important;
  }
  
  .speech-content p {
    font-size: 0.9rem !important;
  }
}
  
  