:root {
    --primary: #093ddab0;
    --primary-light: #0871fa69;
    --primary-dark: #099df3;
    --secondary: #13ffb4;
    --secondary-light: #1bba2b;
    --secondary-dark: #1d6169;    
    --cancel: #ff1313;
    --cancel-light: #ba451bc4;
    --cancel-dark: #691d1d;
    --accent: #00a859;
    --accent-light: #33cc99;
    --light: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #bdd0f7;
    --gray-200: #cddbf5;
    --gray-300: #88abe0;
    --gray-400: #5f80ba;
    --gray-500: #465b85;
    --gray-600: #2e4667;
    --gray-700: #232e5c;
    --gray-800: #1d3736;
    --gray-900: #274e3a;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #e95050;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --dropdown-max-height: 200px;
    --dropdown-item-height: 44px; /* Approximate height per item */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    font-size: clamp(14px, 2.5vw, 16px);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(0.5rem, 3vw, 1rem);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 2.5vw, 1.25rem);
    font-size: clamp(0.875rem, 2vw, 0.95rem);
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    user-select: none;
    outline: none;
    min-width: clamp(120px, 25vw, 140px);
    touch-action: manipulation;
    opacity: 1;
    visibility: visible;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(3, 17, 169, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: linear-gradient(135deg,  var(--secondary-dark), var(--secondary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cancel {
    background: linear-gradient(135deg, var(--cancel), var(--cancel-light));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-cancel:hover {
    background: linear-gradient(135deg,  var(--cancel-dark), var(--cancel));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.home-floating-button {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, rgba(50, 106, 248, 0.543), rgba(30, 204, 252, 0.648), rgba(30, 63, 252, 0.584), rgb(59, 245, 189));
    color: rgb(255, 255, 255);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.home-floating-button:hover {
    background-color: #0057b3e7;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.home-floating-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .home-floating-button {
        top: 80px;
        right: 10px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Enhanced Header Scroll Animation Styles */
.header {
    background: linear-gradient(135deg, #2d5016 0%, #1a3c0f 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

#site-header {
  position: fixed; /* Makes the header stay in place */
  top: 0; /* Positions the header at the top */
  width: 100%;
  background: linear-gradient(135deg, #1836f7 0%, #365de9fa 50%, #0015ff 100%);
  color: white;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: top 0.3s ease-in-out; /* Smooth transition for showing/hiding */
  z-index: 100; /* Ensures the header is on top of other content */
}

#site-header.hide {
  top: -80px; /* Adjust this value to be greater than or equal to your header's height */
}

/* Header Styles */
.header {
    background: linear-gradient(90deg, #0015ff 0%, #002aff 100%);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 700;
    color:#ff0000;
    text-decoration: none;
}

.logo-img {
    width: clamp(28px, 6vw, 32px);
    height: clamp(28px, 6vw, 32px);
}

/* Navigation Styles */
.nav {
    background-color: #2deed7fc;
    padding: 1rem;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 1em;
    display: block;
}

.nav-link:hover {
    color: #007bff;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #60edab;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
    
    /* Scroll properties */
    max-height: 200px; /* Adjust as needed */
    overflow-y: auto;
    overflow-x: hidden;
    max-height: var(--dropdown-max-height);
    overflow-y: auto;
}

/* Optional: Custom scrollbar styling */
.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.dropdown-menu li {
    list-style: none;
}

.dropdown-menu .dropdown-link {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9em;
}

.dropdown-menu .dropdown-link:hover {
    background-color: #51bae4c6;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle::after {
    content: '\25BC';
    display: inline-block;
    margin-left: 5px;
    font-size: 0.7em;
}

/* Optional: Show scroll only when needed */
.dropdown-menu.scrollable {
    overflow-y: hidden;
}

.dropdown-menu.scrollable:hover {
    overflow-y: auto;
}

/* Hide mobile menu button on large screens */
.mobile-menu-btn {
    display: none; /* Hidden by default for large screens */
}

.mobile-menu-btn {
    padding: 10px;
    font-size: 1.5rem;
    border: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.mobile-menu-btn.menu-open {
    background-color: #d32f2f; /* Red background when menu is open */
    transform: rotate(90deg); /* Optional rotation effect */
}

.mobile-menu-btn i {
    transition: all 0.3s ease;
}



.nav.show {
    display: block; /* Adjust based on your layout, e.g., flex for a vertical menu */
}



/* Responsive Styles */
@media (max-width: 968px) {


    .mobile-menu-btn {
            display: none; /* Ensure mobile menu button is hidden */
    }    

    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #3a7af1b3;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .nav-link {
        padding: 15px;
        text-align: center;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #60edab;
        min-width: 160px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border-radius: 4px;
        top: 100%;
        left: 0;
    }

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-menu .dropdown-link {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-size: 0.9em;
    }

    .dropdown-menu .dropdown-link:hover {
        background-color: #51bae4c6;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-toggle::after {
        content: '\25BC';
        display: inline-block;
        margin-left: 5px;
        font-size: 0.7em;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        right: 60%;
    }

    .nav {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: #3a7af1b3;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .nav-link {
        padding: 10px;
        text-align: center;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #60edab;
        min-width: 160px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border-radius: 4px;
        top: 100%;
        left: 0;
    }

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-menu .dropdown-link {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-size: 0.9em;
    }

    .dropdown-menu .dropdown-link:hover {
        background-color: #51bae4c6;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-toggle::after {
        content: '\25BC';
        display: inline-block;
        margin-left: 5px;
        font-size: 0.7em;
    }
}

/* Responsive Styles */
@media (max-width: 400px) {
    .mobile-menu-btn {
        display: block;
        right: 10%;
    }

    .nav {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: #3a7af1b3;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .nav-link {
        padding: 10px;
        text-align: center;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        background-color: #60edab;
        min-width: 160px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border-radius: 4px;
        top: 100%;
        left: 0;
    }

    .dropdown-menu li {
        list-style: none;
    }

    .dropdown-menu .dropdown-link {
        color: #333;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-size: 0.9em;
    }

    .dropdown-menu .dropdown-link:hover {
        background-color: #51bae4c6;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-toggle::after {
        content: '\25BC';
        display: inline-block;
        margin-left: 5px;
        font-size: 0.7em;
    }
}

.search-btn {
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

.hero {
    background: linear-gradient(135deg, rgba(50, 93, 248, 0.326), rgba(30, 189, 252, 0.272), rgba(59, 84, 245, 0.308)), url('hero_1.png'), var(--gray-50);
    color: var(--white);
    text-align: center;
    padding-top: calc(clamp(60px, 15vw, 100px) + clamp(3.5rem, 8vw, 4rem));
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    padding: 10;
}

.hero-slider {
    width: 100%;
    display: flex;
    height: 100%;
    min-height: 60vh;
    position: relative;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease; /* Matches GSAP duration */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
    display: flex;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-title {
    font-size: clamp(1.25rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(0.875rem, 2vw, 1rem);
    max-width: 90%;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 1rem);
    margin-top: 1.5rem;
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    opacity: 0.9;
    flex-wrap: wrap;
}

.hero-icons span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.hero-icons span:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-slider:hover .hero-slide {
    /* GSAP handles pause on hover via JavaScript */
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    padding: clamp(0.75rem, 2vw, 1.5rem) 0;
    background: var(--gray-100);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 100px;
}

.stat-item h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--primary);
    font-weight: 700;
}

.stat-item p {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: var(--gray-700);
}

section {
    padding: clamp(1.5rem, 6vw, 3rem) 0;
}

.services {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 204, 153, 0.1));
}

.blog {
    background: linear-gradient(135deg, rgba(0, 153, 204, 0.1), rgba(102, 204, 255, 0.1));
}

.products {
    background: linear-gradient(135deg, rgba(122, 151, 152, 0.1), rgba(75, 110, 145, 0.1));
}

.inquire-products {
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.1), rgba(0, 102, 204, 0.1));
}

.team {
    background: linear-gradient(135deg, rgba(51, 153, 255, 0.1), rgba(0, 204, 153, 0.1));
}

.testimonials {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(102, 204, 255, 0.1));
}

.contact {
    background: linear-gradient(135deg, rgba(0, 204, 153, 0.1), rgba(51, 153, 255, 0.1));
}

h2 {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 700;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    max-width: 90%;
    margin: 0 auto 1.5rem;
    color: var(--gray-600);
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
}

.services-grid,
.team-grid,
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(0.75rem, 2vw, 1rem);
}

.service-card,
.team-card,
.testimonial-card {
    background: var(--white);
    padding: clamp(0.75rem, 2vw, 1rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover,
.team-card:hover,
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon,
.contact-icon {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.team-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}

.team-role {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.stars {
    color: var(--warning);
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--gray-700);
    margin-top: 0.75rem;
}

.blog-scroller,
.product-scroller,
.inquire-product-scroller {
    position: relative;
}

.blog-posts,
.product-grid,
.inquire-product-grid {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1rem);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 0.75rem;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-200);
}

.blog-posts::-webkit-scrollbar,
.product-grid::-webkit-scrollbar,
.inquire-product-grid::-webkit-scrollbar {
    height: 8px;
}

.blog-posts::-webkit-scrollbar-thumb,
.product-grid::-webkit-scrollbar-thumb,
.inquire-product-grid::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius);
}

