/* Global Styles */
:root {
    --accent-color: #ff7f00; /* orange - primary accent color for buttons, active links, highlights */
    --structural-color: #656668; /* dark gray - for structural elements, secondary text */
    --white: #ffffff; /* main background color */
    --secondary-green: #70ae6e; /* supporting green color */
    --soft-background: #ffd580; /* light yellow - for soft backgrounds or hover states */
    --elegant-contrast: #5e548e; /* grayish purple - for elegant contrasts */
    --primary-text-color: #2e2e2e; /* very dark gray - primary text color */
    --alternative-background: #f8f9fa; /* alternative light background color */

    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f1f1f1; /* Use accent color for scrollbar */
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--primary-text-color); /* Use primary text color */
    background-color: var(--white);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
    overscroll-behavior-y: contain; /* Prevent bounce scroll on iOS/Android at content limits */
    font-size: 14px;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent-color); /* Use accent color for scrollbar thumb */
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-text-color); /* Use primary text color */
}

p {
    margin-bottom: 15px;
    color: var(--structural-color); /* Use structural color for body paragraphs (secondary text) */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #d06b00; /* Darker shade of accent for hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.3); /* Use accent color for shadow */
}

.btn-outline {
    background-color: transparent;
    color: var(--structural-color); /* Use structural color */
    border: 2px solid var(--structural-color); /* Use structural color */
}

.btn-outline:hover {
    background-color: var(--structural-color); /* Use structural color */
    color: var(--white);
    transform: translateY(-3px);
}

.btn-white {
    background-color: var(--white);
    color: var(--structural-color); /* Use structural color */
}

.btn-white:hover {
    background-color: var(--alternative-background); /* Use alternative background for hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Header Styles */
#header {
    position: sticky; /* Keep sticky header for scroll */
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.topbar {
    background-color: #ed7f20; /* Changed to orange */
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

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

.topbar-left a {
    margin-right: 20px;
    color: rgba(255, 255, 255, 0.8); /* Slightly transparent white */
}

.topbar-left a:hover {
    color: var(--white); /* Changed hover color to white for better contrast */
}

.topbar-left i {
    margin-right: 5px;
}

.topbar-right {
    display: flex;
    align-items: center;
}

.language-selector {
    display: flex;
    margin-right: 20px;
}

.flag-btn {
    background: none;
    border: none;
    padding: 5px;
    opacity: 0.7;
    cursor: pointer;
    transition: var(--transition);
}

.flag-btn.active, .flag-btn:hover {
    opacity: 1;
}

.social-links {
    display: flex;
}

.social-links a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 10px;
    transition: var(--transition);
    color: var(--white); /* Social icons in topbar are white */
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Use white with some opacity for hover */
    transform: translateY(-3px);
}

.main-header {
    padding: 20px 0;
}

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

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

.logo img {
    max-height: 50px;
    width: auto;
}

.logo h2 {
    color: var(--structural-color); /* Structural color for 'TRANS' */
    margin: 0; /* Adjust margin */
}

.logo h2 span {
    color: var(--accent-color); /* Accent color for 'TECH' */
}

.search-bar {
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-bar form {
    display: flex;
    width: 100%;
    border: 2px solid var(--alternative-background); /* Use alternative background border */
    border-radius: var(--border-radius);
    overflow: hidden;
}

.search-bar select {
    padding: 12px 15px;
    border: none;
    background-color: var(--alternative-background); /* Use alternative background */
    color: var(--primary-text-color); /* Use primary text color */
    font-size: 0.9rem;
    outline: none;
    width: 150px;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: var(--primary-text-color); /* Use primary text color */
}

.search-bar button {
    padding: 0 20px;
    background-color: var(--structural-color); /* Use structural color */
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background-color: #555; /* Slightly darker structural color for hover */
}

.header-actions {
    display: flex;
    align-items: center;
}

.main-nav {
    background-color: var(--structural-color); /* Use structural color */
    padding: 15px 0;
}

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

.category-menu {
    position: relative;
}

.category-trigger {
    display: flex;
    align-items: center;
    background-color: #ed7f20; /* Ensure orange color */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.category-trigger i {
    margin-right: 10px;
}

.category-trigger:hover {
    background-color: #d06b00; /* Darker accent for hover */
}

.category-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 270px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 15px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.category-menu:hover .category-dropdown {
    opacity: 1;
    visibility: visible;
}

.category-dropdown li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--primary-text-color); /* Use primary text color */
    transition: var(--transition);
}

