:root {
 --primary-color: #0056b3; /* Darker blue */
 --secondary-color: #007bff; /* Bright blue */
 --accent-color: #28a745; /* Green for success/CTA */
 --text-color: #333;
 --light-text-color: #666;
 --white-color: #fff;
 --light-bg: #f8f9fa;
 --dark-bg: #343a40;
 --border-color: #e9ecef;
 --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.05);
 --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.1);
 --font-heading: 'Montserrat', sans-serif;
 --font-body: 'Open Sans', sans-serif;
 --border-radius: 8px;
 --spacing-unit: 1rem; /* 16px */
}

/* Reset and base styles */
*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}

html {
 scroll-behavior: smooth;
 font-size: 16px;
}

body {
 font-family: var(--font-body);
 line-height: 1.6;
 color: var(--text-color);
 background-color: var(--white-color);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

a {
 color: var(--secondary-color);
 text-decoration: none;
 transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
 color: var(--primary-color);
 text-decoration: underline;
}

img {
 max-width: 100%;
 height: auto;
 display: block;
}

h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-heading);
 color: var(--primary-color);
 margin-top: 1rem;
 margin-bottom: 0.8rem;
 line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
 margin-bottom: 1rem;
}

ul, ol {
 margin-left: 1.5rem;
 margin-bottom: 1rem;
}

li {
 margin-bottom: 0.5rem;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 var(--spacing-unit);
}

.section-spacing {
 padding: 4rem 0;
}

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

.bg-dark {
 background-color: var(--dark-bg);
 color: var(--white-color);
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 {
 color: var(--white-color);
}
.bg-dark a {
 color: var(--secondary-color);
}
.bg-dark a:hover {
 color: var(--primary-color);
}

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

.section-description {
 font-size: 1.1rem;
 color: var(--light-text-color);
 max-width: 800px;
 margin: 0 auto 2rem auto;
 text-align: center;
}
.bg-dark .section-description {
 color: var(--white-color);
}

/* Buttons */
.button {
 display: inline-block;
 padding: 0.8rem 1.8rem;
 font-size: 1rem;
 font-weight: 600;
 text-align: center;
 border-radius: var(--border-radius);
 cursor: pointer;
 transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
 text-decoration: none;
 border: none;
}

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

.primary-button:hover {
 background-color: #004494; /* Slightly darker primary */
 transform: translateY(-2px);
}

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

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

.button.small-button {
 padding: 0.6rem 1.2rem;
 font-size: 0.9rem;
}

.button-arrow {
 background-color: var(--light-bg);
 color: var(--primary-color);
 border: 1px solid var(--border-color);
 border-radius: 50%;
 width: 40px;
 height: 40px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 font-size: 1.2rem;
}

.button-arrow:hover {
 background-color: var(--primary-color);
 color: var(--white-color);
 border-color: var(--primary-color);
 transform: scale(1.05);
}

/* Announcement Bar */
.announcement-bar {
 background-color: var(--accent-color);
 color: var(--white-color);
 text-align: center;
 padding: 0.5rem 0;
 font-size: 0.9rem;
 position: relative;
 z-index: 1000;
}
.announcement-bar a {
 color: var(--white-color);
 text-decoration: underline;
 font-weight: 600;
}
.announcement-bar a:hover {
 color: var(--light-bg);
}

/* Header */
.navbar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 1rem var(--spacing-unit);
 background-color: var(--white-color);
 border-bottom: 1px solid var(--border-color);
 position: sticky;
 top: 0;
 z-index: 999;
}

.navbar.scrolled {
 box-shadow: var(--shadow-light);
}

.navbar .logo {
 font-family: var(--font-heading);
 font-size: 1.8rem;
 font-weight: 700;
 color: var(--primary-color);
 text-decoration: none;
 margin-right: 1rem;
}

.navbar .search-bar {
 display: flex;
 flex-grow: 1;
 margin: 0 1rem;
 max-width: 400px;
}

.navbar .search-bar input {
 width: 100%;
 padding: 0.6rem 1rem;
 border: 1px solid var(--border-color);
 border-radius: 5px 0 0 5px;
 font-size: 0.9rem;
 outline: none;
}

.navbar .search-bar button {
 background-color: var(--primary-color);
 color: var(--white-color);
 border-radius: 0 5px 5px 0;
 padding: 0.6rem 1rem;
 border: none;
 cursor: pointer;
 transition: background-color 0.3s ease;
}

.navbar .search-bar button:hover {
 background-color: #004494;
}

.nav-icons {
 display: flex;
 align-items: center;
 gap: 1rem;
}

.nav-icons a {
 position: relative;
 color: var(--text-color);
 font-size: 1.3rem;
 transition: color 0.3s ease;
}

.nav-icons a:hover {
 color: var(--primary-color);
}

.nav-icons .cart-count {
 position: absolute;
 top: -5px;
 right: -10px;
 background-color: var(--accent-color);
 color: var(--white-color);
 font-size: 0.75rem;
 border-radius: 50%;
 padding: 0.2em 0.5em;
 min-width: 20px;
 text-align: center;
 line-height: 1;
}

.nav-links {
 list-style: none;
 display: flex;
 gap: 1.5rem;
 margin-left: auto;
}

.nav-links li a {
 color: var(--text-color);
 font-weight: 600;
 position: relative;
 padding: 0.5rem 0;
 transition: color 0.3s ease;
}

.nav-links li a:hover {
 color: var(--primary-color);
 text-decoration: none;
}

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

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

.nav-links li.active a {
 color: var(--primary-color);
}
.nav-links li.active a::after {
 width: 100%;
}

.nav-toggle {
 display: none; /* Hidden on desktop */
 flex-direction: column;
 justify-content: space-between;
 width: 30px;
 height: 20px;
 background: transparent;
 border: none;
 cursor: pointer;
 padding: 0;
 z-index: 1000;
}

.nav-toggle span {
 display: block;
 width: 100%;
 height: 2px;
 background-color: var(--primary-color);
 transition: all 0.3s ease-in-out;
}

