/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #7e9ce8; /* clean light professional background */
  color: #1e293b;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Remove gradient mesh */
body::before {
  content: none;
}




/* ===== Navbar ===== */
nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 15px 0;
}

nav ul li {
  margin: 0 20px;
}

nav ul li a {
  text-decoration: none;
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding: 5px 0;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #ec4899, #10b981, #f97316);
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}


/* Base nav */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 10px 20px;
}

/* Hamburger default hidden */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1e293b;
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    padding: 15px 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
  }
}


/* ===== Hero Section ===== */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
}

@media (max-width: 600px) {
  .hero-image img {
    max-width: 140px; /* smaller on very small screens */
  }
}


#hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: black;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

#hero p {
  font-size: 1.25rem;
  color: #334155;
  max-width: 700px;
}

/* Hero Buttons */
.hero-buttons {
  margin-top: 20px;
}
.hero-buttons a {
  display: inline-block;
  padding: 12px 28px;
  margin: 10px;
  border-radius: 30px;
  font-weight: 600;
  color: white;
  background: black;
  background-size: 300% 300%;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: gradientShift 8s ease infinite;
}

.hero-buttons a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Sections ===== */
section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: auto;
}

section:nth-child(even) {
  background: rgba(255,255,255,0.4);
  border-radius: 20px;
}

/* Section Headings */
section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  background: black;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Cards ===== */
.card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, #6366f1, #ec4899, #10b981, #f97316);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

/* ===== Social Links ===== */
.social-links a {
  margin: 0px 10px;
  font-weight: 600;
  text-decoration: none;
  background: black;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-left: 50px;
}
.mail{
  padding-left: 60px;
}

.social-links a:hover {
  opacity: 0.8;
}
/* Hero Layout */
#hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  padding-right: 40px;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #6366f1, #ec4899, #10b981, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.2rem;
  color: #475569;
  margin-top: 15px;
  max-width: 500px;
}

.hero-buttons a {
  display: inline-block;
  padding: 12px 28px;
  margin: 15px 10px 0 0;
  border-radius: 30px;
  font-weight: 600;
  color: white;
  background: linear-gradient(90deg, #6366f1, #ec4899, #10b981, #f97316);
  background-size: 300% 300%;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: gradientShift 8s ease infinite;
}

.hero-buttons a:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Hero Image */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #0f172a; /* dark navy background */
  color: #e2e8f0; /* light gray text */
  text-align: center;
  padding: 25px 20px;
  margin-top: 50px;
  font-size: 0.95rem;
}

footer .footer-links {
  margin-top: 10px;
}

footer .footer-links a {
  margin: 0 10px;
  color: #60a5fa; /* blue accent */
  text-decoration: none;
  transition: color 0.3s ease;

}

footer .footer-links a:hover {
  color: #10b981; /* green accent on hover */
  pointer-events: none;
}
.btn {
  display: inline-block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: #7069eb;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  margin: 10px 0;
}
.btn:hover {
  background: #4338ca;
  transform: translateY(-2px);
}
.card::before {
  pointer-events: none;  /* allow clicks to pass through */
}
/* ===== Timeline Education ===== */
.timeline {
  position: relative;
  margin: 30px auto;
  padding-left: 30px;
  border-left: 3px solid #7069eb; /* vertical line */
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: -11px;
  top: 5px;
  width: 18px;
  height: 18px;
  background: #7069eb;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #7069eb;
}

.timeline-content {
  background: rgba(255,255,255,0.8);
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-content h3 {
  margin-bottom: 6px;
  color: #1e293b;
  font-size: 1.2rem;
}

.timeline-content p {
  margin: 3px 0;
  color: #374151;
  font-size: 0.95rem;
}
/* ===== Experience Section ===== */
#experience .timeline-content {
  background: rgba(255,255,255,0.85);
  border-left: 4px solid #7069eb;
}

.company-logo {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
}

#experience ul {
  margin: 10px 0;
  padding-left: 18px;
}

#experience ul li {
  margin: 6px 0;
  font-size: 0.95rem;
  color: #374151;
}
/* ================= Responsive Styles ================= */

/* Tablets and below */
@media (max-width: 992px) {
  nav ul {
    flex-wrap: wrap;
    padding: 10px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .hero-image img {
    width: 220px;
    height: 220px;
  }

  section {
    padding: 70px 15px;
  }
}

/* Mobile devices */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero p {
    font-size: 1rem;
  }

  .hero-buttons a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .card {
    padding: 20px;
  }

  .timeline {
    padding-left: 15px;
  }

  .timeline-content {
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.8rem;
    padding: 15px;
  }
}





/* Animate hamburger to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}