.category-dropdown li a:hover {
    background-color: var(--alternative-background); /* Use alternative background for hover */
    color: var(--structural-color); /* Use structural color for hover text */
    padding-left: 25px;
}

.category-dropdown li i {
    width: 25px;
    margin-right: 10px;
    color: var(--structural-color); /* Use structural color for icons */
}

.nav-links {
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--accent-color); /* Use accent color */
    transition: width 0.3s ease;
}

.nav-links a:hover:after, .nav-links a.active:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--accent-color); /* Changed to orange */
    cursor: pointer;
}

/* Hero Section */
.hero-slides {
    position: relative;
    height: 600px; /* Default desktop height */
    overflow: hidden;
    padding-top: 0;
    margin-top: 0; /* Remove default margin */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7)); /* Keep dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
    width: 80%;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    animation: fadeInDown 1s forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s forwards 0.3s;
    opacity: 0;
    color: rgba(255, 255, 255, 0.9); /* White text with slight transparency */
}

.hero-content .btn {
    animation: fadeInUp 1s forwards 0.6s;
    opacity: 0;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Features Section */
#features {
    padding: 60px 0;
    background-color: var(--white);
}

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

.feature-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 87, 184, 0.1); /* Kept old primary color opacity for background - consider changing */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #3c5665; /* Using a color from the old palette - consider changing to primary text or structural */
    margin-right: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: #3c5665; /* Using a color from the old palette - consider changing to accent or structural */
    color: var(--white);
}

.feature-content h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-content p {
    margin-bottom: 0;
    color: var(--structural-color); /* Used structural color */
    font-size: 0.9rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3c5665; /* Using a color from the old palette - consider changing to accent or structural */
}

.section-header p {
    color: var(--structural-color); /* Used structural color */
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
#about {
    background-color: var(--alternative-background); /* Used alternative background */
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    color: #3c5665; /* Using a color from the old palette - consider changing to accent or structural */
    margin-bottom: 20px;
}

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

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3c5665; /* Using a color from the old palette - consider changing to accent or structural */
    margin-bottom: 5px;
}

.stat-text {
    color: var(--structural-color); /* Used structural color */
    font-size: 0.9rem;
}

/* Products Section */
#products {
    background-color: var(--white);
}

.product-filter-container {
    margin-bottom: 30px;
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--alternative-background); /* Used alternative background */
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent-color); /* Used accent color */
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.product-img {
    position: relative;
    height: 250px;
    background-color: var(--alternative-background); /* Used alternative background */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img img {
    max-height: 100%;
    max-width: 100%;
    transition: transform 0.5s ease;
    display: block; /* Ensure image is a block element for alignment */
    margin: 0 auto; /* Center the image */
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.product-badge.new {
    background-color: var(--structural-color); /* Used structural color */
    color: var(--white);
}

.product-badge.sale {
    background-color: var(--accent-color); /* Used accent color */
    color: var(--white);
}

.product-badge.hot {
    background-color: #e74c3c; /* Kept red for 'Hot' */
    color: var(--white);
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-actions a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-text-color); /* Used primary text color */
    transition: var(--transition);
}

.product-actions a:hover {
    background-color: var(--structural-color); /* Used structural color for hover */
    color: var(--white);
}

.product-content {
    padding: 20px;
}

.product-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.product-card:hover .product-content h3 {
    color: var(--structural-color); /* Used structural color for hover */
}

.product-content p {
    color: var(--structural-color); /* Used structural color */
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 60px;
}

.view-all-container {
    text-align: center;
    margin-top: 50px;
}

/* CTA Banner */
#cta-banner {
    background-image: linear-gradient(rgba(60, 86, 101, 0.9), rgba(60, 86, 101, 0.9)), url('hero-bg.png'); /* Using a color from the old palette - consider changing */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9); /* White text with slight transparency */
}

