/* CSNET Landing Page Styles - Optimized for Performance */

/* Critical CSS - Above the fold content */
/* This section contains styles for content visible immediately on page load */

/* Performance optimizations */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Optimize font loading */
body {
    font-display: swap; /* Improve font loading performance */
}

/* Optimize images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading support */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Improve touch targets for mobile */
a, button, .btn {
    min-height: 44px;
    min-width: 44px;
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px;
}

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

.um-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5aa0;
}

.um-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: -5px;
}

/* ===== CELCOM DIGI INSPIRED NAVIGATION SYSTEM ===== */

/* Main Navigation Container */
.main-nav {
    position: relative;
    z-index: 1000;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

/* Navigation Items */
.nav-item {
    position: relative;
}

/* Navigation Links - Celcom Digi Style */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.05);
    border-color: rgba(0, 102, 204, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.nav-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
    background-color: rgba(0, 102, 204, 0.05);
}

.nav-link.active {
    color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
    border-color: rgba(0, 102, 204, 0.2);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

/* Navigation Text */
.nav-text {
    font-size: inherit;
    font-weight: inherit;
}

/* ===== CELCOM DIGI INSPIRED DROPDOWN STYLES ===== */

/* Dropdown Container */
.dropdown {
    position: relative;
}

/* Dropdown Icon - Celcom Digi Style */
.dropdown-icon {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #666;
    width: 14px;
    height: 14px;
}

.dropdown:hover .dropdown-icon,
.dropdown.active .dropdown-icon {
    transform: rotate(180deg);
    color: #0066cc;
}

/* Dropdown Menu - Celcom Digi Inspired */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    background: #ffffff;
    min-width: 320px;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 204, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
    padding: 0.75rem 0;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.98);
    overflow: hidden;
}

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

/* Dropdown Items */
.dropdown-item {
    margin: 0;
    width: 100%;
}

/* Dropdown Links - Celcom Digi Style */
.dropdown-link {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 1.125rem 1.5rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.dropdown-item:last-child .dropdown-link {
    border-bottom: none;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #0052a3);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.dropdown-link:hover {
    background-color: rgba(0, 102, 204, 0.05);
    color: #0066cc;
    transform: translateX(8px);
    padding-left: 2rem;
}

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

/* Dropdown Text Elements - Celcom Digi Style */
.dropdown-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: inherit;
    line-height: 1.4;
}

.dropdown-description {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    line-height: 1.3;
}

.dropdown-link:hover .dropdown-description {
    color: #0052a3;
}

/* ===== CELCOM DIGI MEGA MENU STYLES ===== */

/* Mega Menu Container */
.mega-menu .dropdown-menu {
    min-width: 600px;
    max-width: 800px;
    padding: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-15px) scale(0.95);
}

.mega-menu:hover .dropdown-menu,
.mega-menu.active .dropdown-menu {
    transform: translateX(-50%) translateY(0) scale(1);
}

/* Mega Menu Content Layout */
.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Mega Menu Sections */
.mega-menu-section {
    display: flex;
    flex-direction: column;
}

.mega-menu-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
}

/* Mega Menu Lists */
.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mega-menu-list li {
    margin: 0;
}

/* Mega Menu Links - Celcom Digi Style */
.mega-menu-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: #1a1a1a;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.mega-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #0052a3);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.mega-menu-link:hover {
    background-color: rgba(0, 102, 204, 0.05);
    color: #0066cc;
    transform: translateX(6px);
    padding-left: 1.5rem;
}

.mega-menu-link:hover::before {
    width: 3px;
}

/* Mega Menu Link Text */
.mega-link-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: inherit;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.mega-link-desc {
    font-size: 0.8rem;
    color: #666;
    font-weight: 400;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.mega-menu-link:hover .mega-link-desc {
    color: #0052a3;
}

/* ===== MOBILE MENU TOGGLE ===== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1001;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.menu-toggle:hover {
    background-color: #f8fafc;
}

.menu-toggle:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* Hamburger Lines - Celcom Digi Style */
.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #0066cc;
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 3px;
    transform-origin: center;
    box-shadow: 0 1px 2px rgba(0, 102, 204, 0.2);
}