/* Submenu/Mega Menu */
.nav-links li.has-submenu {
 position: relative;
}

.submenu {
 display: none;
 position: absolute;
 top: 100%;
 left: 0;
 background-color: var(--white-color);
 border: 1px solid var(--border-color);
 box-shadow: var(--shadow-medium);
 border-radius: var(--border-radius);
 padding: 1rem 0;
 min-width: 200px;
 z-index: 1000;
 list-style: none;
}

.nav-links li.has-submenu:hover .submenu {
 display: block;
}

.submenu li {
 padding: 0;
 margin: 0;
}

.submenu li a {
 display: block;
 padding: 0.8rem 1.5rem;
 color: var(--text-color);
 white-space: nowrap;
 font-weight: 400;
}

.submenu li a:hover {
 background-color: var(--light-bg);
 color: var(--primary-color);
 text-decoration: none;
}
.submenu li a::after {
 display: none; /* Hide underline on submenu items */
}

/* Hero section */
.hero-section {
 position: relative;
 overflow: hidden;
 padding: 6rem 0; /* Ensures consistent padding across slides */
}

.carousel-slide {
 display: flex;
 align-items: center;
 gap: 3rem;
 padding-top: 2rem;
 padding-bottom: 2rem;
 /* transition: opacity 0.5s ease-in-out; */
 opacity: 0;
 position: absolute;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 visibility: hidden;
}
.carousel-slide.active {
 opacity: 1;
 visibility: visible;
 position: relative; /* Only active slide takes space */
}
.hero-content {
 flex: 1;
 text-align: left;
 max-width: 600px;
 padding-left: var(--spacing-unit); /* Align with container */
}

.hero-content h1 {
 font-size: 3.5rem;
 font-weight: 700;
 margin-bottom: 1rem;
 color: var(--primary-color);
}

.hero-content p {
 font-size: 1.25rem;
 margin-bottom: 2rem;
 color: var(--light-text-color);
}

.hero-content .button {
 margin-right: 1rem;
 margin-bottom: 1rem;
}

.hero-image {
 flex: 1;
 display: flex;
 justify-content: center;
 align-items: center;
 padding-right: var(--spacing-unit); /* Align with container */
}

.hero-image img {
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-medium);
 max-height: 500px;
 object-fit: contain;
}

.carousel-nav {
 position: absolute;
 bottom: 2rem;
 left: 50%;
 transform: translateX(-50%);
 display: flex;
 gap: 0.5rem;
 z-index: 10;
}

.carousel-nav .dot {
 width: 10px;
 height: 10px;
 background-color: rgba(0, 0, 0, 0.3);
 border-radius: 50%;
 cursor: pointer;
 transition: background-color 0.3s ease;
}

.carousel-nav .dot.active {
 background-color: var(--primary-color);
}

.category-quick-links {
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 background-color: rgba(255, 255, 255, 0.95);
 padding: 1.5rem 0;
 box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
 display: flex;
 justify-content: center;
 gap: 2rem;
 z-index: 5;
 transform: translateY(50%); /* Half visible */
}

.quick-link-item {
 text-align: center;
 color: var(--text-color);
 font-weight: 600;
 text-decoration: none;
 display: flex;
 flex-direction: column;
 align-items: center;
 transition: color 0.3s ease, transform 0.2s ease;
}

.quick-link-item:hover {
 color: var(--primary-color);
 transform: translateY(-5px);
 text-decoration: none;
}

.quick-link-item i {
 font-size: 2rem;
 margin-bottom: 0.5rem;
 color: var(--secondary-color);
}

/* Featured Products / Product Grid */
.product-grid, .categories-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
}

.product-card, .category-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 padding: 1.5rem;
 text-align: center;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 display: flex;
 flex-direction: column;
}

.product-card:hover, .category-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.product-card img, .category-card img {
 width: 100%;
 height: 200px;
 object-fit: cover;
 border-radius: var(--border-radius);
 margin-bottom: 1rem;
}

.product-card h3, .category-card h3 {
 font-size: 1.4rem;
 margin-bottom: 0.5rem;
 color: var(--primary-color);
}
.category-card h3 a {
 color: inherit;
 text-decoration: none;
}
.category-card h3 a:hover {
 text-decoration: underline;
}

.product-card p, .category-card p {
 font-size: 0.95rem;
 color: var(--light-text-color);
 margin-bottom: 1rem;
 flex-grow: 1; /* Pushes button to bottom */
}

.product-card .button {
 margin-top: auto; /* Aligns button to bottom */
}

/* Trust Icons */
.trust-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 text-align: center;
}

.trust-item {
 background-color: var(--white-color);
 padding: 1.5rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-item:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.trust-item .icon-large {
 font-size: 3rem;
 color: var(--secondary-color);
 margin-bottom: 1rem;
}

.trust-item h3 {
 font-size: 1.3rem;
 margin-bottom: 0.5rem;
}

.trust-item p {
 font-size: 0.95rem;
 color: var(--light-text-color);
}

/* Testimonials */
.testimonials-slider {
 display: flex;
 overflow-x: auto;
 scroll-snap-type: x mandatory;
 -webkit-overflow-scrolling: touch;
 gap: 2rem;
 padding-bottom: 1rem; /* For scrollbar */
 margin-bottom: 2rem;
}
.testimonials-slider::-webkit-scrollbar {
 height: 8px;
}
.testimonials-slider::-webkit-scrollbar-track {
 background: var(--border-color);
 border-radius: 4px;
}
.testimonials-slider::-webkit-scrollbar-thumb {
 background: var(--secondary-color);
 border-radius: 4px;
}
.testimonials-slider::-webkit-scrollbar-thumb:hover {
 background: var(--primary-color);
}

.testimonial-card {
 flex: 0 0 350px; /* Fixed width for cards */
 scroll-snap-align: start;
 background-color: var(--white-color);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 text-align: center;
 position: relative;
 border-top: 4px solid var(--primary-color);
}

.testimonial-card .stars {
 color: gold;
 margin-bottom: 1rem;
}

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

.testimonial-card .client-info {
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 1rem;
}

.testimonial-card .client-info img {
 width: 60px;
 height: 60px;
 border-radius: 50%;
 object-fit: cover;
 margin-right: 0.8rem;
 border: 2px solid var(--border-color);
}

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

.testimonial-card .product-context {
 font-size: 0.85rem;
 color: var(--light-text-color);
 background-color: var(--light-bg);
 padding: 0.3rem 0.6rem;
 border-radius: 5px;
 display: inline-block;
 margin-top: 1rem;
}

.slider-nav {
 display: flex;
 justify-content: center;
 gap: 1rem;
 margin-top: 1rem;
}

.view-all-testimonials {
 text-align: center;
 margin-top: 2rem;
}

/* Latest Blog */
.blog-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
}

