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

/* Body and General Styles */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: clamp(16px, 2vw, 18px);
}

h1, h2, h3, h4 {
  color: #ffffff;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Neon Effect */
.neon-glow {
  transition: all 0.3s ease;
}

.neon-glow:hover {
  text-shadow: 0 0 5px #00ffcc;
  transform: scale(1.05);
}

/* Navbar Styles */
.navbar {
  background-color: rgba(0, 0, 0, 0.85);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
}

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

.logo {
  font-size: clamp(1.2em, 3vw, 1.5em);
  font-weight: bold;
  color: #00ffcc;
}

.nav-links {
  display: flex;
  gap: clamp(20px, 4vw, 30px);
  transition: transform 0.3s ease;
}

.nav-links li {
  font-size: clamp(16px, 2vw, 18px);
}

.nav-links a {
  color: #00ffcc;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff00ff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #00ffcc;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: white;
  text-align: center;
  padding: clamp(100px, 15vw, 150px) 15px clamp(80px, 10vw, 120px);
  position: relative;
}

.hero-content {
  transform-style: preserve-3d;
  animation: rotate3D 10s infinite alternate ease-in-out;
}

@keyframes rotate3D {
  0% { transform: rotateY(0deg) rotateX(0deg); }
  100% { transform: rotateY(8deg) rotateX(4deg); }
}

.hero h1 {
  font-size: clamp(2.5em, 5vw, 3.5em);
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.hero p {
  font-size: clamp(1.2em, 2vw, 1.5em);
  margin-bottom: 25px;
}

.intro-video {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 20px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}

.cta-btn {
  background: linear-gradient(45deg, #00ffcc, #ff00ff);
  border: none;
  padding: 12px 30px;
  font-size: clamp(16px, 2vw, 18px);
  color: #0a0a0a;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  box-shadow: 0 0 15px #00ffcc;
  transform: translateY(-2px);
}

/* Resume Section */
.resume {
  padding: clamp(60px, 10vw, 80px) 15px;
  background-color: #1a1a1a;
  text-align: center;
}

.resume h2 {
  font-size: clamp(2em, 4vw, 2.5em);
  margin-bottom: 30px;
}

.resume p {
  font-size: clamp(1em, 2vw, 1.2em);
  max-width: 700px;
  margin: 0 auto 30px;
}

.resume ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.resume-card {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.2);
  transition: all 0.3s ease;
  font-size: clamp(0.9em, 1.5vw, 1em);
}

.resume-card:hover {
  background: rgba(0, 255, 204, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
  transform: translateY(-5px);
  color: #ffffff;
}

.resume-card strong {
  display: block;
  font-size: clamp(1.1em, 1.8vw, 1.2em);
  color: #00ffcc;
  margin-bottom: 8px;
}

/* Work Experience Section */
.work-experience {
  padding: clamp(60px, 10vw, 80px) 15px;
  background-color: #0a0a0a;
}

.work-experience .container {
  max-width: 1100px;
  margin: 0 auto;
}

.work-experience h2 {
  font-size: clamp(2em, 4vw, 2.5em);
  margin-bottom: 30px;
  text-align: center;
}

.job {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.15);
  transition: all 0.3s ease;
}

.job:hover {
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
  transform: translateY(-5px);
}

.job h4 {
  font-size: clamp(1.5em, 2.5vw, 1.8em);
  color: #ff00ff;
  margin-bottom: 15px;
}

.job p {
  font-size: clamp(0.9em, 1.5vw, 1em);
  margin: 10px 0;
  color: #ffffff;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.image-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 255, 204, 0.2);
}

.image-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}

.total-companies {
  font-size: clamp(1em, 2vw, 1.2em);
  font-weight: bold;
  text-align: center;
  color: #00ffcc;
  margin-top: 20px;
}

/* Modal for Image Expansion */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 15px;
  transform-style: preserve-3d;
  animation: rotate3DModal 0.5s ease forwards;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

@keyframes rotate3DModal {
  from {
    transform: scale(0.5) rotateY(20deg) rotateX(10deg);
    opacity: 0;
  }
  to {
    transform: scale(1) rotateY(0deg) rotateX(0deg);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #ffffff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #00ffcc;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  color: white;
  padding: clamp(60px, 10vw, 80px) 15px;
  text-align: center;
}

.contact h2 {
  font-size: clamp(2em, 4vw, 2.5em);
  margin-bottom: 30px;
}

.contact p {
  font-size: clamp(1em, 2vw, 1.2em);
  max-width: 700px;
  margin: 0 auto 30px;
}

.contact-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 255, 204, 0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form:hover {
  box-shadow: 0 0 18px rgba(0, 255, 204, 0.5);
}

.contact-form h3 {
  font-size: clamp(1.4em, 2vw, 1.6em);
  margin-bottom: 15px;
  color: #f1eb83;
  text-shadow: 0 0 5px rgba(255, 0, 255, 0.3);
}

.contact-form label {
  font-size: clamp(0.85em, 1.4vw, 0.95em);
  margin-bottom: 8px;
  display: block;
  text-align: center;
  color: #00ffcc;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 300px;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #00ffcc;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: clamp(0.85em, 1.4vw, 0.95em);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px #00ffcc;
  border-color: #ff00ff;
  outline: none;
}

.form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  
  background: linear-gradient(135deg, #ff00ff, #00ffcc);
  color: #fff; /* white text for better contrast */
  font-weight: 600;
  font-size: 0.95em;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.4s ease;
  width: 100%;
  max-width: 200px;
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.4); /* subtle glow */
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 255, 204, 0.6), 0 0 10px rgba(255, 0, 255, 0.5);
  background: linear-gradient(135deg, #ff66ff, #33ffee);
}




.form-btn i {
  font-size: 1.1em;       /* slightly bigger for better visibility */
  transition: transform 0.3s ease;  /* smooth hover effect */
}

/* Optional: add a subtle icon animation on hover */
.form-btn:hover i {
  transform: translateX(4px); /* icon moves slightly to the right */
}

/* Floating WhatsApp Icon */
.whatsapp-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: white;
  transition: all 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
}

