/* ====== Base Reset ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Sora', 'Roboto', sans-serif;
  background-color: #1e1e1e;
  color: #fafafa;
  line-height: 1.6;
}

/* ====== Container ====== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

/* ====== Header ====== */
.header {
  background-color: #1e1e1e;
  padding: 1rem 0;
  
  
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.logo {
  font-size: 40px;
  font-weight: bold;
  color: #fafafa; /* Edit your brand color */
  
}
/* === Navigation Links with Hover + Active Underline === */
.nav-link {
  position: relative;
  padding: 0.5rem;
  text-decoration: none;
  color: #333; /* <-- Change to your preferred text color */
  font-weight: 500;
}

/* Hover underline effect */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #4ade80; /* <-- Change to your brand color */
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Keeps underline on the active page */
.nav-link.active::after {
  width: 100%;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #4ADE80;
  font-weight: 500;
}

/* ====== Section Title & Intro ====== */
.section-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.intro-text {
  font-size: 18px;
  margin-bottom: 2rem;
  color: #fafafa;
}

/* ====== Contact Info ====== */
.contact-info {
  margin-bottom: 2rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 16px;
  color: #fafafa;
}
.contact-card {
  width: 400px;
  height: 140px;
  background-color: rgba(0, 0, 0, 0.4); /* 40% black */
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}


/* ====== Contact Form ====== */
/* Place the form on the far right */
.contact-form-container {
  max-width: 600px;
  margin-left: auto;           /* aligns to the right */
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.4); /* 40% black */
  border-radius: 16px;
  transform: translateY(-140px); /* moves it upward */
}


/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Horizontal rows */
.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Each field wrapper */
.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Full-width textarea */
.input-group.full-width {
  width: 100%;
}

/* Input styling */
.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #2a2a2a;
  color: #fafafa;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.contact-form label {
  font-size: 15px;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4ade80;
  outline: none;
}


/* ====== Button Style (Same as Projects, Homepage) ====== */
.custom-btn {
  display: inline-block;
  background-color: #4ade80;
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: 2px solid #4ade80;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 240px;
  height: 40px;
  text-align: center;
  line-height: 1;
}

.custom-btn:hover {
  background-color: transparent;
  color: white;
  border: 2px solid #4ade80;
}
.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 15px;
  display: none;
  transition: all 0.3s ease;
}

.form-status.success {
  background-color: #4ade80;
  color: #000;
  display: block;
}

.form-status.error {
  background-color: #f87171;
  color: #000;
  display: block;
}


/* ====== Footer ====== */
.footer {
  background-color: #101010;
  color: #fafafa;
  padding: 2rem 1rem;
  text-align: center;
  margin-top: -120px;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.footer a {
  color: #4ade80;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.social-links {
  margin-top: 1rem;
}

.social-links img {
  width: 30px;
  height: 30px;
  margin: 0 10px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

.footer p:last-of-type {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ====== Responsive Layout ====== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title,
  .intro-text,
  .contact-info {
    text-align: center;
  }

  .contact-form {
    gap: 1rem;
  }
}
