/* Base Reset & Variables */
:root {
    --primary-color: #00A3E0;
    /* Light Blue */
    --secondary-color: #0056b3;
    /* Darker Blue for accents */
    --accent-color: #e3f2fd;
    /* Very Light Blue background */
    --text-color: #333333;
    --light-text: #666666;
    --white: #ffffff;
    --background: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
    opacity: 0;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 50px 0;
}

/* Reduce top padding for product sections that follow another section */
#home-product-sections .section-padding {
    padding-top: 4px;
}

/* First product section gets normal spacing */
#home-product-sections .section-padding:first-child {
    padding-top: 60px;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--accent-color);
}

.mb-50 {
    margin-bottom: 50px;
}

.padding-bottom-small {
    padding-bottom: 0.5rem;
}

.margin-top-small {
    margin-top: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 163, 224, 0.2);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.full-width {
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;          /* adjust as needed */
  width: auto;
  object-fit: contain;
}

.logo span {
    color: var(--primary-color);
}

.logo i {
    color: var(--primary-color);
    margin-right: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(0, 163, 224, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.hero-image img {
    box-shadow: 0 20px 40px rgba(0, 163, 224, 0.2);
    border-radius: 20px;
    max-width: 100%;
}


/* Page Header (for inner pages) */
.page-header {
    background-color: var(--accent-color);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2.5rem;
}

/* Services Page Styles */
.service-row {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin: 40px 0;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
}

.service-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.service-desc {
    flex: 1;
}

.service-desc h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom removed as gap handles spacing */
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-role {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list li i {
    color: var(--primary-color);
}

.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 60px 0;
}


/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* About Page Styles */
.about-grid-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img img {
    box-shadow: var(--shadow);
}

.partners-grid-page {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-card {
    background: var(--white);
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #555;
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.map-placeholder {
    margin-top: 40px;
    height: 200px;
    background-color: #eee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.1);
}

.divider {
  width: 100%;
  height: 2px;
  background-color: #ddd;
  margin: 1rem 0;
}

/* Footer */
/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 80px 0 30px;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    margin-bottom: 25px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer ul li {
    margin-bottom: 15px;
}

.footer ul li a {
    color: var(--light-text);
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a i {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: var(--transition);
}

.social-links a:hover i {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e1e4e8;
    color: #888;
    font-size: 0.9rem;
}

.footer-col i {
    color: var(--text-color);
    /* Darker icons */
    width: 20px;
}

.footer-col a {
    color: var(--light-text);
}

/* Fix for service rows to be side by side on desktop */
.service-row {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin: 40px 0;
    flex-direction: row;
    /* Ensure row direction on desktop */
}

.service-row.reverse {
    flex-direction: row-reverse;
}

/* Ensure service image and description are side by side */
.service-img {
    flex: 1;
}

.service-desc {
    flex: 1;
}

/* Remove the problematic mobile styles that were forcing columns */
@media (max-width: 992px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .service-img img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .check-list {
        display: inline-block;
        text-align: left;
    }

    .service-header {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .icon-box {
        margin: 0 auto;
    }
}

/* For very small screens */
@media (max-width: 576px) {
    .service-row {
        margin: 30px 0;
    }

    .service-img img {
        height: 250px;
    }
}

/* Responsive */
@media (max-width: 992px) {

    .hero-content,
    .about-grid-page,
    .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer ul li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 992px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .check-list li {
        justify-content: center;
    }

    .hero-image,
    .about-img {
        order: -1;
        margin-bottom: 40px;
    }

    .hero-btns {
        justify-content: center;
        display: flex;
    }

    .check-list {
        display: inline-block;
        text-align: left;
    }

    .check-list li {
        justify-content: flex-start;
    }

    .service-header {
        justify-content: center;
        /* Center align header content on small screens if text is centered */
        text-align: left;
        /* Keep text left-aligned relative to icon */
    }
}

@media (max-width: 768px) {
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-item i {
        margin-bottom: 15px;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: var(--white);
        width: 100%;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .footer ul li {
        white-space: normal;
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.testimonial-card .stars {
    color: #ffd700;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--light-text);
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Timeline */
.timeline {
    width: 80%;
    margin: 40px auto;
    position: relative;
    border-left: 2px solid var(--primary-color);
    padding-left: 40px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.year {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Map Section */
.map-section {
    padding: 40px 0 80px;
    background-color: var(--background);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        width: 100%;
        padding-left: 20px;
    }

    .timeline-item::before {
        left: -26px;
    }
}

/* Product Styles */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    height: 220px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-tag {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info p.description {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.product-info .discount {
    font-size: 0.85rem;
    color: #28a745;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Search Bar Styles */
.search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 45px;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="18" height="18" fill="%23999"><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0s208 93.1 208 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/></svg>');
    background-repeat: no-repeat;
    background-position: 15px center;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 163, 224, 0.1);
}

.btn-primary-small {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    align-self: flex-start;
    transition: var(--transition);
}

.btn-primary-small:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.btn-text:hover {
    gap: 8px;
}

.margin-bottom-medium {
    margin-bottom: 40px;
}

.padding-bottom-small {
    padding-bottom: 30px;
}

.margin-top-medium {
    margin-top: 40px;
}

.margin-top-small {
    margin-top: 20px;
}

.line {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

.brands-section {
    background: #f8f9fb;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.brand-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 15px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2933;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    cursor: default;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

/* subtle gradient line */
.brand-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #2563eb, #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.brand-card:hover::before {
    transform: scaleX(1);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.18);
    color: #2563eb;
}


/* Enhanced Mobile Responsiveness for Products */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        /* Reduce gap for mobile */
    }

    .product-card {
        margin-bottom: 0;
    }

    .product-image-container {
        height: 180px;
        /* Slightly reduce height on mobile */
    }

    .product-info {
        padding: 15px;
    }

    .product-info h3 {
        font-size: 1rem;
        -webkit-line-clamp: 2;
    }

    .product-info p.description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        /* Show fewer lines on mobile */
    }

    .product-info .price {
        font-size: 1.1rem;
    }

    .btn-primary-small {
        padding: 6px 12px;
        font-size: 0.85rem;
        width: 100%;
        /* Make button full width on mobile */
        text-align: center;
    }
}

/* Extra small devices */
/* Extra small devices */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Force 2 columns */
        gap: 10px;
        /* Smaller gap for mobile */
    }

    .product-image-container {
        height: 120px;
        /* Reduced height for mobile */
        padding: 10px;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h3 {
        font-size: 0.9rem;
        /* Smaller font */
        margin-bottom: 5px;
    }

    .product-info p.description {
        display: none;
        /* Hide description on very small screens to save space */
    }

    .product-info .price {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .product-info .discount {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .btn-primary-small {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

/* For tablets in portrait mode (between 481px and 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Ensure product cards don't stretch too much on desktop */
@media (min-width: 769px) {
    .product-card {
        max-width: 100%;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {

    .btn-primary-small,
    .btn-text {
        min-height: 44px;
        /* Minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Adjust spacing for mobile */
@media (max-width: 768px) {
    .margin-top-medium {
        margin-top: 30px;
    }

    .margin-bottom-medium {
        margin-bottom: 30px;
    }

    .padding-bottom-small {
        padding-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1rem;
        margin: 0 auto 25px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-secondary {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 4px 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        width: 100%;
        max-width: 250px;
    }
}

/* Product Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    z-index: 10;
}

.close-modal:hover {
    color: var(--text-color);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
}

.modal-image {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.modal-details {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

.modal-category {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(0, 163, 224, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.modal-details h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.modal-price {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-description {
    color: var(--light-text);
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-stock {
    font-weight: 600;
    color: #28a745;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }

    .modal-image {
        padding: 40px 20px 20px;
    }

    .modal-details {
        padding: 30px 20px;
    }
}
