/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Fira+Code&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --font-primary: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: "Inter", sans-serif;
  --font-tech: "Fira Code", monospace;
  --font-mono: "Fira Code", monospace;
}

body {
  font-family: var(--font-secondary);
  background: #ffffff;
  color: #333333;
  line-height: 1.6;
} /* Header/Navigation */
header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  color: #333333;
  padding: 20px 0;
  text-align: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

header ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transition: max-height 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  margin-right: 1rem;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  background: #1e3a8a;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  header ul {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100vw;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    max-height: 0;
    overflow: hidden;
    gap: 0;
    padding: 0;
    z-index: 1000;
    transition: max-height 0.3s ease;
  }
  header ul.nav-open {
    max-height: 400px;
    padding: 1rem 0;
    gap: 1.5rem;
    overflow: visible;
  }
  .nav-container {
    justify-content: flex-end;
  }
  .hamburger {
    display: flex;
  }
}

header li {
  position: relative;
}

header a {
  font-family: var(--font-secondary);
  /* Headings use Saira font */
  /* Headings use Saira font */
  /* Headings use DM Sans font */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-primary);
  }
}
header a {
  color: #333333;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 10px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
header a:hover {
  color: #1e3a8a;
}

header a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #1e3a8a;
  transition: width 0.3s ease;
}

header a:hover::before {
  width: 100%;
}

/* Profile/Hero Section */
.profile {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 8% 0;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-left h4 {
  color: #1e3a8a;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  animation: fadeInUp 0.5s ease forwards;
}

.hero-left h1 {
  color: #1e3a8a;
  font-size: clamp(40px, 8vw, 80px);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.5s ease forwards 0.2s;
  opacity: 0;
}

.hero-left h2 {
  color: #555555;
  font-size: clamp(30px, 6vw, 60px);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.5s ease forwards 0.3s;
  opacity: 0;
}

.hero-left p {
  color: #555555;
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.5s ease forwards 0.4s;
  opacity: 0;
}

.hero-left button {
  background: transparent;
  color: #1e3a8a;
  border: 1px solid #1e3a8a;
  border-radius: 4px;
  padding: 1rem 1.75rem;
  font-size: 0.9rem;
  margin-right: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  animation: fadeInUp 0.5s ease forwards 0.5s;
  opacity: 0;
}

.hero-left button:hover {
  background: rgba(30, 58, 138, 0.1);
  transform: translateY(-3px);
}

.hero-left button a {
  color: #1e3a8a;
  text-decoration: none;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeIn 0.5s ease forwards 0.6s;
  opacity: 0;
}

.hero-right::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  background: linear-gradient(45deg, #1e3a8a, rgba(30, 58, 138, 0.2));
  animation: borderAnimation 8s ease-in-out infinite;
}

.hero-right img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  position: relative;
  z-index: 1;
  animation: borderAnimation 8s ease-in-out infinite;
  transition: all 0.3s ease;
  filter: grayscale(20%);
}

.hero-right img:hover {
  filter: none;
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .hero-right img {
    margin-top: 2rem;
    animation: borderAnimation 8s ease-in-out infinite;
    transition: all 0.3s ease;
  }
}

@keyframes borderAnimation {
  0% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
}

