body {
	font-family: sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f4f4f4;
	background-image: url("background.jpg"); /*Optional Background image*/
	background-size: cover;
	background-repeat: no-repeat;
}

*, *:before, *:after {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

header {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.top-bar {
	background-color: white; /* Dark blue color */
	color: white;
	padding: 3px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.social-icons {
	display: flex;
	gap: 10px;
}

.social-icons a {
	color: white;
	text-decoration: none;
}

.main-content {
	background-color: white;
	padding: 20px;
	display: flex;
	align-items: center;
}

.police-logo {
	width: 350px;
	height: auto;
	margin-right: 20px;
}

.text {
	flex: 1;
	font-size: 14px;
}

.other-logos {
	display: flex;
	gap: 20px;
}

.other-logos img {
	width: 120px;
	height: auto;
}
/*=============================== 
			Start of Menu 
================================*/
/*  menu css */
.main-nav {
	background-color: #294E70; /* Dark blue background */
	overflow: visible;
}

.menu-toggle {
	display: none; /* Hidden by default for larger screens */
	cursor: pointer;
	position: relative;
	top: 2px;
	left: 10px;
	padding: 2px 0 2px 0;
}

.menu-toggle .bar {
	display: block;
	width: 25px;
	height: 4px;
	margin: 8px 0;
	background-color: white;
	transition: transform 0.3s; /* Add transition for smooth animation */
}

.menu {
	list-style: none;
	margin: 0;
	display: flex;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 17px;
	white-space: nowrap;
	width: auto; /* Automatically adjust to content */
}

.menu li {
	margin: 0 2px;
	list-style: none;
}

.menu a {
	color: white;
	text-decoration: none;
	padding: 5px 10px; /* Adjust padding as needed */
}

/* Style for dropdown */
.dropdown {
	position: relative;
}

.dropdown-toggle::after {
	content: "\25BC"; /* Down arrow */
	margin-left: 5px;
}

.dropdown-menu {
	display: none;
	position: absolute;
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
	left: 0;
	width: auto; /* Automatically adjust to content */
	min-width: fit-content; /* Ensure the menu adapts dynamically */
	text-align: left;
	z-index: 10;
}

.dropdown-menu li a {
	display: block; /* Make the <a> tag fill the entire width */
	width: 100%;
	/* Ensure <a> takes up the full width of its parent <li> */
	padding: 10px; /* Adjust padding for clickable area */
	color: black;
	text-decoration: none;
}

/* Hover effect for first-level submenu */
.dropdown-menu li a:hover {
	background-color: #1e3a56; /* Darker background on hover */
	color: white;
}

.dropdown:hover>a {
	background-color: #294E70;
	color: white;
}

.dropdown:hover .dropdown-menu {
	display: block;
	top: 100%; /* Positions the dropdown just below the parent menu */
	left: 0; /* Aligns the dropdown to the left of the parent */
	padding-left: calc(5px - 200px);
	padding-right: 5px;
}

.dropdown.active .dropdown-menu, .dropdown:hover .dropdown-menu {
	display: block;
	width: 100%;
}

.dropdown-menu li {
	margin: 0; /* Remove margin from nested list items */
	width: 100%;
}

.dropdown-menu li a:hover {
	background-color: #294E70;
	color: white; /* Change text color on hover */
}

.dropdown-menu a {
	color: white;
	text-decoration: none;
	padding: 10px 15px;
	display: block;
}
/* Second-level submenu positioning */
.dropdown-menu .dropdown .dropdown-menu {
	position: absolute; /* Position it relative to the parent <li> */
	left: 100%; /* Position it to the right of the parent */
	top: 0; /* Align it to the top of the parent */
	display: none; /* Hidden by default */
	z-index: 9999; /* Ensure it's on top of other elements */
}

/* Show second-level submenu on hover */
.dropdown-menu .dropdown:hover>.dropdown-menu {
	display: block;
}

/* Second-level submenu items */
.dropdown-menu .dropdown .dropdown-menu li a {
	padding: 10px 20px; /* Increase padding to make it more distinct */
}

.dropdown-menu .dropdown .dropdown-menu li a:hover {
	background-color: #294E70;
	color: white;
}

/* First-level submenu item with an arrow indicating there's a second level */
.dropdown-toggle::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent; /* Left half of the arrow */
	border-right: 5px solid transparent; /* Right half of the arrow */
	border-top: 5px solid #fff; /* Arrow color */
	margin-left: 8px; /* Space between the menu text and the arrow */
	transition: transform 0.3s ease; /* Smooth transition when rotating */
}

/* For second-level menu items (which have third-level submenus) */
.dropdown-menu .dropdown>.dropdown-menu .dropdown-toggle::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #fff;
	margin-left: 8px;
}

/* For third-level menu items */
.dropdown-menu .dropdown .dropdown-menu li>.dropdown-toggle::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #fff;
	margin-left: 8px;
}

