* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #07153a;
  color: white;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #1f2c44;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #34b8ff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #34b8ff;
}

.theme-btn {
  background: none;
  border: none;
  color: #f7b733;
  font-size: 20px;
  cursor: pointer;
}

/* Hero section */
.hero-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 80px;
  gap: 60px;
}

.hero-left {
  flex: 1;
  text-align: center;
}

.hero-left h1 {
  font-size: 72px;
  color: #34b8ff;
  margin-bottom: 20px;
  font-weight: 700;
}

.intro-line {
  font-size: 42px;
  font-weight: 700;
  color: #e5e7eb;
}

.changing-text {
  font-size: 64px;
  font-weight: 700;
  color: #e5e7eb;
  min-height: 90px;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f1f5f9;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 25px;
}

.social-icons a {
  color: #34b8ff;
  font-size: 42px;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.1);
  color: #72d0ff;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-right img {
  width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #0b234f;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
}

/* General sections */
.section {
  padding: 80px 40px;
  text-align: center;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #34b8ff;
}

.section p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 18px;
}

/* Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
}

.card {
  background: #1f2c44;
  padding: 22px;
  border-radius: 14px;
  width: 260px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

/* Light theme */
body.light-mode {
  background-color: #f4f8ff;
  color: #0f172a;
}

body.light-mode .navbar {
  background-color: #dbeafe;
}

body.light-mode .nav-links a {
  color: #0f172a;
}

body.light-mode .logo {
  color: #0ea5e9;
}

body.light-mode .hero-left h1,
body.light-mode .section h2 {
  color: #0284c7;
}

body.light-mode .intro-line,
body.light-mode .changing-text,
body.light-mode .hero-description {
  color: #0f172a;
}

body.light-mode .card {
  background: white;
  color: #0f172a;
}

body.light-mode .social-icons a {
  color: #0284c7;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-left h1 {
    font-size: 58px;
  }

  .changing-text {
    font-size: 48px;
  }

  .hero-right img {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero-left h1 {
    font-size: 38px;
  }

  .intro-line {
    font-size: 28px;
  }

  .changing-text {
    font-size: 34px;
    min-height: 60px;
  }

  .hero-description {
    font-size: 16px;
  }

  .social-icons a {
    font-size: 32px;
  }

  .hero-right img {
    width: 240px;
    height: 240px;
  }
}
.about-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  padding: 80px 60px;
  background-color: #07153a;
}

.about-left,
.about-right {
  flex: 1;
}

.about-left {
  display: flex;
  justify-content: center;
}

.about-image {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #0b234f;
  box-shadow: 0 0 30px #14d8ff;
  background: #fff;
}

.about-heading {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #e5e7eb;
}

.about-heading span {
  color: #19d7ff;
}

.about-subtitle {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
}

.about-text {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #f1f5f9;
}

.about-points {
  padding-left: 20px;
  margin-bottom: 30px;
}

.about-points li {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #f8fafc;
}

.about-btn {
  display: inline-block;
  background: #19d7ff;
  color: #000;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 18px;
  transition: 0.3s ease;
}

.about-btn:hover {
  background: #00c8f0;
  transform: translateY(-2px);
}
@media (max-width: 992px) {
  .about-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .about-points {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 30px;
  }

  .about-heading {
    font-size: 48px;
  }

  .about-subtitle {
    font-size: 24px;
  }

  .about-text {
    font-size: 18px;
  }

  .about-image {
    width: 280px;
    height: 280px;
  }
}
.skills-main-section {
  background: #07153a;
  padding: 80px 20px;
}

#skill,
#professional_skill {
  width: 100%;
}

.container1 {
  max-width: 950px;
  margin: 0 auto;
}

.container2 {
  max-width: 1200px;
  margin: 80px auto 0;
}

.heading1 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.bar {
  margin: 20px 0;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.8;
}

.bar i {
  margin-right: 2px;
  font-size: 0.9rem;
  vertical-align: middle;
}

.progress-line {
  position: relative;
  width: 100%;
  height: 24px;
  background: #dddddd;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-line span {
  display: block;
  height: 100%;
  width: var(--width);
  background: #4caf50;
  border-radius: 20px;
}

.progress-line .percentage {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
}

.radial-chart {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}

