@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");

:root {
	--yellow: #f5bf23;
	/* Darker, more premium golden yellow for better contrast */
	--black: #111;
	--white: #fff;
	--light-color: #666;
	--light-bg: #eee;
	--box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	/* Modern smooth shadow */
	--border: 0.1rem solid rgba(0, 0, 0, 0.1);
	/* Softer border */
}

* {
	font-family: "Poppins", sans-serif;
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	outline: none;
	border: none;
	text-decoration: none;
}

a {
	cursor: pointer;
}

@-webkit-keyframes fadeIn {
	0% {
		top: 50%;
		opacity: 0;
	}
}

@keyframes fadeIn {
	0% {
		top: 50%;
		opacity: 0;
	}
}

html {
	font-size: 62.5%;
	/* 1rem = 10px */
	overflow-x: hidden;
	scroll-behavior: smooth;
	scroll-padding-top: 7rem;
}

body {
	background: var(--light-bg);
	/* Global background improvement */
	line-height: 1.6;
}

html::-webkit-scrollbar {
	width: 1rem;
}

html::-webkit-scrollbar-track {
	background: transparent;
}

html::-webkit-scrollbar-thumb {
	background: var(--yellow);
}

section {
	padding: 5rem 10%;
}

.heading {
	margin-bottom: 3rem;
	font-size: 2.8rem;
	color: var(--black);
	text-transform: capitalize;
	padding-left: 1rem;
	border-left: 1rem solid var(--yellow);
}

.page-header {
	padding: 10rem;
	text-align: center;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	border-left: none;
	position: relative;
	z-index: 0;
}

.page-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.5);
	/* Overlay consistency */
	z-index: -1;
}

.page-header h1 {
	font-size: 5rem;
	color: var(--white);
	text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
	text-transform: capitalize;
}

.page-header p {
	font-size: 2rem;
	color: var(--white);
	margin-top: 1rem;
}

.page-header p a {
	color: var(--yellow);
}

.page-header p a:hover {
	text-decoration: underline;
}

.btn {
	display: inline-block;
	margin-top: 1rem;
	padding: 1rem 3rem;
	background: var(--black);
	color: var(--white);
	cursor: pointer;
	font-size: 1.8rem;
	text-transform: capitalize;
	-webkit-transition: 0.2s linear;
	transition: 0.2s linear;
	border-radius: 0.5rem;
	font-weight: 600;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.btn:hover {
	background: var(--yellow);
	color: var(--black);
	transform: scale(1.05);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	-webkit-box-shadow: var(--box-shadow);
	box-shadow: var(--box-shadow);
	padding: 1.5rem 10%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	z-index: 1000;
	background: var(--white);
}

.header .logo {
	font-size: 2.8rem;
	color: var(--black);
	text-transform: capitalize;
}

.header .logo span {
	color: var(--yellow);
}

.header .navbar a {
	font-size: 1.8rem;
	color: var(--black);
	text-transform: capitalize;
	margin: 0 1rem;
}

.header .navbar a:hover {
	color: var(--yellow);
}

.header .navbar a.active {
	color: var(--yellow);
	font-weight: 600;
}

.header .icons div {
	height: 5rem;
	width: 5rem;
	line-height: 5rem;
	font-size: 1.8rem;
	background: var(--light-bg);
	color: var(--black);
	cursor: pointer;
	text-align: center;
	margin-left: 0.3rem;
}

.header .icons div:hover {
	background: var(--black);
	color: var(--white);
}

.header #menu-btn {
	display: none;
}

.header .search-form {
	position: absolute;
	top: 120%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 70rem;
	background: var(--white);
	-webkit-box-shadow: var(--box-shadow);
	box-shadow: var(--box-shadow);
	padding: 1rem;
	display: none;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 1rem;
	-webkit-animation: fadeIn 0.2s linear;
	animation: fadeIn 0.2s linear;
}

