:root {
    --primary: #6366f1;
    --secondary: #10b981;
    --accent: #8b5cf6;
    --dark: #1e293b;
    --light: #f8fafc;
    --gradient: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);

}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}



/* Navigation bar Styles */


/* Hero Section */
.hero-section {
    background: var(--gradient) center/cover no-repeat;
    color: white;
    padding: 1px 0;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
/* Featured Product Section - Responsive Cards */
.featured-product {
    padding: 40px 0;
    background-color: var(--secondary-color);
}

/* Card Container Responsive Sizing */
.featured-product .col-lg-3 {
    /* Mobile First - Small cards */
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.featured-product .col-lg-6 {
    /* Mobile First - Full width content */
    flex: 0 0 100%;
    max-width: 100%;
}

/* Product Image - Reduced Size & Responsive */
.product-image {
    width: 100%;
    max-width: 200px; /* Reduced from default */
    height: auto;
    max-height: 150px; /* Control height */
    object-fit: cover;
    border-radius: 8px; /* Slightly smaller radius */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Lighter shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    margin: 0 auto;
    display: block;
}

.product-image:hover {
    transform: scale(1.02); /* Reduced hover scale */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Content Spacing - Reduced */
.featured-product .section-title {
    font-size: 1.5rem; /* Smaller title */
    margin-bottom: 15px;
    text-align: center;
}

.featured-product p {
    font-size: 0.95rem; /* Slightly smaller text */
    line-height: 1.5;
    text-align: center;
    margin-bottom: 0;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .featured-product .col-lg-3 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        margin-bottom: 0;
    }
    
    .featured-product .col-lg-6 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .product-image {
        max-width: 180px;
        max-height: 140px;
    }
    
    .featured-product .section-title {
        text-align: left;
        font-size: 1.75rem;
    }
    
    .featured-product p {
        text-align: left;
        font-size: 1rem;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {
    .featured-product .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .featured-product .col-lg-6 {
        flex: 0 0 75%;
        max-width: 75%;
    }
    
    .product-image {
        max-width: 220px;
        max-height: 160px;
    }
    
    .featured-product .section-title {
        font-size: 2rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .product-image {
        max-width: 240px;
        max-height: 180px;
    }
    
    .featured-product .section-title {
        font-size: 2.2rem;
    }
}

/* Extra responsive adjustments */
@media (max-width: 576px) {
    .featured-product {
        padding: 30px 0;
    }
    
    .product-image {
        max-width: 160px;
        max-height: 120px;
    }
    
    .featured-product .section-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .featured-product p {
        font-size: 0.9rem;
    }
}
/* Product Cards Section - Responsive & Smaller Size */
.product-cards {
    margin-bottom: 30px;
    background-color: var(--light);
    padding: 5px 0;
}

.model-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgb(0, 0, 0);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.model-image {
    position: relative;
    background: #f8f9fa;
    padding: 1px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.model-card:hover .model-image img {
    transform: scale(1.05);
}

.model-meta {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary, #6366f1);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 2;
    width:fit-content;
}

.model-info {
    padding: 1px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.model-name {
    color: var(--dark, #333);
    font-weight: 600;
    margin-bottom: 1px;
    font-size: 1rem;
    line-height: 1.3;
}

.model-thumbnails {
    padding: 0 15px;
    justify-content: center;
}

.model-thumbnails .img-thumbnail {
    width: 35px !important;
    height: 35px !important;
    border-radius: 6px;
    border: 2px solid #e9ecef;
    padding: 2px;
}

.btn-un {
    background-color: var(--primary, #6366f1);
    border-color: var(--primary, #6366f1);
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    margin: 15px;
    margin-top: auto;
}

.btn-un:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
    transform: translateY(-1px);
}

/* Responsive Grid Adjustments */
@media (max-width: 1200px) {
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 992px) {
    .col-md-3 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .model-image {
        height: 160px;
    }
    
    .model-image img {
        max-height: 130px;
    }
}

@media (max-width: 768px) {
    .col-md-3 {
        flex: 0 0 50%;
        max-width:50%;
    }
    
    .model-image {
        height: 150px;
        padding: 1px;
    }

    .model-info {
        padding: 1px;
    }
    
    .model-name {
        font-size: 0.95rem;
    }
    
    .btn-un {
        font-size: 0.8rem;
        padding: 7px 14px;
        margin: 12px;
    }
    
    .model-thumbnails .img-thumbnail {
        width: 30px !important;
        height: 30px !important;
    }
}

@media (max-width: 576px) {
    .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-cards {
        padding: 15px 0;
    }
    
    .model-card {
        margin-bottom: 15px;
    }
    
    .model-image {
        height: 140px;
        padding: 10px;
    }
    

    
    .model-info {
        padding: 1px;
    }
    
    .model-name {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .btn-un {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin: 10px;
    }
    
    .model-thumbnails {
        padding: 0 10px;
    }
    
    .model-thumbnails .img-thumbnail {
        width: 28px !important;
        height: 28px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .model-name {
        font-size: 0.85rem;
    }
    
    .model-thumbnails .img-thumbnail {
        width: 35px !important;
        height: 25px !important;
    }
}

/* Footer */
footer {
    color: white;
    padding: 80px 0 20px;
    background: linear-gradient(135deg, #111253 0%, #127957 100%);
}

.footer-logo {
    max-width: 100px;
    margin-bottom: 20px;
}

.footer-links h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    transform: translateY(-5px);
}

.copyright {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {

    footer {
        text-align: center;
    }

    .footer-links {
        margin-top: 30px;
    }
}