/* Hamburger Animation */
.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1001;
        position: fixed;
        top: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border: 2px solid rgba(0, 102, 204, 0.2);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
        border-radius: 10px;
        width: 48px;
        height: 48px;
    }

    .menu-toggle:hover {
        background: rgba(0, 102, 204, 0.05);
        border-color: rgba(0, 102, 204, 0.4);
        transform: scale(1.05);
    }

    .menu-toggle.active {
        background: rgba(0, 102, 204, 0.1);
        border-color: #0066cc;
        box-shadow: 0 6px 16px rgba(0, 102, 204, 0.25);
    }

    /* Mobile Hamburger Lines */
    .hamburger-line {
        background-color: #0066cc !important;
        width: 26px;
        height: 3px;
        margin: 3px 0;
        box-shadow: 0 1px 3px rgba(0, 102, 204, 0.3);
    }

    .main-nav {
        position: relative;
    }

    /* Mobile Navigation Menu */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5rem 0 2rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        gap: 0;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.show {
        left: 0;
    }

    /* Mobile Navigation Items */
    .nav-item {
        margin: 0;
        width: 100%;
    }

    /* Mobile Navigation Links */
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        margin: 0;
        border-radius: 0;
        font-size: 1.05rem;
        color: #1e293b;
        text-align: left;
        transition: all 0.2s ease;
        border-bottom: 1px solid #e2e8f0;
        min-height: 60px;
        font-weight: 500;
        transform: none;
        background-color: #ffffff;
    }

    .nav-item:last-child .nav-link {
        border-bottom: 1px solid #e2e8f0;
    }

    .nav-link:hover,
    .nav-link:focus {
        background-color: rgba(0, 102, 204, 0.05);
        color: #0066cc;
        transform: none;
        padding-left: 1.75rem;
    }

    .nav-link.active {
        background-color: rgba(0, 102, 204, 0.1);
        color: #0066cc;
        font-weight: 600;
        border-left: 4px solid #0066cc;
    }

    /* Mobile Dropdown Styles - Celcom Digi Inspired */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 102, 204, 0.02);
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        width: 100%;
        margin: 0;
        min-width: auto;
        border-top: 1px solid rgba(0, 102, 204, 0.1);
        backdrop-filter: blur(8px);
    }

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

    /* Mobile Dropdown Items */
    .dropdown-item {
        width: 100%;
        margin: 0;
    }

    /* Mobile Dropdown Links - Celcom Digi Style */
    .dropdown-link {
        padding: 1.25rem 2rem;
        background-color: rgba(0, 102, 204, 0.02);
        border-bottom: 1px solid rgba(0, 102, 204, 0.08);
        font-size: 0.95rem;
        color: #1a1a1a;
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        text-align: left;
        min-height: auto;
        transform: none;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        overflow: hidden;
    }

    .dropdown-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, #0066cc, #0052a3);
        transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 0;
    }

    .dropdown-item:last-child .dropdown-link {
        border-bottom: none;
    }

    .dropdown-link:hover {
        background-color: rgba(0, 102, 204, 0.08);
        color: #0066cc;
        transform: none;
        padding-left: 2.5rem;
    }

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

    /* Mobile Dropdown Text - Celcom Digi Style */
    .dropdown-text {
        font-weight: 600;
        font-size: 0.95rem;
        color: inherit;
        position: relative;
        z-index: 1;
    }

    .dropdown-description {
        font-size: 0.8rem;
        color: #666;
        font-weight: 400;
        margin-top: 0.125rem;
        position: relative;
        z-index: 1;
    }

    .dropdown-link:hover .dropdown-description {
        color: #0052a3;
    }

    /* Mobile Dropdown Icon - Celcom Digi Style */
    .dropdown-icon {
        margin-left: auto;
        transform: rotate(0deg);
        color: #666;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .dropdown.active .dropdown-icon {
        transform: rotate(180deg);
        color: #0066cc;
    }

    /* Mobile Mega Menu Styles */
    .mega-menu .dropdown-menu {
        min-width: auto;
        max-width: none;
        padding: 0;
        left: 0;
        transform: none;
        position: static;
        background: rgba(0, 102, 204, 0.02);
        border-radius: 0;
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(0, 102, 204, 0.1);
    }

    .mega-menu:hover .dropdown-menu,
    .mega-menu.active .dropdown-menu {
        transform: none;
    }

    .mega-menu-content {
        display: block;
        padding: 0;
    }

    .mega-menu-section {
        margin-bottom: 0;
        border-bottom: 1px solid rgba(0, 102, 204, 0.08);
    }

    .mega-menu-section:last-child {
        border-bottom: none;
    }

    .mega-menu-title {
        font-size: 0.7rem;
        padding: 1rem 1.5rem 0.5rem;
        margin-bottom: 0;
        border-bottom: none;
        background: rgba(0, 102, 204, 0.03);
        color: #0066cc;
    }

    .mega-menu-list {
        gap: 0;
    }

    .mega-menu-link {
        padding: 1rem 2rem;
        border-radius: 0;
        background-color: rgba(0, 102, 204, 0.02);
        border-bottom: 1px solid rgba(0, 102, 204, 0.05);
    }

    .mega-menu-link:hover {
        background-color: rgba(0, 102, 204, 0.08);
        padding-left: 2.5rem;
        transform: none;
    }

    .mega-link-text {
        font-size: 0.9rem;
    }

    .mega-link-desc {
        font-size: 0.75rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero .description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #2c5aa0;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5aa0;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
    font-weight: 300;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2c5aa0;
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
    text-align: justify;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2c5aa0;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Members Page Styles */
.members-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.members-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.members-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Small Hero Banner for Members */
.members-hero-small {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1.5rem 0 1rem;
    text-align: center;
}

.members-hero-small h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.members-hero-small p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* Members Content Section (No Banner) */
.members-content {
    padding: 2rem 0 4rem;
}

.team-section {
    padding: 4rem 0;
}

.team-category {
    margin-bottom: 4rem;
}

.team-category:last-child {
    margin-bottom: 0;
}

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

.team-member {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #0066cc;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
    background-color: #f8f9fa;
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 1;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-title {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.member-email {
    margin-bottom: 0.5rem;
}

.member-email a {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 0.9rem;
}

.member-email a:hover {
    text-decoration: underline;
}

.member-profile a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.member-profile a:hover {
    background-color: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

/* People Page Styles */
.people-content {
    padding: 2rem 0 4rem;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-header h1 {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.people-category {
    margin-bottom: 4rem;
}

.people-category:last-child {
    margin-bottom: 0;
}

.projects-list,
.graduates-list {
    margin-top: 2rem;
}

.project-item,
.graduate-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2c5aa0;
    transition: all 0.3s ease;
}

.project-item:hover,
.graduate-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.project-title,
.graduate-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.project-student {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.graduate-thesis {
    margin-bottom: 0.5rem;
}

.graduate-thesis a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    font-style: italic;
}

.graduate-thesis a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

.project-description,
.graduate-year {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.empty-state p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Projects Page Styles */
.projects-content {
    padding: 2rem 0 4rem;
}

.projects-category {
    margin-bottom: 4rem;
}

.projects-category:last-child {
    margin-bottom: 0;
}

.projects-list,
.completed-projects-list {
    margin-top: 2rem;
}

.project-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2c5aa0;
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.project-duration {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.project-funding {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.project-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.project-team {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1.5rem 0 0.5rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.footer-section a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section strong {
    color: white;
    font-weight: 600;
}

/* Footer Icons */
.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-color: rgba(255,255,255,0.9);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    vertical-align: middle;
}

.icon-building {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 21h18M5 21V7l8-4v18M19 21V10l-6-3'/%3E%3Cpath d='M9 9v.01M9 12v.01M9 15v.01M13 9v.01M13 12v.01M13 15v.01'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 21h18M5 21V7l8-4v18M19 21V10l-6-3'/%3E%3Cpath d='M9 9v.01M9 12v.01M9 15v.01M13 9v.01M13 12v.01M13 15v.01'/%3E%3C/svg%3E");
}

.icon-location {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.icon-university {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E");
}

.icon-address {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z'/%3E%3Cpath d='M3 9l9 6 9-6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z'/%3E%3Cpath d='M3 9l9 6 9-6'/%3E%3C/svg%3E");
}

.icon-contact {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3C/svg%3E");
}

.icon-email {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.icon-phone {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.icon-link {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

.icon-web {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}

.icon-computer {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Crect x='2' y='3' width='20' height='14' rx='2' ry='2'/%3E%3Cline x1='8' y1='21' x2='16' y2='21'/%3E%3Cline x1='12' y1='17' x2='12' y2='21'/%3E%3C/svg%3E");
}

.icon-security {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 0.75rem;
    margin-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive Design */

/* Tablet styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

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

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .about-content {
        gap: 2rem;
    }

    /* Contact page tablet */
    .contact-hero h1 {
        font-size: 2.4rem;
    }

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

    .contact-card {
        padding: 2rem;
    }

    .opportunity-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .opportunity-card {
        padding: 2rem;
        min-height: 380px;
    }

    .category-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header mobile adjustments */
    header {
        position: relative;
        z-index: 1002;
    }

    .header-content {
        padding: 0.75rem 0;
        position: relative;
    }

    .um-logo {
        height: 45px;
    }

    /* Hero section mobile */
    .hero {
        padding: 3rem 0;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero .description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Sections mobile */
    .features, .about {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    /* About section mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .about-text p {
        font-size: 1rem;
        text-align: left;
    }

    /* Contact page mobile */
    .contact-hero {
        padding: 2.5rem 0;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-info {
        padding: 3rem 0;
    }

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

    .contact-card {
        padding: 2rem;
    }

    .opportunities {
        padding: 3rem 0;
    }

    .opportunity-category {
        margin-bottom: 3rem;
    }

    .category-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .category-icon {
        font-size: 3rem;
    }

    .category-title {
        font-size: 1.8rem;
    }

    .category-subtitle {
        font-size: 1rem;
    }

    .opportunity-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .opportunity-card {
        padding: 2rem;
        min-height: 350px;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .card-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 2rem;
    }

    .card-header h4 {
        font-size: 1.2rem;
    }

    .contact-cta {
        padding: 3rem 0;
    }

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

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Footer mobile */
    footer {
        padding: 1.5rem 0;
    }

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

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    .footer-section a {
        font-size: 1rem;
        padding: 0.5rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .footer-bottom p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 15px;
    }

    /* Members page mobile styles */
    .members-hero h1 {
        font-size: 2rem;
    }

    .members-hero p {
        font-size: 1rem;
    }

    .members-hero-small {
        padding: 1rem 0 0.75rem;
    }

    .members-hero-small h1 {
        font-size: 1.8rem;
    }

    .members-hero-small p {
        font-size: 0.9rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }

    .member-photo {
        width: 140px;
        height: 140px;
        margin-bottom: 1.5rem;
    }

    .member-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .member-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .member-email a,
    .member-profile a {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Page headers mobile styles */
    .page-header {
        text-align: center;
        margin-bottom: 3rem;
        padding: 0 10px;
    }

    .page-header h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    .project-item,
    .graduate-item {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .project-title,
    .graduate-name {
        font-size: 1rem;
    }

    .empty-state {
        padding: 2rem 1rem;
    }

    .empty-state p {
        font-size: 1rem;
    }

    /* Projects page mobile styles */
    .project-item {
        padding: 1rem;
        margin-bottom: 0.75rem;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .project-duration,
    .project-funding,
    .project-description,
    .project-team {
        font-size: 0.9rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-info {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: rgba(44, 90, 160, 0.2);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.contact-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-card a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.opportunities {
    padding: 5rem 0;
    background: white;
}

.opportunity-category {
    margin-bottom: 5rem;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.category-title {
    font-size: 2.2rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 400;
}

.category-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.opportunity-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.opportunity-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: rgba(44, 90, 160, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.card-icon {
    font-size: 2.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.card-header h4 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.3;
}

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

.card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.card-features li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.feature-icon {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.card-features strong {
    color: #2c5aa0;
    font-weight: 600;
}

/* Statement-style features */
.statement-features {
    margin-top: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.statement-item {
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
    line-height: 1.5;
    color: #666;
}

.statement-item:last-child {
    margin-bottom: 0;
}

.statement-item strong {
    color: #2c5aa0;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Small mobile styles */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .hero .description {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .about-text h2 {
        font-size: 1.6rem;
    }

    /* Contact page mobile */
    .contact-hero {
        padding: 2rem 0;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .contact-card {
        padding: 1.5rem;
    }

    .contact-icon {
        font-size: 2.5rem;
    }

    .opportunity-category {
        margin-bottom: 2rem;
    }

    .category-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .category-icon {
        font-size: 2.5rem;
    }

    .category-title {
        font-size: 1.6rem;
    }

    .category-subtitle {
        font-size: 0.9rem;
    }

    .opportunity-cards {
        gap: 1rem;
    }

    .opportunity-card {
        padding: 1.5rem;
        min-height: 320px;
    }

    .card-icon {
        font-size: 1.8rem;
    }

    .card-header h4 {
        font-size: 1.1rem;
    }

    .card-content p {
        font-size: 0.9rem;
    }

    .feature-icon {
        font-size: 1rem;
    }

    .statement-item {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .statement-item strong {
        font-size: 0.9rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

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

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .stat-item {
        padding: 0.75rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.85rem;
        padding: 0.4rem;
    }
}

/* Publication Page Styles */
.publication-list {
    max-width: 1000px;
    margin: 0 auto;
}

.publication-item {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.publication-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.publication-item h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 0.5rem;
}

.publication-content {
    color: #4b5563;
    line-height: 1.6;
}

.publication-content p {
    margin-bottom: 1rem;
}

.publication-content ul {
    list-style: none;
    padding-left: 0;
}

.publication-content li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.publication-content li::before {
    content: "📄";
    position: absolute;
    left: 0;
    top: 0;
}

.publication-content a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.publication-content a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Publication list items */
.publication-list-items {
    list-style: none;
    padding: 0;
}

.publication-list-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.publication-citation {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 0.75rem;
}

.publication-doi,
.publication-url {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.publication-doi a,
.publication-url a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.publication-doi a:hover,
.publication-url a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.loading {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    padding: 1rem;
}

/* Mobile responsiveness for publications */
@media (max-width: 768px) {
    .publication-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .publication-item h3 {
        font-size: 1.25rem;
    }

    .publication-content {
        font-size: 0.9rem;
    }

    .publication-list-item {
        padding: 0.75rem;
    }

    .publication-citation {
        font-size: 0.875rem;
    }
}
