/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.15;
  background: linear-gradient(135deg, #0f2027, #2c7744, #a8e063); /* Green gradient */
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Container for index.html */
.container {
  width: 100%;
  height: 100vh;
  background-image: url(back.png);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Styles */
.card {
  width: 90%;
  max-width: 440px;
  color: #fefefe;
  text-align: center;
  padding: 50px 35px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.2);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
}

.card img {
  width: 140px;
  border-radius: 50%;
}

.card h2 {
  font-size: 40px;
  font-weight: 600;
  margin-top: 20px;
  color: #00000074;
}

.card p {
  font-size: 18px;
  margin: 10px auto;
  max-width: 330px;
  color: #0000008e;
}

/* Social Links */
.card .links img {
  width: 40px;
  border-radius: 50%;
  margin: 10px 5px;
  transition: background 0.5s;
}

.card .links img:hover {
  background: #0140ff;
}

/* Button Styles */
.btn {
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  font-weight: 500;
  background: #ffffff;
  color: #40a65e;
  padding: 10px 30px;
  border-radius: 30px;
  margin: 30px 0 10px;
}

/* Back Button */
#back-btn {
  background-color: #2c7744;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-top: 2rem;
  text-decoration: none;
}

#back-btn:hover {
  background-color: #45a049;
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}

/* Glassmorphism Card for about.html & technology.html */
.glass-card {
  backdrop-filter: blur(10px);
  background: rgba(40, 80, 60, 0.2); /* subtle green tint */
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  margin: 3rem auto;
  width: 90%;
  max-width: 600px;
  color: #fff;
  animation: fadeInUp 1s ease-out;
  box-shadow: 0 8px 32px rgba(0, 100, 0, 0.3);
  transition: transform 0.3s ease;
  will-change: transform;
}

.glass-card:hover {
  box-shadow: 0 12px 24px rgba(50, 205, 50, 0.4);
  transform: scale(1.02);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media screen and (max-width: 430px) {
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px;
    overflow-y: auto;
  }

  .button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
  }

  .btn-small {
    flex: 1 1 45%;
    max-width: 160px;
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 20px;
    background: #00b893;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .card {
    width: 100%;
    max-width: 440px;
    padding: 20px 10px;
    margin-top: 20px;
  }
}


p {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.85;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 1.2rem; /* Adjust this value to control spacing */
}

