/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-image: url(img/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  backdrop-filter: brightness(0.8);
}

/* Header styles */
header {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-weight: 800;
  font-size: 1.8rem;
  color: #ffcc00;
  letter-spacing: 2px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #ffcc00;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffcc00;
}
strong{
  margin-top: 5px;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 120px 20px;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ffcc00;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-button {
  background-color: #ffcc00;
  color: #000;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #e6b800;
  transform: scale(1.05);
}

/* Features section */
.features {
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 80px 20px;
}

.feature-card, .Resources-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover, .Resources-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

.feature-card h3, .Resources-card h3 {
  font-size: 1.5rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

/* Updates section */
.updates {
  padding: 80px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
}

.updates h2 {
  color: #ffcc00;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.updates ul {
  list-style: none;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Footer section */
footer {
  background-color: #000;
  border-radius: 30px;
  padding: 30px 0 20px;
  text-align: center;
}

.footer-row h1{
  color: #e6b800;
}
.footer-row{
  align-items: center;
  flex: 1;
}
.row-1{
  padding: 10px;
  margin-top: 5px;
}
.footer-row .row-1 p{
  color: #ffff;
  font-size: 1.5rem;
}
.footer-row .row-1 p a{
  text-decoration: none;
  color: #ffff;
  margin-top: 5px;
  list-style: none;
  font-size: 1.5rem;
}

footer p {
  margin-bottom: 10px;
}
hr{
  margin-left: 60px;
  margin-right: 60px;
  padding: 0px;
  width: auto;
  margin-bottom: 8px;
}
p{
  font-size: 1.2rem;
  color: #ffff;
  text-decoration: wavy;
}


/* Responsive design */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
    align-items: center;
  }

  header {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .hero h2 {
    font-size: 2.2rem;
  }
}


#resource {
  background-color: #ffff;
  border-radius: 20px;
  padding: 40px;
  border: 12px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}
#resource h3{
 margin: auto;
 font-size: 2rem;
}
#resource ul li a{
  font-size: 20px;
}
#resource ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 25px;
}
#resource li {
  background-color: #333;
  width: 80%;
  padding: 12px 15px;
  margin: 10px auto;
  border-radius: 8px;
  transition: 0.3s ease;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}
#resource li:hover {
  transform: translateY(-2px);
  background-color: #eaf6ff;
}
#resource a {
  color: #e6b800;
  text-decoration: none;
  font-weight: 500;
}
#ressource a:hover {
  text-decoration: underline;
}

/* ===== Tools Page Styles ===== */
:root {
  --bg: #f6f8fb;
  --card: #7DA0CA;
  --muted: #6b7280;
  --accent: #0b74de;
}


.container {
  Max-width: 1000px;
  Margin: auto;
  Padding: 0 16px;
}

.lead {
  Color: var(--muted);
  Font-size: 14px;
}

.tools-top {
  Display: flex;
  Gap: 12px;
  Margin: 20px 0;
  Align-items: center;
}
.grid {
  Display: grid;
  Grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  Gap: 14px;
}

.card {
  Background: var(--card);
  Border-radius: 16px;
  Padding: 24px 24px 40px;
  Border: 1px solid #e5e7eb;
  Box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  min-height: 260px;
}
.card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  opacity: 0.8;
  transition: 0.3s;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(11, 116, 222, 0.15);
}
.card:hover::before{
  opacity: 1;
}

.card h3 {
  Margin-top: 0;
}

.meta {
  Color: var(--muted);
  Font-size: 13px;
  Margin: 4px 0;
}

.desc {
  Font-size: 14px;
}
.card{
  animation: fadeIn 0.4s ease-in-out;
}

.btn{
  display: inline-block;
  align-self: flex-start;
  margin-top: 30px; 
  background: var(--accent);
  color:  #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s;
}
.btn:hover{
  background:  #095bb2;
  transform: translateY(-2px);
}
