/* imports */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap");

:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --text-color: #ffffff;
  --background-color: #0a0a0a;
  --accent-color: #667eea;
  --surface-color: #1a1a1a;
  --border-color: #333333;
  --text-secondary: #bebebe;
}

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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--background-color);
  color: var(--text-color);
}

/* Hide scrollbar for all browsers */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

html::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

body::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease-out;
}

#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.typing-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.typing-text {
  font-family: "Orbitron", monospace;
  font-size: 3.5rem;
  font-weight: 900;
  color: #667eea;
  text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
  letter-spacing: 0.2em;
  opacity: 0;
  transform: translateY(20px);
}

.cursor {
  font-family: "Orbitron", monospace;
  font-size: 3.5rem;
  font-weight: 900;
  color: #667eea;
  text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
  animation: blink 1s infinite;
  opacity: 0;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* Responsive design for loading screen */
@media (max-width: 768px) {
  .typing-text,
  .cursor {
    font-size: 2.5rem;
  }

  .loading-bar {
    width: 250px;
  }
}

@media (max-width: 480px) {
  .typing-text,
  .cursor {
    font-size: 2rem;
  }

  .loading-bar {
    width: 200px;
  }
}

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* background: rgba(26, 26, 26, 0.95); */
  backdrop-filter: blur(5px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  /* border-bottom: 1px solid var(--border-color); */
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

#logo-image-container img {
  height: 40px;
  width: auto;
}

#nav-links-container {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  margin-left: auto;
}

.nav-link a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link a:hover {
  color: var(--accent-color);
}

.nav-link a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

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

#menu-icon-container {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

#menu-icon,
#close-icon {
  font-size: 1.5rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

#close-icon {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}

#menu-icon.active {
  display: none;
}

#close-icon.active {
  display: block;
}

/* Mobile menu styles */
@media (max-width: 768px) {
  #menu-icon-container {
    display: block;
  }

  #nav-links-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    z-index: 1000;
    border-left: 1px solid var(--border-color);
  }

  .nav-link {
    opacity: 0;
    transform: translateX(50px);
  }

  .nav-link a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .nav-link a::after {
    display: none;
  }
}

/* Main content styles */
main {
  padding-top: 1rem;
}

section {
  min-height: 100vh;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

#home {
  position: relative;
  color: white;
  overflow: hidden;
  margin-bottom: 0;
}

#vanta-globe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
}

#home #main-container {
  position: relative;
  z-index: 2;
}

#about {
  background: var(--surface-color);
}

#projects {
  background: var(--background-color);
}

#contact {
  background: var(--surface-color);
}

#main-container,
#about-container,
#projects-container,
#contact-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

/* GSAP will handle smooth scrolling */

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Active navigation state */
.nav-link a.active {
  color: var(--accent-color);
}

.nav-link a.active::after {
  width: 100%;
}

/* Hero Section Styles */
.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.hero-text {
  max-width: 800px;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  font-family: "Orbitron", monospace;
  text-shadow: 2px 2px 4px rgb(0, 0, 0);
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  text-shadow: 30px #000000;
}

.title-line.highlight {
  color: var(--secondary-color);
  font-weight: 900;
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  /* background-clip: text; */
  text-shadow: 30px #000000;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateX(-30px);
  text-shadow: 30px #000000;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(30px);
  text-shadow: 30px #000000;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  justify-content: flex-start;
}

.btn-primary,
.btn-secondary,
.btn-resume {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 200px;
  flex: 1;
  max-width: 250px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-resume {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
  border: 2px solid transparent;
}

.btn-resume:hover {
  background: linear-gradient(135deg, #ee5a24, #ff6b6b);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-resume:hover {
  transform: translateY(-3px);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: "Orbitron", monospace;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  margin: 0 auto;
  border-radius: 2px;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 2rem 0;
}

.about-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: var(--text-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.skill-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.skill-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
  border-color: var(--accent-color);
}

.skill-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.skill-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.skill-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Profile Card */
.profile-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.profile-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.profile-info p {
  color: var(--text-secondary);
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  padding: 2rem 0;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
  border-color: var(--accent-color);
}

.project-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: linear-gradient(135deg, #667eea, #764ba2);
  overflow: hidden;
}

.project-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  padding: 0.8rem 1.5rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: white;
  color: var(--accent-color);
  transform: scale(1.05);
}

.project-content {
  padding: 2rem;
}

.project-content h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: rgba(102, 126, 234, 0.2);
  color: var(--accent-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Contact Section */
.contact-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  align-items: start;
  padding: 2rem 0;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
  border-color: var(--accent-color);
}

.social-link i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.mail-link {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.mail-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
    border-color: var(--accent-color);
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary,
  .btn-resume {
    width: 100%;
    max-width: 300px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
  
  .mail-link {
    grid-column: 1;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Notification Styles */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification i {
  font-size: 1.2rem;
}

.notification.success {
  border-left: 4px solid #4caf50;
}

.notification.info {
  border-left: 4px solid #2196f3;
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn-primary,
  .btn-secondary,
  .btn-resume {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .skill-item,
  .project-card,
  .profile-card {
    padding: 1.5rem;
  }
}

/* Notification Styles */
.notification-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.notification-content i {
  font-size: 1.2rem;
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
  .notification {
    right: 10px !important;
    left: 10px !important;
    transform: translateY(-100px) !important;
  }

  .notification.show {
    transform: translateY(0) !important;
  }
}
