/* Home Page Styles */

/* Home page specific button styles */
.btn {
	background: #ff4757;
	color: #fff;
	border-radius: 50px;
	padding: 0px 50px;
	height: 60px;
	box-sizing: border-box;
	line-height: 60px;
	font-size: 20px;
	text-align: center;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
}

.btn:hover {
	background: #ff5252;
	text-decoration: none;
}

/* Home page specific header styles */
.head {
	width: 100%;
	float: left;
	padding: 30px 0;
	position: fixed;
	z-index: 1000;
}

.head .page-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.head .logo {
	font-size: 44px;
	font-weight: 700;
	color: #ff4757;
	line-height: 1;
}

.head .mainnav {
	display: flex;
	align-items: center;
	gap: 10px;
}

.head .mainnav a {
	color: #fff;
	padding: 7px 30px;
	display: inline-block;
}

.head .mainnav a:last-child {
	border: 1px solid #fff;
	border-radius: 100px;
}

.head.scrolled {
	background-color: white;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 15px 0;
}

.head.scrolled a {
	color: #ff4757;
}

.head.scrolled a:last-child {
	border: 1px solid #ff4757;
}

/* Banner Section */
.banner {
	width: 100%;
	height: 100vh;
	background: url(../../images/banner.jpg) no-repeat center top;
	background-size: cover;
	float: left;
	color: #fff;
	text-align: center;
}

.banner h1 {
	width: 100%;
	max-width: 900px;
	padding-bottom: 50px;
	font-size: 60px;
	text-transform: uppercase;
	margin: 0 auto;
	text-align: center;
	text-shadow: 0 0px 10px rgba(0,0,0,0.9);
}

.banner h2 {
	width: 100%;
	max-width: 650px;
	font-weight: normal;
	font-size: 30px;
	padding: 29px 0 60px 0;
	margin: 0 auto;
	text-align: center;
}

.bannerWords {
	margin: 400px auto 0 auto;
	border-radius: 15px;
	padding: 30px 0;
}

.bannerWords a {
	margin-right: 15px;
}

.banner .btn {
	margin-bottom: 300px;
	display: block;
	float: left;
}

/* As Seen Section */
.asSeen {
	width: 100%;
	float: left;
	background: #efefef;
	padding: 20px 0;
	text-align: center;
}

.asSeen img {
	margin: 0 30px;
	height: 50px;
	width: auto;
}

/* How Work Section */
.howWork {
	width: 100%;
	float: left;
	padding: 100px 0;
}

.howWork .tit {
	font-size: 30px;
	text-align: center;
	text-transform: uppercase;
	padding-bottom: 55px;
	font-weight: bold;
}

.howWork ul li {
	width: 23%;
	margin: 1%;
	border-radius: 15px;
	background: #fff;
	text-align: center;
	float: left;
	padding: 70px 40px 40px 40px;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
	min-height: 430px;
}

.howWork ul li i {
	background: url(../../images/icon_work1.png) no-repeat center center;
	background-size: cover;
	width: 54px;
	height: 55px;
	display: block;
	margin: 0 auto;
}

.howWork ul li i.howWorkIco02 {
	background: url(../../images/icon_work2.png) no-repeat center center;
	background-size: cover;
}

.howWork ul li i.howWorkIco03 {
	background: url(../../images/icon_work3.png) no-repeat center center;
	background-size: cover;
}

.howWork ul li i.howWorkIco04 {
	background: url(../../images/icon_work4.png) no-repeat center center;
	background-size: cover;
}

.howWork ul li h3 {
	font-size: 22px;
	padding: 32px 0 12px 0;
}

/* Advantage Section */
.advantage {
	width: 100%;
	float: left;
	padding: 100px 0;
	background: #fbfbfb;
}

.advantage .pic {
	float: right;
	width: 100%;
	max-width: 500px;
}

.advantage .pic img {
	width: 100%;
	height: auto;
}

.advantage .txt {
	margin: 0 650px 0 0;
}

.advantage ul {
	width: 100%;
	float: left;
	padding: 0 0 40px 0;
}