.circle {
  position: relative;
  width: 150px;
  text-align: center;
}

.circle svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.circle .bg {
  fill: none;
  stroke: #dddddd;
  stroke-width: 10;
}

.circle .progress {
  fill: none;
  stroke: #57c84d;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 345.6;
  stroke-dashoffset: var(--offset);
}

.circle .percentage {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.circle .text {
  margin-top: 10px;
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.4;
}

.exp {
  text-align: center;
  margin-top: 50px;
}

.read1 {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 35px;
  background: #19d7ff;
  color: #00111f;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(25, 215, 255, 0.7);
  transition: 0.3s ease;
}

.read1:hover {
  transform: translateY(-2px);
  background: #06c7ef;
}

@media (max-width: 768px) {
  .heading1 {
    font-size: 1.8rem;
  }

  .bar {
    font-size: 0.98rem;
  }

  .circle {
    width: 140px;
  }

  .circle .text {
    font-size: 0.95rem;
  }

  .read1 {
    font-size: 1rem;
    padding: 14px 24px;
  }
}
.research-section {
  padding: 100px 30px;
  background-color: #07153a;
  text-align: center;
}

.research-title {
  font-size: 60px;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 50px;
}

.research-title span {
  color: #19d7ff;
}

.research-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.research-card {
  width: 31%;
  min-width: 320px;
  background: #1e293b;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.8s ease;
}

.research-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.research-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: #ffd21f;
  line-height: 1.25;
  margin-bottom: 16px;
}

.research-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #f1f5f9;
  margin-bottom: 24px;
}

.research-img {
  width: 100%;
  max-width: 420px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 20px;
  display: block;
  background: #ffffff;
}

.research-card a {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 16px;
  color: #38bdf8;
  text-decoration: underline;
  font-weight: 500;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tags span {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.research-btn {
  margin-top: 50px;
}

.view-all {
  display: inline-block;
  padding: 16px 40px;
  background: #19d7ff;
  color: #00111f;
  border-radius: 35px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(25, 215, 255, 0.75);
  transition: 0.3s ease;
}

.view-all:hover {
  background: #06c7ef;
  transform: translateY(-2px);
}

.hidden-card {
  opacity: 0;
  transform: translateY(50px);
}

.show-card {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .research-card {
    width: 45%;
  }

  .research-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .research-card {
    width: 100%;
  }

  .research-title {
    font-size: 38px;
  }

  .research-card h3 {
    font-size: 22px;
  }

  .research-card p {
    font-size: 16px;
  }

  .research-img {
    height: 220px;
  }
}
.projects-section {
  padding: 100px 6%;
  background: #07153a;
  text-align: center;
}

.projects-title {
  font-size: 56px;
  color: #ffffff;
  margin-bottom: 60px;
  font-weight: 700;
}

.projects-title span {
  color: #19d7ff;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
}

.project-card {
  width: 100%;
  min-height: 280px;
  background: #1e293b;
  padding: 32px 26px;
  border-radius: 18px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(25, 215, 255, 0.25);
}

.project-card h3 {
  color: #facc15;
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 18px;
  font-weight: 700;
}

.project-card h3 i {
  font-size: 24px;
  margin-right: 8px;
}

.project-card p {
  color: #e5e7eb;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 22px;
}

.project-card a {
  color: #38bdf8;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
}

.project-card a:hover {
  text-decoration: underline;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tags span {
  background: #2563eb;
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.projects-btn {
  margin-top: 55px;
}

.view-github {
  display: inline-block;
  background: #19d7ff;
  padding: 16px 36px;
  border-radius: 30px;
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 0 22px rgba(25, 215, 255, 0.75);
  transition: 0.3s ease;
}

.view-github:hover {
  background: #06c7ef;
  transform: translateY(-2px);
}

@media (max-width: 1000px) {
  .projects-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-title {
    font-size: 46px;
  }
}

@media (max-width: 650px) {
  .projects-section {
    padding: 80px 18px;
  }

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

  .projects-title {
    font-size: 38px;
  }

  .project-card {
    min-height: auto;
    padding: 26px 20px;
  }

  .project-card h3 {
    font-size: 22px;
  }

  .project-card p {
    font-size: 16px;
  }
}

.education-section {
  padding: 100px 30px;
  background: #07153a;
}

.education-title {
  text-align: center;
  font-size: 60px;
  font-weight: 700;
  color: #19d7ff;
  margin-bottom: 50px;
}

.education-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 1400px;
  margin: 0 auto;
}

.education-card {
  background: #f8fafc;
  color: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.8s ease;
}

.education-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

.education-header {
  background: #7aa6c2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 30px;
  gap: 20px;
}

.education-header h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.education-header h4 {
  font-size: 22px;
  font-weight: 500;
}

.education-header span {
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}

.education-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  padding: 35px 30px 30px;
  align-items: start;
}

.education-logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.education-logo img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  padding: 12px;
  transition: transform 0.4s ease;
}

.education-card:hover .education-logo img {
  transform: scale(1.06) rotate(2deg);
}

.education-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.education-points li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 26px;
  font-size: 18px;
  line-height: 1.45;
}

