:root {
	--primary-red: #e63946;
	--dark-red: #c1121f;
	--bright-red: #ff4d5a;
	--primary: #e30613;
	--secondary: #222222;
	--light: #f8f9fa;
	--dark: #212529;
}
body {
	font-family: "Poppins", sans-serif;
	color: var(--dark);
	overflow-x: hidden;
	background-color: #f9f9f9;
}

/* Back to top */

html {
	scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
	background-color: white;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	padding: 8px 0;
}

.navbar-brand {
	font-weight: 700;
	font-size: 28px;
	color: var(--primary);
}

.nav-link {
	font-weight: 500;
	color: var(--secondary);
	margin: 0 10px;
	transition: all 0.3s ease;
}

.nav-link:hover {
	color: var(--primary);
}

/* Hero Section */
.hero {
	background: url("../images/ogbg copy.jpg");
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	color: white;
	position: relative;
	padding: 4rem 0 4rem 0;
}

.hero-content {
	max-width: 800px;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #ffffff 0%, #ff4444 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: 1.5rem;
	margin-bottom: 30px;
}

.btn-primary {
	background-color: var(--primary);
	border-color: var(--primary);
	padding: 12px 30px;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background-color: #c70512;
	border-color: #c70512;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(227, 6, 19, 0.3);
}

/* About Section */
.section {
	padding: 100px 0;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}

.section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 60px;
	height: 4px;
	background-color: var(--primary);
}

.about-img {
	border-radius: 10px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

/* Services Cards */
.info-card {
	width: 100%;
	height: 300px;
	background-color: white;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	/*transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;*/
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.3s ease-in-out;
	cursor: pointer;
	margin-bottom: 30px;
}

.card-content {
	padding: 30px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: all 0.5s ease;
}

.card-icon {
	font-size: 48px;
	color: var(--primary);
	margin-bottom: 20px;
	transition: all 0.5s ease;
}

.card-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--secondary);
	margin-bottom: 10px;
	transition: all 0.5s ease;
	width: 100%;
}

.card-description {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: all 0.5s ease;
	color: #666;
	/*line-height: 1.1;*/
	clear: both;
}

.info-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.info-card:hover .card-content {
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
}

.info-card:hover .card-icon {
	font-size: 32px;
	float: left;
	margin-right: 15px;
	margin-bottom: 0;
}

.info-card:hover .card-title {
	font-size: 18px;
	margin: inherit;
}

.header-wrapper {
	width: 100%;
	overflow: hidden;
	margin-bottom: 15px;
	height: auto;
}

.info-card:hover .card-description {
	max-height: max-content;
	opacity: 1;
	margin-top: 1px;
}

/* Team Section */
.team-card {
	background-color: white;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

.team-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.team-info {
	padding: 25px;
}

.team-name {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 5px;
}

.team-position {
	color: var(--primary);
	font-weight: 600;
	margin-bottom: 15px;
}

/* Contact Section */
#contact {
	background-color: var(--primary-red);
	color: var(--light);
	position: relative;
	overflow: hidden;
	padding: 100px 0;
}

#contact .section-title {
	color: var(--light);
}

#contact .section-title::after {
	background-color: var(--light);
}

#contact .section-subtitle {
	color: var(--light);
	opacity: 0.9;
}

.contact-info {
	background-color: var(--light);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
	height: 100%;
	position: relative;
	z-index: 1;
	color: var(--primary-red);
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

.contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
}

.bi-search::before {
	font-weight: 900 !important;
}

.contact-icon {
	width: 60px;
	height: 60px;
	background-color: rgba(230, 57, 70, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	color: var(--primary-red);
	font-size: 1.5rem;
	transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
	background-color: var(--primary-red);
	color: var(--light);
	/* transform: rotateY(180deg); */
}

.contact-text h5 {
	color: var(--primary-red);
	font-weight: 600;
	margin-bottom: 5px;
}

/*   contact use section icon style   */
.social-icons {
	display: flex;
	justify-content: center;
	gap: 15px;
}

.social-icon {
	width: 45px;
	height: 45px;
	background-color: var(--primary-red);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--light);
	font-size: 1.2rem;
	transition: all 0.3s ease;
	text-decoration: none;
}

.social-icon:hover {
	background-color: var(--dark-red);
	transform: translateY(-5px);
}

/* contact us section styles for shapes*/
/* Creative Elements */
.creative-circle {
	position: absolute;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.1);
}

