:root {
    --primary: #e8ebed;
    --secondary: #f00736;
    --light: #ecf0f1;
    --dark: #041220;
    --accent: #3498db;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #495057;
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;  /* Gutters for smaller screens */
    padding-right: 15px;
    width: 100%;
    box-sizing: border-box;
}

header {
    background-color: var(--primary);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
     background-image: url('../images/header-background.webp'); /* Adjust path if needed */
    background-size: cover;          /* Scale image to cover header area */
    background-position: center center; /* Center the image */
    background-repeat: no-repeat;
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

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

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

nav ul {
    display: flex;
    list-style: none;
    gap: 21px; 
    margin: 0; /* Ensure no default ul margin interferes */
    padding: 0;
}

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

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: inline-block; 
    padding: 5px 13px;
    border-radius: 4px;
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--secondary);
    background-color: rgba(255,255,255,0.1);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url('image/banner.webp');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 6px 30px;
    border: 2px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn.btn-outline-orange {
    display: inline-block;
    color: #1F2937; /* Dark text color */
    border-color: #f40a35; /* Vibrant Orange border */
    background-color: #ffffff; /* Explicitly set white background */
    /* Ensure border properties are set */
    border-width: 2px;
    border-style: solid;
}

/* Hover effect for the orange outline button */
.btn.btn-outline-orange:hover {
    color: #ffffff; /* White text on hover */
    background-color: #ee123aec; /* Fill with orange on hover */
    border-color: #e80303ec; /* Keep border color */
}

/* Optional: If you want OTHER .btn elements to keep the red style */
/* You might need to be more specific or create another class */
/* e.g., Make the default solid button red */
.btn.btn-solid-red { /* You'd add this class to other buttons */
     background-color: #dc3545;
     color: #fff;
     border-color: #dc3545; /* Match background */
     border-radius: 5px; /* Override pill shape if needed */
}
.btn.btn-solid-red:hover {
    background-color: #c82333;
    border-color: #c82333;
}

/* --- Image Banner Carousel Styles --- */

.image-banner-section {
    padding: 40px 0; /* Add padding as needed */
    background-color: #f8f8f8; /* Optional background */
}

.image-carousel-container {
    width: 100%;
    overflow: hidden; /* Crucial: Hides the images outside the container */
    position: relative; /* Needed for potential future controls */
    padding: 20px 0; /* Add some vertical padding */
}

.image-carousel-track {
    display: flex; /* Aligns items horizontally */
    /* Calculate width: (Number of original images + duplicates) * width per image */
    /* Example: 8 images * 350px = 2800px */
    width: calc(12 * 350px); /* Adjust 350px based on your desired image width */
    animation: scrollBanner 40s linear infinite; /* Adjust 40s duration for speed */
}

.image-carousel-item {
    flex-shrink: 0; /* Prevent items from shrinking */
    width: 350px; /* Set desired width for each image container */
    margin-right: 20px; /* Space between images */
    box-sizing: border-box;
    background-color: #fff; /* Optional background for items */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional shadow */
    border-radius: 8px; /* Optional rounded corners */
    overflow: hidden; /* Ensure image fits rounded corners */
}

.image-carousel-item img {
    display: block; /* Remove extra space below image */
    width: 100%; /* Make image fill the item container */
    height: auto; /* Maintain aspect ratio */
    /* Consider adding a fixed height if needed for uniformity */
    /* height: 400px; object-fit: cover; */
}

/* Pause animation on hover */
.image-carousel-container:hover .image-carousel-track {
    animation-play-state: paused;
}

/* Keyframes for the scrolling animation */
@keyframes scrollBanner {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move left by the width of the *original* set of images */
        /* Example: 4 original images * (350px width + 20px margin) = 1480px */
        transform: translateX(calc(-6 * (350px + 20px)));
    }
}

/* Responsive adjustments (Example for smaller screens) */
@media (max-width: 768px) {
    .image-carousel-track {
         /* Adjust width and animation calculation if item width changes */
        width: calc(12 * 280px); /* Smaller width for mobile */
        animation-name: scrollBannerMobile; /* Use different animation if needed */
    }
    .image-carousel-item {
        width: 280px; /* Smaller item width */
        margin-right: 15px;
    }

    @keyframes scrollBannerMobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-6 * (280px + 15px))); }
    }
}

@media (max-width: 480px) {
    .image-carousel-track {
        width: calc(12 * 220px); /* Even smaller */
        animation-name: scrollBannerSmallMobile;
    }
    .image-carousel-item {
        width: 220px;
        margin-right: 10px;
    }
     @keyframes scrollBannerSmallMobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-6 * (220px + 10px))); }
    }
}
.section-title {
    text-align: center;
    margin: 20px;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem; /* Or adjust to your preference */
    font-weight: 600; /* Or adjust (e.g., 700 for bolder) */
    color: #343a40; /* Dark grey */
    margin-top: 0; /* Remove top margin if any */
    margin-bottom: 0; /* Remove bottom margin from H2 itself */
    padding-bottom: 0; /* Remove padding if added for underline */
    /* Ensure it uses your site's font */
    font-family: inherit; /* Or specify your font stack */
}


.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.view-all-container {
    text-align: center; /* Center the button */
    margin-top: 0; /* Reset top margin */
    margin-bottom: 50px; /* Increase space BELOW the button, before blog posts */
}
.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    position: relative;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--secondary);
}

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

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.product-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}
.view-more-container {
    text-align: right; /* Center the button horizontally */
    margin-top: 40px;   /* Add space above the button */
    margin-bottom: 20px;
}
.size-converter {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}



.converter-tabs .tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    position: relative;
}

.converter-tabs .tab-btn.active {
    color: var(--primary);
}

.converter-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}



.converter-content.active {
    display: block;
}



.size-table th, 
.size-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.size-table th {
    background-color: var(--primary);
    color: white;
}

