/* Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Institutional & European */
    --primary-color: #003399;
    /* European Flag Blue */
    --primary-dark: #002266;
    --primary-light: #3366cc;
    --secondary-color: #ffcc00;
    /* European Stars Yellow (used sparingly as accent) */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --muted-text: #6b7280;
    --bg-light: #ffffff;
    --bg-off-white: #f8f9fa;
    --bg-dark: #0f172a;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;

    /* Typography - Clamp for responsiveness */
    --font-family: 'Inter', sans-serif;
    --h1-size: clamp(2rem, 5vw, 3.5rem);
    --h2-size: clamp(1.8rem, 4vw, 2.5rem);
    --h3-size: clamp(1.2rem, 3vw, 1.5rem);
    --body-size: clamp(1rem, 1.2vw, 1.125rem);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Variables */
body.dark-mode {
    --text-dark: #f5f5f5;
    --text-light: #a3a3a3;
    --muted-text: #9ca3af;
    --bg-light: #0f172a;
    --bg-off-white: #1e293b;
    --bg-dark: #020617;
    --shadow-sm: 0 2px 4px rgba(255, 255, 255, 0.05);
    --shadow-md: 0 4px 6px rgba(255, 255, 255, 0.1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: var(--muted-text);
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 5rem 0;
}

.bg-off-white {
    background-color: var(--bg-off-white);
}

.center-btn {
    text-align: center;
    margin-top: 3rem;
}

.section-title {
    font-size: var(--h2-size);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-text {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.2s;
}

.btn-text:hover {
    color: var(--primary-dark);
}

/* Header */
header {
    background: #ffffff;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
}

header.scrolled {
    height: 60px;
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 3px rgba(0, 51, 153, 0.3));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(0, 51, 153, 0.6));
        transform: scale(1.02);
    }
}

header.scrolled .logo-img {
    height: 40px;
    transition: height 0.3s ease;
}

.logo-slogan {
    margin-left: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient(90deg, #003399 0%, #003399 40%, #ffcc00 60%, #ffcc00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    opacity: 0;
    animation: slideInSlogan 0.8s ease-out 0.3s forwards, shimmerSlogan 3s ease-in-out 1.5s infinite;
    font-style: italic;
    position: relative;
}

@keyframes slideInSlogan {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmerSlogan {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.15);
    }
}

header.scrolled .logo-slogan {
    font-size: 0.75rem;
    transition: font-size 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: baseline;
    margin-left: auto;
    padding-left: 2rem;
}

.nav-links li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #003399;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.nav-links a::before {
    display: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #ffcc00;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: #0044cc;
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 80%;
    left: 10%;
}

.nav-links a.active {
    color: #003399;
}

.nav-links a.active::after {
    width: 80%;
    left: 10%;
    background: #ffcc00;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: var(--header-height);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 153, 0.8), rgba(0, 51, 153, 0.5));
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    animation: slideInUp 0.8s ease-out;
}

.carousel-headline {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
}

@keyframes slideInUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Carousel Navigation Dots */
.carousel-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    width: 40px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-carousel {
        height: 70vh;
    }

    .carousel-headline {
        font-size: clamp(2rem, 10vw, 4rem);
    }

    .carousel-subtitle {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .carousel-dots {
        bottom: 2rem;
    }
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.impact-item {
    padding: 2rem;
}

.counter {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.impact-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border-top: 4px solid var(--primary-color);
    cursor: pointer;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.expertise-card.expanded {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.expertise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.expertise-header h3 {
    font-size: 1.15rem;
    margin-bottom: 0;
    color: var(--primary-color);
    flex: 1;
}

.expertise-card .btn-expand {
    background: var(--bg-off-white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.expertise-card:hover .btn-expand {
    background-color: var(--primary-color);
    color: white;
}

.expertise-card.expanded .btn-expand {
    transform: rotate(45deg);
    background-color: var(--primary-dark);
    color: white;
}

.expertise-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.expertise-card.expanded .expertise-content {
    max-height: 500px;
    opacity: 1;
    padding-top: 1rem;
}

.expertise-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.expertise-content ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--muted-text);
}

.expertise-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
}

/* Featured Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.project-meta {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-content p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* Partners Section */
.partner-category {
    margin-bottom: 3rem;
    text-align: center;
    /* Added from original to maintain centering */
}

.partner-category h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partner-desc {
    color: #666;
    margin-bottom: 1.5rem;
}

.partner-logos-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.partner-logo-item {
    flex: 0 1 auto;
}

.partner-logo-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-logo-img[alt="Erasmus+"] {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
}

.partner-logo-img:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.partner-logo {
    font-weight: 700;
    color: #9ca3af;
    font-size: 1.2rem;
    transition: color 0.3s;
    /* In real app, these would be img tags with filter: grayscale(1) */
}

.partner-logo:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-col p {
    color: #cbd5e1;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    text-align: center;
}

.copyright p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 2.5rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: black;
}


/* Modal Carousel */
.modal-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 8px;
    cursor: grab;
}

