/* ===================================
   Agency Theme Styles
   Based on StartBootstrap Agency Template
   =================================== */

/* Masthead/Hero Section */
.masthead {
	padding-top: 10.5rem;
	padding-bottom: 6rem;
	text-align: center;
	color: #fff;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center center;
	background-size: cover;
}

.masthead .masthead-subheading {
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.5rem;
	margin-bottom: 25px;
}

.masthead .masthead-heading {
	font-size: 3.25rem;
	font-weight: 700;
	line-height: 3.25rem;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.masthead {
		padding-top: 17rem;
		padding-bottom: 12.5rem;
	}

	.masthead .masthead-subheading {
		font-size: 2.25rem;
		line-height: 2.25rem;
		margin-bottom: 2rem;
	}

	.masthead .masthead-heading {
		font-size: 4.5rem;
		line-height: 4.5rem;
		margin-bottom: 4rem;
	}
}

/* Navigation */
.navbar {
	background-color: #212529 !important;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.navbar-brand {
	color: #ffc800 !important;
	font-size: 1.5rem;
	font-weight: 700;
}

.nav-link {
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.0625em;
	text-transform: uppercase;
}

.nav-link:hover,
.nav-link:focus {
	color: #ffc800 !important;
}

.navbar .btn-icon {
	color: #fff !important;
}

.navbar .btn-icon:hover {
	color: #ffc800 !important;
}

/* Buttons */
.btn-primary {
	background-color: #ffc800 !important;
	border-color: #ffc800 !important;
	color: #fff !important;
	font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
	background-color: #ffc107 !important;
	border-color: #ffc107 !important;
	color: #fff !important;
}

.btn-xl {
	padding: 1.25rem 2.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 0.5rem;
}

/* Section Headers */
section h2.text-uppercase {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

section h3.section-subheading {
	font-size: 1rem;
	font-weight: 400;
	font-style: italic;
	color: #6c757d;
}

/* Services Section */
.service-item {
	text-align: center;
	padding: 2rem 1rem;
}

.service-item [class*="ci-"],
.service-item i,
.service-item span {
	font-size: 4rem !important;
	color: #ffc800 !important;
	margin-bottom: 1rem;
	display: inline-block;
}

.service-item h4 {
	margin-top: 1rem;
	margin-bottom: 1rem;
	font-weight: 700;
	font-size: 1.5rem;
}

.service-item p {
	color: #6c757d;
	font-size: 1rem;
	line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
	padding: 6rem 0;
	background-color: #f8f9fa;
}

.portfolio-item {
	position: relative;
	display: block;
	margin: 0 auto;
	cursor: pointer;
	overflow: hidden;
}

.portfolio-item img {
	width: 100%;
	transition: all 0.3s ease-in-out;
}

.portfolio-item:hover img {
	transform: scale(1.1);
}

.portfolio-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 200, 0, 0.9);
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.portfolio-item:hover .portfolio-overlay {
	opacity: 1;
}

.portfolio-overlay h4,
.portfolio-overlay p {
	color: #fff;
	margin: 0;
}

.portfolio-overlay h4 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.portfolio-overlay p {
	font-style: italic;
}

/* Team Section */
.team-section {
	padding: 6rem 0;
	background-color: #f8f9fa;
}

.team-member {
	text-align: center;
	margin-bottom: 3rem;
}

.team-member img {
	width: 14rem;
	height: 14rem;
	border: 0.5rem solid rgba(0, 0, 0, 0.1);
	margin: 0 auto 1rem;
}

.team-member h4 {
	margin-top: 1.5rem;
	margin-bottom: 0;
	font-weight: 700;
}

.team-member p {
	margin-top: 0.5rem;
	color: #6c757d;
	font-style: italic;
}

/* Social Buttons */
.btn-social {
	height: 2.5rem;
	width: 2.5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 100%;
}

.btn-dark {
	background-color: #212529 !important;
	border-color: #212529 !important;
}

.btn-dark:hover {
	background-color: #ffc800 !important;
	border-color: #ffc800 !important;
}

/* Footer */
footer,
.footer,
.site-footer {
	padding: 2rem 0;
	background-color: #212529;
	color: #fff;
	text-align: center;
}

footer a,
.footer a,
.site-footer a {
	color: #ffc800;
}

footer a:hover,
.footer a:hover,
.site-footer a:hover {
	color: #ffc107;
}

/* Section Spacing */
section {
	padding: 6rem 0;
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
	.masthead {
		padding-top: 8rem;
		padding-bottom: 4rem;
	}

	section {
		padding: 4rem 0;
	}

	.service-item {
		padding: 1.5rem 0.5rem;
	}
}

/* About Timeline Section */
.timeline {
	position: relative;
	padding: 0;
	list-style: none;
	margin: 0 auto;
}

.timeline:before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	margin-left: -1px;
	content: "";
	background-color: #e9ecef;
	z-index: 1;
}

.timeline-item {
	position: relative;
	margin-bottom: 100px;
	min-height: 170px;
}

.timeline-item:last-child {
	margin-bottom: 0;
}