/* Footer Styles */
.footer {
  background-color: rgba(0, 0, 0, 0.8);
  padding: clamp(30px, 5vw, 40px) 15px;
  text-align: center;
  border-top: 1px solid #00ffcc;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer p {
  margin-bottom: 15px;
  color: #00ffcc;
  font-size: clamp(0.9em, 1.5vw, 1em);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: clamp(15px, 3vw, 20px);
  margin-bottom: 15px;
}

.footer-links a {
  color: #ff00ff;
  font-size: clamp(0.9em, 1.5vw, 1em);
}

.footer-links a:hover {
  color: #00ffcc;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  font-size: clamp(18px, 2vw, 20px);
  color: #ffffff;
}

.social-icons a:hover {
  color: #00ffcc;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .resume ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-columns {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 10px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 60px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    align-items: center;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: clamp(2em, 4vw, 2.5em);
  }

  .hero p {
    font-size: clamp(1em, 1.8vw, 1.2em);
  }

  .intro-video {
    max-width: 90%;
  }

  .resume ul {
    grid-template-columns: 1fr;
  }

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

  .contact-columns {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .contact-form {
    max-width: 400px;
  }

  .form-btn {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: clamp(80px, 12vw, 100px) 10px clamp(60px, 8vw, 80px);
  }

  .resume {
    padding: clamp(40px, 8vw, 60px) 10px;
  }

  .work-experience {
    padding: clamp(40px, 8vw, 60px) 10px;
  }

  .contact {
    padding: clamp(40px, 8vw, 60px) 10px;
  }

  .footer {
    padding: clamp(20px, 4vw, 30px) 10px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* Prevent scrolling when nav is open */
body.nav-open {
  overflow: hidden;
}