/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@300;400;500;600;700&family=Aleo:wght@300;400;700&display=swap');

/* Font Face for Kugile */
/* Font Face for Kugile Removed */

:root {
    /* Color Palette */
    --primary-color: #1A1A4D;
    /* Deep Red */
    --primary-dark: #0f0f2e;
    /* Darker Red for hover */
    --secondary-color: #1a1a4d;
    /* Navy Blue */
    --accent-color: #D4AF37;
    /* Metallic Gold */
    --text-color: #333333;
    --text-light: #f4f4f4;
    --bg-light: #F9F9F5;
    /* Cream/Beige */
    --bg-white: #ffffff;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;

    /* Transitions */
    --transition: all 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Albert Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Aleo', serif;
    color: #1a1a4d;
    margin-bottom: 20px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
}

.text-red {
    color: var(--primary-color);
}

.text-gold {
    color: var(--accent-color);
}

/* Header */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    transition: var(--transition);
    /* Override any previous margin classes if needed, or keep them */
    margin-left: 5px !important;
}

.top-social a:hover,
.top-social a:active {
    background-color: white;
    color: var(--primary-color);
}

.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align if needed, or remove for left align */
}

.brand-logo img {
    height: 60px;
    /* Adjust as necessary */
    width: auto;
    object-fit: contain;
}

/* Original text styles kept just in case, or can be removed if strictly replacing */
.brand-name {
    display: none;
    /* Hide text brand name */
}

.brand-tagline {
    display: none;
    /* Hide tagline */
}


.nav-links {
    display: flex;
    gap: 30px;
}

/* Nav Links Styles */
.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
    font-family: 'Outfit', sans-serif;
    padding: 10px 0;
    /* Vertical spacing only */
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Fix for Call Now button text color in navbar */
.nav-links a.btn {
    color: var(--bg-white);
    padding: 12px 30px;
    /* Ensure button padding is maintained */
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #111122;
    color: var(--text-light);
    padding-top: 80px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    display: block;
    filter: brightness(0) invert(1);
    /* Makes the logo white */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-col h3 {
    color: var(--bg-white);
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cccccc;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #cccccc;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #888;
}

.footer-bottom em {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-weight: 600;
    font-style: italic;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

/* Floating Buttons */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    opacity: 1;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    height: auto;
    min-height: 85vh;
    overflow: hidden;

    /* Layout & Spacing */
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

/* Dark overlay to ensure text readability */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 40px;
}

.slider-next {
    right: 40px;
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .slider-prev {
        left: 15px;
    }

    .slider-next {
        right: 15px;
    }
}

.hero .container {
    position: relative;
    z-index: 3;
    /* Above slider */
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    padding-top: 0;
    /* Removed padding as content is gone */
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 40vh;
        min-height: 250px;
    }
}

/* Ensure slider still fills */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero Content Section */
.hero-content-section {
    padding: 80px 0;
    background-color: var(--bg-white);
    text-align: center;
}

@media (max-width: 768px) {
    .hero-content-section {
        padding: 20px 0;
    }

    .hero-slider-section {
        background-color: #ffffff;
        margin-bottom: 0;
    }
}

.hero-content-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #1a1a4d;
    letter-spacing: 2px;
}

.hero-content-section h1 span {
    color: #1A1A4D;
}

.hero-content-section p {
    color: #333333;
}

.hero-content-section .lead-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-content-section .sub-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* Hero Benefits Styling */
.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    font-size: 1.1rem;
    font-weight: 500;
    background-color: #1a1a4d !important;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.benefit-item i {
    color: var(--accent-color) !important;
}