.modal-carousel:active {
    cursor: grabbing;
}

.modal-carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
}

.modal-carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}

.modal-carousel-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.modal-carousel-slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.modal-carousel-slide.slide-in-right {
    transform: translateX(100%);
    opacity: 0;
}

.modal-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.modal-carousel:hover .modal-carousel-slide img {
    transform: scale(1.02);
}

.modal-carousel-prev,
.modal-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 10;
    opacity: 0;
}

.modal-carousel:hover .modal-carousel-prev,
.modal-carousel:hover .modal-carousel-next {
    opacity: 1;
}

.modal-carousel-prev:hover,
.modal-carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.modal-carousel-prev:active,
.modal-carousel-next:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-carousel-prev {
    left: 10px;
}

.modal-carousel-next {
    right: 10px;
}

.modal-carousel-dots {
    text-align: center;
    padding: 15px 0;
}

.modal-carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.modal-carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.modal-carousel-dot:hover {
    background-color: #717171;
    transform: scale(1.2);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        height: calc(100vh - var(--header-height));
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transition: right var(--transition-speed);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title::after {
        left: 50%;
        /* Keep centered */
    }

    .logo-slogan {
        font-size: 0.65rem;
        margin-left: 0.5rem;
        max-width: 120px;
        white-space: normal;
        line-height: 1.2;
    }
}

@media (max-width: 1024px) {
    .logo-slogan {
        font-size: 0.75rem;
    }
}

/* About Page Styles */

/* Page Header */
.page-header {
    background-color: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 8rem 0 4rem;
    /* Top padding for fixed header */
}

.page-header h1 {
    font-size: var(--h1-size);
    margin-bottom: 1rem;
}

.page-header p {
    color: #e2e8f0;
    font-size: 1.2rem;
}

/* Mission & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.mv-card {
    padding: 2rem;
    border-left: 5px solid var(--primary-color);
    background: var(--bg-off-white);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.mv-card h2 {
    color: var(--primary-color);
}

/* Core Values */
.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.value-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 1 1 250px;
    text-align: center;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    height: auto;
    border-bottom: 3px solid transparent;
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
}

.team-header {
    margin-bottom: 1rem;
}

