/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #1c1c1e;
  color: #e5e5e5;
  line-height: 1.8;
  font-size: 18px;
  scroll-behavior: smooth;
}

/* Accent Color */
:root {
  --accent: #00bfa6; /* teal accent */
  --dark-bg: #2c2c2e;
  --light-bg: #3a3a3c;
  --highlight: #f0c808; /* gold accent */
}

/* Header / Hero */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6rem 15rem;
  background-color: var(--dark-bg);
  flex-wrap: wrap;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.hero-text {
  flex: 1;
  max-width: 700px;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--highlight);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero .btn {
  background-color: var(--accent);
  color: #1c1c1e;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-right: 1rem;
}

.hero .btn:hover {
  background-color: #009e89;
  transform: translateY(-4px);
}

.hero .btn:last-child {
  margin-right: 0;
}

.profile-img {
  width: 250px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
}

/* Navigation */
.navbar {
  background-color: var(--dark-bg);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

.navbar li {
  margin: 0 1.5rem;
}

.navbar a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s, transform 0.3s ease;
}

.navbar a:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* Section Styling */
.section {
  padding: 4rem 3rem;
  max-width: 1100px;
  margin: auto;
}

.section h2 {
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 5px;
}

/* Skills */
.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.skills-list li {
  list-style: none;
  background-color: var(--light-bg);
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  font-size: 1.05rem;
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.cert-card {
  background-color: var(--dark-bg);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 5px solid var(--accent);
  font-size: 1.05rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Projects */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.project-card {
  background-color: var(--dark-bg);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
  font-size: 1.05rem;
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Education */
.education-item {
  margin-bottom: 2rem;
  font-size: 1.05rem;
  padding: 1rem 1.5rem;
  background-color: var(--dark-bg);
  border-radius: 10px;
}

.education-item strong {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Contact */
.contact a {
  color: var(--accent);
  text-decoration: none;
  font-size: 1.05rem;
}
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0056b3;
}
/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: var(--dark-bg);
  color: #aaa;
  font-size: 1rem;
}
.project-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.project-card.side {
  flex: 1 1 48%;
  background: #2c2c2e;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.project-video {
  width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .project-card.side {
    flex: 1 1 100%;
  }
}

/* Adjust mobile prototype video size on small screens */
@media (max-width: 768px) {
  .project-card.side.left .project-video {
    max-height: 400px;
    object-fit: contain;
  }

  .project-card.side.right .project-video {
    max-height: 500px;
    object-fit: contain;
  }

  .project-card.side {
    flex: 1 1 100%;
  }

  .project-row {
    flex-direction: column;
  }
}
.project-video.mobile-prototype {
  max-height: 500px;
}

@media (max-width: 768px) {
  .project-video.mobile-prototype {
    max-height: 300px;
  }
}


/* Responsive */
@media screen and (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 4rem 2rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .profile-img {
    margin-bottom: 2rem;
    width: 200px;
  }

  .navbar ul {
    flex-direction: column;
    padding-top: 1rem;
  }

  .navbar li {
    margin-bottom: 1rem;
  }
}
/* Profile Image Container */
.hero-img {
  display: flex;
  justify-content: center; /* Center the image */
  align-items: center; /* Vertically center the image */
}
.hero-img img {
  width: 320px;
  height: auto;
  border: none;
  border-radius: 50%; /* circular shape */
  box-shadow: none; /* Optional: removes any shadow */
}

.hero-img img:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
}
.highlight {
  color: var(--accent);
}
