* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins";
}
html {
  scroll-behavior: smooth;
  font-size: 60%;
  overflow-x: hidden;
}
:root {
  --bg-color: #080808;
  --second-bg-color: #001005;
  --text-color: #FFFFFF;
  --main-color: #00ff51;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1.7rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--text-color);
  margin-bottom: 1.2rem;
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 4rem 12%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--main-color);
  display: none;
}

.logo {
  font-size: 3rem;
  color: var(--text-color);
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
  animation: slideRight 1s ease forwards;
}
.logo:hover {
  transform: scale(1.1);
}

span {
  color: var(--main-color);
}

.navbar a {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-left: 4rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: 0.5s ease;
  font-family: 'Montserrat', Arial, sans-serif;
}
.navbar a:hover {
  border-bottom: 3px solid var(--main-color);
  color: var(--main-color);
}

section {
  min-height: 100vh;
  padding: 10rem 12%;
}

/* HOME */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15rem;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.home-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  background: rgba(255,255,255,0.10);
  border-radius: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.18);
  padding: 4rem 5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}
.home-content h1 {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.03em;
}
.home-content h3 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--main-color);
  margin: 1rem 0 2rem 0;
  letter-spacing: 0.02em;
}
.home-content p {
  font-size: 1.7rem;
  font-weight: 400;
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.home-img img {
  width: 32vw;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.3s ease-in-out;
}
.home-img img:hover {
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color),
              0 0 100px var(--main-color);
}

.social-icons a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  padding: 1rem;
  background: transparent;
  border: 2px solid var(--main-color);
  border-radius: 50%;
  color: var(--main-color);
  margin: 3rem 0.5rem;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s, background-color 0.4s, color 0.4s;
  overflow: visible;
  z-index: 1;
}
.social-icons a::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  z-index: -1;
  background: conic-gradient(var(--main-color), #00ffd0, var(--main-color), #00ffd0, var(--main-color));
  opacity: 0;
  transition: opacity 0.4s;
  filter: blur(4px);
  animation: border-spin 2s linear infinite;
}
.social-icons a:hover::before {
  opacity: 1;
}
.social-icons a:hover {
  color: #222;
  background-color: var(--main-color);
  transform: scale(1.25) translateY(-8px) rotate(-8deg);
  box-shadow: 0 8px 32px 0 var(--main-color), 0 0 32px 8px #00ffd0;
  animation: pop 0.4s, pulse 1.2s infinite alternate;
}
.social-icons a i {
  transition: color 0.4s;
}
.social-icons a:hover i {
  color: #222;
  animation: icon-bounce 0.6s;
}
@keyframes pop {
  0% { transform: scale(1) translateY(0) rotate(0deg); }
  60% { transform: scale(1.3) translateY(-12px) rotate(-12deg); }
  100% { transform: scale(1.25) translateY(-8px) rotate(-8deg); }
}
@keyframes border-spin {
  100% { transform: rotate(360deg); }
}
@keyframes pulse {
  0% { box-shadow: 0 8px 32px 0 var(--main-color), 0 0 32px 8px #00ffd0; }
  100% { box-shadow: 0 8px 48px 0 var(--main-color), 0 0 48px 16px #00ffd0; }
}
@keyframes icon-bounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  60% { transform: translateY(4px); }
  100% { transform: translateY(0); }
}

.btn-group {
  display: flex;
  gap: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--main-color);
  border-radius: 3rem;
  font-size: 1.8rem;
  color: black;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color);
}
.btn-group a:nth-of-type(2) {
  background-color: black;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover {
  box-shadow: 0 0 25px var(--main-color);
  background-color: var(--main-color);
  color: black;
}

/* ABOUT SECTION */
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12rem;
  background-color: var(--second-bg-color);
}
.about-img img {
  width: 32vw;
  border-radius: 50%;
  box-shadow: 0 0 25px var(--main-color);
  transition: 0.4s ease-in-out;
}
.about-img img:hover {
  box-shadow: 0 0 25px var(--main-color),
              0 0 50px var(--main-color),
              0 0 100px var(--main-color);
}
.about-content h2 {
  font-size: 4rem;
  font-weight: 900;
  color: var(--text-color); /* White for "About Me" */
  margin-bottom: 2rem;
}
.about-content p, .services-info p, .contact form, .contact p {
  font-size: 1.6rem;
  color: #e0e0e0;
  line-height: 1.7;
  font-family: 'Inter', Arial, sans-serif;
}
.about-content .btn {
  margin: 3rem 0;
}