.blog-post-card {
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 overflow: hidden;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.blog-post-card img {
 width: 100%;
 height: 220px;
 object-fit: cover;
 border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.blog-post-card h3 {
 margin: 1rem 1.5rem 0.5rem 1.5rem;
 font-size: 1.3rem;
}

.blog-post-card h3 a {
 color: var(--primary-color);
 text-decoration: none;
}

.blog-post-card h3 a:hover {
 text-decoration: underline;
}

.blog-post-card p {
 font-size: 0.95rem;
 color: var(--light-text-color);
 margin: 0 1.5rem 1rem 1.5rem;
}

.blog-post-card .read-more {
 display: inline-block;
 margin: 0 1.5rem 1.5rem 1.5rem;
 color: var(--secondary-color);
 font-weight: 600;
}

.blog-post-card .read-more:hover {
 color: var(--primary-color);
 text-decoration: underline;
}

.view-all-posts {
 text-align: center;
 margin-top: 3rem;
}

/* Newsletter CTA */
.newsletter-cta {
 padding: 6rem 0;
}
.newsletter-cta h2 {
 font-size: 2.5rem;
 margin-bottom: 1rem;
}
.newsletter-cta .section-description {
 color: var(--light-bg);
}

.newsletter-form {
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 1rem;
 margin-top: 2rem;
 flex-wrap: wrap; /* For responsiveness */
}

.newsletter-form input[type="email"] {
 padding: 0.8rem 1.2rem;
 border-radius: var(--border-radius);
 border: 1px solid rgba(255, 255, 255, 0.3);
 background-color: rgba(255, 255, 255, 0.1);
 color: var(--white-color);
 font-size: 1rem;
 width: 300px;
 max-width: 80%;
 outline: none;
 transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
 color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input[type="email"]:focus {
 border-color: var(--secondary-color);
}

.newsletter-form .button {
 padding: 0.8rem 2rem;
 background-color: var(--accent-color);
 color: var(--white-color);
 border: none;
}

.newsletter-form .button:hover {
 background-color: #218838; /* Darker accent */
}

.newsletter-form .consent-text {
 font-size: 0.85rem;
 color: rgba(255, 255, 255, 0.7);
 margin-top: 1rem;
 flex-basis: 100%; /* forces it to new line if wrapped */
}

.newsletter-form .consent-text a {
 color: var(--secondary-color);
}
.newsletter-form .consent-text a:hover {
 color: var(--white-color);
}

/* Footer */
footer {
 background-color: #212529; /* Very dark gray */
 color: #e9ecef;
 padding-top: 4rem;
 font-size: 0.95rem;
}

footer a {
 color: #ced4da;
}

footer a:hover {
 color: var(--secondary-color);
 text-decoration: underline;
}

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 2rem;
 padding-bottom: 3rem;
 border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
 color: var(--white-color);
 font-size: 1.2rem;
 margin-bottom: 1.2rem;
 font-weight: 600;
}

.footer-col ul {
 list-style: none;
 margin: 0;
 padding: 0;
}

.footer-col ul li {
 margin-bottom: 0.8rem;
}

.footer-col.brand-info .footer-logo {
 font-family: var(--font-heading);
 font-size: 2rem;
 font-weight: 700;
 color: var(--white-color);
 margin-bottom: 1rem;
 display: block;
}

.footer-col.brand-info p {
 margin-bottom: 1.5rem;
 color: #adb5bd;
}

.social-links {
 display: flex;
 gap: 1rem;
 margin-bottom: 2rem;
}

.social-links a {
 color: #adb5bd;
 font-size: 1.4rem;
 transition: color 0.3s ease, transform 0.2s ease;
}

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

.contact-hours h4 {
 font-size: 1rem;
 margin-bottom: 0.5rem;
}
.contact-hours p {
 color: #adb5bd;
 font-size: 0.9rem;
 margin-bottom: 0.5rem;
}

.footer-contact p {
 display: flex;
 align-items: flex-start;
 gap: 0.8rem;
 margin-bottom: 1.2rem;
 color: #adb5bd;
}
.footer-contact p i {
 font-size: 1.1rem;
 color: #ced4da;
 flex-shrink: 0;
 padding-top: 0.2rem;
}

.payment-methods, .shipping-partners, .trust-badges {
 display: flex;
 flex-wrap: wrap;
 gap: 1rem;
 margin-top: 1.5rem;
}

.payment-methods img, .shipping-partners img, .trust-badges img {
 height: 25px; /* Standardize height for clarity */
 width: auto;
 object-fit: contain;
 filter: grayscale(100%) brightness(150%);
 transition: filter 0.3s ease;
}
.payment-methods img:hover, .shipping-partners img:hover, .trust-badges img:hover {
 filter: grayscale(0%) brightness(100%);
}

.footer-bottom {
 padding: 1.5rem 0;
 background-color: #1a1e22; /* Even darker */
 font-size: 0.85rem;
}

.footer-bottom .container {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 align-items: center;
 text-align: center;
 gap: 1rem;
}

.footer-bottom p {
 margin: 0;
 color: #adb5bd;
}

.legal-links {
 display: flex;
 flex-wrap: wrap;
 gap: 1.5rem;
 justify-content: center;
}

.legal-links a {
 color: #adb5bd;
 text-decoration: none;
}

.legal-links a:hover {
 color: var(--secondary-color);
 text-decoration: underline;
}

/* Common Card/Grid Styles */
.card-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
}

.card {
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 padding: 2rem;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 display: flex;
 flex-direction: column;
}

.card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

/* Blog Post Specific Styles (used for blog posts) */
.blog-post-content {
 max-width: 800px;
 margin: 0 auto;
 padding: 2rem 0;
}

.blog-post-content h1 {
 font-size: 2.8rem;
 margin-bottom: 1.5rem;
}

.blog-post-meta {
 font-size: 0.9rem;
 color: var(--light-text-color);
 margin-bottom: 2rem;
 border-bottom: 1px solid var(--border-color);
 padding-bottom: 1rem;
}

.blog-post-meta span {
 margin-right: 1rem;
}

.blog-post-content p {
 margin-bottom: 1.5rem;
}

.blog-post-content h2, .blog-post-content h3 {
 margin-top: 2rem;
 margin-bottom: 1rem;
}

.blog-post-content img {
 max-width: 100%;
 height: auto;
 border-radius: var(--border-radius);
 margin: 1.5rem 0;
 box-shadow: var(--shadow-light);
}

.blog-post-content blockquote {
 border-left: 4px solid var(--primary-color);
 padding: 1rem 1.5rem;
 margin: 2rem 0;
 background-color: var(--light-bg);
 font-style: italic;
 color: var(--light-text-color);
}

.author-box {
 display: flex;
 align-items: center;
 gap: 1.5rem;
 background-color: var(--light-bg);
 padding: 1.5rem;
 border-radius: var(--border-radius);
 margin-top: 3rem;
 border-left: 5px solid var(--secondary-color);
}

.author-box img {
 width: 80px;
 height: 80px;
 border-radius: 50%;
 object-fit: cover;
 flex-shrink: 0;
}

.author-info h4 {
 margin: 0;
 font-size: 1.1rem;
 color: var(--primary-color);
}

.author-info p {
 margin: 0.5rem 0 0 0;
 font-size: 0.9rem;
 color: var(--light-text-color);
}

/* Form Styles Override */
.contact-form, .newsletter-form {
 display: grid;
 gap: 1.5rem;
 width: 100%;
 max-width: 600px;
 margin: 2rem auto 0 auto;
 padding: 2rem;
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
}

.contact-form label, .newsletter-form label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 600;
 color: var(--primary-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
 width: 100%;
 padding: 0.8rem;
 border: 1px solid var(--border-color);
 border-radius: 5px;
 font-family: var(--font-body);
 font-size: 1rem;
 transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
 border-color: var(--secondary-color);
 box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
 outline: none;
}

.contact-form textarea {
 resize: vertical;
 min-height: 120px;
}

.contact-form button[type="submit"] {
 width: auto;
 padding: 0.8rem 2.5rem;
 font-size: 1.1rem;
 font-weight: 600;
 border: none;
 border-radius: var(--border-radius);
 background-color: var(--primary-color);
 color: var(--white-color);
 cursor: pointer;
 transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button[type="submit"]:hover {
 background-color: #004494;
 transform: translateY(-2px);
}

.contact-form .form-group.error input,
.contact-form .form-group.error textarea {
 border-color: #dc3545; /* Red */
}

.contact-form .error-message {
 color: #dc3545;
 font-size: 0.85rem;
 margin-top: 0.25rem;
 display: block;
}
.faqs-container {
 max-width: 900px;
 margin: 2rem auto;
}

.faq-item {
 background-color: var(--white-color);
 border: 1px solid var(--border-color);
 border-radius: var(--border-radius);
 margin-bottom: 1rem;
 overflow: hidden;
 box-shadow: var(--shadow-light);
}

.faq-question {
 display: flex;
 justify-content: space-between;
 align-items: center;
 width: 100%;
 padding: 1.2rem 1.5rem;
 background-color: var(--light-bg);
 border: none;
 text-align: left;
 font-size: 1.1rem;
 font-weight: 600;
 color: var(--primary-color);
 cursor: pointer;
 transition: background-color 0.3s ease;
}

.faq-question:hover {
 background-color: #e2e6ea;
}

.faq-question i {
 transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
 transform: rotate(180deg);
}

.faq-answer {
 padding: 0 1.5rem;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.4s ease-out, padding 0.4s ease-out;
 background-color: var(--white-color);
}

.faq-item.active .faq-answer {
 max-height: 500px; /* Adjust as needed for content length */
 padding: 1rem 1.5rem 1.5rem 1.5rem;
}

.faq-answer p:last-child {
 margin-bottom: 0;
}
/* Gallery Styles */
.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 1.5rem;
}

.gallery-item {
 cursor: pointer;
 overflow: hidden;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
 transform: translateY(-5px) scale(1.02);
 box-shadow: var(--shadow-medium);
}

.gallery-item img {
 width: 100%;
 height: 250px;
 object-fit: cover;
 transition: transform 0.3s ease;
}

.gallery-item:hover img {
 transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
 display: none; /* Hidden by default */
 position: fixed;
 z-index: 10000;
 left: 0;
 top: 0;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.9);
 justify-content: center;
 align-items: center;
 animation: fadeIn 0.3s;
}

