/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'outfit',sans-serif;
  color: white;
  background-color: #0f172a;   /* dark navy */
  line-height: 1.6;
  scroll-behavior: smooth;
}
a{
  text-decoration: none;
  color: inherit;
}
img{
  max-width: 100%;
  display: block;
}
.section {
  padding: 80px 20px;
  text-align: center;
}

.bg-light {
  background-color: #1e293b;  /* slate section bg */
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  letter-spacing: 2px;
  color: #38bdf8;   /* sky blue */
}

/* ===== header ===== */

header {
  height: 100vh;
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 10%;
  background: rgba(15, 23, 42, 0.9); /* dark transparent */
}

.logo {
  color: #38bdf8;   /* sky blue */
  font-size: 26px;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f472b6;  /* pink hover */
}

/* ===== Hero Section ===== */
.hero {
 text-align: center;
 margin-bottom: 80px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero h1 span {
  color: #38bdf8;
}

.hero p {
  font-size: 20px;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #38bdf8;
  color: #0f172a;
  border-radius: 25px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #f472b6;
  color: #fff;
}

/* ===== About Section ===== */
 .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
}

.about-img img {
  width: 100%;
  border-radius: 10px;
  max-width: 350px;
  box-shadow: 0 5px 25px rgba(56, 189, 248, 0.6); /* blue glow */
}

.about-text {
  max-width: 500px;
  text-align: left;
}

.about-text h2 {
  margin-bottom: 20px;
  color: #fff;
  
}

/* ===== Projects Section ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.project-card {
  background: #1e293b;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(123, 191, 223, 0.6);
  transition: 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h3 {
  margin: 15px 0 5px;
  color: #38bdf8;
}

.project-card p {
  padding: 0 15px 20px;
}
.hover-btn{
  background: deeppink;
  color: black;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

/* ===== Skills Section ===== */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  box-shadow: #38bdf8;
}

.skill {
  background: #38bdf8;
  color: #0f172a;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgb(128, 206, 206)
}

.skill:hover {
  background: #f472b6;
  color: #fff;
}

/* ===== Contact Section ===== */
.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #334155;
  background: #1e293b;
  color: white;
  border-radius: 10px;
  font-size: 1rem;
}

.contact-form button {
  border: none;
  cursor: pointer;
  background: #38bdf8;
  color: #0f172a;
  padding: 12px;
  border-radius: 25px;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #f472b6;
  color: #fff;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  background: #0f172a;
  color: #fff;
  padding: 15px 0;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    text-align: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .about-text {
    text-align: center;
  }
}
