/* ===================== RESET ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #08111f;
  color: #f4f7fb;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}


/* ===================== NAVBAR ===================== */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(5, 13, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(84, 207, 255, 0.08);
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.logo span {
  color: #35c9ff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #dce5ef;
  font-size: 0.97rem;
  font-weight: 600;
  position: relative;
  transition: 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #35c9ff;
  transition: 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #35c9ff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
}


/* ===================== HOME ===================== */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 74px;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 42%, rgba(53, 201, 255, 0.11), transparent 24%),
    radial-gradient(circle at 20% 70%, rgba(19, 100, 170, 0.11), transparent 28%),
    linear-gradient(135deg, #08111f 0%, #0d1b2d 55%, #091421 100%);
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.home-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.home-text {
  animation: fadeUp 0.9s ease both;
}

.hello {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 10px;
  color: #ffffff;
}

.home h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.home h1 span {
  color: #35c9ff;
}

.dynamic-title {
  min-height: 52px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: #9be7ff;
  margin-bottom: 18px;
  font-weight: 700;
}

.cursor {
  display: inline-block;
  color: #35c9ff;
  animation: blink 0.75s infinite;
}

.intro {
  max-width: 660px;
  color: #aebdcb;
  font-size: 1.06rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  min-width: 150px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: #35c9ff;
  color: #04111a;
  box-shadow: 0 0 28px rgba(53, 201, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(53, 201, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #c5d2de;
  border-color: rgba(197, 210, 222, 0.3);
}

.btn-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  color: #7f93a8;
  font-size: 0.92rem;
}

.social-links a {
  transition: color 0.25s ease;
}

.social-links a:hover {
  color: #35c9ff;
}


/* ===================== PROFILE IMAGE ===================== */
.home-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
  animation: fadeIn 1.2s ease both;
}

.image-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(53, 201, 255, 0.13);
  filter: blur(40px);
  animation: pulseGlow 3s ease-in-out infinite;
}

.image-frame {
  width: 390px;
  height: 390px;
  max-width: 88vw;
  max-height: 88vw;
  border-radius: 50%;
  padding: 7px;
  position: relative;
  background: linear-gradient(135deg, #35c9ff, #1488cc, #35c9ff);
  box-shadow:
    0 0 20px rgba(53, 201, 255, 0.5),
    0 0 50px rgba(53, 201, 255, 0.2);
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(53, 201, 255, 0.15);
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 50%;
  border: 5px solid #07111d;
}




/* ===================== ABOUT ===================== */
.about {
  position: relative;
  padding: 110px 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(53, 201, 255, 0.07), transparent 28%),
    radial-gradient(circle at 85% 75%, rgba(20, 136, 204, 0.08), transparent 30%),
    #091421;
  overflow: hidden;
  scroll-margin-top: 74px;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}

.about .container {
  position: relative;
  z-index: 1;
}

/* Section title */
.section-heading {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #35c9ff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 3px;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -1.3px;
}

.section-heading p {
  color: #91a3b5;
  font-size: 1rem;
  line-height: 1.75;
}

/* Two-column layout */
.about-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

/* Story text */
.about-text {
  padding: 10px 0;
}

.about-text p {
  color: #aebdcb;
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-text .about-intro {
  color: #d7e2ec;
  font-size: 1.12rem;
}

.about-text strong {
  color: #35c9ff;
  font-weight: 700;
}

/* Right-side cards */
.about-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  position: relative;
  min-height: 190px;
  padding: 28px 24px;
  border: 1px solid rgba(53, 201, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(18, 36, 57, 0.84),
    rgba(8, 21, 34, 0.92)
  );
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, #35c9ff, transparent);
}

.info-card:hover {
  transform: translateY(-7px);
  border-color: rgba(53, 201, 255, 0.38);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.25),
    0 0 30px rgba(53, 201, 255, 0.08);
}