.lightbox.active {
 display: flex;
}

.lightbox-content {
 position: relative;
 max-width: 90%;
 max-height: 90%;
}

.lightbox-content img {
 width: auto;
 height: auto;
 max-width: 100%;
 max-height: 100%;
 display: block;
 border-radius: var(--border-radius);
}

.lightbox-caption {
 color: var(--white-color);
 text-align: center;
 padding: 1rem;
 font-size: 1.1rem;
}

.lightbox-close {
 position: absolute;
 top: 1rem;
 right: 1.5rem;
 color: var(--white-color);
 font-size: 2.5rem;
 cursor: pointer;
 transition: color 0.3s ease;
}

.lightbox-close:hover {
 color: var(--secondary-color);
}

.lightbox-prev, .lightbox-next {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 color: var(--white-color);
 font-size: 3rem;
 cursor: pointer;
 padding: 1rem;
 user-select: none;
 transition: color 0.3s ease;
}

.lightbox-prev:hover, .lightbox-next:hover {
 color: var(--secondary-color);
}

.lightbox-prev {
 left: 1rem;
}

.lightbox-next {
 right: 1rem;
}

@keyframes fadeIn {
 from { opacity: 0; }
 to { opacity: 1; }
}

/* Utility classes for animations */
.fade-in-section {
 opacity: 0;
 transform: translateY(20px);
 transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
 opacity: 1;
 transform: translateY(0);
}

