@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;1,100;1,300;1,400;1,500&display=swap');

* {
  font-family: 'Poppins', sans-serif;

  padding: 0;
  text-transform: capitalize;
  transition: all .2s linear;
  text-decoration: none;
}

html {
  font-size: 62.5%;
}

body {
  overflow-x: hidden;
  background-image: linear-gradient(45deg, #7c9885, #b5b682);
}


.header {
  background-color: #002e5f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  position: fixed;
}

.logo img {
  width: 60%;
  height: 36px;
  top: 0;
  left: 0;
}

.header .navbar ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.header .navbar ul li {
  margin: 0 1.5rem;
}

.header .navbar ul li a {
  font-size: 2rem;
  color: #ffffff;
}

.header .navbar ul li a:hover {
  color: #ffb056;
  text-decoration: none;
}

.header .logo i {
  padding: 0.5rem;
}

.heading {
  padding-top: 6rem;
  display: inline-block;
  font-size: 3.5rem;
  color: #002e5f;
  position: relative;
  letter-spacing: .2rem;
  margin: -2rem auto 2rem auto;
}

/* Mobile Specific Styles */
.header .fa-bars {
  color: #fff;
  cursor: pointer;
  font-size: 45px;
  display: none;
  margin-right: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.section-head {
  display: inline-block;
  font-size: 3.5rem;
  color: #252525;
  position: relative;
  text-align: center;
  margin-top: 110px;
}

.section-head h1 {

  font-size: 34px;
  color: #ffc831;
  position: relative;
  text-align: center;
  letter-spacing: .2rem;
}


/* Cards section layout */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}


article {
  --img-scale: 1.001;
  --title-color: black;
  --link-icon-translate: -20px;
  --link-icon-opacity: 0;
  position: relative;
  border-radius: 16px;
  box-shadow: none;
  background: #fff;
  transform-origin: center;
  transition: all 0.4s ease-in-out;
  overflow: hidden;
}

.article-body {
  padding: 20px;
}

/* Article Title */
.article-body h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #007bff;
  transition: color 0.3s ease;
}

.article-body h2:hover {
  color: #0056b3;
}

/* Article Description */
.article-body p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #666;
}

.download-button {
  margin-top: 1rem;
  text-align: center;
}

.view-more {
  display: inline-block;
  color: rgb(7, 7, 7);
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;

}

.view-more:hover {
  text-decoration: none;
}

/* Footer styling */

.footer {
  width: 100%;
  background-color: #002e5f;
  color: #fff;
  padding: 20px 0;
  font-family: Arial, sans-serif;
  text-align: center;
  box-sizing: border-box;
}

.footer h4 {
  font-size: 27px;
  color: #f8f8f8;
  margin-bottom: 12px;
  font-weight: bold;
}

.footer p {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 15px;
  text-align: left;
}

.footer a {
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.3s;
}

.footer a:hover {
  color: #ffa705;
  text-decoration: none;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  /* Space between links and sections */
  display: flex;
  /* Enables Flexbox for alignment */
  flex-direction: column;
  /* Aligns items in a single column */
  align-items: center;
  /* Centers items horizontally */
  gap: 0px;
  /* Adds uniform spacing between items */
  text-align: center;/
}

.footer-links ul li {
  padding: 6px 0;
  /* Adds spacing within list items */
  font-size: 18px;
  width: 100%;
  /* Ensures uniform width for all items */
  max-width: 200px;
  /* Optional: Restricts the width to make alignment consistent */
  text-align: center;

}

.footer-links ul li i {
  margin-right: 8px;
  font-size: 18px;
  /* Slightly larger icons */
  vertical-align: middle;
}

.footer-contact {
  font-size: 1.1rem;
}

.footer-contact ul {
  margin: 0 auto;
  list-style-type: none;
  padding-left: 0;
  text-align: center;
}

.footer-contact li {
  margin-bottom: 10px;
  font-size: 12px;
}

.footer-contact a {
  color: #ffffff;
  font-size: 19px;
  font-family: 'century';
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.3s;
  text-transform: none;
}

.footer-contact .fa-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact .fa-li {
  position: relative;
  left: 0;
  font-size: 16px;
  color: #ffffff;
  width: 25px;
  text-align: center;
  line-height: 1.5;
  margin-right: 6px;
}

