/* Modern & Trendy Styles for Avenida Carpets Care */
/* Import Beautiful Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body { 
	font-family: 'Open Sans', 'Segoe UI', sans-serif;
	background: #f8f9fa;
	overflow-x: hidden;
	line-height: 1.7;
	color: #333;
	font-size: 17px;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 { 
	font-family: 'Playfair Display', serif;
	font-weight: 800;
	margin-bottom: 20px;
	color: #1a1a1a;
	letter-spacing: -0.5px;
}

h2 {
	font-size: 3.5rem;
	margin-bottom: 40px;
	position: relative;
	display: block;
	text-align: center;
}

h2::after {
	content: '';
	display: block;
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #B10021, #F867B3);
	margin: 20px auto 0;
}

h3 {
	font-family: 'Poppins', sans-serif;
	font-size: 1.7rem;
	margin-bottom: 15px;
	font-weight: 700;
}

p {
	font-family: 'Open Sans', sans-serif;
	margin-bottom: 15px;
	line-height: 1.8;
	font-size: 17px;
}

/* Header & Logo */
.header {
	padding: 20px 0;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	text-align: center;
}

.templatemo-header-img {
	max-height: 400px;
	object-fit: cover;
	display: block;
	width: 100%;
}

.logo-text {
	font-family: 'Playfair Display', serif;
	font-size: 36px;
	font-weight: 900;
	background: linear-gradient(135deg, #B10021 0%, #f867b3 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 10px auto;
	display: inline-block;
	letter-spacing: -1.5px;
}

.logo-text i {
	margin-right: 10px;
	-webkit-text-fill-color: #B10021;
}

/* Navigation */
.navbar {
	padding: 0;
	margin-bottom: 0;
	border: none;
	background: #fff;
}

.nav-justified > li > a {
	color: #333;
	background: transparent;
	padding: 15px 20px;
	font-family: 'Poppins', sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	border: none;
	transition: all 0.3s ease;
	position: relative;
}

.nav-justified > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, #B10021, #F867B3);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.nav-justified > li > a:hover {
	background: transparent;
	color: #B10021;
}

.nav-justified > li > a:hover::after {
	width: 80%;
}

.nav-justified > .active > a,
.nav-justified > .active > a:hover,
.nav-justified > .active > a:focus {
	color: #B10021;
	background: transparent;
	box-shadow: none;
	border-bottom: 3px solid #B10021;
}

.navbar-toggle {
	background-color: #B10021;
	border-color: #B10021;
	border-radius: 4px;
	margin-right: 20px;
}

.navbar-toggle:focus {
	outline: none;
	background-color: #8b0019;
}

.icon-bar {
	background-color: #fff;
}

/* Main Container */
#main_container {
	width: 100%;
	margin: 0;
	padding: 0;
}

.container {
	width: 100%;
	margin: 0;
	padding: 0;
	max-width: none;
	background: #fff;
}

.row {
	margin-left: 0;
	margin-right: 0;
}

/* Section Styles */
.row {
	padding: 60px 20px;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
}

#home {
	padding: 0;
}

#hero_section {
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	padding: 100px 20px;
	text-align: center;
}

#hero_section h2 {
	font-size: 3rem;
	margin-bottom: 30px;
}

#hero_section h2::after {
	margin-left: auto;
	margin-right: auto;
}

#hero_section p {
	font-size: 1.25rem;
	color: #555;
	margin-bottom: 30px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.9;
}

#services {
	background: #fff;
	padding: 100px 20px;
}

#services h2,
#why_us h2,
#area h2,
#faq h2,
#contact h2 {
	text-align: center;
	margin-bottom: 50px;
}

#services > .col-md-12 {
	margin-bottom: 30px;
	grid-column: 1 / -1;
}

#services > .col-md-12 p {
	font-size: 1.2rem;
	color: #666;
	line-height: 1.8;
}

.section-intro {
	font-size: 1.4rem;
	color: #666;
	margin-bottom: 40px;
	line-height: 1.9;
}