.blog-posts::-webkit-scrollbar-track,
.product-grid::-webkit-scrollbar-track,
.inquire-product-grid::-webkit-scrollbar-track {
    background: var(--gray-200);
}

.blog-card,
.product-card {
    flex: 0 0 clamp(200px, 28vw, 250px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card img,
.product-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.blog-card-content,
.product-card-content {
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.blog-category {
    background: var(--gray-200);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    color: var(--gray-700);
}

.blog-card-actions,
.product-card-actions,
.product-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}



.product-filters {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--gray-200);
    color: var(--gray-700);
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
    border: none;
    border-radius: var(--radius);
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 3vw, 1.5rem);
}

.contact-item {
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: clamp(0.875rem, 2vw, 1rem);
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: var(--gray-700);
}

.form-group input[type="file"] {
    border: none;
    padding: 0;
}

.form-group-search {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group-search input {
    padding-right: 2.5rem;
}

.form-group-search .btn {
    position: absolute;
    right: 0.5rem;
    padding: 0.5rem;
    min-width: auto;
}

/* Search Results Container */
.search-results-container {
    max-height: 180px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    margin-top: 0.5rem;
    box-shadow: var(--shadow);
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-200);
}

.search-results-container::-webkit-scrollbar {
    width: 6px;
}

.search-results-container::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius);
}

