/* =========================================================================
   TRITY PIPES - PREMIUM FRONTEND STYLES (FINAL BOSS-READY VERSION)
   ========================================================================= */
:root {
    --primary-color: #0e2036;
    --secondary-color: #1a3a60;
    --accent-color: #ff9800;
    --accent-hover: #e68a00;
    --bg-light: #f8f9fa;
    --text-color: #333333;
    --text-muted: #6c757d;
    --border-color: #eaeaea;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}
/* GLOBAL HEADINGS */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 500;
}
/* =========================================================================
   CONTRAST FIXES (Forces white text on dark backgrounds & sliders)
   ========================================================================= */
.hero-section h1, .hero-section h2, .hero-section p, 
.trust-badge-box h1, .trust-badge-box h2, .trust-badge-box p,
.hero-title, .hero-desc,
.hero-slider-section h1, .hero-slider-section h2, .hero-slider-section p,
.page-banner h1, .page-banner h2, .page-banner p,
.product-hero-banner h1, .product-hero-banner h2, .product-hero-banner p {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
}
.text-warning {
    color: var(--accent-color) !important;
}
a {
    transition: all 0.3s ease;
}
/* ================== TOPBAR ================== */
.topbar {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.3px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.topbar-info a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}
.topbar-info a:hover {
    color: var(--accent-color);
}
.topbar-info i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 14px;
}
.topbar-social a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 15px;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}
.topbar-social a:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}
/* ================== NAVBAR ================== */
.main-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: all 0.3s ease;
}
.navbar-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
}
.brand-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.5px;
}
.brand-tag {
    font-size: 11px;
    color: var(--accent-color);
    letter-spacing: 1.5px;
    font-weight: 600;
    text-transform: uppercase;
}
.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    background-color: var(--accent-color);
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    border-radius: 5px 5px 0 0;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 30%;
}
.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--accent-color) !important;
}
.nav-cta {
    background: var(--primary-color);
    color: #ffffff !important;
    border-radius: 50px;
    padding: 10px 24px !important;
    margin-left: 15px;
    border: 2px solid transparent;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--accent-color);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}