/* Animated Name Styles */
.animated-name {
  background: linear-gradient(-45deg, #1e3a8a, #2563eb, #3b82f6, #1e3a8a);
  background-size: 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 6s ease infinite, float 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* About Section */
.about {
  padding: 80px 5%;
  background-color: rgba(30, 58, 138, 0.02);
}
.about {
  width: 100%;
}

.about > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.about h2 {
  font-size: 2.2rem;
  color: #1e3a8a;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: #1e3a8a;
  bottom: -10px;
  left: 0;
}

.about > p {
  font-size: 1.1rem;
  color: #333;
  max-width: 800px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* Education Section */
.education {
  margin: 3rem auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.08);
  max-width: 800px;
}

.education h3 {
  color: #1e3a8a;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.education h3::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: #1e3a8a;
  bottom: -8px;
  left: 0;
}

.education-item {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid #1e3a8a;
  background: rgba(30, 58, 138, 0.02);
  border-radius: 0 8px 8px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-item:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}

.education-item h4 {
  color: #1e3a8a;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.education-item .institution {
  color: #333;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.education-item .duration {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.education-item .grade {
  color: #1e3a8a;
  font-weight: 500;
  font-size: 0.95rem;
}
.education,
.philosophy {
  max-width: 100%;
  margin: 3rem 0;
  padding: 2rem 5%; /* keeps breathing space on left/right */
}

.philosophy {
  margin-top: 4rem;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
  /* margin-bottom: 3rem; */
}
.philosophy {
  height: 100%;
}

.philosophy h3 {
  color: #1e3a8a;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.philosophy h3::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: #1e3a8a;
  bottom: -8px;
  left: 0;
}

.philosophy > p {
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(30, 58, 138, 0.05);
  border-radius: 8px;
  border-left: 3px solid #1e3a8a;
}
.philosophy ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.philosophy ul li {
  margin: 1rem 0;
  padding-left: 2rem;
  position: relative;
  color: #333;
}

.philosophy ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #1e3a8a;
}

.quality-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.box {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(30, 58, 138, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(30, 58, 138, 0.12);
  border-color: rgba(30, 58, 138, 0.2);
}

.box h4 {
  color: #1e3a8a;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.5rem;
  display: flex;
  align-items: center;
}

.box h4::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #1e3a8a;
  transition: transform 0.3s ease;
}

.box:hover h4::before {
  transform: translateX(3px);
}

.box p {
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .profile {
    padding: 80px 10% 0;
  }

  .about {
    padding: 60px 10%;
  }
}

@media (max-width: 768px) {
  .profile {
    flex-direction: column;
    padding: 120px 5% 0;
    text-align: center;
    min-height: auto;
    gap: 3rem;
  }

  .hero-left {
    order: 2;
  }

  .hero-right {
    order: 1;
  }

  .about {
    padding: 40px 5%;
  }

  .education,
  .philosophy {
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .education-item {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .about h2 {
    font-size: 2rem;
  }

  .philosophy h3 {
    font-size: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-left h1,
  .hero-left h2,
  .hero-left h4,
  .hero-left p,
  .hero-left button,
  .hero-right,
  .box {
    animation: none;
    transition: none;
    transform: none;
  }
}
/* .experience {
  margin-top: 1.5rem;
  padding-top: 2rem; /* keeps inner spacing */
/* } */
/* section {
  margin-top: 2.5rem;
} */
.experience {
  /* margin-top: 2rem; */
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
  margin-bottom: 3rem;
  width: 100%;
}
.experience {
  height: 100%;
}
.experience h2 {
  font-size: 2.2rem;
  color: #1e3a8a;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.experience h3 {
  color: #1e3a8a;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}
.experience h3::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: #1e3a8a;
  bottom: -8px;
  left: 0;
}
.experience h4 {
  color: #1e3a8a;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.experience .experience-item {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 3px solid #1e3a8a;
  background: rgba(30, 58, 138, 0.02);
  border-radius: 0 8px 8px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.experience .experience-item ul {
  margin-top: 0.5rem;
  list-style-type: disc;
  padding-left: 20px;
  color: #333;
}
.experience .experience-item ul li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  color: #333;
}
.experience .experience-item:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
}
.company {
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .experience {
    padding: 1.5rem;
    margin: 2rem 1rem;
  }
  .experience .experience-item {
    padding: 1rem;
  }
  .experience .experience-item ul {
    padding-left: 15px;
  }
  .experience .experience-item ul li {
    padding-left: 0.5rem;
  }
  .experience .experience-item:hover {
    transform: translateY(4px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
  }
  .experience h2 {
    font-size: 2rem;
  }
  .experience h3 {
    font-size: 1.5rem;
  }
  .experience h4 {
    font-size: 1rem;
  }
}
/* .content-box {
  max-width: 100%;
  background: white;
  padding: 2rem;  
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
  margin-bottom: 3rem;
} */
.skills {
  margin: 4rem auto;
  max-width: 1200px;
  padding: 2rem;
  /* text-align: center; */
}

.skills h2 {
  font-size: 2.2rem;
  color: #1e3a8a;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.skills h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: #1e3a8a;
  bottom: -10px;
  left: 0;
}
.skills .skills p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.skill-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.08);
  text-align: left;
}

.skill-box h3 {
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.skill {
  margin-bottom: 1rem;
}

.skill span {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.progress {
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  height: 10px;
}

.progress-bar {
  background: #1e3a8a;
  height: 100%;
  transition: width 0.5s ease;
}
.skill-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
}
.skill-box h3 {
  color: #1e3a8a;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.skill-box h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: #1e3a8a;
  bottom: -6px;
  left: 0;
  transition: width 0.3s ease;
}

.skill-box:hover h3::after {
  width: 70px; /* underline grows on hover */
}

.progress {
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  height: 10px;
  margin-bottom: 1rem;
}

.progress-bar {
  background: #1e3a8a;
  height: 100%;
  width: 0; /* start empty */
  transition: width 1.2s ease-in-out, background 0.3s ease;
}

Animate fill when page loads .skill-box .progress-bar[data-progress] {
  width: attr(data-progress percentage); /* fallback for CSS only */
}

/* Responsive Design for Skills Section */
@media (max-width: 768px) {
  .skills {
    padding: 1.5rem;
  }

  .skill-box {
    padding: 1.5rem;
  }
}
.heading-underline {
  position: relative;
  display: inline-block;
}

.heading-underline::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: #1e3a8a;
  bottom: -6px;
  left: 0;
  transition: width 0.3s ease;
}

.heading-underline:hover::after {
  width: 70px;
}
.projects {
  margin-top: 2rem;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
}
.projects h2 {
  font-size: 2.2rem;
  color: #1e3a8a;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
/* .projects h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: #1e3a8a;
  bottom: -10px;
  left: 0;
} */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.project-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.08);
  overflow: hidden;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
}
.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.project-card h3 {
  color: #1e3a8a;
  margin: 1rem 0 0.5rem;
  text-align: center;
}
.project-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}
.project-card button {
  background: #1e3a8a;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 1rem;
  width: fit-content;
  align-self: center;
}
.project-card button a {
  color: white;
  text-decoration: none;
}
.project-card button:hover {
  background: #2563eb;
}
@media (max-width: 768px) {
  .projects {
    padding: 1.5rem;
  }

  .project-card {
    padding: 1rem;
  }
  .about {
    padding: 60px 5%;
  }
}
.certificates {
  margin: 4rem auto;
  max-width: 1200px;
  padding: 2rem;
}
.certificates h2 {
  font-size: 2.2rem;
  color: #1e3a8a;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.certificates h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: #1e3a8a;
  bottom: -10px;
  left: 0;
}
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.certificate-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.certificate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
}
.certificate-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.certificate-card h3 {
  color: #1e3a8a;
  margin: 1rem;
  text-align: center;
}
.certificate-card p {
  text-align: center;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 1rem 1rem;
}
.certificate-card a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}
.certificate-card button {
  background: #1e3a8a;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin: 1rem auto 1.5rem;
  display: block;
}
.certificate-card button:hover {
  background: #2563eb;
}
@media (max-width: 768px) {
  .certificates {
    padding: 1.5rem;
  }

  .certificate-card {
    padding: 1rem;
  }
}
.contact .heading-underline {
  font-size: 2.2rem;
  color: #1e3a8a;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  margin-left: 3.5rem;
}
.contact-box {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
}
.contact-box {
  height: 100%;
}
.contact-box p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
}
.contact .contact-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1rem;
  justify-content: center;
  text-align: center;
}
.contact .contact-icons a {
  color: #1e3a8a;
  font-size: 2rem;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.contact .contact-icons a:hover {
  color: #2563eb;
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .contact .heading-underline {
    font-size: 1.8rem;
    margin-left: 1rem;
  }
  .contact .contact-icons {
    gap: 1rem;
    padding: 0 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* Beautiful Connect Form Styling */
.connect-form {
  max-width: 75vw;
  margin: 3rem auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
}

.connect-form h2 {
  text-align: center;
  color: #1e3a8a;
  margin-bottom: 1.5rem;
}

.connect-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.connect-form label {
  font-weight: 500;
  color: #1e3a8a;
  margin-bottom: 0.2rem;
  letter-spacing: 0.02em;
}

.connect-form input,
.connect-form textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid #e0e7ef;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-secondary);
  background: #f6f8fa;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 4px rgba(30, 58, 138, 0.04);
}

.connect-form input:focus,
.connect-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px #2563eb22;
  outline: none;
}

.connect-form textarea {
  resize: vertical;
  min-height: 120px;
}

.connect-form button {
  background: linear-gradient(90deg, #1e3a8a 60%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
  transition: background 0.3s, transform 0.2s;
  align-self: center;
}

.connect-form button:hover {
  background: linear-gradient(90deg, #2563eb 60%, #1e3a8a 100%);
  transform: translateY(-2px) scale(1.04);
}
@media screen {
  .connect-form {
    max-width: 90vw;
    padding: 2rem 1.5rem;
  }
  .connect-form h2 {
    font-size: 1.5rem;
  }
}