.education-points li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: #3b82f6;
  font-size: 18px;
}

.edu-hidden {
  opacity: 0;
  transform: translateY(60px);
}

.edu-show {
  opacity: 1;
  transform: translateY(0);
}

body.light-mode .education-section {
  background: #f4f8ff;
}

body.light-mode .education-title {
  color: #0284c7;
}

@media (max-width: 992px) {
  .education-title {
    font-size: 46px;
  }

  .education-header {
    flex-direction: column;
  }

  .education-header span {
    white-space: normal;
    font-size: 20px;
  }

  .education-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .education-points {
    text-align: left;
  }

  .education-logo img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .education-section {
    padding: 80px 18px;
  }

  .education-title {
    font-size: 36px;
  }

  .education-header h3 {
    font-size: 24px;
  }

  .education-header h4 {
    font-size: 18px;
  }

  .education-header span {
    font-size: 18px;
  }

  .education-points li {
    font-size: 16px;
  }
}
.experience-section {
  padding: 100px 30px;
  background: #07153a;
}

.experience-title {
  text-align: center;
  font-size: 60px;
  font-weight: 700;
  color: #19d7ff;
  margin-bottom: 50px;
}

.experience-container {
  display: flex;
  flex-direction: column;
  gap: 35px;
  max-width: 1400px;
  margin: 0 auto;
}

.experience-card {
  background: #f8fafc;
  color: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.8s ease;
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

.experience-header {
  background: #7aa6c2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 30px;
  gap: 20px;
}

.experience-header h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.experience-header h4 {
  font-size: 22px;
  font-weight: 500;
}

.experience-header span {
  font-size: 22px;
  font-weight: 500;
  white-space: nowrap;
}

.experience-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  padding: 35px 30px 30px;
  align-items: start;
}

.experience-logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.experience-logo img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  padding: 12px;
  transition: transform 0.4s ease;
}

.experience-card:hover .experience-logo img {
  transform: scale(1.06) rotate(2deg);
}

.experience-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-points li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 1.45;
}

.experience-points li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: #3b82f6;
  font-size: 18px;
}

.experience-link {
  text-align: right;
  margin-top: 20px;
}

.visit-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #7aa6c2;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.visit-btn:hover {
  background: #5e93b5;
  transform: translateY(-2px);
}

.exp-hidden {
  opacity: 0;
  transform: translateY(60px);
}

.exp-show {
  opacity: 1;
  transform: translateY(0);
}

body.light-mode .experience-section {
  background: #f4f8ff;
}

body.light-mode .experience-title {
  color: #0284c7;
}

