@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
  --text-dark: hsl(240, 54%, 15%);
  --text-light: hsl(242, 18%, 64%);
  --primary: hsl(222, 98%, 60%);
  --primary-lighter: hsl(240, 33%, 86%);
  --primary-gradient: linear-gradient(to right, #3671fd, #6f31ff);
}

/* Base Footer Styling */
.footer {
  /* background: var(--primary-lighter); */
  background:#333333;
  padding: 2rem 1rem;
  font-family: 'Poppins', sans-serif;
  /* color: var(--text-dark); */
  color: #fff;
  
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
  margin-left:40px ;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #fff;
}

.footer-section p,
.footer-section a {
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
}
.social-icons i {
    /* background-color:; */
    color: white;
    padding: 10px;
    border-radius: 6px;
    font-size: 16px;
  }
  
.footer-section a:hover {
  color: var(--primary);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: var(--text-dark);
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #fff;
  margin-top: 1rem;
  border-top: 1px solid #ccc;
  padding-top: 1rem;
}

/* Responsive Design */

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .footer-content {
    padding: 0%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    margin-left :0px;;
  }

  .footer-section {
    padding: 0%;
    flex: unset !important;
    min-width: unset !important;
    width: 100%;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
  }

  .social-icons {
    justify-content: center;
  }
}


/* Small Phones (480px and below) */
@media (max-width: 480px) {
  .footer {
     padding: 0%;
    
    gap: 0;
  }
  .footer-section h3 {
    font-size: 1rem;
  }
  .footer-section p,
  .footer-section a {
    padding: 0;
    font-size: 0.85rem;
  }
  .social-icons a {
    font-size: 1.3rem;
  }
}


.footer-designed-by {
  text-align:right;
  margin-top: 1rem;
}

.footer-designed-by img {
  max-width: 150px;
  height: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer-designed-by img:hover {
  opacity: 1;
}

/* For smaller devices */
@media (max-width: 480px) {
  .footer-designed-by {
    text-align: right;
  }

  .footer-designed-by img {
    max-width: 120px;
  }
}
.footer-designed-by-text {
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