@media (max-width: 768px) {
    .hero-benefits {
        gap: 15px;
    }

    .benefit-item {
        font-size: 0.95rem;
        padding: 10px 15px;
        background-color: #1a1a4d !important;
        /* Force color match */
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons .btn-secondary {
    /* Make secondary button visible on white bg */
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Page Header & Hero Title Fix */
.page-hero h1,
.page-header h1,
.hero h1 {
    color: #ffffff !important;
    font-size: 3.5rem;
    /* Ensure size consistency if needed, strictly it was 3.5rem in .hero h1 but this group selector overrides. keeping existing properties minus bg */
    /* background-color: var(--primary-color); REMOVED */
    /* display: inline; REMOVED */
    /* padding: 10px 25px; REMOVED or Adjusted? Padding might look weird without BG. Let's remove it. */
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-hero h1 span,
.page-header h1 span,
.hero h1 span {
    color: #ffffff !important;
}

.page-hero p,
.page-header p,
.hero p {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    /* Increased weight for readability */
}

/* Service Page Grid Layout */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-row {
    display: flex;
    flex-direction: row;
    /* Content Left, Image Right */
    align-items: center;
    /* Center vertically */
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 0;
}

.service-content {
    padding: 40px;
    flex: 1;
}

.service-image {
    flex: 0 0 45%;
    /* Image takes 45% width */
    height: 100%;
    min-height: 400px;
    /* Ensure substantial height */
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.service-row:hover .service-image img {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .product-card {
        flex: 0 0 100%;
        /* 1 column on mobile */
    }
}

/* Woven Section new look */
.woven-section {
    padding: 80px 0;
    background: url('../images/woven_cloth_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect for premium feel */
}

.woven-layout {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
    /* Center the boxes */
}

.woven-col {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.95);
    /* Bright box */
    padding: 40px;
    border: 1px solid #e0e0e0;
    /* Light border */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: transform 0.3s ease;
}

.woven-col:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.subsection-title {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.fabric-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fabric-pills span,
.fabric-tags span {
    background: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    color: #555;
    transition: all 0.3s ease;
}

.fabric-pills span:hover,
.fabric-tags span:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(196, 30, 58, 0.2);
    border-color: var(--primary-color);
}

.category-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.category-list li {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    color: #444;
}

.category-list li i {
    margin-right: 12px;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-color);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Manufacturing Capabilities */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns for 6 items (2 rows) */
    gap: 30px;
}

.capability-card {
    background: rgba(255, 255, 255, 0.05);
    /* Slightly brighter background */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
    /* Center text for better balance */
}

.capability-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: #fff;
    /* White border on hover */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.capability-card h4 {
    color: var(--accent-color);
    /* Bright white for explicit brightness */
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* better readability */
}

.capability-card p {
    color: #f0f0f0;
    /* Very bright grey/white */
    font-size: 1.05rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

/* Fabric Expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.expertise-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #eee;
    /* Light border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    /* Soft shadow */
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.fabric-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.fabric-tags span {
    padding: 4px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    /* More square for tags */
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.mb-15 {
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .service-row {
        flex-direction: column-reverse;
        /* Stack on mobile, Image on top */
    }

    .service-image {
        flex: auto;
        width: 100%;
        min-height: 250px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .top-bar {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .lead-text {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .hero .sub-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin-right: 0 !important;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 10px;
    }

    .hero,
    .page-hero {
        display: block;
        min-height: auto;
        padding-top: 0;
        /* Slider is effectively top */
        padding-bottom: 40px;
        text-align: center;
        background-color: var(--bg-light);
        /* Ensure background is light for dark text */
    }

    .hero-slider {
        position: relative;
        width: 100%;
        height: 60vw;
        /* Landscape aspect ratio */
        margin-top: 0;
    }

    .slider-overlay {
        display: none;
    }

    .hero .container {
        margin-top: -30px;
        /* Pull up to overlap slightly or just distinct spacing */
        position: relative;
        z-index: 5;
        background: transparent !important;
        /* Remove background */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0;
        box-shadow: none !important;
        /* Remove shadow */
        border: none !important;
        padding: 40px 25px;
        margin-left: 15px;
        margin-right: 15px;
        /* Ensure it fits within viewport with margins */
        width: auto;
    }

    .page-hero .container {
        margin-top: 30px !important;
        /* Start AFTER banner for inner pages with gap */
        position: relative;
        z-index: 5;
        background: transparent !important;
        /* Remove background */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-radius: 0;
        box-shadow: none !important;
        /* Remove shadow */
        border: none !important;
        padding: 40px 25px;
        margin-left: 15px;
        margin-right: 15px;
        /* Ensure it fits within viewport with margins */
        width: auto;
    }

    .page-hero h1,
    .page-header h1,
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        color: var(--primary-color) !important;
        /* Ensure red on mobile */
        text-shadow: none;
        font-weight: 800;
        /* Extra bold */
    }

    .page-hero h1 span,
    .page-header h1 span,
    .hero h1 span {
        color: var(--primary-color) !important;
        font-weight: 800;
    }

    .page-hero p,
    .page-header p,
    .hero p {
        color: #333333 !important;
        text-shadow: none;
        font-weight: 500;
        /* Increased weight for readability */
    }

    /* Specific target for the lead text on home page mobile */
    .hero .lead-text {
        font-size: 1.1rem;
        /* Slightly larger */
        margin-bottom: 20px;
        color: var(--primary-color) !important;
        /* Make Red */
        font-weight: 700 !important;
        /* Make Bold */
    }

    .hero .sub-text {
        display: block;
        /* Show if it was hidden */
        font-size: 0.95rem;
        margin-bottom: 30px;
        color: #666;
    }

    /* New styles for standardized inner page heroes on mobile */
    .hero-bg-image {
        position: relative;
        width: 100%;
        height: 60vw;
        /* Landscape aspect ratio like home slider */
        margin-top: 0;
        background-size: cover;
        background-position: center;
    }

    .page-hero {
        padding-top: 0 !important;
        /* Remove desktop padding */
        padding-bottom: 40px !important;
        /* Space below text */
        min-height: auto !important;
        display: block !important;
        /* Stack block instead of flex/center */
        text-align: center;
        background-image: none !important;
        /* Remove inline bg if any remains on parent */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Ensure secondary button is visible on white bg */
    .hero .btn-secondary {
        border-color: var(--secondary-color);
        color: var(--secondary-color);
    }

    .hero .btn-secondary:hover {
        background-color: var(--secondary-color);
        color: white;
    }

    /* Hero Benefits Styles Mobile Overrides */
    .hero-benefits {
        display: flex !important;
        /* Force display if hidden */
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .benefit-item {
        background: rgba(0, 0, 0, 0.6) !important;
        color: white !important;
        width: 100%;
        padding: 12px 25px;
        border-radius: 50px;
        /* Pill shape */
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        box-shadow: var(--shadow-sm);
    }

    .benefit-item i,
    .benefit-item .text-red {
        color: var(--primary-color) !important;
        /* Restore red icons */
    }

    .hero-buttons .btn {
        padding: 12px 20px;
        font-size: 1rem;
        max-width: 100%;
        width: 100%;
    }

    .slide {
        background-size: cover;
    }
}

/* Hero Benefits Styles (Default/Desktop) */
.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-item {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.95rem;
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.8);
}

/* Value Cards Animation (About Page) */
.value-card {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.value-card i {
    font-size: 40px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    display: inline-block;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(196, 30, 58, 0.1);
}

.value-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-dark);
}

/* Split Section Layout (Text + Image) */
.split-section {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.split-content {
    flex: 1;
    min-width: 300px;
    /* Default desktop minimum */
}

.split-image {
    flex: 1;
    min-width: 300px;
}

@media (max-width: 768px) {
    .split-section {
        flex-direction: column;
        gap: 30px;
    }

    .split-content,
    .split-image {
        min-width: 100%;
        /* Full width on mobile to prevent overflow */
        flex: auto;
    }
}

/* Restoring broken selector */
.value-card h4 {
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

/* Product Page Grid */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.product-card {
    background: white;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 10px;
    flex: 0 0 calc(33.333% - 20px);
    /* 3 columns by default */
    min-width: 300px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(196, 30, 58, 0.1);
}

.product-card h3 {
    position: relative;
    padding-bottom: 10px;
}

.product-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.product-card:hover h3::after {
    width: 80px;
}

@media (max-width: 992px) {
    .product-card {
        flex: 0 0 calc(50% - 20px);
        /* 2 columns on tablet */
    }
}

@media (max-width: 600px) {
    .product-card {
        flex: 0 0 100%;
        /* 1 column on mobile */
    }
}

.value-card:hover h4 {
    color: var(--primary-color);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value-card {
    flex: 0 1 calc(33.333% - 20px);
    /* 3 items per row minus gap approximation */
    min-width: 280px;
    /* Prevent getting too squished */
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

/* Index Page Styles */
.hero-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 40px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
}

.why-choose {
    padding: 80px 0;
}

.why-subheader {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.advantage-list {
    list-style: none;
}

.advantage-list li {
    margin-bottom: 15px;
}

.advantage-list i {
    margin-right: 10px;
}

.texture-image {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.services-glance {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

@media (max-width: 992px) {
    .services-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid-home {
        grid-template-columns: 1fr;
    }
}

.service-card-home {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card-home:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card-home i {
    font-size: 40px;
    margin-bottom: 20px;
}

.who-serve {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: white;
}

.who-serve-header h2 {
    color: white !important;
    border-bottom-color: white !important;
}

.who-serve-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.who-serve-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.who-serve-icons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.serve-icon-item {
    text-align: center;
}

.serve-icon-item i {
    font-size: 30px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.serve-icon-item p {
    color: #ccc;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* Footer Styles */
.footer-about h3 {
    color: var(--primary-color);
}

.footer-about p {
    color: #ccc;
    margin-bottom: 20px;
}

.social-links-circle {
    display: flex;
    gap: 15px;
}

.social-links-circle a {
    background: var(--primary-color);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    transition: var(--transition);
}

.social-links-circle a:hover,
.social-links-circle a:active {
    background: white;
    color: var(--primary-color);
}

/* About Page Styles */
/* About Page Styles */
.page-hero {
    /* Background removed for slider support */
    position: relative;
    overflow: hidden;
    /* Increased height to match home slider */
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Background properties moved to .hero-bg-image but kept defaults if needed */
    padding: 100px 0;
    text-align: center;
    color: white;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 3;
}

.our-story {
    padding: 80px 0;
}

.leadership {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.leader-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.leader-image-container {
    flex-shrink: 0;
}

.leader-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.leader-info {
    flex: 1;
    min-width: 300px;
}

.leader-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.leader-role {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.vision-mission {
    padding: 80px 0;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.vision-card {
    background: var(--secondary-color);
    color: white;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.mission-card {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.card-bg-icon {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.05);
    /* Vision opacity */
}

.card-bg-icon-mission {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.1);
    /* Mission opacity */
}

.card-title {
    color: white;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.card-title-mission {
    color: white;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.text-left {
    text-align: left;
}

.mb-30 {
    margin-bottom: 30px;
}

.text-lg {
    font-size: 1.1rem;
}

.text-primary {
    color: var(--primary-color);
}

/* Services Page Styles */
.services-intro {
    padding: 60px 0;
    text-align: center;
}

.services-list {
    padding-bottom: 80px;
}

.service-title {
    background: var(--bg-light);
    padding: 15px;
    border-left: 5px solid var(--primary-color);
    display: inline-block;
    margin-bottom: 20px;
}

.service-subtitle {
    color: #666;
    margin-bottom: 15px;
}

.check-list {
    list-style: none;
}

.service-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-check-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.service-callout {
    margin-top: 20px;
    font-weight: bold;
    color: var(--secondary-color);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quality-step {
    background: #fdfdfd;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #eee;
}


/* Service 7 Specific Style */
.service-row.print-service {
    background: #f0f4f8;
    /* Light blue-grey to distinguish */
    border: 1px solid #d1d9e6;
}

.service-row.print-service .service-title {
    background: white;
}

.sets-apart {
    padding: 80px 0;
    background-color: #1a1a4d;
    /* Hardcoded Navy Blue to ensure contrast */
    color: #ffffff;
}

.sets-apart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.sets-apart-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    /* Increased opacity */
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.sets-apart-item strong {
    color: var(--accent-color);
}

/* Quality Page Styles */
.quality-intro {
    padding: 60px 0;
    text-align: center;
}

.quality-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 20px auto;
}

.qc-steps {
    padding: 60px 0 80px;
}

.qc-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.qc-timeline-line {
    border-left: 2px solid var(--primary-color);
    padding-left: 30px;
    margin-left: 20px;
}

.qc-step {
    margin-bottom: 50px;
    position: relative;
}

.qc-dot {
    position: absolute;
    left: -41px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
}

.tqm-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin-top: 60px;
    text-align: center;
}

.qa-extra {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: white;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.qa-section-title {
    color: white;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.certifications {
    padding: 80px 0;
}

.cert-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cert-item {
    text-align: center;
}

.cert-icon {
    font-size: 50px;
    margin-bottom: 10px;
}

.quality-promise {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.promise-title {
    position: relative;
    display: inline-block;
}

.promise-subtitle {
    color: var(--secondary-color);
    margin-top: 10px;
    font-style: italic;
}

/* Contact Page Styles */
.contact-info {
    padding: 80px 0;
}

.contact-grid {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.info-col,
.form-col {
    flex: 1;
    min-width: 300px;
}

.contact-detail {
    margin-bottom: 30px;
}

.contact-detail h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.business-hours {
    background: var(--bg-light);
    padding: 20px;
    border-left: 4px solid var(--accent-color);
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.extra-info {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-subheading {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.process-list {
    list-style: none;
}

.process-step {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.tiruppur-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.connect-box {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--secondary-color);
    color: white;
    border-radius: 10px;
}

.connect-box h3 {
    color: white;
}

/* Products Page Styles */
.products-section {
    padding: 80px 0;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.fabric-expertise {
    padding: 80px 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.expertise-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent-color);
}

.fabric-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.fabric-tags span {
    background: var(--bg-light);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.capabilities {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: white;
}

.capabilities-header-text,
.capabilities .section-header h2 {
    color: white !important;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 15px;
}

.capabilities .section-header h2::after {
    background-color: white !important;
}

.network-summary {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* Utilities */
.me-10 {
    margin-right: 10px;
}

.mt-80 {
    margin-top: 80px;
}

.text-white {
    color: white;
}

.sets-apart-title,
.sets-apart .section-header h2 {
    color: white !important;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.map-iframe {
    border: 0;
}

/* Compliance Logo Marquee */
.logo-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
    /* Optional: Fade edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee {
    display: flex;
    width: max-content;
    /* Speed: 40s for smooth slow scroll */
    animation: marquee-scroll 40s linear 1 forwards;
    align-items: center;
}

.logo-marquee img {
    height: 160px;
    width: auto;
    margin: 0 80px;
    object-fit: contain;
    /* Full color requested */
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.logo-marquee img:hover {
    transform: scale(1.1);
}

.logo-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-marquee img {
        height: 140px;
        margin: 0 40px;
    }
}

/* Product Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    background: #fff;
    aspect-ratio: 1 / 1;
    /* Square images */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive Gallery */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.product-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f0f0f0;
}

.qa-extra {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/testingbg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    color: #1a1a1a;
}

.qa-extra h3,
.qa-extra strong {
    color: #000;
}

.certifications {
    background: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
}