/* Global Root Colors */
:root {
	--primary-color: #00254f;
	--secondary-color: #163c68;
	--accent-color: #cde7fb;
	--background-light: #f4f4f4;
	--background-dark: #0f3263;
	--text-color: #333;
	--text-light: #fff;
	--highlight-color: #2a466c;
	--hover-color: #cde7fb;
	--button-background: #2a466c;
	--button-text: #efefef;
	--footer-background: #00254f;
	--footer-link-hover: #cbe9ff;
	--footer-text-color: #fff;
}

/* General Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

body {
	font-family: "Montserrat", sans-serif;
	line-height: 1.6;
	color: var(--text-color);
}

h1 {
	font-size: 2rem;
	margin-bottom: 10px;
	color: var(--primary-color);
}

p {
	font-size: 1.1rem;
	color: var(--text-color);
	margin-bottom: 20px;
}

/* Header Styles */
.header {
	color: var(--text-light);
}
.homepage {
	position: relative;
	height: 100vh;
	background: url("/assets/images/homeheader2.png")
		no-repeat center center/cover;
	color: var(--text-light);
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.ngpayheader {
	position: relative;
	height: 100vh;
	background: url("/assets/images/ngpayheader.png") no-repeat center
		center/cover;
	color: var(--text-light);
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.ngeventheader {
	margin-top: 15px;
	position: relative;
	height: 70vh;
	max-width: 99%;
	margin-left: -17px;
	background: url(/assets/images/NGSI-EVENTS.png) no-repeat center center /
		cover;
	color: var(--text-light);
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
  /* Title Styling */
  .title {
	margin: 2% 35%;
	border-radius: 20px;
	display: flex;
	justify-content: center;
	background-color: #003366;
	color: #fff;
	padding: 10px 0;
	font-size: 1.2rem;
	font-weight: bold;
  }

  /* Logos Container */
  .logo-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	padding: 0 20px;
  }

  .logo {
	flex: 1 1 150px; 
	max-width: 200px;
	text-align: center;
  }

  .logo img {
	max-width: 100%;
	height: auto;
  }

  /* Mobile Styles */
  @media (max-width: 768px) {
	.logo-container {
	  flex-direction: column;
	  gap: 15px;
	}
	.title {
		margin: 5% ;
		border-radius: 20px;
		display: flex;
		justify-content: center;
		background-color: #003366;
		color: #fff;
		padding: 10px 0;
		font-size: 1.2rem;
		font-weight: bold;
	  }

	.logo {
	  flex: 1 1 100px;
	  max-width: 150px;
	}
  }

/* General Core Services Header */
.core-services h2 {
	color: #4c235a; /* Dark purple */
	text-align: center;
	font-size: 1.8rem;
	margin-bottom: 20px;
}

/* Desktop Grid Layout */
.service-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
}

.service-cards {
	width: 45%;
	max-width: 250px;
	border-radius: 10px;
	overflow: hidden;
}

.service-cards img {
	width: 100%;
	height: auto;
	display: block;
}
.service-card img:hover{
	filter: brightness(140%);
}
.swiper-backface-hidden .swiper-slide{
	height: 300px!important;
}

/* Mobile Swiper View */
.mobile-view {
	display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
	.desktop-view {
		display: none; /* Hide desktop grid */
	}

	.mobile-view {
		display: block; /* Show Swiper */
		width: 100%;
	}

	.swiper-container {
		width: 100%;
		overflow: hidden; /* Prevent any vertical scrolling */
		height: 300px;
	}

	.swiper-slide {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.swiper-slide img {
		width: 90%; /* Each slide image takes 90% of the container */
		height: auto;
		border-radius: 10px;
	}
}

.service-section {
	background-color: #0073b7;
	color: #fff;
	padding: 40px 20px;
	text-align: center;
}
.service-card {
	margin-bottom: 20px;
}
.service-card p {
	color: #fff;
}
.service-icon {
	font-size: 60px;
	margin-bottom: 15px;
	color: #fff;
}
.service-title {
	font-weight: bold;
	margin-bottom: 10px;
}
/* Hero Section */
.hero-section {
	background: linear-gradient(to right, #1e3c72, #2a5298);
	text-align: center;
	padding: 50px 0;
}

/* Cards */
.custom-card {
	background-color: #fff;
	border-radius: 20px;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
	padding: 20px;
	text-align: left;
	transition: transform 0.3s ease;
	border-left: 5px solid #f2e86d;
}

.custom-card:hover {
	transform: translateY(-10px);
}

.card-title {
	font-weight: 700;
	color: #042a5b;
	font-family: "Roboto", sans-serif;
}

.card-text {
	font-size: 0.95rem;
	text-align: justify;
}

/* Tabs Navigation */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-buttons a {
  text-decoration: none;
  background-color: #e7f1ff;
  border-radius: 10px;
  padding: 8px 12px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

.tab-buttons a:hover,
.tab-buttons a.active {
  background-color: #ffffff;
  color: #1d3e68;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 20px;
  width: 80%;
  background-color: #ffffff;
  border-radius: 10px;
}

.containers {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: -70px;
}

/* Display the active tab content */
.tab-contents:target {
  display: block;
}

/* Active tab handling with JS */
.tab-buttons .tab-link.active {
  background-color: #ffffff;
  color: #1d3e68;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.sub-tab-content img{
  max-width:90%;
}

/* Sub Tab Navigation */
.sub-tab-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.sub-tab-link {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Active state for the button */
.sub-tab-link.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

/* Hover effect */
.sub-tab-link:hover {
  background-color: #0056b3;
  color: white;
  border-color: #0056b3;
}

/* Partners Section Styling */
.partners-section h3 {
  font-family: "Manuale", serif;
  font-weight: 700;
  color: #1d3e68;
  margin-bottom: 20px;
}
.titles {
	margin: 1% 20%;
	border-radius: 20px;
	display: flex;
	justify-content: center;
	background-color: #003366;
	color: #fff;
	padding: 10px 0;
	font-size: 1.2rem;
	font-weight: bold;
  }
.partners-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

/* Partner Logos */
.partner-logo img {
  max-width: 80px;
  margin: 0 auto;
  display: block;
}

/* Custom Card for Partners Section */
.custom-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  height: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .tab-buttons a {
    width: auto;
    padding: 10px;
  }

  .sub-tab-buttons {
    flex-direction: column;
    align-items: center;
  }

  .sub-tab-link {
    width: 100%;
    font-size: 14px;
    padding: 12px;
  }
  .titles {
	margin: auto;
	margin-bottom: 10px;
	border-radius: 20px;
	display: flex;
	justify-content: center;
	background-color: #003366;
	color: #fff;
	padding: 10px 0;
	font-size: 1.2rem;
	font-weight: bold;
  }
  .tab-content {
	background-color: #ffffff;
	border-radius: 10px;
	width: 100% !important;
  }

  .containers {
    width: 100%;
  }

  .partners-section h3 {
    font-size: 1.5rem;
  }

  .partner-logo img {
    max-width: 70px;
  }

  .custom-card {
    padding: 15px;
  }
  .sub-tab-content img{
    max-width:200px;
  }
}

.section-header {
	font-size: 1.8rem;
	font-weight: 700;
	color: #004085;
	text-align: center;
	margin-bottom: 20px;
}

.centers {
	display: block;
	margin: 0 auto;
	max-width: 100%;
	border-radius: 10px;
}
.pezaimage {
	width: 150px;
	height: auto;
}
.carousel-inner img {
	object-fit: cover;
	border-radius: 10px;
}

@media (max-width: 768px) {
	.section-header {
		font-size: 1.5rem;
	}
}

.header .logo img {
	height: 45px;
	display: none;
	transition: opacity 0.3s ease;
	cursor: pointer;
	margin-bottom: 20px;
}

.navbar {
	position:absolute;
	top: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: transparent;
	padding: 40px 30px;
	z-index: 1000;
	transition: background-color 0.3s ease;
}

.navbar.scrolled {
	background-color: rgba(0, 37, 79, 0.9);
	padding: 20px 30px 0px;
	position: fixed;
}

.nav-links {
	display: flex;
	gap: 20px;
	list-style: none;
	text-transform: uppercase;
}

.nav-links a {
	color: var(--text-light);
	text-decoration: none;
	font-size: 15px;
	padding: 5px 10px;
	transition: border-bottom 0.3s ease;
	border-bottom: 2px solid transparent;
}

.nav-links a:hover {
	color: var(--hover-color);
	border-bottom: 2px solid var(--hover-color);
}

.contactus {
	font-weight: 600;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	fill: var(--secondary-color);
	color: var(--secondary-color) !important;
	padding: 10px;
	background-color: var(--accent-color);
	border-radius: 50px;
}

.hamburger {
	display: none;
	font-size: 24px;
	color: var(--text-light);
	cursor: pointer;
}
/* Section Styles */
.section {
	padding: 30px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

#about-us,
#solutions {
	background-color: var(--background-dark);
}

#section3 {
	background-color: #efefef;
}

#section4 {
	background-color: var(--accent-color);
}
  
  /* Card Container Styling */
  .card-content {
	height: 242px;	
	background-color: #f5f5f5;
	border-radius: 8px;
	padding: 20px;
	transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  }
  
  /* Hover Effect for the Card */
  .card-content:hover {
	transform: translateY(-5px); 
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
  }
  
  /* Title Styling */
  .card-content h3 a {
	color: #666;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.5rem;
	transition: color 0.2s ease-in-out;
  }
  
  .card-content h3 a:hover {
	color: #666;
	text-decoration: underline;
  }
  
  /* Meta Information Styling */
  .premium-blog-entry-meta {
	margin-top: 15px;
	font-size: 13px !important;
	color: #6c757d;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 10%;
  }
  
  .premium-blog-meta-data {
	display: flex;
	align-items: center;
	gap: 5px;
  }
  .premium-blog-meta-data a {
	color: #666;
  }
  
  .premium-blog-meta-data i {
	color: #666;
  }
  
  .premium-blog-meta-separator {
	color: #adb5bd;
  }
  
  /* Category Link Styling */
  .premium-blog-post-categories a {
	color: #666;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease-in-out;
  }
  
  .premium-blog-post-categories a:hover {
	color: #0056b3;
	text-decoration: underline;
  }
  .carousel-container {
	margin-left: 4%;
	position: relative;
	overflow: hidden;
	width: 90%; 
  }
  
  .carousel-wrapper {
	display: flex;
	transition: transform 0.5s ease;
	width: 103%; 
  }
  .carousel-title{
	margin: 1% 20%;
	border-radius: 20px;
	display: flex;
	justify-content: center;
	color:#4c235a;
	padding: 10px 0;
	font-size: 36px;
	font-weight: bold;
  }
  
  /* Carousel slide - showing 3 cards at once */
  .carousel-slide {

	min-width: 33.33%;
	box-sizing: border-box;
  }
  
  /* Card Styling */
  .card {
	margin: 0 10px;
	background-color: #f5f5f5;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	overflow: hidden;
	text-align: center;
  }
  
  .card img {
	margin-bottom: 30px;
	width: 100%;
	height: 240px;
	transition: transform 0.3s ease-in-out; 
  }
  
  .card img:hover {
	transform: scale(1.1);
  }
  
  .card-content {
	padding: 10px;
  }
  
  .card-content h3 {
	font-size: 1rem;
	margin-bottom: 5px;
	color: #333;
  }
  
  .card-content p {
	display: flex;
	font-size: 0.85rem;
	color: #666;
  }
  
  .card-content h3 a {
	text-decoration: none;
	color: #333;
	transition: color 0.3s ease;
  }
  
  .card-content h3 a:hover {
	color: #003366;
  }
  
  /* Style the arrow buttons */
  .arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 2rem;
	color: white;
	background-color: rgba(0, 0, 0, 0.5);
	border: none;
	padding: 10px;
	cursor: pointer;
	z-index: 10;
  }
  
  /* Position left arrow */
  .arrow-left {
	left: 10px;
  }
  
  /* Position right arrow */
  .arrow-right {
	right: 10px;
  }
  
  /* Optional: Add hover effect for arrows */
  .arrow:hover {
	background-color: rgba(0, 0, 0, 0.7);
  }
  
  /* Dots */
  .dots {
	text-align: center;
	margin: 10px 0;
  }
  
  .dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin: 0 5px;
	background-color: #bbb;
	border-radius: 50%;
	cursor: pointer;
  }
  
  .dot.active {
	background-color: #003366;
  }
  
  @media (max-width: 768px) {
	.carousel-title {
		font-size: 24px; 
		margin: 1% 10%; 
		text-align: center;
	  }
	.carousel-slide {
	  min-width: 100%; 
	}
	.card {
	  flex: 0 0 100%;
	}
  }
  

