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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ff6600;
    margin: 3px 0;
    transition: 0.3s;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #0066cc;
}

/* Hero Section */
.hero {
    background-color: #e8e8e8;
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.hero-main h1 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-main p {
    text-align: justify;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.sidebar {
    display: flex;
    flex-direction: column;
}

.news-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-box h3 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 15px;
    font-weight: 700;
}

.news-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Research Focus Section */
.research-focus {
    background-color: #fff;
    padding: 80px 0;
}

.research-focus h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 30px;
    font-weight: 700;
}

.intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.research-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.icon-box {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066cc 0%, #003d7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066cc 0%, #003d7a 100%);
    border-radius: 50%;
    transform: rotate(45deg);
    z-index: -1;
}

.icon-box svg {
    width: 35px;
    height: 35px;
    stroke: #fff;
    stroke-width: 3;
    z-index: 1;
}

.research-content h3 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 10px;
    font-weight: 700;
}

.research-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Page Title Section */
.page-title {
    background-color: #003366;
    padding: 40px 0;
    text-align: center;
}

.page-title h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Faculty Section */
.faculty-section {
    background-color: #fff;
    padding: 60px 0;
}

.faculty-member {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 2px solid #e8e8e8;
}

.faculty-member:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faculty-image {
    flex-shrink: 0;
}

.faculty-image img {
    width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.faculty-info h2 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 20px;
    font-weight: 700;
}

.faculty-info p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.faculty-info ul, .faculty-info ol {
    margin-bottom: 15px;
    margin-left: 25px;
    line-height: 1.8;
    color: #555;
}

.faculty-info a {
    color: #0066cc;
    text-decoration: none;
}

.faculty-info a:hover {
    text-decoration: underline;
}

.section-heading {
    font-size: 2rem;
    color: #003366;
    margin: 60px 0 40px 0;
    padding-top: 40px;
    border-top: 3px solid #003366;
    font-weight: 700;
}

/* Students Section */
.students-section {
    background-color: #fff;
    padding: 60px 0;
}

.student-category-title {
    font-size: 2rem;
    color: #003366;
    margin: 60px 0 40px 0;
    font-weight: 700;
}