.info-number {
  display: inline-block;
  margin-bottom: 22px;
  color: rgba(53, 201, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.info-card h3 {
  color: #f4f7fb;
  font-size: 1.08rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.info-card p {
  color: #8fa2b5;
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Make all navbar targets land below the fixed navbar */
section[id] {
  scroll-margin-top: 74px;
}


/* ===================== ABOUT RESPONSIVE ===================== */
@media (max-width: 930px) {
  .about {
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-text {
    text-align: center;
  }

  .about-text p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-info {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .about {
    padding: 74px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading > span {
    font-size: 0.76rem;
    letter-spacing: 2.4px;
  }

  .section-heading p {
    font-size: 0.95rem;
  }

  .about-info {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: auto;
    padding: 24px 21px;
  }

  .about-text p {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .about-text .about-intro {
    font-size: 1.05rem;
  }
}


/* Placeholder sections so navbar links work during development */
.placeholder-section {
  min-height: 10px;
}


/* ===================== ANIMATIONS ===================== */
@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(0.96);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ===================== RESPONSIVE ===================== */
@media (max-width: 930px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: #07111d;
    flex-direction: column;
    gap: 0;
    padding: 14px 0 18px;
    border-bottom: 1px solid rgba(53, 201, 255, 0.12);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 13px;
  }

  .nav-links a::after {
    display: none;
  }

  .home {
    padding: 120px 0 70px;
  }

  .home-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 45px;
  }

  .home-text {
    order: 2;
  }

  .home-image {
    order: 1;
    min-height: auto;
  }

  .intro {
    margin-left: auto;
    margin-right: auto;
  }

  .home-buttons,
  .social-links {
    justify-content: center;
  }

  .image-frame {
    width: 300px;
    height: 300px;
  }

  .image-glow {
    width: 290px;
    height: 290px;
  }
}

@media (max-width: 520px) {
  .navbar {
    min-height: 66px;
  }

  .nav-links {
    top: 66px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .home {
    padding-top: 105px;
  }

  .home h1 {
    letter-spacing: -1px;
  }

  .dynamic-title {
    min-height: 44px;
  }

  .home-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .social-links {
    flex-wrap: wrap;
  }
}
/* ===================== EXPERIENCE ===================== */

.experience {
  position: relative;
  padding: 110px 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(53, 201, 255, 0.06), transparent 28%),
    radial-gradient(circle at 82% 75%, rgba(20, 136, 204, 0.07), transparent 30%),
    #08111f;
  overflow: hidden;
}

.experience .container {
  position: relative;
  z-index: 1;
}


/* ===================== TIMELINE ===================== */

.timeline {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
  padding: 20px 0;
}


/* Center Line */

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(53, 201, 255, 0.2),
    #35c9ff,
    rgba(53, 201, 255, 0.2)
  );
  box-shadow: 0 0 18px rgba(53, 201, 255, 0.22);
}


/* Timeline Item */

.timeline-item {
  position: relative;
  width: 50%;
  padding: 18px 48px;
  margin-bottom: 35px;
}


/* Left Item */

.timeline-item.left {
  left: 0;
  text-align: left;
}


/* Right Item */

.timeline-item.right {
  left: 50%;
  text-align: left;
}


/* Timeline Dot */

.timeline-dot {
  position: absolute;
  top: 42px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #35c9ff;
  border: 4px solid #08111f;
  box-shadow:
    0 0 0 3px rgba(53, 201, 255, 0.18),
    0 0 20px rgba(53, 201, 255, 0.6);
  z-index: 5;
}


/* Dot Position */

.timeline-item.left .timeline-dot {
  right: -9px;
}

.timeline-item.right .timeline-dot {
  left: -9px;
}


/* ===================== TIMELINE CARD ===================== */

.timeline-card {
  position: relative;
  padding: 28px 26px;
  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(18, 36, 57, 0.95),
    rgba(8, 21, 34, 0.96)
  );

  border: 1px solid rgba(53, 201, 255, 0.14);

  box-shadow:
    0 14px 35px rgba(0, 0, 0, 0.22);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}


/* Small Accent Line */

.timeline-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #35c9ff,
    transparent
  );
}


/* Hover */

.timeline-card:hover {
  transform: translateY(-7px);

  border-color: rgba(53, 201, 255, 0.4);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(53, 201, 255, 0.08);
}


/* ===================== TIMELINE TEXT ===================== */

.timeline-type {
  display: inline-block;
  margin-bottom: 15px;

  color: #35c9ff;

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* Ongoing */

.timeline-type.ongoing {
  color: #8fe5ff;
}


/* Education */

.timeline-type.education {
  color: #78d7ff;
}


.timeline-card h3 {
  color: #ffffff;
  font-size: 1.28rem;
  line-height: 1.35;
  margin-bottom: 8px;
}


.timeline-card h4 {
  color: #83dfff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}


.timeline-date {
  color: #9fb0c0;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}


.timeline-description {
  color: #aebdcb;
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 20px;
}


/* ===================== SKILL TAGS ===================== */

.timeline-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 20px;
}


.timeline-skills span {
  padding: 7px 12px;
  border-radius: 999px;

  background: rgba(53, 201, 255, 0.08);

  border: 1px solid rgba(53, 201, 255, 0.16);

  color: #9be7ff;

  font-size: 0.78rem;
  font-weight: 600;
}


/* ===================== CERTIFICATE LINK ===================== */

.certificate-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: #35c9ff;

  font-size: 0.9rem;
  font-weight: 700;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}


.certificate-link:hover {
  color: #9be7ff;
  transform: translateX(4px);
}


/* ===================== EXPERIENCE RESPONSIVE ===================== */

@media (max-width: 930px) {

  .experience {
    padding: 90px 0;
  }

  .timeline {
    max-width: 760px;
  }


  /* Move center line to left */

  .timeline::before {
    left: 22px;
    transform: none;
  }


  /* All cards full width */

  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    width: 100%;
    left: 0;
    padding: 16px 0 16px 62px;
    text-align: left;
  }


  /* Dots on left */

  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 13px;
    right: auto;
  }

}