/* Mobile styles */
@media ( max-width : 768px) {
	.menu {
		display: none;
		flex-direction: column;
		background-color: #294E70;
	}
	.menu.active {
		display: flex;
	}
	.menu-toggle {
		display: block;
		/* float: right;
		padding-right: 20px; */
		left: 3px;
	}
	/* .dropdown-menu {
		position: relative;
		display: none;
	}
	.dropdown.active {
		display: block;
	} */
	.menu {
	padding-left: 1px;
	}
}
/* Responsive Design */
@media ( max-width : 768px) {
	.main-content {
		flex-direction: column;
		align-items: center;
	}
	.police-logo {
		margin-bottom: 10px;
	}
	.other-logos {
		flex-wrap: wrap;
		justify-content: center;
	}
	.other-logos img {
		width: 80px;
	}
}

/*===========================
	Start Hero Area Banner CSS
=============================*/
/* Slider container settings */
.slider-container {
	
	overflow: hidden;
	/* Ensures the content that exceeds the container height is hidden */
	/* height: 700px; */
	top: 213px;
	width: 100%;
	position: relative;  /* Ensure positioning context for child elements */
}

.slider-wrapper {
	position: relative;
	/*     margin: 13% auto; */
	/* margin-top: 13%; */
	/* height: auto;
    max-height: 583px; */ /* Optional: constrain height if needed */
    height: 583px;
	display: flex; /* Using flexbox to place images in a row */
	overflow: hidden;
	padding: 0 20%; /* Leave space for left & right div */
	align-items: center;
	
	
}

.slider-wrapper1 {
	position: absolute;
	height: 583px;
	/* display: flex; Using flexbox to place images in a row
	overflow: hidden;
	padding: 0 20%; Leave space for left & right div
	align-items: center; */
}

.left-div,
.right-div {
  position: absolute;  /* Take them out of normal document flow */
  top: 213px;  /* Align to the top of the container */
  height: 583px;  /* Match the height of the images */
  width: 20%;  /* Take up 5% of the container width */
  /* background-color: #333; */  /* Dark background for visibility */
  background-color: aliceblue;
  /* background-color: rgba(0, 0, 0, 0.5); */ /* Semi-transparent background for arrows */
  /* cursor: pointer; */
  font-size: 14px;
  /* display: flex; */
  justify-content: center;  /* Center any content like icons */
  align-items: center;  /* Center content vertically */
  color: black;  /* Text color */
  z-index: 10;
  }

/* Position the left and right divs */
.left-div {

  left: 0;  /* Position on the left side */
}

.right-div {

  right: 0;  /* Position on the right side */
}


.slider {
	display: flex; /* Makes all images appear in a row */
	transition: transform 0.5s ease-in-out;
	/* Smooth transition for sliding effect */
	width: max-content; /* Allow it to grow based on number of images */
	-webkit-overflow-scrolling: touch;     /* Enables smooth scrolling on iOS */
	scroll-behavior: smooth;
}

.slider img {
	width: auto /* or 1141px if fixed width */
  	max-width: 1152px;
	height: 583px; /* Height should remain consistent */
	object-fit: inherit;
	object-position: bottom;
	flex-shrink: 0;
}

/* For the navigation buttons */
.slider-nav {
	display: flex;
	justify-content: center;
	gap: 10px;
	position: absolute;
	bottom: 3px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.slider-nav a {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #3d08d2f7;
	opacity: 0.75;
	transition: opacity 0.3s ease;
}

.slider-nav a:hover {
	opacity: 1;
}

/* marquee section */
#marqueeContainer {
	width: 100%;
	height: 25px;
	overflow: hidden;
	border: 1px solid #ccc; /* Optional border */
	margin: 0px auto;
	position: relative;
}