/* Mobile & Tablet Styles */
@media (max-width: 1024px) {
 .navbar .search-bar {
 margin: 0; /* Remove side margins */
 max-width: 300px;
 order: 3; /* Move search bar to the right on tablet */
 }

 .nav-links {
 gap: 1rem;
 }

 .hero-content h1 {
 font-size: 3rem;
 }
 .hero-content p {
 font-size: 1.1rem;
 }
 .hero-image img {
 max-height: 400px;
 }
 .category-quick-links {
 transform: translateY(30%); /* Adjust for smaller screens */
 gap: 1rem;
 padding: 1rem 0;
 }
 .quick-link-item i {
 font-size: 1.5rem;
 }
 .quick-link-item span {
 font-size: 0.9rem;
 }
}

@media (max-width: 768px) {
 h1 { font-size: 2rem; }
 h2 { font-size: 1.8rem; }
 h3 { font-size: 1.5rem; }

 .section-spacing {
 padding: 3rem 0;
 }

 .navbar {
 flex-wrap: wrap;
 padding: 0.8rem var(--spacing-unit);
 }
 .navbar .logo {
 flex-basis: 50%;
 order: 1;
 }
 .navbar .search-bar {
 order: 4; /* Below nav items on mobile */
 flex-basis: 100%;
 margin-top: 1rem;
 max-width: 100%;
 }
 .nav-icons {
 order: 2;
 gap: 0.8rem;
 }

 .nav-toggle {
 display: flex; /* Show on mobile */
 order: 3;
 margin-left: 1rem;
 }

 .nav-links {
 display: none; /* Hidden by default */
 flex-direction: column;
 width: 100%;
 background-color: var(--white-color);
 position: absolute;
 top: 100%;
 left: 0;
 border-top: 1px solid var(--border-color);
 padding: 1rem 0;
 box-shadow: var(--shadow-medium);
 z-index: 998;
 }

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

 .nav-links li {
 width: 100%;
 padding: 0;
 text-align: center;
 margin-bottom: 0.5rem;
 }
 .nav-links li:last-child {
 margin-bottom: 0;
 }

 .nav-links li a {
 padding: 0.8rem 1rem;
 display: block;
 }
 .nav-links li a::after {
 display: none;
 }

 /* Submenu on mobile */
 .nav-links li.has-submenu .submenu {
 position: static; /* Stack on mobile */
 display: none;
 width: 100%;
 padding: 0;
 box-shadow: none;
 border: none;
 background-color: var(--light-bg);
 margin-top: 0.5rem;
 }
 .nav-links li.has-submenu.open .submenu { /* Use .open class */
 display: block;
 }
 .submenu li a {
 padding: 0.6rem 2rem; /* Indent submenu items */
 }

 .hero-section {
 padding: 4rem 0 0 0; /* Adjust padding for mobile hero */
 overflow: visible; /* Allow quick links to be fully visible */
 }
 .carousel-slide {
 flex-direction: column-reverse; /* Image below content */
 text-align: center;
 gap: 1.5rem;
 }
 .hero-content {
 padding-left: var(--spacing-unit);
 padding-right: var(--spacing-unit);
 max-width: 100%; /* Take full width */
 }
 .hero-content h1 {
 font-size: 2.2rem;
 }
 .hero-content p {
 font-size: 1rem;
 }
 .hero-buttons {
 display: flex;
 flex-direction: column;
 align-items: center;
 }
 .hero-content .button {
 margin-right: 0;
 width: 80%; /* Make buttons wider */
 }
 .hero-image {
 padding-left: var(--spacing-unit);
 padding-right: var(--spacing-unit);
 }

 .category-quick-links {
 position: static;
 transform: none;
 flex-wrap: wrap;
 padding: 1.5rem var(--spacing-unit);
 justify-content: space-around;
 box-shadow: none;
 border-top: 1px solid var(--border-color);
 }
 .quick-link-item {
 flex-basis: 40%; /* Two items per row */
 margin-bottom: 1rem;
 }

 .product-grid, .categories-grid, .trust-grid, .blog-grid {
 grid-template-columns: 1fr; /* Single column */
 }

 .product-card, .category-card, .trust-item {
 padding: 1rem;
 }

 .testimonials-slider {
 flex-wrap: nowrap; /* Maintain horizontal scroll */
 justify-content: flex-start;
 -ms-overflow-style: none; /* IE and Edge */
 scrollbar-width: none; /* Firefox */
 }
 .testimonials-slider::-webkit-scrollbar {
 display: none;
 }
 .testimonial-card {
 flex: 0 0 85%; /* Larger portion of screen width on smaller devices */
 margin-bottom: 1rem; /* For potential overflow issues */
 }
 .slider-nav {
 margin-top: 1rem;
 }

 .newsletter-form {
 flex-direction: column;
 gap: 0.8rem;
 }
 .newsletter-form input {
 width: 90%;
 max-width: 90%;
 }
 .newsletter-form .button {
 width: 90%;
 }

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

 .footer-col.brand-info, .footer-col.footer-contact, .footer-col.footer-links {
 text-align: center;
 }
 .footer-col.brand-info .footer-logo {
 margin-left: auto;
 margin-right: auto;
 }
 .social-links {
 justify-content: center;
 }
 .footer-contact p {
 justify-content: center;
 }

 .footer-bottom .container {
 flex-direction: column;
 gap: 1rem;
 }
 .legal-links {
 flex-direction: column;
 gap: 0.5rem;
 }
 .payment-methods, .shipping-partners, .trust-badges {
 justify-content: center;
 gap: 0.8rem;
 }
 .author-box {
 flex-direction: column;
 text-align: center;
 }
 .author-box img {
 margin-bottom: 1rem;
 }
 /* Lightbox navigation on mobile */
 .lightbox-prev, .lightbox-next {
 font-size: 2.5rem;
 padding: 0.5rem;
 }
 .lightbox-prev { left: 0.5rem; }
 .lightbox-next { right: 0.5rem; }
 .lightbox-close {
 font-size: 2rem;
 right: 1rem;
 }
}