@media (max-width: 520px) {

  .experience {
    padding: 74px 0;
  }


  .timeline::before {
    left: 16px;
  }


  .timeline-item,
  .timeline-item.left,
  .timeline-item.right {
    padding-left: 48px;
    padding-right: 0;
  }


  .timeline-item.left .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 7px;
  }


  .timeline-card {
    padding: 24px 20px;
  }


  .timeline-card h3 {
    font-size: 1.12rem;
  }


  .timeline-card h4 {
    font-size: 0.92rem;
  }


  .timeline-description {
    font-size: 0.92rem;
  }


  .timeline-skills span {
    font-size: 0.74rem;
    padding: 6px 10px;
  }

}
/* ===================== SKILLS ===================== */

.skills {
  position: relative;
  padding: 110px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(53, 201, 255, 0.06), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(20, 136, 204, 0.07), transparent 30%),
    #091421;
  overflow: hidden;
}

.skills .container {
  position: relative;
  z-index: 1;
}


/* ===================== SKILLS CATEGORY ===================== */

.skills-category {
  margin-top: 55px;
}

.skills-category:first-of-type {
  margin-top: 0;
}

.soft-skills-category {
  margin-top: 75px;
}


/* Category Heading */

.skills-category-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.skills-category-title h3 {
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 700;
}

.skills-category-title span {
  width: 90px;
  height: 2px;
  background: #35c9ff;
  box-shadow: 0 0 12px rgba(53, 201, 255, 0.35);
}


/* ===================== SKILLS GRID ===================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}


/* ===================== SKILL CARD ===================== */

.skill-card {
  min-height: 190px;
  padding: 28px 20px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(18, 36, 57, 0.95),
    rgba(8, 21, 34, 0.96)
  );

  border: 1px solid rgba(53, 201, 255, 0.18);

  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}


/* Hover */

.skill-card:hover {
  transform: translateY(-7px);

  border-color: rgba(53, 201, 255, 0.5);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 30px rgba(53, 201, 255, 0.08);
}


/* ===================== SKILL ICON ===================== */

.skill-icon {
  width: 76px;
  height: 76px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 22px;

  border-radius: 18px;

  background: linear-gradient(
    145deg,
    rgba(53, 201, 255, 0.14),
    rgba(53, 201, 255, 0.05)
  );

  border: 1px solid rgba(53, 201, 255, 0.16);

  color: #35c9ff;

  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;

  box-shadow:
    inset 0 0 18px rgba(53, 201, 255, 0.04);

  transition:
    transform 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}