/* Testimonials Section */
#testimonials {
    background-color: var(--alternative-background); /* Used alternative background */
}

@media (max-width: 768px) {
    #testimonials {
        padding: 60px 0;
    }

    .testimonial-slides {
        position: relative;
        max-width: 100%;
        overflow: hidden;
        touch-action: pan-y;
    }

    .testimonial-card {
        position: absolute;
        width: 100%;
        opacity: 0;
        transform: translateX(100%);
        transition: all 0.5s ease;
        pointer-events: none;
    }

    .testimonial-card.active {
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
        z-index: 2;
    }
}

/* FAQ Section */
#faq {
    background-color: var(--white);
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #ed7f20; /* Specified orange color for FAQ questions */
}

.faq-icon {
    color: var(--accent-color); /* Used accent color */
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    height: auto;
    background-color: var(--alternative-background); /* Used alternative background */
}

/* Contact Section */
#contact {
    background-color: var(--alternative-background); /* Used alternative background */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 0; /* Removed margin-bottom since map is gone */
}

.contact-info {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
}

.info-item h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p, .info-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--white);
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

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

.contact-social .social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

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

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--structural-color);
    color: rgba(255, 255, 255, 0.8);
}

.footer-top {
    padding: 80px 0 40px;
}

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

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-widget p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    font-size: 1.3rem;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact li i {
    width: 20px;
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-contact li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.payment-methods {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
}

/* Mobile Menu Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--accent-color);
    color: var(--white);
    z-index: 999;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.8;
    transition: var(--transition);
}

.mobile-action-bar a span {
    font-size: 0.7rem;
    margin-top: 5px;
}

.mobile-action-bar a:hover,
.mobile-action-bar a.active {
    opacity: 1;
}

.mobile-lang-selector {
    position: relative;
}

.mobile-lang-selector .lang-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.8;
    transition: var(--transition);
}

.mobile-flags {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    padding: 10px;
    border-radius: var(--border-radius);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.mobile-flags.active {
    display: flex;
}

.mobile-flags::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--white);
}

.mobile-flags .flag-btn {
    padding: 5px;
    opacity: 0.7;
}

.mobile-flags .flag-btn.active,
.mobile-flags .flag-btn:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-links {
        position: fixed;
        top: 160px;
        left: 0;
        width: 100%;
        background-color: var(--accent-color);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 998;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        grid-template-columns: 1fr; /* Already set to 1fr on small screens */
        gap: 30px; /* Adjust gap */
    }
}

@media (max-width: 768px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    section {
        padding: 40px 0;
    }

    .topbar {
        display: none;
    }

    #header {
        position: relative;
        box-shadow: none;
    }

    .main-nav {
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .hero-slides {
        height: 100vh;
        margin-top: 50px;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-action-bar {
        display: flex;
    }

    footer {
        padding-bottom: 70px;
    }

    .product-img {
        height: 200px;
    }

    .product-img img {
        max-width: 70%;
        height: auto;
        display: block; /* Ensure image is a block element for alignment */
        margin: 0 auto; /* Center the image */
    }

    .search-bar {
        display: none;
    }

    .main-header .container {
        justify-content: space-between;
    }

    .logo {
        width: auto;
        text-align: left;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .hero-slides {
        margin-top: 50px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .main-header .container {
        padding: 0 15px;
    }

    .main-nav .container {
        padding: 0 15px;
    }
}