@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* Global */
html,
body {
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth !important;
}

:root {
  /* Primary Colors */
  --primary: #007bff;
  --primary-dark: #0056b3;
  --primary-light: #66b2ff;

  /* Secondary Colors */
  --secondary: #6c757d;
  --secondary-dark: #343a40;
  --secondary-light: #adb5bd;

  /* Accent Colors */
  --accent: #ffc107;
  --accent-dark: #e0a800;
  --accent-light: #fff3cd;

  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --gray: #6c757d;
  --light-gray: #f8f9fa;

  /* Alerts */
  --success: #28a745;
  --error: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
}

.heading-one {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 34px;
  text-align: left !important;
}

/* Hero section */
.hero {
  background-color: rgba(0, 24, 53, 1);
  padding: 3rem !important;
}

.hero .heading-one {
  color: var(--white);
  margin-bottom: 3rem;
  text-align: left;
}

.hero p {
  margin-bottom: 0;
}

.hero .date,
.hero .read-time {
  display: flex;
  align-items: center;
}

.hero .date-container {
  display: flex;
  width: fit-content;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.04);
  border-radius: 40px;
  padding: 0 2rem;
  margin-bottom: 1rem;
}

.hero .date-container img {
  margin-right: 0.5rem;
}

.hero .actual-date,
.hero .actual-time {
  font-weight: 400;
  font-size: 15px;
  color: var(--white);
  opacity: 0.8;
}

.hero .date {
  padding: 0.5rem 1.5rem 0.5rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero .read-time {
  padding: 0.5rem 0 0.5rem 1.5rem;
}

.hero .author-container {
  display: flex;
  align-items: center;
}

.hero .author-container img {
  margin-right: 0.5rem;
  width: 60px;
  height: auto;
  border-radius: 50%;
}

.hero .author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.hero .author-info address {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
  letter-spacing: 1px !important;
}

.hero .author-info .author-designation {
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
  opacity: 0.8;
}

.hero .col-sm-12:first-child {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding-top: 1rem;
}

.hero .col-sm-12:nth-child(2) {
  display: flex;
  justify-content: end;
  align-items: start;
}

/* Content section */
.content-sec h1,
.content-sec h2,
.content-sec h3,
.content-sec h4,
.content-sec h5,
.content-sec h6 {
  position: relative;
  margin-top: -70px;
  padding-top: 70px;
  z-index: -1;
}

.content-sec {
  padding: 3rem !important;
  position: relative;
  z-index: 1;
}

.content-sec .container {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.content-sec p {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--black);
  text-align: justify;
  word-spacing: -1px;
  hyphens: auto;
  margin-bottom: 20px !important;
}

.content-sec h2 {
  font-size: 30px !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  text-align: left !important;
  margin-bottom: 10px !important;
}

.content-sec h3 {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  text-align: left !important;
  margin-bottom: 10px !important;
}

.content-sec h4 {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  text-align: left !important;
  margin-bottom: 10px !important;
}

.content-sec h5 {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  text-align: left !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 10px !important;
}

.content-sec h6 {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--black) !important;
  text-align: left !important;
}

.content-sec blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
}

.content-sec ul {
  list-style: disc !important;
}

.content-sec ul li {
  margin-bottom: 8px !important;
}

.content-sec li {
  text-align: left;
}

.content-sec code {
  text-align: left;
}

.content-sec .toc {
  border: 0.5px solid #f1f1f1 !important;
  border-radius: 15px !important;
  box-shadow: 0 4px 8px 0 rgba(18, 53, 104, 0.1) !important;
  padding: 1rem 1rem 1rem 0;
  margin-bottom: 2rem;
}

.content-sec .author-sec {
  border: 0.5px solid #f1f1f1 !important;
  border-radius: 15px !important;
  box-shadow: 0 4px 8px 0 rgba(18, 53, 104, 0.1) !important;
  padding: 1rem;
  margin-bottom: 2rem;
}

.content-sec .toc h2 {
  font-weight: 600 !important;
  font-size: 20px !important;
  margin-bottom: 2rem !important;
  text-align: center !important;
}

.content-sec .toc ul {
  list-style: none !important;
}

.content-sec .toc ul li a {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  color: rgba(23, 23, 23, 0.8);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.content-sec .toc ul li a:hover {
  color: rgba(13, 110, 253, 0.8);
}

.content-sec .author-sec .author-img {
  width: 384px;
  height: auto;
  border-radius: 15px;
  margin-bottom: 1rem;
}

.content-sec .author-sec .author-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--black);
  opacity: 0.8;
  text-align: left;
  display: block;
}

.content-sec .author-sec .author-bio {
  font-weight: 400;
  font-size: 15px;
  color: var(--black);
  opacity: 0.8;
  text-align: justify;
  word-spacing: -1px;
  hyphens: auto;
  margin-bottom: 1rem;
}

.content-sec .author-sec .author-designation {
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  opacity: 0.8;
  text-align: left;
  margin-bottom: 0 !important;
}

.content-sec .author-sec .author-contact-container {
  display: flex;
  align-items: end;
  justify-content: start;
}

.content-sec .author-sec .author-contact-container img {
  width: 22px;
  height: auto;
  margin-right: 5px;
}

.content-sec .author-sec .author-contact-container .author-email {
  font-weight: 600;
  font-size: 13px;
  color: var(--black);
  opacity: 0.8;
  text-align: left;
}

.content-sec .share-links-container {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.content-sec .share-links-container .share-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
  margin-bottom: 0.5rem !important;
}

.content-sec .share-links-container .share-btn-container img {
  width: 50px;
  height: auto;
  margin-right: 0.5rem;
}

.content-sec .share-links-container .share-btn-container {
  width: 100%;
}

section.latest-blogs-new {
  padding-top: 0;
}

/* Responsive */
@media screen and (max-width: 992px) {
  .hero .col-sm-12:nth-child(2) img {
    display: none;
  }

  .content-sec h1 {
    font-size: 34px !important;
  }

  .content-sec h2 {
    font-size: 24px !important;
  }

  .content-sec h3 {
    font-size: 18px !important;
  }

  .content-sec h4 {
    font-size: 18px !important;
  }

  .content-sec h5 {
    font-size: 16px !important;
  }

  .content-sec .author-sec {
    display: flex;
    flex-direction: column;
  }

  .content-sec .author-sec .author-img {
    align-self: center;
  }

  .content-sec .toc {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 3rem 0 !important;
  }
}

@media screen and (max-width: 576px) {
  .hero {
    padding: 3rem 0 !important;
  }

  .heading-one {
    font-size: 24px;
    line-height: 150%;
  }

  .hero .date-container {
    padding: 0 1rem;
  }

  .hero .actual-date,
  .hero .actual-time {
    font-size: 14px;
  }

  .hero .author-container img {
    width: 56px;
  }

  .hero .author-info address {
    font-size: 18px;
  }

  .content-sec h1 {
    font-size: 24px !important;
  }

  .content-sec h2 {
    font-size: 18px !important;
  }

  .content-sec h3 {
    font-size: 16px !important;
  }

  .content-sec {
    padding: 1rem !important;
  }

  .content-sec p {
    font-size: 14px;
  }

  .content-sec .author-sec .author-img {
    width: 250px;
  }
}