/* Icon Hover */

.skill-card:hover .skill-icon {
  transform: scale(1.06);

  background: rgba(53, 201, 255, 0.13);

  box-shadow:
    0 0 22px rgba(53, 201, 255, 0.12);
}


/* Skill Name */

.skill-card h4 {
  color: #f3f7fb;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}


/* ===================== SOFT SKILLS ===================== */

.soft-skills-grid {
  grid-template-columns: repeat(3, 1fr);
}

.soft-skill-card {
  min-height: 175px;
}


/* ===================== SKILLS RESPONSIVE ===================== */

@media (max-width: 1100px) {

  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .soft-skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


@media (max-width: 850px) {

  .skills {
    padding: 90px 0;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .soft-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 620px) {

  .skills {
    padding: 74px 0;
  }

  .skills-category {
    margin-top: 42px;
  }

  .soft-skills-category {
    margin-top: 58px;
  }

  .skills-category-title h3 {
    font-size: 1.3rem;
  }

  .skills-category-title span {
    width: 65px;
  }

  .skills-grid,
  .soft-skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .skill-card {
    min-height: 155px;
    padding: 20px 14px;
  }

  .skill-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 16px;
    font-size: 0.86rem;
  }

  .skill-card h4 {
    font-size: 0.9rem;
  }

}


@media (max-width: 420px) {

  .skills-grid,
  .soft-skills-grid {
    grid-template-columns: 1fr 1fr;
  }

  .skill-card {
    min-height: 145px;
  }

}
/* ===================== PROJECTS ===================== */

.projects {
  position: relative;
  padding: 110px 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 201, 255, 0.06), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(20, 136, 204, 0.07), transparent 30%),
    #08111f;
  overflow: hidden;
}

.projects .container {
  position: relative;
  z-index: 1;
}


/* ===================== PROJECTS GRID ===================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}


/* ===================== PROJECT CARD ===================== */

.project-card {
  overflow: hidden;
  border-radius: 20px;

  background: linear-gradient(
    145deg,
    rgba(18, 36, 57, 0.96),
    rgba(8, 21, 34, 0.98)
  );

  border: 1px solid rgba(53, 201, 255, 0.16);

  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.24);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);

  border-color: rgba(53, 201, 255, 0.45);

  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.3),
    0 0 32px rgba(53, 201, 255, 0.08);
}


/* ===================== PROJECT IMAGE ===================== */

.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
  filter: brightness(0.72);
}


/* ===================== IMAGE OVERLAY ===================== */

.project-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(3, 11, 18, 0.5);

  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-view-btn {
  padding: 12px 20px;

  border: 1px solid rgba(53, 201, 255, 0.45);
  border-radius: 999px;

  background: rgba(8, 20, 31, 0.82);
  color: #dff8ff;

  font-size: 0.9rem;
  font-weight: 700;

  cursor: pointer;

  backdrop-filter: blur(8px);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.project-view-btn:hover {
  transform: translateY(-2px);
  background: #35c9ff;
  color: #04111a;
}


/* ===================== PROJECT CONTENT ===================== */

.project-content {
  padding: 25px 24px 26px;
}

.project-type {
  display: inline-block;
  margin-bottom: 11px;

  color: #35c9ff;

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.project-content h3 {
  margin-bottom: 12px;

  color: #ffffff;

  font-size: 1.35rem;
  line-height: 1.3;
}

.project-content > p {
  margin-bottom: 18px;

  color: #aebdcb;

  font-size: 0.95rem;
  line-height: 1.72;
}


/* ===================== PROJECT TECH TAGS ===================== */

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 22px;
}

.project-tech span {
  padding: 7px 11px;

  border-radius: 999px;

  background: rgba(53, 201, 255, 0.08);

  border: 1px solid rgba(53, 201, 255, 0.16);

  color: #9be7ff;

  font-size: 0.76rem;
  font-weight: 600;
}


/* ===================== PROJECT ACTIONS ===================== */

.project-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 17px;

  border-radius: 999px;

  border: 1px solid transparent;

  font-size: 0.86rem;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.project-btn.primary {
  background: #35c9ff;
  color: #04111a;

  box-shadow:
    0 0 24px rgba(53, 201, 255, 0.18);
}

.project-btn.primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 0 30px rgba(53, 201, 255, 0.32);
}

