section {
    background-color: #080d2e;
    padding-top: 50px; /* Default padding for larger devices */
  }
  
  @media (max-width: 1024px) {
    .section {
      padding-top: 20px; /* Medium devices (tablets) */
    }
  }
  
  @media (max-width: 767px) {
    .section {
      padding-top: 30px; /* Small devices (mobile) */
    }
  }
  
  
  
  
  
  /* Default for large devices */
  .bg {
    background: linear-gradient(90deg, #080d2e 100%, #a9a9a9 51%, #080d2e 100%);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    height: 100%;
  }
  
  
  
  /* Default styles for all devices */
  .bg-section-inner {
    padding: 25px 10px;
    color: #fff;
    background-color: #080d2e;
  }
  .hero-blog{margin-top: 30px;}
  .hero-text {
    text-align: left;
    max-width: 100%;
  }
  
  .hero-text h1 {
    font-size: 66px;
    line-height: 70px;
    color: #fff;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 0;
    text-transform: initial;
    letter-spacing: -0.04em;
  }
  
  .hero-text h1 span {
    font-weight: 100;
    font-style: normal;
    letter-spacing: -0.039em;
    display: inline !important;
  }
  
  .hero-text p {
    margin-top: 16px;
    margin-bottom: 30px;
    font-size: 20px; /* Increased */
    line-height: 30px; /* Adjusted for better readability */
  }
  
  /* Large devices (992px and up) */
  @media (min-width: 992px) {
    .bg-section-inner {
        padding: 75px 20px 0;
    }
  
    .hero-text h1 {
        font-size: 60px; /* Slightly increased */
        line-height: 65px;
        margin-bottom: 30px;
    }
  
    .hero-text p {
        font-size: 22px; /* Slightly increased */
        line-height: 38px;
    }
  
    .hero-text {
        max-width: 100%;
    }
  }
  
  /* Medium devices (768px to 991px) */
  @media (min-width: 768px) and (max-width: 991px) {
    .bg-section-inner {
        padding: 60px 20px 0;
    }
  
    .hero-text h1 {
        font-size: 60px; /* Increased */
        line-height: 65px;
        margin-bottom: 25px;
    }
  
    .hero-text p {
        font-size: 22px; /* Increased */
        line-height: 34px;
    }
  
    .hero-text {
        max-width: 100%;
    }
  }
  
  /* Small devices (767px and below) */
  @media (max-width: 767px) {
    .bg-section-inner {
        padding: 50px 10px 0;
    }
  
    .hero-text h1 {
        font-size: 40px; /* Increased from 40px */
        line-height: 42px;
        margin-bottom: 25px;
    }
  
    .hero-text p {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 24px; /* Increased from 22px */
        line-height: 40px;
    }
    .hero-blog{margin-top: 10px;}
  }
  



.blog-post {
  border-top: 2px solid;
  padding-top: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.blog-meta {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.7;
}

.blog-meta p,
.blog-meta p a {
  margin: 0;
  font-size: 13px;
}

.blog-category a,
.blog-year {
  text-decoration: none;
  color: #fff;
}

.blog-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;  /* Forces a 3:2 ratio */
  overflow: hidden;
  border-radius: 8px;
}

.blog-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill the container without distortion */
}


.blog-thumbnail:hover {
  border-radius: 40px;
}

.blog-thumbnail:after {
  background: url('../images/img/plus-light.png') no-repeat center / contain;
  content: "";
  position: absolute;
  bottom: 7%;
  right: 5%;
  height: 87px;
  width: 87px;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.blog-post:hover .blog-thumbnail:after {
  opacity: 1;
}

.blog-details {
  margin-top: 15px;
}

a.blog-title {
  text-decoration: none;
}

.blog-title h2 {
  font-size: 25px;
  line-height: 1.3;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  margin-top: 25px;
}

.blog-section {
  padding: 3rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-meta {
    font-size: 12px;
  }

  .blog-meta p,
  .blog-meta p a {
    font-size: 11px;
  }

  .blog-title h2 {
    font-size: 22px; /* Slightly smaller for mobile */
    line-height: 1.2;
  }

  .blog-section {
    padding: 2rem 0;
  }
}

@media (max-width: 576px) {
  .blog-meta {
    font-size: 11px;
  }

  .blog-meta p,
  .blog-meta p a {
    font-size: 10px;
  }

  .blog-title h2 {
    font-size: 20px; /* Smaller for very small screens */
    line-height: 1.2;
  }

  .blog-section {
    padding: 1.5rem 0;
  }
}




.studies-content {
    padding-bottom: 3rem;
}

.studies-content h2 {
    font-size: 64px;
    line-height: 110%;
    color: #fff;
    font-weight: 700;
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 3rem;
    letter-spacing: -2px;
}

.studies-content h3 {
    line-height: 110%;
    color: #fff;
    font-weight: 700;
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 3rem;
    font-size: 2.8125rem;
    letter-spacing: -0.03em;
}

.studies-content p {
    color: #fff;
    font-size: 1.16rem;
    width: 100%;
    margin-bottom: 1rem;
}

.studies-content a {
    color: #cf9775;
    font-weight: 700;
    text-decoration: none;
}

.studies-content ul li {
    color: #fff;
    font-size: 1.125rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.studies-content img {
    width:100%;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .studies-content h2 {
        font-size: 48px;
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .studies-content h3 {
        font-size: 2.25rem;
        margin-top: 2.5rem;
    }

    .studies-content p, .studies-content ul li {
        font-size: 1rem;
    }

    .studies-content {
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .studies-content h2 {
        font-size: 40px;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }

    .studies-content h3 {
        font-size: 2rem;
        margin-top: 2rem;
    }

    .studies-content p, .studies-content ul li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .studies-content h2 {
        font-size: 32px;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }

    .studies-content h3 {
        font-size: 1.75rem;
        margin-top: 1.5rem;
    }

    .studies-content p, .studies-content ul li {
        font-size: 0.9rem;
    }

    .studies-content {
        padding-bottom: 2rem;
    }
}

