/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0D3B66;
    --secondary: #00A86B;
    --accent: #F4A300;
    --bg-light: #F5F7FA;
    --text-dark: #1E2A41;
    --text-muted: #6B7A8F;
    --white: #ffffff;
    --shadow: 0 15px 40px rgba(0,0,0,0.08);
    --radius: 16px;
    --transition: all 0.3s ease;
}

/* ===== PREVENT HORIZONTAL SCROLL ===== */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-image: url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=1400&q=80');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(2px);
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1A5276);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(13, 59, 102, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 59, 102, 0.4);
    background: linear-gradient(135deg, #1A5276, #0D3B66);
    color: #fff;
}
.btn-accent {
    background: linear-gradient(135deg, var(--accent), #E08E00);
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}
.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 163, 0, 0.4);
    color: #fff;
}
.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #0a1e2e;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1040;
}
.top-bar a {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 18px;
    transition: var(--transition);
}
.top-bar a:hover {
    color: #fff;
}
.top-bar .social-icon {
    margin-right: 8px;
    font-size: 0.9rem;
}

/* ===== NAVIGATION ===== */
#mainNav {
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}
#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
}
#mainNav .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}
#mainNav .brand-logo {
    color: var(--primary);
}
#mainNav .brand-sub {
    color: var(--secondary);
    font-weight: 300;
    margin-left: 4px;
}
#mainNav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 30px;
    transition: var(--transition);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: var(--primary);
    background: rgba(13, 59, 102, 0.06);
}
.scrolled #mainNav .nav-link {
    color: var(--text-dark);
}
.scrolled #mainNav .nav-link:hover {
    color: var(--primary);
}

/* ===== HERO (FIXED OVERLAP) ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('images/chem1.jpeg') center/cover no-repeat;
    padding-top: 150px;
    padding-bottom: 60px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.8) 0%, rgba(0, 168, 107, 0.45) 100%);
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}
.hero-title {
    font-size: 4.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
}
.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 16px 0 8px;
}
.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 540px;
}
.hero-floating-icons {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.hero-floating-icons i {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.06);
}
.hero-floating-icons i:nth-child(1) {
    top: 10%;
    left: 8%;
}
.hero-floating-icons i:nth-child(2) {
    top: 60%;
    right: 5%;
}
.hero-floating-icons i:nth-child(3) {
    top: 30%;
    right: 20%;
}
.hero-floating-icons i:nth-child(4) {
    bottom: 20%;
    left: 15%;
}
.hero-floating-icons i:nth-child(5) {
    top: 50%;
    left: 40%;
}
.hero-stats .fw-bold {
    font-size: 1.4rem;
}

/* ===== SECTIONS – COMMON ===== */
.section-padding {
    padding: 80px 0;
    background: transparent !important;
}
.bg-light {
    background: rgba(245, 247, 250, 0.7) !important;
    backdrop-filter: blur(4px);
}
.section-tag {
    display: inline-block;
    background: rgba(13, 59, 102, 0.1);
    color: var(--primary);
    padding: 4px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 12px 0 16px;
    color: var(--text-dark);
}
.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ===== STATISTICS ===== */
.stats-section {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(4px);
    padding: 50px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
    opacity: 0.6;
}
.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 6px;
}

/* ===== PARTNER LOGOS ===== */
.partner-logo {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: 15px 10px;
    border-radius: 12px;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}
