:root {
    --primary-900: #003f0a;
    --primary-800: hsl(157, 83%, 23%);
    --primary-600: #067227;
    --primary-500: #067415;
    --accent-500: #D4AF37;
    --accent-600: #B8860B;
    --text-900: #0f172a;
    --text-700: #334155;
    --text-500: #64748b;
    --bg-100: #f1f5f9;
    --bg-200: #e2e8f0;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary-800), var(--primary-500));
    --gradient-accent: linear-gradient(135deg, var(--accent-500), var(--accent-600));
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-spacer {
    height: 120px;
}
.hero-kicker {
  
    
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.85rem;
    font-weight: 900;
 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', system-ui, -apple-system, sans-serif;
    line-height: 1.8;
    color: var(--text-900);
    background: var(--bg-100);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 25%);
}

/* Global Link Styles */
a {
    text-decoration: none;
}

/* Header - Glassmorphism */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

header nav {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-800);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
    color: var(--accent-500);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--primary-800);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-500);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

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

.mobile-nav-header {
    display: none;
}

.mobile-nav-title {
    font-weight: 700;
    color: var(--primary-800);
}

body.mobile-nav-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    header .navbar-collapse {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 2rem 1.5rem;
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
        transition: right 0.35s ease;
        z-index: 999;
        overflow-y: auto;
    }

    header .navbar-collapse.show {
        right: 0;
    }

    header .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    header .navbar-nav .nav-link {
        font-size: 1rem;
        width: 100%;
        padding-inline: 0;
    }

    header .navbar-nav .nav-link::before {
        content: "\25C6"; /* diamond shape */
        color: var(--primary-500);
        font-size: 0.6rem;
        margin-left: 0.5rem;
        display: inline-block;
    }

    header .navbar-nav .btn {
        width: 100%;
        text-align: center;
    }

    .mobile-nav-header {
        display: flex;
    }

    #login-btn {
        width: 100%;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-800);
    cursor: pointer;
}

/* Hero - Advanced */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #021f0a, #0a2f11 60%, #05331c);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    z-index: 0;
}

/* Particle Background */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, rgba(255,255,255,0.75));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white) !important;
    padding: 0.5rem 2.0rem;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(212, 175, 55, 0.28);
}

.btn-primary:focus {
    outline: none;
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.35);
    outline-offset: 2px;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-lg);
}

.btn-primary:disabled,
.btn-primary.disabled {
    opacity: 0.7;
    cursor: not-allowed;
    box-shadow: var(--shadow-sm);
    transform: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.hero-slider {
    position: relative;
}

.hero-news-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
}

.hero-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.hero-news-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

@media (min-width: 576px) {
    .hero-news-image {
        height: 320px;
    }
}

@media (min-width: 768px) {
    .hero-news-image {
        height: 360px;
    }
}

@media (min-width: 992px) {
    .hero-news-image {
        height: 420px;
    }
}

@media (min-width: 1200px) {
    .hero-news-image {
        height: 480px;
    }
}

.hero-news-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
}

.hero-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-scroll-indicator .indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

.hero-scroll-indicator i {
    font-size: 1.2rem;
    animation: bob 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(8px);
    }
}

@keyframes bob {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(6px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-news-footer {
    background: #1a4d3a;
    padding: 1rem 1.25rem;
    border-top: 3px solid var(--accent-500);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-news-footer h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.hero-news-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.hero-news-card:hover .hero-news-more {
    background: rgba(255, 255, 255, 0.12);
}

#heroCarousel .carousel-control-next-icon,
#heroCarousel .carousel-control-prev-icon {
    filter: invert(1) grayscale(100%);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-800);
    display: block;
}

.stat-card .label {
    font-size: 0.95rem;
    color: var(--text-700);
    font-weight: 500;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-800);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-500);
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--bg-200);
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 0;
    background: var(--accent-500);
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 100px;
    height: 100px;
    aspect-ratio: 1 / 1;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-accent);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--primary-800);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-500);
    margin-bottom: 1.5rem;
}


.area-card {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
}


.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: var(--transition);
}


.area-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 2rem;
    color: var(--white);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.area-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.area-content p {
    font-size: 0.85rem;
}

/* Faculty Carousel Wrapper */
.faculty-carousel-wrapper {
    position: relative;
    padding: 0 48px;
}

/* Faculty Carousel */
.faculty-carousel {
    position: relative;
    overflow: hidden;
}

/* Custom Navigation Buttons */
.faculty-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-500);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000!important;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.faculty-nav-btn:hover {
    background: var(--primary-600);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.faculty-prev-btn {
    right: -25px;
}

.faculty-next-btn {
    left: -25px;
}

.faculty-track {
    display: flex;
    gap: 2rem;
    transform: translateX(0);
    transition: transform 0.5s ease;
}

.faculty-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    margin: 0 0.5rem;
    height: 380px; /* ارتفاع ثابت برای همه کارت‌ها */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faculty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-500);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-600);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 1rem;
}

