@import "../../fonts/Cairo/stylesheet.css";

* {
    font-family: 'Cairo', sans-serif;

}


html {
    scroll-padding-top: 100px; /* Adjust the value for your needs */
}


/* =====================================================
   جامعة العين - Al-Ain University
   Main Stylesheet with RTL Support
   ===================================================== */

/* ===========================================
   CSS VARIABLES (Global Design Tokens)
   =========================================== */
:root {
    /* Primary Colors */
    --primary-dark: #002147;
    --primary-gold: #c9a227;
    --primary-light: #003366;

    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #f8f9fa;
    --text-gray: #666666;
    --text-dark: #333333;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;

    /* Shadows */
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 15px rgba(201, 162, 39, 0.3);

    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-full: 50px;

    /* Spacing */
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;

    --college-primary: #002147;
    --college-gold: #D4AF37;
    --college-gold-light: rgba(212, 175, 55, 0.15);
    --college-gold-hover: #B8860B;
    --college-color-from-CMS: rgba(71, 25, 90, 0.72);




}

/* ===========================================
   RESET & BASE STYLES
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: var(--light-gray);
    line-height: 1.6;
    color: var(--text-dark);
}



#main {

    box-shadow: inset 0 0 19px 5px #91919196;
}


/* ===========================================
   GLOBAL UTILITY CLASSES
   =========================================== */
/* Flexbox Utilities */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Section Title Line (Gold Underline) */
.news-title-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =====================================================
   SPLASH SCREEN
   ===================================================== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s;
}


.anim-box {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}


.tech-arc-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: #003366;

    border-right-color: #003366;
    border-radius: 50%;
    animation: spinFast 2s linear infinite;
}


.tech-arc-2 {
    position: absolute;
    width: 80%;
    height: 80%;
    border: 4px solid transparent;
    border-bottom-color: #d4af37;

    border-left-color: #d4af37;
    border-radius: 50%;
    animation: spinSlow 3s linear infinite reverse;
}


.tech-arc-3 {
    position: absolute;
    width: 60%;
    height: 60%;
    border: 2px solid transparent;
    border-top-color: #003366;
    border-radius: 50%;
    opacity: 0.5;
    animation: spinFast 1.5s linear infinite;
}


.logo-img {
    width: 200px;
    height: auto;
    z-index: 10;
    animation: blurReveal 2s ease-out forwards;
}



@keyframes spinFast {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinSlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes blurReveal {
    0% {
        filter: blur(10px);
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        filter: blur(0);
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.hidden {
    opacity: 0;
    visibility: hidden;
}

/* =====================================================
   NAVBAR 1 - Top Bar
   ===================================================== */
.navbar-top {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-top .container {
    flex-wrap: wrap;
}

.top-right,
.top-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.3);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.social-icons a:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    transform: translateY(-3px) scale(1.1);
}

/* E-System Button */
.e-system-btn {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
}

.e-system-btn i {
    color: var(--primary-gold);
    font-size: 14px;
    padding: 0 5px;
    transition: var(--transition);
}

.e-system-btn:hover {
    background: linear-gradient(135deg, #B8860B 0%, var(--primary-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.5);
    color: var(--white);
}

.e-system-btn:hover i {
    color: var(--white);
}

/* Contact Info */
.contact-info {
    display: flex;
    gap: 25px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-gold);
}

.contact-info i {
    font-size: 14px;
    color: var(--primary-gold);
}

/* ===========================================
   NAVBAR 2 - Middle Bar (Logo Section)
   =========================================== */
.navbar-middle {
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23003062' stroke-opacity='0.07' stroke-width='1'%3E%3Cpath d='M0 40L40 0M0 0L40 40'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 20px 20px;
    background-repeat: repeat;
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    flex-shrink: 0;
}

.logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 33, 71, 0.3);
    transition: var(--transition);
}

.logo-icon:hover {
    transform: rotate(360deg);
    box-shadow: 0 6px 20px rgba(0, 33, 71, 0.4);
}

.logo-icon i {
    font-size: 32px;
    color: var(--primary-gold);
}

.university-name h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 2px;
    line-height: 1.2;
}

.university-name p {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Search Section */
.search-section {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.search-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    transform: scale(1.1);
}

.search-box {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    background: var(--white);
    border: 2px solid var(--primary-dark);
    border-radius: 30px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    width: 0;
    transition: var(--transition);
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    width: 300px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    direction: rtl;
}

.search-box button {
    padding: 12px 20px;
    background: var(--primary-dark);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===========================================
   NAVBAR 3 - Main Navigation
   =========================================== */
.navbar-main {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    position: relative;
    z-index: 999;
}

.navbar-main .container {
    justify-content: center;
}

.main-menu {
    display: flex;
    list-style: none;
    margin-bottom: 0;
}

.main-menu>li {
    position: relative;

}

.main-menu>li>a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px;
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;

}

.main-menu>li>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.main-menu>li:hover>a::before,
.main-menu>li.active>a::before {
    width: 100%;
}

.main-menu>li:hover>a {
    color: var(--primary-gold);
}

.main-menu>li>a i {
    font-size: 10px;
    transition: var(--transition);
}

.main-menu>li:hover>a i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--white);
    list-style: none;
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    /*overflow: hidden;*/
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 14px 20px;
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--primary-gold);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    padding-right: 30px;
    color: var(--primary-dark);
    background: rgba(201, 162, 39, 0.1);
}

.dropdown-menu a:hover::before {
    width: 4px;
}

/* =====================================================
   MEGA MENU - Colleges Dropdown
   ===================================================== */
.has-mega-menu {
    position: static !important;
}

.has-mega-menu>a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 25px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.has-mega-menu>a::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.has-mega-menu:hover>a::before {
    width: 100%;
}

.has-mega-menu:hover>a {
    color: var(--primary-gold);
}

.has-mega-menu>a i {
    font-size: 10px;
    transition: var(--transition);
}

.has-mega-menu:hover>a i {
    transform: rotate(180deg);
}

/* Mega Menu Container */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    min-width: 950px;
    background: var(--white);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 20px 50px rgba(0, 33, 71, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    z-index: 1001;
    overflow: visible;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega Menu Columns */
.mega-column {
    padding: 25px 20px;
    border-left: 1px solid rgba(0, 33, 71, 0.08);
}

.mega-column:last-child {
    border-left: none;
}

.mega-column-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-gold);
}

.mega-column-title i {
    font-size: 18px;
    color: var(--primary-gold);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 8px;
}

/* Mega List Items */
.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-list>li {
    position: relative;
    margin-bottom: 5px;
}

.mega-list>li>a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mega-list>li>a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.15) 0%, transparent 100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.mega-list>li>a:hover::before {
    width: 100%;
}

.mega-list>li>a>i:first-child {
    font-size: 16px;
    color: var(--primary-gold);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 33, 71, 0.08);
    border-radius: 6px;
    transition: var(--transition);
}

.mega-list>li>a:hover>i:first-child {
    background: var(--primary-gold);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.mega-list>li>a .sub-arrow {
    margin-right: auto;
    font-size: 10px;
    color: #999;
    transition: var(--transition);
}

.mega-list>li:hover>a .sub-arrow {
    color: var(--primary-gold);
    transform: translateX(5px);
}

/* Sub Dropdown (Departments) */
.sub-dropdown {
    position: absolute;
    right: calc(100% + 10px);
    top: 0;
    min-width: 280px;
    max-width: 350px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 33, 71, 0.25);
    list-style: none;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
    z-index: 1050;
    max-height: 400px;
}

.sub-dropdown::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 15px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid var(--white);
}

  .dropend.has-sub-dropdown:hover  .sub-sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}


.mega-list .has-sub-dropdown:hover  .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sub-dropdown li a::before {
    content: '◂';
    font-size: 8px;
    color: var(--primary-gold);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.sub-dropdown li a:hover {
    background: rgba(201, 162, 39, 0.1);
    padding-right: 25px;
}

.sub-dropdown li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Mega Menu Responsive */
@media (max-width: 1100px) {
    .mega-menu {
        min-width: 800px;
    }
}

@media (max-width: 992px) {
    .has-mega-menu {
        position: relative !important;
    }

    .mega-menu {
        position: static;
        display: none;
        grid-template-columns: 1fr;
        min-width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .has-mega-menu.active .mega-menu {
        display: block;
        max-height: 2000px;
    }

    .mega-column {
        border-left: none;
        border-bottom: 1px solid rgba(0, 33, 71, 0.1);
        padding: 15px;
    }

    .sub-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding-right: 20px;
        max-height: 0;
        /*overflow: hidden;*/
        transition: max-height 0.3s ease;
    }

    .sub-dropdown::before {
        display: none;
    }

    .has-sub-dropdown.active .sub-dropdown {
        max-height: 500px;
    }
}

/* =====================================================
   Hero Section with Video Background
   ===================================================== */
.hero-section {
    position: relative;
    height: 75vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-dark);
}

/* Video Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 33, 71, 0.6) 0%, rgb(0 33 71 / 50%) 50%, rgb(0 33 71 / 70%) 100%);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    color: var(--white);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 26px;
    font-weight: 500;
    color: #D4AF37;
    margin-bottom: 40px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Hero Buttons */
.hero-buttons {
    /*max-width: 60%;*/
    margin: 0 auto;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: var(--white);
    border: 2px solid #D4AF37;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8860B 0%, #D4AF37 100%);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Statistics Bar */
.hero-stats {
    position: absolute;
    bottom: 80px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: transparent !important;
    border-radius: 15px;
    padding: 25px 40px;
    z-index: 3;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.9s both;
    max-width: 95%;
    width: auto;
}

.stat-item {
    text-align: center;
    padding: 0 25px;
    min-width: 120px;
    flex-shrink: 0;
}

.stat-item i {
    font-size: 28px;
    color: #D4AF37;
    margin-bottom: 8px;
    display: block;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.stat-number::before {
    content: '+';
    font-size: 20px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg,
    transparent 0%,
    rgba(212, 175, 55, 0.6) 50%,
    transparent 100%);
    flex-shrink: 0;
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    font-size: 24px;
    text-decoration: none;
    animation: bounce 2s ease-in-out infinite;
    transition: var(--transition);
}

.scroll-arrow:hover {
    color: #D4AF37;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-15px);
    }

    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1200px) {
    .main-menu>li>a {
        padding: 18px 18px;
        font-size: 14px;
    }

    /* Top Bar */
    .navbar-top .container {
        flex-direction: column;
        gap: 10px;
    }

    .top-right,
    .top-left {
        justify-content: center;
    }
}

