/* ========================================= */
/* 1. GLOBAL RESET & VARIABLES               */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary: #1a56db;
    --primary-dark: #1e429f;
    --secondary: #0f172a; /* Deep Navy */
    --accent: #07234a;
    
    /* Text Colors */
    --text-dark: #1e293b;
    --text-light: #94a3b8;
    --white: #ffffff;
    
    /* Backgrounds */
    --bg-light: #f8fafc;
    --glass-bg: rgba(5, 5, 5, 0.7);
    
    /* Effects */
    --gradient: linear-gradient(135deg, #1a56db 0%, #1e429f 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #050505; /* Dark Theme Base */
    transform: none !important; /* Prevents GSAP from breaking fixed elements */
    width: 100%;
    overflow-x: hidden;
    padding-top: 85px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================= */
/* 2. HEADER & NAVIGATION (Crucial Missing Part) */
/* ========================================= */
/* FORCE NAVBAR TO STICK */
.main-header, 
.main-header.scrolled {
    position: fixed !important; /* Force it to stay on screen */
    top: 0;
    left: 0; /* Crucial: anchors it to the left edge */
    width: 100%;
    height: auto;
    z-index: 99999; /* Higher than everything else (including GSAP) */
    background-color: #ffffff !important; /* Force White */
    
    border-bottom: 1px solid #222;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

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



/* Desktop Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

/* "Get Quote" Button Styles */
.nav-links .btn-highlight {
    background-color: var(--accent) !important; /* Blue Background */
    color: #ffffff !important;   /* Force Text to be WHITE */
    border: 1px solid var(--accent);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

/* Hover State */
.nav-links .btn-highlight:hover {
    background-color: transparent !important; /* Background becomes transparent/white */
    color: var(--accent) !important; /* Text turns Blue */
    border: 1px solid var(--accent);
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.line {
    width: 25px;
    height: 3px;
    background-color: black;
    transition: all 0.3s ease;
}

/* ========================================= */
/* 3. HERO SECTION & TYPOGRAPHY              */
/* ========================================= */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--white);
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.text-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

/* ========================================= */
/* 4. RESPONSIVE (MOBILE) STYLES             */
/* ========================================= */
@media (max-width: 768px) {

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #ffffff !important;
        display: flex;
        flex-direction: column;
        align-items: center;

        padding-top: 20px;   /* 🔽 40px → 20px */
        gap: 40px;           /* 🔽 25px → 10px */

        transition: left 0.3s ease-in-out;
        z-index: 99999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        color: #111 !important;
        font-size: 15px;     /* thoda compact */
        line-height: 1.2;    /* 🔥 important */
        padding: 6px 0;      /* 🔥 gap control */
    }

    .hamburger {
        display: block;
        background-color: #000;
    }

    .hamburger .line {
        background-color: black;
        color: black;
    }
}

@media (max-width: 768px) {

    /* 🔥 FIX HUGE GAP ISSUE */
    .nav-links li,
    .dropdown-trigger {
        height: auto !important;   /* ✅ MOST IMPORTANT */
        margin: 0;
        padding: 0;
    }

    .dropdown-trigger {
        display: block;            /* flex hata diya */
    }

    .nav-links {
        gap: 6px;                  /* compact spacing */
        padding-top: 15px;
    }

    .nav-links a {
        padding: 6px 0;
        line-height: 1.2;
    }
}
/* =========================================
   FOOTER STYLES
   ========================================= */

/* Main Wrapper */
.modern-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 24px 24px 24px;
    font-family: sans-serif; /* Replace with your specific font family */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Top Section (Grid) --- */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Left Branding Side */
.brand-intro h3 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.brand-intro p {
    color: #9ca3af; /* Gray text */
    font-size: 1.125rem;
    max-width: 400px;
    line-height: 1.6;
}

/* Newsletter Form */
.footer-newsletter {
    margin-top: 48px;
    max-width: 400px;
}

.label-text {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
}

.newsletter-form {
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 0;
    font-size: 1.25rem;
    color: #fff;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #4b5563;
}

.newsletter-form button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.newsletter-form button:hover {
    opacity: 1;
}

/* Contact Info */
.footer-contact-info {
    margin-top: 48px;
}

.contact-email {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.contact-email:hover {
    color: #d1d5db;
}

.contact-name {
    color: #6b7280;
}

/* --- Navigation Section (Right Side) --- */
.footer-nav-section {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-column li {
    margin-bottom: 12px;
}

.nav-column a {
    color: #fff;
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-column a:hover {
    color: #9ca3af;
}

.nav-column .arrow {
    font-size: 0.8em;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.nav-column a:hover .arrow {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* --- Industries (Middle) --- */
.footer-industries {
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #4b5563;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.industry-label {
    color: #9ca3af;
}

.industry-item {
    cursor: default;
    transition: color 0.2s;
}

.industry-item:hover {
    color: #fff;
}

/* --- Bottom Section (Big Text) --- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.copyright-section {
    display: flex;
    gap: 24px;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
}

.legal-links a {
    color: #6b7280;
    text-decoration: none;
    margin: 0 4px;
}

.legal-links a:hover {
    color: #fff;
}

/* MASSIVE TEXT STYLING */
.big-brand-text {
    font-size: 13vw; /* Responsive huge size */
    line-height: 0.8;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.04em;
    user-select: none;
    width: 100%;
    text-align: center; /* Or left, depending on preference */
}

.big-brand-text .text-gray {
    color: #333; /* Darker gray part of the logo */
}

/* --- Responsive (Mobile) --- */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 40px;
    }
    
    .footer-nav-section {
        flex-wrap: wrap;
        gap: 40px;
    }

    .brand-intro h3 {
        font-size: 2.5rem;
    }
    
    .copyright-section {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }
}
/* ========================================= */
/* 5. NAVBAR STYLES (Common for all pages)   */
/* ========================================= */

.main-header {
    background-color: #050505; /* Dark Black to match theme */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

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

}

/* Logo Styling */
.brand-logo {
    height: 130px;          /* Adjust this to make it bigger/smaller */
    width: 200px;           /* Keeps the aspect ratio correct */
    object-fit: cover;   /* Prevents the image from getting cut off */
    display: block;        /* Removes extra space below the image */
    transition: transform 0.3s ease; /* Smooth animation for hover */
    
}

.logo h1 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent); /* Uses your Global Blue */
}

/* Nav Links Container */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: black !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links li a:hover {
    color: var(--accent);
}

/* "Get Quote" Button Style */
.btn-highlight {
    background-color: var(--accent-gold);;
    padding: 10px 20px;
    border-radius: 4px;
    color: black !important;
    font-weight: 600 !important;
    transition: background 0.3s ease;
    text-decoration: none;
}

.btn-highlight:hover {
    background-color: #fff;
    color: #000 !important;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Hamburger Animation classes (toggled by JS) */
.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%; 
        right: 0;
        background-color: #111;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 40px;
        transform: translateY(-150%); /* Hidden by default */
        transition: transform 0.4s ease;
        border-bottom: 2px solid var(--accent);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0); /* Slides down */
    }

    .hamburger {
        display: flex;
    }
}
/* ========================================= */
/* WHATSAPP FLOAT BUTTON                     */
/* ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* WhatsApp Green */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000; /* Higher than Header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe57; /* Darker Green on Hover */
    transform: scale(1.1); /* Slight Zoom */
    color: #fff;
}