.timeline-item:before,
.timeline-item:after {
	content: " ";
	display: table;
}

.timeline-item:after {
	clear: both;
}

.timeline-image {
	position: absolute;
	z-index: 100;
	left: 50%;
	width: 170px;
	height: 170px;
	margin-left: -85px;
	text-align: center;
	color: white;
	border: 7px solid #e9ecef;
	border-radius: 100%;
	background-color: #f8f9fa;
	overflow: hidden;
}

.timeline-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.timeline-panel {
	position: relative;
	width: 50%;
	padding: 0 20px;
}

.timeline-panel h4 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.timeline-panel h4.subheading {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.timeline-panel p {
	line-height: 1.6;
	margin-bottom: 0;
}

/* Odd items - text on left, image in center */
.timeline-item:nth-child(odd) .timeline-panel {
	float: left;
	text-align: right;
	padding-right: 110px;
}

/* Even items - text on right, image in center */
.timeline-item:nth-child(even) .timeline-panel {
	float: right;
	text-align: left;
	padding-left: 110px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
	.timeline:before {
		left: 85px;
	}

	.timeline-image {
		left: 85px;
		width: 150px;
		height: 150px;
		margin-left: -75px;
	}

	.timeline-panel {
		width: 100%;
		float: right !important;
		text-align: left !important;
		padding: 0 20px 0 140px !important;
	}
}

@media (max-width: 767px) {
	.timeline:before {
		left: 60px;
	}

	.timeline-image {
		left: 60px;
		width: 100px;
		height: 100px;
		margin-left: -50px;
	}

	.timeline-panel {
		padding: 0 20px 0 90px !important;
	}

	.timeline-panel h4.subheading {
		font-size: 1.25rem;
	}
}

/* Timeline inverted (for "Be Part of Our Story" ending) */
.timeline-item.timeline-inverted .timeline-image {
	background-color: #ffc800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.timeline-item.timeline-inverted .timeline-image h4 {
	color: #fff;
	font-weight: 700;
	margin: 0;
	padding: 1rem;
	font-size: 1.25rem;
}

/* Social button icons using CSS */
.social-twitter::before {
	font-family: cartzilla-icons !important;
	content: "\f257";
	/* ci-x icon */
	font-style: normal;
	font-weight: 400 !important;
}

.social-facebook::before {
	font-family: cartzilla-icons !important;
	content: "\f17b";
	/* ci-facebook icon */
	font-style: normal;
	font-weight: 400 !important;
}

.social-linkedin::before {
	font-family: cartzilla-icons !important;
	content: "\f1b0";
	/* ci-linkedin icon */
	font-style: normal;
	font-weight: 400 !important;
}

.bg-gray {
	background-color: ghostwhite;
}
/*
 Product Card Hover Effects */
.hover-lift {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
	transform: translateY(-5px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.hover-zoom:hover {
	transform: scale(1.05);
}

.hover-primary:hover {
	color: #ffc800 !important;
}

/* Workflow Progress Bar */
.workflow-progress {
	padding: 2rem 0;
}

.workflow-step {
	min-width: 100px;
}

.step-circle {
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-circle:hover {
	transform: scale(1.1);
}

.step-label {
	max-width: 120px;
	margin: 0 auto;
	line-height: 1.3;
}

@media (max-width: 768px) {
	.workflow-step {
		min-width: 60px;
	}
	
	.step-circle {
		width: 32px !important;
		height: 32px !important;
		font-size: 0.9rem !important;
	}
	
	.step-label {
		font-size: 0.7rem;
		max-width: 80px;
	}
}

/* Time Slot Selection */
.time-slot-btn {
	transition: all 0.3s ease;
	border-width: 2px;
}

.time-slot-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.btn-check:checked + .time-slot-btn {
	background-color: #ffc800 !important;
	border-color: #ffc800 !important;
	color: #fff !important;
	transform: scale(1.05);
}

.btn-check:checked + .time-slot-btn i {
	color: #fff !important;
}

/* Breadcrumb Enhancements */
.breadcrumb {
	margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
	content: "\f13f";
	font-family: cartzilla-icons;
	color: #6c757d;
	opacity: 0.5;
}

.breadcrumb-item a:hover {
	color: #ffc800 !important;
}

.breadcrumb-item.active {
	color: #212529;
}

/* Product Detail Page */
.thumb-swap-container:hover .thumb-swap {
	transform: scale(1.05);
	box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.thumb-swap {
	transition: all 0.3s ease;
	cursor: pointer;
}

.thumb-swap.border-primary {
	border-color: #ffc800 !important;
}

/* Sticky sidebar */
@media (min-width: 992px) {
	.sticky-top {
		position: sticky;
		top: 20px;
		z-index: 1020;
	}
}

/* Rating stars */
.ci-star-filled,
.ci-star-half {
	font-size: 1.1rem;
}

/* Add to Cart Button Icon */
#btnAddToCart::before {
	font-family: cartzilla-icons;
	content: "\f20a"; /* ci-shopping-bag */
	margin-right: 0.5rem;
}
