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

:root {
 --bg-color: #09090b;
 --text-color: #e0e0e0;
 --accent-color: #00ffff;
 --accent-alt: #ff00ff;
 --gradient-bg: linear-gradient(135deg, #1a1a2e, #16213e);
 --gradient-accent: linear-gradient(45deg, #00ffff, #ff00ff);
 --shadow-glow: 0 0 10px rgba(0,255,255,0.7), 0 0 20px rgba(0,255,255,0.5), 0 0 30px rgba(0,255,255,0.3);
 --shadow-glow-alt: 0 0 10px rgba(255,0,255,0.7), 0 0 20px rgba(255,0,255,0.5), 0 0 30px rgba(255,0,255,0.3);
}

body {
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 line-height: 1.6;
 color: var(--text-color);
 background-color: var(--bg-color);
}

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

/* Navigation */
.navbar {
 background: rgba(9,9,11,0.95);
 backdrop-filter: blur(10px);
 border-bottom: 1px solid rgba(0,255,255,0.1);
 position: sticky;
 top: 0;
 z-index: 1000;
}

.nav-container {
 width: 90%;
 max-width: 1200px;
 margin: 0 auto;
 padding: 15px 20px;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.nav-logo {
 text-decoration: none;
 color: var(--text-color);
 font-size: 1.5rem;
 font-weight: bold;
 display: flex;
 align-items: center;
 gap: 10px;
}

.logo-icon {
 color: var(--accent-color);
 text-shadow: var(--shadow-glow);
}

.logo-text {
 color: var(--text-color);
}

.logo-accent {
 color: var(--accent-alt);
 text-shadow: var(--shadow-glow-alt);
}

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

.nav-links a {
 color: var(--text-color);
 text-decoration: none;
 font-size: 0.95rem;
 opacity: 0.8;
 transition: all 0.3s ease;
}

.nav-links a:hover {
 opacity: 1;
 color: var(--accent-color);
 text-shadow: 0 0 10px rgba(0,255,255,0.5);
}

/* Hero Section */
.hero {
 background: var(--gradient-bg);
 color: var(--text-color);
 text-align: center;
 padding: 120px 0 100px;
 position: relative;
 overflow: hidden;
}

.hero::before {
 content: '';
 position: absolute;
 top: -50%;
 left: -50%;
 width: 200%;
 height: 200%;
 background: radial-gradient(circle, rgba(0,255,255,0.1) 0%, transparent 70%);
 animation: rotate 20s linear infinite;
}

.hero-content {
 position: relative;
 z-index: 1;
 max-width: 800px;
 margin: 0 auto;
 padding: 0 20px;
}

.hero-title {
 font-size: 3rem;
 margin-bottom: 25px;
 font-weight: 800;
 line-height: 1.2;
}

.gradient-text {
 background: var(--gradient-accent);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 text-shadow: none;
 filter: drop-shadow(0 0 20px rgba(0,255,255,0.3));
}

.hero-subtitle {
 font-size: 1.25rem;
 margin-bottom: 40px;
 opacity: 0.9;
 max-width: 700px;
 margin-left: auto;
 margin-right: auto;
}

.hero-cta {
 display: flex;
 gap: 20px;
 justify-content: center;
 flex-wrap: wrap;
}

.btn {
 display: inline-block;
 padding: 14px 32px;
 text-decoration: none;
 font-weight: 600;
 border-radius: 50px;
 transition: all 0.3s ease;
 font-size: 1rem;
 letter-spacing: 0.5px;
 cursor: pointer;
 border: none;
}

.btn-primary {
 background: var(--gradient-accent);
 color: var(--bg-color);
 box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
 transform: translateY(-3px);
 box-shadow: 0 5px 25px rgba(0,255,255,0.8), 0 0 30px rgba(0,255,255,0.6);
}

.btn-secondary {
 background: transparent;
 color: var(--text-color);
 border: 2px solid rgba(0,255,255,0.3);
 backdrop-filter: blur(5px);
}

.btn-secondary:hover {
 border-color: var(--accent-color);
 background: rgba(0,255,255,0.1);
 transform: translateY(-3px);
 box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

/* Sections */
.section {
 padding: 100px 0;
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
 opacity: 1;
 transform: translateY(0);
}

.section-title {
 text-align: center;
 margin-bottom: 50px;
 color: var(--text-color);
 font-size: 2.5rem;
 font-weight: 700;
 position: relative;
 display: inline-block;
 width: 100%;
}

.section-title::after {
 content: '';
 display: block;
 width: 80px;
 height: 4px;
 background: var(--gradient-accent);
 margin: 15px auto 0;
 border-radius: 2px;
}

.section-intro {
 text-align: center;
 max-width: 600px;
 margin: 0 auto 50px;
 font-size: 1.1rem;
 opacity: 0.8;
}

/* About Section */
.about {
 background: rgba(9,9,11,0.5);
}

.about-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 60px;
 align-items: center;
}

.about-text p {
 margin-bottom: 20px;
 font-size: 1.1rem;
 line-height: 1.8;
 opacity: 0.9;
}

.about-stats {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 30px;
}

.stat {
 text-align: center;
 padding: 30px 20px;
 background: rgba(25,25,45,0.6);
 border-radius: 12px;
 border: 1px solid rgba(0,255,255,0.2);
 backdrop-filter: blur(5px);
 transition: all 0.3s ease;
}

.stat:hover {
 transform: translateY(-5px);
 border-color: rgba(0,255,255,0.4);
 box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.stat-number {
 display: block;
 font-size: 2.5rem;
 font-weight: 800;
 background: var(--gradient-accent);
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 background-clip: text;
 margin-bottom: 10px;
}

.stat-label {
 display: block;
 font-size: 0.9rem;
 opacity: 0.8;
}

/* Services Grid */
.services {
 background: var(--bg-color);
}

.services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
 margin-top: 40px;
}

.service-card {
 background: rgba(25,25,45,0.7);
 padding: 35px 25px;
 border-radius: 16px;
 box-shadow: 0 5px 15px rgba(0,0,0,0.3);
 border: 1px solid rgba(0,255,255,0.15);
 transition: all 0.4s ease;
 text-align: center;
 backdrop-filter: blur(10px);
 position: relative;
 overflow: hidden;
}

.service-card::before {
 content: '';
 position: absolute;
 inset: -2px;
 border-radius: 18px;
 background: linear-gradient(45deg, var(--accent-color), var(--accent-alt), var(--accent-color));
 background-size: 200% 200%;
 animation: gradientMove 3s ease infinite;
 z-index: -1;
 opacity: 0;
 transition: opacity 0.3s ease;
}

.service-card:hover::before {
 opacity: 1;
}

.service-card:hover {
 transform: translateY(-10px);
 box-shadow: 0 15px 35px rgba(0,0,0,0.5);
 background: rgba(25,25,45,0.9);
 border-color: transparent;
}

.service-icon {
 font-size: 2.5rem;
 margin-bottom: 20px;
 display: block;
}

.service-card h3 {
 color: var(--accent-color);
 margin-bottom: 15px;
 font-size: 1.3rem;
 font-weight: 700;
 text-shadow: 0 0 10px rgba(0,255,255,0.3);
}

.service-card p {
 color: var(--text-color);
 font-size: 0.95rem;
 opacity: 0.85;
 line-height: 1.6;
}

/* Team Section */
.team {
 background: rgba(9,9,11,0.8);
}

.team-subnav {
 display: flex;
 justify-content: center;
 gap: 20px;
 margin-bottom: 50px;
 flex-wrap: wrap;
}

.team-anchor {
 color: var(--accent-color);
 text-decoration: none;
 font-weight: 600;
 font-size: 1rem;
 padding: 10px 20px;
 border: 1px solid rgba(0,255,255,0.3);
 border-radius: 25px;
 transition: all 0.3s ease;
 backdrop-filter: blur(3px);
}

.team-anchor:hover {
 background: rgba(0,255,255,0.1);
 border-color: var(--accent-color);
 box-shadow: 0 0 15px rgba(0,255,255,0.3);
 transform: translateY(-2px);
}

.team-member-full {
 background: rgba(25,25,45,0.6);
 border-radius: 20px;
 padding: 40px;
 margin-bottom: 40px;
 border: 1px solid rgba(0,255,255,0.15);
 backdrop-filter: blur(10px);
 transition: all 0.3s ease;
}

.team-member-full:hover {
 border-color: rgba(0,255,255,0.3);
 box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.member-header {
 display: flex;
 gap: 30px;
 align-items: flex-start;
 margin-bottom: 25px;
}

.member-avatar {
 flex-shrink: 0;
}

.profile-img {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 object-fit: cover;
 border: 3px solid rgba(0,255,255,0.3);
 box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.avatar-placeholder {
 width: 150px;
 height: 150px;
 border-radius: 50%;
 background: rgba(0,255,255,0.2);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--accent-color);
 font-weight: bold;
 font-size: 2.5rem;
 border: 2px solid rgba(0,255,255,0.3);
 box-shadow: var(--shadow-glow);
}

.member-info {
 flex: 1;
}

.member-info h3 {
 font-size: 1.8rem;
 margin-bottom: 8px;
 color: var(--text-color);
}

.member-role {
 color: var(--accent-color);
 font-weight: 600;
 font-size: 1.1rem;
 margin-bottom: 15px;
 text-shadow: 0 0 5px rgba(0,255,255,0.3);
}

.member-bio {
 margin-bottom: 20px;
 opacity: 0.9;
 line-height: 1.7;
}

.skill-badges {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-bottom: 20px;
}

.badge {
 background: rgba(0,255,255,0.1);
 color: var(--accent-color);
 padding: 6px 14px;
 border-radius: 20px;
 font-size: 0.85rem;
 border: 1px solid rgba(0,255,255,0.2);
 backdrop-filter: blur(3px);
 transition: all 0.2s ease;
 font-weight: 500;
}

.badge:hover {
 background: rgba(0,255,255,0.2);
 box-shadow: 0 0 12px rgba(0,255,255,0.4);
 transform: scale(1.05);
}

.member-links {
 display: flex;
 gap: 15px;
 flex-wrap: wrap;
}

.link-btn {
 color: var(--accent-alt);
 text-decoration: none;
 font-weight: 600;
 font-size: 0.95rem;
 padding: 8px 16px;
 border: 1px solid rgba(255,0,255,0.3);
 border-radius: 8px;
 transition: all 0.3s ease;
 backdrop-filter: blur(3px);
}

.link-btn:hover {
 background: rgba(255,0,255,0.1);
 border-color: var(--accent-alt);
 box-shadow: 0 0 15px rgba(255,0,255,0.3);
 transform: translateY(-2px);
}

.toggle-profile {
 background: transparent;
 border: none;
 color: var(--accent-alt);
 font-size: 0.95rem;
 font-weight: 600;
 cursor: pointer;
 padding: 10px 0;
 text-decoration: underline;
 text-shadow: 0 0 5px rgba(255,0,255,0.5);
 transition: all 0.2s ease;
}

.toggle-profile:hover {
 text-shadow: 0 0 10px rgba(255,0,255,0.8);
}

.profile-details {
 display: none;
 margin-top: 30px;
 text-align: left;
 background: rgba(25,25,45,0.5);
 padding: 30px;
 border-radius: 16px;
 border: 1px solid rgba(0,255,255,0.15);
 overflow: hidden;
 transition: max-height 0.5s ease, opacity 0.4s ease, padding 0.4s ease;
 max-height: 0;
 opacity: 0;
 padding-top: 0;
 padding-bottom: 0;
}

.profile-details.open {
 display: block;
 max-height: 3000px;
 opacity: 1;
 padding: 30px;
}

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

.profile-col h4 {
 color: var(--accent-color);
 margin-bottom: 20px;
 margin-top: 0;
 font-size: 1.2rem;
 text-shadow: 0 0 5px rgba(0,255,255,0.5);
 padding-bottom: 10px;
 border-bottom: 1px solid rgba(0,255,255,0.2);
}

.timeline {
 list-style: none;
 padding: 0;
 margin: 0;
}

.timeline li {
 padding: 15px 0 15px 25px;
 border-left: 2px solid rgba(0,255,255,0.3);
 margin-bottom: 10px;
 font-size: 0.95rem;
 opacity: 0.9;
 position: relative;
 line-height: 1.6;
}

.timeline li::before {
 content: '';
 position: absolute;
 left: -7px;
 top: 18px;
 width: 12px;
 height: 12px;
 background: var(--accent-color);
 border-radius: 50%;
 box-shadow: 0 0 8px rgba(0,255,255,0.6);
}

.timeline .year {
 display: block;
 color: var(--accent-alt);
 font-weight: 600;
 font-size: 0.85rem;
 margin-bottom: 5px;
 text-shadow: 0 0 5px rgba(255,0,255,0.3);
}

.timeline strong {
 color: var(--text-color);
 font-weight: 700;
}

.timeline p {
 margin: 5px 0 0;
 opacity: 0.85;
}

/* Contact Section */
.contact {
 text-align: center;
 background: var(--gradient-bg);
 padding: 100px 0;
 position: relative;
 overflow: hidden;
}

.contact::before {
 content: '';
 position: absolute;
 top: -50%;
 left: -50%;
 width: 200%;
 height: 200%;
 background: radial-gradient(circle, rgba(255,0,255,0.1) 0%, transparent 70%);
 animation: rotate 20s linear infinite reverse;
}

.contact-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 30px;
 margin-top: 40px;
 position: relative;
 z-index: 1;
}

.contact-card {
 background: rgba(25,25,45,0.6);
 padding: 35px 30px;
 border-radius: 16px;
 border: 1px solid rgba(0,255,255,0.2);
 text-align: center;
 transition: all 0.3s ease;
 backdrop-filter: blur(10px);
}

.contact-card:hover {
 transform: translateY(-8px);
 background: rgba(25,25,45,0.8);
 border-color: rgba(0,255,255,0.4);
 box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.contact-card h4 {
 color: var(--accent-color);
 margin-bottom: 8px;
 font-size: 1.3rem;
 text-shadow: 0 0 5px rgba(0,255,255,0.3);
}

.contact-role {
 font-size: 0.95rem;
 opacity: 0.8;
 margin-bottom: 20px;
}

.contact-link {
 display: inline-block;
 margin: 8px 10px;
 color: var(--accent-alt);
 text-decoration: none;
 font-weight: 600;
 font-size: 0.95rem;
 padding: 8px 16px;
 border: 1px solid rgba(255,0,255,0.2);
 border-radius: 8px;
 transition: all 0.3s ease;
 backdrop-filter: blur(3px);
}

.contact-link:hover {
 background: rgba(255,0,255,0.1);
 border-color: var(--accent-alt);
 box-shadow: 0 0 15px rgba(255,0,255,0.3);
 transform: translateY(-2px);
}

/* Footer */n.footer {
 text-align: center;
 padding: 30px 0;
 background: rgba(0,0,0,0.5);
 color: var(--text-color);
 font-size: 0.9rem;
 border-top: 1px solid rgba(0,255,255,0.2);
}

/* Animations */
@keyframes rotate {
 from { transform: rotate(0deg); }
 to { transform: rotate(360deg); }
}

@keyframes gradientMove {
 0% { background-position: 0% 50%; }
 50% { background-position: 100% 50%; }
 100% { background-position: 0% 50%; }
}

/* Responsive */
@media (max-width: 768px) {
 .hero h1 { font-size: 2.2rem; }
 .hero-subtitle { font-size: 1.1rem; }
 .section { padding: 80px 0; }
 .section-title { font-size: 2rem; }
 .about-grid { grid-template-columns: 1fr; gap: 40px; }
 .about-stats { grid-template-columns: 1fr; }
 .profile-grid { grid-template-columns: 1fr; gap: 30px; }
 .member-header { flex-direction: column; align-items: center; text-align: center; }
 .skill-badges { justify-content: center; }
 .member-links { justify-content: center; }
 .nav-links { display: none; }
}

@media (max-width: 480px) {
 .hero h1 { font-size: 1.8rem; }
 .hero-subtitle { font-size: 1rem; }
 .btn { padding: 12px 24px; font-size: 0.95rem; }
 .section-title { font-size: 1.7rem; }
 .service-card { padding: 25px 20px; }
 .team-member-full { padding: 25px; }
}