/* Optional: Pulse Animation */
@keyframes pulse-green {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse-green 2s infinite;
}

/* ========================================= */
/* FLOATING EMAIL BUTTON                     */
/* ========================================= */
.email-float {
    position: fixed;
    /* 20px (bottom) + 60px (wa height) + 15px (gap) = 95px */
    bottom: 95px; 
    right: 20px;
    background-color: #EA4335; /* Gmail Red */
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 28px; /* Icon size */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.email-float:hover {
    background-color: #c5221f; /* Darker Red on Hover */
    transform: scale(1.1);
    color: #fff;
}


/* ========================================= */
/* TOOLTIP STYLES (For Floating Buttons)     */
/* ========================================= */
.float-tooltip {
    position: absolute;
    right: 75px; /* Pushes text to the left of the button */
    top: 50%;
    transform: translateY(-50%) scale(0.8); /* Center vertically */
    
    background-color: #333; /* Dark Grey Background */
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

/* Tiny arrow pointing to the button */
.float-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px; /* Position on the right edge of tooltip */
    margin-top: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

/* Show Tooltip on Hover */
.whatsapp-float:hover .float-tooltip,
.email-float:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1); /* Smooth pop-in animation */
}


/* ========================================= */
/* 6. DROPDOWN MENU STYLES                   */
/* ========================================= */

/* 1. The Container for the "Products" link */
.dropdown-trigger {
    position: relative; /* Needed to position the menu below it */
    height: 100%;
    display: flex;
    align-items: center;
}

