* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
  color: white;
}

.water-drops {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.drop {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  animation: dropAnimation 1.5s infinite ease-in-out;
}

.drop:nth-child(1) { animation-delay: 0s; }
.drop:nth-child(2) { animation-delay: 0.3s; }
.drop:nth-child(3) { animation-delay: 0.6s; }

@keyframes dropAnimation {
  0%, 80%, 100% { transform: rotate(-45deg) scale(0); }
  40% { transform: rotate(-45deg) scale(1); }
}

.progress-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 20px auto;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: white;
  width: 0%;
  animation: progressFill 3s ease-out forwards;
}

@keyframes progressFill {
  to { width: 100%; }
}

/* Hide loading screen when page is loaded */
body:not(.loading) .loading-screen {
  opacity: 0;
  pointer-events: none;
}
/* Shark Logo Bar */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0 13px 0;
  background: linear-gradient(90deg, #f7f7fa 70%, #eeefef 100%);
  box-shadow: 0 2px 15px #22bcd844;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
}
.shark-logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #eafaff;
  object-fit: cover;
  border: 4px solid #11afd4bb;
  margin-right: 18px;
  box-shadow: 0 3px 12px #dfe4e733;
  filter: drop-shadow(0 4px 11px #e8eff077);
  transition: transform 0.21s, filter 0.15s;
  cursor: pointer;
}
.logo-bar:hover .shark-logo, .shark-logo.animated {
  transform: scale(1.10) rotate(-8deg);
  filter: drop-shadow(0 11px 38px #e0e3e3aa);
}
.logo-text {
  color: #04c3ee;
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 10px #d4dbde77;
}


/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo h2 {
  color: #2c5aa0;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2c5aa0;
  transition: width 0.3s;
}

.nav-link:hover {
  color: #2c5aa0;
  transform: translateY(-2px);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
}

.hero-features {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

.feature-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.feature-badge:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.3);
}

.cta-button {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

/* Floating Particles */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: floatParticle 6s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 80%; animation-delay: 3s; }
.particle:nth-child(5) { left: 90%; animation-delay: 4s; }

@keyframes floatParticle {
  0% {
    top: 100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: -10%;
    opacity: 0;
  }
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: #ff6b6b;
  border-radius: 2px;
}