/* Service Cards Grid */
.services-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin: 40px 0;
}

@media (min-width: 480px) {
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.services-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.service-card {
	background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
	padding: 35px 25px;
	border-radius: 10px;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: 1px solid #e8e8e8;
	box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-card:hover {
	transform: translateY(-15px);
	box-shadow: 0 20px 50px rgba(177, 0, 33, 0.15);
	border-color: #B10021;
	background: linear-gradient(135deg, #fff 0%, #fff 100%);
}

.service-card .service-icon {
	font-size: 3.5rem;
	color: #B10021;
	margin-bottom: 20px;
	display: inline-block;
	transition: all 0.3s ease;
}

.service-card:hover .service-icon {
	color: #f867b3;
	transform: scale(1.2) rotate(-5deg);
}

.service-card h3 {
	font-family: 'Playfair Display', serif;
	font-size: 1.8rem;
	margin-bottom: 15px;
	color: #1a1a1a;
	font-weight: 700;
}

.service-card p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #666;
	margin: 0;
}

#why_us {
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	padding: 100px 20px;
}

#why_us .row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	padding: 0;
	margin: 0;
}

@media (min-width: 480px) {
	#why_us .row {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	#why_us .row {
		grid-template-columns: repeat(4, 1fr);
	}
}

#area {
	background: #fff;
	padding: 100px 20px;
}

.area-list {
	list-style: none;
	padding: 0;
	margin: 30px 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
}

.area-list li {
	padding: 12px 16px;
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	border-left: 4px solid #B10021;
	border-radius: 6px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.area-list li:hover {
	transform: translateX(8px);
	box-shadow: 0 4px 15px rgba(177, 0, 33, 0.15);
	background: #fff;
}

.area-list li::before {
	content: '✓';
	margin-right: 10px;
	color: #B10021;
	font-weight: bold;
}

@media (min-width: 768px) {
	.area-list {
		grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	}
}

#faq {
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	padding: 80px 20px;
}

#contact {
	background: #fff;
	padding: 80px 20px;
}

/* Section Boxes / Cards */
.section_box {
	border: none;
	padding: 30px 20px;
	background: #fff;
	min-height: 280px;
	text-align: center;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.08);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.section_box:hover {
	transform: translateY(-12px) scale(1.02);
	box-shadow: 0 15px 40px rgba(177, 0, 33, 0.2);
}

.section_box i {
	font-size: 3.5rem;
	color: #B10021;
	margin-bottom: 20px;
	display: block;
	transition: all 0.3s ease;
}

.section_box:hover i {
	color: #f867b3;
	transform: scale(1.15) rotate(-5deg);
}

.section_box h3 {
	color: #1a1a1a;
	margin-bottom: 15px;
	font-size: 1.3rem;
}

.section_box p {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #666;
	margin: 0;
}

/* Buttons */
.btn {
	border-radius: 6px;
	padding: 14px 35px;
	font-weight: 700;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
}