.search-results-container::-webkit-scrollbar-track {
    background: var(--gray-200);
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--gray-100);
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.search-result-meta {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    color: var(--gray-600);
}

.search-result-image {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-left: 0.5rem;
}

.search-result-actions {
    display: flex;
    gap: 0.5rem;
}

.search-highlight {
    background: var(--warning);
    color: var(--gray-900);
}

.search-no-results,
.search-loading {
    padding: 0.75rem;
    text-align: center;
    color: var(--gray-600);
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
}

.search-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.search-page-info {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    color: var(--gray-600);
}

.footer {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: clamp(1.5rem, 5vw, 2rem) 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
}

.footer-about,
.footer-links,
.footer-contact {
    margin-bottom: 1rem;
}

.footer-about h3,
.footer-links h3,
.footer-contact h3 {
    font-size: clamp(0.875rem, 2vw, 1rem);
    margin-bottom: 0.75rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-light);
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.social-icon {
    color: var(--gray-400);
    font-size: clamp(0.875rem, 2vw, 1rem);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent-light);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
}

.footer-bottom a {
    color: var(--gray-400);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent-light);
}

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100; /* Matches other modals like #product-detail-modal */
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: clamp(1rem, 3vw, 1.5rem); /* Responsive padding */
}

.modal-content {
    background: var(--white);
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: var(--radius-lg);
    max-width: clamp(360px, 85vw, 450px);
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-xl);
    max-height: 85vh;
    overflow-y: auto;
    
}

/* Ensure modal content is centered within the modal */
.modal-content {
    margin: auto; /* Center within the flex container */
}

.modal[aria-hidden="false"] {
    display: flex;
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    top: clamp(0.5rem, 1.5vw, 0.75rem);
    right: clamp(0.5rem, 1.5vw, 0.75rem);
    background: none;
    border: none;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--gray-900);
}

/* Search Modal Content */
.search-container {
    max-width: clamp(320px, 90vw, 500px); /* Adjusted max-width for better fit on small screens */
    width: 100%;
    background: var(--gray-300);
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-height: 85vh;
    overflow-y: auto;
    position: relative; /* Keep relative for internal positioning (e.g., modal-close) */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .search-container {
        max-width: clamp(280px, 95vw, 450px); /* Slightly smaller for medium screens */
        padding: clamp(0.75rem, 2vw, 1rem);
    }

    .modal {
        padding: clamp(0.5rem, 2vw, 0.75rem); /* Reduced padding for smaller screens */
    }
}

@media (max-width: 480px) {
    .search-container {
        max-width: clamp(260px, 98vw, 360px); /* Further reduced for small screens */
        padding: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    .modal-close {
        font-size: clamp(0.875rem, 2vw, 1rem);
    }

    h2 {
        font-size: clamp(1rem, 3vw, 1.25rem); /* Smaller heading for small screens */
    }

    .form-group-search input {
        font-size: clamp(0.7rem, 1.5vw, 0.8rem);
        padding: clamp(0.4rem, 1.2vw, 0.5rem);
    }
}

.inquire-products {
    background: #55f0b2 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.inquire-products:hover {
    background: #18aeff5f !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 1 !important;
    visibility: visible !important;
}

.selected-products {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    max-height: 150px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-200);
}

.selected-products::-webkit-scrollbar {
    width: 6px;
}

.selected-products::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius);
}

.selected-products::-webkit-scrollbar-track {
    background: var(--gray-200);
}

.selected-product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: var(--gray-700);
}

.selected-product-item:last-child {
    border-bottom: none;
}

.selected-product-item .btn {
    padding: 0.25rem 0.5rem;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    min-width: 80px;
}

.remove-product {
    padding: 5px 10px;
    font-size: 0.8rem;
}

.policy-content {
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-200);
}

.policy-content::-webkit-scrollbar {
    width: 8px;
}

.policy-content::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: var(--radius);
}

.policy-content::-webkit-scrollbar-track {
    background: var(--gray-200);
}

.policy-content h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin: 1rem 0 0.5rem;
    color: var(--gray-900);
}

.policy-content p {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

/* Product Details Modal Styles */
.product-details-modal .modal-content {
    max-width: clamp(320px, 90vw, 800px);
    padding: clamp(1rem, 3vw, 1.5rem);
}

.product-details-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.product-details-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    margin: 0 auto;
}

