:root {
    --primary: #4a6bff;
    --secondary: #ff6b6b;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --success: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
}

.navbar-brand span {
    color: var(--secondary);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 600px;
}

.tagline {
    display: inline-block;
    position: relative;
}

.tagline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.tagline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: var(--primary);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3a5bef;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(74, 107, 255, 0.2);
}

.btn-secondary {
    background-color: var(--secondary);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

/* Categories Section */
.categories {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, #6a8bff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--secondary) 0%, #ff8e8e 100%);
    transform: scale(1.1);
}

.category-card h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.category-card p {
    color: #666;
    font-size: 14px;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: #f9fafc;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.product-content {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

.product-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-price {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 18px;
}

.product-price span {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.product-rating {
    color: #ffc107;
    font-size: 14px;
}

.product-rating .far {
    color: #ddd;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.step-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all 0.3s ease;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.step-card p {
    color: #666;
    font-size: 14px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #f9fafc;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 15px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(74, 107, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h5 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.author-info p {
    font-size: 14px;
    color: #666;
}

.testimonial-rating {
    color: #ffc107;
    margin-bottom: 15px;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #6a8bff 100%);
    color: white;
}

.newsletter h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    height: 50px;
    border-radius: 50px;
    border: none;
    padding: 0 20px;
}

.newsletter-form .btn {
    position: absolute;
    right: 5px;
    top: 5px;
    height: 40px;
    padding: 0 25px;
    border-radius: 50px;
    background: var(--secondary);
    border: none;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 0;
}

.footer-logo {
    font-weight: 700;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-about p {
    opacity: 0.7;
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary);
    font-size: 18px;
    margin-top: 3px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 14px;
}

/* Product Page */
.product-section {
    padding: 80px 0;
}

.product-gallery {
    margin-bottom: 30px;
}

.main-image {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-price span {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rating-stars {
    color: #ffc107;
    margin-right: 10px;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

.product-meta {
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-item i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}

.product-description {
    margin-bottom: 30px;
}

.product-description p {
    margin-bottom: 15px;
}

.rental-form {
    background: #f9fafc;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0 15px;
    width: 100%;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(74, 107, 255, 0.25);
}

.btn-block {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
}

.similar-products {
    margin-top: 50px;
}

/* User Review Section */
.user-reviews {
    margin-top: 50px;
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-user {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.review-user img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.review-date {
    font-size: 12px;
    color: #666;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-content p {
    margin-bottom: 0;
}

.add-review {
    background: #f9fafc;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.add-review h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.rating-input {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.rating-input label {
    margin-right: 10px;
    font-weight: 600;
}

.rating-input .stars {
    color: #ddd;
    font-size: 24px;
    cursor: pointer;
}

.rating-input .stars .active {
    color: #ffc107;
}

/* Modal Styles */
.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-footer {
    border-top: none;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 80px 0 100px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        margin: 0 auto 30px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .main-image {
        height: 300px;
    }
    
    .newsletter-form .btn {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .product-img {
        height: 150px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
}

.toast {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
}

.toast-header {
    border-bottom: none;
}

.toast-success {
    background-color: #f8f9fa;
    border-left: 4px solid var(--success);
}

.toast-error {
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary);
}




/* Add these styles to your existing CSS file */

/* Product Detail Page */
.product-section {
    padding: 80px 0;
}

.product-gallery {
    margin-bottom: 30px;
}

.main-image {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.product-price span {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rating-stars {
    color: #ffc107;
    margin-right: 10px;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

.product-meta {
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-item i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
}

.product-description {
    margin-bottom: 30px;
}

.product-description p {
    margin-bottom: 15px;
}

.rental-form {
    background: #f9fafc;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 0 15px;
    width: 100%;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(74, 107, 255, 0.25);
}

.btn-block {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
}

.similar-products {
    margin-top: 50px;
}

/* User Review Section */
.user-reviews {
    margin-top: 50px;
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-user {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.review-user img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.review-date {
    font-size: 12px;
    color: #666;
}

.review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.review-content p {
    margin-bottom: 0;
}

.add-review {
    background: #f9fafc;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.add-review h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.rating-input {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.rating-input label {
    margin-right: 10px;
    font-weight: 600;
}

.rating-input .stars {
    color: #ddd;
    font-size: 24px;
    cursor: pointer;
}

.rating-input .stars .active {
    color: #ffc107;
}