@media (max-width: 1300px) {


    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Main Menu */
    .navbar-main .container {
        justify-content: center;
    }

    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 0 30px;
        gap: 0;
        box-shadow: var(--shadow-hover);
        transition: var(--transition);
        overflow-y: auto;
        z-index: 1000;
    }

    .main-menu.active {
        right: 0;
    }

    .main-menu>li>a {
        color: var(--primary-dark);
        padding: 15px 25px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-menu>li>a::before {
        display: none;
    }

    .main-menu>li:hover>a {
        background: rgba(0, 33, 71, 0.05);
        color: var(--primary-gold);
    }

    /* Dropdown in Mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        max-height: 0;
        /*overflow: hidden;*/
        background: var(--light-gray);
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu a {
        padding-right: 40px;
    }

    /* Search Box */
    .search-box {
        left: auto;
        right: 0;
    }

    .search-box.active {
        width: 250px;
    }
}

@media (max-width: 576px) {

    /* Logo Section */
    .logo-icon {
        width: 55px;
        height: 55px;
    }

    .logo-icon i {
        font-size: 24px;
    }

    .university-name h1 {
        font-size: 22px;
    }

    .university-name p {
        font-size: 12px;
    }

    /* Contact Info */
    .contact-info {
        flex-direction: column;
        gap: 8px;
    }

    .contact-info a span {
        font-size: 12px;
    }

    /* Hero - Mobile */
    .hero-section {
        min-height: 100vh;
    }

    /* .hero-video {
        display: none;
    } */

    /* .hero-fallback-image {
        display: block;
    } */

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
        bottom: 60px;
        width: 90%;
        max-width: 350px;
    }

    .stat-item {
        padding: 10px 0;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
    }

    .stat-item i {
        font-size: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .scroll-arrow {
        bottom: 10px;
    }

    /* Search */
    .search-box.active {
        width: 200px;
    }

    /* Social Icons */
    .social-icons a {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Tablet Responsive for Hero */
@media (max-width: 992px) and (min-width: 577px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-stats {
        padding: 20px 30px;
    }

    .stat-item {
        padding: 0 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-item i {
        font-size: 26px;
    }
}

/* =====================================================
   Overlay for Mobile Menu
   ===================================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    z-index: 995;
}

/* =====================================================
   About Section
   ===================================================== */
.about-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, #ffffff 100%);
    overflow: hidden;
}

.about-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(0, 33, 71, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23002147' fill-opacity='0.03'%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.5;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Header */
.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
    position: relative;
}

.title-underline {
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37 0%, #B8860B 100%);
    border-radius: 2px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    right: 90px;
    top: 0;
    width: 20px;
    height: 4px;
    background: #D4AF37;
    border-radius: 2px;
}

/* About Intro */
.about-intro {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 35px;
}

/* Tabs */
.about-tabs {
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 15px;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.4s ease;
}

.tab-btn:hover {
    color: var(--primary-dark);
    background: rgba(0, 33, 71, 0.05);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(0, 33, 71, 0.3);
}

.tab-btn i {
    font-size: 16px;
}

/* Tab Contents */
.tab-contents {
    min-height: 200px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* .tab-icon {
    font-size: 48px;
    margin-bottom: 15px;
} */

.tab-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.tab-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Goals List */
.goals-list {
    list-style: none;
    padding: 0;
}

.goals-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.5s ease forwards;
}

.goals-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.goals-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.goals-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.goals-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.goals-list li:last-child {
    border-bottom: none;
}

.goals-list i {
    color: #D4AF37;
    font-size: 18px;
}

/* About Media */
.about-media {
    position: relative;
}

.media-wrapper {
    position: relative;
}

.media-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-frame:hover .about-image {
    transform: scale(1.05);
}

/* .media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 33, 71, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.media-frame:hover .media-overlay {
    opacity: 1;
} */

.play-btn {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    text-decoration: none;
    transform: scale(0.8);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.media-frame:hover .play-btn {
    transform: scale(1);
}

.play-btn i {
    margin-right: -5px;
}

/* Experience Badge */
.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 25px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 33, 71, 0.4);
    z-index: 2;
}

.badge-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #D4AF37;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 13px;
    color: var(--white);
    margin-top: 5px;
}

/* Achievement Cards */
.achievement-cards {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

.achievement-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: rgba(212, 175, 55, 0.3);
}

.achievement-card i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #D4AF37;
}

.achievement-info {
    display: flex;
    flex-direction: column;
}

.achievement-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.achievement-number::before {
    content: '+';
    font-size: 20px;
    margin-left: 3px;
}

.achievement-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 3px;
}

/* Scroll Reveal Animations */
.reveal-right,
.reveal-left {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right.revealed,
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
    order: 2;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive About Section */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }

    .about-media {
        order: -1;
    }

    .section-title {
        font-size: 34px;
    }

    .experience-badge {
        bottom: -20px;
        left: auto;
        right: 20px;
        padding: 20px 25px;
    }

    .badge-number {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        padding: 12px 15px;
    }

    .about-image {
        height: 300px;
    }

    .achievement-cards {
        flex-direction: column;
    }

    /* .experience-badge {
        position: static;
        margin-top: 20px;
        display: inline-block;
    } */
}

/* =====================================================
   President's Message - Open Book Design
   ===================================================== */
.president-book-section {
    padding: 100px 0;
    background: #F5F5F5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.president-book-section .container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
}

.open-book {
    position: relative;
    display: flex;
    background: transparent;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.open-book:hover {
    transform: translateY(-10px);
}

/* Book Pages */
.book-page {
    position: relative;
    width: 450px;
    min-height: 550px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    padding: 50px 45px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.book-page.page-right {
    border-radius: 5px 0 0 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #fefefe 0%, #f8f8f8 100%);
}

.book-page.page-left {
    border-radius: 0 5px 5px 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fefefe 100%);
}

/* Book Fold */
.book-fold {
    position: relative;
    width: 25px;
    background: linear-gradient(90deg,
    #e8e8e8 0%,
    #f5f5f5 15%,
    #ffffff 50%,
    #f5f5f5 85%,
    #e8e8e8 100%);
    box-shadow:
        inset 3px 0 8px rgba(0, 0, 0, 0.08),
        inset -3px 0 8px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.book-fold::before,
.book-fold::after {
    content: '';
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
}

.book-fold::before {
    left: 0;
    background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 20%,
    rgba(0, 0, 0, 0.08) 80%,
    transparent 100%);
}

.book-fold::after {
    right: 0;
    background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 20%,
    rgba(0, 0, 0, 0.08) 80%,
    transparent 100%);
}

/* Book Shadow */
.book-shadow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, transparent 70%);
    filter: blur(10px);
    z-index: -1;
}

/* President Photo Frame */
.president-photo-frame {
    width: 220px;
    height: 220px;
    padding: 8px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 50%, #D4AF37 100%);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    margin-bottom: 30px;
}

.president-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

/* President Info */
.president-info {
    text-align: center;
}

.president-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.president-title {
    font-size: 16px;
    color: #D4AF37;
    font-weight: 600;
}

/* Message Title */
.message-title {
    position: relative;
    font-size: 32px;
    font-weight: 800;
    color: #002147;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #D4AF37;
}

.quote-mark {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 50px;
    color: rgba(212, 175, 55, 0.2);
    z-index: 0;
}

/* Message Content */
.message-content {
    position: relative;
    z-index: 1;
}

.message-content p {
    font-size: 16px;
    line-height: 2;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.message-content p:last-child {
    margin-bottom: 30px;
}

/* Signature */
.message-signature {
    text-align: left;
    margin-top: auto;
}

.signature-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37 0%, transparent 100%);
    margin-bottom: 10px;
}