@media (max-width: 480px) {
 h1 { font-size: 1.8rem; }
 h2 { font-size: 1.6rem; }
 h3 { font-size: 1.3rem; }
 
 .navbar .logo {
 font-size: 1.5rem;
 }

 .hero-content h1 {
 font-size: 1.8rem;
 }
 .hero-content p {
 font-size: 0.95rem;
 }
 .hero-content .button {
 padding: 0.7rem 1.4rem;
 font-size: 0.9rem;
 }
 .hero-image img {
 max-height: 250px;
 }

 .quick-link-item {
 flex-basis: 45%;
 }
 .quick-link-item i {
 font-size: 1.2rem;
 }
 .quick-link-item span {
 font-size: 0.8rem;
 }

 .newsletter-cta h2 {
 font-size: 2rem;
 }
 .newsletter-form input, .newsletter-form .button {
 width: 100%;
 max-width: 100%;
 }
 .newsletter-form {
 gap: 0.5rem;
 padding: 1.5rem; /* Smaller padding for form */
 }
}
/* Utility for hidden element */
.hidden {
 display: none !important;
}
.visually-hidden {
 position: absolute;
 width: 1px;
 height: 1px;
 margin: -1px;
 padding: 0;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 border: 0;
}
/* Styles For About, Services, Contact etc Pages */
.page-hero {
 background-color: var(--light-bg);
 padding: 4rem 0;
 text-align: center;
 border-bottom: 1px solid var(--border-color);
}
.page-hero h1 {
 font-size: 2.8rem;
 margin-bottom: 1rem;
 color: var(--primary-color);
}
.page-hero p {
 font-size: 1.1rem;
 max-width: 800px;
 margin: 0 auto;
 color: var(--light-text-color);
}

.content-section {
 padding: 3rem 0;
}

.content-section h2 {
 text-align: center;
 margin-bottom: 2rem;
}

/* Specific content page layouts */
.about-grid, .team-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
}

.about-vision, .about-mission, .about-values {
 background-color: var(--white-color);
 padding: 1.5rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 border-top: 3px solid var(--secondary-color);
}
.about-vision h3, .about-mission h3, .about-values h3 {
 min-height: 50px;
}
.about-vision i, .about-mission i, .about-values i {
 font-size: 2rem;
 color: var(--primary-color);
 margin-bottom: 1rem;
}

.team-member-card {
 text-align: center;
 background-color: var(--white-color);
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 padding: 1.5rem;
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.team-member-card img {
 width: 120px;
 height: 120px;
 border-radius: 50%;
 object-fit: cover;
 margin: 0 auto 1rem auto;
 border: 3px solid var(--primary-color);
}

.team-member-card h3 {
 margin-bottom: 0.5rem;
 font-size: 1.25rem;
}

.team-member-card p {
 font-size: 0.9rem;
 color: var(--light-text-color);
 margin-bottom: 0.5rem;
}

.team-social-links {
 display: flex;
 justify-content: center;
 gap: 0.8rem;
 margin-top: 1rem;
}

.team-social-links a {
 color: var(--light-text-color);
 font-size: 1.1rem;
}

.team-social-links a:hover {
 color: var(--secondary-color);
}
/* Services Page */
.service-card {
 text-align: center;
 padding: 2rem;
 border-radius: var(--border-radius);
 background-color: var(--white-color);
 box-shadow: var(--shadow-light);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
 border-top: 5px solid var(--secondary-color);
}

.service-card:hover {
 transform: translateY(-5px);
 box-shadow: var(--shadow-medium);
}

.service-card i {
 font-size: 3rem;
 color: var(--primary-color);
 margin-bottom: 1rem;
}

.service-card h3 {
 font-size: 1.4rem;
 margin-bottom: 0.8rem;
 color: var(--primary-color);
}

.service-card p {
 font-size: 0.95rem;
 color: var(--light-text-color);
 margin-bottom: 1.5rem;
}

.service-card .button {
 margin-top: auto;
}

.process-steps {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: 2rem;
 counter-reset: process-step;
}

.process-step {
 background-color: var(--white-color);
 padding: 1.5rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 position: relative;
 padding-top: 3.5rem; /* Space for the counter */
 text-align: center;
 border-bottom: 4px solid var(--accent-color);
}

.process-step::before {
 counter-increment: process-step;
 content: counter(process-step);
 position: absolute;
 top: 1rem;
 left: 50%;
 transform: translateX(-50%);
 background-color: var(--accent-color);
 color: var(--white-color);
 width: 40px;
 height: 40px;
 border-radius: 50%;
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 1.4rem;
 font-weight: 700;
}

.process-step h3 {
 margin-bottom: 0.8rem;
 margin-top: 0.5rem;
}

.process-step p {
 font-size: 0.95rem;
 color: var(--light-text-color);
}
/* Contact Page */
.contact-info-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 2rem;
 margin-top: 2rem;
 text-align: center;
}

.contact-info-item {
 background-color: var(--white-color);
 padding: 2rem;
 border-radius: var(--border-radius);
 box-shadow: var(--shadow-light);
 border-bottom: 5px solid var(--primary-color);
}
.contact-info-item i {
 font-size: 2.5rem;
 color: var(--secondary-color);
 margin-bottom: 1rem;
}
.contact-info-item h3 {
 font-size: 1.3rem;
 margin-bottom: 0.8rem;
}
.contact-info-item p {
 font-size: 1rem;
 color: var(--light-text-color);
 margin-bottom: 0.5rem;
}
.contact-info-item a {
 font-weight: 600;
}
.map-container {
 margin-top: 3rem;
 border-radius: var(--border-radius);
 overflow: hidden;
 box-shadow: var(--shadow-medium);
}
.map-container iframe {
 border-radius: var(--border-radius);
}

