* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
body {
/* background-color: #f5f5f5; */
}

header {
background-color: #1a1a1a;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: space-between;
color: white;
}

.logo {
font-weight: bold;
color: white;
text-decoration: none;
font-size: 20px;
font-weight: 700;
}

.nav-menu {
display: flex;
align-items: center;
}

.nav-menu a {
color: white;
margin: 0 10px;
text-decoration: none;
font-size: 16px;
font-weight: bolder;
}

.dropdown {
position: relative;
display: inline-block;
}

.orange {
color: #ff6600;
}

.search-container {
/* background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('/price_comparison_website/uploads/2022/06/bg.webp') no-repeat cover;
height: 300px;
background-size: cover;
padding: 40px 20px;
color: white;
text-align: center;
position: relative;
overflow: hidden; */

margin-bottom: 50px !important;
padding: 80px 0 120px !important;
background-size: cover;
background-repeat: no-repeat;
background-position: 50% 50%;
background-image: url('/price_comparison_website/uploads/2022/06/bg.webp');
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
color: white;
}

/* .search-container::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 40px;
background-image: url('/uploads/2022/06/bg.webp');
background-size: cover;
} */

.search-container h1 {
font-size: 28px;
margin-bottom: 10px;
}

.search-container p {
font-size: 16px;
margin-bottom: 20px;
}

.search-box {
display: flex;
width: 600px;
margin: 0 auto;
margin-bottom: 20px;
}

.search-box input {
flex: 1;
padding: 12px 15px;
border: none;
border-radius: 4px 0 0 4px;
font-size: 14px;
}

.search-box button {
background-color: #ff3a2f;
color: white;
border: none;
padding: 12px 25px;
cursor: pointer;
border-radius: 0 4px 4px 0;
font-size: 14px;
}

.or-click {
font-size: 14px;
color: rgba(255,255,255,0.7);
margin-bottom: 30px;
}

.section-title {
text-align: center;
margin: 30px 0;
position: relative;
}

.section-title h2 {
font-size: 22px;
display: inline-block;
/* background-color: #f5f5f5; */
padding: 0 15px;
position: relative;
z-index: 1;
}

/* .section-title::after {
content: '';
height: 1px;
background-color: #ddd;
position: absolute;
top: 50%;
left: 0;
right: 0;
z-index: 0;
} */

.heart-icon {
color: #ff3a2f;
}

.product-grid {
display: flex;
overflow-x: auto;
gap: 20px;
padding: 0 20px;
margin-bottom: 30px;
}

.product-card {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
width: 200px;
flex-shrink: 0;
padding-bottom: 15px;
position: relative;
overflow: hidden;
cursor: pointer;
}

.sale-tag {
position: absolute;
top: 10px;
left: 10px;
background-color: #5cb85c;
color: white;
padding: 3px 8px;
border-radius: 3px;
font-size: 12px;
font-weight: bold;
}

.product-image {
height: 150px;
display: flex;
align-items: center;
justify-content: center;
padding: 15px;
}

.product-image img {
max-width: 100%;
max-height: 120px;
}

.product-category {
font-size: 11px;
color: #777;
text-transform: uppercase;
padding: 0 15px;
}

.product-name {
padding: 5px 15px;
font-size: 14px;
font-weight: 500;
height: 40px;
display: flex;
align-items: center;
}

.brand-icon {
width: 16px;
height: 16px;
border-radius: 50%;
background-color: #ff3a2f;
display: inline-flex;
align-items: center;
justify-content: center;
margin-right: 5px;
}

.brand-icon.parrot {
background-color: #ff3a2f;
}

.brand-icon.yuneec {
background-color: #dc3545;
}

.brand-icon i {
color: white;
font-size: 10px;
}

.rating {
padding: 0 15px;
color: #ffc107;
font-size: 12px;
margin-bottom: 5px;
}

.price-info {
padding: 0 15px;
font-size: 12px;
color: #777;
margin-bottom: 5px;
}

.features {
padding: 0 15px;
margin-bottom: 10px;
}

.feature {
display: flex;
align-items: center;
font-size: 12px;
margin-bottom: 3px;
}

.feature i {
color: #5cb85c;
margin-right: 5px;
font-size: 10px;
}

.product-price {
padding: 0 15px;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
}

.price {
font-weight: bold;
color: #ff3a2f;
}

.store-count {
font-size: 11px;
color: #777;
display: flex;
align-items: center;
}

