@import url("bootstrap.min.css");
@import url("all.min.css");
@import url("owl.carousel.min.css");



.navbar-light .navbar-nav .nav-link:hover {
	color: #ff9600;
}

.bg-primary {
	background: #ff9600 !important;
}


.text-primary {
	color: #ff9600 !important;
}

.bg-danger {
	background: #e95108 !important;
}

.btn-danger {
	background: #e95108 !important;
}

.text-danger {
	color: #e95108 !important;
}
.bg-info {
	background: #3498db !important;
}

.bg-secondary {
	background: #F3F3F3 !important;
}

.bg-primary-light {
	background: #ff9600;
}

.font-weight-bold {
	font-weight: 600 !important;
}
.contact-icon i {
	font-size: 40px;
	margin: 15px 0;
}


@media (min-width: 992px) {
	.navbar-expand-lg .navbar-nav .nav-link {
		padding-right: 1rem;
		padding-left: 1rem;
	}
}

[class*="double-down-line"]::before,
[class*="double-down-line"]::after {
	background-color: green;
}

.landing-header.fixed-top,
.nav-logo-with-bg .navbar-brand,
.double-down-line.text-white::before,
.double-down-line.text-white::after,
.hover-bg-white:hover,
.fixed-header-bg-white.fixed-top,
[class*="double-down-line-left-white"]::before,
[class*="double-down-line-left-white"]::after {
	background-color: var(--theme-white-color);
}



.x-center,
.double-down-line::before,
.double-down-line::after,
.bg-shape::before,
.bg-shape::after {
	left: 50%;
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
}