/* ================== HERO SLIDER ================== */
.hero-slider-section {
    height: calc(100vh - 120px);
    min-height: 550px;
    max-height: 800px;
    background-color: var(--primary-color);
}
.hero-carousel, .hero-inner, .hero-item {
    height: 100%;
}
.hero-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 32, 54, 0.85) 0%, rgba(14, 32, 54, 0.4) 100%);
}
.hero-content {
    z-index: 2;
}
.hero-badge {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-title {
    font-size: 48px;
    line-height: 1.3;
    letter-spacing: -1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    font-weight: 300;
}
.carousel-control-icon {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}
.carousel-control-icon:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
/* ================== PAGE BANNERS ================== */
.product-hero-banner, .page-banner {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color);
    border-bottom: 5px solid var(--accent-color);
}
/* ================== FEATURE STRIP ================== */
.feature-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    margin-top: -20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 20px 0;
}
.feature-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 152, 0, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    margin-right: 15px;
    transition: 0.3s;
}
.feature-icon-box:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(5deg) scale(1.05);
}
/* ================== ABOUT COMPONENT ================== */
.about-badge {
    border: 1px solid rgba(255, 152, 0, 0.3);
    background: rgba(255, 152, 0, 0.05) !important;
    color: #000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}
.about-title {
    font-size: 2.8rem;
    line-height: 1.2;
    letter-spacing: -1px;
}
.about-desc p, .editor-content p, .blog-desc, .about-more-content, .blog-content, .blog-content p, .rich-text-content p {
    text-align: justify;
    margin-bottom: .25rem !important; /* Forces spacing between paragraphs */
}
.about-desc p {
    color: #000;
}
.editor-content p:last-child, .rich-text-content p:last-child {
    margin-bottom: 0 !important; /* Remove bottom margin from last paragraph */
}
.about-img-bg {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%) !important;
    transform: translate(-15px, 15px);
    z-index: 0;
}
.about-img-wrap {
    z-index: 1;
    border: none !important;
    border-radius: 16px !important;
}
.about-img-placeholder {
    border-radius: 12px;
    overflow: hidden;
}
.about-badge-trust {
    background: var(--accent-color) !important;
    padding: 20px 30px !important;
    border-radius: 12px !important;
}
/* ================== PRODUCTS GRID ================== */
.category-heading {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}
.product-square-card {
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-square-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--accent-color);
}
.product-hover-card {
    border: 1px solid var(--border-color) !important;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-hover-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg) !important;
    border-color: rgba(255, 152, 0, 0.4) !important;
}
.product-img-box {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}
.featured-badge {
    background: linear-gradient(45deg, var(--accent-color), #ffb74d);
    box-shadow: 0 4px 10px rgba(255,152,0,0.3);
}
/* ================== BLOG LISTING/CARDS ================== */
.blog-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s ease;
    background: white;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.blog-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
    border-radius: 16px 16px 0 0;
}
.blog-img-wrapper img {
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.08);
}
.blog-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
}
/* ================== GET IN TOUCH / CTA ================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.cta-section h2 {
    color: white !important;
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}
/* ================== CONTACT SECTION ================== */
.contact-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(14, 32, 54, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
}
.form-control, .form-select {
    padding: 12px 15px;
    border-color: #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 152, 0, 0.15);
    background: white;
}
/* ================== FOOTER ================== */
.site-footer {
    background: #0a1420;
    color: #94a3b8;
    padding: 70px 0 20px;
    border-top: 5px solid var(--accent-color);
}
.site-footer h5 {
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.site-footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background: var(--accent-color);
}
.site-footer p {
    color: #94a3b8;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
}
.site-footer p i {
    margin-top: 5px;
}
.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #fff !important;
    text-decoration: none;
    position: relative;
    padding-left: 0;
}
.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--accent-color);
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: white !important;
    padding-left: 15px;
}
.footer-links a:hover::before {
    left: 0;
    opacity: 1;
}
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    text-align: center;
    color: #64748b;
}
/* ================== FLOATING ELEMENTS ================== */
.wa-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wa-float:hover {
    transform: scale(1.15) rotate(-5deg);
    background-color: #1ebe53;
}
/* BUTTONS OVERRIDE */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}
.btn-primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}
.btn-warning {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: white !important;
}
.btn-warning:hover {
    background-color: var(--accent-hover) !important;
    border-color: var(--accent-hover) !important;
    color: white !important;
}
.btn-outline-light:hover {
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
}
/* Breadcrumb Dividers for Banners */
.product-hero-banner .breadcrumb-item + .breadcrumb-item::before,
.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.75) !important;
}
/* --- Added Truncation & Certifications --- */
.blog-desc-truncate { min-height: 48px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cert-card-body { min-height: 350px; background: #fdfdfd !important; }
.cert-img-contain { max-height: 300px !important; width: 100% !important; height: 100% !important; object-fit: contain !important; }
/* =========================================================================
   MOBILE RESPONSIVENESS OVERRIDES 
   ========================================================================= */
@media (max-width: 991.98px) {
    /* Large Headers on Mobile Node node Node */
    h1, h2, .display-4, .display-6 {
        font-size: calc(1rem + 1.25vw) !important;
    }
    
    /* PE and PX paddings wrapper overflows node Node */
    .pe-lg-5 {
        padding-right: 0 !important;
    }
    /* Navbar Collapse Overlay to prevent content push Node node node node node Node */
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        padding: 1rem 1.5rem !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
        border-top: 1px solid #eaeaea !important;
        z-index: 1050 !important;
    }
    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        color: var(--primary-color) !important;
    }
}
@media (max-width: 767.98px) {
    /* Hero Slider Section Node node Node */
    .hero-slider-section {
        height: 320px !important; /* Lesser height on mobile Node Node node */
        min-height: 280px !important;
    }
    .hero-item {
        background-size: cover !important;
        background-position: center !important;
    }
    .hero-title {
        font-size: 1.35rem !important; /* Scale down title Node node Node */
        line-height: 1.2 !important;
    }
    .hero-badge {
        font-size: 0.75rem !important; /* Scale down badge Node node Node */
        padding: 4px 12px !important;
    }
    .hero-desc {
        font-size: 0.9rem !important;
        margin-bottom: 1.25rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden; /* Truncate descriptions Node node Node */
    }
    /* About Sections Node node node Node */
    .about-main-img {
        height: auto !important;
        max-height: 300px !important;
        object-fit: contain !important;
    }
    .about-img-placeholder {
        height: auto !important; 
        max-height: 300px !important;
    }
    
    /* Global Image Fix for Mobile - Prevents cropping everywhere */
    img {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* Fixed Heights locking overlaps node Node */
    /* Unify Banner Heights for Consistency node Node Node */
    .page-banner, .product-hero-banner {
        /*height: 180px !important;*/
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
    .page-banner h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    .page-banner .container {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    .page-banner p {
        font-size: 0.85rem !important;
        width: 100% !important; /* Expand full width Node Node */
    }
    /* Column spacing Node node Node */
    .g-5 {
        --bs-gutter-y: 1.5rem !important;
    }
    /* About Stat Badge Responsive node Node node */
    .about-stat-box {
        padding: 0.75rem 1rem !important;
        transform: translateY(10px) !important;
    }
    .about-stat-box h3 {
        font-size: 1.25rem !important;
        margin-bottom: 2px !important;
    }
    .about-stat-box p {
        font-size: 0.65rem !important;
        margin-bottom: 0 !important;
    }
}
/* MIGRATED INTERNAL CSS */
/* Extracted from list.php */
/* Custom Pagination Styling */
.ajax-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.ajax-pagination li {
    display: inline-block;
}
.ajax-pagination a, .ajax-pagination span {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    background-color: #ffffff;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #f1f3f5;
    transition: all 0.2s ease-in-out;
}
.ajax-pagination a:hover {
    background-color: #0d6efd;
    color: #ffffff !important;
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(13, 110, 253, 0.15);
}
.ajax-pagination li.active a, .ajax-pagination li.active span {
    background-color: #0d6efd;
    color: #ffffff !important;
    border-color: #0d6efd;
}
.ajax-pagination li.disabled span {
    color: #adb5bd;
    background-color: #e9ecef;
    border-color: #e9ecef;
    cursor: not-allowed;
}
/* Extracted from certifications.php */
.cert-item {
    transition: all 0.3s ease;
}
.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}
.cert-img {
    max-height: 200px;
    transition: all 0.3s ease;
}
.cert-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,152,0,0.85); /* warning color */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.cert-item:hover .cert-overlay {
    opacity: 1;
}
/* Extracted from applications_grid.php */
.applications-masonry {
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    grid-auto-rows: 280px; /* Base height for standard square images */
                    gap: 15px; /* Tight gap matching screenshot */
                }
                .app-masonry-item {
                    position: relative;
                    overflow: hidden;
                    border-radius: 4px; /* Slight rounding for modern aesthetic */
                    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Very subtle shadow */
                    cursor: pointer;
                }
                .app-masonry-item img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: transform 0.5s ease;
                }
                .app-masonry-item:hover img {
                    transform: scale(1.08);
                }
                .app-item-overlay {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    right: 0;
                    padding: 30px 20px 20px 20px;
                    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
                    color: white;
                    font-weight: 500;
                    font-size: 1.15rem;
                    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Improve legibility depending on image */
                }
                /* 
                  MAGIC MASONRY RULE:
                  Every 1st item in a 5-item sequence spans 2 rows perfectly!
                  Sequence:
                  Item 1: Row 1-3, Col 1
                  Item 2: Row 1, Col 2
                  Item 3: Row 1, Col 3
                  Item 4: Row 2, Col 2
                  Item 5: Row 2, Col 3
                */
                .app-masonry-item:nth-child(5n + 1) {
                    grid-row: span 2;
                }
                /* Responsive adjustments */
                @media (max-width: 991.98px) {
                    .applications-masonry {
                        grid-template-columns: repeat(2, 1fr);
                        grid-auto-rows: 250px;
                    }
                    .app-masonry-item:nth-child(5n + 1) {
                        grid-row: span 1;
                        grid-column: span 2; /* Large image becomes banner on tablet */
                    }
                }
                @media (max-width: 575.98px) {
                    .applications-masonry {
                        grid-template-columns: 1fr;
                        grid-auto-rows: 220px;
                    }
                    .app-masonry-item:nth-child(5n + 1) {
                        grid-column: span 1; /* Reset on mobile */
                    }
                    .app-item-overlay {
                        font-size: 1rem;
                        padding: 20px 15px 15px 15px;
                    }
                }
