*{

    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: 'poppins',sans-serif;
}

/* =========================
   NAVBAR BASE
========================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 8%;
  background-color: rgb(37, 38, 39);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 8px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar h1 {
  color: aqua;
  margin: 0;

}

.navbar-links {
  display: flex;
  column-gap: 20px;
}

.navbar-links a {
  text-decoration: none;
  color:white;
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  text-decoration: underline;
  color: aqua;
}

/* Hamburger Icon */
.navbar-menu-toggle {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* =========================
   SIDE NAVBAR (Mobile)
========================= */
.side-navbar {
  background-color: #1D232C;
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -250px; /* hidden by default */
  padding: 20px;
  transition: left 0.3s ease-in-out;
  z-index: 2000;
}

.side-navbar.active {
  left: 0; /* show sidebar */
}

.side-navbar p {
  display: flex;
  justify-content: flex-end;
  font-size: 24px;
  margin: 0;
  cursor: pointer;
}

.side-navbar .navbar-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.side-navbar .navbar-links a {
  font-size: 18px;
  color: white;
}

.side-navbar .navbar-links a:hover {
  color: aqua;
  text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .navbar-links {
    display: none; /* hide normal links */
  }

  .navbar-menu-toggle {
    display: block; /* show hamburger */
  }
}


/*header*/

h1{
    color: aqua;
}

/* ==========================
   HERO SECTION (Home)
   ========================== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 5% 30px 5%;
  background: linear-gradient(135deg, #1D232C, #2C3440);
  color: white;
  gap: 100px;  /* ✅ add space between photo & text */
}


.hero-text {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.hero-text h2 {
  font-size: 1.3rem;
  color: #bbb;
  margin-bottom: 10px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
  color: aqua;
}

.hero-text h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1rem;
  margin-bottom: 25px;
}

.btn-primary {
  padding: 12px 32px;
  background: aqua;
  color: #1D232C;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #088ed2;
  color: white;
}

.socials {
  margin-top: 25px;   /* ✅ Add space above social icons */
  margin-bottom: 16px;
}


.socials a img {
  width: 32px;
  margin-right: 14px;
  border-radius: 50%;
  border: 2px solid aqua;
  transition: transform 0.2s;
}

.socials a img:hover {
  transform: scale(1.1);
  border-color: white;
}

/* ✅ Square Hero Image */
.hero-image {
  flex: 0 0 280px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;                 /* square with smooth corners */
  border: 6px solid aqua;              /* aqua frame */
  box-shadow: 0 0 25px rgba(0,171,240,.6);
}

@media (max-width: 950px) {
  .hero {
    flex-direction: column;
    padding: 40px 3%;
  }

  .hero-text {
    padding-right: 0;
    text-align: center;
  }

  .hero-image {
    margin-bottom: 20px;
  }

  /* ✅ Center-align button and socials on mobile */
  .btn-primary {
    display: block;
    margin: 0 auto 20px auto;  /* center + space below */
  }

  .socials {
    margin-top: 10px;
    text-align: center;
  }
}


/* ===========================
   About Section
=========================== */
.about {
  padding: 80px 8%;
  background-color: #f5f5f5;  /* light background to contrast hero/navbar */
  color: #1D232C;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-image img {
  width: 320px;
  height: 320px;
  border-radius: 10px;   /* 0 = square corners */
  object-fit: cover;
  border: 6px solid #1D232C;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}


.about-image img:hover {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #1D232C;
  position: relative;
}

.about-text h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: aqua;
  left: 0;
  bottom: -8px;
  border-radius: 2px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

.about-text .btn-primary {
  padding: 12px 32px;
  background: aqua;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 15px;
  display: inline-block;
  transition: background .2s;
}

.about-text .btn-primary:hover {
  background: #088ed2;
}

/* Responsive Design */
@media (max-width: 950px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ===========================
   Education Table (About Page)
=========================== */
.education {
  margin-top: 30px;
}

.education h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1D232C;
  position: relative;
}

.education h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: aqua;
  left: 0;
  bottom: -6px;
  border-radius: 2px;
}

.education table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  margin-top: 10px;
}

.education th,
.education td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
  color: #333;
}

.education th {
  background-color: #1D232C;
  color: #fff;
}