::-webkit-scrollbar {
  width: 20px;
}
::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
}
::-webkit-scrollbar-track {
  background-color: var(--bg-color);
}

/* SERVICES */
.heading {
  text-align: center;
  font-size: 15rem;
  margin: 5rem 0;
}
.services {
  background-color: var(--bg-color);
}
.services h2 {
  color: var(--text-color); /* White for "Services" */
}
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 2.5rem;
}
.services-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--main-color);
  height: 600px;
  border-radius: 3rem;
  cursor: pointer;
  border: 5px solid transparent;
  transition: 0.4s ease-in-out;
}
.services-box:hover {
  background-color: var(--second-bg-color);
  color: var(--main-color);
  border: 5px solid var(--main-color);
  transform: scale(1.03);
}
.services-info {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding: 5rem;
}
.services-info i, .services-info svg {
  font-size: 10rem !important; /* Increased from 7rem */
  width: 10rem !important;    /* Increased from 7rem */
  height: 10rem !important;   /* Increased from 7rem */
  margin-bottom: 1rem;
  color: black;
  transition: color 0.4s ease-in-out;
}
.services-box:hover i, .services-box:hover svg {
  color: var(--main-color);
}
.services h2 {
  font-size: 4rem;
}
.services-info h4 {
  font-size: 4rem;
  margin: 2rem 0;
  font-weight: 800;
  color: black;
  transition: color 0.4s ease-in-out;
  min-height: 5rem; /* Added to align headers, based on "Google Colab" height */
}
.services-info h5 {
  font-size: 3rem;
  margin: 2rem 0;
  font-weight: 800;
  color: black;
  transition: color 0.4s ease-in-out;
  min-height: 5rem; /* Added to align headers, based on "Google Colab" height */
}
.services-box:hover h4,.services-box:hover h5 {
  color: var(--main-color);
}
.services-info p {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.7;
  color: black;
  transition: color 0.4s ease-in-out;
}
.services-box:hover p {
  color: var(--main-color);
}

#devops {
  width: 16vw;
}

/* CONTACT */
.contact {
  background-color: var(--second-bg-color);
}
.contact h2 {
  font-size: 4rem;
  font-weight: 900;
  color: var(--text-color); /* White for "Contact Me" */
  margin-bottom: 3rem;
}
.contact form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 5rem 0;
  text-align: center;
}
.contact form .input-box input,
.contact form textarea {
  width: 100%;
  padding: 2.5rem;
  font-size: 2.5rem;
  color: var(--text-color);
  background-color: var(--bg-color);
  border-radius: 1.5rem;
  border: 2px solid var(--main-color);
  margin: 1.5rem 0;
  resize: none;
}
.contact form .input-box input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
}

/* FOOTER */
.footer {
  background-color: var(--bg-color);
  padding: 50px 0;
}
.footer .social-icons {
  text-align: center;
}
.footer ul {
  text-align: center;
  font-size: 1.8rem;
}
.footer ul li {
  display: inline-block;
  margin-left: 20px;
}
.footer ul li a {
  color: white;
  border-bottom: 3px solid transparent;
  transition: 0.3s ease-in-out;
}
.footer ul li a:hover {
  border-bottom: 3px solid var(--main-color);
}
.footer .copyright {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
}

/* RESPONSIVENESS */
@media(max-width:1024px) {
  #menu-icon {
    display: block;
  }
  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    width: 40%;
    padding: 2rem 1.5rem 2rem 2.5rem;
    background: rgba(0, 0, 0, 0.85);
    border-left: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    border-bottom-left-radius: 2rem;
    display: none;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);
    z-index: 200;
  }
  .navbar.active {
    display: flex;
  }
  .navbar a {
    display: block;
    font-size: 2.2rem;
    margin: 1.5rem 0;
    color: var(--text-color);
    text-align: left;
    padding: 1rem 0 1rem 0.5rem;
    border-radius: 1rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
  }
  .navbar a:hover {
    background: var(--main-color);
    color: #222;
    transform: translateX(-8px) scale(1.08);
  }
  .home {
    flex-direction: column-reverse;
    margin: 5rem 0;
    gap: 5rem;
  }
  .home-content {
    align-items: center;
    text-align: center;
  }
  .home-img img {
    width: 52vw;
  }
  .about {
    flex-direction: column-reverse;
    text-align: center;
  }
  .about h2 {
    text-align: center;
    margin: 2rem 0;
  }
  .about img {
    width: 52vw;
  }
  .contact form {
    flex-direction: column;
  }
}

/* KEYFRAMES ANIMATION */
@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}