.product-details-info {
    flex: 1;
}

.product-details-title {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.product-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: var(--gray-600);
}

.product-details-meta span {
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
}

.product-details-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.product-details-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.product-details-features {
    margin: 1.5rem 0;
}

.product-details-features h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.product-details-features ul {
    list-style-type: none;
    padding-left: 0;
}

.product-details-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-details-features li:last-child {
    border-bottom: none;
}

.product-details-features i {
    color: var(--accent);
    font-size: 0.875rem;
}

/* Service Detail Modal Styles */
.service-detail-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-detail-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-detail-header h2 {
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.service-detail-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-detail-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.service-detail-benefits {
    margin-bottom: 1.5rem;
}

.service-detail-benefits h3 {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-detail-benefits ul {
    list-style-type: none;
    padding-left: 0;
}

.service-detail-benefits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-detail-benefits li:before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
}

.service-detail-benefits li:last-child {
    border-bottom: none;
}

.service-detail-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}



/* Service detail styles */
.service-detail-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-detail-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.service-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

.service-detail-benefits ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

/* Service Header Styles */
.service-header {
    text-align: center;
    margin-bottom: 2rem;
}

.service-tagline {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Service Image Container with Overlay */
.service-image-container {
    position: relative;
    margin-bottom: 2rem;
}

.service-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(81, 155, 132, 0.418), transparent);
    padding: 2rem;
    border-radius: 0 0 8px 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #4CAF50;
}


.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: #003fc5;
}

/* Additional Info Section */
.additional-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #2c5aa0;
}

/* Vaccines Offered Section */
.vaccines-offered {
    margin: 3rem 0;
}

.vaccine-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.vaccine-category {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vaccine-category h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.vaccine-category ul {
    list-style: none;
    padding: 0;
}

.vaccine-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.vaccine-category li::before {
    content: "💉";
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.vaccine-category li:last-child {
    border-bottom: none;
}

/* Benefits Grid */
.benefits-section {
    margin: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Process Timeline */
.process-section {
    margin: 3rem 0;
}

.process-timeline {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    background: #2c5aa0;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #2c5aa0;
}

.step-duration {
    display: inline-block;
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* Service Details Grid */
.service-details {
    margin: 3rem 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.detail-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.detail-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #4CAF50;
    font-weight: bold;
}

.detail-card li:last-child {
    border-bottom: none;
}

/* Special Services */
.special-services {
    margin: 3rem 0;
}

.special-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.special-service {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2c5aa0;
}

.special-service h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Safety Information */
.safety-information {
    margin: 3rem 0;
    background: #fff3e0;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #ff9800;
}

.safety-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.safety-protocols h3,
.common-side-effects h3 {
    color: #e65100;
    margin-bottom: 1rem;
}

.safety-protocols ul,
.common-side-effects ul {
    list-style: none;
    padding: 0;
}

.safety-protocols li,
.common-side-effects li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.safety-protocols li::before {
    content: "🛡️";
    position: absolute;
    left: 0;
    top: 0.3rem;
}

.common-side-effects li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 0.3rem;
}

/* FAQ Section */
.faq-section {
    margin: 3rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
}

.faq-item h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #458fffac 0%, #3580fa99 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}



.btn-outline {
    background: transparent;
    color: rgba(250, 30, 30, 0.9);
    border-color: rgb(69, 243, 214);
}

.btn-outline:hover {
    background: rgb(240, 230, 230);
    color: #2c5aa0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.services-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3498db96 0%, #9bd6925a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.3rem 0;
    color: #5a6c7d;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    color: #3498db;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-outline1 {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.btn-outline1:hover {
    background: #3498db;
    color: white;
}

.btn-outline1 i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-outline1:hover i {
    transform: translateX(3px);
}

.section-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.section-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.section-footer a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h1 {
        font-size: 2rem;
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

#all-products-modal {
    z-index: 1000; /* Base modal z-index */
}

#product-detail-modal {
    z-index: 1100; /* Higher than all-products-modal */
}

#inquiry-modal {
    z-index: 1200; /* Highest to ensure it appears above product-detail-modal */
}

#services-modal, #blog-modal, #privacy-policy-modal, #terms-service-modal, #search-modal, #products-inquiry-modal {
    z-index: 1100; /* Same level as product-detail-modal for consistency */
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.no-products-message {
  text-align: center;
  padding: 2rem;
  grid-column: 1 / -1;
  color: var(--gray-600);
  font-style: italic;
}

#all-products-modal .modal-content {
    max-width: 1200px; /* Larger modal for all products */
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #578b5f7e;
    background: none;
    border: none;
}

.modal-cancel {
    background: #88c3f4b1;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.product-detail-header, .service-detail-header {
    text-align: center;
    margin-bottom: 20px;
}

.product-detail-image, .service-detail-image {
    text-align: center;
    margin-bottom: 20px;
}

.product-detail-image img, .service-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-detail-info, .service-detail-info {
    margin-bottom: 20px;
}

