* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}



/* Header Styles */
header {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: bold;
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #667eea;
    flex-shrink: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav ul li a {
    /* color: black; */
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

nav ul li a:hover {
    opacity: 0.8;
}

/* Hero Section */

.hero{
    margin-top: 80px;
    background-image: url("../images/team_banner.png");
    background-size: cover;
    background-position: center;
    min-height: 400px;
    height: clamp(400px, 60vh, 500px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
    padding: 2rem;
}

.hero-content {
    background: rgba(255, 255, 255, 0.5); /* semi‑transparent box */
    padding: 25px 40px;
    border-radius: 10px;
    max-width: 700px;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    opacity: 0.95;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #0891b2;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.advisor-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Team Card */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.team-card.featured {
    border: 2px solid #667eea;
}

.member-photo {
    width: 100%;
    height: auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}
.member-photo svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 8px;
}

.member-info .role {
    color: #0891b2;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 12px;
}

.member-info .expertise {
    color: #666;
    font-size: 0.95rem;
    font-style: italic;
}

.member-info .bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    border-radius: 50%;
    color: #0891b2;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

/* Sections */
.leadership,
.research-team,
.engineering-team,
.advisors {
    padding: 80px 0;
}

.research-team {
    background: #f9fafb;
}

.advisors {
    background: #f9fafb;
}

/* Join CTA */
.join-cta {
    padding: 70px 0;
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    color: white;
    text-align: center;
    margin-bottom: 80px;
}

.join-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.join-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #0891b2;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}


/* Footer Styles */
footer {
    background:linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fdc50e;
}

.footer-section p,
.footer-section ul {
    color: white;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: gainsboro;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: white;
}



/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}