@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
:root {
--hero-bg: #F1F3FF;
--hero-green: #B9E1BA;
--hero-primary: #5A3A26;
--hero-dark: #110F0F;
--hero-gray: #666666;
--accent-gold: #D4A574;
--accent-gold-dark: #B88850;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
} .car-rental-section {
background-color: var(--hero-bg);
overflow: hidden;
display: flex;
align-items: center;
} .car-rental-title {
font-size: 40px;
font-weight: 700;
color: var(--hero-dark);
line-height: 1.2;
letter-spacing: -0.5px;
margin: 10px 0px;
font-family: "Poppins", sans-serif; }
.car-rental-desc {
font-size: 18px;
color: var(--hero-gray);
line-height: 1.6;
} .hero-features {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.hero-feature-card {
background: white;
border: 1px solid #E8E8E8;
border-radius: 12px;
padding: 16px;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
position: relative;
overflow: hidden;
}
.hero-feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 3px;
background: var(--hero-primary);
transform: scaleX(0);
transition: transform 0.3s ease;
}
.hero-feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
border-color: var(--hero-primary);
}
.hero-feature-card:hover::before {
transform: scaleX(1);
}
.hero-feature-icon {
width: 55px;
height: 55px;
background: linear-gradient(135deg, var(--hero-primary) 0%, #4a2e1f 100%);
border-radius: 14px;
box-shadow: 0 4px 12px rgba(90, 58, 38, 0.2);
}
.hero-feature-title {
font-size: 16px;
font-weight: 600;
color: var(--hero-dark);
line-height: 1.3;
}
.hero-feature-desc {
font-size: 14px;
color: var(--hero-gray);
line-height: 1.5;
} .hero-car-wrapper {
position: relative; display: flex;
align-items: center;
justify-content: center; } .hero-car-bg {
position: absolute;
height: 65%;
width: 85%;
right: 0;
border-radius: 300px 0 0 300px;
bottom: 17%;
background: linear-gradient(135deg, #D4A574 0%, #C89960 40%, #B88850 100%);
box-shadow:
inset 5px 5px 60px rgba(255, 255, 255, 0.3),
inset -5px -5px 40px rgba(73, 36, 20, 0.2),
0 30px 80px rgba(73, 36, 20, 0.2);
z-index: 0;
overflow: hidden;
} .hero-car-bg::before {
content: '';
position: absolute;
top: -50px;
right: 80px;
width: 200px;
height: 200px;
background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
border-radius: 50%;
filter: blur(25px);
animation: pulse 4s ease-in-out infinite;
}
.hero-car-bg::after {
content: '';
position: absolute;
bottom: -30px;
left: 120px;
width: 250px;
height: 250px;
background: radial-gradient(circle, rgba(73, 36, 20, 0.15) 0%, transparent 70%);
border-radius: 50%;
filter: blur(40px);
} .hero-car-wrapper::before {
content: '';
position: absolute;
top: 10%;
right: 15%;
width: 100px;
height: 100px;
border: 2px solid rgba(212, 165, 116, 0.3);
border-radius: 50%;
z-index: 1;
animation: rotate 20s linear infinite;
}
.hero-car-wrapper::after {
content: '';
position: absolute;
bottom: 15%;
right: 8%;
width: 60px;
height: 60px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
z-index: 1;
animation: float 6s ease-in-out infinite;
} .car-slider-container {
position: relative;
width: 100%;
max-width: 900px;
height: 500px;
overflow: hidden;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
}
.car-rental-slider {
display: flex;
width: 100%;
height: 100%;
position: relative;
}
.car-rental-slide {
min-width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
position: relative;
}
.car-rental-image {
max-width: 90%;
max-height: 90%;
width: auto;
height: auto;
object-fit: contain;
filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.25));
transition: transform 0.3s ease;
}
.car-rental-slide:hover .car-rental-image {
transform: scale(1.03);
} .slider-dots {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
z-index: 3;
}
.slider-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: all 0.3s ease;
border: 2px solid transparent;
}
.slider-dot:hover {
background: rgba(255, 255, 255, 0.8);
}
.slider-dot.active {
background: white;
width: 30px;
border-radius: 6px;
border-color: var(--accent-gold);
} .book-primary-btn {
background-color: #492414;
color: #FFFFFF;
padding: 14px 28px;
border-radius: 10px;
font-weight: 600;
text-align: center;
display: inline-block;
position: relative;
transition: all 0.4s ease;
overflow: hidden;
cursor: pointer;
border: none;
font-size: 16px;
}
.book-primary-btn:hover {
transform: translateY(-3px);
color: #000;
box-shadow: 0 7px 30px rgba(73, 36, 20, 0.4);
}
.book-primary-btn::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background-color: #D4A574;
transition: left 0.4s ease;
z-index: 0;
}
.book-primary-btn:hover::before {
left: 0;
}
.book-primary-btn span {
position: relative;
z-index: 1;
}
.btn-text svg {
fill: #fff;
transition: fill 0.3s ease, transform 0.3s ease;
margin-left: 5px;
vertical-align: middle;
}
.book-primary-btn:hover .btn-text svg {
fill: #000;
transform: translateX(4px);
}
.best-car-rental-right {
max-width: 600px;
padding: 20px;
}
.hero-feature-icon .hero-feature-svg {
fill: #fff;
width: 28px;
height: 28px;
}  @media (min-width: 1400px) {
.hero-car-wrapper {
min-height: 700px;
}
.hero-car-bg {
height: 65%;
width: 80%;
border-radius: 350px 0 0 350px;
}
.car-slider-container {
max-width: 1000px;
height: 600px;
}
.car-rental-title {
font-size: 40px;
}
} @media (max-width: 1199px) {
.car-rental-title {
font-size: 36px;
}
.car-rental-desc {
font-size: 16px;
}
.car-slider-container {
max-width: 700px;
height: 450px;
}
.hero-car-wrapper { }
.hero-car-bg {
height: 60%;
width: 85%;
}
} @media (max-width: 991px) {
.car-rental-section {
min-height: auto;
}
.best-car-rental-right {
max-width: 100%;
margin: 0 auto;
padding: 40px 20px;
}
.car-rental-title {
font-size: 32px;
text-align: center;
}
.car-rental-desc {
font-size: 16px;
text-align: center;
}
.hero-features {
grid-template-columns: repeat(2, 1fr);
}
.book-primary-btn {
display: block;
margin: 0 auto;
max-width: 200px;
}
.hero-car-wrapper {  }
.hero-car-bg {
height: 65%;
width: 90%;
border-radius: 200px 0 0 200px;
bottom: 15%;
}
.car-slider-container {
height: 400px;
max-width: 650px;
}
}   @media (max-width: 575px) {
.best-car-rental-right {
padding: 30px 5px;
}
.car-rental-title {
font-size: 24px;
font-weight: 600;
margin: 5px 0px;
}
.car-rental-desc {
font-size: 15px;
line-height: 1.6;
margin-bottom: 22px;
}
.hero-features {
grid-template-columns: 1fr;
gap: 15px;
}
.hero-feature-card {
padding: 14px;
}
.hero-feature-icon {
width: 45px;
height: 45px;
}
.hero-feature-svg {
width: 22px !important;
height: 22px !important;
}
.hero-feature-title {
font-size: 16px;
}
.hero-feature-desc {
font-size: 12px;
}
.book-primary-btn {
padding: 12px 24px;
font-size: 14px;
}
.hero-car-wrapper {  }
.hero-car-bg {
height: 50%;
width: 80%;
border-radius: 150px 0 0 150px;
bottom: 20%;
}
.car-slider-container {
height: 280px;
max-width: 100%;
padding: 10px;
}
.car-rental-image {
max-width: 95%;
max-height: 85%;
}
.slider-dots {
bottom: 10px;
}
.slider-dot {
width: 8px;
height: 8px;
}
.slider-dot.active {
width: 20px;
} .hero-car-wrapper::before,
.hero-car-wrapper::after {
display: none;
}
} @media (max-width: 400px) {
.car-rental-title {
font-size: 22px;
}
.hero-car-wrapper {
}
.hero-car-bg {
height: 70%;
border-radius: 120px 0 0 120px;
}
.car-slider-container {
height: 250px;
}
} @media (max-height: 600px) and (orientation: landscape) {
.car-rental-section {
min-height: auto;
padding: 20px 0;
}
.hero-car-wrapper {
min-height: 400px;
}
.car-slider-container {
height: 300px;
}
}