/* 2. The Arrow Icon */
.dropdown-trigger .fa-angle-down {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Rotate arrow on hover */
.dropdown-trigger:hover .fa-angle-down {
    transform: rotate(180deg);
}

/* 3. The Actual Dropdown Box (Hidden by default) */
.dropdown-content {
    display: none; /* Hidden */
    position: absolute;
    top: 100%; /* Puts it directly below the navbar */
    left: 0;
    background-color: #ffffff;
    min-width: 220px; /* Width of the dropdown */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px; /* Rounded corners at bottom */
    border-top: 3px solid var(--accent); /* Blue accent line on top */
    z-index: 99999;
    padding: 10px 0;
    
    /* Animation */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 4. Show the menu on Hover */
.dropdown-trigger:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 5. The Links inside the Dropdown */
.dropdown-content a {
    color: #333 !important; /* Always dark grey */
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid #f1f1f1;
    text-transform: capitalize; /* Makes it "Mild Steel" instead of UPPERCASE */
}

/* Remove border from last item */
.dropdown-content a:last-child {
    border-bottom: none;
}

/* Hover effect on the list items */
.dropdown-content a:hover {
    background-color: #f8f9fa; /* Light grey bg */
    color: var(--accent) !important; /* Blue Text */
    padding-left: 25px; /* Slide effect */
    transition: all 0.2s ease;
}

/* ========================================= */
/* MOBILE FIX (Prevent hovering issues)      */
/* ========================================= */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        border-top: none;
        background: #111; /* Dark bg for mobile menu */
        display: none;
        padding-left: 20px;
    }
    
    .dropdown-trigger:hover .dropdown-content {
        /* Just show it, no fancy animation on mobile */
    }
    
    .dropdown-content a {
        color: #bbb !important;
        border-bottom: 1px solid #222;
    }
}

/* ========================================= */
/* BRAND SECTION STYLES                      */
/* ========================================= */
.brand-section {
    background-color: #052342; /* Deep Black Background */
    padding: 60px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    overflow: hidden; /* Hides the scrollbar */
}

.brand-heading {
    text-align: center;
    color: #ffffff; /* Dark grey text so logos pop */
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 800;
    text-transform: uppercase;
}

.brand-heading .accent-text {
    color: var(--accent-gold); /* Your blue color */
}

/* MARQUEE CONTAINER */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Adds a fade effect on left and right 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);
}

.marquee-track {
    display: flex;
    width: calc(200px * 12); /* Width x Number of logos roughly */
    animation: scrollBrands 30s linear infinite; /* 30s = Speed */
}

.brand-slide {
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* This ensures the two groups sit side by side */
}
.brand-slide img {
    height: 50px; /* Control Logo Height */
    width: auto;
    margin: 0 40px; /* Space between logos */
    
    /* --- CHANGES MADE HERE --- */
    /* Removed grayscale, brightness, and opacity filters */
    filter: none; 
    opacity: 1; 
    /* ------------------------- */

    transition: transform 0.3s ease;
}

/* Hover Effect: Only slight zoom now, no color change needed */
.brand-slide img:hover {
    transform: scale(1.1); /* Slight zoom effect */
    cursor: pointer;
}

/* ANIMATION KEYFRAMES */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Moves left exactly 100% of one group */
    }
}

/* Pause on hover so user can look at logos */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .brand-slide img {
        height: 35px;
        margin: 0 20px;
    }
}




/* Chemical Section */


body {
  background-color: #0f4c81;

}

.steel-section {
  max-width: 1200px;
  margin: auto;
}

.title {
  color: #fff;
  text-align: center;
  font-size: 34px;
  margin-bottom: 20px;
}

.table-wrapper {
  background: #eaf4fb;
  border-radius: 20px;
  padding: 20px;
  overflow-x: auto;
}

.steel-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.steel-table thead {
  background-color: #eaf4fb;
}

.steel-table th,
.steel-table td {
  padding: 18px 14px;
  text-align: center;
  border-right: 1px solid #d9e9f5;
  font-size: 15px;
  color: black;
}

.steel-table th:last-child,
.steel-table td:last-child {
  border-right: none;
}

.steel-table th {
  font-weight: 600;
}

.steel-table tbody tr {
  border-bottom: 1px solid #eef3f7;
}

.steel-table tbody tr:last-child {
  border-bottom: none;
}

.highlight {
  background-color: #eaf4fb;
}

/* ------------------ RESPONSIVE ------------------ */

/* Mobile S */
@media (max-width: 480px) {
  .title {
    font-size: 20px;
  }

  .steel-table th,
  .steel-table td {
    font-size: 13px;
    padding: 12px 8px;
  }
}

/* Mobile M */
@media (max-width: 768px) {
  .title {
    font-size: 22px;
  }
}

/* Mobile L / Tablet */
@media (max-width: 1024px) {
  .title {
    font-size: 24px;
  }
}