.y-center {
	top: 50%;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.xy-center {
	position: absolute;
	top: 50%;
	left: 50%;
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}


[class*="double-down-line"] {
	position: relative;
	padding-bottom: 35px;
}

[class*="double-down-line"]::before,
[class*="double-down-line"]::after {
	content: "";
	height: 2px;
	position: absolute;
}

[class*="double-down-line"]::before {
	width: 120px;
	bottom: 10px;
}

[class*="double-down-line"]::after {
	width: 60px;
	bottom: 0;
}

[class*="double-down-line-left"]::before,
[class*="double-down-line-left"]::after {
	left: 0;
}


.footer-widget .double-down-line-left::before {
	width: 80px;
	bottom: 0;
}

.footer-widget .double-down-line-left::after {
	width: 40px;
	bottom: -5px;
}

/* --- TOP BAR --- */
.top-bar {
	background: linear-gradient(to right, #007bff, #0056b3);
	color: #fff;
	font-size: 14px;
}

.top-bar a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.top-bar .btn-custom {
	background-color: #ffc107;
	border: none;
	font-weight: 600;
	padding: 4px 12px;
}

.top-bar .btn-custom:hover {
	background-color: #e0a800;
	color: #fff;
}

/* --- SCROLLING TEXT --- */
.scrolling-wrapper {
	overflow: hidden;
	position: relative;
	height: 35px;
	background-color: #fff;
	border-radius: 8px;
	padding: 5px 15px;
}

.scrolling-text {
	position: absolute;
	white-space: nowrap;
	animation: scroll-left 18s linear infinite;
	color: #0056b3;
	font-weight: 600;
}

@keyframes scroll-left {
	0% {
		left: 100%;
	}

	100% {
		left: -100%;
	}
}

/* --- NAVBAR --- */
.navbar {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
	font-weight: 700;
	color: #0056b3 !important;
}

.nav-link {
	font-weight: 500;
	color: #333 !important;
}

.nav-link:hover {
	color: #ff9600 !important;
}

/* Shared button styling */
.btn-equal {
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
}

.scrolling-wrapper {
	overflow: hidden;
}

.scrolling-wrapper marquee {
	font-size: 0.95rem;
	font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
	.top-bar .row {
		flex-direction: column;
		text-align: center;
	}


	.navbar-brand img {
		height: 60px !important;
	}

	.navbar-brand span {
		font-size: 20px !important;
		text-align: center;
	}

	.navbar-nav .nav-link {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.top-bar a.btn,
	.top-bar a[href^="mailto:"] {
		width: auto;
		justify-content: center;
	}

	.top-bar .d-flex {
		flex-direction: row !important;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
	}

	.scrolling-wrapper marquee {
		font-size: 0.95rem;
		font-weight: 600;
	}
}

@media (max-width: 980px) {
	.navbar-brand span {
		font-size: 30px;
	}


}

.navbar {
	font-weight: 500;
	font-size: 15px;
}

.navbar .nav-link {
	position: relative;
	transition: all 0.3s ease;
	padding: 8px 15px;
}

.navbar .nav-link:hover {
	color: #ff9600 !important;
}

.navbar .nav-link::after {
	content: "";
	position: absolute;
	width: 0%;
	height: 2px;
	bottom: 4px;
	left: 15px;
	background-color: #ff9600;
	transition: width 0.3s;
}

.navbar .nav-link:hover::after {
	width: 60%;
}

.dropdown-menu {
	font-size: 14px;
	border-radius: 6px;
}

.dropdown-item:hover {
	background-color: #f1f1f1;
	color: #ff9600;
	font-weight: 500;
}

.btn-equal {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.375rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 0.2rem;
	white-space: nowrap;
	box-shadow: 2px 2px 6px #232020;
}
/*XX XX XX XX XX XX XX Slider Css XX XX XX XX XX XX XX XX*/
#banner1 {
	max-height: 700px;
	overflow: hidden;
}

.carousel-img {
	width: 100%;
	height: 700px;
	object-fit: cover;
}
@media only screen and (max-width: 768px) {
  .carousel-inner img {
    object-fit: contain !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
	.carousel-img {
		height: 250px;
	}
}

.btn-shadow {
    box-shadow: 3px 3px 5px -3px #232020;
}


.text-shadow {
	text-shadow: 2px 2px 4px rgb(29, 29, 29);
}
.h2-heading {
	font-size: 43px;
}

.course .carousel-indicators {
  left: 0;
  bottom: -30px;
  right: 0; 
  justify-content: center;
}

.course .carousel-indicators li {
  background: #a3a3a3;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.course .carousel-indicators .active {
  background: #117727;
}

/* Card spacing */
.carousel-item .card {
  margin: 0 5px;
}
.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.transition {
  transition: transform 0.5s ease;
}
#cardSlider {
    transition: transform 0.5s ease-in-out;
  }
  .card {
    min-height: 100%;
  }
  h5 {
	font-size: 16px;
	font-weight: 600;
  }

  .accordion-style .card {
    transition: transform 0.3s ease;
    border-radius: 8px;
  }

  .accordion-style .card:hover {
    transform: translateY(-2px);
  }

  .accordion-style .btn-link {
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
  }

  .accordion-style .card-body {
    font-size: 0.95rem;
    line-height: 1.6;
    border-radius: 0 0 8px 8px;
  }

  .rotate-icon {
    transition: transform 0.3s ease;
  }

  .btn-link.collapsed .rotate-icon {
    transform: rotate(0deg);
  }

  .btn-link:not(.collapsed) .rotate-icon {
    transform: rotate(180deg);
  }

  @media (max-width: 576px) {
    .accordion-style .btn-link {
      font-size: 0.95rem;
    }
  }
 .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #ffc107; /* Bootstrap warning color */
    color: #000;
    border: none;
    padding: 6px 16px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: none; /* Hidden by default */
  }

  .back-to-top.show {
    display: block;
  }

  .back-to-top:hover {
    background-color: #e0a800;
    transform: scale(1.1);
  }
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<== == == == == == Vertical Scrollbar Using CSS Start== == == == == ==>*/
/* For WebKit-based browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #ffc107;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3fff00;
}

/*<== == == == == == Vertical Scrollbar Using CSS End == == == == == ==>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/

/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<== == == == == == Notice Using CSS Start== == == == == ==>*/
.latest-updates-section {
  background: linear-gradient(to right, #fdfbfb, #ebedee);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
}

.section-title {
  font-weight: 700;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.action-card {
  padding: 20px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.bg-gradient-info {
  background: linear-gradient(135deg, #17a2b8, #0d6efd);
}

.bg-gradient-success {
  background: linear-gradient(135deg, #28a745, #198754);
}

.bg-gradient-warning {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.bg-gradient-danger {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

.updates-box {
  height: 280px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.05);
}

.scroll-content {
  animation: scrollUp 12s linear infinite;
}

.scroll-content:hover {
  animation-play-state: paused;
}

.update-card {
  padding: 12px 15px;
  background: #f8f9fa;
  border-left: 5px solid #0d6efd;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.update-card:hover {
  background-color: #e9f2ff;
}

.update-text {
  font-size: 1rem;
  color: #333;
}

@keyframes scrollUp {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

@media (max-width: 576px) {
  .updates-box {
    height: 200px;
  }

  .section-title {
    font-size: 1.25rem;
  }
}

/* Updated Responsive Styles */
@media (max-width: 576px) {
  #demo .carousel-item img {
    max-height: 200px;
  }
}

.sectionClass {
  padding: 60px 20px;
  background: radial-gradient(circle at top left, #f1f1f1, #d4e9ff);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.sectiontitle h2 {
  font-size: 36px;
  font-weight: bold;
  color: #002244;
  position: relative;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.sectiontitle h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #00bcd4;
}

.projectFactsWrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

.projectFactsWrap .item {
  background: #ffffff;
  color: #333;
  width: 240px;
  height: 240px;
  border-radius: 15px;
  padding: 30px 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.projectFactsWrap .item:hover {
  transform: translateY(-10px);
  background: #00bcd4;
  color: #fff;
}

.projectFactsWrap .item i {
  font-size: 48px;
  margin-bottom: 15px;
}

.projectFactsWrap .item .number {
  font-size: 38px;
  font-weight: 800;
}

.projectFactsWrap .item strong {
  font-size: 18px;
  margin-top: 8px;
  display: block;
}

@media (max-width: 768px) {
  .projectFactsWrap .item {
    width: 45%;
  }
}

.custom-box-section {
  padding: 60px 15px;
  background: linear-gradient(to bottom right, #eef2f3, #8e9eab);
}

.custom-box {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 15px;
}

.custom-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

.custom-box img {
  border-radius: 10px;
  max-height: 180px;
  object-fit: cover;
}

.custom-box .btn {
  font-weight: 700;
  border-radius: 25px;
  background-color: #ff4b5c;
  border: none;
  transition: background 0.3s;
}

.custom-box .btn:hover {
  background-color: #d43f4a;
}


 .hover-shadow:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.transition {
  transition: all 0.3s ease-in-out;
}


/*<!-- ==================== Custom CSS Our Certificates==================== -->*/

.bg-img {
  background: linear-gradient(135deg, rgba(248,249,250,0.85), rgba(233,236,239,0.85)),
              url('../images/Background_image.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
}

/* Image card styling */
.image-box {
  border: 2px solid rgba(255, 255, 255, 0.4); /* Transparent fixed border */
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.image-box:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.image-box img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.image-box:hover img {
  transform: scale(1.1);
}

/* Overlay with button */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 37, 41, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.image-box:hover .overlay {
  opacity: 1;
}

/* Button style */
.btn-outline-light {
  font-weight: 500;
  border-width: 1.5px;
  transition: all 0.3s ease;
}
.btn-outline-light:hover {
  background-color: #dc3545;
  border-color: #dc3545;
}

/* Modal image styling */
#imageModal img {
  max-height: 100vh;
  object-fit: contain;
}

/*<!-- ====================Explore Our Courses CSS ==================== -->*/


.swiper-container {
  width: 100%;
  padding: 20px 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.staff-member {
  text-align: center;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 10px;
  transition: all 0.3s ease;
}

.staff-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.staff-member img {
  width: 100%;
  height: 250px;       /* Adjust height as needed */
  object-fit: contain; /* Ensures full image shows without cropping */
  border-radius: 8px;
  background: #f8f9fa; /* Adds subtle background behind transparent images */
}

.staff-member .info {
  margin-top: 10px;
}



/*<!-- ==================== Our Certificates CSS ==================== -->*/

.certificate-card {
  background: #fff;
  border-radius: 10px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.certificate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.image-box {
  height: 320px; /* increased height */
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures full image is visible */
  transition: transform .3s ease;
}
.image-box:hover img {
  transform: scale(1.05);
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity .3s ease;
}
.image-box:hover .overlay {
  opacity: 1;
}

/* Mobile Horizontal Scroll */
.mobile-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.mobile-scroll-wrapper::-webkit-scrollbar {
  display: none;
}
.mobile-scroll-wrapper .certificate-card {
  flex: 0 0 80%;
  scroll-snap-align: start;
}
.mobile-scroll-wrapper .image-box {
  height: 300px; /* taller for mobile too */
}

/*<!-- ==================== Meet Our Team (Swiper Version) ==================== -->*/

.teamSwiper {
  padding: 20px 0;
}
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.card {
  width: 100%;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}


/*<!-- ==================== Our Certificates (Swiper Slider) ==================== -->*/

.certificate-card .image-box {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.certificate-card img {
  width: auto;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.image-box:hover .overlay {
  opacity: 1;
}

.swiper-container {
  padding-bottom: 40px;
}


/*<!-- ==================== about-card ==================== -->*/

.about-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  max-width: 350px;
  margin: 0 auto;
  transition: all 0.3s ease;
}
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.about-info h5 {
  color: #ff9600 !important;
}
hr{
    background: #ff9600 !important;
}
.about-info p {
  font-size: 15px;
  color: #555;
}