:root {
    --text: hsl(273, 50%, 8%);
    --background: hsl(0, 0%, 98%);
    --primary: hsl(275, 48%, 54%);
    --secondary: hsl(58, 49%, 70%);
    --accent: hsl(103, 48%, 62%);
    
    --alternate: hsl(56, 51%, 72%);
    --optional: hsl(206, 85%, 74%);
       
}

/*========Utility Classes=========*/
body {
    font-weight: 300;
    line-height: 1.8rem;
}

h1, h2, h3, h4, h5 {
    line-height: 2.5rem;
    font-weight: 600;
    color: rgb(18, 37, 114);
    font-family: 'Times New Roman', Times, serif;
}

.myf-w-lg {
    font-size: 45px;
    font-weight: 800;
    line-height: 2.9rem;
    font-family: 'Times New Roman', Times, serif;
}

.myd-color {
 color:rgb(231, 63, 7)
}

.myblue-color {
    color: rgb(18, 37, 114);
}

.myblue-bg {
    background-color: rgb(18, 37, 114);
}

.myhover-box {
    position: relative;
}

.myhover-box::before {
    position: absolute;
    content: " ";
    top: 0;
    bottom: 0;
    width: 0;
    background-color: rgb(88, 173, 252);
    columns: #fff;
    border-radius: 8px;
    z-index: -1;
}

.myhover-box:hover::before {
    width: 90%;
   transition: all .2s ease-in-out;
}

.box-box{
    z-index: 4;
}




/*========End Utility Classes=========*/

/*========Slider=========*/

/* Full height hero */
.slider-item {
  height: 90vh;
  min-height: 600px;
  position: relative;
}

/* Dark overlay for readability */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Caption styling */
.custom-caption {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  max-width: 650px;
}

/* Better typography */
.custom-caption h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

.custom-caption p {
  font-size: 1.1rem;
  color: #ddd;
}

/* Buttons */
.btn-outline-light:hover {
  background: #fff;
  color: #000;
}

/* Carousel fade effect */
.carousel-fade .carousel-item {
  transition: opacity 0.8s ease-in-out;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .custom-caption {
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .custom-caption h1 {
    font-size: 1.8rem;
  }
}


/*========End Slider=========*/

/*========Testimonials=========*/
.testimonial-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.inner-testiomonials {
    width: 100%;
    height: 400px;
}
/*========End Testimonials=========*/

/*========End Page Headers=========*/
.page-header{
  height: 300px;
  background: url('../img/slider-1.jpg') center/cover no-repeat;
  position: relative;
}

/* Dark overlay */
.page-header .overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
}

/* Ensure content is above overlay */
.page-header .container{
  z-index:2;
}

/* Breadcrumb styling */
.breadcrumb{
  background:transparent;
  margin-bottom:0;
}

.breadcrumb a:hover{
  text-decoration:underline;
}


/*========End Page Headers=========*/

.col-image {
 position: relative;
 background: url('img/baby.jpg') no-repeat center center/cover;
 height: 400px;
 filter: grayscale(20%);
}

.col-image::after {
    position: absolute;
    content: " ";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgb(15, 16, 15);
    opacity: .5;
}

.zed {
    position: absolute;
    z-index: 1;
    color: #fff;
}



.sponsor-box {
    display: flex;
    overflow: scroll;
    width: 90%;
    scroll-snap-type: x mandatory;
}

.sponsor-item {
    width: 200px;
    scroll-snap-align: start;
}



/*navbar*/
/* Logo sizing */
.logo {
  height: 42px;
  width: 150px;
}

/* Navbar links */
.navbar .nav-link {
  color: #333;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover underline animation */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ffc107;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

/* Hover color */
.navbar .nav-link:hover {
  color: #000;
}

/* CTA button polish */
.btn-warning {
  background: #ffc107;
  border: none;
}

.btn-warning:hover {
  background: #e0a800;
}