.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== CARDS – GLASSMORPHISM ===== */
.service-card,
.product-card,
.testimonial-card,
.value-card,
.quality-card,
.quick-link-card,
.industry-item {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    padding: 32px 24px;
    text-align: center;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(13, 59, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
}
.service-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    overflow: hidden;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.product-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}
.product-body {
    padding: 20px;
}
.product-body h5 {
    font-weight: 700;
    font-size: 1.1rem;
}
.product-category {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ===== INDUSTRY ITEMS ===== */
.industry-item {
    padding: 24px 12px;
    text-align: center;
}
.industry-item:hover {
    transform: translateY(-6px);
}
.industry-item i {
    font-size: 2.2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
}
.industry-item span {
    font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    padding: 30px;
    text-align: center;
}
.testimonial-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
}
.testimonial-author {
    margin-top: 16px;
}
.testimonial-author strong {
    display: block;
    font-weight: 700;
}
.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== QUICK LINK CARDS ===== */
.quick-link-card {
    display: block;
    padding: 30px 20px;
    text-align: center;
    color: var(--text-dark);
    text-decoration: none;
}
.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    color: var(--primary);
}
.quick-link-card i {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.quick-link-card h5 {
    font-weight: 700;
}
.quick-link-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== VALUE CARDS ALT ===== */
.value-card-alt {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.value-card-alt:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.value-card-alt .value-icon {
    width: 70px;
    height: 70px;
    background: rgba(13, 59, 102, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}
.value-card-alt:hover .value-icon {
    background: var(--primary);
    color: #fff;
}
.value-card-alt h5 {
    font-weight: 700;
    margin-bottom: 10px;
}
.value-card-alt p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== PROCESS STEPS ===== */
.process-section .step {
    text-align: center;
    padding: 20px 10px;
    position: relative;
}
.process-section .step .step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(13, 59, 102, 0.25);
}
.process-section .step .step-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 12px;
}
.process-section .step h5 {
    font-weight: 700;
}
.process-section .step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
@media (min-width: 768px) {
    .process-section .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 45px;
        right: -15px;
        width: 30px;
        height: 2px;
        background: var(--secondary);
        opacity: 0.3;
    }
}

/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 59, 102, 0.8));
    padding: 20px;
    color: #fff;
    text-align: center;
    font-weight: 600;
}

/* ===== BLOG CARDS ===== */
.blog-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.blog-card .blog-body {
    padding: 20px;
}
.blog-card .blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}
.blog-card h5 {
    font-weight: 700;
    font-size: 1.1rem;
}
.blog-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== MID CTA BANNER ===== */
.cta-banner-mid {
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.92), rgba(0, 168, 107, 0.8));
    backdrop-filter: blur(4px);
    padding: 50px 0;
    color: #fff;
}
.cta-banner-mid h2 {
    font-weight: 700;
    font-size: 2rem;
}

/* ===== MAIN CTA BANNER ===== */
.cta-banner {
    background: rgba(13, 59, 102, 0.9) !important;
    backdrop-filter: blur(4px);
    padding: 60px 0;
    color: #fff;
}
.cta-banner h2 {
    font-weight: 700;
    font-size: 2.2rem;
}
.cta-banner p {
    opacity: 0.8;
}

/* ===== FAQ ACCORDION ===== */
.faq-accordion .accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.faq-accordion .accordion-button {
    background: transparent;
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    box-shadow: none;
}
.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(13, 59, 102, 0.04);
}
.faq-accordion .accordion-body {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(10, 30, 46, 0.95) !important;
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}
.footer-brand .brand-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}
.footer-brand .brand-sub {
    font-weight: 300;
    color: var(--secondary);
}
.footer-desc {
    margin: 16px 0 20px;
    font-size: 0.95rem;
    max-width: 300px;
}
.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--secondary);
    color: #fff;
}
.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 0.9rem;
}
.footer-bottom .separator {
    margin: 0 12px;
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}
.float-btn.whatsapp {
    background: #25D366;
}
.float-btn.phone {
    background: var(--primary);
}
.float-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
    padding: 140px 0 60px;
    background: rgba(13, 59, 102, 0.85) !important;
    backdrop-filter: blur(4px);
    color: #fff;
    text-align: center;
}
.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
}
.page-header p {
    opacity: 0.8;
    font-size: 1.2rem;
}

/* ===== ABOUT / VALUE CARDS ===== */
.value-card,
.quality-card {
    padding: 28px 24px;
    text-align: center;
}
.value-card i,
.quality-card i {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.value-card h4,
.quality-card h4 {
    font-weight: 700;
}
.value-card p,
.quality-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== CONTACT ===== */
.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-item i {
    font-size: 1.6rem;
    color: var(--primary);
    width: 40px;
    text-align: center;
    margin-top: 4px;
}
.contact-item strong {
    display: block;
    font-weight: 600;
}
.contact-form .form-control {
    border-radius: 12px;
    padding: 14px 18px;
    border: 1px solid #e0e6ed;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
    background: #fff;
}