.footer-contact .fa-phone {
  transform: rotate(90deg);
  /* Ensure no rotation */
  display: inline-block;
  /* Proper alignment */
}

.footer-contact li:hover,
.footer-contact .fa-li i:hover {
  color: #ffa705;
  text-decoration: none;
}

.social-links {
  margin-top: 10px;
  margin-bottom: 5px;
}

.social-links a {
  font-size: 24px;
  margin-right: 15px;
  margin: 0 12px;
  color: #fff;
}

.social-links a:hover {
  color: #ffcc00;
}

.footer-bottom {
  background: #111;
  padding: 10px 0;
  text-align: center;
  font-size: 1rem;
  margin-bottom: -60px;
}

.footer-bottom p {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fffcfc;
}

.back-to-top {
  position: fixed;
  display: none;
  background-color: #00bfff;
  color: #ffffff;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 30px;
  right: 15px;
  bottom: 20px;
  border-radius: 10%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 999;
}


.back-to-top i {
  color: #ffffff;
}

.back-to-top i:hover {
  color: black;
}

@media (min-width: 310px) and (max-width: 395px) {
  .header {
    background-color: #002e5f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
  }

  .header .logo img {
    width: 40%;
    height: 34px;
    top: 0;
    left: 0;
    background-size: cover;
  }

  .header .fa-bars {
    font-size: 36px;
    display: block;
    color: white;
    margin-right: 0px;
  }

  .header .fa-bars:hover {
    color: #00bfff;
  }

  .header .navbar {
    position: fixed;
    top: -120%;
    left: 0;
    height: auto;
    width: 100%;
    background-color: white;
    z-index: 1000;
    border-top: .1rem solid rgba(0, 0, 0, .3);
  }

  .header .navbar ul {
    height: 100%;
    width: 100%;
    gap: 0px;
    flex-flow: column;
  }

  .header .navbar ul li {
    margin: 0.6rem 0;
  }

  .header .navbar ul li a {
    color: grey;
    font-size: 1.6rem;
  }

  .header .fa-times {
    transform: rotate(90deg);
  }

  .header .nav-toggle {
    top: 5.8rem;
  }

  .navbar {
    display: flex;
    align-items: center;
    margin-top: 6px;
  }

  article {
    max-width: 300px;
    margin-left: -5px;
  }

  .footer h4 {
    font-size: 30px;
    color: #f8f8f8;
    margin-bottom: 12px;
    text-align: center;
  }

  .footer p {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
  }

  .footer-links ul li {
    padding: 8px 0;
    text-align: center;
  }

  .footer-contact li {
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
  }

  .social-links {
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: center;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    right: 10px;
    bottom: 40px;
  }
}

@media (min-width: 396px) and (max-width: 480px) {
  .header {
    background-color: #002e5f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
  }

  .header .logo img {
    width: 40%;
    height: 34px;
    top: 0;
    left: 0;
    background-size: cover;
  }

  .header .fa-bars {
    font-size: 40px;
    display: block;
    color: white;
    margin-right: 2px;
  }

  .header .fa-bars:hover {
    color: #00bfff;
  }

  .header .navbar {
    position: fixed;
    top: -120%;
    left: 0;
    height: auto;
    width: 100%;
    background-color: white;
    z-index: 1000;
    border-top: .1rem solid rgba(0, 0, 0, .3);
  }

  .header .navbar ul {
    height: 100%;
    width: 100%;
    gap: 0px;
    flex-flow: column;
  }

  .header .navbar ul li {
    margin: 0.6rem 0;
  }

  .header .navbar ul li a {
    color: grey;
    font-size: 1.8rem;
  }

  .header .fa-times {
    transform: rotate(90deg);
  }

  .header .nav-toggle {
    top: 5.8rem;
  }

  .navbar {
    display: flex;
    align-items: center;
    margin-top: 12px;
  }

  .footer h4 {
    font-size: 30px;
    color: #f8f8f8;
    margin-bottom: 12px;
    text-align: center;
  }

  .footer p {
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
  }

  .footer-links ul li {
    padding: 8px 0;
    text-align: center;
  }

  .footer-contact li {
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
  }

  .social-links {
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: center;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
    right: 15px;
    bottom: 40px;
  }
}


