/*
|======================================================
|Complete and Consolidated CSS (with FINAL Centering FIXES)
|======================================================
*/

/* --- 1. Color Variables --- */
:root {
--primary-color: #2c3e50;
--secondary-color: #3498db;
--accent-color: #e74c3c;
--text-color: #212529;
--light-gray: #f8f8f8;
--white: #ffffff;
--shadow-color: rgba(0, 0, 0, 0.1);
--footer-link-color: #9cb1c4;
}

/* --- 2. Basic Reset and General Styles --- */
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
font-family: "Poppins", sans-serif;
line-height: 1.6;
color: var(
--text-color
); /* ACCESSIBILITY FIX: Uses the new, darker --text-color */
background-color: var(--light-gray);
overflow-x: hidden;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.visually-hidden {
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
white-space: nowrap;
}

.animate__animated {
animation-duration: 1s;
animation-fill-mode: both;
}

/* --- 3. Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 1rem;
font-weight: 600;
line-height: 1.2;
}

h1 {
font-size: 2.5rem;
}
h2 {
font-size: 2rem;
}
h3 {
font-size: 1.5rem;
}

p {
margin-bottom: 1rem;
color: #495057; /* ACCESSIBILITY FIX: Darker than #666 for better contrast. */
}

.section-title {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 20px;
text-align: center;
}

.section-description {
color: #495057; /* ACCESSIBILITY FIX: Darker than #777 for better contrast. */
max-width: 800px;
margin: 0 auto 30px;
text-align: center;
}

.page-header {
text-align: center;
padding: 4rem 0;
background-color: var(--white);
box-shadow: 0 5px 15px var(--shadow-color);
margin-bottom: 3rem;
}

.page-title {
color: var(--primary-color);
margin-bottom: 1rem;
}

.page-description {
color: #495057; /* ACCESSIBILITY FIX: Darker than #666 for better contrast. */
max-width: 800px;
margin: 0 auto;
}

/* --- 4. Buttons (Consolidated) --- */
.button {
display: inline-block;
padding: 12px 24px;
border-radius: 5px;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
text-align: center;
cursor: pointer;
border: none;
}

.button:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px var(--shadow-color);
}

.primary-button {
background-color: var(--primary-color);
color: var(--white);
padding: 1rem 2rem;
font-size: 1rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.primary-button:hover {
background-color: var(--secondary-color);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.secondary-button {
background-color: var(--white);
color: var(--primary-color);
border: 2px solid var(--primary-color);
}

.secondary-button:hover {
background-color: var(--light-gray);
}

.cta-buttons,
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}

/* --- 5. Header and Navigation (Consolidated) --- */
.main-header {
background-color: var(--white);
padding: 15px 0;
box-shadow: 0 2px 10px var(--shadow-color);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
}

.main-header.scrolled {
box-shadow: 0 5px 15px var(--shadow-color);
}

.main-header .container {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-size: 2rem;
font-weight: 700;
color: var(--primary-color);
text-decoration: none;
transition: color 0.3s ease;
}

.logo:hover {
color: var(--secondary-color);
}

.main-nav {
display: flex;
align-items: center;
}

/* Navigation list */
.nav-list {
display: flex;
list-style: none;
gap: 2rem;
}

.nav-list li a {
color: var(--text-color);
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
}

.nav-list li a:hover {
color: var(--secondary-color);
}

/* --- Mobile Hamburger --- */
.mobile-nav-toggle {
display: none; /* hidden by default, visible only on mobile */
background: transparent;
border: none;
cursor: pointer;
padding: 5px;
}

.mobile-nav-toggle .hamburger-icon {
width: 25px; /* set hamburger width */
height: auto; /* maintain aspect ratio */
display: block;
}

/* --- 6. Main Content & Sections --- */
main {
margin-top: 80px;
}

.products-section,
.services-section,
.contact-section,
.home-products-section,
.home-services-section,
.home-contact-section {
padding: 60px 0;
text-align: center;
}

.product-cta {
margin-top: 30px;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}

.product-note {
font-size: 0.95rem;
color: #495057; /* ACCESSIBILITY FIX: Darker than #555 for better contrast. */
margin-bottom: 0;
}

/* --- 7. Product Grid and Cards (Consolidated & Updated with 300x300 Contain) --- */
.products-grid,
.services-grid,
.categories-grid,
.features-grid,
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
margin-top: 2rem;
}

