:root {
  --primary-bg: #0f171e;
  --secondary-bg: #1a242f;
  --accent-blue: #00a8e1;
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --hover-bg: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 23, 30, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background-color: var(--hover-bg);
  color: var(--accent-blue);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="2" fill="%2300a8e1" opacity="0.3"/><circle cx="800" cy="300" r="1.5" fill="%2300a8e1" opacity="0.2"/><circle cx="400" cy="600" r="1" fill="%2300a8e1" opacity="0.4"/><circle cx="700" cy="800" r="2.5" fill="%2300a8e1" opacity="0.2"/><circle cx="100" cy="500" r="1.5" fill="%2300a8e1" opacity="0.3"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--text-primary), var(--accent-blue));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--accent-blue);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.6s both;
  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.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 168, 225, 0.3);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
.section {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent-blue);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-blue);
}

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

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  display: flex;
  margin: 0 auto;
  font-size: 4rem;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Skills Section */
.skills {
  background: var(--secondary-bg);
  margin: 0 -5%;
  padding: 5rem 5%;
}

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

.skill-category {
  background: var(--primary-bg);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 168, 225, 0.1);
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 30px rgba(0, 168, 225, 0.2);
}

.skill-category h3 {
  color: var(--accent-blue);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.skill-item {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s ease;
}

.skill-item:hover {
  color: var(--text-primary);
}

.skill-item:last-child {
  border-bottom: none;
}

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

.project-card {
  background: var(--secondary-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 168, 225, 0.1);
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 168, 225, 0.2);
  border-color: var(--accent-blue);
}

.project-image {
  height: 300px;
  background: linear-gradient(45deg, var(--accent-blue), var(--primary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-primary);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.project-img{
  height: 280px;
  background: linear-gradient(45deg, var(--accent-blue), var(--primary-bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-primary);
}

.source{
    text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Prime Video Style Links */
.a {
  text-decoration: none;
  color: #00a8e1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.a:visited {
  color: #00a8e1;
}

.a:hover {
  color: #1ed1ff;
}

.a:active {
  color: #008bb5;
}

/* Experience Section */
.experience {
  background: var(--secondary-bg);
  margin: 0 -5%;
  padding: 5rem 5%;
}

.experience-card {
  background: var(--primary-bg);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--accent-blue);
  transition: all 0.3s ease;
}

.experience-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 168, 225, 0.2);
}

.job-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.company {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.job-description {
  color: var(--text-secondary);
  line-height: 1.7;
}

li{
  color: var(--text-secondary);
}



/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.link{
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 400;
  transition: color 0.3s ease;
  
}

.contact-info {
  background: var(--secondary-bg);
  padding: 2rem;
  border-radius: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.contact-item strong {
  color: var(--accent-blue);
  margin-right: 1rem;
  min-width: 100px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--secondary-bg);
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 10px rgba(0, 168, 225, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  padding: 1rem 2rem;
  background: var(--accent-blue);
  color: var(--text-primary);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.submit-btn:hover {
  background: #0080b8;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--primary-bg);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--primary-bg);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-image {
    width: 200px;
    height: 200px;
  }

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

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

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

  .section {
    padding: 3rem 5%;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem 3%;
  }

  .section {
    padding: 2rem 3%;
  }

  .hero {
    padding: 0 3%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .profile-image::before {
    font-size: 4rem;
  }

  .skills {
    margin: 0 -3%;
    padding: 3rem 3%;
  }

  .experience {
    margin: 0 -3%;
    padding: 3rem 3%;
  }
}

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

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