/* landing/home.css */

.section-description {
  color: #636363;
  padding-bottom: 10px;
  border-bottom: 1px solid #636363;
}

/* Hero */
.hero-images {
  margin-top: 40px;
}

.hero-images>div {
  display: flex;
  flex-direction: column;
}

.hero-images-left,
.hero-images-right {
  flex-grow: 1;
}

.hero-images-left img,
.hero-images-right img {
  border-radius: 8px;
  max-height: 400px;
  -o-object-fit: cover;
  object-fit: cover;
}

.hero-images-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-images-right {
  position: relative;
  overflow: hidden;
  height: 100%;
  /* Adjust as needed */
}

.hero-images-right .hero-background-right {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  /* Cover the container */
  position: absolute;
  top: 0;
  left: 0;
}

.hero-banner-lg {
  position: relative;
  padding: 0;
  background-color: #274285;
  border-radius: 8px;
  color: #ffffff;
}

.hero-banner-lg .banner-icon {
  display: flex;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2509803922);
  justify-content: center;
  align-items: center;
  border-radius: 4px;
}

.hero-banner-lg .banner-icon .brain-icon {
  width: 30px;
  height: 30px;
}

.hero-banner-lg.light-grey {
  background-color: #F4F5F7;
}

.hero-banner-sm {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background-color: #F4F5F7;
  border-radius: 8px;
}

.hero-banner-sm .big-number {
  color: #3DA8E5;
  font-size: 46px;
  font-weight: bold;
}

.hero-highlight {
  color: #274285;
}

/* Banner */
.banner-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  z-index: 2;
  background-color: #f4f5f7;
}

.banner-content.text-dark,
.banner-content.text-dark .banner-title {
  color: #303030;
}

.banner-content .author-profile {
  min-width: 40px;
}

.banner-content .banner-sm-text {
  font-size: 14px;
}

.banner-content .blog-image-thumbnail {
  width: 100%;
  height: auto;
  max-height: 340px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
  min-height: 200px;
}

.banner-content .banner-description {
  color: #636363;
}

.banner-content .banner-footer {
  display: flex;
  align-items: flex-end;
  align-content: flex-end;
}

.banner-content .banner-footer .arrow {
  display: flex;
  justify-content: flex-end;
}

.banner-content .banner-footer .arrow-icon {
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  /* Smooth transition */
}

.banner-content .banner-footer .arrow-icon:hover {
  transform: rotate(45deg);
  /* Rotate the icon */
}

.banner-content .blog-banner-footer .arrow-icon {
  display: flex;
  width: 50px;
  height: 50px;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  /* Smooth transition */
}

.banner-content .blog-banner-footer .arrow-icon:hover {
  transform: rotate(45deg);
  /* Rotate the icon */
}

.banner-content .banner-title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  display: inline;
  padding-bottom: 2px;
  transition: all 0.35s linear;
  background: linear-gradient(to bottom, #3DA8E5 0%, #3DA8E5 98%);
  background-size: 0px 2px;
  background-repeat: no-repeat;
  background-position: left 100%;
}

.banner-content .banner-title:hover {
  background-size: 100% 2px;
}

.banner-content .banner-title a:hover {
  color: #274285 !important;
}

.banner-content .author-name,
.banner-content .author-name:hover {
  color: #274285 !important;
}

/* Hero Footer section */
.hero-footer-section {
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
  z-index: 2;
}

.hero-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-footer .email-input-group .custom-primary {
  height: 52px;
  border-radius: 8px;
}

.test-items {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-top: 20px;
}

.test-items .test-item {
  display: flex;
  flex-direction: column;
}

.test-items .test-item .test-item-title {
  font-size: 20px;
  font-weight: 500;
}

/* Latest Blogs */
.latest-blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin-top: 20px;
}

.category-chip {
  padding: 4px 10px;
  background-color: #157FBC;
  color: #ffffff;
  font-size: 14px;
  border-radius: 20px;
  width: fit-content;
}

.blog-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.blog-item {
  display: flex;
  align-items: flex-end;
  margin-top: 20px;
  border-radius: 8px;
}

.blog-item .banner-content {
  gap: 10px;
}

.blog-item .bottom {
  display: flex;
  align-items: flex-end;
}

.blog-item .blog-image {
  min-height: 250px;
}

.blog-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-wrap: pretty;
}

.blog-content .banner-title {
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  display: inline;
  padding-bottom: 2px;
  transition: all 0.35s linear;
  background: linear-gradient(to bottom, #3DA8E5 0%, #3DA8E5 98%);
  background-size: 0px 2px;
  background-repeat: no-repeat;
  background-position: left 100%;
}

.blog-content .banner-title:hover {
  background-size: 100% 2px;
}

.blog-content .meta-desc {
  color: #F4F5F7;
  font-size: 14px;
  opacity: 0.6;
  padding-right: 40px;
}

.blog-content .banner-icon-link {
  display: flex;
  justify-content: flex-end;
}

.blog-image {
  width: 100%;
  height: auto;
  max-height: 340px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 4px;
}

/* Authors */
.authors {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: normal;
  margin-bottom: 2px;
}

.publish-date {
  font-size: 12px;
  color: #636363;
}

.author-profile {
  width: 40px;
  height: 40px;
  border-radius: 30px !important;
  margin-right: 6px;
  -o-object-fit: cover;
  object-fit: cover;
}

.author-name {
  color: #ffffff;
}

.author-name:hover,
.author-name:focus {
  color: #EECE95;
}

.banner-content.text-dark .author-name {
  color: #303030;
  /* on light background */
}

.banner-content.text-dark .author-name:hover,
.banner-content.text-dark .author-name:focus {
  color: #274285;
}

/* Sign Up section */
.sign-up-section label {
  font-size: 14px;
  color: #636363;
}

.sign-up-section .subscription-form .agreement-checkbox {
  justify-content: center;
}

.subscription-form .agreement-checkbox {
  display: flex;
  flex-direction: row;
  gap: 6px;
}

.sign-up-section .email-input{
  width: 70% !important;
  margin-bottom: 10px;
}

/* Mobile CSS */
@media only screen and (max-width: 768px) {

  /* For mobile phones: */
  [class*=col-] {
    width: 100%;
  }

  .blog-main {
    margin-top: 10px;
  }

  .arrow-icon {
    margin-top: 20px;
  }

  .hero-banner-sm {
    margin-top: 20px;
  }

  .subscription {
    flex-direction: column;
    gap: 20px;
  }

  .subscription-blog {
    width: 100% !important;
  }

  .sign-up-section .subscription-form .agreement-checkbox {
    margin-top: 20px;
  }

  .sign-up-section h2 {
    text-align: center;
  }

  .sign-up-section .email-input, .sign-up-section .custom-primary{
    width: 100% !important;
  }
  
  .test-items {
    flex-direction: column;
    margin-top: 10px;
    gap: 20px;
  }

  .latest-blog-container {
    grid-template-columns: repeat(1, 1fr);
  }

}