.btn-primary {
	background: linear-gradient(135deg, #B10021, #f867b3);
	border-color: transparent;
	color: #fff;
	font-size: 1.1rem;
	box-shadow: 0 5px 15px rgba(177, 0, 33, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
	background: linear-gradient(135deg, #8b0019, #d94d9f);
	box-shadow: 0 12px 25px rgba(177, 0, 33, 0.4);
	color: #fff;
	transform: translateY(-3px);
}

/* Links */
a {
	color: #B10021;
	transition: all 0.3s ease;
}

a:hover,
a:focus {
	color: #f867b3;
	text-decoration: none;
}

/* FAQ Styles - Accordion */
#faq {
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	padding: 100px 20px;
}

.accordion-item {
	margin-bottom: 25px;
	border: 2px solid #e0e0e0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	transition: all 0.3s ease;
}

.accordion-item:hover {
	box-shadow: 0 8px 30px rgba(177, 0, 33, 0.15);
	border-color: #B10021;
}

.accordion-button {
	background: #fff;
	color: #333;
	padding: 22px;
	border: none;
	width: 100%;
	text-align: left;
	font-size: 1.2rem;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.3s ease;
}

.accordion-button:hover {
	background: #f8f9fa;
	color: #B10021;
}

.accordion-button.active {
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	color: #B10021;
	border-bottom: 3px solid #B10021;
}

.accordion-button i {
	font-size: 1.3rem;
	margin-right: 12px;
	color: #B10021;
	transition: transform 0.3s ease;
}

.accordion-button.active i {
	transform: rotate(180deg);
}

.accordion-content {
	display: none;
	padding: 22px;
	background: #fff;
	color: #555;
	line-height: 1.9;
	font-size: 1.05rem;
	border-top: 1px solid #e0e0e0;
}

.accordion-content.active {
	display: block;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* CTA Sections */
.cta-section {
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	padding: 80px 20px;
	text-align: center;
	border-radius: 8px;
	margin: 20px auto;
	max-width: 1000px;
	box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.cta-section h2 {
	color: #1a1a1a;
	margin-bottom: 25px;
	font-size: 3rem;
}

.cta-section p {
	font-size: 1.35rem;
	color: #555;
	margin-bottom: 30px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.9;
}

.cta-section .btn {
	display: inline-block;
	margin-top: 10px;
	font-size: 1.15rem;
	padding: 16px 40px;
}

.cta-dark {
	background: linear-gradient(135deg, #B10021 0%, #8b0019 100%);
	color: #fff;
	box-shadow: 0 8px 30px rgba(177, 0, 33, 0.2);
}

.cta-dark h2 {
	color: #fff;
}

.cta-dark p {
	color: #f0f0f0;
}

/* Service Detail Sections */
.service-detail-section {
	padding: 80px 20px;
	display: flex;
	align-items: center;
	gap: 40px;
}

.service-detail-section h2 {
	font-size: 2.5rem;
	margin-bottom: 30px;
	text-align: left;
	color: #1a1a1a;
}

.service-detail-section p {
	font-size: 1.2rem;
	line-height: 1.9;
	color: #555;
	margin-bottom: 25px;
}

.service-detail-section .col-md-6:nth-child(2) {
	order: 2;
}

.service-detail-section .col-md-6:first-child {
	order: 1;
}

/* Ensure second col-md-6 (images) stay on right */
.service-detail-section {
	flex-wrap: wrap;
}

@media (min-width: 768px) {
	.service-detail-section {
		flex-wrap: nowrap;
	}
	
	.service-detail-section .col-md-6 {
		flex: 1;
	}
}

.service-image {
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
	transition: all 0.4s ease;
	max-width: 100%;
	height: auto;
}

.service-image:hover {
	transform: scale(1.02);
	box-shadow: 0 15px 40px rgba(177, 0, 33, 0.2);
}

.benefits-list {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.benefits-list li {
	padding: 14px 0 14px 45px;
	position: relative;
	font-size: 1.15rem;
	color: #555;
	line-height: 1.9;
	margin-bottom: 12px;
}

.benefits-list li:before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
}

.benefits-list i {
	color: #B10021;
	font-size: 1.4rem;
	margin-right: 12px;
}

/* Services List (2 Column) */
.services-list-2col {
	display: grid;
	grid-template-columns: 1fr;
	gap: 25px;
	margin-top: 30px;
}

@media (min-width: 768px) {
	.services-list-2col {
		grid-template-columns: repeat(2, 1fr);
	}
}

.services-col {
	padding: 30px;
	background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
	border-left: 4px solid #B10021;
	border-radius: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.services-col:hover {
	transform: translateX(8px);
	box-shadow: 0 8px 25px rgba(177, 0, 33, 0.15);
	background: #fff;
}

.services-col h4 {
	font-family: 'Playfair Display', serif;
	font-size: 1.55rem;
	color: #1a1a1a;
	margin-bottom: 12px;
	font-weight: 700;
}

.services-col i {
	color: #B10021;
	margin-right: 8px;
	font-size: 1.2rem;
}

.services-col p {
	font-size: 1.1rem;
	color: #666;
	margin: 0;
	line-height: 1.8;
}

.contact-info {
	margin-top: 40px;
	text-align: center;
}

.contact-phone,
.contact-hours {
	font-size: 1.35rem;
	margin-bottom: 25px;
	color: #333;
}

.contact-phone i,
.contact-hours i {
	color: #B10021;
	margin-right: 12px;
	font-size: 1.2rem;
}

.contact-phone a {
	font-weight: 700;
	text-decoration: none;
}

/* Service Area Map */
#map-container {
	height: 400px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	margin-top: 30px;
}

#map-container iframe {
	border: none;
	width: 100%;
	height: 100%;
	border-radius: 10px;
}

/* Footer */
footer.container {
	padding: 50px 20px;
	background: linear-gradient(135deg, #B10021 0%, #8b0019 100%);
	margin-top: 0;
}

footer {
	color: #f0f0f0;
	text-align: center;
}

footer a {
	color: #FFD700;
	transition: all 0.3s ease;
	text-decoration: none;
}

footer a:hover {
	color: #fff;
	text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.credit {
	padding: 30px 20px;
	background: transparent;
}

#templatemo_footer {
	font-size: 0.95rem;
	line-height: 1.9;
	color: #f0f0f0;
}

#templatemo_footer p {
	margin: 0;
}

#templatemo_footer i {
	display: inline-block;
	width: 20px;
	text-align: center;
}

.footer-copyright {
	margin-bottom: 15px;
}

.footer-copyright i {
	margin-right: 8px;
}

.footer-address {
	margin-bottom: 15px;
}

.footer-address i {
	margin-right: 8px;
	color: #FFD700;
}

.footer-url i {
	margin-right: 8px;
	color: #FFD700;
}

/* Responsive Design */
@media only screen and (max-width: 480px) {
	h2 {
		font-size: 1.8rem;
	}
	
	.nav-justified > li > a {
		padding: 12px 15px;
	}
	
	.section_box {
		min-height: auto;
		margin-bottom: 20px;
	}
	
	.row {
		padding: 40px 15px;
	}
	
	#hero_section {
		padding: 50px 15px;
	}
	
	#hero_section h2 {
		font-size: 1.8rem;
	}
	
	#hero_section p {
		font-size: 1rem;
	}
	
	.logo-text {
		font-size: 24px;
	}
	
	#services .row,
	#why_us .row {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.services-grid {
		grid-template-columns: 1fr;
	}
	
	.service-detail-section {
		flex-direction: column;
		padding: 40px 15px;
	}
	
	.service-detail-section h2 {
		text-align: center;
		font-size: 1.6rem;
	}
	
	.cta-section {
		padding: 40px 15px;
	}
	
	.cta-section h2 {
		font-size: 1.8rem;
	}
	
	.services-list-2col {
		grid-template-columns: 1fr;
	}
	
	.accordion-button {
		font-size: 0.95rem;
		padding: 15px;
	}
	
	.accordion-content {
		padding: 15px;
	}
	
	.contact-phone,
	.contact-hours {
		font-size: 1.1rem;
	}
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
	h2 {
		font-size: 2rem;
	}
	
	.row {
		padding: 50px 20px;
	}
	
	.section_box {
		min-height: auto;
	}
	
	#hero_section {
		padding: 60px 20px;
	}
	
	#hero_section h2 {
		font-size: 2rem;
	}
	
		#services .row,
		#why_us .row {
			grid-template-columns: repeat(2, 1fr);
			gap: 20px;
		}
	
		.services-grid {
			grid-template-columns: repeat(2, 1fr);
		}
	
		.service-detail-section {
			flex-direction: column;
			padding: 50px 20px;
		}
	.area-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media only screen and (min-width: 768px) {
	.row {
		display: flex;
		flex-wrap: wrap;
	}
	
	.col-md-12 {
		flex: 0 0 100%;
	}
	
	.col-md-3 {
		flex: 0 0 25%;
	}
}