.product-detail-section, .service-detail-section {
    margin-bottom: 15px;
}

.product-detail-section h4, .service-detail-section h4 {
    margin-bottom: 10px;
    color: #333;
}

.product-detail-actions, .service-detail-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #0051ffa9;
    color: white;
}

.btn-secondary {
    background: #3a6ddcab;
    color: white;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    max-width: 300px;
    margin: 10px;
}

.product-scroller, .inquire-product-scroller {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 1rem;
}
.product-card {
    flex: 0 0 auto;
    width: 200px;
}
.filter-btn.active {
    background-color: #007bff;
    color: white;
}
.scroll-left, .scroll-right {
    cursor: pointer;
    padding: 0.5rem;
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.product-card-content h3 {
    font-size: 20px;
    margin: 10px 0;
}

.product-card-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

/* Modal Styles for All Products Modal */
#all-products-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 1.5rem);
}

#all-products-modal[aria-hidden="false"] {
    display: flex;
}

.all-products-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: clamp(320px, 90vw, 1200px);
    width: 100%;
    padding: clamp(1rem, 3vw, 1.5rem);
    position: relative;
    margin: auto;
    max-height: 90vh;
    overflow-y: auto;
}

.all-products-content h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-800);
}

.all-products-content .modal-close,
.all-products-content #all-products-back-btn {
    position: absolute;
    top: clamp(0.75rem, 2vw, 1rem);
    right: clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    cursor: pointer;
    color: var(--gray-600);
    background: none;
    border: none;
    transition: var(--transition);
}

.all-products-content .modal-close:hover,
.all-products-content #all-products-back-btn:hover {
    color: var(--primary);
}

/* Filter Buttons */
.all-products-content .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
    justify-content: center;
}

.all-products-content .filter-btn {
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 2vw, 1.25rem);
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    min-width: clamp(100px, 20vw, 120px);
    border-radius: var(--radius);
    background: var(--gray-200);
    color: var(--gray-800);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.all-products-content .filter-btn.active,
.all-products-content .filter-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.all-products-content .filter-btn.search-btn {
    background: var(--secondary);
    color: var(--white);
}

.all-products-content .filter-btn.search-btn:hover {
    background: var(--secondary-dark);
}

/* Product Grid */
#all-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 30vw, 280px), 1fr));
    gap: clamp(1rem, 2vw, 1.25rem);
    padding: clamp(0.5rem, 1.5vw, 0.75rem);
}

#all-products-grid .product-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

#all-products-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

#all-products-grid .product-card img {
    width: 100%;
    height: clamp(140px, 25vw, 160px);
    object-fit: cover;
}

#all-products-grid .product-card-content {
    padding: clamp(0.75rem, 2vw, 1rem);
}

#all-products-grid .product-card-content h3 {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

#all-products-grid .product-card-content p {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

#all-products-grid .product-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    justify-content: center;
}

#all-products-grid .product-card-actions .btn {
    flex: 1;
    min-width: clamp(100px, 20vw, 120px);
    padding: clamp(0.5rem, 1.5vw, 0.625rem) clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
}

.products-section {
    padding: 40px 0;
}

.products-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.product-scroller {
    position: relative;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 10px 0;
}

.product-card p {
    color: #666;
    font-size: 0.9rem;
}

.scroll-left, .scroll-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.scroll-left {
    left: -30px;
}

.scroll-right {
    right: -30px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .scroll-left, .scroll-right {
        padding: 8px;
    }
}

.blog-section {
    padding: 40px 0;
}

.blog-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.blog-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 15px;
}

.blog-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.blog-card-content p {
    color: #666;
    font-size: 0.9rem;
}

