:root {
  --main-color: #3E0D50;
  --second-color: #C10A82;
  --third-color: #EFA416;
  --white-color: #ffffff;
  --black-color: #000000;
  --text-color: #6a7a77;
  --background-color: #f5f5f5;
  --background: linear-gradient(97deg,rgba(193, 10, 130, 1) 24%, rgba(239, 164, 22, 1) 84%);
  --placeholder-color: #a1a1a1;
  --box-shadow: 0 8px 32px 0 hsla(321, 90%, 40%, 0.26);
}
/*  
##################################################
#                  Max-Width                     #
##################################################
*/
/* =================== @media (max-width: 1200px) =================== */
@media (max-width: 1200px) {
}
/* =================== @media (max-width: 991px) =================== */

@media (max-width: 991px) {

  .slider-content {
    position: absolute;
    top: 50%;
    inset-inline-start: 0;

    transform: translateY(-50%);
    width: fit-content;
    z-index: 3;

  }
  .slider-content h1 {
    width: 600px;
    line-height: 1.6;
  }
  .slider-content h1 span:nth-child(1) {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
  }
  .slider-content h1 span:nth-child(2) {

    font-size: 1.2rem;
  }
}
/* =================== @media (max-width: 768px) =================== */
@media (max-width: 768px) {
  .footer-section {

    /* text-align: right; */
  }
  .footer-logo {
    text-align: center;
  }

  .footer-title {
    font-size: 1.2rem;
  }
  .footer-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
  }
  .footer-links {
    flex-direction: column !important;

    gap: 8px;
  }
  .footer-social {
    justify-content: center !important;
  }
  .footer-social-icon {
    margin: 0 6px;
    font-size: 1.3rem;
  }
  .slider-content {
    /* position: absolute; */
    /* top: 50%; */
    /* left: 50% !important; */
    /* transform: translate(-50%,-50%) !important; */
    /* width: 100%; */
    /* z-index: 3; */
    text-align: center;
  }
  .slider-content h1 {
    width: 100% !important;
    line-height: 1.6;
  }
  .slider-content h1 span:nth-child(1) {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
  }
  .slider-content h1 span:nth-child(2) {
    /* color: var(--text-color); */
    font-size: 1.2rem;
  }
  .blogs-section-custom .container-fluid::before {
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    content: "";
    position: absolute;
    background-color: hsla(176, 96%, 34%, 0.411);
    height: 40vh !important;
    width: 100%;
    top:160px !important;
    left: 50%;
    transform: translateX( -50%);
    z-index: 2;
  }
  .blogs-section-custom .container-fluid::after {
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    content: "";
    position: absolute;
    background-image: url("../images/bg.jpg");
    height: 40vh !important;
    width: 100%;
    top:160px !important;
    left: 50%;
    transform: translateX( -50%);
    z-index: 1;
  }
  .blog-card-custom .date{
    writing-mode:horizontal-tb !important;
    transform: rotate(0deg) !important;
  
  }
  
  .blog-img img {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }
  .blog-card-custom {
    height:500px;
  }
}
/*  
##################################################
#                  Min-Width                     #
##################################################
*/
/* =================== @media (min-width: 992px) =================== */
@media (min-width: 992px) {

  .hero-slider {
    position: relative;
  }
  .hero-slider .item {
    height: 100vh;
    position: relative;
    z-index: 1;
  }
  .hero-slider .item img {
    height: 100%;
    object-fit: cover;
  }
  .hero-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
    pointer-events: none;
  }
  .slider-content {
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    margin-inline-start: 60px;
    transform: translateY(-50%);
    width: fit-content;
    z-index: 3;
  }
  .slider-content h1 {
    width: 600px;
    line-height: 1.6;
  }
  .slider-content h1 span:nth-child(1) {
    font-size: 3rem;
    font-weight: bold;
    color: var(--main-color);
  }
  .slider-content h1 span:nth-child(2) {
    color: var(--white-color);
    font-size: 1.5rem;
  }
  .blogs-section-custom .container-fluid::before {
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    content: "";
    position: absolute;
    background-color: hsla(176, 96%, 34%, 0.411);
    height: 50vh;
    width: 100%;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .blogs-section-custom .container-fluid::after {
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    content: "";
    position: absolute;
    background-image: url("../images/bg.jpg");
    height: 50vh;
    width: 100%;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .blog-card-custom .date{
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  
  }
  .blog-card-custom .content-card {
    height: 250px;
  }
  .blog-img img {
    height: 300px;
    width: 300px;
    object-fit: cover;
  }
  .blog-card-custom {
    height: 300px;
  }
}
/* =================== @media (min-width: 1200px) =================== */
@media (min-width: 1200px) {

  .hero-slider-pages .text-slider h1 {
    font-size: 2.8rem;
    /* color: var(--second-color) !important; */
    font-weight: bold !important;
    text-wrap: nowrap;
  }
}