@media (min-width: 481px) and (max-width: 739px) {
  .header {
    background-color: #002e5f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
  }

  .header .logo img {
    width: 40%;
    height: 3.5rem;
    top: 0;
    left: 0;
    background-size: cover;
  }

  .header .fa-bars {
    font-size: 40px;
    display: block;
    color: white;
    margin-right: 2px;
  }

  .header .fa-bars:hover {
    color: #00bfff;
  }

  .header .navbar {
    position: fixed;
    top: -120%;
    left: 0;
    height: auto;
    width: 100%;
    background-color: white;
    z-index: 1000;
    border-top: .1rem solid rgba(0, 0, 0, .3);
  }

  .header .navbar ul {
    height: 100%;
    width: 100%;
    gap: 0px;
    flex-flow: column;
  }

  .header .navbar ul li {
    margin: 0.4rem 0;
  }

  .header .navbar ul li a {
    color: grey;
    font-size: 1.6rem;
  }

  .header .fa-times {
    transform: rotate(90deg);
  }

  .header .nav-toggle {
    top: 5.8rem;
  }

  .navbar {
    display: flex;
    align-items: center;
    margin-top: 12px;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    font-size: 30px;
    right: 10px;
    bottom: 20px;
  }
}

@media (min-width: 740px) and (max-width: 815px) {
  .header {
    background-color: #002e5f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
  }

  .header .logo img {
    width: 45%;
    height: 5rem;
    top: 0;
    left: 0;
    background-size: cover;
  }

  .header .fa-bars {
    font-size: 55px;
    display: block;
    color: white;
    margin-right: 1rem;
  }

  .header .fa-bars:hover {
    color: #00bfff;
  }

  .header .navbar {
    position: fixed;
    top: -120%;
    left: 0;
    height: auto;
    width: 100%;
    background-color: white;
    z-index: 1000;
    border-top: .1rem solid rgba(0, 0, 0, .3);
  }

  .header .navbar ul {
    height: 100%;
    width: 100%;
    flex-flow: column;
  }

  .header .navbar ul li {
    margin: 1rem 0;
  }

  .header .navbar ul li a {
    color: grey;
    font-size: 2.0rem;
  }

  .header .fa-times {
    transform: rotate(90deg);
  }

  .header .nav-toggle {
    top: 5.8rem;
  }

  .navbar {
    display: flex;
    align-items: center;
    margin-top: 27px;
  }

  .section-head {
    font-size: 3.5rem;
    margin-top: 80px;
  }

  .footer-contact {
    font-size: 1.1rem;
    margin-top: -90px;
  }

  .back-to-top {
    width: 45px;
    /* Increased width */
    height: 45px;
    /* Increased height */
    text-align: center;
    line-height: 45px;
    /* Matches height for vertical centering */
    font-size: 30px;
    /* Adjusted font size for better visibility */
    right: 10px;
    /* Increased spacing for better alignment */
    bottom: 40px;
    /* Increased spacing for better alignment */
  }
}

@media (min-width: 816px) and (max-width: 950px) {
  .header {
    background-color: #002e5f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
  }

  .header .logo img {
    width: 55%;
    height: 5rem;
    top: 0;
    left: 0;
    background-size: cover;
  }

  .header .fa-bars {
    font-size: 60px;
    display: block;
    color: white;
  }

  .header .fa-bars:hover {
    color: #00bfff;
  }

  .header .navbar {
    position: fixed;
    top: -120%;
    left: 0;
    height: auto;
    width: 100%;
    background-color: white;
    z-index: 1000;
    border-top: .1rem solid rgba(0, 0, 0, .3);
  }

  .header .navbar ul {
    height: 100%;
    width: 100%;
    flex-flow: column;
  }

  .header .navbar ul li {
    margin: 1rem 0;
  }

  .header .navbar ul li a {
    color: grey;
    font-size: 2.2rem;
  }

  .header .fa-times {
    transform: rotate(90deg);
  }

  .header .nav-toggle {
    top: 5.8rem;
  }

  .navbar {
    display: flex;
    align-items: center;
    margin-top: 32px;
  }

  .section-head {
    margin-top: 100px;
  }

  .footer-contact {
    font-size: 1.1rem;
    margin-top: -90px;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 30px;
    right: 20px;
    bottom: 35px;
  }
}