.advantage ul li {
	position: relative;
	padding: 10px 0 10px 30px;
	line-height: 30px;
}

.advantage ul li::before {
	content: '';
	position: absolute;
	width: 6px;
	height: 2px;
	background: #000;
	left: 0px;
	top: 23px;
}

.advantage .btn {
	float: left;
}

.advantage .tit {
	padding-top: 35px;
	text-align: left;
	line-height: 40px;
	padding-bottom: 35px;
	font-size: 30px;
	font-weight: bold;
}

.advantage.cleft {
	background: none;
}

.advantage.cleft .pic {
	float: left;
}

.advantage.cleft .txt {
	margin: 0 0 0 650px;
}

/* Main Text Section */
.mainTxt {
	width: 100%;
	float: left;
	padding: 100px 0;
}

.mainTxt .tit {
	font-size: 30px;
	text-align: center;
	text-transform: uppercase;
	padding-bottom: 55px;
	font-weight: bold;
}

.mainTxt p {
	padding: 15px 0;
}

.mainTxt .btn {
	display: block;
	margin: 50px auto 0 auto;
	width: 300px;
}

/* Articles Section */
.articles {
	background: #2f3542;
	color: #fff;
	width: 100%;
	float: left;
	padding: 100px 0;
}

.articles .tit {
	font-size: 30px;
	text-align: center;
	text-transform: uppercase;
	padding-bottom: 55px;
	font-weight: bold;
}

.articles ul li {
	width: 29.3%;
	float: left;
	margin: 0 3%;
}

.articles ul li:first-child {
	margin-left: 0px;
}

.articles ul li:last-child {
	margin-right: 0px;
}

.articles ul li figure img {
	width: 100%;
	height: auto;
	border-radius: 15px;
}

.articles ul li h3 {
	padding: 40px 0 20px 0;
}

.articles ul li a {
	color: #fff;
}

.articles ul li a:hover {
	text-decoration: underline;
}

.articles .articles-cta {
	width: 100%;
	text-align: center;
	padding-top: 50px;
}

.articles .articles-cta .btn {
	display: inline-block;
}

/* Carousel Section */
.carousel-section {
	width: 100%;
	float: left;
	padding: 80px 0;
	background: url(../../images/advantages.jpg) no-repeat center center;
	background-size: cover;
}

.carousel-section .container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px;
}

.carousel-section .section-title {
	color: #fff;
	text-align: center;
	padding-bottom: 30px;
	font-size: 30px;
	font-weight: bold;
	text-transform: uppercase;
}

.carousel {
	position: relative;
	max-width: 800px;
	margin: 0 auto;
	overflow: hidden;
}

.carousel-inner {
	display: flex;
	transition: transform 0.5s ease;
}

.carousel-item {
	min-width: 100%;
	padding: 0 20px;
}