.message-signature span {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* Animation */
@keyframes fadeInBook {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Open Book */
@media (max-width: 992px) {
    .book-page {
        width: 380px;
        min-height: 500px;
        padding: 40px 35px;
    }

    .president-photo-frame {
        width: 180px;
        height: 180px;
    }

    .president-name {
        font-size: 22px;
    }

    .message-title {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .president-book-section {
        padding: 60px 20px;
    }

    .open-book {
        flex-direction: column;
        max-width: 400px;
    }

    .book-page {
        width: 100%;
        min-height: auto;
        border-radius: 5px;
    }

    .book-page.page-right {
        border-radius: 5px 5px 0 0;
        padding: 40px 30px;
    }

    .book-page.page-left {
        border-radius: 0 0 5px 5px;
        padding: 40px 30px;
    }

    .book-fold {
        width: 100%;
        height: 15px;
        background: linear-gradient(180deg,
        #e8e8e8 0%,
        #f5f5f5 15%,
        #ffffff 50%,
        #f5f5f5 85%,
        #e8e8e8 100%);
        box-shadow:
            inset 0 3px 8px rgba(0, 0, 0, 0.08),
            inset 0 -3px 8px rgba(0, 0, 0, 0.08);
    }

    .book-fold::before,
    .book-fold::after {
        display: none;
    }

    .president-photo-frame {
        width: 160px;
        height: 160px;
    }

    .message-title {
        font-size: 24px;
    }

    .message-content p {
        font-size: 15px;
        line-height: 1.9;
    }
}

/* =====================================================
   Multi-Page Book Additions
   ===================================================== */

/* Book Spread */
.book-spread {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.book-spread.active {
    display: flex;
    opacity: 1;
}

/* Page Number */
.page-number-top {
    position: absolute;
    top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #D4AF37;
}

.page-right .page-number-top {
    right: 25px;
}

.page-left .page-number-top {
    left: 25px;
}

/* Page Subtitle */
.page-subtitle {
    font-size: 26px;
    font-weight: 700;
    color: #002147;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

/* Inline Quote */
.inline-quote {
    margin: 25px 0;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.05) 0%, rgba(0, 33, 71, 0.1) 100%);
    border-right: 4px solid #D4AF37;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    font-style: italic;
    color: #002147;
    text-align: center;
}

/* Continued Message */
.message-content.continued {
    padding-top: 30px;
}

/* Updated Signature */
.message-signature small {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 3px;
}

/* Navigation Buttons */
.book-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    z-index: 20;
}

.book-nav-btn:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.book-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.prev-btn {
    right: -70px;
}

.next-btn {
    left: -70px;
}

/* Page Indicators */
.page-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.page-indicator {
    width: 12px;
    height: 12px;
    background: rgba(0, 33, 71, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-indicator:hover {
    background: rgba(0, 33, 71, 0.4);
}

.page-indicator.active {
    background: #D4AF37;
    transform: scale(1.2);
}

/* Page Flip Animation */
.book-spread.flipping-out {
    animation: flipOut 0.4s ease-in forwards;
}

.book-spread.flipping-in {
    animation: flipIn 0.4s ease-out forwards;
}

@keyframes flipOut {
    0% {
        opacity: 1;
        transform: rotateY(0deg);
    }

    100% {
        opacity: 0;
        transform: rotateY(-30deg);
    }
}

@keyframes flipIn {
    0% {
        opacity: 0;
        transform: rotateY(30deg);
    }

    100% {
        opacity: 1;
        transform: rotateY(0deg);
    }
}

/* Responsive Multi-Page Book */
@media (max-width: 992px) {
    .prev-btn {
        right: -60px;
    }

    .next-btn {
        left: -60px;
    }

    .book-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .book-spread {
        flex-direction: column;
    }

    .prev-btn {
        right: 10px;
        top: auto;
        bottom: -60px;
        transform: none;
    }

    .next-btn {
        left: 10px;
        top: auto;
        bottom: -60px;
        transform: none;
    }

    .book-nav-btn:hover:not(:disabled) {
        transform: scale(1.1);
    }

    .page-indicators {
        bottom: -100px;
    }

    .page-number-top {
        top: 15px;
        font-size: 12px;
    }
}

/* =====================================================
   Enhanced 3D Book Design
   ===================================================== */

/* Section Title */
.book-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.book-label {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.book-section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #002147;
}

/* 3D Book Wrapper */
.book-3d-wrapper {
    position: relative;
    perspective: 2500px;
    padding: 60px 100px;
}

/* 3D Book */
.book-3d {
    transform-style: preserve-3d;
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}

.book-3d:hover {
    transform: rotateX(3deg) translateY(-10px);
}

/* Enhanced Book Pages */
.book-3d .book-page {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f7 50%, #f5f5f0 100%);
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.05),
        0 15px 40px rgba(0, 0, 0, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.book-3d .page-right {
    transform: rotateY(-2deg);
    box-shadow:
        -5px 5px 20px rgba(0, 0, 0, 0.1),
        0 15px 40px rgba(0, 0, 0, 0.15);
}

.book-3d .page-left {
    transform: rotateY(2deg);
    box-shadow:
        5px 5px 20px rgba(0, 0, 0, 0.1),
        0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Page Corner */
.page-corner {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 0, 0, 0.03) 50%);
}

.page-right .page-corner {
    left: 0;
}

.page-left .page-corner {
    right: 0;
    background: linear-gradient(225deg, transparent 50%, rgba(0, 0, 0, 0.03) 50%);
}

/* Page Decoration */
.page-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 5px;
    pointer-events: none;
}

/* Enhanced Book Fold */
.book-3d .book-fold {
    width: 35px;
    background: linear-gradient(90deg,
    #d0d0d0 0%,
    #e8e8e8 10%,
    #f5f5f5 30%,
    #ffffff 50%,
    #f5f5f5 70%,
    #e8e8e8 90%,
    #d0d0d0 100%);
    box-shadow:
        inset 5px 0 15px rgba(0, 0, 0, 0.08),
        inset -5px 0 15px rgba(0, 0, 0, 0.08);
}

.fold-line {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 80%;
    background: linear-gradient(180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 10%,
    rgba(0, 0, 0, 0.1) 90%,
    transparent 100%);
}

/* 3D Book Shadow */
.book-shadow-3d {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) rotateX(90deg);
    width: 90%;
    height: 50px;
    background: radial-gradient(ellipse at center,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    transparent 70%);
    filter: blur(15px);
    z-index: -1;
}

/* Drop Cap Text */
.drop-cap-text::first-letter {
    float: right;
    font-size: 60px;
    font-weight: 800;
    line-height: 0.8;
    margin-left: 12px;
    margin-bottom: 5px;
    color: #D4AF37;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Achievement Highlight */
.achievement-highlight {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.03) 0%, rgba(0, 33, 71, 0.08) 100%);
    border-radius: 15px;
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #D4AF37;
}

.highlight-text {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* Final Quote */
.final-quote {
    text-align: center;
    padding: 40px 30px;
    margin: 30px 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-radius: 20px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.final-quote i {
    font-size: 40px;
    color: #D4AF37;
    opacity: 0.4;
    margin-bottom: 15px;
}

.final-quote p {
    font-size: 22px;
    font-weight: 700;
    font-style: italic;
    color: #002147;
    margin: 0;
}

/* Final Signature */
.message-signature.final {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.signature-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #D4AF37;
    object-fit: cover;
}

.signature-details {
    text-align: right;
}

.signature-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #002147;
}

/* Enhanced Navigation Buttons */
.book-3d-wrapper .book-nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 50px;
    width: auto;
    height: auto;
}

.book-3d-wrapper .prev-btn {
    right: -20px;
}

.book-3d-wrapper .next-btn {
    left: -20px;
}

.book-nav-btn span {
    font-size: 14px;
    font-weight: 600;
}

/* Enhanced Page Indicators */
.book-3d-wrapper .page-indicators {
    bottom: -20px;
}

.book-3d-wrapper .page-indicator {
    width: auto;
    height: auto;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    background: rgba(0, 33, 71, 0.1);
}

.book-3d-wrapper .page-indicator.active {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: white;
    transform: none;
}

/* Responsive 3D Book */
@media (max-width: 1200px) {
    .book-3d-wrapper {
        padding: 40px 80px;
    }

    .book-section-title h2 {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .book-3d-wrapper {
        padding: 40px 60px;
    }

    .book-3d-wrapper .book-nav-btn {
        padding: 10px 20px;
    }

    .book-3d-wrapper .book-nav-btn span {
        display: none;
    }

    .book-3d-wrapper .prev-btn,
    .book-3d-wrapper .next-btn {
        padding: 12px;
        border-radius: 50%;
    }
}

@media (max-width: 768px) {
    .book-3d {
        transform: none;
    }

    .book-3d:hover {
        transform: translateY(-5px);
    }

    .book-3d .page-right,
    .book-3d .page-left {
        transform: none;
    }

    .book-3d-wrapper {
        padding: 30px 20px 100px;
    }

    .book-section-title h2 {
        font-size: 28px;
    }

    .final-quote p {
        font-size: 18px;
    }

    .book-3d-wrapper .page-indicators {
        bottom: 20px;
    }

    .book-3d-wrapper .page-indicator {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* =====================================================
   President's Message Section - New Design
   ===================================================== */
.president-message-section {
    background-color: #faf9f7;
    background-image:
        /* url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23002147' fill-opacity='0.03'%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"), */
        linear-gradient(135deg, rgba(201, 162, 39, 0.03) 0%, transparent 50%, rgba(0, 33, 71, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.max-w-1200 {
    max-width: 1200px;
}

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

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.relative {
    position: relative;
}

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

/* Section Header */
.president-section-header {
    margin-bottom: 3rem;
}

.president-section-title {
    color: var(--primary-dark);
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    padding-right: 1rem;
    border-right: 4px solid var(--primary-gold);
}

/* President Message Card */
.president-message-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow:
        0 10px 40px -10px rgba(0, 33, 71, 0.15),
        0 0 0 1px rgba(0, 33, 71, 0.05),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    border: none;
    border-top: 3px solid var(--primary-gold);
    border-bottom: 3px solid var(--primary-gold);
    position: relative;
    transition: all 0.4s ease;
}

.president-message-card:hover {
    box-shadow:
        0 20px 60px -15px rgba(0, 33, 71, 0.2),
        0 0 0 1px rgba(0, 33, 71, 0.08),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
}

@media (min-width: 1024px) {
    .president-message-card {
        flex-direction: row;
        align-items: stretch;
        padding: 3rem 3.5rem;
    }
}

/* President Portrait Wrapper */
.president-portrait {
    background-image: url("../../images/mr.jpeg");
}

.president-portrait-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .president-portrait-wrapper {
        width: 300px;
    }
}

.president-portrait-container {
    position: relative;
}

.president-portrait {
    width: 200px;
    height: 200px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0.5rem;
    border: 3px solid var(--primary-gold);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}

.president-portrait-decoration {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 0.5rem;
    z-index: -1;
}

/* President Info Box */
.president-info-box {
    text-align: center;
}

.president-info-box .president-name {
    color: var(--primary-dark);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    margin: 0;
}

.president-info-box .president-title {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* President Quote Wrapper */
.president-quote-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.president-quote-mark {
    position: absolute;
    top: 0;
    right: 0;
    color: rgba(201, 162, 39, 0.1);
    font-size: 200px;
    font-family: Georgia, serif;
    line-height: 1;
    user-select: none;
    pointer-events: none;
}

.president-quote-content {
    position: relative;
    z-index: 10;
    padding-top: 2rem;
    padding-right: 1rem;
}

.president-quote-text {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    font-family: 'Cairo', sans-serif;
    max-width: 48rem;
    margin: 0;
    border: none;
    padding: 0;
}

@media (min-width: 1024px) {
    .president-quote-text {
        font-size: 1.75rem;
    }
}

/* Gold Divider */
.president-divider {
    width: 6rem;
    height: 4px;
    background: var(--primary-gold);
    margin: 2rem 0;
    border-radius: 9999px;
}

/* CTA Button */
.president-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 700;
    margin: 0 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 33, 71, 0.1);
}

.president-cta-btn:hover {
    transform: scale(1.05);
    /* box-shadow: 0 20px 25px -5px rgba(0, 33, 71, 0.2); */
}

.president-cta-btn:active {
    transform: scale(0.95);
}

.president-cta-btn i {
    transition: transform 0.3s ease;
}

.president-cta-btn:hover i {
    transform: translateX(-4px);
}

/* ===== President Message Scroll Animations ===== */
.president-section-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.president-section-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.president-portrait-wrapper {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.president-portrait-wrapper.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.president-quote-wrapper {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.4s;
}

.president-quote-wrapper.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.president-message-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.4s ease;
    transition-delay: 0.1s;
}

.president-message-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .president-section-title {
        font-size: 1.5rem;
    }

    .president-quote-text {
        font-size: 1.25rem;
    }

    .president-quote-mark {
        font-size: 120px;
    }

    .president-message-card {
        padding: 1.5rem;
    }
}

/* =====================================================
   University Statistics Section
   ===================================================== */
.stats-section {
    position: relative;
    height: 280px;
    width: 100%;
    overflow: hidden;
}

/* Video Background */
.stats-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay */
.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.88) 0%, rgba(0, 21, 48, 0.92) 100%);
    z-index: 2;
}

/* Content */
.stats-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.stats-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
}

/* Stat Card */
.stat-card {
    text-align: center;
    width: 160px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.stat-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(212, 175, 55, 0.2);
}

.stat-card:last-child::after {
    display: none;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

/* Icon */
.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.stat-icon i {
    font-size: 28px;
    color: #D4AF37;
}

/* Number */
.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    font-family: 'Cairo', sans-serif;
    line-height: 1;
}

.stat-number::before {
    content: '+';
    font-size: 0.7em;
    margin-left: 3px;
}

.stat-number[data-no-plus="true"]::before {
    content: '';
}

/* Label */
.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-card {
        width: 140px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
    }

    .stat-icon i {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .stats-section {
        height: auto;
        min-height: 350px;
    }

    .stats-content {
        padding: 35px 15px;
    }

    .stats-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 450px;
    }

    .stat-card {
        width: 100%;
        padding: 12px 8px;
    }

    .stat-card::after {
        display: none;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 8px;
    }

    .stat-icon i {
        font-size: 20px;
    }

    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 320px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* ===== Stats Section Scroll Animations ===== */
.stats-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stats-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-card {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger stat cards */
.stat-card:nth-child(1) {
    transition-delay: 0.1s;
}

.stat-card:nth-child(2) {
    transition-delay: 0.2s;
}

.stat-card:nth-child(3) {
    transition-delay: 0.3s;
}

.stat-card:nth-child(4) {
    transition-delay: 0.4s;
}

.stat-card:nth-child(5) {
    transition-delay: 0.5s;
}

.stat-card:nth-child(6) {
    transition-delay: 0.6s;
}

/* Stat icon bounce effect */
.stat-icon {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card.animate-in .stat-icon {
    opacity: 1;
    transform: scale(1);
}

.stat-card:nth-child(1) .stat-icon {
    transition-delay: 0.2s;
}

.stat-card:nth-child(2) .stat-icon {
    transition-delay: 0.3s;
}

.stat-card:nth-child(3) .stat-icon {
    transition-delay: 0.4s;
}

.stat-card:nth-child(4) .stat-icon {
    transition-delay: 0.5s;
}

.stat-card:nth-child(5) .stat-icon {
    transition-delay: 0.6s;
}

.stat-card:nth-child(6) .stat-icon {
    transition-delay: 0.7s;
}

/* =====================================================
   Colleges Grid Section - Glassmorphism Cards
   ===================================================== */
.colleges-grid-section {
    background-color: #faf9f7;
    background-image:
        linear-gradient(135deg, rgba(0, 33, 71, 0.03) 0%, transparent 50%, rgba(212, 175, 55, 0.02) 100%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23002147' stroke-opacity='0.03' stroke-width='1'%3E%3Cpath d='M0 0L60 60M60 0L0 60'/%3E%3C/g%3E%3C/svg%3E");
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.colleges-grid-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Header */
.colleges-grid-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .colleges-grid-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: right;
    }
}

.colleges-grid-header-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}



.colleges-grid-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .colleges-grid-title {
        font-size: 2.25rem;
    }
}

/*
.colleges-grid-title::before {
    content: '🎓';
    font-size: 1.5em;
} */

.colleges-grid-desc {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Cards Grid */
.colleges-grid-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .colleges-grid-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .colleges-grid-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

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

/* Glass Card - Compact Version */
.college-glass-card {
    background: #fff;
    border: 1px solid rgba(0, 33, 71, 0.08);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 33, 71, 0.05);
    position: relative;
    overflow: hidden;
}

/* Decorative corner accent */
.college-glass-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(236deg, rgba(0, 33, 71, 0.03) 0%, transparent 50%);
    border-radius: 0 14px 0 60px;
    transition: all 0.4s ease;
}