.add-btn {
width: 24px;
height: 24px;
background-color: #ff3a2f;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border: none;
}

.tracking-banner {
background-color: #1a1a1a;
color: white;
text-align: center;
padding: 15px;
font-size: 14px;
}

.find-drone {
text-align: center;
margin: 40px 0;
}

.find-drone h2 {
font-size: 22px;
margin-bottom: 5px;
}

.find-drone p {
color: #777;
font-size: 14px;
margin-bottom: 20px;
}

.drone-description {
text-align: center;
max-width: 600px;
margin: 0 auto 30px;
font-size: 14px;
color: #666;
line-height: 1.5;
}

.filter-tabs {
display: flex;
justify-content: center;
margin-bottom: 30px;
}

.filter-tab {
padding: 8px 15px;
margin: 0 5px;
border: 1px solid #ddd;
border-radius: 20px;
cursor: pointer;
font-size: 14px;
}

.filter-tab.active {
background-color: #5cb85c;
color: white;
border-color: #5cb85c;
}

.wave-separator {
height: 60px;
background-image: url('https://placehold.co/1500x60/000000/FFFFFF.png?text=Wave');
background-size: cover;
margin: 40px 0;
}

.new-drones {
text-align: center;
margin: 40px 0;
background-color: #1a1a1a;
color: white;
padding: 40px 0;
position: relative;
}

.new-drones h2 {
font-size: 22px;
margin-bottom: 5px;
}

.new-drones p {
color: #ccc;
font-size: 14px;
margin-bottom: 30px;
}

.video-container {
max-width: 800px;
margin: 0 auto;
position: relative;
}

.video-placeholder {
width: 100%;
height: 450px;
background-color: #333;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
overflow: hidden;
}

.play-button {
width: 70px;
height: 70px;
background-color: rgba(255,255,255,0.2);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}

.play-button i {
color: white;
font-size: 30px;
}

.reviews-section {
text-align: center;
margin: 60px 0;
}

.reviews-grid {
display: flex;
justify-content: space-between;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
margin-bottom: 30px;
}

.review-card {
width: 30%;
background-color: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
cursor: pointer;
}

.review-image {
height: 150px;
overflow: hidden;
}

.review-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.review-content {
padding: 20px;
text-align: left;
display: flex;
flex-direction: column;
gap: 10px;

}



.review-title {
font-size: 16px;
font-weight: 500;
margin-bottom: 10px;
}

footer {
background-color: #1a1a1a;
color: white;
padding: 40px 20px;
}

.footer-content {
display: flex;
justify-content: space-between;
max-width: 1200px;
margin: 0 auto;
gap: 15px;
}

.footer-column {
width: 25%;
display: flex;
flex-direction: column;
gap: 10px;
}

.footer-column h3 {
font-size: 16px;
margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
color: #ccc;
font-size: 14px;
display: block;
margin-bottom: 5px;
text-decoration: none;
}

.newsletter {
margin-top: 20px;
}

.newsletter p {
margin-bottom: 10px;
}

.newsletter-form {
display: flex;
}

.newsletter-form input {
flex: 1;
padding: 10px;
border: none;
}

.newsletter-form button {
background-color: #ff3a2f;
color: white;
border: none;
padding: 10px 15px;
cursor: pointer;
}
/* Fix for product grid and card positioning */
.product-grid {
display: flex;
overflow-x: hidden; /* Change from auto to hidden */
gap: 20px;
padding: 0 60px; /* Increase padding to make room for arrows */
margin-bottom: 30px;
position: relative; /* Ensure relative positioning for absolute arrows */
}

.product-card {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
width: 200px;
flex: 0 0 auto; /* Use flex-shrink: 0 and flex-grow: 0 to maintain size */
padding-bottom: 15px;
position: relative;
overflow: hidden;
border: 1px solid #f5f5f5; /* Add border to separate cards */
cursor: pointer;
margin-bottom: 10px;
}

.product-card:hover {
box-shadow: 0 2px 5px rgba(240, 6, 6, 0.5); /* Add hover effect */
}

/* Navigation arrow styling */
.nav-arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 40px;
height: 40px;
background-color: rgba(255,255,255,0.8);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
z-index: 10;
}

.prev-arrow {
left: 10px;
}

.next-arrow {
right: 10px;
}

/* Container for product grid and arrows */
.products-container {
position: relative;
max-width: 1200px;
margin: 0 auto;
}
