:root {
    --primary-color: #0066cc;
    --secondary-color: #003366;
    --accent-color: #00aaff;
    --light-gray: #f4f6f8;
    --text-color: #333333;
    --white: #ffffff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

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

/* Logo and image size adjustments */

/* Updated logo styling */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px; /* Smaller logo image */
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 180px 0 120px; /* Increased padding */
    text-align: center;
}

.hero-content h1 {
    font-size: 54px; /* Larger heading */
    margin-bottom: 25px;
}

hero-content p {
    font-size: 22px; /* Larger text */
    max-width: 800px;
    margin: 0 auto 50px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s, background-color 0.3s;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
}

/* Services Overview */
#services-overview {
    padding: 80px 0;
    background-color: var(--light-gray);
}

#services-overview h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 180px; /* Increased height */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px 8px 0 0;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

/* Additional styles for the new sections */

/* Featured Products Section */
#featured-products {
    padding: 80px 0;
    background-color: var(--white);
}

#featured-products h2,
#about-preview h2,
#contact h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 36px;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.product-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 1;
}

.product-card img {
    width: 100%;
    height: 250px; /* Increased from 200px */
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.product-card h3 {
    font-size: 20px;
    margin: 20px 20px 10px;
    color: var(--secondary-color);
}

.product-card p {
    font-size: 15px;
    margin: 0 20px 20px;
    color: #666;
    min-height: 48px;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 20px;
    border-top: 1px solid #eee;
}

.product-category {
    font-size: 14px;
    color: #666;
    background-color: var(--light-gray);
    padding: 5px 10px;
    border-radius: 4px;
}

.btn-product {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.btn-product:hover {
    color: var(--secondary-color);
}

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

/* About Preview Section */
#about-preview {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content {
    padding-right: 20px;
}

.about-tagline {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
}

.stats-container {
    display: flex;
    margin: 30px 0;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.btn-text:hover {
    color: var(--secondary-color);
}

.arrow-right {
    margin-left: 5px;
    transition: transform 0.3s;
}

.btn-text:hover .arrow-right {
    transform: translateX(5px);
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: 500px; /* Larger image */
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Contact Section */
#contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.contact-icon i {
    font-size: 24px;
}

contact-icon img {
    width: 100%;
}

.contact-card h3,
.business-hours h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-card p,
.business-hours p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.business-hours {
    grid-column: span 2;
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-container {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-form button {
    grid-column: span 2;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    border: none;
}

/* Footer Section */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-company p {
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-logo {
    height: 50px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-links a i {
    color: white;
    font-size: 16px;
}

social-links a:hover {
    background-color: var(--accent-color);
}

.social-links img {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links-column h4,
.footer-newsletter h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
}

.footer-links-column ul li {
    margin-bottom: 12px;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links-column ul li a:hover {
    color: var(--accent-color);
}

.footer-newsletter p {
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.btn-subscribe {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    padding: 0 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.copyright p {
    opacity: 0.7;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--accent-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .product-slider {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .stats-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .stat-item {
        flex-direction: row;
        gap: 10px;
        align-items: baseline;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .contact-form button {
        grid-column: 1;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .logo-text {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .logo-container {
        justify-content: center;
    }
}

/* Additional styles for Consumables, B2B, and E-commerce sections */

/* Common Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Consumables & Home Devices Section */
#consumables-section {
    padding: 80px 0;
    background-color: var(--white);
}

.categories-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.category-col {
    background-color: var(--light-gray);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.category-header img {
    width: 80px; /* Increased from 50px */
    height: 80px; /* Increased from 50px */
    margin-right: 20px;
    object-fit: cover;
    border-radius: 8px;
}

.category-header h3 {
    font-size: 22px;
    color: var(--secondary-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.category-list li {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.category-list li:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 500;
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 5px;
}

.item-desc {
    color: #666;
    font-size: 14px;
}

.category-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.category-link:hover {
    color: var(--secondary-color);
}

.consumables-cta {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cta-content {
    padding: 50px;
    color: var(--white);
}

.cta-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

/* B2B Solutions Section */
#b2b-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.b2b-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.b2b-feature {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-content h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.b2b-client-showcase {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.b2b-client-showcase h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.client-logos img {
    width: 100%;
    height: auto;
    max-height: 80px; /* Set a maximum height */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
    object-fit: contain;
}

.client-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.client-testimonial {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.client-testimonial blockquote {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
}

.client-testimonial blockquote::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    left: -20px;
    top: -20px;
    opacity: 0.2;
    color: var(--primary-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    font-size: 16px;
}

.author-title {
    font-size: 14px;
    color: #666;
}

.b2b-client-showcase .btn-secondary {
    display: block;
    text-align: center;
    padding: 12px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

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

/* E-commerce Platform Section */
#ecommerce-section {
    padding: 80px 0;
    background-color: var(--white);
}

.ecommerce-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.ecom-feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ecom-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ecom-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
}

.ecom-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.ecom-feature h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.ecom-feature p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.platforms-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.platform-content h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.platform-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.platform-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.platform-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
    color: #666;
}

.platform-list li:last-child {
    border-bottom: none;
}

.platform-name {
    font-weight: 500;
    color: var(--primary-color);
    margin-right: 5px;
}

.platform-buttons {
    display: flex;
    gap: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

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

.platform-image img {
    width: 100%;
    height: auto;
    max-height: 400px; /* Larger image */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mobile-app-promo {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background-color: var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 450px; /* Larger image */
}

.app-content {
    padding: 50px;
}

.app-content h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.app-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 20px;
}

.app-button {
    display: flex;
    align-items: center;
    background-color: #333;
    color: white;
    border-radius: 6px;
    padding: 8px 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.app-button:hover {
    background-color: #555;
}

.app-button i {
    font-size: 24px;
    margin-right: 10px;
}

.app-button img {
    height: 40px;
    width: auto;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .categories-container,
    .b2b-grid,
    .platforms-showcase,
    .mobile-app-promo {
        grid-template-columns: 1fr;
    }
    
    .consumables-cta {
        grid-template-columns: 1fr;
    }
    
    .cta-image {
        display: none;
    }
    
    .ecommerce-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ecommerce-features {
        grid-template-columns: 1fr;
    }
    
    .platform-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .client-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}