/* Bottom decorative line */
.college-glass-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 33, 71, 0.05), transparent);
    transition: all 0.4s ease;
}

.college-glass-card:hover {
    background: #fff;
    border-color: #D4AF37;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.18);
}

.college-glass-card:hover::before {
    width: 80px;
    height: 80px;
    background: linear-gradient(236deg, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
}

.college-glass-card:hover::after {
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    left: 15px;
    right: 15px;
}

/* Icon Container */
.college-glass-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0, 33, 71, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: all 0.3s ease;
}

.college-glass-card:hover .college-glass-icon {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: #fff;
}

.college-glass-icon .material-symbols-outlined {
    font-size: 26px;
}

/* Content */
.college-glass-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.college-glass-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.college-glass-card:hover .college-glass-content h3 {
    color: #D4AF37;
}

.college-glass-content p {
    color: var(--text-gray);
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link */
.college-glass-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 12px;
    margin-top: auto;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.college-glass-card:hover .college-glass-link {
    opacity: 1;
    transform: translateX(0);
    color: #D4AF37;
}

.college-glass-link .material-symbols-outlined {
    font-size: 14px;
}

/* ===== Colleges Section Scroll Animations ===== */
.colleges-grid-header {
    opacity: 0;
    transform: translateY(-40px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.colleges-grid-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.college-glass-card {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.college-glass-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger effect for cards - alternating from left/right */
.college-glass-card:nth-child(1) {
    transition-delay: 0.1s;
    transform: translateX(-60px) translateY(40px) rotate(-3deg);
}

.college-glass-card:nth-child(2) {
    transition-delay: 0.2s;
    transform: translateX(60px) translateY(40px) rotate(3deg);
}

.college-glass-card:nth-child(3) {
    transition-delay: 0.3s;
    transform: translateX(-60px) translateY(40px) rotate(-3deg);
}

.college-glass-card:nth-child(4) {
    transition-delay: 0.4s;
    transform: translateX(60px) translateY(40px) rotate(3deg);
}

.college-glass-card:nth-child(5) {
    transition-delay: 0.5s;
    transform: translateX(-60px) translateY(40px) rotate(-3deg);
}

.college-glass-card:nth-child(6) {
    transition-delay: 0.6s;
    transform: translateX(60px) translateY(40px) rotate(3deg);
}

.college-glass-card:nth-child(7) {
    transition-delay: 0.7s;
    transform: translateX(-60px) translateY(40px) rotate(-3deg);
}

.college-glass-card:nth-child(8) {
    transition-delay: 0.8s;
    transform: translateX(60px) translateY(40px) rotate(3deg);
}

.college-glass-card.animate-in:nth-child(n) {
    transform: translateX(0) translateY(0) rotate(0);
}

/* Responsive */
@media (max-width: 768px) {
    .colleges-grid-section {
        padding: 40px 15px;
    }

    .colleges-grid-header {
        margin-bottom: 25px;
    }

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

    .colleges-grid-title::before {
        font-size: 1.2em;
    }

    .colleges-grid-desc {
        font-size: 0.875rem;
    }

    .college-glass-card {
        padding: 16px;
    }

    .college-glass-icon {
        width: 40px;
        height: 40px;
    }

    .college-glass-icon .material-symbols-outlined {
        font-size: 22px;
    }

    .college-glass-icon i {
        font-size: 22px;
    }

    .college-glass-content h3 {
        font-size: 0.9rem;
    }

    .colleges-browse-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* =====================================================
   News Section - Latest News with Tabs
   ===================================================== */
.news-section {
    background-color: #F8F9FA;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23002147' stroke-opacity='0.02' stroke-width='1'%3E%3Cpath d='M0 0L60 60M60 0L0 60'/%3E%3C/g%3E%3C/svg%3E");
    padding: 60px 20px;
    border-top: 1px solid rgba(0, 33, 71, 0.08);
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    border-radius: 2px;
}

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

/* Header */
.news-header {
    text-align: center;
    margin-bottom: 35px;
}

.news-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.news-title-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Tabs */
.news-tabs-wrapper {
    display: flex;
    justify-content: end;
    margin-bottom: 40px;
}

.news-tabs {
    background: #fff;
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 2px 15px rgba(0, 33, 71, 0.08);
    display: flex;
    gap: 5px;
}

.news-tab {
    width: 100px;
    height: 45px;
    border: none;
    background: transparent;
    color: var(--primary-dark);
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.news-tab:hover:not(.active) {
    background: rgba(0, 33, 71, 0.08);
}

.news-tab.active {
    background: var(--primary-dark);
    color: #fff;
}

/* News Grid */
.news-content {
    position: relative;
}

.news-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    animation: fadeIn 0.4s ease;
}

.news-grid.active {
    display: grid;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* News Card */
.news-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 33, 71, 0.15);
}

/* Card Image */
.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 33, 71, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-card-image::after {
    opacity: 1;
}

/* Category Badge */
.news-category {
    position: absolute;
    top: 0;
    right: 0;
    background: #D4AF37;
    color: var(--primary-dark);
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 0 0 0 10px;
}

/* Card Body */
.news-card-body {
    padding: 20px;
}

.news-date {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.news-date i {
    color: #D4AF37;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 10px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.news-card-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 33, 71, 0.08);
}

.news-read-more {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #D4AF37;
}

/* View All Button */
.news-view-all {
    text-align: center;
    margin-top: 40px;
}

.news-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-dark);
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 33, 71, 0.2);
}

.news-view-all-btn:hover {
    background: #D4AF37;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* ===== News Section Scroll Animations ===== */
.news-header {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.news-tabs-wrapper {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.news-tabs-wrapper.animate-in {
    opacity: 1;
    transform: scale(1);
    margin: 30px auto;
}

.news-card {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger news cards */
.news-card:nth-child(1) {
    transition-delay: 0.15s;
}

.news-card:nth-child(2) {
    transition-delay: 0.25s;
}

.news-card:nth-child(3) {
    transition-delay: 0.35s;
}

.news-card:nth-child(4) {
    transition-delay: 0.45s;
}

.news-card:nth-child(5) {
    transition-delay: 0.55s;
}

.news-card:nth-child(6) {
    transition-delay: 0.65s;
}




/* Responsive */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 50px 15px;
    }

    .news-tabs {
        width: 60%;
        max-width: 400px;
        margin: 0 auto;
    }

    .news-tab {
        flex: 1;
        width: auto;
        font-size: 14px;
        height: 42px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    /* Show only 3 cards on mobile */
    .news-card:nth-child(n+4) {
        display: none;
    }

    .news-title {
        font-size: 28px;
    }

    .news-card-image {
        height: 180px;
    }

    .news-view-all-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .news-tab {
        font-size: 13px;
        gap: 5px;
    }

    .news-tab span {
        font-size: 14px;
    }
}

/* =====================================================
   Agreements Section - Our Partners
   ===================================================== */
.agreements-section {
    background: #fff;
    padding: 70px 20px;
    position: relative;
}

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

.agreements-header {
    text-align: center;
    margin-bottom: 40px;
}

.agreements-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 15px 0;
}

.agreements-desc {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.7;
}

/* Tabs */
.agreements-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.agreements-tab {
    padding: 10px;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.agreements-tab i {
    font-size: 14px;
}

.agreements-tab:hover {
    background: #e8e8e8;
    color: var(--primary-dark);
}

.agreements-tab.active {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

.agreements-tab.active i {
    color: #D4AF37;
}

/* Content */
.agreements-content {
    display: none;
}

.agreements-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Partners Slider */
.partners-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-arrow {
    width: 45px;
    height: 45px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: var(--primary-dark);
}

.slider-arrow:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.partners-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.partners-track::-webkit-scrollbar {
    display: none;
}

.partner-item {
    flex: 0 0 auto;
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #D4AF37;
}

.partner-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

.partner-item span {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-align: center;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .agreements-title {
        font-size: 28px;
    }

    .agreements-tabs {
        flex-direction: row;
        align-items: center;
    }

    .agreements-tab {
        width: fit-content;
        justify-content: center;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .partner-item {
        width: 120px;
        padding: 15px;
    }

    .partner-item img {
        width: 60px;
        height: 60px;
    }

    .partner-item span {
        font-size: 11px;
    }
}

/* =====================================================
   SDG Sustainability Section - Interactive Wheel
   ===================================================== */
.sdg-section {
    width: 100%;
    padding: 80px 20px;
    overflow: hidden;
    min-height: 600px;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 40%, #0d2840 70%, #061422 100%);
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, #0a1628 0%, #1a3a5c 40%, #0d2840 70%, #061422 100%);
    position: relative;
}

/* Top Separator - Wave */
.sdg-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23F9F9F9' d='M0,0 L0,60 Q360,100 720,60 T1440,60 L1440,0 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    transform: scaleX(-1);

}

.sdg-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0,0 L0,60 Q360,100 720,60 T1440,60 L1440,0 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    transform: scaleY(-1);

}

/* Golden Line Accent */
/* .sdg-section::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    border-radius: 2px;
} */

.sdg-section .news-header {
    position: relative;
    z-index: 1;
}

.sdg-section .news-title {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sdg-section .news-title-line {
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

.sdg-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.sdg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Content */
.sdg-content-left {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sdg-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.2);
    color: #D4AF37;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.sdg-main-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.sdg-main-title span {
    color: #D4AF37;
}

.sdg-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 500px;
}

/* Info Card - Glassmorphism */
.sdg-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 4px solid #E5243B;
    transition: all 0.4s ease;
}

.sdg-info-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sdg-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.sdg-goal-number {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    background: #E5243B;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sdg-goal-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    transition: all 0.3s ease;
}

.sdg-goal-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0 0 20px 0;
    min-height: 50px;
}

.sdg-goal-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #E5243B;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sdg-goal-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Right Content - Wheel */
.sdg-wheel-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.sdg-wheel-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    /* background: rgba(212, 175, 55, 0.1); */
    border-radius: 50%;
    /* filter: blur(60px); */
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.sdg-wheel-svg {
    width: 100%;
    max-width: 650px;
    height: auto;
    /* filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15)); */
    transition: transform 0.5s ease;
}

.sdg-wheel-svg:hover {
    transform: scale(1.03);
}

.sdg-slice {
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: center;
    transform-box: fill-box;
}

.sdg-slice:hover {
    filter: brightness(1.15);
    transform: scale(1.05);
}

.sdg-slice.active {
    filter: brightness(1.2);
    transform: scale(1.08);
}

.sdg-center-text {
    font-size: 60px;
    font-weight: 900;
    fill: var(--primary-dark);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
    .sdg-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sdg-wheel-container {
        order: -1;
    }

    .sdg-wheel-svg {
        max-width: 350px;
    }

    .sdg-main-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .sdg-section {
        padding: 50px 15px;
    }

    .sdg-main-title {
        font-size: 26px;
    }

    .sdg-wheel-svg {
        max-width: 280px;
    }

    .sdg-info-card {
        padding: 20px;
    }

    .sdg-goal-number {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .sdg-goal-title {
        font-size: 18px;
    }
}

/* ===== SDG Section Scroll Animations ===== */
.sdg-section .header {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sdg-section .header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.sdg-content-left {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.sdg-content-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Special animation for SDG Wheel */
.sdg-wheel-container {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.4s;
}

.sdg-wheel-container.animate-in {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* SDG Cards Container */
.sdg-cards-container {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.6s;
}

.sdg-cards-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* SDG Badge pop effect */
.sdg-badge {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0.3s;
}

.sdg-badge.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Info Card slide up */
.sdg-info-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: 0.5s;
}

.sdg-info-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   Statistics Section - Pulse Ring Animation for Icons
   ===================================================== */
.stat-icon {
    position: relative;
}

.stat-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: pulse-ring 2.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* =====================================================
   FOOTER
   ===================================================== */
.main-footer {
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

/* Main Footer Section */
.footer-main {
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.88) 0%, rgba(0, 21, 48, 0.92) 100%);
    padding: 60px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 25% 20% 25% 30%;
    /*gap: 40px;*/
}

.footer-about
{
    text-align: center;
}


/* Footer Titles */
.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 3px;
    background: #D4AF37;
    border-radius: 2px;
}

/* Column 1: About */
.footer-logo {
    /*width: 180px;*/
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #D4AF37;
    transform: scale(1.1);
}

/* Column 2: Quick Links */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-menu a i {
    color: #D4AF37;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.footer-menu a:hover {
    color: #fff;
    padding-right: 5px;
}

.footer-menu a:hover i {
    transform: translateX(-5px);
}

/* Column 3: Contact */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-list li a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-list li a:hover .contact-text {
    color: #fff;
}

.contact-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: #D4AF37;
    font-size: 14px;
}

.contact-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
    padding-top: 6px;
    transition: color 0.3s ease;
}

/* Column 4: Map */
.map-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 15px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid #D4AF37;
    border-radius: 5px;
    color: #D4AF37;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-btn:hover {
    background: #D4AF37;
    color: #002147;
}

/* Copyright Bar */
.footer-bottom {
    background: linear-gradient(135deg, rgba(0, 33, 71, 0.92) 0%, rgba(0, 21, 48, 0.96) 100%);
    padding: 20px;
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-map {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-map {
        grid-column: span 1;
    }

    .footer-logo {
        margin: 0 auto 20px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-menu a,
    .contact-list li,
    .contact-list li a {
        justify-content: center;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
    }

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

/* =====================================================
   University Council - Grid with Hero Card Design
   ===================================================== */
.council-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.council-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.council-header {
    text-align: center;
    margin-bottom: 30px;
}

.council-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.council-desc {
    font-size: 16px;
    color: var(--text-gray);
}

/* Two Column Layout */
.council-layout {
    display: flex;
    gap: 0;
    min-height: 420px;
}

/* Left Side - Hero (40%) */
.council-hero-side {
    width: 40%;
    padding-left: 30px;
}

/* Golden Divider */
.council-divider {
    width: 3px;
    background: linear-gradient(180deg, var(--primary-gold), #B8860B, var(--primary-gold));
    margin: 0 30px;
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.3);
}

/* Right Side - Grid (60%) */
.council-grid-side {
    width: 60%;
    padding-right: 30px;
}

/* ===== Hero Card ===== */
.council-hero-card {
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    box-shadow: 0 20px 50px rgba(0, 33, 71, 0.3);
    display: flex;
    flex-direction: column;
}

.council-hero-photo {
    height: 55%;
    position: relative;
    overflow: hidden;
}

.council-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    max-height: 325px;

}

.council-hero-card:hover .council-hero-photo img {
    transform: scale(1.05);
}

.council-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, var(--primary-dark), transparent);
}

.council-hero-content {
    padding: 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.council-hero-label {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.council-hero-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.council-hero-position {
    font-size: 16px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.council-hero-degree {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-style: italic;
}

.council-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-gold), #B8860B);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.35);
}

.council-hero-btn:hover {
    background: linear-gradient(135deg, #B8860B, var(--primary-gold));
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(201, 162, 39, 0.5);
}

.council-hero-btn i {
    transition: transform 0.3s ease;
}

.council-hero-btn:hover i {
    transform: translateX(-5px);
}

/* ===== Members Grid 2x2 ===== */
.council-members-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: 100%;
}

/* Flip Card */
.council-flip-card {
    perspective: 1000px;
    height: 280px;
}

.council-flip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.council-flip-card:hover .council-flip-inner {
    transform: rotateY(180deg);
}

.council-flip-front,
.council-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Front */
.council-flip-front {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 33, 71, 0.08);
}

.council-flip-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    /* margin-bottom: 18px; */
    border: 4px solid var(--primary-gold);
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.25);
    transition: all 0.3s ease;
}

