/* --- Global Variables & Resets --- */
:root {
    --navy: #004b8d;
    --light-blue: #93b9e4;
    --text-dark: #333333;
    --white: #ffffff;
    --bg-light: #f4f7f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    color: var(--text-dark); 
    line-height: 1.6; 
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Navigation --- */
header { 
    background: var(--white); 
    border-bottom: 3px solid var(--navy); 
    padding: 10px 5%; 
    position: sticky; 
    top: 0; 
    z-index: 2000; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img { height: 60px; width: auto; display: block; }

.main-nav { display: flex; list-style: none; }
.main-nav li { position: relative; margin-left: 20px; }
.main-nav li a { 
    text-decoration: none; 
    color: var(--navy); 
    font-weight: 700; 
    font-size: 0.85rem; 
    text-transform: uppercase;
}

.main-nav li a:hover, .main-nav li a.active { color: var(--light-blue); }

/* Fixed: Removed bubbles/bullets from dropdown */
.dropdown-content { 
    display: none; 
    position: absolute; 
    background: var(--white); 
    min-width: 220px; 
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); 
    border-top: 3px solid var(--navy); 
    top: 100%;
    left: 0;
    list-style: none; /* Removes bullets */
    padding: 0;       /* Removes default indentation */
    margin: 0;
}

.dropdown-content li { 
    margin: 0; 
    border-bottom: 1px solid #eee; 
    width: 100%; 
    list-style: none; /* Extra safety for bullets */
}

.dropdown-content li a { 
    padding: 12px 20px; 
    display: block; 
    text-transform: none; 
    font-size: 0.9rem;
}

.dropdown:hover .dropdown-content { display: block; }

/* --- Homepage Hero Slider --- */
.hero-slider { position: relative; height: 60vh; min-height: 400px; overflow: hidden; background: #000; }
.slide { 
    display: none; 
    height: 100%; 
    width: 100%; 
    background-size: cover; 
    background-position: center; 
    position: absolute; 
    animation: fadeAnim 1.5s; 
}

@keyframes fadeAnim { from {opacity: 0.4} to {opacity: 1} }

.hero-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 43, 81, 0.4); 
    display: flex; align-items: center; justify-content: center; text-align: center; 
}

.hero-content h1 { color: #fff; font-size: 3rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { color: var(--light-blue); font-size: 1.5rem; font-style: italic; margin: 10px 0 20px; }

.cta-button { 
    background: var(--navy); color: #fff; padding: 12px 30px; 
    text-decoration: none; border-radius: 4px; font-weight: bold; 
}

.slider-dots { position: absolute; bottom: 20px; width: 100%; text-align: center; }
.dot { cursor: pointer; height: 12px; width: 12px; margin: 0 5px; background: #bbb; border-radius: 50%; display: inline-block; }
.active-dot { background: var(--navy); }

/* --- Sub-Page Hero Banner --- */
.hero-page {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- Content Layouts --- */
.section { padding: 60px 0; }
.section-title { text-align: center; color: var(--navy); margin-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { padding: 30px; border-radius: 8px; border-top: 5px solid var(--navy); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.sub-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    padding: 60px 0;
}

.sidebar-nav {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    height: fit-content;
    border: 1px solid #eee;
}

.sidebar-nav h3 {
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 10px;
}

.sidebar-nav ul { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { margin-bottom: 12px; list-style: none; }
.sidebar-nav a { text-decoration: none; color: #555; font-weight: 500; transition: color 0.3s; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--navy); font-weight: bold; }

/* --- Specific Components (Interns & Team) --- */
.intern-list { display: flex; flex-direction: column; }
.intern-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.intern-item:last-child { border-bottom: none; }
.intern-item img { width: 140px; height: auto; display: block; border: none; } /* Removed border */
.intern-meta { flex: 1; }
.intern-meta h3 { color: var(--navy); margin: 0; font-size: 1.2rem; line-height: 1.2; }
.intern-meta .major { 
    color: var(--light-blue); 
    font-weight: bold; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    display: block; 
    margin-bottom: 8px; 
}
.intern-meta p { font-size: 0.95rem; color: #444; line-height: 1.6; text-align: justify; margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.team-card { 
    background: #fff; border: 1px solid #eee; padding: 30px; border-radius: 12px; 
    text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-decoration: none; color: inherit; display: block;
}
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid var(--light-blue); }
.team-card h3 { color: var(--navy); margin-bottom: 5px; }

/* --- Footer --- */
footer { background: var(--navy); color: #fff; padding: 40px 0; text-align: center; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; text-align: left; margin-bottom: 30px; }
.footer-bottom { border-top: 1px solid #444; padding-top: 20px; font-size: 0.85rem; }
.footer-links a { color: var(--light-blue); margin-right: 15px; text-decoration: none; }