/* Thanks page */
.thanks-container {
 text-align: center;
 padding: 6rem 1rem;
 background-color: var(--light-bg);
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
}

.thanks-container i {
 font-size: 5rem;
 color: var(--accent-color);
 margin-bottom: 1.5rem;
 animation: bounceIn 0.8s;
}

.thanks-container h1 {
 font-size: 3rem;
 color: var(--primary-color);
 margin-bottom: 1rem;
}

.thanks-container p {
 font-size: 1.2rem;
 color: var(--light-text-color);
 margin-bottom: 2rem;
 max-width: 600px;
}

.thanks-container .button {
 padding: 0.9rem 2.5rem;
 font-size: 1.1rem;
}

@keyframes bounceIn {
 0% {
 transform: scale(0.3);
 opacity: 0;
 }
 50% {
 transform: scale(1.1);
 opacity: 1;
 }
 70% {
 transform: scale(0.9);
 }
 100% {
 transform: scale(1);
 opacity: 1;
 }
}
/* Privacy/Terms/Cookie/Disclaimer/Refund Pages */
.legal-content {
 max-width: 900px;
 margin: 0 auto;
 padding: 3rem 0;
}

.legal-content h1 {
 font-size: 2.5rem;
 margin-bottom: 1.5rem;
 color: var(--primary-color);
 text-align: center;
}

.legal-content h2 {
 font-size: 1.8rem;
 margin-top: 2.5rem;
 margin-bottom: 1rem;
 color: var(--primary-color);
 border-bottom: 2px solid var(--border-color);
 padding-bottom: 0.5rem;
}

.legal-content h3 {
 font-size: 1.4rem;
 margin-top: 2rem;
 margin-bottom: 0.8rem;
 color: var(--secondary-color);
}

.legal-content p {
 margin-bottom: 1.2rem;
 line-height: 1.7;
 color: var(--text-color);
}

.legal-content ol, .legal-content ul {
 margin-bottom: 1.5rem;
 padding-left: 1.5rem;
 color: var(--text-color);
}

.legal-content li {
 margin-bottom: 0.8rem;
 line-height: 1.6;
}

.legal-content strong {
 font-weight: 700;
 color: var(--primary-color);
}

.legal-content a {
 text-decoration: underline;
}

/* 404 Page */
.error-page-container {
 text-align: center;
 padding: 6rem 1rem;
 min-height: 70vh;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 background-color: var(--light-bg);
}

.error-page-container h1 {
 font-size: 6rem;
 color: var(--primary-color);
 margin-bottom: 1rem;
 text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.error-page-container h2 {
 font-size: 2.5rem;
 color: var(--secondary-color);
 margin-bottom: 1.5rem;
}

.error-page-container p {
 font-size: 1.1rem;
 color: var(--light-text-color);
 margin-bottom: 2.5rem;
 max-width: 600px;
}

.error-page-container .button {
 padding: 1rem 3rem;
 font-size: 1.1rem;
 font-weight: 700;
}
@media (max-width: 768px) {
 .legal-content h1 {
 font-size: 2rem;
 }
 .legal-content h2 {
 font-size: 1.5rem;
 }
 .legal-content h3 {
 font-size: 1.2rem;
 }
 .legal-content p, .legal-content li {
 font-size: 0.95rem;
 }
 .error-page-container h1 {
 font-size: 4rem;
 }
 .error-page-container h2 {
 font-size: 1.8rem;
 }
}
@media (max-width: 480px) {
 .error-page-container h1 {
 font-size: 3rem;
 }
 .error-page-container h2 {
 font-size: 1.5rem;
 }
 .error-page-container p {
 font-size: 0.9rem;
 }
 .error-page-container .button {
 padding: 0.8rem 2rem;
 font-size: 1rem;
 }
}
/* Scroll to top button */
#scrollToTopBtn {
 display: none; /* Hidden by default */
 position: fixed; /* Fixed position */
 bottom: 20px; /* Place the button at the bottom of the page */
 right: 30px; /* Place the button at the right side */
 z-index: 999; /* Make sure it does not overlap */
 border: none; /* Remove borders */
 outline: none; /* Remove outline */
 background-color: var(--primary-color); /* Set a background color */
 color: white; /* Text color */
 cursor: pointer; /* Add a mouse pointer on hover */
 padding: 15px 18px; /* Some padding */
 border-radius: 5px; /* Rounded corners */
 font-size: 18px; /* Increase font size */
 box-shadow: var(--shadow-medium);
 transition: background-color 0.3s ease, transform 0.2s ease;
}

#scrollToTopBtn:hover {
 background-color: var(--secondary-color); /* Add a darker background on hover */
 transform: translateY(-3px);
}
/* Style for social media icons */
.social-media-icons {
 display: flex;
 justify-content: center; /* Center icons horizontally */
 gap: 15px; /* Space between icons */
 margin-top: 20px; /* Space above icons */
}