.team-header h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.role {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.full-bio {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.team-card.expanded .full-bio {
    max-height: 500px;
    /* Increased to fit content */
    opacity: 1;
    margin-top: 1rem;
}

.btn-expand {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-off-white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
}

.team-card:hover .btn-expand {
    background-color: var(--primary-color);
    color: white;
}

.team-card.expanded .btn-expand {
    transform: rotate(45deg);
    background-color: var(--primary-dark);
    color: white;
}

/* Cooperation */
.coop-list {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.coop-list ul {
    list-style: none;
    margin-top: 1.5rem;
}

.coop-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.coop-list li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Badge Visibility States */
.org-badges {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.org-badges.badges-hidden {
    opacity: 0;
    transform: translateX(20px);
    pointer-events: none;
}

.org-badges.badges-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Position at bottom when near footer */
.org-badges.bottom-position {
    top: auto;
    bottom: 20px;
}

/* Projects Filter Styles */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.badge.erasmus {
    background-color: #ffcc00;
    color: #003399;
}

/* EU Colors */
.badge.kosovo-funded {
    background-color: #1e40af;
    color: white;
}

.badge.irex {
    background-color: #e11d48;
    color: white;
}

.badge.local {
    background-color: #10b981;
    color: white;
}

.project-card.hidden {
    display: none;
    display: none;
}

/* Opportunities Tab Styles */
.tabs-container {
    max-width: 900px;
    margin: 0 auto;
}

.tabs-header {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 3rem;
    position: relative;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted-text);
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.tab-btn.active::after {
    width: 100%;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.opp-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.opp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.opp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.opp-header h3 {
    margin: 0;
    color: var(--primary-dark);
}

.opp-details {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.opp-details p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.opp-desc {
    margin-bottom: 1.5rem;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.info-item {
    margin-bottom: 2.5rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

.error-msg {
    display: none;
    color: #e11d48;
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e11d48;
}

.form-group.error .error-msg {
    display: block;
}

.form-response {
    display: none;
    text-align: center;
    padding: 2rem;
    background: #ecfdf5;
    color: #065f46;
    font-weight: 600;
}

/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-off-white);
}

.legal-section h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--primary-light);
}

.last-updated {
    font-style: italic;
    color: var(--muted-text);
    text-align: right;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-off-white);
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   COOKIE BANNER STYLES
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #003399 0%, #002266 100%);
    color: white;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffcc00;
}

.cookie-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

.cookie-text a {
    color: #ffcc00;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-accept {
    background: #ffcc00;
    color: #003399;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    background: #ffd633;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.cookie-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cookie-settings {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-settings:hover {
    color: #ffcc00;
}

/* Mobile Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

/* Elegant Text Reveal Animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: textReveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.text-reveal span:nth-child(1) { animation-delay: 0.1s; }
.text-reveal span:nth-child(2) { animation-delay: 0.2s; }
.text-reveal span:nth-child(3) { animation-delay: 0.3s; }

@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sophisticated Page Load Animation */
.page-wrapper {
    animation: pageLoad 1s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes pageLoad {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elegant Loading Shimmer for Cards */
.card-loading {
    position: relative;
    overflow: hidden;
}

.card-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmerLoad 1.5s infinite;
}

@keyframes shimmerLoad {
    100% {
        left: 100%;
    }
}

/* Sophisticated Form Micro-interactions */
.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 51, 153, 0.15);
}

.form-group label {
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: #003399;
}

/* Elegant Underline Animation for Section Titles */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #003399, #ffcc00);
    transition: width 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.section-title:hover::before {
    width: 100%;
}

/* Beautiful Stagger Animation for Grid Items */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-item.visible {
    animation: staggerIn 0.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.stagger-item:nth-child(1).visible { animation-delay: 0.1s; }
.stagger-item:nth-child(2).visible { animation-delay: 0.2s; }
.stagger-item:nth-child(3).visible { animation-delay: 0.3s; }
.stagger-item:nth-child(4).visible { animation-delay: 0.4s; }
.stagger-item:nth-child(5).visible { animation-delay: 0.5s; }
.stagger-item:nth-child(6).visible { animation-delay: 0.6s; }

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sophisticated Hover Lift Effect */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 51, 153, 0.15);
}

/* Elegant Image Mask Reveal */
.image-reveal {
    position: relative;
    overflow: hidden;
}

.image-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #003399;
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
}

.image-reveal:hover::before {
    transform: scaleX(0);
}