.council-flip-card:hover .council-flip-photo {
    border-color: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(0, 33, 71, 0.2);
}

.council-flip-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.council-flip-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-align: center;
}

.council-flip-position {
    font-size: 13px;
    color: var(--primary-gold);
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    padding: 0 10px;
}

/* Back */
.council-flip-back {
    background: linear-gradient(145deg, var(--primary-dark) 0%, #003d7a 50%, var(--primary-dark) 100%);
    transform: rotateY(180deg);
    color: var(--white);
    border: 2px solid var(--primary-gold);
}

.council-flip-back h4 {
    font-size: 16px;
    color: var(--primary-gold);
    margin-bottom: 12px;
    font-weight: 700;
}

.council-flip-back p {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 500;
}

.council-flip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-gold), #B8860B);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.35);
}

.council-flip-link:hover {
    background: linear-gradient(135deg, #B8860B, var(--primary-gold));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.5);
}

/* View All Link */
.council-view-all {
    text-align: center;
    margin-top: 50px;
}

.council-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.council-view-all-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.council-view-all-link i {
    transition: transform 0.3s ease;
}

.council-view-all-link:hover i {
    transform: translateX(-5px);
}

/* ===== Scroll Animations ===== */
.council-hero-side {
    opacity: 0;
    transform: translateX(80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.council-hero-side.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.council-grid-side {
    opacity: 0;
    transform: translateX(-80px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.2s;
}

.council-grid-side.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.council-divider {
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.6s ease;
    transition-delay: 0.4s;
}

.council-divider.animate-in {
    opacity: 1;
    transform: scaleY(1);
}

/* Stagger animation for flip cards */
.council-flip-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.council-flip-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.council-flip-card:nth-child(1) {
    transition-delay: 0.3s;
}

.council-flip-card:nth-child(2) {
    transition-delay: 0.4s;
}

.council-flip-card:nth-child(3) {
    transition-delay: 0.5s;
}

.council-flip-card:nth-child(4) {
    transition-delay: 0.6s;
}

/* Header Animation */
.council-header {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.council-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .council-layout {
        flex-direction: column;
        gap: 40px;
    }

    .council-hero-side,
    .council-grid-side {
        width: 100%;
        padding: 0;
    }

    .council-divider {
        width: 80%;
        height: 3px;
        margin: 0 auto;
    }

    .council-hero-card {
        max-width: 400px;
        margin: 0 auto;
        height: 450px;
    }
}

@media (max-width: 576px) {
    .council-members-grid {
        grid-template-columns: 1fr;
    }

    .council-flip-card {
        /* height: 200px; */
    }
}

/* =====================================================
   SDG Section Cards
   ===================================================== */
.sdg-cards-container {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.sdg-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sdg-card {
    background: rgba(255, 255, 255, 0.1);
    /* background: var(--white); */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
}

.sdg-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #E5243B, #DDA63A, #4C9F38, #26BDE2, #FCC30B);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.sdg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.15);
}

.sdg-card:hover::before {
    transform: scaleX(1);
}

/* Card Image */
.sdg-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.sdg-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sdg-card:hover .sdg-card-image img {
    transform: scale(1.1);
}

.sdg-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #B8860B 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Card Body */
.sdg-card-body {
    padding: 25px;
}

.sdg-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 12px;
}

.sdg-card-date i {
    color: var(--primary-gold);
}

.sdg-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

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

.sdg-card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.sdg-card-footer {
    padding: 0 25px 25px;
}

.sdg-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.sdg-card-link i {
    transition: transform 0.3s ease;
}

.sdg-card-link:hover {
    background: var(--primary-gold);
    color: var(--white);
}

.sdg-card-link:hover i {
    transform: translateX(-5px);
}

/* SDG Swiper Slider */
.sdg-swiper {
    position: relative;
    padding: 20px 50px;
}

.sdg-swiper .swiper-slide {
    height: auto;
}

.sdg-swiper .sdg-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sdg-swiper .sdg-card-body {
    flex: 1;
}

/* Navigation Buttons */
.sdg-swiper-prev,
.sdg-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.sdg-swiper-prev:hover,
.sdg-swiper-next:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
}

.sdg-swiper-prev {
    right: 0;
}

.sdg-swiper-next {
    left: 0;
}

/* LTR Support - swap button positions for English page */
html[dir="ltr"] .sdg-swiper-prev {
    left: 0;
    right: auto;
}

html[dir="ltr"] .sdg-swiper-next {
    right: 0;
    left: auto;
}

/* View More Link */
.sdg-view-more {
    text-align: center;
    margin-top: 40px;
}

.sdg-view-more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #B8860B 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(201, 162, 39, 0.3);
}

.sdg-view-more-link:hover {
    background: linear-gradient(135deg, #B8860B 0%, var(--primary-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

.sdg-view-more-link i {
    transition: transform 0.3s ease;
}

.sdg-view-more-link:hover i {
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 992px) {
    .sdg-swiper {
        padding: 20px 40px;
    }

    .sdg-swiper-prev,
    .sdg-swiper-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .sdg-swiper {
        padding: 20px 35px;
    }

    .sdg-cards-container {
        margin-top: 40px;
    }

    .sdg-view-more-link {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* =====================================================
   Mobile Responsive Fixes
   ===================================================== */
@media (max-width: 991px) {

    /* Hide search button on mobile */
    .search-btn,
    .search-box {
        display: none !important;
    }

    /* Fix navbar-middle z-index */
    .navbar-middle {
        position: relative;
        z-index: 1002;
    }

    /* Fix menu-overlay */
    .menu-overlay {
        pointer-events: none;
    }

    .menu-overlay.active {
        pointer-events: auto;
        z-index: 1001;
    }

    /* Make sure navbar-main is above overlay when menu is open */
    .navbar-main {
        position: relative;
        z-index: 1003;
    }

    /* Mobile menu - Show colleges dropdown and sub-items */
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 0 30px;
        transition: var(--transition);
        z-index: 1004;
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
        align-items: center;
    }

    .main-menu.active {
        right: 0;
    }

    .main-menu>li {
        border-bottom: 1px solid rgba(0, 33, 71, 0.1);
    }

    .main-menu>li>a {
        color: var(--primary-dark) !important;
        padding: 15px 25px !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Colleges dropdown - show on mobile */
    .main-menu .has-dropdown>.dropdown-menu,
    .main-menu .has-mega-menu>.mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        display: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-menu .has-dropdown.open>.dropdown-menu,
    .main-menu .has-mega-menu.open>.mega-menu {
        display: block;
        max-height: 2000px;
    }

    /* Mega menu columns stack on mobile */
    .mega-menu-content {
        flex-direction: column;
        padding: 10px 0;
    }

    .mega-column {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 10px 20px;
    }

    /* Sub dropdowns */
    .mega-list .has-sub-dropdown>.sub-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #e8e8e8;
        display: none;
        max-height: 0;
        /*overflow: hidden;*/
        transition: max-height 0.3s ease;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .mega-list .has-sub-dropdown.open>.sub-dropdown {
        display: block;
        max-height: 800px;
        padding: 10px 0;
    }

    .sub-dropdown {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    .sub-dropdown li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .sub-dropdown li:last-child {
        border-bottom: none;
    }

    .sub-dropdown li a {
        padding: 12px 20px !important;
        font-size: 13px;
        color: var(--primary-dark) !important;
        display: block;
    }

    .sub-dropdown li a:hover {
        background: rgba(0, 33, 71, 0.05);
    }

    /* Arrow rotation for sub-dropdown */
    .has-sub-dropdown>a .sub-arrow {
        transition: transform 0.3s ease;
    }

    .has-sub-dropdown.open>a .sub-arrow {
        transform: rotate(90deg);
    }
}

/* =====================================================
   University Photo Gallery - Expandable Cards
   ===================================================== */
.uni-gallery-section {
    background: #f8f9fa;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 1rem;
}

.uni-gallery-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Header */
.uni-gallery-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.uni-gallery-header h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.uni-gallery-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Cards Container */
.uni-gallery-cards {
    display: grid;
    width: 100%;
    gap: 0.5rem;
    height: 500px;
    transition: grid-template-columns 0.5s ease-out, grid-template-rows 0.5s ease-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Desktop: Horizontal layout */
@media (min-width: 768px) {
    .uni-gallery-cards {
        grid-template-columns: repeat(7, 1fr);
        grid-template-rows: 1fr;
    }
}

/* Mobile: Vertical layout */
@media (max-width: 767px) {
    .uni-gallery-cards {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(7, 1fr);
        height: 700px;
    }
}

/* Individual Card */
.uni-gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    min-width: 0;
    min-height: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.uni-gallery-card:hover {
    transform: translateY(-2px);
}

.uni-gallery-card:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Card Image */
.uni-gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scale(1.1);
    transition: all 0.5s ease-out;
}

.uni-gallery-card.active .uni-gallery-img {
    filter: grayscale(0%);
    transform: scale(1);
}

/* Gradient Overlay */
.uni-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 33, 71, 0.9) 0%, rgba(0, 33, 71, 0.4) 50%, transparent 100%);
}

/* Card Content */
.uni-gallery-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    gap: 0.5rem;
}

/* Vertical Label (shown when inactive) */
.uni-gallery-label {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.875rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.uni-gallery-card.active .uni-gallery-label {
    opacity: 0;
}

@media (max-width: 767px) {
    .uni-gallery-label {
        writing-mode: horizontal-tb;
        bottom: 50%;
        right: 50%;
        transform: translate(50%, 50%);
    }
}

/* Icon */
.uni-gallery-icon {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
    color: var(--primary-gold);
    font-size: 28px;
}

.uni-gallery-card.active .uni-gallery-icon {
    opacity: 1;
    transform: translateY(0);
}

/* Title */
.uni-gallery-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.15s;
}

.uni-gallery-card.active .uni-gallery-title {
    opacity: 1;
    transform: translateY(0);
}

/* Description */
.uni-gallery-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.2s;
}

.uni-gallery-card.active .uni-gallery-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Link Button */
.uni-gallery-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--primary-gold), #B8860B);
    border: none;
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.25s;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.uni-gallery-card.active .uni-gallery-link {
    opacity: 1;
    transform: translateY(0);
}

