@import url('https://fonts.googleapis.com/css2?family=Libertinus+Keyboard&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Manufacturing+Consent&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libertinus+Keyboard&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Manufacturing+Consent&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libertinus+Keyboard&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Manufacturing+Consent&family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');


/* ------- Reset & base ------- */
* {
  box-sizing: border-box;
}


body {
  margin: 0;
  padding: 0;
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background: gainsboro;
  color: #0c1022;
  overflow-x: hidden;
  /* 🔒 no horizontal scroll */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* center children (header/main/footer containers) */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* A centered content container */
.container,
.section {
  width: 100%;
  max-width: 1200px;
  /* center width */
  margin: 0 auto;
  padding: 0 16px;
}

/* ------- Header ------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #e5e7eb;
  width: 100%;
  border-bottom: 1px solid #d1d5db;
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.logo .brand {
  font-weight: 800;
  color: #0c1022;
  text-decoration: none;
  font-family: "Manufacturing Consent", system-ui;
  font-weight: 400;
  font-style: normal;
}

/* desktop menu */
.menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  color: #0c1022;
  text-decoration: none;
  font-weight: 600;
  animation: slideTop 1s ease forwards;
  animation-delay: calc(.2s * var(--i));
}

.menu a:hover,
.menu a.active {
  background: linear-gradient(45deg, #f06, #3cf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* burger (hidden on desktop) */
.menu-icon {
  display: none;
  width: 44px;
  height: 44px;
  font-size: 24px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #0c1022;
  cursor: pointer;
}

/* ------- Drawer ------- */
.drawer {
  position: fixed;
  top: 0;
  right: -280px;
  /* hidden off-screen right */
  width: 280px;
  height: 100%;
  background: #16a34a;
  /* green */
  color: white;
  transition: right .3s ease;
  z-index: 2000;
  padding: 64px 16px 16px;
}

.drawer.open {
  right: 0;
}

.drawer .close-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer a {
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 8px;
  display: block;
}

.drawer a:hover {
  background: rgba(255, 255, 255, .15);
}

/* ------- Home / hero ------- */
.section {
  padding: 80px 16px;
}

.home .top {
  display: flex;
  justify-content: center;
}

.home .top h1 {
  margin: 24px 0;
  font-size: 60px;
  letter-spacing: 15px;
  opacity: 0;
  animation: slideLeft 2s ease forwards;
  animation-delay: .5s;
  font-family: "Libertinus Keyboard", system-ui;
  font-weight: 400;
  font-style: normal;
}

.home-socials {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-bottom: 24px;
}

.home-socials a {
  position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #f06, #3cf);
    border-radius: 50%;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    margin: 20px 0;
    z-index: 1;
}
.home-sic a:nth-child(1) {
    opacity: 0;
    animation: slideBottom 2s ease forwards;
    animation-delay: .2.1s;
}

.home-sic a:nth-child(2) {
    opacity: 0;
    animation: slideRight 2s ease forwards;
    animation-delay: .2.1s;
}
.home-sic a:nth-child(3) {
    opacity: 0;
    animation: slideTop 2s ease forwards;
    animation-delay: .2.1s;
}

.home-sic a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0c1022;
    border-radius: 50%;
    transform: scale(.88);
    z-index: -1;
    transition: .5s ease;
}
.home-sic a:hover::after {
    filter: blur(5px);
}
.home-sic a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f06, #3cf);
    border-radius: 50%;
    
    z-index: -1;
    transition: .5s ease;
}

.home-sic a:hover:after {
    transform: scale(0);
}


/* about-me hero row/column */
.about-me {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.home-content {
  flex: 1;
  min-width: 260px;
}

.home-content h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.home-content p {
  line-height: 1.6;
  margin-bottom: 16px;
  font-family: "Old Standard TT", serif;
  font-weight: 400;
  font-style: normal;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(45deg, #f06, #3cf);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.home-img {
  flex: 0 0 380px;
  height: 380px;
  display: grid;
  place-items: center;
  opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 3s ease-in-out infinite;
    animation-delay: .3s 3.1s;
}

.glowing-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(#3cf, #f06);
  display: grid;
  place-items: center;
  position: relative;
}

.glowing-circle .image {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  overflow: hidden;
  background: #0c1022;
}

.glowing-circle .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------- About ------- */
.about-section {
  background: gainsboro;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 24px;
}

.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.about-text {
  flex: 1;
  min-width: 320px;
}

.about-image {
  width: 410px;
  height: 410px;
  display: grid;
  place-items: center;
}

.img-box {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(#3cf, #f06);
  display: grid;
  place-items: center;
  position: relative;
}

.img-item {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  overflow: hidden;
  background: #0c1022;
}

.img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------- Skills / Cards ------- */
.skills-section {
  background: gainsboro;
  text-align: center;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.skill-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 300px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.skill-icon {
  display: inline-block;
  background: #e5e5ff;
  color: #5a3ee2;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tags span {
  background: #e5e5ff;
  color: #5a3ee2;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .85rem;
}

/* ------- Portfolio ------- */
.portfolio-section {
  text-align: center;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 12px;
  width: 300px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

.card-header {
  padding: 30px 0;
  display: grid;
  place-items: center;
}

.icon {
  font-size: 2rem;
  color: #fff;
}

.icon-bg1 {
  background: #c7d2fe;
}

.icon-bg2 {
  background: #e9d5ff;
}

.icon-bg3 {
  background: #bfdbfe;
}

.card-body {
  padding: 20px;
  text-align: left;
}

.tags {
  margin: 10px 0;
}

.tags span {
  background: #e5e7eb;
  padding: 4px 8px;
  border-radius: 6px;
  margin-right: 6px;
  font-size: .8rem;
  display: inline-block;
}

.view-link {
  color: #6366f1;
  text-decoration: none;
}

/* ------- Contact ------- */
.contact-section {
  text-align: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  background: #f4f6f8;
  padding: 24px;
  border-radius: 12px;
  text-align: left;
}

.contact-form {
  flex: 2;
  min-width: 300px;
  text-align: left;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
}

button[type="submit"] {
  background: #6366f1;
  color: #fff;
  padding: 12px 20px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: #4f46e5;
}

/* ------- Footer ------- */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  width: 100%;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding: 40px 16px;
}

.footer-section {
  flex: 1;
  min-width: 240px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-section a:hover {
  color: #c7d2fe;
}

.footer-socials a {
  margin-right: 10px;
  color: #cbd5e1;
}

.footer-bottom {
  text-align: center;
  padding: 16px;
  border-top: 1px solid #1e293b;
}

/* ------- Responsive ------- */
@media (max-width: 1084px) {
  .menu {
    display: none;
  }

  /* hide desktop nav */
  .menu-icon {
    display: flex;
  }

  /* show burger */
}

@media (max-width: 768px) {
  .about-me {
    flex-direction: column;
    text-align: center;
  }

  .home-img {
    flex: 0 0 320px;
    height: 320px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-container {
    flex-direction: column;
  }
}

@keyframes slideTop {
    0%{
    opacity: 0;
    transform: translateY(100px);
    }
    100%{
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes slideLeft {
    0%{
        opacity: 0;
        transform: translateX(100px);
    }
    100%{
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes zoomIn {
    0%{
        opacity: 0;
        transform: scale(0);
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes floatImage {
    0%{
        transform: translateY(0);

    }
    50%{
        transform: translateY(-24px);

    }
    100%{
        transform: translateY(0);

    }
}