.blog-tags {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.blog-tags span {
    background: #e0e0e0;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

/* Single blog post */
.blog-post {
    padding: 40px 0;
}

.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.blog-post .meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.blog-post blockquote {
    border-left: 4px solid #007bff;
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .blog-card img {
        height: 150px;
    }
    .blog-post h1 {
        font-size: 2rem;
    }
}

.services-section {
    padding: 40px 0;
}

.services-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.service-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin: 10px 0;
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Single service page */
.service-page {
    padding: 40px 0;
}

.service-page h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-page ul {
    list-style: disc;
    margin: 20px 0;
    padding-left: 20px;
}

/* Blog Page Styles */
.blog {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.blog h3 {
    font-size: 2rem;
    color: #3d703fd9;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.blog-header {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.blog-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #52fae9db
    
}

.blog-meta {
    color: #ecf0f1;
    font-style: italic;
}

.blog-post {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
    overflow: hidden;
}

.blog-post-image {
    width: 100%;
    height: 100%;
    padding: 5%;
    overflow: hidden;
    position: relative; /* Added for better positioning control */
}

.blog-post-image img {
    width: 100%;
    height: 100%; /* Changed from 80% to fill container */
    object-fit: cover; /* This ensures the image covers the area without distortion */
    transition: transform 0.5s ease;
    display: block; /* Removes extra space below image */
    background-color: #4a92bfb1; /* Placeholder color while loading */
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-categories {
    margin-bottom: 1rem;
}

.blog-category {
    display: inline-block;
    background-color: #e74d3cc5;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.blog-post-content h1 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
    font-size: 1.8rem;
}

.blog-post-content h2 {
    color: #34495e;
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.blog-post-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.blog-post-content ul, 
.blog-post-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.blog-post-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #7f8c8d;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-post-content th, 
.blog-post-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.blog-post-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}


/* Optional: Add different aspect ratios for responsiveness */
@media (max-width: 768px) {
    .blog-post-image {
        width: 100%;
        height: 100%;
        padding: 5%;
        overflow: hidden;
        position: relative; /* Added for better positioning control */
    }
    .blog-post-image img {
        width: 100%;
        height: 100%; /* Changed from 80% to fill container */
        object-fit: cover; /* This ensures the image covers the area without distortion */
        transition: transform 0.5s ease;
        display: block; /* Removes extra space below image */
        background-color: #4a92bfb1; /* Placeholder color while loading */
    }    
}

/* Optional: Add different aspect ratios for responsiveness */
@media (max-width: 400px) {
    .blog-post-image {
        width: 100%;
        height: 100%;
        padding: 5%;
        overflow: hidden;
        position: relative; /* Added for better positioning control */
    }
    .blog-post-image img {
        width: 100%;
        height: 100%; /* Changed from 80% to fill container */
        object-fit: cover; /* This ensures the image covers the area without distortion */
        transition: transform 0.5s ease;
        display: block; /* Removes extra space below image */
        background-color: #4a92bfb1; /* Placeholder color while loading */
    }    
}

/* Product Detail Page */
.Aproduct-detail {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.Aproduct-detail h1 {
    color: #4a9a87d6;
    margin-bottom: 1rem;
}

.Aproduct-detail img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
}

.Aproduct-detail p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.Aproduct-detail p strong {
    color: #2a7a47db;
}

.Agallery {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.Agallery img {
    max-width: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Products Page */
.Aproducts-section {
    padding: 2rem 0;
}

.Aproducts-section h1 {
    color: #2b77c3;
    text-align: center;
    margin-bottom: 1rem;
}

.Aproducts-section > p {
    text-align: center;
    margin-bottom: 2rem;
    color: #41d3dd;
}

.Aproduct-grid {
    display: grid;
    background: linear-gradient(135deg, rgba(50, 93, 248, 0.543), rgba(30, 189, 252, 0.584), rgba(59, 84, 245, 0.498)), url('Aproduct_grid.png'), var(--gray-50);
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.Aproduct-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Aproduct-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.Aproduct-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    background: #f8f9fa;
}

.Aproduct-card h2 {
    padding: 0 1rem;
    font-size: 1.2rem;
    color: #498ccf;
    margin: 0.5rem 0;
}

.Aproduct-card p {
    padding: 0 1rem;
    color: #030c19;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.Aproduct-card .btn {
    margin: 0 1rem 1rem;
    display: block;
    text-align: center;
}

/* Services Pages */
.services-section {
    padding: 2rem 0;
}

.services-section h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
}

.services-section > p {
    text-align: center;
    margin-bottom: 2rem;
    color: #7f8c8d;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.service-card h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Service Detail Page */
.service-detail {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-detail h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-detail img {
    width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.service-detail h2 {
    color: #34495e;
    margin: 1.5rem 0 1rem;
}

.service-detail p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-detail ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.service-detail li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post-image {
        height: 200px;
    }

    .blog h3 {
        font-size: 1.5rem;
    }
    
    .blog-header h2 {
        font-size: 1.2rem;
    }    

    .product-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        flex-direction: column;
        align-items: center;
    }
    
    .product-detail,
    .service-detail,
    .blog-post.container {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .blog h3 {
        font-size: 1.5rem;
    }
    
    .blog-header h2 {
        font-size: 1.2rem;
    }
    
    .product-card h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 10px;
    }
    .service-page h1 {
        font-size: 2rem;
    }
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    #all-products-modal {
        padding: clamp(0.5rem, 2vw, 0.75rem);
    }

    .all-products-content {
        max-width: 95vw;
        padding: clamp(0.75rem, 2vw, 1rem);
        max-height: 95vh;
    }

    .all-products-content h2 {
        font-size: clamp(1.25rem, 3.5vw, 1.5rem);
    }

    .all-products-content .modal-close,
    .all-products-content #all-products-back-btn {
        top: clamp(0.5rem, 1.5vw, 0.75rem);
        right: clamp(0.5rem, 1.5vw, 0.75rem);
        font-size: clamp(1rem, 2.5vw, 1.25rem);
    }

    .all-products-content .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .all-products-content .filter-btn {
        width: 100%;
        max-width: clamp(200px, 50vw, 240px);
        padding: clamp(0.625rem, 1.8vw, 0.75rem) clamp(1rem, 2.5vw, 1.25rem);
        font-size: clamp(0.875rem, 2vw, 1rem);
    }

    #all-products-grid {
        grid-template-columns: repeat(auto-fit, minmax(clamp(200px, 45vw, 220px), 1fr));
        gap: clamp(0.75rem, 1.8vw, 1rem);
    }

    #all-products-grid .product-card img {
        height: clamp(120px, 30vw, 140px);
    }

    #all-products-grid .product-card-content h3 {
        font-size: clamp(0.875rem, 2.2vw, 1rem);
    }

    #all-products-grid .product-card-content p {
        font-size: clamp(0.7rem, 1.6vw, 0.8rem);
    }

    #all-products-grid .product-card-actions .btn {
        min-width: clamp(90px, 22vw, 100px);
        padding: clamp(0.4rem, 1.2vw, 0.5rem) clamp(0.6rem, 1.8vw, 0.8rem);
        font-size: clamp(0.7rem, 1.6vw, 0.8rem);
    }
}

