/* base resets */
:root {
    --bg-color: #f8fafc;
    --text-color: #334155;
    --heading-color: #0f172a;
    --primary: #10b981; /* Emerald/Neon green */
    --primary-hover: #059669;
    --secondary: #6366f1; /* Indigo */
    --surface: rgba(255, 255, 255, 0.7);
    --surface-border: rgba(0, 0, 0, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Typography utilities */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--surface-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading-color);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Layout */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.heading-line {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 4rem; 
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite alternate;
}

.orb-1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: -100px; right: -100px;
}

.orb-2 {
    width: 500px; height: 500px;
    background: var(--secondary);
    bottom: -200px; left: -150px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* About grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 2rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block; /* to avoid gaps */
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-img-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #64748b;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    border-bottom: 1px solid var(--surface-border);
    padding: 1rem;
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

.team-info .role {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

/* Team Bio & Group Photo */
.team-bio-section {
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.group-photo-wrapper {
    width: 100%;
    aspect-ratio: 21/9;
    background: rgba(0,0,0,0.03);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2.5rem;
}

.group-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.8s ease;
}

.group-photo-wrapper:hover img {
    transform: scale(1.02);
}

.team-bio-text p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
}

.team-bio-text strong {
    color: var(--primary);
    font-weight: 600;
}

/* Social links on team cards */
.social-links {
    margin-top: 1rem;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    background: rgba(40, 103, 178, 0.1);
    color: #60a5fa; /* LinkedIn-ish light blue */
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(40, 103, 178, 0.3);
}

.linkedin-link:hover {
    background: rgba(40, 103, 178, 0.25);
    color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 103, 178, 0.2);
}

/* Documents Section */
.documents {
    background: rgba(0, 0, 0, 0.03);
}

.docs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.doc-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    text-decoration: none;
}

.doc-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
}

.doc-details {
    flex-grow: 1;
}

.doc-details h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.doc-details p {
    font-size: 0.9rem;
    color: #475569;
    margin-top: 0.2rem;
}

.doc-action {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.doc-item:hover .doc-action {
    opacity: 1;
    transform: translateX(0);
}

/* Gallery Section */
.gallery-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.slider-viewport {
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

.slider-item {
    flex: 0 0 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--surface);
    backdrop-filter: blur(8px);
    border: 1px solid var(--surface-border);
    color: var(--heading-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.slider-nav.prev { left: -10px; }
.slider-nav.next { right: -10px; }

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--surface-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--surface-border);
    background: #f1f5f9;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo span {
    color: var(--primary);
}

footer p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; transition-delay: 0.1s;}
.delay-2 { animation-delay: 0.4s; transition-delay: 0.2s;}
.delay-3 { animation-delay: 0.6s; transition-delay: 0.3s;}
.delay-4 { animation-delay: 0.8s; transition-delay: 0.4s;}
.delay-5 { animation-delay: 1.0s; transition-delay: 0.5s;}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .hero-actions { flex-direction: column; }
    .section-header h2 { font-size: 2rem; }
}
