/* ----- General ----- */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  line-height:1.6;
  color:#333;
  background:#ca9ebc;
}

/* ----- Nav ----- */
header {
  background: linear-gradient(135deg, #e2724a, #22dc72);
  color:rgb(60, 3, 151);
  text-align:center;
  padding-bottom:4rem;
}
nav {
  display:flex; justify-content:space-between; align-items:center;
  padding:1rem 2rem;
}
nav .logo { font-size:1.5rem; font-weight:bold; }
nav ul { list-style:none; display:flex; gap:1.2rem; }
nav a { color:rgb(253, 7, 7); text-decoration:none; font-weight:500; }
nav a:hover { text-decoration:underline; }

/* ----- Hero ----- */
.hero { padding:4rem 1rem; }
.hero h2 { font-size:2.5rem; margin-bottom:.5rem; }
.hero p { margin-bottom:1rem; font-size:1.1rem; }
.btn {
  background:rgb(2, 201, 105);
  color:#0879fa;
  padding:0.7rem 1.5rem;
  border-radius:25px;
  text-decoration:none;
  font-weight:bold;
}
.btn:hover { background:#b40707; }

/* ----- Sections ----- */
.section {
  padding:4rem 2rem;
  max-width:1000px;
  margin:auto;
}
.section h2 {
  text-align:center;
  margin-bottom:2rem;
  color:#4a90e2;
}

/* ----- Projects Grid ----- */
.projects-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1.5rem;
}
.card {
  background:rgb(5, 189, 240);
  border-radius:12px;
  padding:1.5rem;
  box-shadow:0 4px 8px rgba(203, 13, 13, 0.1);
  transition:transform 0.2s;
}
.card:hover { transform:translateY(-5px); }

/* ----- Footer ----- */
footer {
  text-align:center;
  background:#9aec7f;
  padding:1rem;
  font-size:0.9rem;
}

.welcome{
    text-align: center;
    color: #b40707;
    direction: ltr;
    
}


  .about-section {
    padding: 80px 20px;
    background: linear-gradient(to right, #e0f7fa, #fff3e0);
    font-family: 'Arial', sans-serif;
    color: #333;
  }

  .about-section .container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }

  .about-section h2 {
    font-size: 2.8em;
    margin-bottom: 30px;
    color: #00796b;
    position: relative;
  }

  .about-section h2::after {
    content: '';
    width: 80px;
    height: 3px;
    background: #ff6f00;
    display: block;
    margin: 10px auto 0;
    border-radius: 3px;
  }

  .about-content p {
    font-size: 1.1em;
    line-height: 1.8em;
    margin-bottom: 20px;
    color: #555;
    transition: transform 0.3s, color 0.3s;
  }

  .about-content p:hover {
    transform: translateY(-5px);
    color: #ff6f00;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .about-section h2 {
      font-size: 2.2em;
    }

    .about-content p {
      font-size: 1em;
    }
  }


  .about-content {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-image img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff6f00;
  transition: transform 0.3s;
}

.about-image img:hover {
  transform: scale(1.05);
}




/* Hero / Banner Section */
.hero-section {
  width: 100%;
  height: 100vh; /* Full viewport height */
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/banner.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  font-family: 'Arial', sans-serif;
}

.hero-section h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.hero-section .btn {
  padding: 12px 30px;
  font-size: 1.1em;
  color: #fff;
  background-color: #ff6f00;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s, transform 0.3s;
}

.hero-section .btn:hover {
  background-color: #ff8f00;
  transform: translateY(-3px);
}

/* Responsive */
@media(max-width:768px){
  .hero-section h1{
    font-size: 2.2em;
  }
  .hero-section p{
    font-size: 1em;
  }
}
