@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background:
    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(34,211,238,0.12), transparent 40%),
    #020617;
  color: #e5e7eb;
  scroll-behavior: smooth;
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: #38bdf8;
}

.navbar a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.95rem;
  position: relative;
}

.navbar a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #38bdf8;
  left: 0;
  bottom: -6px;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

.hero h1 span {
  background: linear-gradient(90deg, #38bdf8, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h3 {
  margin: 15px 0;
  font-weight: 400;
  color: #94a3b8;
}

.hero p {
  max-width: 520px;
  margin-top: 10px;
  color: #cbd5f5;
}

.hero-buttons {
  margin-top: 35px;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  background: linear-gradient(90deg, #38bdf8, #22d3ee);
  color: #020617;
  text-decoration: none;
  font-weight: 600;
  margin-right: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(56,189,248,0.4);
}

.btn.secondary {
  background: transparent;
  color: #38bdf8;
  border: 1px solid #38bdf8;
}

/* ================= SECTIONS ================= */
.section {
  padding: 90px 10%;
}

.section h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #38bdf8, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section p {
  color: #94a3b8;
  max-width: 750px;
}

/* ================= SKILLS ================= */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.skills span {
  padding: 10px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.3s;
}

.skills span:hover {
  background: rgba(56,189,248,0.15);
  transform: translateY(-3px);
}

/* ================= PROJECTS ================= */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.card {
  padding: 25px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.card h3 {
  color: #ffffff;
}

.card p {
  font-size: 0.9rem;
}

.card a {
  display: inline-block;
  margin-top: 15px;
  color: #38bdf8;
  text-decoration: none;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #a5b4fc; /* soft indigo */
}

.card p {
  color: #cbd5f5;
  line-height: 1.6;
}

.card strong {
  color: #38bdf8;
}

/* ================= CONTACT ================= */
form {
  max-width: 500px;
  margin-top: 25px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.05);
  color: #e5e7eb;
}

form button {
  padding: 12px 26px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #38bdf8, #22d3ee);
  font-weight: 600;
  cursor: pointer;
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 25px;
  background: #020617;
  color: #64748b;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .section {
    padding: 70px 8%;
  }
}
/* ===== ABOUT 2 COLUMN ===== */
.about {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-right ul {
  list-style: none;
  padding: 0;
}

.about-right li {
  margin-bottom: 12px;
  color: #94a3b8;
}

/* ===== TIMELINE ===== */
.timeline {
  margin-top: 30px;
  display: grid;
  gap: 25px;
}

.timeline-item {
  padding: 20px;
  border-left: 3px solid #38bdf8;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}

.timeline-item span {
  color: #38bdf8;
  font-size: 0.9rem;
}

/* ===== RESPONSIVE FIX ===== */
@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* Experience role title color */
#experience .card h3 {
  color:  #a5b4fc;
}

/* Education role title color */
#education .card h3 {
  color:  #a5b4fc;
}

/* Projects role title color */
#projects .card h3 {
  color:  #a5b4fc;
}

#experience .card p {
  color: #e5e7eb;
}

#education .card p {
  color: #e5e7eb;
}

#projects .card p {
  color: #e5e7eb;
}

#documents .card p {
  color: #e5e7eb;
}

/* FORCE EXPERIENCE CARD TEXT COLOR */
#experience .card p,
#experience .card span {
  color: #e5e7eb;
}

/* === EXPERIENCE COMPANY NAME GRADIENT (FINAL FIX) === */
#experience .card p strong {
  background: linear-gradient(90deg, #38bdf8, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}

/* Safety: in case <b> is used instead of <strong> */
#experience .card p b {
  background: linear-gradient(90deg, #38bdf8, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 600;
}

/* Documents card title color – same as Projects */
#documents .card h3 {
  color: #a5b4fc;
}

/* ===== HERO SOCIAL LINKS ===== */
.social-links {
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(56, 189, 248, 0.15);
  transform: translateY(-3px);
}

.social-links i {
  font-size: 1.2rem;
}

.phone-text {
  font-size: 0.95rem;
}

/* ===== ABOUT PROFILE IMAGE ===== */
.about {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(56,189,248,0.6);
  box-shadow: 0 0 40px rgba(56,189,248,0.25);
}

/* Mobile fix */
@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    margin-top: 30px;
  }
}

/* ===== ABOUT PROFILE IMAGE (FINAL) ===== */
.about {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-left {
  max-width: 750px;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(56,189,248,0.6);
  box-shadow: 0 0 40px rgba(56,189,248,0.25);
}

/* Mobile fix */
@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    margin-top: 30px;
  }
}

/* ===== SECTION REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}