.uni-gallery-link:hover {
    background: linear-gradient(135deg, #B8860B, var(--primary-gold));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.uni-gallery-link i {
    transition: transform 0.3s ease;
}

.uni-gallery-link:hover i {
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 576px) {
    .uni-gallery-section {
        padding: 2rem 1rem;
    }

    .uni-gallery-header h2 {
        font-size: 1.75rem;
    }

    .uni-gallery-header p {
        font-size: 1rem;
    }

    .uni-gallery-title {
        font-size: 1.25rem;
    }

    .uni-gallery-desc {
        font-size: 0.8rem;
    }
}

/* =====================================================
   Mobile & Reduced Motion - Disable Heavy Animations
   ===================================================== */
/* For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* On mobile, show elements immediately without scroll animations */
@media (max-width: 768px) {

    /* Council Section - Show immediately */
    .council-header,
    .council-hero-side,
    .council-grid-side,
    .council-divider,
    .council-flip-card {
        opacity: 1 !important;
        transform: none !important;
    }

    /* President Message Section */
    .president-section-header,
    .president-portrait-wrapper,
    .president-quote-wrapper,
    .president-message-card {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Colleges Section */
    .colleges-grid-header,
    .college-glass-card {
        opacity: 1 !important;
        transform: none !important;
    }

    /* News Section */
    .news-header,
    .news-tabs-wrapper,
    .news-card {
        opacity: 1 !important;
        transform: none !important;
    }

    /* SDG Section */
    .sdg-section .header,
    .sdg-content-left,
    .sdg-wheel-container,
    .sdg-cards-container,
    .sdg-badge,
    .sdg-info-card {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Stats Section */
    .stats-content,
    .stat-card,
    .stat-icon {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Gallery Section */
    .uni-gallery-card {
        opacity: 0.7 !important;
        transform: scale(0.95) !important;
    }

    .uni-gallery-card.active {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
}

/* ===========================================
   LTR SUPPORT (English Version)
   =========================================== */
html[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

/* Header & Navigation LTR */
html[dir="ltr"] .top-right,
html[dir="ltr"] .top-left {
    flex-direction: row-reverse;
}

html[dir="ltr"] .main-menu>li>a::before {
    right: auto;
    left: 0;
}

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

html[dir="ltr"] .dropdown-menu a::before {
    right: auto;
    left: 0;
}

html[dir="ltr"] .dropdown-menu a:hover {
    padding-right: 20px;
    padding-left: 30px;
}

/* Mega Menu LTR */
html[dir="ltr"] .mega-column {
    border-left: none;
    border-right: 1px solid rgba(0, 33, 71, 0.08);
}

html[dir="ltr"] .mega-column:last-child {
    border-right: none;
}

html[dir="ltr"] .mega-list>li>a .sub-arrow {
    margin-right: 0;
    margin-left: auto;
}

html[dir="ltr"] .mega-list>li:hover>a .sub-arrow {
    transform: translateX(-5px);
}

html[dir="ltr"] .sub-dropdown {
    right: auto;
    left: calc(100% + 10px);
    transform: translateX(10px);
}

html[dir="ltr"] .sub-dropdown::before {
    right: auto;
    left: -10px;
    border-left: none;
    border-right: 10px solid var(--white);
}

html[dir="ltr"] .sub-dropdown li a::before {
    content: '▸';
    transform: translateX(-10px);
}

html[dir="ltr"] .sub-dropdown li a:hover {
    padding-right: 20px;
    padding-left: 25px;
}

/* Search Box LTR */
html[dir="ltr"] .search-box {
    left: auto;
    right: 60px;
}

html[dir="ltr"] .search-box input {
    direction: ltr;
}

/* About Section LTR */
html[dir="ltr"] .about-content {
    order: 1;
}

html[dir="ltr"] .about-media {
    order: 2;
}

/* Buttons with Arrows LTR */
html[dir="ltr"] .fa-arrow-left {
    transform: rotate(180deg);
}

/* Chevron icons are manually set in HTML for LTR pages */


/* Cards LTR */
html[dir="ltr"] .council-hero-btn i,
html[dir="ltr"] .president-cta-btn i,
html[dir="ltr"] .council-view-all-link i {
    transform: rotate(180deg);
}

/* Footer LTR */
html[dir="ltr"] .footer-links a i {
    margin-right: 0;
    margin-left: 10px;
}

/* News Cards LTR */
html[dir="ltr"] .news-date {
    right: auto;
    left: 15px;
}

/* Achievement Cards LTR */
html[dir="ltr"] .achievement-cards {
    right: auto;
    left: -30px;
}

/* Experience Badge LTR */
html[dir="ltr"] .experience-badge {
    right: auto;
    left: -20px;
}

/* Reveal Animations LTR */
html[dir="ltr"] .reveal-right {
    transform: translateX(-50px);
}

html[dir="ltr"] .reveal-left {
    transform: translateX(50px);
}

html[dir="ltr"] .reveal-right.revealed,
html[dir="ltr"] .reveal-left.revealed {
    transform: translateX(0);
}

html[dir="ltr"] .president-section-title {
    border-right: none;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-gold)
}


html[dir="ltr"] .main-menu.active,
html[dir="ltr"] .president-quote-mark {
    right: auto;
    left: 0;
}

html[dir="ltr"] .college-menu.active {
    right: 0;
    left: auto;
}

html[dir="ltr"] .footer-title::after {
    right: auto;
    left: 0;
}

html[dir="ltr"] .footer-menu a,
html[dir="ltr"] .contact-list li {
    flex-direction: row-reverse;
}

html[dir="ltr"] .college-glass-card::before {
    left: auto;
    right: 0;

}

html[dir="ltr"] .president-portrait {
    background-image: url("../../images/mr.jpeg") !important;
}

html[dir="ltr"] .title-underline {
    margin-left: 35px;
}

html[dir="ltr"] .main-menu>li>a {
    font-size: 15px;
}



/*-------breadcrumb----------*/

#breadcrumb {
    list-style: none;
    display: inline-block;
    margin-top: 15px;
    padding-right: 0;
    margin-bottom: 0;
}
#breadcrumb .icon {
    font-size: 14px;
}
#breadcrumb li {
    float: right;
    margin-bottom: 5px;
}
#breadcrumb li a {
    color: #FFF;
    display: block;
    background: #3498db;
    text-decoration: none;
    position: relative;
    height: 40px;
    line-height: 40px;
    padding: 0 10px 0 5px;
    text-align: center;
    margin-left: 23px;
}
#breadcrumb li:nth-child(even) a {
    background-color: #2980b9;
}
#breadcrumb li:nth-child(even) a:before {
    border-color: #2980b9;
    border-right-color: transparent;
}
#breadcrumb li:nth-child(even) a:after {
    border-right-color: #2980b9;
}
#breadcrumb li:first-child a {
    padding-right: 15px;
    -moz-border-radius: 0 10px 10px 0;
    -webkit-border-radius: 10px;
    border-radius:0 10px 10px 0;
}
#breadcrumb li:first-child a:before {
    border: none;
}
#breadcrumb li:last-child a {
    padding-left: 15px;
    -moz-border-radius: 10px 0 0 10px;
    -webkit-border-radius: 0;
    border-radius: 10px 0 0 10px ;
}
#breadcrumb li:last-child a:after {
    border: none;
}
#breadcrumb li a:before, #breadcrumb li a:after {
    content: "";
    position: absolute;
    top: 0;
    border: 0 solid #3498db;
    border-width: 20px 10px;
    width: 0;
    height: 0;
}
#breadcrumb li a:before {
    right: -17px;
    border-right-color: transparent;
}
#breadcrumb li a:after {
    right: 100%;
    border-color: transparent;
    border-right-color: #3498db;
}
#breadcrumb li a:hover {
    background-color: #1abc9c;
}
#breadcrumb li a:hover:before {
    border-color: #1abc9c;
    border-right-color: transparent;
}
#breadcrumb li a:hover:after {
    border-right-color: #1abc9c;
}
#breadcrumb li a:active {
    background-color: #16a085;
}
#breadcrumb li a:active:before {
    border-color: #16a085;
    border-right-color: transparent;
}
#breadcrumb li a:active:after {
    border-left-color: #16a085;
}
/*------------end breadcrumb--------------*/



