/* Hero Section */

.hero-subtitle {
    font-size: 1.7vw; /* or adjust as needed */
    font-weight: 500;
    letter-spacing: 1px;
    padding-bottom:2px ;
  background:transparent;
  font-family: "Montserrat", sans-serif;
  }
   h1::before {
    content: none !important;
    display: none !important;
    height: 0 !important;
    border: none !important;
   }
.highlight {
    font-weight: 700;
    line-height: 1.2;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: #3FA34D;
    background: transparent;
    display: inline;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
}

.events-hero {
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001F54;
    background-image: url("/static/assets/bg-images/latestupdatesbg.png");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}


.events-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 48, 135, 0.3) 25%,
        transparent 25%,
        transparent 50%,
        rgba(0, 48, 135, 0.3) 50%,
        rgba(0, 48, 135, 0.3) 75%,
        transparent 75%,
        transparent
    );
    background-size: 60px 60px;
    opacity: 0.5;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1350px;
    width: 100%;
    margin: 0 10px;
    padding: 0 20px;
}
.breadcrumb {
    font-size: 20px;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 10px;
    font-family: "Montserrat", sans-serif !important;
    text-transform: uppercase;
    background: transparent !important;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #00cc00;
}

.breadcrumb span {
    color: #ffffff;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
}

/* .highlight {
    
} */


/* Arrow Button */
.button-container {
    max-width: 1300px; 
    margin: 20px auto;
    padding: 0 15px;
    display: flex;
    justify-content: flex-start;
}

.arrow-button {
    background: linear-gradient(45deg, #3fa34d, #00487c);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.arrow-button:hover {
    background: linear-gradient(45deg, #00487c, #3fa34d);
}

.arrow-icon {
    width: 24px;
    height: 24px;
}

/* Initiatives Section */
.initiatives-content {
    padding: 30px 0;
    background-color: #fff;
    margin-bottom: 50px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    /* Removed margin-right: -10px to restore original look */
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.initiative-col {
    flex: 0 0 32%;
    max-width: 32%;
    padding: 0 15px;
}

.mb-4 {
    margin-bottom: 30px;
}

.initiative-card {
    position: relative;
    background-color: #e6edf2;
    border-radius: 8px;
    box-shadow: none;
    height: 100%;
    min-height: 300px;
    transition: transform 0.3s ease;
    padding: 1px;
}

.initiative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(45deg, #00487c, #ffffff);
    z-index: -1;
}

.initiative-card .card-body {
    background-color: #e6edf2;
    border-radius: 7px;
    height: 100%;
}

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

.card-icon {
    position: absolute;
    top: 30px;
    left: 20px;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}
/* card body */
.card-body {
    padding: 80px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    font-size: 30px;
    font-weight: 600;
    color: #00487C;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 10px;
}

.card-text {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 40px;
    margin-top: 4px;
    flex-grow: 1;
}

.more-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    margin-top: auto;
}

.more-text {
    font-size: 14px;
    font-weight: 600;
    color: black;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    margin-right: 8px;
    text-decoration: none;
}

.more-arrow {
    width: 20px;
    height: 20px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-subtitle {
    font-size: 0.1vw; /* or adjust as needed */
    font-weight: 500;
   

  }
    .card-text {
        display: none;
    }
    .more-link {
        display: none;
    }
    .initiative-card {
        min-height: 120px;
    }
    /* .card-body {
        padding: 60px 20px 20px 20px;
    } */
    .card-body{
        padding: 15px; 
        display: flex;
        /* flex-direction: column; */
        max-height: 70px;
    }
    .card-icon {
        position: static; /* Remove absolute positioning */
        width: 30px; /* Smaller icon for narrower cards */
        height: 30px;
        margin-bottom: 0; /* Remove bottom margin */
        margin-right: 8px; /* Space between icon and title */
    margin-top: 8px; 
margin-left: 5px ;  }
/*     
    .card-title {
        font-size: 15px;
        margin-top: 10px;
        text-overflow:clip;
    } */

.card-title {
        font-size: 12px;
        margin-top: 0;
        margin-bottom: 0; /* Remove bottom margin */
        /* white-space: nowrap; Prevent wrapping */
        overflow: hidden;
         text-overflow: ellipsis;/* Clip with ellipsis */
        display: inline-block; /* Allow it to sit inline with icon */
        vertical-align: middle; /* Align with icon */
        /* text-overflow: clip; */
    }

    .events-hero {
        min-height: 120px;
    }
    .hero-title {
        font-size: 28px;
    }
}

@media (max-width: 556px) {

    .events-hero {
        min-height: 80px;
        padding-top:20px;

    }
    .breadcrumb{
      font-size: 14px;
      padding: 7px 2px;
      margin-left: 0;
    }
    .card-title {
        font-size: 12px;
        margin-top: 0; /* Remove extra top margin */
        margin-bottom: 0; /* Remove bottom margin */
        /* white-space: nowrap; Prevent wrapping */
        overflow: hidden;
         text-overflow: ellipsis;/* Clip with ellipsis */
        display: inline-block; /* Allow it to sit inline with icon */
        vertical-align: middle; /* Align with icon */
        /* text-overflow: clip; */
    }
    .hero-title {
        font-size: 18px;
    }
    .events-hero {
        min-height: 80px;
        padding-top:20px;

    }
    .arrow-button {
        width: 25px;
        height: 25px;
    }
    .arrow-icon {
        width: 14px;
        height: 14px;
    }
    .breadcrumb{
      font-size: 14px;
      padding: 7px 2px;
      margin-left: 0;
    }
    .hero-title {
        font-size: 18px;
    }
    .initiatives-content{
      padding: 0%;
    }
}

@media (max-width: 400px) {
  .card-title{
    font-size: 10px;
    padding: 0;
    margin: 0;
  }
  .card-icon{
    width: 20px;
    height: 20px;
  }
   .card-body{
        /* padding: 15px;  */
        padding: 5px;
        display: flex;
        /* flex-direction: column; */
        /* max-height: 70px; */
    }
}

nav.breadcrumb, nav.breadcrumb a, nav.breadcrumb span {
    font-family: 'Montserrat', sans-serif !important;
}
