@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
}

/*---------global------*/
.container {
  max-width: 95%;
  margin: auto;
}

a {
  text-decoration: none;
  transition: 0.5s;
}



ul {
  list-style: none;
}

.flex {
  display: flex;
}

.flex1 {
  display: flex;
  justify-content: space-between;
}

i {
  cursor: pointer;
  transition: 0.5s;
}

header {
  height: 10vh;
  background: rgba(252, 2, 2, 0.2);
}

header .navbar {
  align-items: center;
  transition: 0.5s;
}

header nav ul {
  display: inline-block;
  font-size: 16px;
}

header nav ul li a {
  color: white;
  transition: all 300ms ease-in-out;
}

header nav ul li a:hover {
  color: #E50916;
}

header nav ul li {
  margin-right: 20px;
  display: inline-block;
}

header .navbar span {
  text-align: center;
  margin-left: 20px;
  color: rgb(255, 0, 0);
  font-size: 25px;
  display: none;
}

.subscribe i:nth-child(1) {
  margin-top: 17px;
}

.subscribe i {
  font-size: 20px;
  margin-right: 20px;
}

#palybtn {
  background: #E50916;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
}

header.sticky .headerbg {
  position: relative;
}

header.sticky {
  z-index: 10;
  position: fixed;
  top: 0;
  width: 100%;
  background: #fa0404;
  transition: 0.5s;
  height: 10vh;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.1);
  transition: 0.5s;
}

header.sticky .subscribe {
  display: none;
}

@media only screen and (max-width:768px) {
  header nav ul {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    background: #f00505;
    overflow: hidden;
    transition: max-height 0.5s;
    z-index: 100;
  }

  header nav ul li {
    display: block;
    margin: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  header .navbar span {
    color: white;
    display: block;
    cursor: pointer;
    
  }

  .home {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 70vh;
  }

  .subscribe {
    display: none;
  }
}

/*---------home_content------*/

/*---------footer------*/
footer {
  background: #e92323;
  color: white;
  padding: 40px 20px;
}

footer a {
  color: white !important;
  text-decoration: none !important;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

footer .box {
  flex: 1 1 250px;
  min-width: 200px;
}

footer h2 {
  margin-bottom: 15px;
  font-size: 20px;
  color: white;
}

footer p,
footer ul li {
  font-size: 14px;
 
  line-height: 1.6;
  margin-bottom: 10px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  transition: color 0.3s;
}

footer ul li:hover a {
  color: yellow !important;
}

.flex ul li a {
  display: block;
}

footer .box a i {
  font-size: 20px;
  margin-right: 10px;
}

footer .box a i:hover {
  color: yellow;
}

footer .legal {
  text-align: center;
  background: #f74f5b;
  padding: 10px;
  margin-top: 30px;
  font-size: 14px;
  
}

/* ========================= */
/* 📱 Mobile Responsiveness */
/* ========================= */
@media screen and (max-width: 768px) {
  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  footer .box {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }

  footer .box a i {
    margin: 5px;
  }
}

/* Footer -End */

/* ============================================================== main=========================================================== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
}

.card-img-wrapper {
  width: 100%;
  height: 200px; /* Fix height for all images */
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}





.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #e92323;
}

.card-content p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  align-self: flex-start;
  background-color: #e92323;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #b71c1c;
}

/* Responsive */
@media (max-width: 480px) {
  .card-content h3 {
    font-size: 16px;
  }

  .card-content p {
    font-size: 13px;
  }

  .read-more {
    font-size: 13px;
    padding: 7px 12px;
  }
}
/* Responsive-End */


  /* ===================================================================Blog_Description_page========================================================== */
  /* blog-dis.html-page */
.blog-main{
    background-color: #f0ebeb;
  }
  
  /* Description Section */
  .description-section-blog  {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
  }
  
  .description-section-blog  h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: justify;
    color: rgb(255, 136, 0)
  }
  
  .description-section-blog  p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    text-align: justify;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
   
  
    .description-section-blog h2 {
        font-size: 1.5rem;
        text-align: justify;
    }
  
    .description-section-blog p {
        font-size: 0.9rem;
        text-align: justify;
    }
  }
  
  
  /* blog-dis.html-page End */