/* Smooth Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Beautiful Gradient Animation */
.gradient-animate {
    background: linear-gradient(45deg, #003399, #002266, #003399, #002266);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Elegant Button Press Effect */
.btn-press {
    transition: all 0.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.btn-press:active {
    transform: scale(0.95);
    box-shadow: inset 0 3px 10px rgba(0,0,0,0.2);
}

/* Sophisticated Text Gradient */
.text-gradient {
    background: linear-gradient(90deg, #003399, #ffcc00, #003399);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s linear infinite;
}

@keyframes textGradient {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Beautiful Card Stack Effect */
.card-stack {
    position: relative;
}

.card-stack::before,
.card-stack::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.card-stack::before {
    transform: translateY(10px) scale(0.95);
}

.card-stack::after {
    transform: translateY(20px) scale(0.9);
}

.card-stack:hover::before {
    transform: translateY(15px) scale(0.95);
}

.card-stack:hover::after {
    transform: translateY(30px) scale(0.9);
}

/* Smooth Reveal on Scroll */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Magnetic Cursor Effect for Buttons */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 51, 153, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Shine Effect on Hover */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Elegant Link Underline Animation */
a:not(.btn):not(.logo):not(.nav-links a) {
    position: relative;
    transition: color 0.3s ease;
}

a:not(.btn):not(.logo):not(.nav-links a)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #003399, #ffcc00);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

a:not(.btn):not(.logo):not(.nav-links a):hover::after {
    width: 100%;
}

/* Smooth Magnetic Cards */
.expertise-card,
.project-card,
.team-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.expertise-card:hover,
.project-card:hover,
.team-card:hover {
    transform: translateY(-12px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 25px 50px rgba(0, 51, 153, 0.2);
}

/* 3D Tilt Effect Container */
.expertise-card::after,
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 50%, rgba(0, 51, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.expertise-card:hover::after,
.project-card:hover::after {
    opacity: 1;
}

/* Beautiful Image Zoom with Overlay */
.project-card img,
.team-card img,
.carousel-slide img {
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover img,
.team-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

/* Elegant Social Icons */
.social-links a {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-off-white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a img {
    width: 20px;
    height: 20px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #003399, #002266);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.3);
}

.social-links a:hover img {
    filter: grayscale(0%) brightness(0) invert(1);
}

/* Smooth Parallax Scroll Effect */
.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 51, 153, 0.1) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

/* Floating Animation for Impact Items */
.impact-item {
    animation: gentleFloat 6s ease-in-out infinite;
}

.impact-item:nth-child(1) { animation-delay: 0s; }
.impact-item:nth-child(2) { animation-delay: 1.5s; }
.impact-item:nth-child(3) { animation-delay: 3s; }
.impact-item:nth-child(4) { animation-delay: 4.5s; }

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.01);
    }
}

/* Staggered Card Entrance */
@keyframes elegantEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.expertise-card.visible,
.project-card.visible {
    animation: elegantEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Glow Effect for Active Nav */
.nav-links a.active {
    position: relative;
}

.nav-links a.active::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px #ffcc00, 0 0 20px #ffcc00;
    }
    50% {
        box-shadow: 0 0 20px #ffcc00, 0 0 30px #ffcc00, 0 0 40px #ffcc00;
    }
}

/* Elegant Logo Animation */
.logo:hover .logo-img {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 8px 20px rgba(0, 51, 153, 0.3));
}

/* Smooth Section Transitions */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 51, 153, 0.02), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

section:hover::before {
    opacity: 1;
}

/* Ripple Effect for Clickable Elements */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.ripple:active::after {
    width: 200px;
    height: 200px;
    opacity: 1;
}

/* Mouse Trail Effect for Cursor */
@media (pointer: fine) {
    .cursor-trail {
        position: fixed;
        width: 20px;
        height: 20px;
        border: 2px solid rgba(0, 51, 153, 0.3);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transition: transform 0.1s ease, opacity 0.3s ease;
    }
}

/* ============================================
   PIC & OID BADGE STICKERS - PROFESSIONAL
   ============================================ */

.org-badges {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
    align-items: flex-end;
}

.badge-sticker {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    animation: stickerPulse 3s ease-in-out infinite, stickerGlow 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.badge-sticker::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shimmerRotate 3s linear infinite;
}

.badge-pic {
    background: linear-gradient(135deg, #003399 0%, #002266 100%);
    color: white;
    border: 2px solid #ffcc00;
}

.badge-oid {
    background: linear-gradient(135deg, #ffcc00 0%, #e6b800 100%);
    color: #003399;
    border: 2px solid #003399;
}

.badge-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-weight: 600;
}

.badge-value {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Sticker Animations */
@keyframes stickerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes stickerGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 51, 153, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 51, 153, 0.5), 0 0 20px rgba(255, 204, 0, 0.3);
    }
}

@keyframes shimmerRotate {
    0% {
        transform: translateX(-100%) rotate(0deg);
    }
    100% {
        transform: translateX(100%) rotate(0deg);
    }
}

/* Entrance Animation */
.badge-sticker {
    opacity: 0;
    animation: stickerPulse 3s ease-in-out infinite, stickerGlow 4s ease-in-out infinite, stickerEntrance 0.8s ease-out forwards;
}

.badge-pic {
    animation-delay: 0.5s, 0.5s, 0.2s;
}

.badge-oid {
    animation-delay: 0.7s, 0.7s, 0.4s;
}

@keyframes stickerEntrance {
    0% {
        opacity: 0;
        transform: translateX(100px) rotate(10deg) scale(0.8);
    }
    60% {
        transform: translateX(-10px) rotate(-2deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg) scale(1);
    }
}

/* Hover Effect */
.badge-sticker:hover {
    transform: scale(1.08) rotate(-2deg);
    cursor: pointer;
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .org-badges {
        top: 75px;
        right: 10px;
        flex-direction: row;
        gap: 8px;
        z-index: 1000;
    }
    
    .badge-sticker {
        padding: 5px 8px;
        min-width: 70px;
    }
    
    .badge-label {
        font-size: 0.5rem;
        letter-spacing: 0.5px;
    }
    
    .badge-value {
        font-size: 0.75rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .badge-sticker {
        animation: none;
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Gentle Pulse */
@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Bounce Animation */
@keyframes gentleBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Logo Animations */
.logo-img {
    animation: float 4s ease-in-out infinite;
}

.logo:hover .logo-img {
    animation: gentleBounce 0.6s ease;
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 51, 153, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Impact Item Animations */
.impact-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-item:hover {
    transform: translateY(-8px) scale(1.05);
}

.impact-item:hover .counter {
    animation: gentlePulse 1.5s ease-in-out infinite;
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Expertise Card Enhancements */
.expertise-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 51, 153, 0.15);
    border-top-width: 6px;
}

.expertise-card .btn-expand {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-card:hover .btn-expand {
    animation: gentleBounce 0.5s ease;
    background: linear-gradient(135deg, #003399, #ffcc00);
    color: white;
}

/* Project Card Animations */
.project-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 51, 153, 0.2);
}

.project-card:hover h3 {
    color: #003399;
    transition: color 0.3s ease;
}

/* Footer Link Animations */
.footer-col ul li a {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffcc00;
    transition: width 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffcc00;
    transform: translateX(5px);
}

.footer-col ul li a:hover::after {
    width: 100%;
}

/* Staggered Entrance for Cards */
.expertise-card:nth-child(1) { animation-delay: 0.1s; }
.expertise-card:nth-child(2) { animation-delay: 0.2s; }
.expertise-card:nth-child(3) { animation-delay: 0.3s; }
.expertise-card:nth-child(4) { animation-delay: 0.4s; }
.expertise-card:nth-child(5) { animation-delay: 0.5s; }
.expertise-card:nth-child(6) { animation-delay: 0.6s; }
.expertise-card:nth-child(7) { animation-delay: 0.7s; }
.expertise-card:nth-child(8) { animation-delay: 0.8s; }

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Partner Logo Animations */
.partner-logo-img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.3);
}

.partner-logo-img:hover {
    transform: scale(1.15) rotate(3deg);
    filter: grayscale(0);
    filter: drop-shadow(0 10px 20px rgba(0, 51, 153, 0.2));
}

/* Section Title Animation */
.section-title {
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    z-index: -1;
}

.section-title:hover::before {
    width: 200px;
    height: 200px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}