@media (max-width: 480px) {
    #all-products-modal {
        padding: clamp(0.25rem, 1.5vw, 0.5rem);
    }

    .all-products-content {
        max-width: 98vw;
        padding: clamp(0.5rem, 1.5vw, 0.75rem);
        max-height: 98vh;
    }

    .all-products-content h2 {
        font-size: clamp(1rem, 3vw, 1.25rem);
    }

    .all-products-content .filter-buttons {
        gap: clamp(0.4rem, 1.2vw, 0.5rem);
    }

    .all-products-content .filter-btn {
        max-width: clamp(180px, 60vw, 200px);
        padding: clamp(0.5rem, 1.5vw, 0.625rem) clamp(0.75rem, 2vw, 1rem);
        font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    }

    #all-products-grid {
        grid-template-columns: 1fr;
        gap: clamp(0.5rem, 1.5vw, 0.75rem);
    }

    #all-products-grid .product-card img {
        height: clamp(100px, 35vw, 120px);
    }

    #all-products-grid .product-card-content h3 {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    #all-products-grid .product-card-content p {
        font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    }

    #all-products-grid .product-card-actions {
        flex-direction: column;
        align-items: center;
    }

    #all-products-grid .product-card-actions .btn {
        width: 100%;
        max-width: clamp(140px, 50vw, 160px);
        min-width: 0;
        padding: clamp(0.4rem, 1.2vw, 0.5rem) clamp(0.6rem, 1.8vw, 0.8rem);
        font-size: clamp(0.7rem, 1.6vw, 0.8rem);
    }
}

/* Accessibility Enhancements */
#all-products-modal:focus-within,
.all-products-content:focus-within {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.all-products-content .filter-btn:focus,
#all-products-grid .product-card-actions .btn:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(3, 17, 169, 0.3);
}

/* AOS Staggered Animations for Product Grid */
#all-products-grid [data-aos] {
    transition-delay: 0ms;
}

#all-products-grid [data-aos]:nth-child(2n) {
    transition-delay: 100ms;
}

#all-products-grid [data-aos]:nth-child(3n) {
    transition-delay: 200ms;
}


.floating-back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1300; /* Ensure it appears above all modals */
}