#marquee:hover {
	animation-play-state: paused; /* Pause animation on hover */
}

#news-box {
	width: 8px;
	height: 100%;
	background-color: darkblue;
	display: flex;
	justify-content: center;
	align-items: center;
}

#news-box>img {
	width: 250px;
	height: auto;
	z-index: 5;
	/* 	padding-left:100px; */
}

#scrolling-text {
	position: absolute; /* Key change: Use absolute positioning */
	right: 0;
	top: 0;
	width: calc(100% + 100px);
	white-space: nowrap;
	animation: scroll-left 10s linear infinite;
}

#marquee {
	width: 100%; /* Removed double width */
	position: absolute; background; # ccc;
	white-space: nowrap;
	animation: scroll-right-left 50s linear infinite;
	display: inline-block;
	/*   transition: transform 0.3s ease-in-out; Added for smoother transitions */
	right: 0;
	user-select: none;
	/*   overflow: hidden;  */
}

#marquee p {
	margin: 0;
	flex: 1;
	user-select: none;
	padding: 15px;
	margin-left: 200px; /* centering the text */
}

@keyframes scroll-right-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
#marquee:hover {
	animation-play-state: paused; /* Pause animation on hover */
}

.buttons {
	position: absolute; /* Position buttons absolutely */
	top: 50%;
	right: 10px; /* Adjust position as needed */
	transform: translateY(-50%); /* Vertically center buttons */
	display: flex;
	gap: 10px;
}

.buttons button {
	background-color: lightgrey;
	border: none;
	padding: 5px 10px;
	cursor: pointer;
}

.buttons button:hover {
	background-color: #ddd;
}

/* Important Links Section */
/* #important-links {
	background-color: #f0f0f0;
	padding: 20px;
	text-align: center;
} */

#important-links h2 {
	margin-bottom: 20px;
}

/* .link-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
} */

/* .link-container a {
	display: block;
	width: 150px; Adjust as needed
	margin: 10px;
}
 */
 
.link-container img {
	max-width: 100%;
	height: 80%;
}

/* .link-container a {
	display: block;
	width: 250px;
	margin: 10px; 
	opacity: 1;
	transition: opacity 0.3s; Smooth opacity transition
} */

.link-container a.active {
	opacity: 1;
}

#important-links .link-container {
	overflow-x: auto;
	white-space: nowrap; /* Prevents line breaks */
	display: flex;
	flex-wrap: inherit;
	animation: scroll 18s linear infinite; /* Adjust 25s for speed */
	gap: 2px;
}

#important-links .link-container:hover {
	animation-play-state: paused; /* Pause on hover */
}

#important-links .link-container a {
	display: inline-block; /* Important for horizontal flow */
	width: 200px;
	margin: 2px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    } /* Scroll to the left */
}

/* Simple Logo Carousel (CSS Only - Limited Functionality)*/
/* .link-container {
	display: flex;
	overflow-x: auto; Enable horizontal scrolling
	scroll-snap-type: x mandatory; Snap to items
	-webkit-overflow-scrolling: touch; Improve scrolling on mobile
} */

/* .link-container a {
	display: block;
	width: 150px;
	margin: 10px;
	scroll-snap-align: start; Align to start of container
} */

/* Responsive adjustments */
/* @media ( max-width : 768px) {
	... other responsive styles ...
	.link-container a {
		width: 100px;
		margin: 5px;
	}
} */

/* Photo Gallery Styling */
#photo-gallery {
	background-color: #f0f0f0;
	padding: 20px;
	text-align: center;
}

.main-image {
	position: relative;
	display: flex;
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */
	width: 100%;
	margin: 20px auto; /* Add margin for spacing */
	overflow: hidden; /*to prevent image overflow */
}

.main-image img {
	max-width: 40%; /* Adjust max-width as needed */
	height: auto;
	display: block;
}

