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

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
}

/* Modern Headers - Inter Font */
h1, h2, h3, h4, h5, h6,
.page-title,
.section-heading,
.subsection-heading,
.hero-title,
.nav-link,
.logo text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Header - Entire header transparent */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: none;
    opacity: 0.95;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 31, 58, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo svg {
    height: 85px;
    width: auto;
}

.logo img {
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 1));
}


/* Navigation - ONE CONTINUOUS RIBBON */
.nav-desktop {
    display: flex;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(0, 212, 255, 0.2);
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 1rem 1.25rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-right: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1.2;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff 0%, #0099ff 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Search Icon */
.search-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(0, 212, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-icon-container:hover {
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.search-icon {
    display: block;
    transition: transform 0.3s ease;
}

.search-icon-container:hover .search-icon {
    transform: scale(1.1);
}

.search-icon-container:hover .search-icon circle,
.search-icon-container:hover .search-icon path {
    stroke: #00d4ff;
}

/* Search Dropdown (under icon) */
.search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    min-width: 350px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-top: none;
    display: none;
    z-index: 1001;
}

.search-dropdown.active {
    display: block;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-dropdown-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.search-dropdown-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-dropdown-input:focus {
    border-color: #0099ff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.1);
}

.search-dropdown-btn {
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.search-dropdown-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 153, 255, 0.4);
}

/* Dropdown Menu - PROPER ALIGNMENT */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 0 0 8px 8px;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(0, 212, 255, 0.15);
    border-left-color: #00d4ff;
    padding-left: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10rem 3rem 4rem 3rem;
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 800px;
    opacity: 0.95;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #fff;
    border-radius: 25px;
    transition: all 0.3s;
}

.hero-link:hover {
    background: #fff;
    color: #3d5a6c;
}

/* Page Header Section */
.page-header {
    position: relative;
    padding: 10rem 0 2rem;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.85) 0%, rgba(61, 71, 133, 0.9) 100%);
}

.page-header.research::before {
    background: linear-gradient(135deg, rgba(45, 53, 97, 0.75) 0%, rgba(0, 153, 255, 0.65) 100%);
}

.page-header.education::before {
    background: linear-gradient(135deg, rgba(45, 53, 97, 0.85) 0%, rgba(61, 71, 133, 0.95) 100%);
}

.page-header.people::before {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.85) 0%, rgba(45, 53, 97, 0.95) 100%);
}

.page-header.about::before {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.85) 0%, rgba(45, 53, 97, 0.95) 100%);
}

.page-header.news::before {
    background: linear-gradient(135deg, rgba(45, 53, 97, 0.85) 0%, rgba(61, 71, 133, 0.95) 100%);
}

.page-header.applied::before {
    background: linear-gradient(135deg, rgba(45, 53, 97, 0.85) 0%, rgba(26, 31, 58, 0.95) 100%);
}

.page-header-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.page-title {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.page-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 900px;
    opacity: 0.95;
}

/* Sub Navigation Tabs */
.sub-nav {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 153, 255, 0.2);
    margin-top: 2rem;
}

.sub-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    gap: 0;
}

.sub-nav-link {
    padding: 1rem 2rem;
    background: #1a1f3a;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-right: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.sub-nav-link:first-child {
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.sub-nav-link:hover {
    background: #2d3561;
    color: #00d4ff;
}

/* Main Content */
.main-content {
    background: #fff;
    padding: 4rem 0;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.content-section {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border: none;
    box-shadow: none;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1a1f3a 0%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.subsection-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3561;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}
}

.program-item {
    margin-bottom: 1.5rem;
}

.program-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Additional text elements */
.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3561;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.content-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

blockquote {
    margin: 0;
    padding: 0;
}

blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0.5rem;
}

blockquote footer {
    font-size: 1rem;
    color: #666;
    font-style: normal;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 153, 255, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    color: #ccc;
    padding: 3rem 0 2rem;
    border-top: 3px solid #0099ff;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

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

.footer-title {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 300;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #00d4ff;
    padding-left: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Search Box */
.search-box {
    margin: 3rem 0;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
}

/* People Grid */
.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.person-card {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
}

.person-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3d5a6c;
    margin-bottom: 0.5rem;
}

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

.person-link {
    color: #3d5a6c;
    text-decoration: none;
    font-size: 0.9rem;
}

.person-link:hover {
    text-decoration: underline;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: rgba(0,0,0,0.2);
    border: none;
    color: #fff;
    padding: 1rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 3rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content,
    .page-header-content,
    .content-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0, 153, 255, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    transform: translateX(50%) translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 153, 255, 0.6);
}

.scroll-to-top.visible {
    display: flex;
}

/* Join Us Page Header */
.page-header.join::before {
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.85) 0%, rgba(0, 212, 255, 0.95) 100%);
}