/* ===== Body ===== */
body {
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #fff;
  margin: 0;
  padding: 0 15px;
}
 
/* ===== Hero Container — GRID based, never shifts ===== */
.container {
  display: grid;
  /* Mobile: single column */
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 30px;
  max-width: 1000px;
  margin: 70px auto 0 auto;
  /* center items on mobile */
  justify-items: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
}
 
@media (min-width: 768px) {
  .container {
    /* Desktop: left col flexible, right col always 310px — LOCKED */
    grid-template-columns: 1fr 310px;
    gap: 50px;
    justify-items: start;
  }
}
 
/* ===== Left Section ===== */
.left {
  width: 100%;
  padding: 10px 0;
  text-align: center;
  box-sizing: border-box;
}
 
@media (min-width: 768px) {
  .left {
    text-align: left;
  }
}
 
/* ===== Typing Heading ===== */
.typing {
  color: white;
  font-size: 28px;
  margin: 0 0 15px 0;
  line-height: 1.3;
  width: 100%;
  box-sizing: border-box;
}
 
@media (min-width: 768px) {
  .typing {
    font-size: 42px;
  }
}
 
/* Only opacity animate — zero layout shift */
.typing-name span {
  opacity: 0;
  display: inline-block;
  will-change: opacity;
  animation: fadeIn 0.3s ease forwards;
}
 
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
 
.typing-name span:nth-child(1)  { animation-delay: 0s; }
.typing-name span:nth-child(2)  { animation-delay: 0.15s; }
.typing-name span:nth-child(3)  { animation-delay: 0.30s; }
.typing-name span:nth-child(4)  { animation-delay: 0.45s; }
.typing-name span:nth-child(5)  { animation-delay: 0.60s; }
.typing-name span:nth-child(6)  { animation-delay: 0.75s; }
.typing-name span:nth-child(7)  { animation-delay: 0.90s; }
.typing-name span:nth-child(8)  { animation-delay: 1.05s; }
.typing-name span:nth-child(9)  { animation-delay: 1.20s; }
.typing-name span:nth-child(10) { animation-delay: 1.35s; }
.typing-name span:nth-child(11) { animation-delay: 1.50s; }
.typing-name span:nth-child(12) { animation-delay: 1.65s; }
.typing-name span:nth-child(13) { animation-delay: 1.80s; }
.typing-name span:nth-child(14) { animation-delay: 1.95s; }
 
.left p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 10px 0;
  width: 100%;
  box-sizing: border-box;
}
 
@media (min-width: 768px) {
  .left p {
    font-size: 17px;
    width: 80%;
  }
}
 
/* ===== Social Icons ===== */
.icon-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}
 
@media (min-width: 768px) {
  .icon-container {
    justify-content: flex-start;
    gap: 20px;
  }
}
 
.icon {
  width: 44px;
  height: 44px;
  background-color: #00d1b2;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: black;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  flex-shrink: 0;
}
 
@media (min-width: 768px) {
  .icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}
 
.icon:hover {
  transform: scale(1.2);
  background-color: white;
  color: black;
}
 

/* ===== Right Section (Profile) ===== */
.right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* important for circles */
  min-height: 250px;
}

.profile-container {
  position: relative;
  width: 200px;
  height: 200px;
}

@media (min-width: 768px) {
  .profile-container {
    width: 250px;
    height: 250px;
  }
}

.profile-container img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  object-fit: cover;
  box-shadow: 0 0 15px 3px rgba(0, 255, 255, 0.8);
  animation: glow 2s infinite alternate;
}

/* ===== Animated Circles ===== */
.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 0, 0.5);
  border-image: linear-gradient(to right, rgba(0, 255, 0, 0.5), gold);
}

.layer1 {
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  animation: rotateClockwise 6s linear infinite;
}

.layer2 {
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  animation: rotateAntiClockwise 8s linear infinite;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateAntiClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes glow {
  from { box-shadow: 0 0 15px 3px rgba(0, 255, 255, 0.8); }
  to   { box-shadow: 0 0 25px 5px rgba(0, 255, 255, 1); }
}