.education tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Responsive Table */
@media (max-width: 768px) {
  .education table,
  .education thead,
  .education tbody,
  .education th,
  .education td,
  .education tr {
    display: block;
    width: 100%;
  }
  .education thead {
    display: none;
  }
  .education tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 10px;
  }
  .education td {
    text-align: right;
    position: relative;
    padding-left: 50%;
  }
  .education td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    width: 45%;
    padding-right: 10px;
    font-weight: bold;
    text-align: left;
  }
}
/* ===========================
   Extra Sections: Achievements, Goals, Hobbies
=========================== */
.achievements,
.future-goals,
.hobbies {
  margin-top: 30px;
}

.achievements h3,
.future-goals h3,
.hobbies h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1D232C;
  position: relative;
}

.achievements h3::after,
.future-goals h3::after,
.hobbies h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: aqua;
  left: 0;
  bottom: -6px;
  border-radius: 2px;
}

.achievements ul,
.future-goals ul,
.hobbies ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.achievements ul li,
.future-goals ul li,
.hobbies ul li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #333;
}

/* Responsive text alignment */
@media (max-width: 950px) {
  .achievements,
  .future-goals,
  .hobbies {
    text-align: center;
  }
  .achievements ul,
  .future-goals ul,
  .hobbies ul {
    padding-left: 0;
    list-style: none;
  }
}



/* ===========================
   Skills Section
=========================== */
.skills {
  padding: 80px 8%;
  background-color: #1D232C; /* matches navbar theme */
  color: white;
  text-align: center;
}

.skills h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: aqua;
  position: relative;
}

.skills h2::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: aqua;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.skill-card {
  background: #2c3440;
  padding: 30px 20px;
  border-radius: 12px;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.skill-card:hover {
  transform: translateY(-8px);
  background: #353d4b;
}

.skill-icon {
  font-size: 2.5rem;
  color: aqua;
  margin-bottom: 15px;
}

.skill-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ddd;
}
/* ===========================
   Soft Skills Section
=========================== */
.soft-skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.soft-skill-card {
  background: #2c3440; /* same as skill cards */
  padding: 30px 20px;
  border-radius: 12px;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: center;
}

.soft-skill-card:hover {
  transform: translateY(-8px);
  background: #353d4b;
}

.soft-skill-card .skill-icon {
  font-size: 2.5rem;
  color: aqua;
  margin-bottom: 15px;
}

.soft-skill-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: white;
}

.soft-skill-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ddd;
}


/* ===========================
   Experience Section
=========================== */
.experience {
  padding: 80px 8%;
  background-color: #f5f5f5;
  color: #1D232C;
}

.experience h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #1D232C;
  position: relative;
}

.experience h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background: aqua;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding: 10px 0;
  max-width: 800px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #1D232C;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 40px 0;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: -10px;
  width: 20px;
  height: 20px;
  background: aqua;
  border-radius: 50%;
  border: 3px solid #1D232C;
  z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
}

.timeline-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  position: relative;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #1D232C;
}

.timeline-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
  display: block;
}

.timeline-content p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    margin: 30px 0;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-dot {
    left: 0;
  }
}

/* ===========================
   Contact Section
=========================== */
.contact {
  padding: 80px 8%;
  background: #1D232C;
  color: white;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
}

.contact h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background: aqua;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
}

.contact-subtitle {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #ccc;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* Contact Form */
.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid aqua;
}

.contact-form .btn {
  background: aqua;
  color: #1D232C;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form .btn:hover {
  background: #00cccc;
}

/* Contact Info */
.contact-info {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
}

.contact-info i {
  color: aqua;
  margin-right: 10px;
}

/* Social Links */
.social-links {
  margin-top: 20px;
  
}

.social-links a {
  margin-right: 15px;
  font-size: 1.5rem;
  color: aqua;
  transition: 0.3s;
  
}

.social-links a:hover {
  color: white;

}

footer {
  background-color: #1D232C; /* match navbar theme */
  color: white;
  padding: 20px 0;
  text-align: center;   /* centers text & icons */
  margin-top: 1px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a i {
  font-size: 24px;
  margin: 0 10px;
  color: aqua;
  transition: color 0.3s, transform 0.3s;
}

.footer-socials a i:hover {
  color: white;
  transform: scale(1.2);
}

.footer{
  margin-top: 0;
  padding-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .contact-info {
    text-align: center;
  }
}

