/* =========================
   Global Styles
========================= */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0b0c10;
  color: #ffffff;
  scroll-behavior: smooth;
}

/* =========================
   Header / Navbar
========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1f2833;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  margin: 0;
  font-size: 24px;
  color: #66fcf1;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #c5c6c7;
  transition: color 0.3s;
}

nav a:hover {
  color: #66fcf1;
}

/* =========================
   Intro Section
========================= */
.profile-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  gap: 50px;
}

.profile-image {
  flex: 0 1 300px;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  border: 5px solid #66fcf1;
  border-radius: 50%;
  padding: 5px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.image-wrapper:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(102, 252, 241, 0.6);
}

.image-wrapper::before,
.image-wrapper::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background-color: rgba(102, 252, 241, 0.08);
  animation: pulse 2.5s infinite;
  z-index: 0;
}

.image-wrapper::before {
  width: 115%;
  height: 115%;
  top: -7.5%;
  left: -7.5%;
}

.image-wrapper::after {
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  animation-delay: 1s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.profile-section img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.profile-text {
  flex: 1;
  max-width: 500px;
  text-align: left;
  padding: 20px;
}

.profile-text h2 {
  font-size: 32px;
  color: #66fcf1;
  font-weight: 600;
  margin: 0;
}

.typed-description {
  font-size: 18px;
  font-weight: bold;
  color: #66fcf1;
  margin-top: 12px;
  min-height: 24px;
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out 2.7s forwards;
}

.short-intro {
  font-size: 16px;
  color: #c5c6c7;
  margin-top: 15px;
  line-height: 1.6;
  animation: slideText 4s ease-in-out infinite;
}

.highlight-name {
  color: #66fcf1;     
  font-weight: 600;
}


@keyframes typing {
  from { width: 0ch; }
  to { width: 16ch; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #45a29e; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideText {
  0% { opacity: 0; transform: translateY(-10px); }
  50% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* =========================
   Action Buttons
========================= */
.buttons {
  margin-top: 25px;
  display: flex;
  gap: 20px;
}

.buttons a {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  background-color: #66fcf1;
  color: #0b0c10;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.buttons a.github:hover,
.buttons a.resume:hover {
  background-color: white;
  color: black;
}

.buttons a.linkedin {
  background-color: #66fcf1;
  color: black;
}

.buttons a.linkedin:hover {
  background-color: #005983;
  color: white;
}

/* =========================
   Shared Section Styles
========================= */
.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.section-title {
  font-size: 2rem;
  color: #66fcf1;
  text-align: center;
  margin-bottom: 30px;
}

.section-intro {
  font-size: 1rem;
  color: #c5c6c7;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.highlight {
  color: #66fcf1;
  font-weight: bold;
}

.highlight-text {
  background: linear-gradient(90deg, #66fcf1, #45a29e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* =========================
   About Section
========================= */
.about-content p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #c5c6c7;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.about-box {
  background-color: #1f2833;
  padding: 15px;
  border: 1px solid #45a29e;
  border-radius: 10px;
  font-weight: 600;
  color: #66fcf1;
  text-align: center;
}

/* =========================
   Services Section
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: #1f2833;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #45a29e;
  color: #ffffff;
}

.service-card h3 {
  margin-top: 0;
  color: #66fcf1;
  font-size: 1.2rem;
}

.service-card p {
  margin-top: 10px;
  color: #c5c6c7;
}

/* =========================
   Projects Section
========================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  background-color: #1f2833;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #45a29e;
  text-decoration: none;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.project-card:hover {
  background-color: #0b0c10;
}

.project-card h3 {
  color: #66fcf1;
  font-size: 1.2rem;
}

.project-card p {
  color: #c5c6c7;
  margin-top: 10px;
  line-height: 1.5;
}

/* =========================
   Contact Section
========================= */
.contact-section {
  text-align: center;
  padding: 60px 20px;
}

.contact-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #c5c6c7;
  font-size: 16px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  border: none;
  background: #c5c6c7;
  color: #0b0c10;
  font-size: 15px;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background-color: #66fcf1;
  color: #0b0c10;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #45a29e;
}

/* =========================
   Footer Section
========================= */
.footer-container {
  background-color: #1f2833;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a img {
  width: 24px;
  margin: 0 8px;
}