.project-btn.secondary {
  background: transparent;
  color: #c5d2de;

  border-color: rgba(197, 210, 222, 0.22);
}

.project-btn.secondary:hover {
  transform: translateY(-2px);

  color: #35c9ff;

  border-color: rgba(53, 201, 255, 0.38);
}


/* ===================== PROJECT MODAL ===================== */

.project-modal {
  position: fixed;
  inset: 0;

  z-index: 2000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 28px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.project-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* Dark Background */

.project-modal-overlay {
  position: absolute;
  inset: 0;

  background: rgba(2, 8, 14, 0.82);

  backdrop-filter: blur(9px);
}


/* ===================== MODAL CONTENT ===================== */

.project-modal-content {
  position: relative;
  z-index: 2;

  width: min(1050px, 96%);
  max-height: 90vh;

  overflow-y: auto;

  padding: 38px;

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(14, 30, 48, 0.98),
      rgba(6, 17, 28, 0.99)
    );

  border: 1px solid rgba(53, 201, 255, 0.18);

  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(53, 201, 255, 0.05);
}


/* Custom Scrollbar */

.project-modal-content::-webkit-scrollbar {
  width: 8px;
}

.project-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

.project-modal-content::-webkit-scrollbar-thumb {
  background: rgba(53, 201, 255, 0.35);
  border-radius: 999px;
}


/* ===================== MODAL CLOSE BUTTON ===================== */

.project-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(53, 201, 255, 0.18);
  border-radius: 50%;

  background: rgba(53, 201, 255, 0.07);
  color: #ffffff;

  font-size: 1.6rem;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.project-modal-close:hover {
  transform: rotate(90deg);

  background: #35c9ff;
  color: #04111a;
}


/* ===================== MODAL HEADER ===================== */

.project-modal-header {
  padding-right: 55px;
  margin-bottom: 35px;
}

.project-modal-header > span {
  display: inline-block;
  margin-bottom: 10px;

  color: #35c9ff;

  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.project-modal-header h2 {
  margin-bottom: 11px;

  color: #ffffff;

  font-size: clamp(2rem, 4vw, 3rem);
}

.project-modal-header p {
  max-width: 720px;

  color: #95a8ba;

  font-size: 1rem;
  line-height: 1.7;
}


/* ===================== MODAL SECTIONS ===================== */

.project-modal-section {
  margin-top: 32px;
}

.project-modal-section h3 {
  margin-bottom: 15px;

  color: #ffffff;

  font-size: 1.25rem;
}

.project-modal-section > p {
  max-width: 900px;

  color: #aebdcb;

  font-size: 0.98rem;
  line-height: 1.8;
}


/* ===================== PROJECT FEATURES ===================== */

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-features span {
  padding: 9px 14px;

  border-radius: 10px;

  background: rgba(53, 201, 255, 0.07);

  border: 1px solid rgba(53, 201, 255, 0.14);

  color: #bdefff;

  font-size: 0.84rem;
  font-weight: 600;
}


/* Modal Tech */

.modal-tech {
  margin-bottom: 0;
}


/* ===================== PROJECT GALLERY ===================== */

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;

  object-fit: cover;

  display: block;

  border-radius: 14px;

  border: 1px solid rgba(53, 201, 255, 0.12);

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.project-gallery img:hover {
  transform: scale(1.015);

  border-color: rgba(53, 201, 255, 0.35);
}


/* ===================== MODAL FOOTER ===================== */

.project-modal-footer {
  display: flex;
  justify-content: flex-start;

  margin-top: 35px;
  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.06);
}


/* Prevent Body Scroll When Modal Is Open */

body.modal-open {
  overflow: hidden;
}


/* ===================== PROJECTS RESPONSIVE ===================== */