.circle-1 {
	width: 300px;
	height: 300px;
	top: -150px;
	right: -150px;
}

.circle-2 {
	width: 200px;
	height: 200px;
	bottom: -100px;
	left: -100px;
}

.contact-text p {
	color: #333;
	margin: 0;
}

.contact-form {
	background-color: var(--light);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 1;
}

.form-control {
	height: 55px;
	border-radius: 10px;
	border: 2px solid rgba(230, 57, 70, 0.2);
	padding: 10px 20px;
	font-size: 1rem;
	margin-bottom: 20px;
	transition: all 0.3s ease;
	color: #333;
}

.form-control:focus {
	border-color: var(--primary-red);
	box-shadow: none;
}

textarea.form-control {
	height: auto;
	min-height: 150px;
}

.btn-primary {
	background-color: var(--primary-red);
	border: 1px solid white;
	padding: 15px 30px;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn-primary::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: var(--dark-red);
	transition: all 0.5s ease;
	z-index: -1;
}

.btn-primary:hover::before {
	width: 100%;
}

.btn-primary:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
	background: transparent;
	border: 2px solid var(--light);
	color: var(--light);
	padding: 15px 30px;
	border-radius: 30px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn-outline::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: var(--light);
	transition: all 0.5s ease;
	z-index: -1;
}

.btn-outline:hover::before {
	width: 100%;
}

.btn-outline:hover {
	color: var(--primary-red);
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */

.footer {
	padding: 3rem 0 1.5rem 0;
}
.footer .footer-link {
	color: var(--dark);
	text-decoration: none;
}

.back-to-top {
	padding: 17px 20px 15px 20px;
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-in-out;
	z-index: 1030;
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background-color: #c70512;
	transform: translateY(-3px);
}

@media screen and (max-width: 400px) {
	.hero-title {
		font-size: 3.2rem;
	}
}

@media screen and (max-width: 350px) {
	.hero-title {
		font-size: 2.9rem;
	}
}

/* highlight the nav-items style */
.navbar-nav .nav-link {
	position: relative;
	transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0%;
	height: 2px;
	background-color: #d10a0a;
	transition: width 0.3s ease;
}

.navbar-nav .nav-link.active-section::after {
	width: 100%;
}

.company-footer-title {
	color: #dc3545 !important;
	font-weight: 700 !important;
	text-shadow: 0 2px 4px rgba(220, 53, 69, 0.3) !important;
}

/* <style> */
.footer {
	color: #000000;
	padding: 3rem 0 1.5rem 0;
	margin-top: auto;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
	position: relative;
	overflow: hidden;
}

.footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(
			circle at 20% 80%,
			rgba(219, 211, 212, 0.3) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(223, 210, 211, 0.08) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 40%,
			rgba(255, 255, 255, 0.223) 0%,
			transparent 50%
		);
	pointer-events: none;
}

.animated-shapes {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
}

.shape {
	position: absolute;
	opacity: 0.1;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}

