* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body{
  overflow-x: hidden;
  width: 100%;
}
img{
  max-width: 100%;
  display: block;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #00f2fe;
  position: relative;
  transition: color 0.3s;
}
.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #00f2fe;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* ===== LIGHT MODE ===== */
body.light-mode {
  background: #f5f5f5;
  color: #222;
}
body.light-mode .section-title {
  color: #007bff;
}
body.light-mode .section-title::after {
  background: #007bff;
}
body.light-mode header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ddd;
}
body.light-mode .logo {
  color: #007bff;
}
body.light-mode .nav-links a:hover {
  color: #007bff;
}
body.light-mode .btn {
  background: #007bff;
  color: #fff;
}
body.light-mode .btn-outline {
  border-color: #007bff;
  color: #007bff;
}
body.light-mode .btn-outline:hover {
  background: #007bff;
  color: #fff;
}
body.light-mode .social-icons a:hover {
  color: #007bff;
}
body.light-mode .hero {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}
body.light-mode .hero-content h1 span {
  color: #007bff;
}
body.light-mode .about,
body.light-mode .skills,
body.light-mode .projects,
body.light-mode .blog {
  background: #fff;
}
body.light-mode .education,
body.light-mode .achievements,
body.light-mode .testimonials,
body.light-mode .contact {
  background: #f0f0f0;
}
body.light-mode .skill-category,
body.light-mode .project-card,
body.light-mode .achievement-item,
body.light-mode .blog-card,
body.light-mode .testimonial-card,
body.light-mode .contact input,
body.light-mode .contact textarea {
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  color: #222;
}
body.light-mode .timeline-content {
  background: #fff;
}
body.light-mode .progress-bar {
  background: #ddd;
}
body.light-mode .progress {
  background: #007bff;
}
body.light-mode .skill-category h3,
body.light-mode .project-info h3,
body.light-mode .blog-content h3 {
  color: #007bff;
}
body.light-mode .tech-stack span,
body.light-mode .soft-skills span {
  background: #e0e0e0;
  color: #333;
}
body.light-mode .blog-meta,
body.light-mode .blog-date {
  color: #666;
}
body.light-mode .read-more {
  color: #007bff;
}
body.light-mode .testimonial-text {
  color: #555;
}
body.light-mode .testimonial-author h4 {
  color: #007bff;
}
body.light-mode .achievement-item i {
  color: #007bff;
}
body.light-mode .contact-info i {
  color: #007bff;
}
body.light-mode footer {
  background: #fff;
  border-top-color: #ccc;
  color: #555;
}
body.light-mode .theme-toggle {
  color: #333;
}
  
header {
  background: rgba(10, 10, 10, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: background 0.3s;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}
.logo {
  font-size: 2.3rem;
  font-weight: bold;
  color: #00f2fe;
   font-family:'Courier New', Courier, monospace 
}
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  position: relative;
  color: #e5e5e5;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s ease;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #00f2fe;
  transition: 0.3s ease;
}


/* HOVER */

.nav-links a:hover::after {
  width: 100%;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.theme-toggle {
  background: none;
  border: none;
  color: #e0e0e0;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
}
.theme-toggle:hover {
  color: #00f2fe;
}
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
}

/* ===== HERO ===== */
.hero {
  min-height: auto;
  padding-top: 8rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}
.hero-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00f2fe;
  margin-bottom: 2rem;
  margin-top: 4rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.hero-content{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}
.hero-content h1 span {
  color: #00f2fe;
}
.typing-text {
  font-size: 1.2rem;
  color: #aaa;
  margin-bottom: 2rem;
}
.hero-buttons .btn {
  margin: 0 0.5rem;
}
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #00f2fe;
  color: #0a0a0a;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
  border: none;
  cursor: pointer;
}
.btn-outline {
  background: transparent;
  border: 2px solid #00f2fe;
  color: #00f2fe;
}
.btn-outline:hover {
  background: #00f2fe;
  color: #0a0a0a;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 242, 254, 0.3);
}
.social-icons {
  margin-top: 2rem;
}
.social-icons a {
  margin: 0 0.8rem;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #00f2fe;
}