.slider-btn.next {
    right: 1rem;
}

.faculty-avatar {
    width: 85px;
    height: 85px; /* width و height دقیقاً برابر */
    aspect-ratio: 1 / 1; /* تضمین نسبت ابعاد 1:1 */
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    overflow: hidden;
    box-sizing: border-box;
    position: relative;
    display: block;
    flex-shrink: 0;
}

.faculty-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.faculty-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-900);
    flex-shrink: 0;
}

.faculty-card .text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faculty-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.faculty-card p:first-of-type {
    color: var(--primary-500);
    font-weight: 500;
}

.faculty-card p:nth-of-type(2) {
    color: var(--text-500);
}

.faculty-card p:last-of-type {
    color: var(--text-700);
}

/* Slick Slider Custom Styles */
.faculty-slider {
    margin: 2rem 0;
}

.faculty-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.faculty-slider .slick-slide {
    height: auto;
    padding: 0 10px;
}

.faculty-slider .slick-slide > div {
    height: auto;
    outline: none;
}

.faculty-slider .slick-list {
    margin: 0 -10px;
    overflow: hidden;
}

.faculty-slider .slick-track {
    display: flex;
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
}

.faculty-slider .slick-dots {
    bottom: -40px;
}

.faculty-slider .slick-dots li button:before {
    color: var(--primary-500);
    opacity: 0.5;
}

.faculty-slider .slick-dots li.slick-active button:before {
    opacity: 1;
}


/* Mobile adjustments for navigation buttons */
@media (max-width: 768px) {
    .faculty-carousel-wrapper {
        padding: 0 32px;
    }

    .faculty-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .faculty-prev-btn {
        right: -20px;
    }

    .faculty-next-btn {
        left: -20px;
    }
}

/* Area Carousel Styles */
.area-carousel-wrapper {
    position: relative;
    padding: 0 48px;
}

.area-carousel {
    position: relative;
    overflow: hidden;
}

.area-slider {
    margin: 2rem 0;
}

.area-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.area-slider .slick-slide {
    height: auto;
    padding: 0 15px;
}

.area-slider .slick-slide > div {
    height: auto;
    outline: none;
}

.area-slider .slick-list {
    margin: 0 -15px;
    overflow: hidden;
}

.area-slider .slick-dots {
    bottom: -40px;
}

.area-slider .slick-dots li button:before {
    color: var(--primary-500);
    opacity: 0.5;
}

.area-slider .slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Area Navigation Buttons */
.area-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-500);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.area-nav-btn:hover {
    background: var(--primary-600);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.area-prev-btn {
    right: -25px;
}

.area-next-btn {
    left: -25px;
}

.area-slide {
    outline: none;
}

/* Mobile adjustments for area navigation buttons */
@media (max-width: 768px) {
    .area-carousel-wrapper {
        padding: 0 32px;
    }

    .area-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .area-prev-btn {
        right: -20px;
    }

    .area-next-btn {
        left: -20px;
    }
}

.announcement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    color: var(--white);
}

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

.announcement-card h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.announcement-card p {
    color: rgba(255, 255, 255, 0.9);
}

.announcement-date {
    background: var(--accent-500);
    color: var(--primary-800);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-200);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-800);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--bg-200);
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-100);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Footer - Professional */
footer, .announcements {
    background: var(--primary-900);
    color: var(--white);
    padding: 4rem 2rem 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent-500);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-500);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-500);
    padding-right: 0.5rem;
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-500);
    color: var(--primary-800);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
    max-height: none;
    transition: all 0.3s ease;
}

/* Side Menu Overlay */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1999;
}

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

/* Side Menu Container */
.side-menu {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 2000;
    overflow-y: auto;
    direction: rtl;
}

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

/* Side Menu Header */
.side-menu-header {
    background: var(--gradient-primary);
    padding: 2rem 1.5rem;
    color: var(--white);
    border-bottom: 3px solid var(--accent-500);
}