#solutions h2 {
	color: var(--text-light);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.8em;
}
#section6 {
	background-color: var(--accent-color);
}
#solutions h6 {
	color: var(--text-light);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.8em;
}
#section6 {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 20px;
	flex-direction: row;
	flex-wrap: wrap;
}

.flex-left {
	width: 45%;
	display: grid;
	place-items: center;
}

.flex-right {
	width: 45%;
	padding: 5px;
	display: grid;
	place-items: center;
}
#section6 .image-container img {
	max-width: 45%;
	margin: 10px;
	object-fit: contain;
}
#section6 .payment-container img {
	max-width: 35%;
	margin: 10px;
	object-fit: contain;
}

#section6 .image-container {
	gap: 15px;
	align-items: flex-start;
	width: 100%;
}

#section6 .payment-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
}

#section6 h1 {
	font-family: "Manuale", sans-serif;
	font-size: 24px;
	margin-bottom: 20px;
	color: #003366;
	text-transform: uppercase;
	text-align: center;
}
img.center {
	max-width: 100%;
	margin-bottom: 30px;
}
img.centers {
	max-width: 100%;
	margin-bottom: 30px;
}

.container {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
	width: 80%;
	margin-top: 20px;
}

.container h1 {
	font-size: 1.5rem;
}

.innovation,
.quality,
.committed,
.givingback {
	background: var(--background-light);
	border-radius: 12px;
	padding: 10px;
	width: 48%;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vision,
.mission {
	width: 48%;
}

.vision h1,
.mission h1 {
	color: var(--text-light);
}

.vision p,
.mission p {
	color: var(--text-light);
	text-align: justify;
}

.innovation,
.quality,
.committed,
.givingback {
	background: var(--accent-color);
}

.carousel-wrap {
	margin: 20px auto;
	padding: 0 5%;
	width: 80%;
	position: relative;
	z-index: 0;
}

.owl-carousel .item {
	position: relative;
	z-index: 100;
	-webkit-backface-visibility: hidden;
}

.owl-nav > div {
	margin-top: -26px;
	position: absolute;
	top: 50%;
	color: #cdcbcd;
}

.owl-nav i {
	font-size: 52px;
}

.owl-nav .owl-prev {
	left: -30px;
}

.owl-nav .owl-next {
	right: -30px;
}

/* Additional Styles for the Sections */
.highlight-text {
	color: var(--background-dark);
	text-align: center;
}

.download-btn-wrapper {
	text-align: center;
}

.download-btn {
	display: block;
	margin-left: auto;
	margin-right: auto;
	cursor: pointer;
	width: 100%;
	padding: 10px 20px;
	border-radius: 30px;
	background-color: var(--highlight-color);
	border: 1px solid var(--highlight-color);
	color: var(--button-text);
}

.download-btn:hover {
	background-color: var(--hover-color);
	border: 1px solid var(--highlight-color);
	color: var(--highlight-color);
}

.footer {
	background-color: var(--footer-background);
	color: var(--footer-text-color);
	padding: 40px 20px;
	font-family: "Montserrat", sans-serif;
}

.footer-container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
}