.size-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* --- Modern Blog Section Styles --- */

/* Grid Layout for Blog Posts */
.blog-posts {
    display: grid;
    /* Create responsive columns: minimum 300px wide, fit as many as possible, equal width */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Space between grid items (cards) */
}

/* Styling Individual Blog Cards */
.blog-card {
    background-color: #fff;
    border-radius: 8px; /* Rounded corners */
    
    overflow: hidden; /* Clip image corners if needed */
    display: flex; /* Use flexbox for vertical layout */
    flex-direction: column; /* Stack image and content vertically */
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.blog-card:hover {
    transform: translateY(-4px); /* Slight lift on hover */
    
}

/* Blog Card Image */
.blog-img {
    position: relative; /* For potential overlays later if needed */
    width: 100%;
    height: 200px; /* Fixed height for consistent card size */
    overflow: hidden; /* Ensure image stays contained */
}

.blog-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area without stretching */
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

.blog-card:hover .blog-img img {
    transform: scale(1.05); /* Slightly zoom image on card hover */
}

/* Blog Card Content Area */
.blog-content {
    padding: 25px; /* Padding inside the content area */
    flex-grow: 1; /* Allow content to grow and push read-more down */
    display: flex;
    flex-direction: column;
}

/* Meta Info (Date/Category) */
.blog-meta {
    font-size: 0.8em;
    color: #6c757d; /* Grey color for meta text */
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-meta .blog-date {
    /* Specific styling if needed */
}
.blog-meta .blog-category { /* If you add categories */
    margin-left: 10px;
    /* background-color: #eee; padding: 2px 5px; border-radius: 3px; */
}

/* Blog Title */
.blog-title {
    font-size: 1.25rem; /* Adjust size */
    font-weight: 600;
    color: #343a40; /* Dark title color */
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a {
    text-decoration: none;
    color: inherit; /* Inherit color from h3 */
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: #0d6efd; /* Your primary brand color on hover */
}

/* Blog Excerpt */
.blog-excerpt {
    color: #495057; /* Main text color */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the read-more link to the bottom */
}

/* Read More Link */
.read-more {
    color: #0d6efd; /* Your primary brand color */
    text-decoration: none;
    font-weight: 500;
    display: inline-block; /* Prevents taking full width */
    transition: color 0.2s ease;
    margin-top: auto; /* Pushes to the bottom if content is short */
}

.read-more:hover {
    /* color: #0a58ca; */ /* Darker shade on hover */
    text-decoration: underline;
}

/* Responsive Adjustments (Example) */
@media (max-width: 768px) {
    .blog-posts {
        /* Switch to 2 columns on medium screens */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .blog-content {
        padding: 20px;
    }
    .blog-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .blog-posts {
        /* Switch to 1 column on small screens */
        grid-template-columns: 1fr;
    }
}
.about-section {
    display: grid;
    grid-template-columns: 1.68fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 89px;
}

.about-img img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-content h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-section {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

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

.contact-info h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    color: var(--secondary);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-text h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-text p {
    color: #666;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

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

.submit-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #c0392b;
}

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

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

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

footer {
    background-color: var(--dark);
    color: white;
    padding: 25px 0 10px;
}

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

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

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

.footer-links li {
    margin-bottom: 6px;
    list-style: none;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9em;
}

.footer-links a:hover {
    color: white;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
    font-size: 14px;
}

@media (max-width: 992px) {
    .about-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .mobile-menu {
        display: block;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
        width: 100%;
        margin-top: 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .products,
    .blog-posts {
        grid-template-columns: 1fr;
    }
    
    .converter-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        text-align: center;
    }
}

.header-container {
    display: flex;
    align-items: center;
    gap: 30px;
}
  
nav ul {
    display: flex;
    gap: 20px;
}

/* ============================================= */
/* == Step Slider Testimonial Styles == */
/* ============================================= */

.testimonial-section-step {
    padding-top: 55px; /* Adjusted internal padding */
     padding-bottom: 89px;
    background-color: #f8f9fa; /* Optional background */
}
/* Keep your .section-title styles */

.testimonial-step-slider {
    position: relative;
    width: 95%; /* Adjust overall width */
    max-width: 1000px; /* Adjust max-width */
    margin: 40px auto;
}

.testimonial-step-viewport {
    overflow: hidden; /* Hide slides outside this viewport */
    width: 100%;
}

.testimonial-step-track {
    display: flex;
    /* Width calculated by JS based on number of slides */
    transition: transform 0.7s ease-in-out;
}

.testimonial-step-slide {
    flex: 0 0 50%; /* <<< SHOWS TWO ITEMS AT A TIME (100% / 2) */
    box-sizing: border-box;
    padding: 0 15px; /* Space between the two visible items */
}

/* Styling for the individual testimonial box */
.testimonial-item-step {
    box-sizing: border-box;
    padding: 30px 35px; /* Padding inside box */
    color: white;
    min-height: 280px; /* Adjust height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 15px; /* Space below box */
}
.testimonial-item-step p {
    font-size: 1.05em;
    line-height: 1.6;
    text-align: left;
    margin-bottom: auto; /* Push text to top */
}
.testimonial-item-step .source {
    font-style: italic;
    font-size: 0.9em;
    align-self: flex-end;
    margin-top: 15px; /* Space between text and source */
    padding-top: 10px;
    line-height: 1.3;
    text-align: right;
}

/* Colors */
.testimonial-item-step.blue { background-color: #00338D; }
.testimonial-item-step.red { background-color: #C8102E; }

/* Navigation Arrows */
.step-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(108, 117, 125, 0.7);
    border: none; color: white; padding: 0;
    border-radius: 50%; cursor: pointer; z-index: 10;
    width: 40px; height: 40px; display: flex;
    align-items: center; justify-content: center;
    transition: background-color 0.3s ease;
    opacity: 0.7; /* Slightly transparent */
}
.step-slider-arrow:hover { background-color: rgba(52, 58, 64, 0.8); opacity: 1; }
.step-slider-arrow.prev { left: -20px; } /* Adjust position */
.step-slider-arrow.next { right: -20px; }
.step-slider-arrow i { font-size: 0.9em; }
.step-slider-arrow.disabled { /* Style for disabled arrows */
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

/* Dot Navigation */
.step-slider-dots {
    text-align: center;
    margin-top: 20px;
}
.step-slider-dots .dot {
    display: inline-block; width: 10px; height: 10px;
    background-color: #ccc; border-radius: 50%;
    margin: 0 5px; cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.step-slider-dots .dot.active {
    background-color: var(--secondary); transform: scale(1.2);
}

/* Responsive: Show one item on smaller screens */
@media (max-width: 768px) {
    .testimonial-step-slide {
        flex-basis: 100%; /* Show one slide */
        padding: 0 5px; /* Adjust padding */
    }
    .step-slider-arrow.prev { left: -10px; }
    .step-slider-arrow.next { right: -10px; }
    .testimonial-item-step { min-height: 240px; padding: 25px 30px; }
}
.quote-box {
    background: linear-gradient(to bottom right, rgba(255,255,255,0.05), rgba(255,255,255,0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15); /* Modern shadow */
  }
  
  .testimonial-slider {
    border-radius: 12px;
  }
  
  .testimonial-slide {
    transition: transform 0.6s ease-in-out;
  }
  .testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    overflow: hidden;
  }
  
  .slides-wrapper {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background-color: var(--background-color, #fff);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .quote-box {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
  }
  
  .attribution {
    font-weight: bold;
    color: #222;
  }
  
  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: none;
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
  }
  
  .slider-arrow.prev {
    left: 10px;
  }
  
  .slider-arrow.next {
    right: 10px;
  }
  
  .slider-dots {
    text-align: center;
    margin-top: 20px;
  }
  
  .slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
  }
  
  .slider-dots .active {
    background: #000;
  }
    
/* ============================================= */

.map-container {
    margin-bottom: 30px; 
    position: relative;
    overflow: hidden;
    border: 1px solid #eee; 
    line-height: 0;
}
  
.google-map {
    width: 100%;    
    height: 350px;   
    border: none;     
    vertical-align: middle; 
}

.about-page-content {
    font-size: 1.1em; 
    line-height: 1.7;
    color: #444; 
}

.about-page-content h1 {
    font-size: 2.5em; 
    color: var(--primary); 
    margin-bottom: 25px;
    text-align: center; 
    border-bottom: 2px solid var(--secondary); 
    padding-bottom: 10px;
    display: inline-block; 
}

.about-page-content h1 {
    display: table; 
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px; 
}

.about-page-content h2 {
    font-size: 1.8em; 
    color: var(--dark); 
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee; 
}

.about-page-content p {
    margin-bottom: 1.5em; 
}

.about-page-content ul {
    list-style: disc; 
    margin-left: 25px; 
    margin-bottom: 1.5em;
}

.about-page-content li {
    margin-bottom: 0.8em; 
}

.about-page-content strong {
    color: var(--primary); 
}

.about-image-container {
    border: 1px solid #ddd; 
    padding: 5px; 
    background-color: white;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 15px; 
    max-width: 48%; 
}

.about-image-container.image-right {
    float: right;
    margin-left: 25px; 
}

.about-image-container.image-left {
    float: left;
    margin-right: 25px; 
}

.about-image-container img {
    display: block; 
    width: 100%; 
    height: auto; 
}
/* --- START: Styles for New About Page Content --- */

/* Wrapper for the main content area */
.about-page-wrapper {
    padding-bottom: 40px; /* Add some space before footer */
}

/* 1. Top Image Styling */
.about-top-image-container {
    width: 100%;
    overflow: hidden; /* Hide overflow if image is taller */
    margin-bottom: 50px; /* Space below image */
    line-height: 0; /* Prevent extra space */
}

.about-top-image {
    width: 100%;
    height: auto; /* Try to fill container height */
    object-fit: cover; /* Cover area, may crop */
    display: block;
}

/* 2. Text Block Styling */
/* Uses existing .container for width/centering */
.about-text-block {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.7;
    padding-bottom: 40px; /* Space below text block */
}

.about-text-block p {
    margin-bottom: 1.5em;
}

.about-text-block i {
    font-style: italic;
}

/* 3. Three Column Section Styling */
.about-three-cols-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0px; /* Space between columns */
    margin-top: 20px; /* Space above the columns */
}

.about-col {
    flex: 1 1 30%; /* Aim for 3 columns, allow wrapping */
    min-width: 300px; /* Minimum width before wrapping */
    height: 300px; /* Fixed height for the columns */
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: block;
    background-size: cover; /* Cover with background image */
    background-position: center;
}

/* Set Background Images via CSS */
.about-col.col-strategy {
    background-image: url('img2.webp');
}
.about-col.col-iso {
    background-image: url('img3.webp');
    background-size: contain;    /* Fit the entire image inside */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: center; 
}
.about-col.col-profile {
    background-image: url('img1.webp');
}


/* Overlay Styling */
.about-col-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Align items (the text block) to the bottom */
    text-align: center;
    /* Adjust padding: Keep left/right, remove top/bottom or set specific values */
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 25px;  /* Add space below the text. ADJUST AS NEEDED */
    padding-top: 25px;     /* Keep original top padding, or adjust/remove if needed */
    transition: background-color 0.4s ease-in-out;
}

/* Overlay Colors (Initial State - mostly opaque) */
.about-col-overlay.overlay-red {
    /* Red, ~70% opaque */
    background-color: rgba(200, 16, 46, 0.3);
}
.about-col-overlay.overlay-blue {
     /* Blue, ~70% opaque */
    background-color: rgba(27, 76, 238, 0.3);
}

/* Overlay Hover State (becomes 95% transparent = 5% opaque) */
.about-col:hover .about-col-overlay.overlay-red {
     background-color: rgba(200, 16, 46, 0.90); /* 5% opaque Red */
}
.about-col:hover .about-col-overlay.overlay-blue {
    background-color: rgba(17, 55, 225, 0.871); /* 5% opaque Blue */
}

/* Text inside overlay */
.about-col-text {
    transition: transform 0.35s ease-out, opacity 0.35s ease-out;
    transform: translateY(0); /* Initial position */
    opacity: 1; 
   
}

.about-col h3 {
    font-size: 1.9em;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4); /* Add shadow for readability */
}
/* Reduce font size specifically for the ISO column heading to prevent 3 lines */
.about-col.col-iso h3 {
    font-size: 1.6em; /* Adjust this value down from 1.9em until it fits */
    /* You might also slightly adjust line-height if needed */
    /* line-height: 1.3; */
}
.about-col p { /* For ISO subtext */
    font-size: 0.9em;
    line-height: 1.4;
    max-width: 90%;
    margin-top: 5px;
    color: #eee; /* Lighter text for subtext */
     text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Text Animation on Hover */
.about-col:hover .about-col-text {
    transform: translateY(-10px) scale(1.03); /* Move up slightly and scale */
    opacity: 1; /* Ensure it stays visible */
}
/* Reduce font size specifically for the ISO column heading */
/* --- START: Bottom-Up Growth Timeline Styles --- */

.timeline-bu-section {
    padding: 40px 0 60px;
}

.timeline-bottom-up {
    display: flex;
    /* Key property: Reverses visual order of flex items */
    flex-direction: column-reverse;
    position: relative;
    width: 90%;
    max-width: 800px; /* Adjust as needed */
    margin: 30px auto;
}

/* The central vertical line */
.timeline-bottom-up::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    top: 10px;  /* Extend slightly past first/last markers */
    bottom: 10px; /* Extend slightly past first/last markers */
    background-color: #e0e0e0; /* Neutral line color */
    border-radius: 2px;
}

 /* Arrowhead at the top (optional visual cue for growth direction) */
.timeline-bottom-up::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -5px; /* Position just above the top of the line */
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid var(--accent); /* Arrow color */
}

.timeline-bu-item {
    position: relative;
    width: 50%;
    margin-bottom: 40px; /* Space between items */
    box-sizing: border-box;
}
 .timeline-bottom-up > .timeline-bu-item:last-of-type { /* The item appearing at the bottom */
      margin-bottom: 0;
  }
 .timeline-bottom-up > .timeline-bu-item:first-of-type { /* The item appearing at the top */
       /* Add extra margin if needed below title/above top item */
      /* margin-top: 20px; */
  }


/* Position odd items (1st, 3rd, 5th in HTML -> Bottom, Middle, Top visually) */
.timeline-bu-item:nth-child(odd) {
    left: 0;
    padding-right: 45px; /* Space from center line */
    text-align: right;
}

/* Position even items (2nd, 4th in HTML -> Second from bottom, Second from top visually) */
.timeline-bu-item:nth-child(even) {
    left: 50%;
    padding-left: 45px; /* Space from center line */
    text-align: left;
}

/* The marker (dot) */
.timeline-bu-marker {
    position: absolute;
    top: 0; /* Align marker with top of content box's logical position */
    width: 18px;
    height: 18px;
    background-color: var(--accent); /* Use accent color */
    border: 3px solid white; /* White border to lift off line */
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 3px var(--accent); /* Outer glow effect */
}

/* Position marker for odd items (left side) */
.timeline-bu-item:nth-child(odd) .timeline-bu-marker {
    right: -9px; /* (Width/2) onto the line */
    transform: translateX(50%);
}

/* Position marker for even items (right side) */
.timeline-bu-item:nth-child(even) .timeline-bu-marker {
    left: -9px; /* (Width/2) onto the line */
    transform: translateX(-50%);
}

.timeline-bu-content {
    background-color: white;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative; /* For year positioning */
}

.timeline-bu-year {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-bottom: 8px;
}
  /* Adjust year alignment based on side */
  .timeline-bu-item:nth-child(odd) .timeline-bu-year {
      /* Already text-align: right from parent */
  }
  .timeline-bu-item:nth-child(even) .timeline-bu-year {
      /* Already text-align: left from parent */
  }

.timeline-bu-content h3 {
    font-size: 1.1em;
    color: var(--dark);
    margin: 0 0 5px 0;
    font-weight: 600;
}

.timeline-bu-content p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-bottom-up::before,
    .timeline-bottom-up::after { /* Move line and arrow to the left */
        left: 15px;
        transform: none;
    }
    .timeline-bottom-up::after { /* Adjust arrow */
         left: 11px; /* Center arrow on the 4px line */
     }

    .timeline-bu-item {
        width: 100%;
        padding-left: 55px; /* Space for line and marker */
        padding-right: 15px;
        text-align: left; /* All text left */
        left: 0 !important; /* Override */
        margin-bottom: 40px;
    }
     .timeline-bottom-up > .timeline-bu-item:last-of-type {
         margin-bottom: 0;
     }


    .timeline-bu-item:nth-child(odd) .timeline-bu-marker,
    .timeline-bu-item:nth-child(even) .timeline-bu-marker {
        left: 6px; /* Position marker on the left line: 15px - (18/2) = 6px */
        transform: none;
    }
}

/* --- END: Bottom-Up Growth Timeline Styles --- */

/* --- END: Styles for New About Page Content --- */    
/* --- Dropdown Menu Styling --- */

/* Style the parent list item */
nav ul li.has-submenu {
    position: relative; /* Needed for absolute positioning of submenu */
}

/* Style the submenu (hidden by default) */
nav ul li .submenu {
    display: none; /* Hide submenu initially */
    position: absolute; /* Position relative to parent */
    top: 100%; /* Position it right below the parent */
    left: 0; /* Align with the left edge of the parent */
    background-color: var(--primary); /* Background color - match header or choose another */
    padding: 10px 0; /* Padding top/bottom */
    min-width: 160px; /* Minimum width */
    z-index: 100; /* Ensure it's above other content */
    box-shadow: 0 3px 6px rgba(0,0,0,0.15); /* Optional shadow for depth */
    list-style: none; /* Remove default list bullets */
    margin: 0; /* Reset default margins */
    border-radius: 0 0 4px 4px; /* Optional rounded bottom corners */
}

/* Show the submenu when hovering over the parent list item */
nav ul li.has-submenu:hover > .submenu {
    display: block; /* Show on hover */
}

/* Style the links within the submenu */
nav ul li .submenu li {
    margin: 0; /* Reset margins */
}

nav ul li .submenu li a {
    display: block; /* Make the whole area clickable */
    padding: 8px 15px; /* Padding inside each submenu link */
    color: var(--dark); /* Text color - adjust if background changes */
    text-decoration: none;
    font-weight: 500; /* Match parent links or adjust */
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap; /* Prevent links from wrapping */
    /* Reset styles inherited from top-level links */
    background-color: transparent;
    border-radius: 0;
}

/* Hover effect for submenu links */
nav ul li .submenu li a:hover {
    background-color: var(--secondary); /* Hover background color */
    color: white; /* Hover text color */
}

/* --- End Dropdown Menu Styling --- */
/* Remove underline from footer social links */
footer .social-links a {
    text-decoration: none;
}
/* --- START: Modal Styles --- */
/* --- START: Modal Styles (Full Screen Version) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Overlay background */
    /* display: flex; align-items: center; justify-content: center; */ /* No longer needed */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Keep fade */
    z-index: 1000;
    /* padding: 20px; */ /* Remove padding from overlay */
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: white;
    width: 100%; /* Take full width */
    height: 100%; /* Take full height */
    overflow-y: auto; /* Allow VERTICAL scrolling for content */
    position: relative;
    /* REMOVED: max-width, max-height, padding, border-radius, box-shadow, transform, transition:transform */
}

.close-modal {
    position: fixed; /* Keep fixed position */
    top: 20px;       /* Adjust spacing if needed */
    right: 60px;      /* Adjust spacing if needed */
    width: 42px;      /* Set width for the circle */
    height: 42px;     /* Set height for the circle */
    background-color: var(--secondary); /* Red background using variable */
    border: none;     /* Remove default button border */
    border-radius: 50%; /* Make it perfectly round */
    color: white;     /* Color for the icon */
    cursor: pointer;
    padding: 0;       /* Remove default padding */
    z-index: 1010;    /* Keep it above content */
    display: flex;    /* Use flexbox to center the icon */
    align-items: center; /* Center icon vertically */
    justify-content: center; /* Center icon horizontally */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Add transitions */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional subtle shadow */
    /* REMOVED: font-size, font-weight, line-height (now applied via icon) */
}

/* Style the icon itself inside the button */
.close-modal i {
    font-size: 1.6rem; /* Adjust icon size relative to button */
    line-height: 1;   /* Helps with precise centering */
}

/* Hover effect */
.close-modal:hover {
    background-color: #c0392b; /* Darken red on hover */
    transform: scale(1.05);   /* Slightly enlarge on hover */
}
.close-modal:active {
    transform: scale(0.98); /* Slightly shrink on click */
}

.modal-content {
    color: #333;
    /* Add padding inside the content area */
    padding: 60px 50px 30px 60px; /* More top padding to clear close btn, then R, B, L */
    box-sizing: border-box; /* Include padding in element's total width/height */
    /* Optional: Limit text width for readability on wide screens */
    
}

/* Keep existing styles for h2, h3, p, ul, ol within modal-content */
.modal-content h2 {
    color: var(--dark);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8em;
    text-align: center;
}

.modal-content h3 {
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
    
}

.modal-content p,
.modal-content ul,
.modal-content ol {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.9em; /* Slightly larger base font in modal? Adjust if needed */
}

.modal-content ul,
.modal-content ol {
    padding-left: 25px;
}

 .modal-content li {
    margin-bottom: 5px;
}
/* --- END: Modal Styles --- */

/* Ensure body scrolling is still prevented */
body.modal-open {
    overflow: hidden;
}
/* --- END: Modal Styles --- */
/* ============================================= *//* ============================================= */
/* == Size Converter Page Styles ADDITION == */
/* (Add this block to the END of your existing style.css) */
/* ============================================= */

/* Styles for the MAIN Men/Women/Kids tabs */
.page-tabs-container {
    background-color: #fff;
    padding: 20px 30px 0 30px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 0;
    border-bottom: 1px solid #dee2e6; /* Keep the main grey line */
    position: sticky;
    top: 85px; /* Adjust based on YOUR header height! */
    background-color: #fff; /* Background needed for sticky */
    z-index: 99; /* Below main header */
}
.page-tabs {
    display: flex;
    justify-content: center;
    gap: 10px; /* Use modern gap instead of margins */
    position: relative;
    overflow-x: auto; /* Allow horizontal scrolling if needed */
}
/* Ensure specificity for tab buttons on this page if .tab-btn is used elsewhere */
.page-tabs .tab-btn {
    text-align: center;
    padding: 12px 25px;
    /* Remove flex:1 and min-width */
    width: auto; /* Let buttons size naturally */
    flex-shrink: 0; /* Prevent shrinking */
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2em;
    color: #6c757d;
    margin: 0 15px; /* Adjust spacing between tabs */
    position: relative;
    transition: color 0.3s;
}
.page-tabs .tab-btn:hover {
    color: #495057;
}
.page-tabs .tab-btn.active {
    color: var(--dark, #041220);
     /* Active tab above container border */
}
/* NEW ::after pseudo-element for the active line */
.page-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Position it to overlap the container's border */
    left: 50%;
    transform: translateX(-50%);      /* Start at the left edge of the button */
    width: 60%;   /* Span the full width of the button */
    height: 3px;    /* Thickness of the line */
    background-color: var(--secondary, #e91b04); /* The active color */
    z-index: 3; /* Ensure it's above the container border */
}
/* Styles for the content area of each tab */
.tab-chart-content {
    display: none; /* Hide by default */
    background-color: #fff;
    padding: 30px 30px 40px 30px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    border: 1px solid #dee2e6;
    border-top: none; /* Connects visually to tabs container */
}
.tab-chart-content.active {
    display: block; /* Show active */
}

/* Titles and Intros within Tabs */
.tab-chart-content h2 {
    text-align: center;
    font-size: 1.8em;
    color: var(--dark, #041220);
    margin-top: 0;
    margin-bottom: 15px;
}
.tab-chart-content .chart-intro {
    text-align: left;
    margin: 0 auto 25px auto;
    font-size: 1em;
    color: #555;
    line-height: 1.6;
}

/* Container for each individual chart within a tab */
.size-chart-sub-container {
    margin-bottom: 40px;
}
.size-chart-sub-container:last-of-type {
    margin-bottom: 0;
}

/* Header for each specific size chart (e.g., "Size chart" + toggle) */
.size-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 25px;
}
/* Use more specific selector for h3 inside size chart header */
.size-chart-header h3 {
    margin: 0 15px 0 0;
    font-size: 1.5em;
    color: var(--dark, #041220);
    font-weight: 600;
    border-bottom: none; /* Override general h3 border if needed */
    padding-bottom: 0; /* Override general h3 padding if needed */
}
.size-chart-header h3::after { /* Remove general ::after from section titles if they interfere */
    display: none;
}


/* Unit Toggle (in/cm) */
.unit-toggle {
    display: inline-flex;
    background-color: #e9ecef;
    border-radius: 20px;
    padding: 4px;
    border: 1px solid #dee2e6;
    margin-top: 5px;
}
.unit-toggle .unit-btn { /* Targeting buttons within unit-toggle */
    background-color: transparent;
    border: none;
    padding: 5px 15px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.9em;
}
.unit-toggle .unit-btn.active {
    background-color: #fff;
    color: var(--dark, #041220);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.unit-toggle .unit-btn:not(.active):hover {
    color: #495057;
}

/* Horizontal Scroll Table Styles */
.scroll-instruction { margin-bottom: 25px; color: #666; font-size: 0.95em; }
.size-chart-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-chart-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: max-content; text-align: center; white-space: nowrap; font-size: 0.9em; border: 1px solid #ebebeb; }

/* All table cells - basic borders */
.size-chart-table th,
.size-chart-table td {
    border-bottom: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
    padding: 10px 12px;
    vertical-align: middle;
    min-width: 60px;
}
/* Remove redundant inner borders */
.size-chart-table td { border-left: none; border-top: none; }
.size-chart-table thead th { border-left: none; border-top: none; }
.size-chart-table tbody th[scope="row"] { border-left: none; border-top: none; }
/* Remove border from last cells */
.size-chart-table th:last-child,
.size-chart-table td:last-child { border-right: none; }
.size-chart-table tbody tr:last-child th[scope="row"],
.size-chart-table tbody tr:last-child td { border-bottom: none; }

/* Header Row Cells (Sizes: 3.5, 4 etc.) - NOT STICKY + HIDDEN */
.size-chart-table thead th {
    background-color: #f9f9f9; font-weight: 600; color: #555;
    position: relative; /* Not sticky */
    z-index: 1;
    border-bottom: 1px solid #ebebeb; /* Keep bottom border */
    /* Visual hiding styles */
    padding: 0 !important; height: 0 !important; line-height: 0 !important; font-size: 0 !important;
    border-right: 1px solid #ebebeb; /* Keep right border */
}
.size-chart-table thead tr { height: 0; }

/* First Column Row Headers (Labels: US Men's etc.) - STICKY */
.size-chart-table tbody th[scope="row"] {
    background-color: #f9f9f9; /* <<< SOLID OPAQUE BACKGROUND >>> */
    font-weight: 600; text-align: left; padding-left: 15px;
    position: sticky; left: 0; z-index: 5; /* Above data cells */
    min-width: 140px;
    border-right: 1px solid #ebebeb; /* Keep right border visible */
}

/* Data cells */
.size-chart-table td {
    position: relative; /* Helps with z-index */
    z-index: 1;         /* Below sticky column */
    background-color: #fff; /* Default white background */
}

/* Alternating row colors for DATA cells */
.size-chart-table tbody tr:nth-child(even) td { background-color: #fdfdfd; }
/* Ensure sticky first column background overrides alternating color */
 .size-chart-table tbody tr:nth-child(even) th[scope="row"] { background-color: #f9f9f9; } /* Re-apply solid background */


/* Kids specific styles */
.kids-sub-chart h3 { /* Sub-headings within kids tab */
    font-size: 1.4em;
    border-bottom: none;
    padding-bottom: 0;
}
.kids-sub-chart h3::after { display: none; }

.kids-measure-visual { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.kids-measure-visual h4 { font-size: 1.3em; color: var(--dark, #041220); margin-bottom: 15px; }
.kids-measure-visual img { max-width: 100%; height: auto; margin-top: 15px; border: 1px solid #eee; display: block;}
.kids-measure-visual ol { list-style: decimal; padding-left: 20px; margin-top: 15px; font-size: 0.95em; line-height: 1.6; color: #444; }
.kids-measure-visual p { margin-top: 10px; font-size: 0.95em; line-height: 1.6; color: #444; }

/* How to Measure Styles (General) */
/* Add these only if you don't have similar general styles */
.measure-guide { background-color: #f8f9fa; padding: 30px 40px; border-radius: 8px; border: 1px solid #eee; margin-bottom: 50px; }
.measure-guide h3 {  margin-top: 0; margin-bottom: 20px; color: var(--dark, #041220); font-size: 1.6em; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.measure-guide ol { padding-left: 25px; margin: 0; }
.measure-guide li { margin-bottom: 12px; line-height: 1.7; color: #444; }
.measure-guide li strong { color: var(--secondary, #e91b04); font-weight: 600; }
.measure-guide img { max-width: 100%; height: auto; display: block; border-radius: 5px; margin-top: 10px; align-self: center; }

/* Fit Tips Styles */
/* Add these only if you don't have similar general styles */
.fit-tips { background-color: #f8f9fa; padding: 30px 40px; border-radius: 8px; border: 1px solid #eee; margin-top: 30px; margin-bottom: 60px; }
.fit-tips h3 { margin-top: 0; margin-bottom: 20px; color: var(--dark, #041220); font-size: 1.6em; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.fit-tips ul { list-style: none; padding-left: 0; margin: 0; }
.fit-tips li { margin-bottom: 15px; padding-left: 25px; position: relative; color: #444; line-height: 1.6; }
.fit-tips li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--secondary, #e91b04); font-size: 0.9em; }

/* ============================================= */
/* == End Size Converter Page Styles Addition == */
/* ============================================= */    
/* ============================================= */
/* == Dealer Finder Page Styles (2-Column Map/List) == */
/* ============================================= */

.dealer-page-layout {
    display: grid;
    /* Define two columns, e.g., map takes slightly more space */
    grid-template-columns: 1.2fr 1fr; /* Adjust ratio as needed */
    gap: 40px; /* Gap between map and list */
    align-items: flex-start; /* Align tops */
    padding: 30px 0; /* Add some vertical padding */
}

.dealer-map-column .section-title {
    margin-top: 0; /* Remove top margin from title above map */
    margin-bottom: 20px;
    text-align: left;
}
.dealer-map-column .section-title h2::after {
     left: 0; /* Align underline left */
     transform: none;
}

.map-container-dealer {
    width: 100%;
    height: 600px; /* Default map height */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}
.map-container-dealer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.dealer-list-column {
    background-color: #fff; /* White background for list */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    height: 644px; /* Match map height + title approx */
    display: flex;
    flex-direction: column; /* Stack header, content, button */
}

.dealer-list-header {
    background-color: #C8102E; /* Red header */
    color: white;
    padding: 15px 25px;
    font-size: 1.3em;
    font-weight: 600;
    text-align: center;
    border-radius: 8px 8px 0 0; /* Round top corners */
}

.dealer-list-content {
    padding: 10px 25px 25px 25px; /* Padding inside list */
    overflow-y: auto; /* Enable vertical scroll for the list */
    flex-grow: 1; /* Allow content to take available space */
}

.dealer-location-group {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}
.dealer-location-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dealer-location-group h4 {
    font-size: 1.2em;
    color: var(--dark, #041220);
    margin-bottom: 12px;
    font-weight: 600;
}

.dealer-entry {
    margin-bottom: 15px; /* Space between entries in same group */
    font-size: 0.95em;
    line-height: 1.5;
    color: #444;
}
.dealer-entry:last-child {
    margin-bottom: 0;
}

.dealer-name {
    font-weight: 500;
    margin-bottom: 3px;
}
.dealer-phone {
    margin-bottom: 5px;
    color: #666;
    font-size: 0.9em;
}
.dealer-map-link a {
    color: var(--accent, #3498db); /* Blue link */
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}
.dealer-map-link a:hover {
    color: var(--dark);
    text-decoration: underline;
}
.dealer-map-link i {
    margin-right: 5px;
}

.dealer-apply-button {
    background-color: #00338D; /* Blue button */
    padding: 15px 25px;
    text-align: center;
    border-radius: 0 0 8px 8px; /* Round bottom corners */
    margin-top: auto; /* Push button to bottom */
}
.dealer-apply-button a.btn {
    background-color: transparent; /* Remove default button bg */
    padding: 0; /* Remove default button padding */
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    display: block; /* Make link fill area */
    transition: color 0.3s ease;
}
.dealer-apply-button a.btn:hover {
     /* No background change, maybe slight color change? */
     /* color: #eee; */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .dealer-page-layout {
        grid-template-columns: 1fr; /* Stack columns */
    }
    .dealer-map-column .section-title {
        text-align: center; /* Center map title */
    }
     .dealer-map-column .section-title h2::after {
         left: 50%; /* Center underline */
         transform: translateX(-50%);
     }
    .dealer-list-column {
        height: auto; /* Allow height to adjust */
        max-height: 60vh; /* Limit height with scroll */
    }
    .map-container-dealer {
        height: 400px; /* Reduce map height */
    }
}

/* ============================================= */
/* == End Dealer Finder Page Styles == */
/* ============================================= */
main { padding-top: 40px; padding-bottom: 60px; }
.blog-post-content {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 40px; /* Space before footer */
    max-width: 800px; /* Limit content width for readability */
    margin-left: auto;
    margin-right: auto;
}
.blog-post-content .post-title {
    font-size: 2.2em; /* Larger title */
    color: var(--dark, #041220);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}
.blog-post-content .post-meta {
    text-align: center;
    font-size: 0.9em;
    color: #777;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
/* Style headings within the post */
.blog-post-content h3 {
    font-size: 1.6em;
    color: var(--dark, #041220);
    margin-top: 40px; /* Space above headings */
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary, #e91b04); /* Accent border */
    display: inline-block; /* Make border fit content */
}
.blog-post-content h4 { /* Sub-headings like Roofop Collection */
     font-size: 1.3em;
     color: var(--dark);
     margin-top: 25px;
     margin-bottom: 10px;
     font-weight: 600;
}
.blog-post-content p {
    margin-bottom: 1.2em;
    color: #444; /* Slightly darker text */
}
.blog-post-content ul {
    list-style: disc; /* Use standard bullets */
    margin-left: 25px; /* Indent list */
    margin-bottom: 1.2em;
    padding-left: 15px; /* Add padding for bullets */
}
 .blog-post-content ol {
     list-style: decimal; /* Use standard numbers */
     margin-left: 25px; /* Indent list */
     margin-bottom: 1.2em;
     padding-left: 15px; /* Add padding for numbers */
 }
.blog-post-content li {
    margin-bottom: 0.8em;
    color: #444;
}
 .blog-post-content strong { /* Highlight strong text */
     font-weight: 600;
     color: var(--dark);
 }
 .blog-post-content .impact-highlight ul {
     list-style: none;
     padding-left: 0;
 }
 .blog-post-content .impact-highlight li {
     padding-left: 30px; /* Space for icon */
     position: relative;
     font-size: 1.1em; /* Slightly larger impact points */
     font-weight: 500;
 }
  .blog-post-content .impact-highlight li::before {
      content: '\f043'; /* FontAwesome Droplet icon */
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      position: absolute;
      left: 0;
      top: 2px;
      color: var(--accent, #3498db); /* Blue accent */
      font-size: 1em;
  }
.blog-post-content hr { /* Style dividers */
    border: none;
    height: 1px;
    background-color: #eee;
    margin: 40px 0;
}
.blog-post-content .call-to-action {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #eee;
}
.blog-post-content .keywords {
    font-size: 0.85em;
    color: #888;
    margin-top: 30px;
    font-style: italic;
}
/* Add to style.css */

/* ============================================= */
/* == Products Page Filter Styles == */
/* ============================================= */

.product-filters {
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Gap between filter groups */
    align-items: center; /* Vertically align labels and tabs */
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px; /* Gap between label and tabs */
}

.filter-label {
    font-weight: 600;
    color: #555;
    font-size: 1em;
    margin-bottom: 0; /* Remove bottom margin */
}

/* Use existing .category-tabs styles */
.category-tabs, .material-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Small gap between buttons */
    border-bottom: none; /* Remove border from original .category-tabs */
    padding-bottom: 0; /* Remove padding from original .category-tabs */
    margin-bottom: 0; /* Remove margin from original .category-tabs */
}

/* Adjust general .tab-btn if needed, or use specific classes */
.product-filters .tab-btn { /* Target ONLY buttons within filters */
    padding: 8px 18px; /* Slightly smaller padding */
    border: 1px solid #ccc; /* Add border */
    border-radius: 20px; /* Pill shape */
    font-size: 0.9em;
    font-weight: 500;
    color: #555;
    background-color: #fff;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    /* Remove ::after element if it exists on general .tab-btn */
    position: relative; /* Reset */
}
.product-filters .tab-btn::after {
     display: none !important; /* Hide any existing ::after */
 }

.product-filters .tab-btn.active {
    background-color: var(--secondary, #e91b04); /* Active background */
    color: white; /* Active text color */
    border-color: var(--secondary, #e91b04); /* Active border color */
}
.product-filters .tab-btn:hover:not(.active) {
    background-color: #f0f0f0; /* Hover background */
    border-color: #bbb;
}

/* ============================================= */
/* ============================================= */
/* == Large Background Brand Text Effect == */
/* ============================================= */

.large-background-brand-text {
    position: fixed; /* Sticks to the viewport as you scroll */
    bottom: 0px;     /* Position it near the bottom. Adjust as desired. Can be negative to be partially off-screen */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    font-size: 20vw; /* Responsive font size based on viewport width. Adjust! */
    /* Or a very large fixed size: font-size: 250px; */
    font-weight: 800; /* Bold or Extra-Bold */
    color: rgba(255, 255, 255, 0.03); /* Very transparent white for dark backgrounds */
    /* If your site has a light background, use a dark transparent color:
       color: rgba(0, 0, 0, 0.03);
    */
    z-index: -1; /* Try to place it BEHIND most content. May need adjustment. */
                 /* If your footer has a solid background, this might hide it.
                    If so, you might need a higher z-index and position it carefully,
                    or make it part of the footer itself with careful overflow handling. */
    pointer-events: none; /* So it doesn't interfere with clicks on content above it */
    text-transform: uppercase; /* To match "UTSAV" if desired */
    white-space: nowrap; /* Prevent wrapping if text is long or font size is huge */
    line-height: 1; /* Prevent excessive line height from pushing things around */
    opacity: 0.5; /* Start with a slightly higher opacity for visibility, then reduce */
    transition: opacity 0.5s ease-in-out; /* For any potential fade effects */

    /* Optional: To make it appear more as you scroll to the bottom */
    /* You might need JavaScript for more complex scroll-triggered animations, */
    /* but this is a CSS-only approach for a static or fixed display. */
}

/* Adjust for your footer background color */
/* If your footer has a solid, dark background (like var(--dark)),
   and you want the text to appear OVER it but behind other page content,
   you might need to adjust z-index carefully or make it part of the footer.
   For now, let's assume it's a general background effect.
*/

/* Responsive adjustments for the font size if using fixed px */
@media (max-width: 1200px) {
    .large-background-brand-text {
        /* font-size: 200px; /* If using fixed size */
        font-size: 18vw;
    }
}

@media (max-width: 768px) {
    .large-background-brand-text {
        /* font-size: 150px; /* If using fixed size */
        font-size: 22vw; /* Might need to be larger on smaller screens if you want it to fill width */
        bottom: -20px; /* Adjust positioning */
    }
}

@media (max-width: 480px) {
    .large-background-brand-text {
        /* font-size: 100px; /* If using fixed size */
        font-size: 25vw;
        bottom: -30px; /* Adjust positioning */
    }
}