* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: linear-gradient(to right, #7ebad4, #203a43, #2c5364);
  scroll-behavior: smooth;
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: 60px;
}

.logo h1 {
  background: linear-gradient(
    to right,
    #8e44ad, 
    #e91e63,   
    #ff6a00    
  );

  -webkit-background-clip: text; 
  background-clip: text;
  -webkit-text-fill-color: transparent; 
  color: transparent; 
  font-size: 1.5rem;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #00d4ff;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: url('stars-bg.jpg') no-repeat center center/cover;
}

.hero h2 {
  font-size: 2.5rem;
  color: #00d4ff;
}

.hero p {
  font-size: 1.1rem;
  margin: 1rem 0 2rem;
}

.btn {
  background: #00d4ff;
  color: #000;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #00a8cc;
}

/* ===== ABOUT ===== */
.about {
  text-align: center;
  padding: 4rem 2rem;
  background: #0a192f;
  height: auto;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.about h1 {
  color: #00d4ff;
  margin-bottom: 2rem;
}

#card{
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 50px;
}

.member-card {
  background: #c0dfec;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s;
}

.member-card:hover {
  transform: translateY(-10px);
}

.member-card img {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 1px solid #1877F2;
}

.member-card h2 {
  margin: 10px 0 5px;
  font-size: 1.5rem;
  color: #222;
}

.member-card h4 {
  margin: 0 0 15px;
  font-weight: normal;
  color: #777;
}

.member-card p {
  font-size: 1 rem;
  line-height: 1.6;
  margin-bottom: 20px;
  padding: 0 10px;
  color: black;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.skills span {
  background: #1877F2;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  font-size: 30px;
  color: #555;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #1877F2;
}


/* ===== PROJECTS ===== */
.projects {
  text-align: center;
  padding: 4rem 2rem;
  background: #12263a;
}

.projects h2 {
  color: #00d4ff;
  margin-bottom: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 1.5rem;
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.projects a{
  text-decoration: none;
  font-weight: 800;
  color: #ee546e;
}

/* ===== CONTACT ===== */
.contact {
  text-align: center;
  padding:  4rem 0 2rem;
  background: #0f2027;
}

.contact h2 {
  color: #00d4ff;
  margin-bottom: 1rem;
}

.contact p{
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 25px;
  outline: none;
  font-size: 1em;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 10px #00cfff;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  background-color: #00cfff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #00a3cc;
}

#email{
    color:#676767;
    text-align: end;
}


/* Footer CSS */
.footer {
  background-color: #333;      /* Dark background */
  color: #fff;                 /* White text */
  text-align: center;          /* Center text */
  padding: 15px 0;             /* Top and bottom padding */
  width: 100%;                 /* Full width */
  font-size: 14px;             /* Text size */
}

/* responsive for the mobile */

@media(max-width:600px) {

#logo{
    height:18vh;
    width: 45vh;
    border-radius: 15px;
 }

 #card{
  flex-direction: column;
 }
    
}