.side-menu-header .logo {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.side-menu-header .logo i {
    color: var(--accent-500);
}

.side-menu-header p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* Side Menu Content */
.side-menu-content {
    padding: 2rem 1.5rem;
}

.side-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-menu-nav li {
    margin-bottom: 0.5rem;
}

.side-menu-nav a {
    display: block;
    color: var(--primary-800);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.side-menu-nav a:hover {
    background: rgba(0, 102, 204, 0.05);
    border-color: var(--primary-200);
    transform: translateX(-5px);
}

/* Dropdown in Side Menu */
.side-menu .dropdown {
    position: static;
}

.side-menu .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
}

.side-menu .dropdown-menu.show {
    display: block;
}

.side-menu .dropdown-item {
    color: var(--text-700);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    transition: var(--transition);
}

.side-menu .dropdown-item:hover {
    background: var(--bg-200);
    color: var(--primary-600);
    transform: translateX(-3px);
}

.side-menu .dropdown-divider {
    margin: 0.5rem 1.5rem;
    border-color: var(--bg-200);
}

/* Close Button */
.side-menu-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.side-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-500);
    border: 2px solid var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle:hover {
    background: var(--primary-600);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

/* FAQ Animations */
.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-800);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 102, 204, 0.05);
}

.faq-icon {
    color: var(--accent-500);
    transition: var(--transition);
    transform-origin: center;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-700);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item[open] .faq-answer {
    max-height: 500px;
    opacity: 1;
    animation: fadeInUp 0.4s ease-out;
}

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

/* Floating Shapes */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.05;
    animation: float 20s linear infinite;
}

.shape:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: var(--accent-500);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-duration: 25s;
    animation-delay: -5s;
}

.shape:nth-child(2) {
    top: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: var(--primary-500);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-duration: 30s;
    animation-delay: -10s;
}

.shape:nth-child(3) {
    top: 60%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: var(--accent-500);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-duration: 35s;
    animation-delay: -15s;
}

.shape:nth-child(4) {
    top: 70%;
    right: 10%;
    width: 50px;
    height: 50px;
    background: var(--primary-500);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-duration: 28s;
    animation-delay: -8s;
}

.shape:nth-child(5) {
    top: 40%;
    left: 70%;
    width: 35px;
    height: 35px;
    background: var(--accent-600);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-duration: 32s;
    animation-delay: -20s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) rotate(270deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* FAQ Accordion Animation */
details {
    transition: all 0.3s ease;
}

details summary {
    transition: all 0.3s ease;
}

details summary i {
    transition: transform 0.3s ease;
}

details[open] summary i {
    transform: rotate(180deg);
}

details div {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-800);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* FAQ Styles */
.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-800);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: right;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 102, 204, 0.05);
}

.faq-icon {
    color: var(--accent-500);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    color: var(--text-700);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.faq-item[open] .faq-answer {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

/* Organizations Carousel */
.organizations-carousel-wrapper {
    position: relative;
    padding: 0 48px;
}

.organizations-carousel {
    position: relative;
    overflow: hidden;
}

.organizations-slider {
    margin: 2rem 0;
}

.organizations-slider .slick-track {
    display: flex;
    align-items: center;
}

.organizations-slider .slick-slide {
    height: auto;
    padding: 0 10px;
}

.organizations-slider .slick-slide > div {
    height: auto;
    outline: none;
}

.organizations-slider .slick-list {
    margin: 0 -10px;
    overflow: hidden;
}

.organizations-slider .slick-dots {
    bottom: -40px;
}

.organizations-slider .slick-dots li button:before {
    color: var(--primary-500);
    opacity: 0.5;
}

.organizations-slider .slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Organization Logos */
.org-logo {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
}

/* Organization Navigation Buttons */
.org-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-500);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000!important;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.org-nav-btn:hover {
    background: var(--primary-600);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.org-prev-btn {
    right: -25px;
}

.org-next-btn {
    left: -25px;
}

/* Responsive Design for Organizations Carousel */
@media (max-width: 992px) {
    .organizations-carousel-wrapper {
        padding: 0 40px;
    }

    .org-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .org-prev-btn {
        right: -20px;
    }

    .org-next-btn {
        left: -20px;
    }
}

@media (max-width: 768px) {
    .organizations-carousel-wrapper {
        padding: 0 32px;
    }

    .org-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .org-prev-btn {
        right: -15px;
    }

    .org-next-btn {
        left: -15px;
    }
}

/* Responsive font size for site name */
#nameofsite small {
    font-size: 12px; /* Small screens */
}

@media (min-width: 768px) {
    #nameofsite small {
        font-size: 14px; /* Medium screens */
    }
}

@media (min-width: 992px) {
    #nameofsite small {
        font-size: 16px; /* Large screens */
    }
}

.btn-print {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1.2;
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .blog-post,
    .blog-post * {
        visibility: visible !important;
    }

    .blog-post {
        position: static !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: #ffffff !important;
    }

    header,
    footer,
    .announcements,
    .breadcrumb-wrapper,
    .article-footer-card,
    .hero-share,
    .related-posts,
    .back-to-top {
        display: none !important;
    }

    .article-card,
    .article-image,
    .article-content {
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
    }
}