.shape-1 {
	width: 60px;
	height: 60px;
	background: linear-gradient(45deg, #dc3545, #f45262);
	border-radius: 50%;
	top: 20%;
	left: 10%;
	animation: bounce1 4s infinite;
}

.shape-2 {
	width: 40px;
	height: 40px;
	background: linear-gradient(45deg, #533e3e, #f8f9fa);
	border-radius: 50%;
	top: 60%;
	right: 15%;
	animation: bounce2 3.5s infinite;
}

.shape-3 {
	width: 80px;
	height: 80px;
	background: linear-gradient(45deg, #dc3545, #c82333);
	border-radius: 20px;
	top: 10%;
	right: 20%;
	animation: float1 5s infinite;
	transform: rotate(45deg);
}

.shape-4 {
	width: 30px;
	height: 30px;
	background: linear-gradient(45deg, #131010, #e9ecef);
	border-radius: 50%;
	bottom: 30%;
	left: 20%;
	animation: bounce3 2.8s infinite;
}

.shape-5 {
	width: 50px;
	height: 50px;
	background: linear-gradient(45deg, #dc3545, #ff4757);
	border-radius: 10px;
	bottom: 20%;
	right: 30%;
	animation: float2 4.2s infinite;
	transform: rotate(30deg);
}

.shape-6 {
	width: 35px;
	height: 35px;
	background: linear-gradient(45deg, #a74040, #f1f3f4);
	border-radius: 50%;
	top: 40%;
	left: 5%;
	animation: bounce4 3.2s infinite;
}

@keyframes bounce1 {
	0%,
	100% {
		transform: translateY(0px) translateX(0px);
	}
	50% {
		transform: translateY(-30px) translateX(20px);
	}
}

@keyframes bounce2 {
	0%,
	100% {
		transform: translateY(0px) translateX(0px);
	}
	50% {
		transform: translateY(-25px) translateX(-15px);
	}
}

@keyframes bounce3 {
	0%,
	100% {
		transform: translateY(0px) translateX(0px);
	}
	50% {
		transform: translateY(-20px) translateX(10px);
	}
}

@keyframes bounce4 {
	0%,
	100% {
		transform: translateY(0px) translateX(0px);
	}
	50% {
		transform: translateY(-35px) translateX(-10px);
	}
}

@keyframes float1 {
	0%,
	100% {
		transform: rotate(45deg) translateY(0px) translateX(0px);
	}
	50% {
		transform: rotate(45deg) translateY(-40px) translateX(-20px);
	}
}

@keyframes float2 {
	0%,
	100% {
		transform: rotate(30deg) translateY(0px) translateX(0px);
	}
	50% {
		transform: rotate(30deg) translateY(-30px) translateX(25px);
	}
}

.footer-heading {
	font-weight: 700;
	margin-bottom: 1.5rem;
	letter-spacing: 0.5px;
}

.footer-content {
	opacity: 0.85;
	line-height: 1.7;
	font-size: 0.95rem;
}

.contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	padding: 0.5rem 0;
	transition: all 0.3s ease;
}

.contact-item:hover {
	transform: translateX(5px);
	opacity: 1;
}

.contact-footer-icon {
	color: #dc3545;
	font-size: 1.1rem;
	margin-right: 1rem;
	width: 20px;
	text-align: center;
}

.footer-link {
	color: #000000;
	text-decoration: none;
	transition: all 0.3s ease;
	opacity: 0.85;
}

.footer-link:hover {
	color: #dc3545;
	opacity: 1;
	text-decoration: none;
}

.footer-divider {
	border: none;
	height: 3px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(220, 53, 69, 0.5),
		transparent
	);
	margin: 2rem 0 1.5rem 0;
}

.copyright-section {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
	margin-top: 1rem;
}

.copyright-text {
	opacity: 0.8;
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.developer-credit {
	opacity: 0.5;
	font-size: 0.8rem;
	margin-bottom: 0;
}

.company-title {
	color: #dc3545;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

@media (max-width: 768px) {
	.footer {
		padding: 2rem 0 1rem 0;
	}

	.footer-heading {
		font-size: 1.3rem;
	}

	.contact-item:hover {
		transform: none;
	}
}

/* Captcha css  */
.captcha-container {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 20px;
	justify-content: center;
}

.captcha-image {
	background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
	border: 2px solid #ddd;
	border-radius: 8px;
	width: 120px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Courier New", monospace;
	font-size: 24px;
	font-weight: bold;
	color: #333;
	letter-spacing: 3px;
	position: relative;
	overflow: hidden;
}

.captcha-image::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: repeating-linear-gradient(
		45deg,
		transparent,
		transparent 2px,
		rgba(0, 0, 0, 0.1) 2px,
		rgba(0, 0, 0, 0.1) 4px
	);
}

.captcha-text {
	position: relative;
	z-index: 1;
}

.captcha-input {
	flex: 1;
	max-width: 150px;
	margin-bottom: 0;
}

.refresh-btn {
	background: #6c757d;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 12px 16px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.3s ease;
}

.refresh-btn:hover {
	background: #5a6268;
}
.success-message {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
	padding: 15px;
	border-radius: 8px;
	margin-top: 20px;
	display: none;
}

.error-message {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 15px;
	border-radius: 8px;
	margin-top: 20px;
	display: none;
}

/* Captcha */
canvas {
	border-radius: 8px;
	user-select: none;
	-webkit-user-drag: none;
	margin-bottom: 12px;
}

#msg {
	margin-top: 10px;
	min-height: 24px;
	font-weight: bold;
}

.captcha-div{
	display: flex;
}

.form-floating > label {
	left: 0.75rem !important;
	transition: all 0.2s ease !important;
}
.form-floating > textarea {
	min-height: 150px !important;
}

.form-floating > textarea + label {
	left: 0 !important;
}

.form-floating > .form-label {
	left: 0 !important;
}