.header .search-form.active {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.header .search-form input {
	width: 100%;
	padding: 1.2rem 1.4rem;
	background: var(--light-bg);
	font-size: 1.5rem;
	color: var(--light-color);
}

.header .search-form label {
	font-size: 2.8rem;
	color: var(--black);
	cursor: pointer;
	margin: 0 1rem;
}

.header .search-form label:hover {
	color: var(--yellow);
}

.header .login-form {
	position: absolute;
	top: 120%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 40rem;
	background: var(--white);
	-webkit-box-shadow: var(--box-shadow);
	box-shadow: var(--box-shadow);
	padding: 2rem;
	text-align: center;
	-webkit-animation: fadeIn 0.2s linear;
	animation: fadeIn 0.2s linear;
	display: none;
}

.header .login-form.active {
	display: block;
}

.header .login-form h3 {
	font-size: 2.8rem;
	color: var(--black);
	text-transform: capitalize;
	padding-bottom: 1rem;
	text-transform: uppercase;
}

.header .login-form .box {
	width: 100%;
	padding: 1.2rem 1.4rem;
	background: var(--light-bg);
	font-size: 1.5rem;
	color: var(--light-color);
	margin: 0.7rem 0;
}

.header .login-form .flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 0.5rem;
	padding-top: 1.5rem;
	padding-bottom: 1rem;
}

.header .login-form .flex label {
	font-size: 1.5rem;
	color: var(--light-color);
	cursor: pointer;
}

.header .login-form .flex a {
	font-size: 1.5rem;
	color: var(--light-color);
	margin-left: auto;
}

.header .login-form .flex a:hover {
	color: var(--yellow);
	text-decoration: underline;
}

.header .login-form .btn {
	width: 100%;
}

.header .login-form p {
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
	padding-top: 1.5rem;
}

.header .login-form p a {
	color: var(--yellow);
}

.header .login-form p a:hover {
	text-decoration: underline;
}

.contact-info {
	position: fixed;
	top: 0;
	right: 0;
	width: 35rem;
	background: var(--white);
	height: 100%;
	text-align: center;
	z-index: 1100;
	padding: 0 2rem;
	padding-top: 5rem;
	display: none;
}

.contact-info.active {
	-webkit-box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.7);
	box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.7);
	display: block;
}

.contact-info #close-contact-info {
	position: absolute;
	top: 1rem;
	right: 1.5rem;
	cursor: pointer;
	font-size: 4rem;
	color: var(--black);
}

.contact-info #close-contact-info:hover {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.contact-info .info {
	padding: 2rem 0;
}

.contact-info .info i {
	height: 5rem;
	width: 5rem;
	line-height: 5rem;
	font-size: 1.8rem;
	background: var(--light-bg);
	color: var(--black);
	cursor: pointer;
	text-align: center;
	margin-bottom: 0.5rem;
}

.contact-info .info i:hover {
	background: var(--black);
	color: var(--white);
}

.contact-info .info h3 {
	font-size: 1.8rem;
	color: var(--black);
	text-transform: capitalize;
	padding: 1rem 0;
}

.contact-info .info p {
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
}

.contact-info .share {
	padding-top: 2rem;
	border-top: var(--border);
	margin-top: 1rem;
}

.contact-info .share a {
	height: 5rem;
	width: 5rem;
	line-height: 5rem;
	font-size: 1.8rem;
	background: var(--light-bg);
	color: var(--black);
	cursor: pointer;
	text-align: center;
	margin: 0 0.3rem;
}

.contact-info .share a:hover {
	background: var(--black);
	color: var(--white);
}

.home {
	padding: 0;
}

.home .slide {
	min-height: 80vh;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: relative;
	background-size: cover !important;
	background-position: center !important;
	padding: 2rem 15%;
	/* 15% Lateral Padding */
}

.home .slide::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.5);
	/* Real Dark Overlay */
	z-index: 1;
}

.home .slide .content {
	width: 90rem;
	/* Increased width */
	position: relative;
	z-index: 2;
	text-align: center;
	margin: 0 auto;
}

.home .slide .content h3 {
	font-size: 4rem;
	color: var(--white);
	text-transform: capitalize;
	text-transform: uppercase;
	text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.7);
}

.home .slide .content p {
	font-size: 1.8rem;
	color: var(--white);
	line-height: 2;
	padding: 1rem 0;
}

.home .swiper-button-next,
.home .swiper-button-prev {
	top: initial;
	bottom: 0;
	left: initial;
	right: 0;
	height: 7rem;
	width: 7rem;
	line-height: 7rem;
	background: var(--white);
}

.home .swiper-button-next:hover,
.home .swiper-button-prev:hover {
	background: var(--yellow);
}

.home .swiper-button-next::after,
.home .swiper-button-prev::after {
	font-size: 1.8rem;
	color: var(--black);
}

.home .swiper-button-prev {
	right: 7rem;
}