@media (min-width: 951px) and (max-width: 1000px) {

  .navbar {
    display: flex;
    align-items: center;
    margin-top: 60px;
  }

  .header .logo img {
    width: 60%;
    height: 5rem;
    top: 0;
    left: 0;
    background-size: cover;
  }

  .header .navbar {
    position: fixed;
    top: -120%;
    left: 0;
    height: auto;
    width: 100%;
    background-color: white;
    z-index: 1000;
    border-top: .1rem solid rgba(0, 0, 0, .3);
  }

  .navbar ul {
    display: flex;
    height: 100%;
    width: 100%;
    flex-flow: column;
    flex-direction: column;
  }

  .header .fa-bars {
    font-size: 92px;
    display: block;
    color: white;
    margin-right: 15px;
  }

  .header .fa-bars:hover {
    color: #00bfff;
  }

  .header .navbar ul li {
    margin: 1rem 0;
  }

  .header .navbar ul li a {
    color: grey;
    font-size: 2.8rem;
  }

  .header .fa-times {
    transform: rotate(90deg);
  }

  .header .nav-toggle {
    top: 5.8rem;
  }


  .articles {
    display: grid;
    max-width: 950px;
    margin-inline: auto;
    padding-inline: 24px;
    margin-bottom: 50px;
    margin-top: 20px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }

  article {
    container: card/inline-size;
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Center-align content */
    align-items: flex-start;
    max-width: 980px;
    margin: 0 auto;
    /* Centers the footer horizontally */
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
  }

  .footer-left,
  .footer-right {
    flex: 1;
    /* Equal column width */
    padding: 10px 20px;
  }

  .footer-left {
    text-align: left;
  }

  .footer-right {
    text-align: right;
  }

  .footer-links ul {
    list-style: none;
    padding: 0;
  }

  .footer-links ul li {
    margin-bottom: 8px;
  }

  .social-links {
    margin-top: 15px;
  }

  .footer-bottom {
    margin-top: 20px;
    background: #111;
    text-align: center;
    padding: 10px 0;
  }

  .footer-bottom p {
    margin: 0;
    color: #fffcfc;
  }

  .footer-left,
  .footer-right {
    flex: unset;
    padding: 10px 0;
  }

  .footer-right {
    text-align: center;
    /* Center align on smaller screens */
  }

  .footer-contact {
    font-size: 1.1rem;
    margin-top: -100px;
  }

  .footer h4 {
    font-size: 32px;
    color: #f8f8f8;
    margin-bottom: 12px;
    font-weight: bold;
  }

  .footer p {
    font-size: 18px;
    text-align: center;
  }

  .footer a {
    font-size: 21px;
    text-decoration: none;
    line-height: 1.2;
  }

  .back-to-top {
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    right: 20px;
    bottom: 20px;
  }

}

@media (min-width: 1001px) and (max-width: 1190px) {

  .header {
    background-color: #002e5f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
  }

  .header .logo img {
    width: 60%;
    height: 5rem;
    top: 0;
    left: 0;
    background-size: cover;
  }

  .header .fa-bars {
    font-size: 60px;
    display: block;
    color: white;
  }

  .header .fa-bars:hover {
    color: #00bfff;
  }

  .header .navbar {
    position: fixed;
    top: -120%;
    left: 0;
    height: auto;
    width: 100%;
    background-color: white;
    z-index: 1000;
    border-top: .1rem solid rgba(0, 0, 0, .3);
  }

  .header .navbar ul {
    height: 100%;
    width: 100%;
    flex-flow: column;
  }

  .header .navbar ul li {
    margin: 1rem 0;
  }

  .header .navbar ul li a {
    color: grey;
    font-size: 2.8rem;
  }

  .header .fa-times {
    transform: rotate(90deg);
  }

  .header .nav-toggle {
    top: 5.8rem;
  }

  .navbar {
    display: flex;
    align-items: center;
    margin-top: 35px;
  }

  .section-head {
    margin-top: 70px;
  }

  .section-head h1 {

    font-size: 42px;
  }

  .articles {
    display: grid;
    max-width: 950px;
    margin-inline: auto;
    padding-inline: 24px;
    margin-bottom: 50px;
    margin-top: 20px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }

  .footer p {
    font-size: 18px;
    text-align: justify-left
  }

  .footer h4 {
    font-size: 24px;
    font-weight: bold;
  }

  .footer a {
    font-size: 21px;
    text-decoration: none;
    line-height: 1.2;
  }

  .back-to-top {
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    right: 20px;
    bottom: 40px;
  }
}