/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #0e0e0e, #1a1a1a);
  color: #e5e5e5;
  line-height: 1.6;
}

/* Hero */
#hero {
  height: 100vh;
  background: linear-gradient(to right, #111827, #1f2937);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}
/* Hero Particle Background */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Ensure hero content is above particles */
.hero-content {
  position: relative;
  z-index: 1;
}

.animated-title {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  animation: fadeInUp 1.2s ease-in-out;
  background: linear-gradient(to right, #6366f1, #3b82f6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 300;
  color: #cbd5e1;
}

.buttons {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.btn.primary {
  background-color: #3b82f6;
  color: #ffffff;
  border: 2px solid #3b82f6;
}

.btn.secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #3b82f6;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
/* Section Animation */
.glass-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.glass-section.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Tabs */
.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.tab-panel.active {
  display: block;
  opacity: 1;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease-in-out;
  backdrop-filter: blur(8px);
  color: #e5e5e5;
}


.card:hover {
  transform: translateY(-10px);
}
.card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1rem 0;
}

.card .btn.secondary {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.card .btn.secondary:hover {
  background-color: #555;
}

/* Timeline */
.timeline {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.timeline li {
  padding: 10px 0;
  border-left: 4px solid #6366f1;
  margin-left: 20px;
  padding-left: 20px;
  position: relative;
  color: #d1d5db;
}

.timeline li::before {
  content: "⚡";
  position: absolute;
  left: -28px;
  top: 10px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  width: 100%;
  max-width: 600px;
  border: 1px solid #374151;
  border-radius: 8px;
  outline: none;
  background-color: #1f2937;
  color: #f9fafb;
  font-size: 16px;
}

.contact-form button {
  background-color: #6366f1;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #4f46e5;
}
/* Social Links */
.socials {
  margin-top: 20px;
}

.socials a {
  color: #60a5fa;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  transition: color 0.3s;
}
.socials a:hover {
  color: #3b82f6;
}

/* Footer */
footer {
  background-color: #111827;
  color: #cbd5e1;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.skill-box {
  background-color: #1e293b;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  color: #f3f4f6;
  transition: transform 0.2s;
}
.skill-box h3 i {
  margin-right: 8px;
  color: #4db6ac; /* Choose color to match your theme */
}

.skill-box:hover {
  transform: translateY(-6px);
}

/* Animations */
@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
/* RESPONSIVE STYLES */

/* Small Devices (Tablets) */
@media (max-width: 768px) {
  .animated-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .tagline {
    font-size: 1rem;
  }

  .buttons {
    flex-direction: column;
  }

  .btn {
    width: 80%;
    margin: 10px auto;
  }

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

  .card {
    width: 100%;
    max-width: 100%;
  }

  .contact-form input,
  .contact-form textarea {
    width: 90%;
  }
}

/* Extra Small Devices (Phones) */
@media (max-width: 480px) {
  #hero {
    padding: 40px 20px;
    height: auto;
  }

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

  .tagline {
    font-size: 0.95rem;
  }

  .skills-grid,
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .timeline li {
    margin-left: 10px;
    padding-left: 15px;
    font-size: 0.95rem;
  }

  .timeline li::before {
    left: -20px;
    top: 8px;
  }

  footer {
    font-size: 0.9rem;
    padding: 20px 10px;
  }
}
.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.design-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.design-card img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 1rem;
  max-height: 180px;
}

.design-card h3 {
  font-family: 'Rajdhani', sans-serif;
  margin-bottom: 0.5rem;
}

.design-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #e0e0e0;
}

.section-intro {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #000000;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.project-block {
  margin-top: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.project-description {
  color: #fff5f5;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
/* Highlighted Project Block */
.highlighted-project {
  border: 2px solid #6366f1;
  background: rgba(17, 24, 39, 0.8);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.2);
  margin-bottom: 60px;
  backdrop-filter: blur(10px);
}

.highlighted-title {
  background: linear-gradient(to right, #8b5cf6, #6366f1);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
}


/* Section intro */
.section-intro {
  color: #9ca3af;
  font-size: 1.2rem;
}

.design-card {
  background: rgba(31, 41, 55, 0.6);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: #e5e5e5;
}

.design-card h3 {
  font-family: 'Rajdhani', sans-serif;
  color: #ffffff;
}

.design-card p {
  color: #d1d5db;
}

.project-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed or absolute depending on your need */
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.project-modal .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.project-modal .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 1rem;
}

.project-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.social-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Style for each button */
.social-icons .btn.secondary {
  display: flex;
  align-items: center;
  gap: 12px; /* Space between icon and text */
  padding: 12px 20px;
  background-color: #111111;
  border: 2px solid #3399FF;
  border-radius: 20px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  width: 300px; /* Or use fit-content / max-content based on your layout */
  justify-content: center; /* Center icon+text horizontally */
}

.social-icons .btn.secondary:hover {
  box-shadow: 0 0 10px #3399FF;
}

.social-icons img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

#dragNav.shrunk {
  padding: 6px 18px !important;
  min-width: 200px !important;
  max-width: 80% !important;
  height: 36px !important;
  transform: translateX(-50%) scale(0.9) !important;
}

#dragNav:hover {
  transform: translateX(-50%) scale(1) !important;
}