/* Ensure modals are focusable for accessibility */
.modal[aria-hidden="false"] {
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-detail-header h2 {
        font-size: 1.5rem;
    }
    
    .service-detail-icon {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .product-details-header {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .product-details-image {
        margin: 0;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav {
        display: none;
    }

    .nav.show {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 0.75rem;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }

    .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .hero {
        padding-top: calc(clamp(40px, 12vw, 60px) + clamp(3rem, 7vw, 3.5rem));
    }

    .hero-title {
        font-size: clamp(1rem, 4vw, 1.5rem);
    }

    .hero-subtitle {
        font-size: clamp(0.75rem, 1.8vw, 0.875rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .scroll-btn {
        width: clamp(32px, 8vw, 36px);
        height: clamp(32px, 8vw, 36px);
        font-size: clamp(0.875rem, 2vw, 1rem);
    }

    /* Product Details Modal Mobile Styles */
    .product-details-modal .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
    
    .product-details-actions {
        flex-direction: column;
    }
    
    .product-details-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
        font-size: clamp(0.7rem, 1.5vw, 0.8rem);
        min-width: 100px;
    }

    .hero-icons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .services-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .blog-card,
    .product-card {
        flex: 0 0 clamp(180px, 45vw, 200px);
    }

    .blog-card img,
    .product-card img {
        height: 100px;
    }

    .modal-content {
        max-width: clamp(300px, 90vw, 360px);
    }

    /* Product Details Modal Small Screen Styles */
    .product-details-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .product-details-features li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

@media (max-width: 768px) {
    .header {
        height: clamp(5rem, 9vw, 5.5rem);
        padding: clamp(0.5rem, 1vw, 0.75rem) 0;
    }

    .header-container {
        padding: clamp(0.5rem, 1vw, 0.75rem) 0;
    }

    .logo {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }

    .logo-img {
        width: clamp(24px, 5vw, 28px);
        height: clamp(24px, 5vw, 28px);
    }

    .hero {
        min-height: 50vh;
    }

    .hero-slider {
        min-height: 50vh;
    }

    .hero-title {
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        margin-bottom: 1rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .hero-icons {
        margin-top: 1rem;
    }

    .hero-icons span {
        padding: 0.4rem 0.6rem;
    }

    .section-subtitle {
        margin-bottom: 1rem;
    }

    .service-card,
    .team-card,
    .testimonial-card {
        padding: 0.75rem;
    }

    .team-avatar {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }

    .blog-card-content,
    .product-card-content {
        padding: 0.75rem;
    }

    .blog-category {
        font-size: 0.7rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-about,
    .footer-links,
    .footer-contact {
        margin-bottom: 0.75rem;
    }

    .footer-socials {
        margin-top: 0.5rem;
    }

    .whatsapp-float {
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .whatsapp-float img {
        width: clamp(36px, 8vw, 40px);
        height: clamp(36px, 8vw, 40px);
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 0.5rem;
    }

    .btn {
        min-width: 90px;
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 0.7rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-icons span {
        font-size: 0.7rem;
    }

    .blog-card,
    .product-card {
        flex: 0 0 160px;
    }

    .blog-card img,
    .product-card img {
        height: 90px;
    }

    .modal-content {
        padding: 0.75rem;
    }

    .product-details-title {
        font-size: 1rem;
    }

    .product-details-meta span {
        font-size: 0.7rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary: #0000ff;
        --primary-light: #0000cc;
        --primary-dark: #000099;
        --secondary: #004080;
        --secondary-light: #00264d;
        --accent: #008000;
        --accent-light: #006600;
        --light: #ffffff;
        --gray-50: #f2f2f2;
        --gray-100: #e6e6e6;
        --gray-200: #cccccc;
        --gray-300: #b3b3b3;
        --gray-400: #999999;
        --gray-500: #808080;
        --gray-600: #666666;
        --gray-700: #4d4d4d;
        --gray-800: #333333;
        --gray-900: #1a1a1a;
        --white: #ffffff;
        --success: #008000;
        --warning: #ff8c00;
        --error: #ff0000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* WhatsApp buttons styles */
.whatsapp-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-float {
    display: flex;
    justify-content: flex-end;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateX(-5px);
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
}

.whatsapp-float a:hover {
    background: #128C7E;
    box-shadow: 0 6px 16px rgba(18, 140, 126, 0.5);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.whatsapp-float i {
    font-size: 24px;
    margin-right: 10px;
}

.whatsapp-label {
    font-size: 16px;
    white-space: nowrap;
}

/* Responsive design */
@media (max-width: 768px) {
    .whatsapp-buttons {
        bottom: 20px;
        right: 15px;
    }
    
    .whatsapp-float a {
        padding: 8px 16px;
    }
    
    .whatsapp-label {
        font-size: 14px;
    }
    
    .whatsapp-float img,
    .whatsapp-float i {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .whatsapp-buttons {
        bottom: 15px;
        right: 10px;
    }
    
    .whatsapp-float a {
        padding: 6px 12px;
    }
    
    .whatsapp-label {
        font-size: 12px;
    }
    
    .whatsapp-float img,
    .whatsapp-float i {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }
}

/* Animate on Scroll (AOS) Styles */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
    transition-duration: var(--transition);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="zoom-out"] {
    transform: scale(1.2);
}

[data-aos="zoom-out"].aos-animate {
    transform: scale(1);
}

[data-aos="slide-up"] {
    transform: translateY(100px);
}

[data-aos="slide-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="slide-down"] {
    transform: translateY(-100px);
}

[data-aos="slide-down"].aos-animate {
    transform: translateY(0);
}

/* Staggered animations for grid items */
.services-grid [data-aos],
.team-grid [data-aos],
.testimonials-grid [data-aos],
.product-grid [data-aos],
.blog-posts [data-aos] {
    transition-delay: 0ms;
}

.services-grid [data-aos]:nth-child(2n) {
    transition-delay: 100ms;
}

.services-grid [data-aos]:nth-child(3n) {
    transition-delay: 200ms;
}

.team-grid [data-aos]:nth-child(2n) {
    transition-delay: 100ms;
}

.team-grid [data-aos]:nth-child(3n) {
    transition-delay: 200ms;
}

.testimonials-grid [data-aos]:nth-child(2n) {
    transition-delay: 100ms;
}

.testimonials-grid [data-aos]:nth-child(3n) {
    transition-delay: 200ms;
}

.product-grid [data-aos]:nth-child(2n) {
    transition-delay: 100ms;
}

.product-grid [data-aos]:nth-child(3n) {
    transition-delay: 200ms;
}

.blog-posts [data-aos]:nth-child(2n) {
    transition-delay: 100ms;
}

.blog-posts [data-aos]:nth-child(3n) {
    transition-delay: 200ms;
}

/* Reduced motion support for AOS */
@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition-duration: 0.01ms !important;
    }
}