#photo-gallery .button-container {
	position: relative;
	top: 280px; /* Adjust as needed */
	left: 49.6%;
	transform: translateX(-50%);
	justify-content: space-between; /* Space buttons evenly */
	width: 39%; /* Adjust as needed */
	display: none; /* Initially hidden */
	box-sizing: border-box;
	z-index: 5;
}

#photo-gallery .button-container button {
	background-color: #e9d9d99c;
	/* semi-transparent black background*/
	color: white;
	border: none;
	padding: 12px 12px;
	cursor: pointer;
	font-size: 26px;
	border-radius: 50%;
}

#photo-gallery .button-container.show {
	display: flex;
}

.show {
	display: flex;
}

/*optional style for arrow buttons*/
.button-container button::before {
	content: "";
	display: inline-block;
	width:  0px;
	height: 10px;
}

.album-thumbnails {
	display: flex;
	flex-wrap: wrap;
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */ /* added*/
	margin: 10px 0;
}

.thumbnail {
	width: 200px;
	margin: 10px;
	text-align: center; /* Center text */
	border: 1px solid #ccc;
	padding: 5px;
	display: flex; /* Make thumbnail a flex container */
	flex-direction: column; /* Align items vertically */
	justify-content: center; /* Center items vertically */
	align-items: center; /* Center items horizontally */
}

.thumbnail img {
	max-width: 100%;
	height: auto;
	display: block; /* Prevents extra space below image */
}

/* Responsive adjustments for smaller screens */
@media ( max-width : 768px) {
	.button-container {
		width: 100%; /* Take full width on smaller screens */
		justify-content: space-around; /* Adjust button spacing */
		bottom: 5px; /*Adjust position as needed */
	}
	.button-container button {
		font-size: 14px; /* Slightly smaller font size */
		padding: 6px 10px; /* Adjust padding */
	}
}
/* Adjust the button container based on screen size */
@media ( max-width : 768px) {
	.button-container button {
		font-size: 24px;
		padding: 10px 10px;
	}
}

/* To Force button visibility in smaller screens */
@media ( max-width : 768px) {
	.button-container.show {
		display: flex; /*This line is important to show buttons on mobiles*/
	}
}

.safety-security {
	/* ... previous styles ... */
	position: relative; /* Needed for absolute positioning of background */
	overflow: hidden; /* To contain the background animation */
}

.safety-security::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("background_image.jpg");
	/* Replace with your image */
	background-size: cover;
	animation: animateBackground 10s linear infinite;
	/* Adjust animation speed and duration */
	z-index: -1; /* Place the background behind the cards */
}

@keyframes animateBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -100% 0;
    } /* Scrolling effect */
}
.safety-security {
	position: relative; /* Needed for absolute positioning */
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.safety-security .bg-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; /* Cover the entire section */
	z-index: -1;
}

.safety-cards {
	z-index: 1;
}

.safety-security {
	text-align: center;
	margin-bottom: 20px;
}

.safety-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around; /* Center cards horizontally */
}

.safety-card {
	width: 185px !important;
	height: auto;
	margin: 10px;
	padding: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Added slight shadow */
	text-align: center;
	background-color: #fff; /* White background for cards */
}

.safety-card img {
	max-width: 80%; /* Adjust size if needed */
	margin-bottom: 10px;
}

