@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/*MONTSERRAT*/
/*font-family: "Montserrat", sans-serif; */

/*POPPINS*/
/* font-family: "Poppins", sans-serif; */

.mybg-primary {
  background-color: #002379;
}

.mybg-secondary {
  background-color: #10bcee;
}

.mybg-dark {
  background-color: #2b3041;
}

.mybg-light {
  background-color: #f3f6f9;
}

.mybg-info {
  background-color: #240750;
}

.mytext-primary {
  /* color: #002379; */
  color: #00155d;
}

img {
    max-width: 100%;
}


.landing-div {
  background-image: url(../images/psilanding.jpg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  height: 100vh;
  /* background: white url("../images/psilanding.jpg") no-repeat scroll center;
  height: 100vh;
  background-size: cover;
  color: black; */
}

.landing-div {
  position: relative;
}

.landing-div .container h1 {
  position: absolute;
  top: 240px;
}

/* .navcol {
    position: absolute;
    margin-top: -60;
} */

/* HIGHLIGHT SECTION */
.text-just {
  text-align: justify;
}

#imgh,
#imgh1 {
  display: block;
  height: 40vh;
}

.gal-img{
    width: 430px;
    height: 370px;
}



/* OUR PROGRAMMES */
.card-programme {
  height: 400px;
  /* width: 400px; */
  /* background-color: aliceblue; */
  /* overflow: auto; */
}

.card-programme:hover {
  background-color: red;
  color: white;
}

.card-programme-1 {
  height: 400px;
}

/* HOME PAGE FORMS AVAILABLE */
.form-available {
  background-image: url(../images/background.jpg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
}

.landing-div2 {
    padding-top: 150px;
    padding-bottom: 100px;
}

/*PROJECTS*/
.project:hover {
    transform: scale(1.05);
    transition: all 0.5s ease-in-out;
    opacity: 0.8;

}

.image-container {
  position: relative; /* Container needs relative positioning */
  display: inline-block; /* Helps with responsiveness in a grid */
  overflow: hidden; /* Ensures overlay doesn't exceed container */
}

.overlay {
  position: absolute; /* Overlay positioned relative to its container */
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0; /* Text is hidden by default */
  transition: opacity 0.5s ease; /* Smooth transition for the effect */
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  /* Use flexbox utilities for centering text */
  display: flex;
  justify-content: center;
  align-items: center;
}

.project:hover .overlay {
  opacity: 1; /* Text appears on hover */
}

.overlay-text {
  color: white;
  font-size: 20px;
  text-align: center;
}

/* LIFE IN KAREN */
.activimgconf {
  display: block;
  height: 52vh;
}

.img-karen{
    display: block;
    height: 87.5vh;
    /* max-width: 100%; */
}


/* MEDIA QUERIES */

/* MEDIA QUERIES */ @media (max-width: 768px) { 
    iframe { 
         width: 300px;
         height: 300px;
     }

     .gal-img{
    width: 530px;
    height: 330px;
}
}