.social-media-icons a {
 display: inline-flex; /* Use inline-flex for proper alignment */
 align-items: center;
 justify-content: center;
 width: 40px; /* Fixed width for icon container */
 height: 40px; /* Fixed height for icon container */
 background-color: var(--light-bg); /* Light background for icons */
 color: var(--primary-color); /* Icon color */
 border-radius: 50%; /* Make them circular */
 font-size: 1.2rem; /* Icon size */
 transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.social-media-icons a:hover {
 background-color: var(--primary-color); /* Darker background on hover */
 color: var(--white-color); /* White icon on hover */
 transform: translateY(-3px); /* Slight lift effect */
 text-decoration: none; /* Remove underline on hover */
}
/* Style for team member social links */
.team-social-links a {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 30px; /* Smaller size for team member icons */
 height: 30px;
 background-color: var(--border-color); /* Light background */
 color: var(--primary-color);
 border-radius: 50%;
 font-size: 1rem;
 transition: background-color 0.3s ease, color 0.3s ease;
}

.team-social-links a:hover {
 background-color: var(--primary-color);
 color: var(--white-color);
 transform: none; /* Already have a transform on the common social icons, ensure it doesn't conflict */
}
/* Breadcrumbs */
.breadcrumbs {
 padding: 1rem 0;
 background-color: #f1f3f5; /* A slightly darker light background */
 border-bottom: 1px solid var(--border-color);
 font-size: 0.9rem;
 color: var(--light-text-color);
}

.breadcrumbs .container {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
}

.breadcrumbs a {
 color: var(--primary-color);
 text-decoration: none;
 font-weight: 500;
 margin-right: 5px;
 transition: color 0.3s ease;
}

.breadcrumbs a:hover {
 color: var(--secondary-color);
 text-decoration: underline;
}

.breadcrumbs span {
 margin: 0 5px;
 color: var(--light-text-color);
}

.breadcrumbs span.current {
 font-weight: 600;
 color: var(--text-color);
}
@media (max-width: 768px) {
 .breadcrumbs {
 padding: 0.8rem 0;
 }
 .breadcrumbs .container {
 justify-content: center;
 text-align: center;
 }
 .breadcrumbs span {
 margin: 0 3px;
 }
}
/* Global container for main content area where breadcrumbs are not used */
main > .container {
 padding-top: 2rem;
 padding-bottom: 2rem;
}
/* Pages using .page-hero and .legal-content do not need additional padding from main > .container */
.page-hero + .container.legal-content,
.hero-section + .container.legal-content {
 padding-top: 0;
}
/* Ensure the padding from section-spacing is maintained in certain sections */
.section-spacing > .container {
 padding-top: 0;
 padding-bottom: 0;
}
/* Carousel specific styles, not general to all .container elements */
.carousel-slide .hero-content,
.carousel-slide .hero-image {
 padding-left: var(--spacing-unit);
 padding-right: var(--spacing-unit);
}
/* Fix for button positioning in newsletter form */
.newsletter-form .button {
 height: auto; /* Allow button to determine its own height */
}
/* Ensure image alt text is not hidden by other elements by mistake */
img[alt]:empty::before {
 content: attr(alt);
 display: block;
 color: #ccc;
 background-color: #eee;
 text-align: center;
 line-height: inherit; /* Ensure text is vertically centered */
 padding: 10px; /* Add some padding */
}
/* Adjustments for general content clarity */
.content-section p:last-of-type {
 margin-bottom: 0;
}
/* Ensure product/category card text aligns properly */
.product-card h3, .product-card p,
.category-card h3, .category-card p,
.service-card h3, .service-card p {
 text-align: inherit; /* Reset to parent alignment if not centered explicitly */
}
/* Ensure button in card is not stretched too wide */
.card .button, .product-card .button, .service-card .button {
 max-width: fit-content;
 margin-left: auto;
 margin-right: auto;
}
/* Testimonial slider navigation alignment */
.testimonials-section .slider-nav {
 justify-content: center;
 margin-bottom: 2rem;
}
.testimonials-section .prev-testimonial, .testimonials-section .next-testimonial {
 background-color: var(--border-color);
 color: var(--primary-color);
}
.testimonials-section .prev-testimonial:hover, .testimonials-section .next-testimonial:hover {
 background-color: var(--primary-color);
 color: var(--white-color);
}
/* Fix for fontawesome icons in hero buttons not displaying correctly */
.button i.fa-solid, .button i.fa-regular, .button i.fa-brands {
 margin-left: 0.5rem; /* Add spacing if icons are used inside buttons */
}
/* Specific style overrides for contact info links */
.contact-info-item p a {
 text-decoration: none; /* Remove underline from email/phone links in contact info */
 font-weight: normal; /* Reset font weight */
}
.contact-info-item p a:hover {
 text-decoration: underline; /* Add underline on hover */
 color: var(--secondary-color); /* Change color on hover */
}
/* Adjustments for sticky header not covering content */
body {
 padding-top: 0px; /* Reset default padding, handled by sticky header */
}
/* Fix for header covering jump links */
section[id], .content-section[id] {
 scroll-margin-top: calc(90px + 1rem); /* Compensate for sticky header height + some margin */
}

/* Specific button style for Try Demo/Request Consultation */
.hero-content .primary-button, .hero-content .secondary-button {
 padding: 1rem 2.5rem; /* Slightly larger buttons */
 font-size: 1.1rem;
}
@media (max-width: 768px) {
 .hero-content .primary-button, .hero-content .secondary-button {
 padding: 0.8rem 1.8rem;
 font-size: 1rem;
 }
}
.has-submenu > a {
 user-select: none; /* Prevent text selection when clicking on submenu toggler */
}
/* Add more specific padding for main content sections */
main .section-spacing {
 padding: 4rem var(--spacing-unit);
}
@media (max-width: 768px) {
 main .section-spacing {
 padding: 3rem var(--spacing-unit);
 }
}
/* Adjustments for legal text line height */
.legal-content p, .legal-content li {
 line-height: 1.7;
}

/* Ensure the main element always has at least some bottom padding */
main {
 padding-bottom: 3rem;
}

/* Remove default main padding in sections that already have ample spacing */
main > .section-spacing,
main > .page-hero,
main > .legal-content {
 padding-left: 0;
 padding-right: 0;
}
/* Ensure the inner container manages width and horizontal padding */
.section-spacing > .container,
.page-hero > .container,
.legal-content.container {
 padding-left: var(--spacing-unit);
 padding-right: var(--spacing-unit);
}
/* Remove explicit left/right padding if it's already on the container */
.hero-section .hero-content, .hero-section .hero-image {
 padding-left: 0;
 padding-right: 0;
}
/* This specific rule needed for mobile nav toggle positioning relative to nav */
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }