/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #0f172a;
    color: #fff;
    line-height: 1.6;
}

/* Navbar */
/* Navbar */
header {
  position: fixed;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

nav {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #38bdf8;
}

.logo span {
  color: #facc15;
}

/* Desktop Navbar */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

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

.toggle-menu {
  display: none;
  color: #fff;
  font-size: 25px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* hidden by default */
    flex-direction: column;
    position: fixed;
    top: 70px; /* push below header */
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    width: 220px;
    border-radius: 10px;
    padding: 15px;
    z-index: 999; /* stay above content */
  }

  .nav-links.active {
    display: flex; /* show when toggled */
  }

  .nav-links li {
    margin: 10px 0;
  }

  .toggle-menu {
    display: block; /* show hamburger */
  }
}

















/* Sections */
section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #38bdf8;
    text-align: center;
}

/* Home */
.home-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-content {
    text-align: center;
}

.home-content h1 {
    font-size: 40px;
}

.home-content span {
    color: #facc15;
}

.home-buttons {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    border: 1px solid #38bdf8;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #38bdf8;
    color: #000;
}

.btn.primary {
    background: #38bdf8;
    color: #000;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 15px;
}

.skill-card {
  background: rgba(56, 189, 248, 0.1);
  padding: 25px 20px;
  border-radius: 12px;
  text-align: center;
  color: #0f172a;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.15);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.skill-card h3 {
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 22px;
  font-weight: 700;
}

.skill-card p {
  font-weight: 400;
  font-size: 16px;
  color: #1e293b;
  line-height: 1.5;
}

.skill-card:hover {
  background-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(24, 144, 255, 0.7);
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
    margin: 20px auto;
  }
}


/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.project-card:hover {
    background: rgba(250, 204, 21, 0.3);
}



.project-card ul, .exp ul {
  margin-top: 10px;
  padding-left: 22px;
}

.project-card ul li, .exp ul li {
  margin-bottom: 7px;
  line-height: 1.5;
}

/*  Experience */
.exp {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px 30px;
  border-radius: 10px;
  color: #e0e7ff; /* Light text for dark background */
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: none;
}

.exp h3 {
  font-size: 22px;
  font-weight: 700;
  color: #93c5fd; /* Soft bright blue */
  margin-bottom: 12px;
}

.exp-date {
  font-size: 14px;
  font-weight: 600;
  color: #bfdbfe; /* Slightly muted blue */
  margin-bottom: 18px;
  display: block;
}

.exp ul {
  font-size: 16px;
  line-height: 1.8;
  color: #cbd5e1; /* Light grey-blue for text */
  padding-left: 22px;
  list-style-type: disc;
}

.exp ul li {
  margin-bottom: 12px;
}


/*  Education */


.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.edu-card {
  background: rgba(56, 189, 248, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.edu-card:hover {
  background: rgba(250, 204, 21, 0.1);
  transform: translateY(-6px);
}

.edu-card h3 {
  color: #38bdf8;
  margin-bottom: 10px;
}

.edu-duration {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  color: #bbb;
}

.edu-cgpa {
  font-weight: bold;
  color: #facc15;
}



/* ===== Contact Section ===== */

/* ===== Contact Section ===== */

/* Contact Section Styling */
.contact-section {
  max-width: 600px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
  font-family: ' sans-serif';
  
}

.contact-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.contact-link {
  font-size: 22px;
  font-weight: 600;
  
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #2563eb;
}

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

.icon {
  cursor: pointer;
  fill: #555;
  width: 32px;
  height: 32px;
  transition: fill 0.3s ease;
}

.icon:hover {
  fill: #2563eb;
}

.icon.github:hover {
  fill: #000;
}

.icon.linkedin:hover {
  fill: #0a66c2;
}

.icon.email:hover {
  fill: #dc2626;
}



/* Responsive */
@media (max-width: 480px) {
  .contact-title {
    font-size: 36px;
  }

  .contact-link {
    font-size: 18px;
  }
}












/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.95);
}