.student-category-title:first-child {
    margin-top: 0;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.student-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.student-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.student-image {
    margin-bottom: 15px;
}

.student-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.student-card h3 {
    font-size: 1.2rem;
    color: #003366;
    margin-bottom: 10px;
    font-weight: 700;
}

.student-advisor {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    font-style: italic;
}

.student-note {
    font-size: 0.85rem;
    color: #0066cc;
    margin-bottom: 8px;
    font-weight: 600;
}

.student-research {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.student-degree {
    font-size: 0.9rem;
    color: #0066cc;
    font-weight: 600;
}
/*-----------------------This section can be edited by EE7 people if wanted -----------------*/
.Grad-Stud-Table table{
	border-collapse: collapse;
	width: 100%;
	table-layout: fixed;
}
.Grad-Stud-Table th,
.Grad-Stud-Table td {
	border: 1px solid black;
	padding: 8px;
	text-align: center;
	word-wrap: break-word;
}
.Grad-Stud-Table th:nth-child(1),
.Grad-Stud-Table td:nth-child(1){
	width: 80px;
	background-color: white;
}
.Grad-Stud-Table th:nth-child(2),
.Grad-Stud-Table td:nth-child(2){
	width: 120px;
	background-color: white;
}
.Grad-Stud-Table th:nth-child(3),
.Grad-Stud-Table td:nth-child(3){
	width: 120px;
	background-color: white;
}
.Grad-Stud-Table th:nth-child(4),
.Grad-Stud-Table td:nth-child(4){
	width: auto;
	background-color: white;
}
/*---------------------------------------*/

/* Prospective Section */
.prospective-section {
    background-color: #fff;
    padding: 60px 0;
}

.quote-box {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    border-radius: 12px;
    margin-bottom: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.quote-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.6;
}

.quote-author {
    font-size: 1.1rem;
    color: #e8e8e8;
    font-style: italic;
}

.content-block {
    max-width: 900px;
    margin: 0 auto 40px;
}

.content-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.section-title {
    font-size: 2rem;
    color: #003366;
    margin: 60px 0 30px 0;
    font-weight: 700;
    text-align: center;
}

.goals-list {
    list-style-position: outside;
    padding-left: 25px;
}

.goals-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.degrees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.degree-card {
    background: #f5f5f5;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.degree-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.degree-card h3 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 15px;
    font-weight: 700;
}

.degree-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.courses-section {
    max-width: 900px;
    margin: 0 auto;
}

.courses-list {
    list-style-position: outside;
    padding-left: 25px;
    column-count: 2;
    column-gap: 40px;
}

.courses-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    break-inside: avoid;
}

/* Events Section */
.events-section {
    background-color: #fff;
    padding: 60px 0;
}

.events-list {
    max-width: 900px;
    margin: 0 auto;
}

.event-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

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

.event-marker {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    border-radius: 50%;
    margin-top: 5px;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
    position: relative;
}

.event-marker::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    width: 2px;
    height: calc(100% + 40px);
    background: linear-gradient(180deg, #0066cc 0%, transparent 100%);
    transform: translateX(-50%);
}

.event-item:last-child .event-marker::after {
    display: none;
}

.event-content {
    flex: 1;
    background: #f5f5f5;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-content:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.event-content h3 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 12px;
    font-weight: 700;
}

.event-date {
    font-size: 0.95rem;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.event-venue {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.event-link {
    font-size: 0.95rem;
    margin-top: 15px;
}

.event-link a {
    color: #0066cc;
    text-decoration: none;
}

.event-link a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(180deg, #002d4d 0%, #001a2e 100%);
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
}

.department-name {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

/* Responsive Design - Tablet */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .research-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-main h1 {
        font-size: 2rem;
    }

    .faculty-member {
        flex-direction: column;
        gap: 25px;
    }

    .faculty-image img {
        width: 100%;
        max-width: 300px;
    }

    .students-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .degrees-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses-list {
        column-count: 1;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-nav.active {
        max-height: 400px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .main-nav li {
        border-bottom: 1px solid #eee;
        padding: 10px 0;
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-main h1 {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    .hero-main p {
        font-size: 0.95rem;
    }
    
    .news-box {
        padding: 20px;
    }
    
    .news-box h3 {
        font-size: 1.3rem;
    }
    
    .research-focus {
        padding: 50px 0;
    }
    
    .research-focus h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .intro-text {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }
    
    .research-item {
        gap: 20px;
    }
    
    .icon-box {
        width: 60px;
        height: 60px;
    }
    
    .icon-box svg {
        width: 28px;
        height: 28px;
    }
    
    .research-content h3 {
        font-size: 1.1rem;
    }
    
    .research-content p {
        font-size: 0.9rem;
    }
    
    .footer-nav ul {
        gap: 15px;
        font-size: 0.85rem;
    }
    
    .footer-logo {
        height: 60px;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .faculty-info h2 {
        font-size: 1.5rem;
    }

    .students-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .student-category-title {
        font-size: 1.5rem;
        margin: 40px 0 30px 0;
    }

    .quote-text {
        font-size: 1.2rem;
    }

    .quote-author {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin: 40px 0 25px 0;
    }

    .degrees-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-item {
        gap: 20px;
    }

    .event-content {
        padding: 20px;
    }

    .event-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        height: 50px;
    }

    .hero-main h1 {
        font-size: 1.5rem;
    }

    .research-focus h2 {
        font-size: 1.75rem;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }

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

    .page-title h1 {
        font-size: 1.75rem;
    }

    .student-category-title {
        font-size: 1.3rem;
    }
}