/* About Section with System Diagram */
.about {
  background: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-text {
  opacity: 0;
  transform: translateX(-50px);
}

.about-text h3 {
  font-size: 2.2rem;
  color: #2c5aa0;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 2rem;
}

/* System Diagram Container */
.system-diagram-container {
  opacity: 0;
  transform: translateX(50px);
}

.diagram-wrapper {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.diagram-wrapper:hover {
  transform: translateY(-5px);
}

.diagram-wrapper h4 {
  color: #2c5aa0;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.3rem;
}

.diagram-image {
  position: relative;
  margin-bottom: 1.5rem;
}

.system-diagram {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Interactive Process Points */
.diagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.process-point {
  position: absolute;
  cursor: pointer;
}

.point-marker {
  width: 16px;
  height: 16px;
  background: #ff6b6b;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.point-tooltip {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.process-point:hover .point-tooltip {
  opacity: 1;
}

/* Diagram Legend */
.diagram-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

/* System Flow */
.system-flow {
  margin: 4rem 0;
  opacity: 0;
  transform: translateY(30px);
}

.system-flow h4 {
  text-align: center;
  color: #2c5aa0;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.flow-step {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  min-width: 120px;
  transition: all 0.3s;
  opacity: 0;
  transform: scale(0.8);
}

.flow-step:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.flow-arrow {
  font-size: 1.5rem;
  color: #2c5aa0;
  font-weight: bold;
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  opacity: 0;
  transform: translateY(30px);
}

.achievement-item {
  text-align: center;
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s;
  cursor: pointer;
}

.achievement-item:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.achievement-number {
  display: inline-block;
  font-size: 3rem;
  font-weight: bold;
  color: #ff6b6b;
  margin-bottom: 0.5rem;
}

.achievement-suffix {
  font-size: 2rem;
  color: #ff6b6b;
}

.achievement-label {
  color: #666;
  font-size: 1rem;
  font-weight: 600;
}

/* Team Section */
.team-section {
  background: #1a1f5a;
  color: white;
  min-height: 800px;
}

.team-section .section-title {
  color: white;
}

.portfolio-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.cards-wrapper {
  position: relative;
  height: 600px;
  width: 100%;
  perspective: 1000px;
  margin-bottom: 2rem;
}

.card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  padding: 2rem;
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: scale(0.8) translateX(100%) rotateY(15deg);
  opacity: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card.active {
  transform: scale(1) translateX(0) rotateY(0deg);
  opacity: 1;
  z-index: 3;
}

#card-0 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
#card-1 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
#card-2 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
#card-3 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.card:hover .profile-img {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(255, 255, 255, 0.8);
}

.card-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.role {
  font-size: 1.2rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.skills span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  transition: all 0.3s;
}

.skills span:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Navigation */
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 300px;
  margin: 0 auto;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.dots-container {
  display: flex;
  gap: 0.8rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.dot.active {
  background: white;
  transform: scale(1.3);
}

/* Technology Section */
.technology {
  background: white;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.tech-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.tech-card h3 {
  font-size: 1.5rem;
  color: #2c5aa0;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
  color: white;
}

.contact .section-title {
  color: white;
}

.contact-info {
  opacity: 0;
  transform: translateX(-50px);
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateX(-30px);
}

.contact-icon {
  font-size: 1.5rem;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Animation Classes */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-down {
  opacity: 0;
  transform: translateY(-30px);
  animation: slideDown 0.8s ease-out forwards;
}

.animate-text-reveal {
  opacity: 0;
  animation: textReveal 1s ease-out forwards;
}

.animate-bounce-in {
  opacity: 0;
  transform: scale(0.3);
  animation: bounceIn 0.8s ease-out forwards;
}

.animate-pulse {
  opacity: 0;
  animation: pulseIn 1s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.scroll-animate[data-direction="left"] {
  transform: translateX(-50px);
}

.scroll-animate[data-direction="right"] {
  transform: translateX(50px);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translate(0);
}

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes textReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulseIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Counter Animation */
.animate-counter .achievement-number {
  animation: countUp 2s ease-out;
}

@keyframes countUp {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .about-content { grid-template-columns: 1fr; gap: 2rem; }
  .flow-diagram { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .cards-wrapper { height: 550px; }
  .diagram-wrapper { padding: 1rem; }
}

@media (max-width: 480px) {
  .section-title { font-size: 2rem; }
  .hero-title { font-size: 2rem; }
  .achievements-grid { grid-template-columns: 1fr; }
}
.dashboard-link-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 24px 0;
}

.dashboard-link {
  background: linear-gradient(90deg, #667eea 0%, #ffc107 100%);
  color: #223;
  font-weight: 600;
  font-size: 1.18em;
  padding: 15px 40px 15px 36px;
  border-radius: 35px;
  box-shadow: 0 2px 14px #667eea22;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  letter-spacing: 0.04em;
  transition: background 0.22s, box-shadow 0.21s, color 0.14s, transform 0.18s;
  position: relative;
}

.dashboard-link .link-icon {
  font-size: 1.33em;
  margin-right: 0.2em;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s;
}

.dashboard-link:hover,
.dashboard-link:focus {
  background: linear-gradient(90deg, #ffc107 0%, #667eea 100%);
  color: #fff;
  box-shadow: 0 6px 22px #ffc10755;
  text-decoration: none;
  transform: translateY(-2.5px) scale(1.045);
}

.dashboard-link:hover .link-icon {
  transform: rotate(-18deg) scale(1.16);
}

@media (max-width:600px) {
  .dashboard-link {
    width: 97vw;
    font-size: 1em;
    padding: 14px 0;
    justify-content: center;
  }
}