.product-card,
.service-card,
.product-item {
background: var(--white);
border-radius: 10px;
padding: 0;
margin-bottom: 0;
box-shadow: 0 5px 15px var(--shadow-color);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
height: 100%;
text-align: center; /* **Ensures inline content is centered** */
}

.product-card:hover,
.service-card:hover,
.product-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* GLOBAL PRODUCT IMAGE SETTING */
.product-item img {
width: 300px; /* Set fixed width */
height: 300px; /* Set fixed height */
object-fit: contain; /* Ensure image is not cropped */
display: block; /* Ensure it's treated as a block */
margin: 0 auto; /* Center block element */
border-radius: 10px 10px 0 0;
}
/* END GLOBAL PRODUCT IMAGE SETTING */

.product-item h3 {
color: var(--primary-color);
margin: 1rem 0 0.5rem 0;
font-size: 1.25rem;
padding: 0 1.5rem;
}

.product-item p {
color: #495057; /* ACCESSIBILITY FIX: Darker than #666 for better contrast. */
margin: 0 0 1rem 0;
font-size: 0.95rem;
line-height: 1.6;
padding: 0 1.5rem;
flex-grow: 1;
}

.product-item .button {
margin: 0 1.5rem 1.5rem 1.5rem;
}

/* --- Dedicated Products Page Card Enhancements (Crucial for products.html) --- */
.product-card .product-image {
width: 300px; /* Set fixed width */
height: 300px; /* Set fixed height */
object-fit: contain; /* Ensure image is not cropped */
margin: 0 auto; /* Center image */
display: block;
border-radius: 10px 10px 0 0;
}

.product-card .product-content {
padding: 20px;
text-align: left; /* Keep internal text left-aligned */
flex-grow: 1;
display: flex;
flex-direction: column;
}

.product-features {
list-style: none;
padding: 0;
margin-bottom: 20px;
flex-grow: 1;
}

.product-features li {
font-size: 0.95rem;
margin-bottom: 5px;
color: var(--text-color);
display: flex;
align-items: center;
}

/* UPDATED: Target SVG/IMG within the list item for the checkmark icon */
.product-features li img {
width: 16px; /* Small size for checkmark */
height: 16px;
margin-right: 8px;
}

.product-actions {
display: flex;
gap: 10px;
margin-top: 15px;
flex-wrap: wrap;
}

/* --- Product Filtering Buttons (Crucial for products.html) --- */
.product-filters {
text-align: center;
margin-top: 30px;
margin-bottom: 50px;
}

.filter-button {
background: var(--light-gray);
color: var(--text-color);
border: 1px solid var(--primary-color);
padding: 10px 20px;
margin: 5px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
font-weight: 500;
}

.filter-button:hover {
background-color: var(--secondary-color);
color: var(--white);
border-color: var(--secondary-color);
}

.filter-button.active {
background-color: var(--primary-color);
color: var(--white);
border-color: var(--primary-color);
}
/* --- End of Product Page Additions --- */

/* --- Additional Services Page Styling (for services.html) --- */
.service-card {
text-align: center; /* Ensures inline children (like icons if not block) are centered */
padding: 1.5rem;
}

.service-card h3 {
min-height: 3rem; /* Ensures height consistency across card titles */
margin-top: 0.5rem;
}

/* *** CRITICAL CENTERING FIX for Service Icons *** */
.service-icon img {
width: 3rem;
height: 3rem;
margin-bottom: 1rem;
display: block !important; /* Force block behavior */
margin: 0 auto 1rem auto !important; /* Force center margin */
}

.service-features-container {
list-style: none;
padding: 0;
margin: 1rem 0 1.5rem 0;
text-align: left; /* Align feature list to the left */
flex-grow: 1; /* Pushes button to the bottom */
}