.safety-card button {
	background-color: #4CAF50;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

.safety-card-btn {
	background-color: #4CAF50;
	color: white;
	padding: 8px 16px;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.safety-card-btn:hover {
	background-color: #3e8e41; /* Darker green on hover */
	font-weight: 600;
	text-decoration: none;
}

.e-services {
	text-align: center;
	margin-bottom: 20px;
	padding: 210px 0 40px 0;
}

.e-card {
	width: 15% !important;
	height: auto;
	margin: 10px;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Added slight shadow */
	text-align: center;
	background-color: #fff; /* White background for cards */
}

.e-card img {
	max-width: 80%; /* Adjust size if needed */
	margin-bottom: 10px;
	border-radius: 50%;
}

.btn2 {
	background-color: rgba(0, 0, 0, 0.6);
	color: white;
	padding: 5px 5px;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
	transition: background-color 0.3s ease;
	position: absolute;
	bottom: 4px; 
	left: 50%; 
	transform: translateX(-50%); 
	z-index: 2;
	cursor: pointer;
}

/* .btn2:hover {
	background-color: #0082fe; light blue on hover
	color: #000;
	font-weight: 600;
	text-decoration: none;
} */

.whats-new {
	position: relative; /* Needed for absolute positioning */
	overflow: hidden;
	width: 96%;
	margin: 0 auto;
	height: auto;
}

.container {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	overflow: hidden;
	height: 100%;
}

.left-column {
	flex: 33%;
	padding: 10px;
	padding-bottom : 0px;
	box-sizing: border-box;
	background-color: #fff;
	/* border-right: 10px solid #ccc; */
	border: 2px solid #ccc;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* Added slight shadow */
	//
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 1);
	height: 100%;
	z-index: 10;
}

.gutter {
	flex: 50px; /* Increased gutter space */
}

.right-column {
	flex: 30%;
	padding: 20px;
	box-sizing: border-box;
	background-color: #fff;
	border: 2px solid #ccc;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Added slight shadow */;
	height: 100%;
	z-index: 10;
}

.left-column h2, .right-column h2 {
	color: #333;
	margin-bottom: 15px;
}

.left-column ul {
	list-style: none;
	padding: 0;
}

.left-column li {
	margin-bottom: 10px;
}

.bullet {
	margin-right: 5px;
	color: #007bff;
}

.right-column p {
	line-height: 1.6;
}

.dgp-image {
  width: 100%;         /* Allow it to take full container width */
  max-width: 500px;    /* Optional: prevent it from becoming too large */
  margin: 0 auto;      /* Center it horizontally if needed */
  text-align: center;  /* Align content center */
  height: 30%;        /* Let content define the height */
}

.dgp-image img {
	max-width: 100%;
	border-radius: 50%;
	border: 3px solid #fff;
	height: 100%;
	margin: -16px 0;
}

.whats-new-header {
	display: flex;
	align-items: center; /* Vertically align icon and text */
	margin-bottom: 15px;
}

.notice-scroller {
  height: 490px; /* Adjust as needed */
  overflow: hidden;
  position: relative;
  padding: 5px;
}

#noticeBoardList {
  display: inline-block;
  animation: scroll-up 20s linear infinite; /* Adjust time for speed */
  padding: 0;
  margin: 0;
  list-style: none;
}

.notice-scroller:hover #noticeBoardList {
  animation-play-state: paused;
}

@keyframes scroll-up {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-100%);
  }
}

.icon-item {
  padding: 10px 0;
  font-size: 12px;
  /* display: flex; */
  display: inline flow-root list-item;
  align-items: center;
  gap: 10px;
}

.icon {
	width: 20px; /* Adjust size as needed */
	height: auto;
	margin-right: 10px; /* Space between icon and text */
}

.download-link {
	display: inline-flex;
	align-items: center;
}

.download-link img {
	width: 16px;
	margin-left: 5px;
}

#scrollUp {
	bottom: 15px;
	right: 15px;
	padding: 10px 20px;
	background: #black;
	color: #fff;
	font-size: 25px;
	width: 45px;
	height: 45px;
	text-align: center;
	line-height: 45px;
	padding: 0;
	border-radius: 3px;
	box-shadow: 0px 0px 10px #00000026;
}

#scrollUp:hover {
	background: #2C2D3F;
}
/* Responsive adjustments */
@media ( max-width : 768px) {
	.safety-card {
		width: 45%; /* Adjust width for smaller screens */
		margin: 5px; /* Reduce margin */
	}
	#marqueeContainer {
		display: none;
	}
}

@media ( max-width : 420px) {
	.safety-card {
		width: 90%; /* Adjust width for very small screens */
		margin: 5px;
	}
	#marqueeContainer {
		display: none;
	}
}
/* Responsive adjustments */
@media ( max-width : 900px) {
	.container {
		flex-direction: column;
	}
	.right-div{
	flex-direction: column;
	}
	.gutter {
		display: none;
	}
}

/* Footer Styling */
footer {
	background-color: #595454;
	color: #fff;
	padding: 20px;
	text-align: center;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: flex-start;
}

.column {
	flex: 1;
	margin: 10px;
}

.social-icons {
	color: white;
	display: flex;
	justify-content: center;
	gap: 10px;
	padding-right: 10px;
}

