/* Enhanced Responsive Styles */

:root {
    --primary-color: #64b3f4;
    --secondary-color: #f94a7e;
    --dark-color: #333;
    --light-color: #f5f5f5;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Header Responsive */
header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    max-width: 100%;
    padding: 0 15px;
}

.top_nav {
    flex-wrap: wrap;
    gap: 20px;
}

.navbar-brand img {
    max-width: 70px;
    height: auto;
}

.nav-icon {
    gap: 15px;
    align-items: center;
}

.navbar-toggler {
    padding: 0.25rem 0.75rem;
}

/* Navigation Menu */
.navbar {
    padding: 0.5rem 0;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    color: var(--dark-color) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Banner Responsive */
.banner-text {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 20px;
    text-align: center;
}

.bnr_clip h4 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.bnr_clip p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Products Section */
.products-section {
    padding: 60px 20px;
    background: var(--light-color);
}

.products-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-color);
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f9f9f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.price {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.product-card .btn {
    transition: var(--transition);
}

.product-card .btn:hover {
    transform: scale(1.05);
}

/* About Section */
.about-section {
    padding: 60px 20px;
}

.about-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.about-section p {
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
    margin-bottom: 20px;
}

.about-section img {
    border-radius: var(--border-radius);
    margin-top: 20px;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 60px 20px 20px;
}

.footer-v2grid {
    margin-bottom: 30px;
}

.footer-v2grid h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-v2grid p {
    line-height: 1.8;
    color: #bbb;
    font-size: 0.95rem;
}

.footer-v2grid ul {
    list-style: none;
}

.footer-v2grid li {
    margin-bottom: 10px;
}

.footer-v2grid a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-v2grid a:hover {
    color: var(--primary-color);
}

footer .text-center {
    border-top: 1px solid #333;
    padding-top: 30px;
    color: #999;
    font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #4a9fd8;
    border-color: #4a9fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(100, 179, 244, 0.3);
}

/* Responsive Breakpoints */

/* Tablet */
@media (max-width: 768px) {
    .top_nav {
        flex-wrap: wrap;
    }

    .w3ls_right_nav {
        width: 100%;
        margin-top: 10px;
    }

    .navbar-brand img {
        width: 50px;
    }

    .nav-link {
        padding: 0.5rem 0.5rem !important;
        margin: 5px 0 !important;
    }

    .bnr_clip h4 {
        font-size: 1.8rem;
    }

    .bnr_clip p {
        font-size: 1rem;
    }

    .products-section h2 {
        font-size: 1.5rem;
    }

    .product-image {
        height: 200px;
    }

    .price {
        font-size: 1.2rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .footer-v2grid {
        text-align: center;
    }

    .row {
        flex-direction: column;
    }

    .col-lg-3, .col-lg-6, .col-md-6 {
        width: 100% !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    header .container {
        padding: 0 10px;
    }

    .navbar-brand img {
        width: 40px;
    }

    .nav-icon {
        gap: 10px;
        font-size: 14px;
    }

    .bnr_clip h4 {
        font-size: 1.5rem;
    }

    .bnr_clip p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .product-card {
        margin-bottom: 15px;
    }

    .product-image {
        height: 180px;
    }

    .product-info h5 {
        font-size: 1rem;
    }

    .product-info p {
        font-size: 0.8rem;
    }

    .price {
        font-size: 1.1rem;
    }

    .products-section {
        padding: 30px 10px;
    }

    .products-section h2,
    .about-section h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .about-section {
        padding: 30px 10px;
    }

    .about-section p {
        font-size: 0.9rem;
    }

    footer {
        padding: 30px 10px 10px;
    }

    .footer-v2grid {
        margin-bottom: 20px;
    }

    .footer-v2grid h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .footer-v2grid p,
    .footer-v2grid a {
        font-size: 0.85rem;
    }
}

/* Extra Small Devices */
@media (max-width: 320px) {
    .navbar-brand img {
        width: 35px;
    }

    .nav-icon {
        gap: 5px;
        font-size: 12px;
    }

    .bnr_clip h4 {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }

    .product-image {
        height: 150px;
    }

    .product-info h5 {
        font-size: 0.9rem;
    }

    .price {
        font-size: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-3 {
    padding: 1rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.font-weight-bold {
    font-weight: 700;
}