.content-page
{
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 50px;
}
.video_page
{
    width: 100%;
    border-radius: 8px;
}

.details {
    line-height: 2.5;
}

.image_page {
    width: 100%;
    border-radius: 8px;
}

.title_page {
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: bold;
}




.details-wrapper {
    margin: 0 auto;
    padding: 18px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.details-header {
    margin-bottom: 40px;
}

.details-title {
    font-size: 25px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;

}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.divider-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #c9a961, transparent);
}

.divider-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.details-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    color: #666;
    font-size: 0.95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: #c9a961;
    font-size: 1rem;
}

.meta-divider {
    width: 1px;
    height: 16px;
    background: #ddd;
}

.details-media-container {
    margin: 30px 0 40px;
    display: flex;
    justify-content: center;
}

.media-frame {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    position: relative;
    background: #f5f5f5;
}

.details-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.image-frame:hover .details-image {
    transform: scale(1.02);
}

.details-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

.details-content-box {
    background: #fafafa;
    border-radius: 15px;
    padding: 35px 30px;
    border-right: 4px solid #0d3265;
    border-left: 4px solid #0d3265;
    margin-top: 20px;
}

.details-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    text-align: justify;
}

.details-text p {
    margin-bottom: 15px;
}

.details-text img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
}

.details-text h1,
.details-text h2,
.details-text h3,
.details-text h4 {
    color: #1a3a5c;
    margin: 20px 0 15px;
    font-weight: 700;
}

.details-text a {
    color: #c9a961;
    text-decoration: none;
    transition: color 0.3s ease;
}

.details-text a:hover {
    color: #1a3a5c;
}

.details-text ul,
.details-text ol {
    padding-right: 25px;
    padding-left: 25px;
    margin-bottom: 15px;
}

.details-text li {
    margin-bottom: 8px;
}

.details-text blockquote {
    border-right: 4px solid #c9a961;
    padding: 15px 20px;
    background: #fff;
    margin: 20px 0;
    font-style: italic;
    color: #555;
    border-radius: 8px;
}

.details-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    padding: 20px 25px;
    background: #fafafa;
    border-radius: 15px;
    border: 1px solid #eee;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a3a5c;
    font-weight: 600;
    font-size: 1rem;
}

.share-label i {
    color: #c9a961;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    color: #fff;
    opacity: 0.92;
}