footer ul {
	list-style: none;
	padding: 0;
}

footer li {
	margin-bottom: 5px;
}

.copyright {
	text-align: center;
	margin-top: 10px;
	font-size: 14px;
}

/* Responsive adjustments */
@media ( max-width : 768px) {
	.footer-content {
		flex-direction: column;
		align-items: center;
	}
	.column {
		margin: 10px 0;
		text-align: center;
	}
	/* .link-container {
		justify-content: center;
	} */
	/* .link-container a {
		width: 200px;
		margin: 5px;
	} */
}

/* Each E-Card Styling */
.e-card1 {
	/*     flex: 1 1 calc(33.333% - 20px); Makes each card take 1/3 of the container width */
	box-sizing: border-box;
	cursor: pointer;
	/* Ensures padding and borders don't affect the width */
	background-color: #fff;
/* 	padding: 73px; */
	text-align: center;
	width: 25%;
    border-radius: 40px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow */
	transition: transform 0.3s ease-in-out; /* Add smooth hover effect */
	position: relative;
	overflow: hidden;
	background-size: 80%; 
	background-repeat: no-repeat; 
	background-position:center; 
	background-position-y: 40%; 
	min-height: 200px;
}

.e-card1:hover {
	transform: translateY(-5px); /* Hover effect */
}

/* E-Card Image Styling */
.e-card1 img {
	max-width: 100%;
	height: auto;
	border-radius: 8px; /* Optional: To give rounded corners */
}

/* Button Styling */
.btn2 {
	display: inline-block;
	margin-top: 10px;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
}

/* .btn2:hover {
	background-color: #2980b9;
	width: 135px;
} */

.card-content{
	position: absolute;
	bottom: 4px; 
	left: 50%; 
	transform: translateX(-50%); 
	z-index: 10; 
	color: white; 
	background-color: rgba(0, 0, 0, 0.6); 
	padding: 5px 5px; 
	border-radius: 4px;
	font-weight: bold;
	font-size: 14px;
	cursor:pointer;
	}

.no-underline a {
	color: #fff;
	text-decoration: none;
}

/* .SOCIAL-ICONS I { */
/*         COLOR: BLACK; CHANGE ICON COLOR TO BLACK */
/*     } */
.social-icons a {
	text-decoration: none; /* Optional: Remove underline */
}

.social-icons i:hover {
	color: #555; /* Optional: Change color on hover */
}

.modal {
	display: none; /* Hidden by default */
	position: fixed;
	z-index: 1000; /* Sits on top */
	left: 0;
	top: 0;
	width: 100%; /* Full screen */
	height: 100%; /* Full screen */
	background-color: rgba(0, 0, 0, 0.6);
	/* Dark background with opacity */
	animation: fadeIn 0.3s ease-in-out;
}

/* Modal Content */
.modal-content {
	background-color: #fff;
	margin: 23% auto;
	padding: 30px;
	border-radius: 15px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	animation: slideIn 0.5s ease-out;
}

/* Modal Header */
.modal-header {
	/*       font-size: 24px; */
	font-weight: bold;
	margin-bottom: 20px;
	color: #333;
	text-align: center;
	position: relative;
}

/* Close Button */
.close {
	color: #aaa;
	font-size: 30px;
	font-weight: bold;
	position: absolute;
	top: 10px;
	right: 20px; /* Position the close button to the right */
	cursor: pointer;
}

.close:hover, .close:focus {
	color: #333;
	text-decoration: none;
}

/* Modal Body */
.modal-body {
	font-size: 16px;
	color: #555;
	text-align: center;
	margin-bottom: 20px;
	line-height: 1.6;
}

/* Footer Button */
.modal-footer {
	text-align: center;
}

.modal-footer a {
	display: inline-block;
	padding: 12px 25px;
	background-color: #294E70;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s ease;
	font-weight: 500;
}

