/* Custom Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .modal-content {
        width: 90%;
        margin: 20% auto;  /* Push down a bit */
        padding: 15px;
        font-size: 14px;
    }
}

    /* Close Button */
    .close {
      color: #333;
      float: right;
      font-size: 24px;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover {
      color: #000;
    }

    .course-line {
      color: #007bff;
      cursor: pointer;
      text-decoration: underline;
    }
	
	.media service-box .media-body {
	height:200px
	}
	.media  ul{
	line-height:2.5 !important;
	}
	.nospace{
	line-height:0;
	}
	


/* Reset any template overrides */
.portfolio-items,
.portfolio-item {
  display: block !important;
  float: none !important;
  width: auto !important;
  position: relative !important;
}

/* Portfolio images always full width inside column */
.portfolio-item-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Nice spacing */
.portfolio-item-inner {
  margin-bottom: 20px;
}

/* Wrap portfolio item */
.portfolio-item-inner {
  position: relative;
  overflow: hidden;
  border:1px solid #191919;
}

/* Thumbnail images */
.portfolio-item-inner img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
  
}

/* Overlay text */
.portfolio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);   /* dark overlay */
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover effects */
.portfolio-item-inner:hover img {
  transform: scale(1.05); /* subtle zoom */
}

.portfolio-item-inner:hover .portfolio-info {
  opacity: 1; /* show overlay */
}

/* Limit image size inside GLightbox */
.glightbox-container .gslide-image img {
  max-width: 90vw;   /* make image a little smaller than full screen width */
  max-height: 85vh;  /* also limit height so it doesn't touch edges */
  border: 8px solid #fff;  /* white border (adjust thickness/color) */
  border-radius: 12px;     /* optional rounded corners */
  box-shadow: 0 8px 30px rgba(0,0,0,0.5); /* nice shadow */
}

/* Darker semi-transparent background */
.glightbox-container .goverlay {
  background: rgba(0, 0, 0, 0.75) !important; /* 75% opacity */
  backdrop-filter: blur(8px);                 /* blur the page behind */
  -webkit-backdrop-filter: blur(8px);         /* Safari support */
}




#contact {
  position: relative;
}

#contact iframe {
  position: relative;
  z-index: 1;  /* map stays behind */
  display: block;
}

#contact .container-wrapper {
  position: absolute;   /* place on top of map */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;           /* above map */
  pointer-events: none; /* don’t block map globally */
}

#contact .contact-form {
  pointer-events: auto; /* allow clicks inside contact info */
  background: rgba(255,255,255,0.9); /* optional: translucent bg for readability */
  padding: 20px;
  border-radius: 6px;
}

.contact-form {
  position: absolute; /* keeps it over the map */
  top: 20px;          /* distance from the top of the map */
  right: 20px;        /* distance from the right edge */
  max-width: 300px;   /* controls box width */
  width: 90%;         /* responsive width on smaller screens */
  background: none;   /* remove semi-transparent overlay */
  padding: 15px;      /* inner spacing */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* optional subtle shadow */
  z-index: 100;       /* ensures it's above the map */
}

@media (max-width: 768px) {
  .contact-form {
    position: relative; /* stack below map on smaller screens */
    top: auto;
    right: auto;
	max-width: 600px;
    margin: 15px auto;
    width: 95%;
  }
}



#main-slider {
  position: relative;
  width: 100%;
  height: 600px; /* adjust as needed */
  overflow: hidden;
}

#main-slider .owl-carousel .item {
  height: 600px; /* same as above */
  background-size: cover;
  background-position: center;
}



<style>
/* Optional: ensure arrows and dots are visible */
.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}
.owl-nav button {
  background: rgba(0,0,0,0.5);
  border: none;
  padding: 10px 15px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.owl-dots {
  text-align: center;
  margin-top: 10px;
  z-index: 10;
}
.owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.7);
  margin: 0 5px;
  border-radius: 50%;
  cursor: pointer;
}
.owl-dot.active {
  background: #fff;
}