/* @import url("about.css"); */
@import url("careers.css");

a {
  text-decoration: none;
  color: #0032e7;
  transition: color 0.3s ease-in-out;
}

a:hover {
  color: #0032e7; /* Darker shade for link hover */
}

/* Blog Container */
.blog-container {
  max-width: 85%;
  margin: 50px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.blog-container:hover {
  transform: translateY(-5px); /* Hover effect for the blog container */
}

/* Blog Title */
.blog-title {
  font-size: 34px;
  color: #00080f;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.section-title {
  font-size: 26px;
  color: #0032e7;
  font-weight: 600;
  margin: 40px 0 20px;
  text-transform: uppercase;
  border-bottom: 2px solid #0032e7;
  display: inline-block;
  padding-bottom: 5px;
}

/* Blog Image */
.blog-image {
  width: 80vw;

  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-image:hover {
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
  transform: scale(1.01);
}

/* Paragraph Styling */
p {
  font-size: 18px;
  color: #555;
  margin-bottom: 25px;
  text-align: justify;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .blog-container {
    max-width: 95%;
    padding: 20px;
  }

  .blog-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 22px;
  }

  p {
    font-size: 16px;
  }
}

.digital-diary-header {
  max-width: 90%;
  margin: auto;
  padding: 1rem 1rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #2d3436;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.diary-title-wrapper {
  display: flex;
  flex-direction: column;
  /* gap: 1rem; */
}

.text-barDiv {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gradient-text,
.gradient-text-bold {
  font-size: 3rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(to right, #1abc9c, #2c3e50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.gradient-text-bold {
  background: linear-gradient(to right, #1abc9c, #2c3e50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.blue-bar {
  background-color: #1f264a;
  height: 2.5rem;
  border-radius: 4px;
  flex-grow: 1;
}

.blogscardwrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.blogcard {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  width: 100%;
}

.blogcardcontent {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  min-height: 300px;
}

.blogcardcontent:hover {
  transform: translateY(-5px);
}

.blogcardcontent:hover .card-image img {
  transform: scale(1.1);
  transition: transform 0.4s ease;
}

.carddetails h1 {
  position: relative;
  display: inline-block;
}

.carddetails h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 4px;
  width: 0%;
  background-color: #1abc9c;
  transition: width 0.3s ease-in-out;
}

/* Trigger on card hover */
.blogcardcontent:hover .carddetails h1::after {
  width: 100%;
}

.card-image {
  width: 40%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  transition: transform 0.4s ease;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carddetails {
  padding: 20px;
  flex: 1;
}

.carddetails {
  padding: 20px;
  margin-left: -15%;
}

.blogcardcontent img {
  width: 40%;
  object-fit: cover;
  max-height: 100%;
}

.carddetails h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.carddetails p {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  text-align: justify;
}

.read {
  display: inline-block;
  margin-top: 15px;
  color: #0032e7;
  font-weight: 600;
  text-decoration: none;
}

.h1 {
  font-family: 15px;
}

@media (max-width: 700px) {
  .blogcardcontent {
    flex-direction: column;
  }

  .card-image img {
    width: 100%;
    clip-path: none;
    height: auto;
  }

  .card-text {
    padding: 15px;
  }

  .card-image {
    width: 100%;
  }

  .carddetails {
    padding: 20px;
    margin-left: 0;
  }

  .carddetails p {
    text-align: justify;
  }
}