/* Alternating Section Backgrounds */
.about {
	background: var(--white);
}

.services {
	background: var(--light-bg);
}

.projects {
	background: var(--white);
}

.reviews {
	background: var(--light-bg);
}

.contact {
	background: var(--white);
}

.about .row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 3rem;
}

.about .row .video {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 41rem;
	flex: 1 1 41rem;
}

.about .row .video video,
.about .row .video img {
	width: 100%;
}

.about .row .content {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 41rem;
	flex: 1 1 41rem;
}

.about .row .content h3 {
	font-size: 2.8rem;
	color: var(--black);
	text-transform: capitalize;
}

.about .row .content p {
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
	padding: 1rem 0;
}

.about .box-container {
	margin-top: 3rem;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: (minmax(16rem, 1fr))[auto-fit];
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 2rem;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
}

.about .box-container .box {
	text-align: center;
	background: var(--light-bg);
	padding: 3rem 2rem;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.about .box-container .box h3 {
	font-size: 4rem;
	color: var(--black);
	text-transform: capitalize;
}

.about .box-container .box p {
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
	padding-top: 0.5rem;
}

.services {
	background: var(--light-bg);
}

.services .box-container {
	display: -ms-grid;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.services .box-container .box {
	text-align: center;
	padding: 0;
	background: var(--white);
	-webkit-box-shadow: var(--box-shadow);
	box-shadow: var(--box-shadow);
	border: var(--border);
	overflow: hidden;
}

.services .box-container .box:hover img {
	-webkit-transform: translateY(-1rem);
	transform: translateY(-1rem);
}

.services .box-container .box img {
	width: 100%;
	height: 20rem;
	object-fit: cover;
	margin-bottom: 1.5rem;
	-webkit-transition: 0.2s linear;
	transition: 0.2s linear;
}

.services .box-container .box h3 {
	font-size: 1.8rem;
	color: var(--black);
	text-transform: capitalize;
	padding: 1rem 2rem;
}

.services .box-container .box p {
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
	padding: 0 2rem 2rem 2rem;
}

.projects {
	background: var(--black);
}

.projects .heading {
	color: var(--white);
}

.projects .box-container {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: (minmax(30rem, 1fr))[auto-fit];
	grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
	gap: 2rem;
}

.projects .box-container .box {
	cursor: initial;
}

.projects .box-container .box:hover .image img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.projects .box-container .box .image {
	height: 40rem;
	overflow: hidden;
}

.projects .box-container .box .image img {
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-webkit-transition: 0.2s linear;
	transition: 0.2s linear;
}

.projects .box-container .box .content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	background: var(--white);
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.projects .box-container .box .content .info {
	padding: 1rem 2rem;
}

.projects .box-container .box .content .info h3 {
	font-size: 1.8rem;
	color: var(--black);
	text-transform: capitalize;
}

.projects .box-container .box .content .info p {
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
}

.projects .box-container .box .content i {
	width: 7.5rem;
	font-size: 2.8rem;
	background: var(--yellow);
	color: var(--white);
	cursor: pointer;
	text-align: center;
	line-height: 7.5rem;
}

.reviews .slide p {
	padding: 1.5rem;
	background: var(--light-bg);
	position: relative;
	margin-bottom: 3rem;
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
}

.reviews .slide p::before {
	content: "";
	position: absolute;
	bottom: -1rem;
	left: 2rem;
	height: 2rem;
	width: 2rem;
	background: var(--light-bg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.reviews .slide .user {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 1.5rem;
}

.reviews .slide .user img {
	height: 7rem;
	width: 7rem;
}

.reviews .slide .user h3 {
	font-size: 1.8rem;
	color: var(--black);
	text-transform: capitalize;
}

.reviews .slide .user .stars {
	padding-top: 0.5rem;
}

.reviews .slide .user .stars i {
	font-size: 1.5rem;
	color: var(--yellow);
}

.pricing {
	background: var(--light-bg);
}

.pricing .box-container {
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: (minmax(30rem, 1fr))[auto-fit];
	grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
	gap: 2rem;
}

.pricing .box-container .box {
	background: var(--white);
	text-align: center;
	padding: 4rem 2rem 5rem 2rem;
	/* Increased vertical padding: 4rem top, 5rem bottom */
	border: var(--border);
	-webkit-box-shadow: var(--box-shadow);
	box-shadow: var(--box-shadow);
}

.pricing .box-container .box i {
	font-size: 2.8rem;
	color: var(--yellow);
	margin-bottom: 1rem;
	display: block;
}

.pricing .box-container .box h3 {
	font-size: 1.8rem;
	color: var(--black);
	text-transform: capitalize;
	font-weight: normal;
}

.pricing .box-container .box .price {
	padding: 1rem 0;
	font-size: 4rem;
	color: var(--black);
	text-transform: capitalize;
}

.pricing .box-container .box .price span {
	font-size: 1.8rem;
}

.pricing .box-container .box .list {
	padding: 1rem 0;
}

.pricing .box-container .box .list p {
	padding: 1rem 0;
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
}

.contact {
	background: var(--black);
}

.contact .heading {
	color: var(--white);
}

.contact .row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 2rem;
}

.contact .row .map {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 41rem;
	flex: 1 1 41rem;
	width: 100%;
}

.contact .row form {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 41rem;
	flex: 1 1 41rem;
	background: var(--white);
	padding: 2rem;
}

.contact .row form h3 {
	font-size: 2.8rem;
	color: var(--black);
	text-transform: capitalize;
}

.contact .row form .box {
	margin: 0.7rem 0;
	width: 100%;
	padding: 1.5rem 0;
	border-bottom: var(--border);
	font-size: 1.5rem;
	color: var(--light-color);
}

.contact .row form .box:focus {
	border-color: var(--yellow);
}

.contact .row form textarea {
	height: 15rem;
	resize: none;
}

.blogs {
	background: var(--light-bg);
}

.blogs .slide {
	text-align: center;
}

.blogs .slide:hover .image img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

.blogs .slide .image {
	height: 25rem;
	width: 90%;
	overflow: hidden;
	margin: 0 auto;
	margin-bottom: -3rem;
}

.blogs .slide .image img {
	height: 100%;
	width: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-webkit-transition: 0.2s linear;
	transition: 0.2s linear;
}

.blogs .slide .content {
	padding: 2rem;
	padding-top: 5rem;
	background: var(--white);
	-webkit-box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.2);
}

.blogs .slide .content h3 {
	font-size: 1.8rem;
	color: var(--black);
	text-transform: capitalize;
}

.blogs .slide .content p {
	padding: 1rem 0;
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
}

.logo-container {
	text-align: center;
}

.logo-container img {
	height: 10rem;
	pointer-events: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* --- PROFESSIONAL FOOTER --- */
.footer {
	background: var(--black);
	padding: 6rem 5% 4rem 5%;
	color: var(--white);
}

.footer .box-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto;
}

.footer .box-container .box h3 {
	font-size: 2rem;
	color: var(--white);
	padding-bottom: 1.5rem;
	text-transform: capitalize;
	font-weight: 600;
}

.footer .box-container .box a {
	display: block;
	font-size: 1.5rem;
	color: var(--light-color);
	padding: 0.8rem 0;
	transition: all 0.3s ease;
}

.footer .box-container .box a i {
	padding-right: .5rem;
	color: var(--yellow);
}

.footer .box-container .box a:hover {
	color: var(--yellow);
	padding-left: 0.5rem;
}

.footer .box-container .box p {
	font-size: 1.5rem;
	color: #999;
	line-height: 1.8;
	margin-bottom: 1.5rem;
	max-width: 20rem;
	font-weight: 400;
}

.footer .box-container .box .share a {
	display: inline-block;
	height: 4.5rem;
	width: 4.5rem;
	line-height: 4.5rem;
	border-radius: 50%;
	font-size: 1.8rem;
	border: .1rem solid var(--white);
	margin-right: .3rem;
	color: var(--white);
	text-align: center;
	padding: 0;
	transition: all 0.3s ease;
	/* Smooth transition */
}

.footer .box-container .box .share a:hover {
	background: var(--yellow);
	color: var(--black);
	padding-left: 0;
	/* No movement for social icons */
	border-color: var(--yellow);
}

.footer .box-container .box form .email {
	width: 100%;
	border: .1rem solid var(--white);
	padding: 1.2rem 1.4rem;
	background: none;
	font-size: 1.5rem;
	color: var(--white);
	margin-bottom: 1rem;
	text-transform: none;
	/* Email lowercase */
	border-radius: 0.5rem;
}

.footer .box-container .box form .btn {
	width: 100%;
	background: var(--yellow);
	color: var(--black);
	font-weight: 700;
	text-transform: uppercase;
	padding: 1.5rem;
	font-size: 1.5rem;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}

.footer .box-container .box form .btn:hover {
	background: var(--white);
	color: var(--black);
	transform: translateY(-2px);
	box-shadow: 0 0.5rem 1.5rem rgba(228, 220, 65, 0.3);
}

.footer .credit {
	text-align: center;
	padding-top: 3rem;
	margin-top: 3rem;
	border-top: .1rem solid rgba(255, 255, 255, 0.2);
	font-size: 1.3rem;
	color: var(--white);
}

.footer .credit span {
	color: var(--yellow);
}

@media (max-width: 1200px) {
	.header {
		padding: 1.5rem 2rem;
	}

	section {
		padding: 3rem 5%;
	}

	/* Blog sidebar starts to stack */
	.blog-container {
		gap: 2rem;
	}
}

@media (max-width: 991px) {
	html {
		font-size: 55%;
	}

	section {
		padding: 3rem 2rem;
	}

	.header #menu-btn {
		display: inline-block;
	}

	.header .navbar {
		position: absolute;
		top: 99%;
		left: 0;
		right: 0;
		background: var(--white);
		border-top: var(--border);
		border-bottom: var(--border);
		-webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
		clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
		-webkit-transition: 0.2s linear;
		transition: 0.2s linear;
	}

	.header .navbar.active {
		-webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}

	.header .navbar a {
		display: block;
		margin: 2rem;
	}

	/* Blog sidebar stacks below content */
	.blog-container {
		flex-direction: column;
	}

	.blog-container .blogs {
		flex: 1 1 100%;
	}

	.blog-container .sidebar {
		flex: 1 1 100%;
	}

	/* Contact form and map stack */
	.contact .row {
		flex-direction: column;
	}

	.contact .row .map {
		height: 40rem;
	}

	/* Footer grid optimization */
	.footer .box-container {
		grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	}

	/* Team section optimization */
	.team .box-container {
		grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
	}
}


@media (max-width: 768px) {
	.header .search-form {
		width: 90%;
	}

	.header .login-form {
		width: 90%;
	}

	.home .slide {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}

	.home .slide .content {
		text-align: center;
	}

	.home .slide .content h3 {
		font-size: 2.8rem;
	}

	/* Projects grid 2 columns */
	.projects .box-container {
		grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
	}

	/* Services grid 2 columns */
	.services .box-container {
		grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
	}

	/* About stats grid 2 columns */
	.about .box-container {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Contact info panel width */
	.contact-info {
		width: 30rem;
	}

	/* Pricing cards stack better */
	.pricing .box-container {
		grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
	}

	/* Process section */
	.process .box-container {
		grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
	}
}

@media (max-width: 450px) {
	html {
		font-size: 50%;
	}

	.about .row .content h3 {
		font-size: 2.8rem;
	}

	/* Footer single column */
	.footer .box-container {
		grid-template-columns: 1fr;
	}

	/* All grids single column on very small screens */
	.projects .box-container,
	.services .box-container,
	.pricing .box-container,
	.process .box-container {
		grid-template-columns: 1fr;
	}

	/* About stats 2 columns still */
	.about .box-container {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	/* Contact info full width */
	.contact-info {
		width: 100%;
	}

	/* Smaller contact map */
	.contact .row .map {
		height: 30rem;
	}

	/* Pagination smaller */
	.pagination ul {
		gap: 0.5rem;
	}

	.pagination ul li a {
		padding: 0.8rem 1.5rem;
		font-size: 1.6rem;
	}

	/* Blog sidebar widgets */
	.sidebar .widget {
		padding: 1.5rem;
	}

	/* Home slider content */
	.home .slide .content h3 {
		font-size: 2.5rem;
	}

	.home .slide .content p {
		font-size: 1.4rem;
	}

	/* Heading adjustments */
	.heading {
		font-size: 2.5rem;
	}
}

/* --- BLOG SIDEBAR & PAGINATION --- */
.blog-container {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	align-items: flex-start;
}

.blog-container .blogs {
	flex: 1 1 70rem;
	/* Main content takes up more space */
}

.blog-container .sidebar {
	flex: 1 1 30rem;
	/* Sidebar takes less space */
	padding-bottom: 5rem;
}

.sidebar .widget {
	background: var(--white);
	padding: 2rem;
	border: var(--border);
	box-shadow: var(--box-shadow);
	margin-bottom: 2rem;
}

.sidebar .widget h3 {
	font-size: 1.8rem;
	color: var(--black);
	text-transform: capitalize;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: var(--border);
}

.sidebar .search-box form {
	display: flex;
}

.sidebar .search-box input[type="text"] {
	width: 100%;
	padding: 1rem;
	font-size: 1.5rem;
	color: var(--light-color);
	background: var(--light-bg);
	border: var(--border);
	margin-right: 1rem;
}

.sidebar .search-box button {
	background: var(--yellow);
	color: var(--black);
	font-size: 1.8rem;
	padding: 0 1.5rem;
	cursor: pointer;
}

.sidebar .categories ul li {
	padding: 1rem 0;
	border-bottom: var(--border);
}

.sidebar .categories ul li a {
	font-size: 1.5rem;
	color: var(--light-color);
	display: flex;
	justify-content: space-between;
}

.sidebar .categories ul li a:hover {
	color: var(--yellow);
}

.sidebar .tags-cloud a {
	display: inline-block;
	padding: 1rem 1.5rem;
	font-size: 1.5rem;
	color: var(--light-color);
	background: var(--light-bg);
	margin: 0.5rem 0.2rem;
	border: var(--border);
}

.sidebar .tags-cloud a:hover {
	background: var(--yellow);
	color: var(--black);
}

.pagination {
	margin-top: 2rem;
	text-align: center;
	width: 100%;
}

.pagination ul {
	display: inline-flex;
	gap: 1rem;
}

.pagination ul li a {
	display: block;
	padding: 1rem 2rem;
	background: var(--white);
	color: var(--black);
	font-size: 1.8rem;
	border: var(--border);
	box-shadow: var(--box-shadow);
	border-radius: 0.5rem;
}

.pagination ul li a.active,
.pagination ul li a:hover {
	background: var(--yellow);
	color: var(--black);
}


/* --- SERVICES PROCESS SECTION --- */
.process .box-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
	gap: 2rem;
}

.process .box-container .box {
	text-align: center;
	padding: 3rem 2rem;
	background: var(--white);
	border: var(--border);
	box-shadow: var(--box-shadow);
	border-radius: 0.5rem;
}

.process .box-container .box span {
	font-size: 4rem;
	color: rgba(244, 180, 26, 0.2);
	/* Transparent yellow */
	display: block;
	font-weight: 700;
	margin-bottom: -3rem;
	position: relative;
	z-index: 0;
}

.process .box-container .box h3 {
	font-size: 2.2rem;
	color: var(--black);
	margin-bottom: 1rem;
	position: relative;
	z-index: 1;
}

.process .box-container .box p {
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
}

/* --- PRICING SECTION --- */
.pricing .box-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
	gap: 2rem;
}

.pricing .box-container .box {
	background: var(--white);
	text-align: center;
	padding: 2rem;
	border: var(--border);
	box-shadow: var(--box-shadow);
}

.pricing .box-container .box h3 {
	font-size: 2.8rem;
	color: var(--black);
	text-transform: capitalize;
	padding: 1rem 0;
}

.pricing .box-container .box .price {
	font-size: 4rem;
	color: var(--black);
	font-weight: bold;
	padding: 1rem 0;
}

.pricing .box-container .box .price span {
	font-size: 1.5rem;
	font-weight: normal;
}

.pricing .box-container .box .list {
	padding: 1rem 0;
}

.pricing .box-container .box .list p {
	font-size: 1.5rem;
	color: var(--light-color);
	line-height: 2;
	padding: .5rem 0;
}

.pricing .box-container .box .list p i {
	color: var(--yellow);
	padding-right: .5rem;
}

/* --- ANIMATIONS --- */
.fade-up {
	opacity: 0;
	transform: translateY(5rem);
	transition: all 0.5s ease-out;
}

.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- SCROLL TO TOP BUTTON --- */
.scroll-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	height: 4rem;
	width: 4rem;
	background: var(--yellow);
	color: var(--black);
	font-size: 2rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.scroll-top.active {
	opacity: 1;
	visibility: visible;
	bottom: 2rem;
}

.scroll-top:hover {
	background: var(--black);
	color: var(--yellow);
	transform: translateY(-0.5rem);
	box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
}