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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /* background-color: #f8f9fa; */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header styles */
.header {
    background-color: white;
    padding: 15px 0;
    /* border-bottom: 1px solid #e0e0e0; */
}

.logo-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 40px;
    width: auto;
}

.separator {
    margin: 0 5px;
    font-size: 30px;
    color: #5b5758;
    /* font-weight: 100; */
    line-height: 1;
    display: flex;
    align-items: center;
    height: 40px;
    font-family: 'Arial', sans-serif;
}

.group-name {
    font-size: 20px;
    font-weight: 600;
    color: #5b5758;
    text-align: center;
    line-height: 100%;
    padding-top: 6px;
    /* letter-spacing: 1px; */
}

/* Navigation styles */
.navigation {
    /* background-color: #d0deeb; */
    padding: 0;
    width: 100%;
}
.nav-content {
    background-color: #d0deeb;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    z-index: 999;
}

.hamburger-line {
    width: 22px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
    transform-origin: center;
    border-radius: 1px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-line:nth-child(1) {
    top: 8px;
}

.hamburger-line:nth-child(2) {
    top: 15px;
}

.hamburger-line:nth-child(3) {
    top: 22px;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    top: 15px;
    transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scale(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    top: 15px;
    transform: translateX(-50%) rotate(-45deg);
}

.nav-list {
    list-style: none;
    display: flex;
    padding: 0 20px;
}

.nav-list li {
    margin: 0;
}

.nav-item {
    display: block;
    padding: 2px 25px;
    text-decoration: none;
    color: #333;
    font-weight: 550;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    background-color: #b0c4d8;
}

/* Main content styles */
.main-content {
    padding: 30px 0;
    background-color: white;
    flex: 1;
}

.main-title {
    font-size: 30px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: left;
}

.content-section {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.image-container {
    flex: 0 0 350px;
}

.campus-image {
    width: 100%;
    height: auto;
    /* border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.text-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
}

.text-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.text-content strong {
    font-weight: 600;
}

.research-list {
    list-style: none;
    padding-left: 0;
}

.research-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    text-align: justify;
}

.research-list li::before {
    content: "•";
    color: #333;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer styles */
.footer {
    /* background-color: #e8f0f8; */
    padding: 0px 0 20px 0;
    margin-top: 40px;
}
.footer .container {
    background-color: #f7f7f7;
}


.footer-content {
    display: flex;
    gap: 60px;
    margin-bottom: 30px;
}

.contact-section,
.join-section {
  margin-top: 16px;
    flex: 1;
}

.footer h3 {
    font-size: 18px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer p {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.6;
}

.contact-section p {
    display: flex;
    align-items: flex-start;
}

.contact-section p strong {
    min-width: 80px;
    flex-shrink: 0;
    /* margin-right: 10px; */
}

.link {
    color: #2c5282;
    text-decoration: underline;
}

.link:hover {
    color: #1a365d;
}

.copyright {
    text-align: center;
    /* padding-top: 20px; */
    /* border-top: 1px solid #d0d7de; */
    color: #666;
    font-size: 14px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .content-section {
        gap: 20px;
    }
    
    .text-content {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 0 15px;
    }
    
    .separator {
        display: none;
    }
    
    .group-name {
        font-size: 18px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #d0deeb;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .nav-list.active {
        max-height: 500px;
    }
    
    .nav-item {
        padding: 15px 20px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        width: 100%;
        text-align: left;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .main-title {
        font-size: 24px;
        text-align: center;
    }
    
    .content-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-container {
        flex: none;
        text-align: center;
    }
    
    .campus-image {
        max-width: 100%;
        height: auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .contact-section p strong {
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-container {
        padding: 0 10px;
        text-align: center;
        align-items: center;
    }
    
    .group-name {
        font-size: 16px;
    }
    
    .nav-toggle {
        right: 15px;
    }
    
    .nav-item {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .main-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .text-content {
        font-size: 14px;
    }
    
    .text-content p {
        text-align: left;
    }
    
    .research-list li {
        text-align: left;
        padding-left: 15px;
    }
    
    .footer {
        padding: 20px 0 15px 0;
    }
    
    .footer h3 {
        font-size: 16px;
    }
    
    .contact-section p {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-section p strong {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 2px;
    }
    
    .join-section p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .nav-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .main-title {
        font-size: 18px;
    }
    
    .text-content {
        font-size: 13px;
    }
    
    .footer h3 {
        font-size: 15px;
    }
}