@media (max-width: 992px) {
  .experience-title {
    font-size: 46px;
  }

  .experience-header {
    flex-direction: column;
  }

  .experience-header span {
    white-space: normal;
    font-size: 20px;
  }

  .experience-body {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .experience-points {
    text-align: left;
  }

  .experience-logo img {
    width: 140px;
    height: 140px;
  }

  .experience-link {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .experience-section {
    padding: 80px 18px;
  }

  .experience-title {
    font-size: 36px;
  }

  .experience-header h3 {
    font-size: 24px;
  }

  .experience-header h4 {
    font-size: 18px;
  }

  .experience-header span {
    font-size: 18px;
  }

  .experience-points li {
    font-size: 16px;
  }
}
.contact-section-new {
  padding: 90px 30px 40px;
  background: #07153a;
}

.contact-box {
  max-width: 1500px;
  margin: 0 auto;
  background: #07153a;
  border-radius: 28px;
  padding: 55px 45px;
  box-shadow:
    0 0 35px rgba(0, 200, 255, 0.55),
    0 0 70px rgba(0, 200, 255, 0.2);
  display: grid;
  grid-template-columns: 280px 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-left-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.contact-profile-wrap {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #1f3b63;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(25, 215, 255, 0.18);
}

.contact-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-label {
  font-size: 15px;
  color: #94a3b8;
  margin-bottom: 6px;
  letter-spacing: 0.6px;
}

.contact-email {
  font-size: 22px;
  color: #f8fafc;
  margin-bottom: 30px;
  word-break: break-word;
}

.contact-socials {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 22px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-circle:hover {
  transform: translateY(-3px) scale(1.05);
  opacity: 0.95;
}

.social-circle.linkedin {
  background: #0a66c2;
}

.social-circle.github {
  background: #000000;
}

.social-circle.email {
  background: #2563eb;
}

.contact-middle-panel {
  padding-top: 10px;
}

.contact-main-title {
  font-size: 76px;
  line-height: 1;
  color: #e2e8f0;
  margin-bottom: 14px;
  font-weight: 700;
}

.contact-main-title span {
  color: #19d7ff;
}

.contact-subtitle {
  font-size: 44px;
  color: #19d7ff;
  margin-bottom: 28px;
  font-weight: 700;
}

.contact-description {
  max-width: 420px;
  font-size: 18px;
  line-height: 1.7;
  color: #94a3b8;
}

.contact-form-new {
  width: 100%;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-field {
  margin-bottom: 22px;
}

.contact-field label {
  display: block;
  margin-bottom: 10px;
  color: #cbd5e1;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: none;
  outline: none;
  background: #27324b;
  color: #f8fafc;
  padding: 18px 20px;
  border-radius: 10px;
  font-size: 16px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #a1a1aa;
}

.contact-field textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-send-btn {
  width: 100%;
  border: none;
  outline: none;
  background: #2f89d8;
  color: white;
  padding: 20px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-send-btn:hover {
  background: #2478c2;
  transform: translateY(-2px);
}

.portfolio-footer {
  margin-top: 40px;
  background: #1e293b;
  color: #f8fafc;
  text-align: center;
  padding: 22px 16px;
  font-size: 18px;
}

body.light-mode .contact-section-new {
  background: #f4f8ff;
}

body.light-mode .contact-box {
  background: #f8fbff;
  box-shadow:
    0 0 28px rgba(14, 165, 233, 0.18),
    0 0 55px rgba(14, 165, 233, 0.08);
}

body.light-mode .contact-main-title {
  color: #0f172a;
}

body.light-mode .contact-description,
body.light-mode .contact-label,
body.light-mode .contact-field label {
  color: #475569;
}

body.light-mode .contact-email {
  color: #0f172a;
}

body.light-mode .contact-field input,
body.light-mode .contact-field textarea {
  background: #e2e8f0;
  color: #0f172a;
}

body.light-mode .portfolio-footer {
  background: #dbeafe;
  color: #0f172a;
}

@media (max-width: 1200px) {
  .contact-box {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-left-panel,
  .contact-middle-panel {
    align-items: center;
    text-align: center;
  }

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

@media (max-width: 768px) {
  .contact-section-new {
    padding: 70px 16px 30px;
  }

  .contact-box {
    padding: 30px 20px;
  }

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

  .contact-main-title {
    font-size: 48px;
  }

  .contact-subtitle {
    font-size: 30px;
  }

  .contact-email {
    font-size: 18px;
  }

  .portfolio-footer {
    font-size: 15px;
  }
}
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 21, 58, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-box {
  background: #1e293b;
  color: white;
  padding: 35px;
  border-radius: 18px;
  text-align: center;
  max-width: 420px;
  box-shadow: 0 0 30px rgba(25, 215, 255, 0.7);
  animation: popupScale 0.3s ease;
}

.success-box h3 {
  color: #19d7ff;
  margin-bottom: 12px;
  font-size: 24px;
}

.success-box p {
  color: #e2e8f0;
  margin-bottom: 22px;
}

.success-box button {
  background: #19d7ff;
  color: #00111f;
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
}

@keyframes popupScale {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}