/* Welcome Page Styles */
body.welcome-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100vh;
  background: url('assets/bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-container {
  background: rgba(22, 2, 136, 0.85);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgb(255, 251, 2);
  color: white;
  max-width: 400px;
  width: 90%;
  z-index: 10;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  margin-bottom: 20px;
}

.welcome-container h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.welcome-container p {
  font-size: 1rem;
  margin-bottom: 20px;
}

#username {
  padding: 10px;
  width: 80%;
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
  font-size: 1rem;
  outline: none;
}

.enter-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: rgba(0, 0, 0, 0.308);
  color: rgba(15, 120, 218, 0.664);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.10s ease;
}

.enter-btn:hover {
  background-color: #4e4705;
  color: black;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #10aa18;
  color: #ffffff;
}
header {
  background-color: #0505b1;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}
section {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: auto;
}
h2 {
  color: #080866;
}
.project-card {
  background: #998f0170;
  margin: 1rem 0;
  padding: 1rem;
  border-left: 5px solid #070808;
  box-shadow: 0 2px 5px rgba(223, 207, 207, 0.1);
}
ul {
  list-style: none;
  padding-left: 0;
}
ul li::before {
  content: "✔️ ";
  color: #021018;
}
form {
  display: grid;
  gap: 1rem;
}
input, textarea {
  padding: 0.5rem;
  border: 1px solid #0f11aa;
  border-radius: 5px;
}
button {
  background-color: #007acc;
  color: #101ee0;
  padding: 0.7rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #005f99;
}
footer {
  text-align: center;
  padding: 1rem;
  background-color: #1a1a2e;
  color: #f2f0f7;
}
/* Background image for the whole body */
body {
  background: url("assets/images/bg.jpg") no-repeat center center fixed;
  background-size: cover;
  color: #f5f5f5;
  line-height: 1.6;
  padding: 20px;
}

/* Optional overlay for better text contrast */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(136, 37, 167, 0.8);
  z-index: -1;
}

/* Profile image styling */
.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 10px auto;
  display: block;
  border: 3px solid #d1d408;
  box-shadow: 0 2px 5px rgba(238, 231, 231, 0.5);
}
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Welcome page background */
.welcome-body {
  background-image: url('bg.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  font-family: sans-serif;
  position: relative;
}

/* Dark overlay */
.overlay {
  background-color: rgba(0, 0, 0, 0.384);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Center content box */
.welcome-container {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  text-align: center;
  border-radius: 20px;
  color: white;
  backdrop-filter: blur(8px);
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid white;
}

.welcome-container input {
  padding: 10px;
  width: 200px;
  border: none;
  border-radius: 10px;
  margin-top: 20px;
}

.enter-btn {
  display: inline-block;
  margin-top: 20px;
  background: #00b894;
  padding: 10px 25px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: background 0.3s ease;
}

.enter-btn:hover {
  background: #019875;
}
.navbar {
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar li {
  margin: 0 15px;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.3s;
}

.navbar a:hover {
  background-color: #007acc;
  color: yellow;
}
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #111;
  color: #ffe817;
  padding: 10px 0;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.marquee p {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
  font-weight: bold;
  font-size: 1.1rem;
}

@keyframes scroll-left {
  0% {
    transform: translateX(2%);
  }
  100% {
    transform: translateX(-85%);
  }
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url("assets/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.gallery-img {
  width: 100%;
  max-width: 250px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.gallery-img:hover {
  transform: scale(1.05);
}
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
}

.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}
html {
  scroll-behavior: smooth;
}