@media (max-width: 1050px) {

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 760px) {

  .projects {
    padding: 90px 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-modal {
    padding: 16px;
  }

  .project-modal-content {
    width: 100%;
    padding: 30px 22px;
  }

  .project-modal-header {
    padding-right: 45px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 520px) {

  .projects {
    padding: 74px 0;
  }

  .project-content {
    padding: 21px 19px 22px;
  }

  .project-actions {
    flex-direction: column;
  }

  .project-btn {
    width: 100%;
  }

  .project-modal {
    padding: 10px;
  }

  .project-modal-content {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .project-modal-close {
    top: 14px;
    right: 14px;

    width: 38px;
    height: 38px;
  }

}
/* ===================== CONTACT ===================== */

.contact {
  position: relative;
  padding: 110px 0;
  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(53, 201, 255, 0.07),
      transparent 30%
    ),
    #091421;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}


/* ===================== CONTACT INFO ===================== */

.contact-info {
  padding-top: 10px;
}

.contact-label {
  display: inline-block;

  margin-bottom: 14px;

  color: #35c9ff;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 1.6px;
}

.contact-info h3 {
  max-width: 450px;

  margin-bottom: 16px;

  color: #ffffff;

  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.25;
}

.contact-info > p {
  max-width: 520px;

  margin-bottom: 35px;

  color: #9babb9;

  font-size: 0.97rem;
  line-height: 1.8;
}


/* Contact Item */

.contact-item {
  display: flex;
  align-items: center;

  gap: 15px;

  margin-bottom: 16px;
  padding: 15px 17px;

  max-width: 480px;

  border: 1px solid rgba(53, 201, 255, 0.1);
  border-radius: 13px;

  background: rgba(255, 255, 255, 0.018);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.contact-item:hover {
  transform: translateX(6px);

  border-color: rgba(53, 201, 255, 0.35);

  background: rgba(53, 201, 255, 0.04);
}

.contact-icon {
  flex-shrink: 0;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  background: rgba(53, 201, 255, 0.1);

  color: #35c9ff;

  font-size: 0.85rem;
  font-weight: 800;
}

.contact-item div:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-item span {
  color: #718699;

  font-size: 0.76rem;
}

.contact-item strong {
  color: #dbe7ef;

  font-size: 0.9rem;
  font-weight: 600;
}


/* ===================== CONTACT FORM ===================== */

.contact-form-container {
  padding: 32px;

  border-radius: 20px;

  border: 1px solid rgba(53, 201, 255, 0.13);

  background:
    linear-gradient(
      145deg,
      rgba(17, 34, 53, 0.92),
      rgba(7, 19, 31, 0.96)
    );

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;

  gap: 20px;
}

.form-row {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.form-group label {
  color: #c9d7e2;

  font-size: 0.83rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;

  padding: 13px 15px;

  outline: none;

  border-radius: 10px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(2, 12, 21, 0.58);

  color: #ffffff;

  font-family: inherit;
  font-size: 0.92rem;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.form-group textarea {
  resize: vertical;

  min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #526779;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(53, 201, 255, 0.55);

  background: rgba(4, 17, 28, 0.8);

  box-shadow:
    0 0 0 3px rgba(53, 201, 255, 0.06);
}


/* Send Button */

.contact-submit {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 14px 20px;

  border: none;
  border-radius: 10px;

  background: #35c9ff;

  color: #04111a;

  font-size: 0.92rem;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-submit span {
  font-size: 1.15rem;

  transition: transform 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 28px rgba(53, 201, 255, 0.22);
}

.contact-submit:hover span {
  transform: translateX(5px);
}


/* ===================== FOOTER ===================== */

.footer {
  padding: 26px 0;

  background: #050d17;

  border-top: 1px solid rgba(53, 201, 255, 0.08);
}

.footer-content {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.footer-logo {
  color: #ffffff;

  font-size: 1.15rem;
  font-weight: 800;
}

.footer-logo span {
  color: #35c9ff;
}

.footer p {
  color: #65798a;

  font-size: 0.8rem;
}


/* ===================== CONTACT RESPONSIVE ===================== */

@media (max-width: 900px) {

  .contact-wrapper {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .contact-item {
    max-width: 100%;
  }

}


@media (max-width: 600px) {

  .contact {
    padding: 80px 0;
  }

  .contact-form-container {
    padding: 23px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;

    text-align: center;
  }

}