
/* Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: all 0.3s ease;
}
:root {
  --bg: #f9f9f9;
  --text: #333;
  --primary: #6c63ff;
  --dark-bg: #121212;
  --dark-text: #e0e0e0;
}
.dark-mode {
  --bg: var(--dark-bg);
  --text: var(--dark-text);
}

/* Navbar */
.header { background: var(--bg); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; }
.nav-links { display: flex; gap: 20px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
#darkToggle { border: none; background: transparent; cursor: pointer; font-size: 20px; }

/* Hero */
.hero {
  height: 100vh;
  display: flex; justify-content: center; align-items: center;
  text-align: center; background: linear-gradient(135deg, #6c63ff, #8e44ad);
  color: white;
}
.hero-content h1 { font-size: 3rem; }
.highlight { color: yellow; }
.btn {
  background: var(--primary); color: white; padding: 10px 20px; margin-top: 20px;
  border-radius: 30px; text-decoration: none; font-weight: bold;
  transition: 0.3s; display: inline-block;
}
.btn:hover { background: #4b4ac8; transform: scale(1.05); }

/* Sections */
.section { padding: 80px 10%; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; position: relative; }
.section-title::after {
  content: ''; width: 60px; height: 4px; background: var(--primary);
  display: block; margin: 10px auto; border-radius: 5px;
}

/* About */
.about-container { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.profile-img { width: 200px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.about-text { max-width: 600px; }
.about-right {
  display: flex;
  justify-content: flex-end;
  padding: 40px 10%;
}

.about-text-card {
  max-width: 700px;
  background: #ffffff;
  padding: 35px 40px;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.about-text-card h3 {
  font-size: 1.6rem;
  color: #1e90ff;
  margin-bottom: 15px;
}

.about-text-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-right {
    justify-content: center;
    padding: 20px;
  }
}


/* Skills */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.skill-card { background: #fff; padding: 20px; border-radius: 15px; text-align: center;
  font-weight: bold; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.3s; }
.skill-card:hover { transform: translateY(-8px) scale(1.05); background: var(--primary); color: white; }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.project-card { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: 0.3s; }
.project-card:hover { transform: scale(1.05); }
.project-card img { width: 100%; height: 180px; object-fit: cover; }
.project-info { padding: 20px; }

/* Internship Timeline */
.internship-container {
  position: relative;
  margin: 50px auto;
  padding-left: 30px;
  border-left: 3px solid var(--primary);
  max-width: 800px;
}
.internship-card {
  position: relative;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.internship-card:hover {
  transform: translateY(-5px);
}
.internship-card::before {
  content: "⬤";
  position: absolute;
  left: -38px;
  top: 20px;
  font-size: 18px;
  color: var(--primary);
}
.internship-card h3 {
  margin-bottom: 8px;
  color: var(--primary);
  font-weight: 600;
}
.internship-card h4 {
  margin-bottom: 10px;
  font-size: 14px;
  color: #777;
}
.internship-card ul {
  padding-left: 20px;
}
.internship-card ul li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #444;
}

/* CERTIFICATIONS */
.certificates{
  background:#eaf4ff;
}

.certificates-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.certificate-card{
  background:#fff;
  padding:20px;
  border-radius:20px;
  box-shadow:0 12px 30px rgba(0,0,0,0.12);
  transition:0.3s;
}

.certificate-card:hover{
  transform:translateY(-10px);
}

.certificate-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:15px;
}

.certificate-card h3{
  color:#1e90ff;
  margin-bottom:10px;
}

.certificate-card p{
  font-size:0.95rem;
  margin-bottom:6px;
}


/* Contact */
.contact-form { display: flex; flex-direction: column; gap: 15px; max-width: 500px; margin: 0 auto; }
.contact-form input, .contact-form textarea {
  padding: 12px; border-radius: 10px; border: 1px solid #ccc; outline: none; transition: 0.3s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
.social-links { text-align: center; margin-top: 20px; }
.social-links a { margin: 0 10px; color: var(--primary); text-decoration: none; font-weight: bold; }

/* Footer */
.footer { text-align: center; padding: 20px; background: var(--bg); color: var(--text); }