/* Extracted from client_logos.php */
.client-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: #fff;
    padding: 20px 0;
}
.client-marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marquee 25s linear infinite;
}
.client-marquee-track:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}
.client-logo-box {
    padding: 0 15px; /* Reduced padding for closer logos */
    display: flex;
    align-items: center;
    justify-content: center;
}
.client-logo-img {
    max-height: 75px; /* Increased logo size */
    opacity: 0.75;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}
.client-logo-img:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.08);
}
/* Extracted from distributor_profile.php */
.distributor-hero { background: #1a365d; color: white; border-radius: 12px; }
    .metric-card { border-radius: 10px; border: 1px solid #e2e8f0; transition: transform 0.2s; }
    .metric-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
    .sidebar-form { border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
    .bg-orange { background: #ea580c !important; border-color: #ea580c !important; }
    .text-navy { color: #1a365d !important; }
/* Extracted from get_in_touch.php */
.get-in-touch-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.git-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 32, 54, 0.82);
    z-index: 1;
}
.git-input {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-size: 14px;
}
.git-input option {
    background: #1c3553;
    color: #fff;
}
.git-input::placeholder { color: rgba(255,255,255,0.55) !important; }
.git-input:focus {
    border-color: #ff9800 !important;
    box-shadow: none !important;
    background: rgba(255,255,255,0.1) !important;
}
select.git-input { appearance: auto; }
@keyframes gitFloat {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.git-float { animation: gitFloat 4s ease-in-out infinite; }
/* Extracted from latest_blogs.php */
.blog-card {
    transition: all 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.blog-card-img {
    transition: all 0.5s ease;
}
.blog-card:hover .blog-card-img {
    transform: scale(1.08);
}
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Extracted from product_categories.php */
.product-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
      .product-hover:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; }
      .product-img { transition: transform 0.4s ease; }
      .product-hover:hover .product-img { transform: scale(1.1); }
/* Extracted from main.php */
body { font-family: 'Inter', sans-serif; background-color: #f8f9fa; display: flex; flex-direction: column; min-height: 100vh; }
        h1, h2, h3, h4, h5, h6, .brand-name { font-family: 'Poppins', sans-serif; }
        
        /* Topbar Styling */
        .topbar { background-color: #0b2e59; color: #e2e8f0; font-size: 0.85rem; padding: 8px 0; }
        .topbar a { color: #e2e8f0; text-decoration: none; margin-right: 20px; transition: color 0.2s; }
        .topbar a:hover { color: #f6c23e; }
        .topbar i { margin-right: 6px; color: #f6c23e; }
        
        /* Navbar Styling */
        .main-navbar { background: #ffffff; box-shadow: 0 4px 12px rgba(0,0,0,0.05); padding: 15px 0; position: sticky; top: 0; z-index: 1030; }
        .brand-name { font-size: 1.5rem; font-weight: 500; color: #0b2e59; margin-bottom: 0; line-height: 1; display: block; }
        .brand-tag { font-size: 0.75rem; font-weight: 600; color: #f6c23e; letter-spacing: 1px; text-transform: uppercase; }
        .nav-link { font-weight: 600; color: #2d3748 !important; padding: 10px 15px !important; transition: color 0.2s; }
        .nav-link:hover { color: #0b2e59 !important; }
        .nav-cta { background-color: #f6c23e; color: #0b2e59 !important; border-radius: 4px; padding: 10px 20px !important; margin-left: 10px; transition: all 0.3s; }
        .nav-cta:hover { background-color: #dfaa2b; transform: translateY(-2px); }
        /* Main Content Wrapper */
        .main-content-wrapper { flex: 1; }
        /* CTA Section */
        .cta-section { background: linear-gradient(135deg, #0b2e59 0%, #1a4985 100%); color: white; padding: 60px 0; text-align: center; }
        
        /* Footer Styling */
        .site-footer { background-color: #1a202c; color: #a0aec0; padding: 60px 0 20px; }
        .footer-links li { margin-bottom: 10px; }
        .footer-links a:hover { color: #f6c23e !important; padding-left: 5px; transition: all 0.2s; }
        /* WhatsApp Floating Button */
        .wa-float { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; width: 60px; height: 60px; line-height: 60px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; transition: transform 0.2s; }
        .wa-float:hover { transform: scale(1.1); color: #FFF; }
/* Extracted from detail.php */
/* Internal CSS only - No external stylesheet required */
.product-detail-btn {
    background-color: #b97c35;
    border-color: #b97c35;
    color: white !important;
    transition: all 0.3s ease;
}
.product-detail-btn:hover {
    background-color: #9c682c;
    border-color: #9c682c;
    transform: translateY(-2px);
    color: white !important;
}
.salient-features-list ul { padding-left: 1.2rem; margin-top: 15px; }
.salient-features-list li { margin-bottom: 0.5rem; position: relative; list-style: circle; color: #4a5568; }
.spec-table table { width: 100% !important; border-collapse: collapse; margin-top: 10px; }
.spec-table th, .spec-table td { border: 1px solid #d4a36f; padding: 10px 15px; font-size: 0.9rem; }
.spec-table thead th, .spec-table tr:first-child th, .spec-table th { background-color: #b97c35; color: white !important; font-weight: 600; text-align: left; }
.spec-table td { background-color: #fff; color: #1a202c; }
@media (max-width: 575.98px) {
    .feature-icon-wrapper { width: 85px !important; height: 85px !important; }
    .feature-icon-wrapper img { max-width: 45px !important; max-height: 45px !important; }
    .feature-icon-title { font-size: 0.85rem !important; }
}
/* Extracted from detail.php */
.feature-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15) !important;
}
/* Extracted from index.php */
.product-hover-card {
    transition: all 0.35s ease;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.product-hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-color: rgba(0,0,0,0.1) !important;
}
.product-img-box {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #f0f0f0;
    overflow: hidden;
}
.product-hover-card img {
    transition: transform 0.4s ease;
}
.product-hover-card:hover img {
    transform: scale(1.08);
}
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #FF9800, #ffb74d);
    color: white;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 30px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255,152,0,0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
/* --- UNIVERSAL GRID REPAIR (NO CROPPING) --- */
.product-img-box { height: 250px !important; display: flex !important; align-items: center !important; justify-content: center !important; padding: 15px !important; }
.product-hover-card img, .blog-card-img, .product-img, .app-masonry-item img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
/* Facts & Numbers Counter Section */
.facts-section {
    background: linear-gradient(135deg, #0e2036 0%, #1a3a5f 100%) !important;
    padding: 80px 0;
}
.facts-section span.badge {
    background: rgba(255, 255, 0, 0.1) !important;
    color: var(--accent-color) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.fact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}
.fact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.fact-icon {
    font-size: 2.5rem !important;
    color: var(--accent-color) !important;
    margin-bottom: 15px;
}
.fact-icon i {
    font-size: 2.5rem !important;
}
.fact-number {
    font-size: 2.8rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-bottom: 5px !important;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.fact-label {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: rgba(255, 255, 255, 0.6) !important;
}
@media (max-width: 768px) {
    .fact-number { font-size: 2.2rem !important; }
    .facts-section { padding: 50px 0 !important; }
}
/* Applications Professional Feature Grid */
.applications-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px; /* Fixed row height to control spanning */
    gap: 25px;
    margin-top: 40px;
}
.app-masonry-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.app-masonry-item:first-child {
    grid-row: span 2; /* MAKES FIRST IMAGE TALL */
    height: auto !important;
}
.app-masonry-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    opacity: 0.8; /* Base opacity to make it look darkened */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.app-masonry-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.45); /* CONSTANT FULL OVERLAY */
    z-index: 1;
    transition: all 0.4s ease;
}
.app-masonry-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.app-masonry-item:hover::before {
    background: rgba(0,0,0,0.7); /* DARKER ON HOVER */
}
.app-masonry-item:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}
.app-item-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    z-index: 2;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.app-item-overlay::after {
    content: '';
    position: absolute;
    bottom: 30%;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.4s ease;
}
.app-masonry-item:hover .app-item-overlay {
    transform: scale(1.05);
}
.app-masonry-item:hover .app-item-overlay::after {
    transform: translateX(-50%) scaleX(1);
}
@media (max-width: 991px) {
    .applications-masonry { 
        grid-template-columns: repeat(2, 1fr); 
        grid-auto-rows: 240px;
        gap: 15px; 
    }
	.h3, h3 {
        font-size: 1rem;
    }
    .app-masonry-item:first-child { grid-row: span 1; } /* Reset tall block on tablets */
    .app-item-overlay { font-size: 1.1rem; padding: 20px; }
}
@media (max-width: 575px) {
    .applications-masonry { grid-template-columns: 1fr; grid-auto-rows: 280px; }
    .app-masonry-item { height: 280px; }
}
/* Custom Styling for Phone Buttons */
    .cta-phone-btn {
        display: inline-flex;
        align-items: center;
        padding: 8px 16px;
        border: 1.5px solid #ffffff;
        border-radius: 6px;
        color: #ffffff !important;
        text-decoration: none !important; /* Underline hatane ke liye */
        font-weight: 500;
        font-size: 15px;
        transition: all 0.3s ease;
    }

    .cta-phone-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
        text-decoration: none !important;
        color: #ffffff !important;
    }

    .cta-phone-btn i {
        font-size: 14px;
    }
@media (min-width: 1200px) {
    .product-banner {
        font-size: 1.8rem !important;
    }
	    .h2, h2 {
        font-size: 1.8rem;
    }
	    .h3, h3 {
        font-size: 1.5rem;
    }
}
@media (max-width: 768px) {
    .blog-content h3 {
        font-size: 16px !important;
        line-height: 1.3;
        margin-bottom: 10px;
    }
	.h3, h3 {
        font-size: 1rem;
    }
}
.blog-content h2{
	font-size:1.8rem;
	  margin: 15px 0 10px;
    line-height: 1.4;
}
.blog-content h3{
	font-size:1.5rem;
	margin: 15px 0 10px;
    line-height: 1.4;
}