.service-feature-item {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 5px;
font-size: 0.95rem;
color: #495057; /* ACCESSIBILITY FIX: Darker than #555 for better contrast. */
}

/* UPDATED: Target SVG/IMG within the service feature item */
.service-feature-item img {
width: 16px;
height: 16px;
font-size: 1rem;
}

/* Category Grid (for service-categories section) */
.service-categories {
padding: 60px 0;
background-color: var(--white); /* Added background for visual break */
}

.category-item {
background: var(--light-gray);
border-radius: 8px;
padding: 20px;
text-align: center; /* Ensures inline children are centered */
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
}

.category-item:hover {
transform: translateY(-3px);
}

/* *** CRITICAL CENTERING FIX for Category Icons *** */
.category-item img {
width: 2.5rem;
height: 2.5rem;
color: var(--primary-color);
margin-bottom: 15px;
display: block !important;
margin: 0 auto 15px auto !important;
}

.category-item h3 {
font-size: 1.4rem;
margin-bottom: 10px;
}

/* --- 8. Services List --- */
.services-list {
list-style: none;
padding: 0;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
max-width: 800px;
margin: 2rem auto;
text-align: center;
}

.services-list li {
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem;
background: var(--white);
border-radius: 8px;
box-shadow: 0 2px 5px var(--shadow-color);
font-weight: 500;
color: var(--primary-color);
transition: transform 0.3s ease;
}

.services-list li:hover {
transform: translateY(-3px);
}

/* UPDATED: Update the services list icon styling to target IMG/SVG */
.services-list img {
width: 2rem;
height: 2rem;
color: var(--secondary-color);
margin-bottom: 0.5rem;
}

.services-list .service-link {
color: var(--primary-color);
text-decoration: none;
font-weight: 600;
display: inline-block;
padding: 10px 20px;
border: 2px solid var(--primary-color);
border-radius: 5px;
transition: all 0.3s ease;
}

.services-list .service-link:hover {
background-color: var(--primary-color);
color: var(--white);
}

/* --- 9. Hero Section (Updated for Image Size) --- */
.hero {
padding: 80px 0;
background-color: #ebf7f8; /* SLIGHT ADJUSTMENT for better visual contrast */
}

.hero .container {
display: flex;
justify-content: space-between;
align-items: center;
gap: 30px;
}

.hero-content {
flex: 1;
text-align: left;
}

.hero-title {
font-size: 3rem;
color: #1565c0; /* ACCESSIBILITY FIX: Darker blue for 4.5:1 contrast against light blue background. */
margin-bottom: 20px;
}

.hero-description {
font-size: 1.2rem;
color: #495057; /* ACCESSIBILITY FIX: Darker than #555 for better contrast. */
margin-bottom: 30px;
}

.hero-features {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 30px;
}

.feature-item {
display: flex;
align-items: center;
gap: 10px;
font-size: 1.1rem;
color: var(--text-color);
text-align: left;
}

/* UPDATED: Update the hero feature item icon styling to target IMG/SVG */
.feature-item img {
width: 1.2rem;
height: 1.2rem;
color: var(--primary-color);
}

.hero-image {
flex: 1;
max-width: 500px;
display: flex; /* Added flex to center the fixed-size image */
justify-content: center;
align-items: center;
}