.footer-left,
.footer-center,
.footer-right {
	flex: 1;
	text-align: center;
}

.footer-logo {
	max-width: 200px;
	margin-bottom: 20px;
}

.footer-description {
	font-size: 1rem;
	margin-bottom: 15px;
	color: var(--footer-text-color);
}

.social-icons {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.social-icon {
	color: var(--footer-text-color);
	font-size: 1.5rem;
	transition: color 0.3s ease;
}

.social-icon:hover {
	color: var(--footer-link-hover);
}

.footer-center h3,
.footer-right h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
	font-weight: bold;
}

.footer-center p,
.footer-center a {
	color: var(--footer-text-color);
	font-size: 0.9rem;
}

.footer-center a {
	color: var(--footer-link-hover);
	text-decoration: none;
}

.footer-center a:hover {
	text-decoration: underline;
}

.footer-nav {
	list-style: none;
	padding: 0;
	font-size: 0.9rem;
	text-align: left;
}

.footer-nav li {
	margin-bottom: 10px;
}

.footer-nav a {
	color: var(--footer-text-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-nav a:hover {
	color: var(--footer-link-hover);
}

.footer-bottom {
	text-align: center;
	color: var(--footer-link-hover);
}

.footer-bottom p {
	color: var(--footer-text-color);
	font-size: 0.9rem;
}

.footer-center p,
.footer-right p {
	text-align: left;
}
.footer-hr {
	border: 0;
	border-top: 1px solid var(--footer-link-hover);
	margin: 10px auto;
	width: 80%;
	opacity: 0.5;
}

#myBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	font-size: 22px;
	font-weight: 900;
	border: none;
	outline: none;
	background-color: var(--button-text);
	color: var(--button-background);
	cursor: pointer;
	padding: 10px;
	border-radius: 4px;
}

#myBtn:hover {
	background-color: #555;
	color: var(--button-text);
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		background-color: var(--primary-color);
		position: absolute;
		top: 60px;
		right: 0;
		width: 100%;
		text-align: center;
	}

	.nav-links.open {
		display: flex;
		padding: 25px;
	}

	.hamburger {
		display: block;
		margin-bottom: 18px;
	}
	.footer-container {
		flex-direction: column;
		text-align: center;
	}

	.footer-left,
	.footer-center,
	.footer-right {
		max-width: 100%;
		margin-bottom: 20px;
	}
	.footer-hr {
		width: 100%;
	}
	.flex-right {
		width: 40%;
	}
	.homepage,
	.ngpayheader,
	.ngeventheader {
		height: 80vh;
	}

	.vision,
	.mission,
	.innovation,
	.quality,
	.committed,
	.givingback {
		width: 100%;
	}

	h1 {
		font-size: 1rem;
	}

	p {
		font-size: 1rem;
	}
}
@media (max-width: 480px) {
	.footer-logo {
		max-width: 120px;
	}

	.footer-description {
		font-size: 0.9rem;
	}

	.footer-center h3,
	.footer-right h3 {
		font-size: 1.1rem;
	}
	.flex-left {
		width: 100%;
	}
	.flex-right {
		width: 100%;
	}
}
@media (max-width: 675px) {
	.homepage {
		height: 25vh;
	}
	.ngpayheader {
		height: 25vh;
	}
	.ngeventheader {
		margin-left: 0px;
		height: 18vh;
	}
}