/* ===== ABOUT ===== */
.about {
  padding: 5rem 0;
  background: #111;
}
.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}
.about-img {
  flex: 1;
  text-align: center;
}
.about-img img {
  width: 300px;
  height: 500px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid #00f2fe;
}
.about-text {
  flex: 2;
}
.about-text p {
  margin-bottom: 1.5rem;
  color: #ccc;
}
.about-details {
  display: flex;
  gap: 2rem;
  color: #00f2fe;
  flex-wrap: wrap;
}
.about-details i {
  margin-right: 0.5rem;
}

/* ===== EDUCATION TIMELINE ===== */
 .education {
  padding: 6rem 1.5rem;

  background: #0a0a0a;
}
.timeline {
  position: relative;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}
.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: rgba(255,255,255,0.12);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
}
.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}
.timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background: #00f2fe;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0a0a0a;
  font-size: 1.7rem;
  z-index: 2;
  box-shadow:
    0 10px 25px rgba(0,242,254,0.25);
}
.timeline-content {
  position: relative;
  width: 42%;
  background: rgba(26, 26, 46, 0.95);
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35),
    0 0 20px rgba(0,242,254,0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
}
.timeline-content:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.45),
    0 0 35px rgba(0,242,254,0.12);
}
.timeline-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #00f2fe,
    rgba(0,242,254,0.15)
  );
}
.timeline-content h3 {
  color: #00f2fe;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}
.timeline-content span {
  display: block;
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.timeline-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .timeline::after {
    left: 30px;
  }
  .timeline-item {
    flex-direction: row !important;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .timeline-icon {
    position: relative;
    left: 0;
    transform: none;
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }
  .timeline-content {
    width: 100%;
    padding: 1.5rem;
  }
  .timeline-content h3 {
    font-size: 1.5rem;
  }
  .timeline-content p {
    font-size: 1rem;
  }
} 

/* ===== SKILLS ===== */
.skills {
  padding: 5rem 0;
  background: #111;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.skill-category {
  background: #1a1a2e;
  padding: 1.5rem;
  border-radius: 10px;
}
.skill-category h3 {
  margin-bottom: 1rem;
  color: #00f2fe;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skill-item {
  margin-bottom: 1rem;
}
.skill-item span {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.progress-bar {
  background: #333;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.progress {
  height: 100%;
  background: #00f2fe;
  border-radius: 4px;
  transition: width 1s;
}
.soft-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.soft-skills span {
  background: #333;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
}




/* ===== PROJECTS ===== */

.projects {
  padding: 5rem 0;
  background: #0a0a0a;
}
.projects-grid {
  display: grid;
  grid-template-columns:
  repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.project-card {
  background: #1a1a2e;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.35s ease;
  border: 1px solid transparent;
  position: relative;
}
.project-card:hover {
  transform: translateY(-10px);
  border-color: #00f2fe;
  box-shadow: 0 0 20px rgba(0,242,254,0.15);
}
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s ease;
}
.project-card:hover img {
  transform: scale(1.03);
}
.project-info {
  padding: 1.5rem;
}
.project-info h3 {
  color: #00f2fe;
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}
.project-info p {
  color: #cfcfcf;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.3rem;
}
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.tech-stack span {
  background: #2d2d2d;
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 30px;
  font-size: 0.82rem;
  transition: 0.3s ease;
}
.tech-stack span:hover {
  background: #00f2fe;
  color: #000;
}
.project-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.project-links a {
  color: #00f2fe;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  font-size: 1rem;
}
.project-links a:hover {
  color: #fff;
}
.project-links a i {
  margin-right: 0.4rem;
}
.full-width-project {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 300px;
}
.full-width-project img {
  width: 45%;
  height: 100%;
  object-fit: cover;
}
.full-width-project .project-info {
  width: 55%;
  padding: 2rem;
}
.full-width-project h3 {
  font-size: 2rem;
}
.full-width-project p {
  font-size: 1rem;

  max-width: 700px;
}
@media (max-width: 900px) {
  .full-width-project {
    flex-direction: column;
  }
  .full-width-project img {
    width: 100%;
    height: 250px;
  }
  .full-width-project .project-info {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

}

/* ACHIEVEMENTS SECTION */
.achievements {
  padding: 6rem 0;
  background: #0a0a0a;
}
.section-title {
  text-align: center;
  font-size: 2.7rem;
  color: #00f2fe;
  margin-bottom: 4rem;
}
.achievement-heading,
.certificate-heading {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 2rem;
}
.achievement-wrapper {
  margin-bottom: 5rem;
}
.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.achievement-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #1a1a2e;
  padding: 1.4rem 1.6rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
}
.achievement-point:hover {
  transform: translateX(6px);
  border-color: #00f2fe;
  box-shadow: 0 0 15px rgba(0,242,254,0.12);
}
.achievement-point i {
  color: #00f2fe;
  font-size: 1.3rem;
  margin-top: 0.2rem;
}
.achievement-point p {
  color: #ddd;
  line-height: 1.7;
  font-size: 1rem;
}

/* CERTIFICATE GRID */
.certificate-grid {
  display: grid;
  grid-template-columns:
  repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.certificate-card {
  background: #1a1a2e;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.3s ease;
  border: 1px solid transparent;
}
.certificate-card:hover {
  transform: translateY(-8px);
  border-color: #00f2fe;
  box-shadow: 0 0 20px rgba(0,242,254,0.15);
}
.certificate-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.certificate-content {
  padding: 1.5rem;
}
.certificate-content h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.certificate-content span {
  display: block;
  color: #00f2fe;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.certificate-content p {
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.certificate-content a {
  text-decoration: none;

  color: #00f2fe;

  font-weight: 600;

  transition: 0.3s ease;
}
.certificate-content a:hover {
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
  .achievement-heading,
  .certificate-heading {
    font-size: 1.6rem;
  }
  .achievement-point {
    padding: 1.2rem;
  }
 .achievement-point p {
    font-size: 0.95rem;
  }
}

/* INTERESTS SECTION */
.interests{
  padding: 5rem 0;
  background: #111;
}
.interests-list{
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.interest-item{
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: #e5e5e5;
  padding-bottom: 1rem;
  border-bottom:
  1px solid rgba(255,255,255,0.08);
}
.interest-item i{
  color: #00f2fe;
  font-size: 1.3rem;
  min-width: 25px;
}
.interest-item:hover{
  transform: translateX(10px);
  transition: 0.3s ease;
}

/* ===== CONTACT ===== */
.contact {
  padding: 5rem 0;
  background: #0a0a0a;
}
.contact-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}
.contact form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}
.contact input, .contact textarea {
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: #1a1a2e;
  border: 1px solid #333;
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
}
.contact button {
  align-self: flex-start;
}
.contact-info {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  font-size: 1.1rem;
}
.contact-info i {
  width: 25px;
  color: #00f2fe;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 2rem;
  background: #0a0a0a;
  border-top: 1px solid #333;
  font-size: 0.9rem;
  color: #666;
  transition: background 0.3s, color 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    justify-content: center;
    width: 70%;
    transition: right 0.3s;
    backdrop-filter: blur(10px);
  }
  body.light-mode .nav-links {
    background: rgba(255,255,255,0.98);
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    margin: 1.5rem 0;
    text-align: center;
  }
  .hamburger {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero{
  padding-top: 7rem;
  padding-left: 1rem;
  padding-right: 1rem;

}
  .about-content {
    flex-direction: column;
    text-align: center;
  }
}




@media (max-width: 768px){
  .project-card img{
    height: 10rem;

  }

}
@media (max-width: 768px){

  .project-info{
    padding: 1.2rem;

  }

}
@media (max-width: 768px){

  .project-info h3{
    font-size: 1.8rem;

  }
}
@media (max-width: 768px){

  .project-info p{

    font-size: 1rem;
    line-height: 1.7;

  }
}
@media (max-width: 768px){

  .tech-stack span{

    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;

  }

}