.share-facebook  { background: #1877f2; }
.share-twitter   { background: #000000; }
.share-whatsapp  { background: #25d366; }
.share-telegram  { background: #0088cc; }
.share-linkedin  { background: #0a66c2; }
.share-copy      { background: #c9a961; }

.share-copy.copied {
    background: #28a745;
}

@media (max-width: 768px) {
    .details-wrapper {
        padding: 25px 15px;
    }

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

    .details-content-box {
        padding: 20px 15px;
    }

    .details-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .divider-line {
        width: 50px;
    }

    .divider-logo img {
        height: 30px;
    }

    .details-share {
        justify-content: center;
        padding: 18px 15px;
    }

    .share-label {
        width: 100%;
        justify-content: center;
    }

    .share-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .details-title {
        font-size: 1.3rem;
    }

    .details-wrapper {
        padding: 20px 10px;
    }

    .share-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

.university-card {
    display: block;
    text-decoration: none;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.university-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to left, #c9a961, #1a3a5c);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.university-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(26, 58, 92, 0.15);
    border-color: #c9a961;
}

.university-card:hover::before {
    transform: scaleX(1);
}

.university-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.university-card-image-wrap-small {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: #f8f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.2);
    transition: transform 0.4s ease;
}

.university-card:hover .university-card-image-wrap-small,
.university-card:hover .university-card-image-wrap-large
{
    transform: scale(1.05);
}

.university-card-image-wrap-large {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    background: #f8f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.2);
    transition: transform 0.4s ease;
}



.university-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.university-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d3265 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(13, 50, 101, 0.3);
    transition: all 0.4s ease;
}

.university-card:hover .university-card-icon {
    background: linear-gradient(135deg, #c9a961 0%, #b8924a 100%);
    transform: rotate(-8deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.4);
}

.university-card-icon svg,
.university-card-icon i {
    width: 32px;
    height: 32px;
    font-size: 1.8rem;
}

.university-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.university-card:hover .university-card-title {
    color: #c9a961;
}

@media (max-width: 576px) {
    .university-card {
        padding: 20px 15px;
    }

    .university-card-image-wrap-small,
    .university-card-icon {
        width: 70px;
        height: 70px;
    }

    .university-card-icon {
        font-size: 1.5rem;
    }

    .university-card-title {
        font-size: 0.95rem;
    }
}


.details-media-container-small
{
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-media-container-small   .media-frame-small
{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #f8f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.2);
    transition: transform 0.4s ease;
}

.details-media-container-small   .media-frame-small img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}





/* ============ Modern Form Design ============ */

:root {
    --form-primary: #4477bc;
    --form-primary-hover: #3a65a3;
    --form-primary-light: #e8f0fa;
    --form-border: #e1e5ea;
    --form-border-focus: #4477bc;
    --form-bg: #ffffff;
    --form-text: #2c3e50;
    --form-text-light: #7a8699;
    --form-error: #e74c3c;
    --form-success: #27ae60;
    --form-shadow: 0 4px 24px rgba(68, 119, 188, 0.08);
    --form-shadow-hover: 0 8px 32px rgba(68, 119, 188, 0.15);
    --form-radius: 12px;
    --form-radius-sm: 8px;
}

.modern-form-card {
    background: var(--form-bg);
    border-radius: var(--form-radius);
    box-shadow: var(--form-shadow);
    overflow: hidden;
    margin-top: 30px;
    transition: box-shadow 0.3s ease;
}

.modern-form-card:hover {
    box-shadow: var(--form-shadow-hover);
}

/* Form Header */
.modern-form-header {
    background: linear-gradient(135deg, var(--form-primary) 0%, #5a8fd8 100%);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
}

.modern-form-icon {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.modern-form-header-text h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.modern-form-header-text p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

/* Form Body */
.modern-form {
    padding: 30px;
}

/* Field Group */
.modern-field {
    margin-bottom: 22px;
    position: relative;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--form-text);
    margin-bottom: 10px;
}

.field-icon {
    color: var(--form-primary);
    font-size: 13px;
    width: 18px;
    text-align: center;
}

.required-mark {
    color: var(--form-error);
    font-weight: bold;
    margin-right: 3px;
}

/* Input Wrapper */
.modern-input-wrapper {
    position: relative;
}

.modern-input,
.modern-select {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    color: var(--form-text);
    background: #fafbfc;
    border: 1.5px solid var(--form-border);
    border-radius: var(--form-radius-sm);
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.modern-input::placeholder {
    color: #b8c0cc;
    font-size: 14px;
}

.modern-input:hover,
.modern-select:hover {
    border-color: #c5d0dd;
    background: #fff;
}

.modern-input:focus,
.modern-select:focus {
    border-color: var(--form-border-focus);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(68, 119, 188, 0.12);
}

/* Select styling */
.modern-select-wrapper {
    position: relative;
}

.modern-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-left: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234477bc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
    background-size: 14px;
    cursor: pointer;
}

/* Radio Buttons */
.modern-options-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modern-radio,
.modern-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #fafbfc;
    border: 1.5px solid var(--form-border);
    border-radius: var(--form-radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    font-size: 14px;
    color: var(--form-text);
    position: relative;
}

.modern-radio:hover,
.modern-checkbox:hover {
    border-color: var(--form-primary);
    background: var(--form-primary-light);
}

.modern-radio input,
.modern-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.modern-radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid #c5d0dd;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modern-radio input:checked ~ .modern-radio-mark {
    border-color: var(--form-primary);
    background: var(--form-primary);
}

.modern-radio input:checked ~ .modern-radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
}

.modern-radio input:checked ~ .modern-option-text {
    color: var(--form-primary);
    font-weight: 600;
}

.modern-radio:has(input:checked),
.modern-checkbox:has(input:checked) {
    border-color: var(--form-primary);
    background: var(--form-primary-light);
}

/* Checkboxes */
.modern-checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid #c5d0dd;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modern-checkbox input:checked ~ .modern-checkbox-mark {
    border-color: var(--form-primary);
    background: var(--form-primary);
}

.modern-checkbox input:checked ~ .modern-checkbox-mark::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
}

.modern-checkbox input:checked ~ .modern-option-text {
    color: var(--form-primary);
    font-weight: 600;
}

/* File Upload */
.modern-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    background: #fafbfc;
    border: 2px dashed var(--form-border);
    border-radius: var(--form-radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
    gap: 10px;
}

.modern-file-upload:hover {
    border-color: var(--form-primary);
    background: var(--form-primary-light);
}

.modern-file-upload.has-file {
    border-color: var(--form-success);
    background: #eafaf1;
    border-style: solid;
}

.modern-file-upload i {
    font-size: 30px;
    color: var(--form-primary);
    transition: transform 0.25s ease;
}

.modern-file-upload:hover i {
    transform: translateY(-3px);
}

.modern-file-upload.has-file i {
    color: var(--form-success);
}

.modern-file-text {
    font-size: 14px;
    color: var(--form-text-light);
    font-weight: 500;
}

.modern-file-name {
    font-size: 13px;
    color: var(--form-text);
    font-weight: 600;
    margin-top: 4px;
    word-break: break-all;
}

.modern-file-name.has-file {
    color: var(--form-success);
}

/* Errors */
.modern-error {
    display: block;
    color: var(--form-error);
    font-size: 12px;
    margin-top: 6px;
    min-height: 16px;
    font-weight: 500;
}

.borderError {
    border-color: var(--form-error) !important;
    background: #fdeeee !important;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.08) !important;
}

.modern-field.has-error .field-icon,
.modern-field.has-error > .modern-label {
    color: var(--form-error);
}

/* Submit Button */
.modern-submit-wrapper {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--form-border);
}

.modern-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    padding: 13px 40px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--form-primary) 0%, #5a8fd8 100%);
    border: none;
    border-radius: var(--form-radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(68, 119, 188, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 119, 188, 0.4);
}

.modern-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.modern-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.modern-submit-btn .btn-icon {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.modern-submit-btn:hover:not(:disabled) .btn-icon {
    transform: translateX(-4px);
}

/* Alerts */
.modern-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--form-radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}

.modern-alert i {
    font-size: 20px;
    flex-shrink: 0;
}

.modern-alert-success {
    background: #eafaf1;
    color: #1e7e44;
    border: 1px solid #a7e5c2;
}

.modern-alert-danger {
    background: #fdeeee;
    color: #c0392b;
    border: 1px solid #f5b7b1;
}

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

/* Responsive */
@media (max-width: 576px) {
    .modern-form-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .modern-form {
        padding: 20px;
    }

    .modern-submit-btn {
        width: 100%;
        min-width: auto;
    }

    .modern-options-group {
        flex-direction: column;
    }

    .modern-radio,
    .modern-checkbox {
        width: 100%;
    }
}

/* ============ End Modern Form Design ============ */


.error-form {
    color: var(--form-error);
}



.otherMedia video
{

    width: 100%;
    height: 250px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    background: #000;
}

.otherMedia .imageinitiatives
{
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
}


.dirMenu{
    left: 0;
    right: unset;
}







/*style college_elements */



/* ===========================================
   E-LIBRARY CARDS SECTION - المكتبة الإلكترونية
   =========================================== */
.elibrary-cards-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}


/* البطاقة الفردية (1، 3، 5...) */
.elibrary-cards-section:nth-child(odd) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* البطاقة الزوجية (2، 4، 6...) */
.elibrary-cards-section:nth-child(even) {
    background: #fff;
}








.elibrary-cards-container {
    max-width: 1200px;
    margin: 0 auto;
}

.elibrary-cards-container .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.elibrary-cards-container .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--college-primary);
    margin-bottom: 15px;
}

.elibrary-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.elibrary-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.elibrary-card.NewCard
{
    display: inline-grid;
    align-items: center;
    justify-content: center;
}



.elibrary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--college-gold) 0%, var(--college-gold-hover) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.elibrary-card:hover::before {
    transform: scaleX(1);
}

.elibrary-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.15);
}

.elibrary-card i {
    font-size: 2.5rem;
    color: var(--college-gold);
    margin-bottom: 20px;
    display: block;
    transition: all 0.4s ease;
}

.elibrary-card:hover i {
    color: var(--college-primary);
    transform: scale(1.15) rotateY(10deg);
}

.elibrary-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--college-primary);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.elibrary-card:hover h3 {
    color: var(--college-gold-hover);
}

.elibrary-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .elibrary-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .elibrary-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .elibrary-card {
        padding: 25px 20px;
    }

    .elibrary-card i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .elibrary-cards-section {
        padding: 60px 15px;
    }

    .elibrary-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .elibrary-cards-container .section-title {
        font-size: 1.8rem;
    }
}



/* =========================================================
Horizontal Cards Layout
========================================================= */
.elibrary-cards-horizontal {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.elibrary-card-horizontal {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.elibrary-card-horizontal::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--main-color, #0a6e3a);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.elibrary-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--main-color, #0a6e3a);
}

.elibrary-card-horizontal:hover::before {
    transform: scaleY(1);
}

.horizontal-card-image-wrap-small {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.horizontal-card-image-wrap-large {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.horizontal-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.horizontal-card-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 110, 58, 0.08);
    border-radius: 50%;
    color: var(--main-color, #0a6e3a);
    font-size: 26px;
}

.horizontal-card-content {
    flex: 1;
    min-width: 0;
}

.horizontal-card-content h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.horizontal-card-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horizontal-card-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--main-color, #0a6e3a);
    font-size: 14px;
    transition: all 0.3s ease;
}

.elibrary-card-horizontal:hover .horizontal-card-arrow {
    background: var(--main-color, #0a6e3a);
    color: #fff;
    transform: translateX(-4px);
}

[dir="ltr"] .elibrary-card-horizontal:hover .horizontal-card-arrow {
    transform: translateX(4px);
}

[dir="ltr"] .horizontal-card-arrow i {
    transform: rotate(180deg);
}

@media (max-width: 600px) {
    .elibrary-card-horizontal {
        padding: 12px 14px;
        gap: 12px;
    }

    .horizontal-card-image-wrap-small,
    .horizontal-card-image-wrap-large {
        width: 60px;
        height: 60px;
    }

    .horizontal-card-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .horizontal-card-content h3 {
        font-size: 16px;
    }

    .horizontal-card-content p {
        font-size: 13px;
    }

    .horizontal-card-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}


/* =========================================================
   Accordion Layout
   ========================================================= */
.elibrary-cards-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.accordion-item {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.accordion-item:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: rgba(10, 110, 58, 0.3);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    text-align: start;
    cursor: pointer;
    transition: background 0.3s ease;
    color: inherit;
}

.accordion-header:hover {
    background: rgba(10, 110, 58, 0.04);
}

.accordion-header:not(.collapsed) {
    background: rgba(10, 110, 58, 0.06);
    border-bottom: 1px solid rgba(10, 110, 58, 0.15);
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.accordion-card-image-wrap-small {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.accordion-card-image-wrap-large {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.accordion-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accordion-card-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 110, 58, 0.08);
    border-radius: 50%;
    color: var(--main-color, #0a6e3a);
    font-size: 18px;
}

.accordion-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    flex: 1;
}

.accordion-toggle-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: var(--main-color, #0a6e3a);
    font-size: 13px;
    transition: all 0.3s ease;
}

.accordion-header:not(.collapsed) .accordion-toggle-icon {
    background: var(--main-color, #0a6e3a);
    color: #fff;
    transform: rotate(180deg);
}

.accordion-body {
    padding: 16px 20px 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
}

.accordion-body p {
    margin: 0 0 14px;
}

.accordion-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--main-color, #0a6e3a);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.accordion-link:hover {
    background: #084d28;
    color: #fff;
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(10, 110, 58, 0.3);
}

[dir="ltr"] .accordion-link:hover {
    transform: translateX(4px);
}

[dir="ltr"] .accordion-link i {
    transform: rotate(180deg);
}

@media (max-width: 600px) {
    .accordion-header {
        padding: 12px 14px;
        gap: 10px;
    }

    .accordion-card-image-wrap-small {
        width: 38px;
        height: 38px;
    }

    .accordion-card-image-wrap-large {
        width: 52px;
        height: 52px;
    }

    .accordion-card-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .accordion-header h3 {
        font-size: 15px;
    }

    .accordion-toggle-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .accordion-body {
        padding: 14px 16px 16px;
        font-size: 14px;
    }
}

/*---------------------------------------------*/
