/* ---------- Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #e6ebf5;
  line-height: 1.6;
  background-color: #0b1330;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

.section-alt {
  background-color: #0e1839;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
color:  white;
}

/* ---------- Navbar ---------- */
.navbar {
  background-color: #0b1330;
  border-bottom: 1px solid #1e2a52;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo {
  font-size: 1.3rem;
  font-weight: bold;
  color: #4da3ff;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-weight: 500;
  color: #c3cbe0;
}

.nav-links a:hover {
  color: #4da3ff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #e6ebf5;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #0b1330 0%, #142252 100%);
  padding: 100px 0 80px;
  text-align: center;
}
.gradient-text {
  background: linear-gradient(90deg, #7cbafd, #7c5cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 8px;
}

.hero h2 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #4da3ff;
  margin-bottom: 20px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 30px;
  color: #b9c2dc;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background-color: #2f6fed;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1f56c9;
}

.btn-outline {
  border: 2px solid #4da3ff;
  color: #4da3ff;
  background: transparent;
}

.btn-outline:hover {
  background-color: #4da3ff;
  color: #0b1330;
}

/* ---------- About ---------- */

.about-content p {
  max-width: 750px;
  margin: 0 auto 30px;
  color: #c3cbe0;
  text-align: center;
}

.about-details {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.detail-card {
  background-color: #0e1839;
  border: 1px solid #1e2a52;
  border-radius: 8px;
  padding: 20px 24px;
  min-width: 260px;
  flex: 1;
  max-width: 340px;
}

.detail-card h3 {
  color: #4da3ff;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.detail-card a{
    color: #b9c2dc;
    .fa-arrow-right{
      font-size: small;
    }
}
.detail-card li,p {
  color: #b9c2dc;
  font-size: 0.95rem;
}

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.skill-item {
  background-color: #0b1330;
  border: 1px solid #1e2a52;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  font-weight: 500;
  color: #e6ebf5;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.project-card {
  background-color: #0b1330;
  border: 1px solid #1e2a52;
  border-radius: 8px;
  padding: 24px;
}

.project-card h3 {
  margin-bottom: 10px;
  color: #ffffff;
  display: inline;
}

.project-card p {
  color: #b9c2dc;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.tags span {
  display: inline-block;
  background-color: #142252;
  color: #4da3ff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  margin: 0 6px 6px 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-form-card,
.info-card,
.connect-card {
  background-color: #0e1839;
  border: 1px solid #1e2a52;
  border-radius: 10px;
  padding: 24px;
}

.contact-form-card h3,
.connect-card h3 {
  color: #ffffff;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #b9c2dc;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #1e2a52;
  background-color: #0b1330;
  color: #e6ebf5;
  font-family: inherit;
  font-size: 0.95rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #6c7699;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #4da3ff;
}

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

.send-btn {
  width: 100%;
  text-align: center;
}

.form-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #4da3ff;
  min-height: 18px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: #2f6fed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.info-label {
  display: block;
  font-size: 0.85rem;
  color: #8b95bb;
  margin-bottom: 2px;
}

.info-value {
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
}

.info-value a {
  color: #ffffff;
}

.info-value a:hover {
  color: #4da3ff;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #1e2a52;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4da3ff;
  font-weight: 600;
  font-size: 0.95rem;
}

.social-icon:hover {
  background-color: #4da3ff;
  color: #0b1330;
}

/* ---------- Footer ---------- */
.footer {
  background-color: #070c1f;
  color: #8b95bb;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0b1330;
    flex-direction: column;
    text-align: center;
    display: none;
    border-bottom: 1px solid #1e2a52;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 12px 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .about-details {
    flex-direction: column;
    align-items: center;
  }

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