/* HERO IMAGE SETTING */
.hero-image img {
width: 300px; /* Set fixed width */
height: 300px; /* Set fixed height */
object-fit: contain; /* Ensure image is not cropped */
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* END HERO IMAGE SETTING */

.hero-buttons {
justify-content: flex-start;
}

/* --- 10. Contact Info Section (Original) --- */
.contact-info {
margin: 20px auto 40px auto;
max-width: 400px;
text-align: left;
}

.contact-info p {
margin-bottom: 10px;
color: #495057; /* ACCESSIBILITY FIX: Darker than #555 for better contrast. */
display: flex;
align-items: center;
}

.contact-info img {
margin-right: 10px;
width: 42px;
height: 42px;
vertical-align: middle;
}

/* --- 11. Footer --- */
.main-footer {
background-color: #000;
color: white;
padding: 40px 0;
margin-top: 60px;
font-size: 0.9rem;
}

.footer-content {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
margin-bottom: 30px;
text-align: left;
}

.footer-section h3 {
color: var(--white);
margin-bottom: 15px;
font-size: 1.1rem;
}

.footer-section p {
color: var(--footer-link-color);
margin-bottom: 10px;
line-height: 1.5;
/* Ensure icon and text align perfectly */
display: flex;
align-items: center;
gap: 8px; /* adds clean spacing between icon and text */
}

/* FIX: Make links inline-flex so icons stay visible and aligned */
.footer-section a {
display: inline-flex;
align-items: center;
color: var(--footer-link-color);
text-decoration: none;
transition: color 0.3s ease;
gap: 8px;
}

.footer-section a:hover {
color: var(--secondary-color);
}

.footer-links a {
display: block;
margin-bottom: 5px;
color: var(--footer-link-color);
}

.social-links {
display: flex;
gap: 15px;
margin-top: 15px;
}

/* Optional: Ensure icons have consistent size and alignment */
.footer-section img {
width: 30px;
height: 30px;
flex-shrink: 0;
}

/* 1. Styling for Contact Info icons (Address, Phone, Email) in the Footer */
.footer-section p img {
margin-right: 10px;
width: 20px;
height: 20px;
}

/* 2. Styling for Social Media icons in the Footer */
.social-links a img {
width: 42px;
height: 42px;
vertical-align: middle;
}

.footer-bottom {
border-top: 1px solid #333;
padding-top: 20px;
text-align: center;
}

.footer-bottom p {
color: #aaa;
margin-bottom: 5px;
}

/* --- 12. Responsive Adjustments (Consolidated) --- */
@media (max-width: 1024px) {
/* Footer */
.footer-content {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 992px) {
.hero .container {
flex-direction: column;
text-align: center;
}

.hero-content,
.hero-features {
text-align: center;
margin-bottom: 30px;
align-items: center;
}

.hero-buttons {
justify-content: center;
}
}

@media (max-width: 768px) {
/* Typography */
h1 {
font-size: 2rem;
}
h2 {
font-size: 1.75rem;
}
h3 {
font-size: 1.25rem;
}

/* Grids */
.product-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
padding: 0 0.5rem;
}

/* Mobile Nav - CONSOLIDATED AND COMPLETE DEFINITION */
.mobile-nav-toggle {
display: block;
}

.nav-list {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background-color: var(--white);
flex-direction: column;
padding: 1rem;
box-shadow: 0 5px 15px var(--shadow-color);
align-items: flex-start;
width: 100%;
z-index: 999; /* ADDED: Ensures mobile menu is below the header but above other content */
}

.nav-list[data-visible="true"] {
display: flex;
}

.nav-list li {
margin: 0.5rem 0;
width: 100%;
}

.nav-list li a {
padding: 0.5rem 1rem;
display: block;
border-bottom: 1px solid #eee;
}

.nav-list li:last-child a {
border-bottom: none;
}

/* Product Item */
.product-item img {
/* On small screens, let the image shrink if container is less than 300px */
max-width: 100%;
height: auto;
}

/* Services */
.services-list {
grid-template-columns: 1fr;
}

/* Footer */
.footer-content {
grid-template-columns: 1fr;
text-align: center;
}

.social-links {
justify-content: center;
}
}

@media (max-width: 480px) {
.hero-title {
font-size: 2.5rem;
}
.hero-description {
font-size: 1rem;
}

.hero-buttons {
flex-direction: column;
}
}

/*
|======================================================
| 13. Contact Page Styles
|======================================================
*/

/* --- 13.1 General Contact Section Layout --- */
.contact-section {
padding-top: 20px; /* Reduce padding to pull it closer to the header */
}

/* Ensure the contact-details and form wrapper use a wider container */
.contact-section .container {
max-width: 900px; /* Increased max-width for better form size */
padding: 0 15px;
}

.centered-contact-info {
/* New class for styling the contact details above the form */
text-align: center;
margin-bottom: 2rem;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 15px; /* Add gap for spacing on smaller screens */
}

.centered-contact-info p {
margin-bottom: 0;
font-size: 1.1rem;
color: var(--primary-color);
display: inline-flex;
align-items: center;
margin: 0; /* Removed horizontal margin as gap handles it */
}

/* UPDATED: Target IMG/SVG within centered-contact-info */
.centered-contact-info img {
margin-right: 8px;
color: var(--secondary-color);
width: 20px; /* Explicit size for contact icons */
height: 20px;
}

/* --- 13.2 Form Styling --- */
.contact-form-wrapper {
background-color: var(--white);
padding: 30px;
border-radius: 8px;
box-shadow: 0 5px 15px var(--shadow-color);
margin: 0 auto 40px auto; /* Centered the wrapper */
max-width: 800px; /* New, wider size */
text-align: center;
}

.contact-form-wrapper h3 {
font-size: 1.8rem;
color: var(--secondary-color);
margin-bottom: 25px;
}

.form-group {
margin-bottom: 1.5rem;
text-align: left;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea,
.captcha-input {
width: 100%;
display: block;
padding: 15px 12px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
transition: border-color 0.3s;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
height: 50px; /* Standard height for inputs */
}

#contact-form textarea {
resize: vertical;
height: 120px; /* Explicitly set height for the message box */
}

#contact-form input:focus,
#contact-form textarea:focus,
.captcha-input:focus {
border-color: var(--primary-color);
outline: none;
box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.form-message {
margin-top: 15px;
padding: 10px;
border-radius: 5px;
font-weight: 500;
text-align: center;
}

.alert-success {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}

.alert-danger {
background-color: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
/* --- 13.3 Map and Captcha Styling --- */
.map-embed {
margin-bottom: 40px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px var(--shadow-color);
}

.map-embed iframe {
display: block;
}

/* Captcha Styles (from original inline block) */
.grecaptcha-badge {
display: none !important;
}

.math-captcha {
margin-bottom: 1.5rem;
padding: 1rem;
border: 1px solid #ddd;
border-radius: 4px;
background-color: #f8f9fa;
}

.captcha-label {
display: flex;
align-items: center;
margin-bottom: 0.75rem;
font-size: 0.9rem;
color: #666;
}

/* UPDATED: Target IMG/SVG within captcha-label */
.captcha-label img {
margin-right: 0.5rem;
color: var(--secondary-color);
width: 18px;
height: 18px;
}

.captcha-question {
display: flex;
align-items: center;
gap: 1rem;
}

#captcha-question {
font-size: 1.1rem;
font-weight: bold;
color: #333;
}

.captcha-input {
/* Reset width override here since it was added to the main form group */
width: 200px;
min-width: 150px;
}

/* --- 13.4 Responsive Adjustments for Contact Page --- */
@media (max-width: 600px) {
.centered-contact-info {
flex-direction: column;
align-items: center;
gap: 10px;
}
.centered-contact-info p {
font-size: 1rem;
}
.contact-form-wrapper {
max-width: 100%;
padding: 20px;
}
.captcha-question {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
.captcha-input {
width: 100% !important;
min-width: unset;
}
}
/* --- Dealer Page Specific Styling (for become-dealer.html) --- */

/* Dealer Benefits Section */
.dealer-program {
background-color: var(--light-gray);
padding: 60px 0;
}

.dealer-benefits {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
margin-top: 30px;
}

.benefit-card {
background: var(--white);
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
text-align: center; /* Ensures inline content is centered */
transition: transform 0.3s ease;
}

.benefit-card:hover {
transform: translateY(-5px);
}

/* *** CRITICAL CENTERING FIX for Benefit Icons *** */
.benefit-card img {
width: 3.5rem;
height: 3.5rem;
color: var(--primary-color);
margin-bottom: 15px;
display: block !important;
margin: 0 auto 15px auto !important;
}

.benefit-card h3 {
font-size: 1.4rem;
margin-bottom: 15px; /* ADJUSTED: Added bottom margin */
}

/* Dealer Requirements Section */
.dealer-requirements {
padding: 60px 0;
}

.requirements-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
margin-top: 30px;
}

.requirement-item {
border-left: 5px solid var(--secondary-color);
padding-left: 20px;
padding-right: 10px;
}

.requirement-item h3 {
color: var(--primary-color);
margin-top: 0;
font-size: 1.3rem;
}

/* Application Process Section */
.application-process {
background-color: var(--light-gray);
padding: 60px 0;
}

.process-steps {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
gap: 20px;
margin-top: 30px;
text-align: center;
}

.step {
flex-basis: 30%; /* Ensures 3 items per row on large screens */
padding: 20px;
border-radius: 8px;
background: var(--white);
position: relative;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
text-align: center; /* Ensures inline content is centered */
}

/* *** CRITICAL CENTERING FIX for Process Step Icons *** */
.step img {
width: 3rem;
height: 3rem;
color: var(--secondary-color);
margin-bottom: 10px;
display: block !important;
margin: 0 auto 10px auto !important;
}

/* Call to Action Section */
.contact-dealer {
text-align: center;
padding: 40px 0 60px;
}

.contact-dealer h2 {
margin-bottom: 10px;
}

.contact-section {
margin-top: 25px;
}

/* --- Training Page Module Card Updates --- */

/* Replicating the previous styles for i elements, but for img */
.modules-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 30px;
}
.module-card {
background: var(--white);
padding: 30px;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
border-left: 5px solid #00c49f;
transition: transform 0.3s, box-shadow 0.3s;
text-align: center; /* Ensures inline content is centered */
}

/* *** CRITICAL CENTERING FIX for Module Icons *** */
.module-card img {
width: 2.5em; /* 40px */
height: 2.5em; /* 40px */
margin-bottom: 15px;
display: block !important;
margin: 0 auto 15px auto !important;
}

.module-card h3 {
font-size: 1.5em;
color: #333;
margin-top: 0;
margin-bottom: 15px;
}
.module-card p {
color: #666;
line-height: 1.6;
}
.module-card .key-takeaways {
list-style: none;
padding: 0;
margin: 20px 0 0;
text-align: left; /* Keep the bullet points left-aligned */
}
.module-card .key-takeaways li {
padding: 8px 0;
border-bottom: 1px dashed #eee;
display: flex;
align-items: center;
font-size: 0.95em;
color: #444;
}
/* UPDATED: Target IMG/SVG for the checkmarks in key-takeaways */
.module-card .key-takeaways img {
width: 1em;
height: 1em;
margin-right: 10px;
}

/* --- About Page Feature Card Updates --- */
.feature-item {
    text-align: center;
    margin-bottom: 25px;
}

.feature-icon {
    display: block;
    margin: 0 auto 5px auto;
}

/*
|======================================================
| 14. About Page Centering Fixes (New Section)
|======================================================
*/

/* Apply centering and max-width specifically for the main content block on large screens */
@media (min-width: 1024px) {
    .centered-content-wrapper {
        /* Set a maximum width for the main text block content 
           to keep line lengths readable on wide screens. */
        max-width: 800px; 
        
        /* The margin: 0 auto; for horizontal centering is 
           inherited from the existing .container class. */

        /* Add padding for visual separation */
        padding-top: 40px; 
        padding-bottom: 40px; 
    }
}


/* --- About Page Feature Grid Layout (for .about-features) --- */
/* The default display is likely block elements stacked. Let's make it a 3-column grid for desktop. */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #ddd;
}

/* --- About Page Values List Layout (for Our Values) --- */
.value-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    display: grid;
    /* Use a 2-column layout for values on larger screens for better use of space */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
}

.value-list li {
    padding: 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.value-list strong {
    display: block;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.value-list .value-icon {
    float: left;
    margin-right: 10px;
}