.modal-footer a:hover {
	background-color: #0056b3;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Responsive Modal Design */
@media ( max-width : 600px) {
	.modal-content {
		width: 90%;
		padding: 20px;
	}
	.modal-header {
		font-size: 20px;
	}
	.modal-body {
		font-size: 14px;
	}
}

.popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: linear-gradient(135deg, #f8f9fa, #ffffff);
	border: 1px solid #e0e0e0;
	border-radius: 16px;
	padding: 30px;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	width: 350px;
	max-width: 90%;
	text-align: center;
	font-family: 'Arial', sans-serif;
}

.popup h4 {
	font-size: 1.4rem;
	margin-bottom: 20px;
	color: #333;
	font-weight: bold;
	letter-spacing: 1px;
}

.popup a {
	display: block;
	margin: 10px 0;
	padding: 10px;
	background-color: #007bff;
	color: #fff;
	border-radius: 8px;
	text-decoration: none;
	font-size: 1rem;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup a:hover {
	background-color: #0056b3;
	transform: scale(1.05);
}

.popup .close-btn {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #888;
	transition: color 0.3s;
}

.popup .close-btn:hover {
	color: #333;
}

/* Overlay */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 999;
	backdrop-filter: blur(5px); /* Optional: Adds a subtle blur effect */
}

/* Flashcard 3d effect */
.flash-card {
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 0.6s;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.flash-card.flip {
	transform: rotateY(180deg);
}

.front, .back {
	backface-visibility: hidden;
}

.front {
	background-color: #fff;
}

.back {
	background-color: #fff;
	padding: 20px;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	/* transform: rotateY(180deg); */
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.custom-e-card {
	position: relative;
	width: 300px;
	height: 400px;
	margin: 20px auto;
	perspective: 1000px; /* Enable 3D perspective */
}

.custom-flash-card {
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 0.6s; /* Smooth flip animation */
	position: relative;
}

.custom-flash-card .custom-front, .custom-flash-card .custom-back {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden; /* Hide the back side when not visible */
	border-radius: 8px;
	/*             box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); */
}

.custom-flash-card .custom-front {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	text-align: center;
}

.custom-flash-card .custom-back {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #fff;
	text-align: center;
	transform: rotateY(180deg); /* Initially rotated for the back side */
	/*             padding: 20px; */
}

.custom-flash-card.custom-flipped {
	transform: rotateY(180deg); /* Flip the card to show the back side */
}

.custom-btn {
	background-color: #3498db;
	color: white;
	padding: 10px 20px;
	border: none;
	cursor: pointer;
	text-transform: uppercase;
	border-radius: 8px;
}

.custom-btn:hover {
	background-color: #002040;
}

.primary-btn {
        background-color: #007bff;
        color: white;
}

.custom-dropdown-menu {
	width: 100%;
	height: fit-content;
}

.custom-dropdown-menu a {
	display: block;
	margin: 19px 0;
	/*             padding: 10px; */
	background-color: #294E70;
	color: white;
	text-decoration: none;
	border-radius: 8px;
	text-align: center;
	transition: background-color 0.3s;
}

.custom-dropdown-menu a:hover {
	background-color: #002040;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	background-color: white;
	/* Optional: to ensure header background is visible */
	z-index: 1000; /* Ensure it's on top of other content */
	padding: 0px 0; /* Adjust padding to your liking */
}

/* .e-card1 {
    position: relative;
    width: 25%;
    height: 428px;
    height: inherit;
    margin: auto;
    perspective: 1000px; Add perspective for 3D effect
} */

.flash-card {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d; /* Allows 3D transformation */
    transition: transform 0.6s; /* Smooth transition for flip effect */
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Prevent back content from being visible */
    border-radius: 8px;
}

.front {
    background-image: url('assets/img/safety1.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-position-y: 40%;
}

.back {
   background-color: #fff;
	padding: 20px;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	text-align: center;
	transform: rotateY(180deg);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Flip the card when the flip class is added */
.flip .flash-card {
    transform: rotateY(180deg); /* Rotate the card to reveal the back */
}
/* Style for the loading spinner */
.loading-spinner {
  position: absolute; /* Overlay on top of the slider */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; /* Ensure it's above other elements */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hide the loader after the content is loaded */
.loading-spinner.hidden {
  display: none;
}

.card {
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card.flipped {
    transform: rotateY(180deg);
}

.dgpfront {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #f3f3f3;
    border-radius: 8px;
    backface-visibility: hidden;
    transform: rotateY(0deg);
    z-index: 2;
}

.dgpback {
	/* width: 100%;
  	height: 100%;
  	position: absolute;
    backface-visibility: hidden;
  	border-radius: 8px;
  	background-color: #fff; */
  	transform: rotateY(180deg);
  	z-index: 1;
}

.card-container {
  perspective: 1000px;
  width: 375px;
  /* height: 100%; */
  height: 500px;
  position: relative;
}

.card {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.card-face {
  position: absolute;
  /* width: 100%;
  height: 100%; */
  width: 100%;
  height: 60%;
  backface-visibility: hidden;
  border-radius: 8px;
  /* background-color: #fff; */
  background-color: aliceblue;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* .img-responsive
{
display:block;
max-width:100%;
height:auto;
} */

.slider-container2 {
  position: relative;
  overflow: hidden;
  height: 700px; /* Set fixed height */
  
  margin-top: 0%; 
  padding: 0 20%; 
  top: 212px;
}

.slider-wrapper2 {
  /* display: flex; */
  flex-wrap: nowrap;
  animation: slide 20s infinite linear;
 /*  transition: transform 1s ease-in-out; */ /* Faster transition speed */
  justify-content: flex-start; /* Align items to the start */
}
.slider-wrapper2 div {
  flex: 1 1 20%;
  padding: 1px;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.img-responsive {
  width: 100%; /* Ensures images fill their container */
  height: 700px; /* Maintain aspect ratio */
  object-fit: contain; /* Ensures the image covers the full div */
}

.slider-item {
  min-width: 100%;  /* Each image takes full width */
  height: 700px;
  flex-shrink: 0;
}

/* #sliderNav a {
  background: #18bfc7;
  text-decoration: none;
  padding: 5px;
} */

#sliderNav a.selected {
  background: red;
  font-weight: bold;
}

/*Mobile Responsibe changes*/

#imm {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media (max-width: 768px) {
  #imm {
    flex-direction: column;
  }

  .left-div,
  .slider-container,
  .right-div {
    width: 100% !important;
    display: block !important;
    position: static !important;
    margin-bottom: 20px;
    z-index: auto;
  }
}
 

/* Mobile Specific Tweaks */
@media (max-width: 768px) {
	
	.top-bar {
	background-color: white; /* Dark blue color */
	color: white;
	padding: 1px;
	display: block;
	margin: 3%;
	}
	
    .slider img {
        max-width: 100%;
        height: auto;
        min-height: 400px;
    }
    
    .slider-wrapper {
        padding: 0% 0%; /* or 0 */
        flex-direction: column; /* Optional: ensures stacking behavior */
        height: auto;
    }
    
	.dropdown-menu li {
	width: 40%;
	}
	
	.dropdown.active .dropdown-menu {
	width: 40%;
	font-size: 14px;
	padding: 0px;
	}
	
	ul.dropdown-menu {
    width: 40%;
    padding: 1px;
    font-size: 14px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
  }
  
}

/* Mobile Specific Tweaks */
@media (max-width: 768px) {
	
	.top-bar {
	background-color: white; /* Dark blue color */
	color: white;
	padding: 1px;
	display: block;
	}
	
    .slider img {
        max-width: 100%;
        height: auto;
        min-height: 400px;
    }
    
    .slider-wrapper {
        padding: 0% 0%; /* or 0 */
        flex-direction: column; /* Optional: ensures stacking behavior */
    }
    
    .link-container {
		/* justify-content: center; */
		min-height: 100px;
	}
	
	.e-services {
	padding: 0px 0 40px 0;
	}
	
	/* .link-container a {
        width: 120px; Adjust the size on mobile
    } */
    
   .e-card {
        width: 40% !important; /* two cards per row */
    }
    
    .e-card1 {
        width: 70% !important; /* one cards per row */
        height: 70% !important;
        margin: 0 auto;
     }
     
     #important-links {
  		margin-top: 400px; /* ensure spacing */
  		clear: both; /* optional for float-related issues */
	}
	
	.dropdown.active .dropdown-menu {
	width: 40%;
	font-size: 14px;
	padding: 0px;
	}
	
	ul.dropdown-menu {
    width: 40%;
    padding: 1px;
    font-size: 14px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
  }

	.custom-dropdown-menu a {
	margin: 2px 0;
	font-size: 11px;
	}
}