.testimonial {
	background-color: var(--medium-gray, #57606f);
	padding: 40px;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.quote {
	font-size: 1.2rem;
	font-style: italic;
	margin-bottom: 30px;
	color: var(--light-gray, #f1f2f6);
}

.user {
	display: flex;
	align-items: center;
	justify-content: center;
}

.user-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin-right: 15px;
	object-fit: cover;
	border: 3px solid var(--primary-color, #ff4757);
}

.user-info h4 {
	font-size: 1.2rem;
	margin-bottom: 5px;
	color: var(--white, #ffffff);
}

.user-location {
	color: var(--light-gray, #f1f2f6);
	opacity: 0.7;
	font-size: 0.9rem;
}

.carousel-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 30px;
}

.carousel-control {
	background-color: transparent;
	border: none;
	color: #ccc;
	font-size: 1.5rem;
	cursor: pointer;
	transition: var(--transition, all 0.3s ease);
	padding: 5px 15px;
}

.carousel-control:hover {
	color: #fe8e5e;
}

.carousel-indicators {
	display: flex;
	gap: 10px;
	margin: 0 20px;
}

.indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: #fff;
	cursor: pointer;
	transition: var(--transition, all 0.3s ease);
}

.indicator.active {
	background-color: #ff4757;
	transform: scale(1.2);
}

/* Back to Top Button */
.back-to-top {
	position: fixed;
	bottom: 80px;
	right: 20px;
	width: 48px;
	height: 48px;
	background: #ff4757;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
	background: #ff6b7a;
}

.back-to-top:active {
	transform: translateY(0);
}

.back-to-top svg {
	color: white;
	stroke-width: 2.5;
}

/* Responsive Styles */
@media screen and (max-height:800px) {
	.bannerWords {
		margin-top:260px;
		font-size:48px
	}
}

@media screen and (max-width:768px) {
	.bannerWords {
		margin-top: 100%;
	}
	
	.bannerWords a {
		margin-bottom: 20px;
		display: block;
		margin-right: 0px;
	}
	
	.banner {
		background: url(../../images/bannerMobile.jpg) no-repeat center top;
		background-size: auto 100%;
	}
	
	.banner h1 {
		font-size: 38px;
	}
	
	.banner h2 {
		font-size: 20px;
	}
	
	.banner .btn {
		margin-bottom: 250px;
	}
	
	.head .mainnav a.signUp {
		display: none;
	}
	
	.head {
		padding: 20px 0;
	}
	
	.head .logo {
		font-size: 32px;
		width: auto;
		height: auto;
		margin-top: 0;
	}
	
	.head .mainnav {
		padding-top: 4px;
	}
	
	.howWork ul li {
		width: 100%;
		margin: 0;
		border-radius: 15px;
		margin-bottom: 20px;
	}
	
	.howWork ul li:last-child {
		margin-bottom: 0px;
	}
	
	.howWork, .advantage, .mainTxt, .articles {
		padding: 50px 0;
	}
	
	.tit {
		font-size: 20px;
		padding-bottom: 15px;
	}
	
	.advantage .txt, .advantage.cleft .txt {
		margin: 0px 0 0 0;
		float: left;
	}
	
	.articles ul li {
		width: 100%;
		margin: 0px 0 50px 0;
	}
	
	.articles .tit, .howWork .tit {
		padding-bottom: 50px;
	}
	
	.advantage .tit {
		padding-top: 30px;
		padding-bottom: 15px;
	}
	
	.head .mainnav a {
		padding: 7px 0px;
	}
	
	.head.scrolled {
		padding-bottom: 20px;
	}
	
	.asSeen img {
		height:30px;
		margin:15px;
	}
}

@media screen and (max-width:375px) {
	.bannerWords {
		margin-top: 62%;
	}
}

/* Banner Buttons - Device-specific display */
.banner-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

/* Desktop: Show both app buttons, hide mobile buttons */
.desktop-buttons {
	display: flex;
	gap: 15px;
	align-items: center;
}

.mobile-buttons {
	display: none;
}

/* Mobile: Hide desktop buttons, show mobile buttons */
@media screen and (max-width: 768px) {
	.desktop-buttons {
		display: none;
	}

	.mobile-buttons {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0;
		width: 100%;
	}

	/* Hide both app buttons by default on mobile */
	.mobile-buttons .ios-only,
	.mobile-buttons .android-only {
		display: none;
		margin-bottom: 0;
	}

	/* Show iOS button only on iOS devices */
	.device-ios .mobile-buttons .ios-only {
		display: block;
	}

	/* Show Android button only on Android devices */
	.device-android .mobile-buttons .android-only {
		display: block;
	}

	/* Free Sign Up link styling for mobile */
	.mobile-buttons .btn-signup {
		display: inline-block;
		color: #ff4757;
		font-size: 18px;
		font-weight: 700;
		text-align: center;
		text-decoration: none !important;
		transition: all 0.3s ease;
		padding: 0;
		margin-top: 8px;
		letter-spacing: 0.5px;
	}

	.mobile-buttons .btn-signup:hover {
		color: #ff6b7a;
		text-decoration: none !important;
	}

	.mobile-buttons a img {
		max-width: 234px;
		width: 234px;
		height: 65px;
	}
}
