  /* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* 🌐 Navbar */

/* 🌐 Responsive Navbar */
.hamburger {
  display: none;
  font-size: 28px;
  color: #FFFFFF;
  cursor: pointer;
}

/* For screens below 900px */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    background: linear-gradient(-180deg, #FF7E31, #E62C03);
    height: calc(100vh - 70px);
    width: 70%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    transition: right 0.4s ease;
    z-index: 9;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .hamburger {
    display: block;
  }
}

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  padding: 15px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  color: #fff;
  z-index: 10;
  transition: background 0.5s ease;
}

.logo {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00bcd4;
}

/* When user scrolls */
.dark-nav {
  background:linear-gradient(-180deg, #FF7E31, #E62C03);
  backdrop-filter: blur(6px);
}

/* 🧪 Hero Section */

/* 🌄 Responsive Hero Section */
.hero {
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 40, 0.6), rgba(0, 0, 40, 0.6)),
              url("./assess/background1.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(218, 37, 37);
  text-align: center;
  padding: 0 ;
  position: relative;
  /* margin-top: 70px; avoid overlap with fixed navbar */
}

.hero-content {
  max-width: 700px;
  z-index: 2;
  animation: fadeIn 1.2s ease;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin: 20px 0 40px;
}

/* ✅ Responsive text scaling */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    padding: 0 10px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

.hero {
  background: linear-gradient(rgba(0, 0, 40, 0.6), rgba(0, 0, 40, 0.6)),
              url("./assess/background1.jpg") center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 700px;
  animation: fadeIn 1.2s ease;
  /* margin-top: 60px; */
}

.hero h1 {
  font-size: 50px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #e0e0e0;
  line-height: 1.6;
}

.btn {
  background: #00bcd4;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}
.btn:hover {
  background: #0097a7;
  transform: scale(1.05);
}

/* 📖 Info Section (to test scroll effect) */
.company-info-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 30px;
  background-color: #f5f5f5;
  flex-wrap: wrap;
  text-align: center;
}

.company-logo img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.company-text {
  max-width: 700px;
}

.company-text h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #0b5394;
}

.company-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* ✅ Responsive: Stack vertically on smaller screens */
@media (max-width: 768px) {
  .company-info-section {
    flex-direction: column;
    text-align: center;
  }
}

.info {
  background: #f4f4f4;
  color: #333;
  padding: 100px 20px;
  text-align: center;
}

.info h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

/* ✨ Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}




.btn{
  background-color: initial;
  background-image: linear-gradient(-180deg, #FF7E31, #E62C03);
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: Inter,-apple-system,system-ui,Roboto,"Helvetica Neue",Arial,sans-serif;
  height: 40px;
  
  outline: 0;
  overflow: hidden;
  padding: 0 20px;
  pointer-events: auto;
  position: relative;
  text-align: center;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: top;
  white-space: nowrap;
  /* width: 100%; */
  z-index: 9;
  border: 0;
  transition: box-shadow .2s;
}

.btn:hover {
  box-shadow: rgba(253, 76, 0, 0.5) 0 3px 8px;
}


/* ------------------info-------------------------- */
.company-info-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 80px 50px;
  background-color: #f5f5f5;
  flex-wrap: wrap; /* Responsive: stacks on small screens */
}

.company-logo img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.company-text {
  max-width: 700px;
}

.company-text h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #212121;
}

.company-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}
/* --------------products new-----------------------  *//* 🌐 Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.speciality-chemicals-section {
  padding: 60px 20px;
  background: #f9fafc;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #0b5394;
}

.section-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

/* 🎠 Carousel Container */
.cards-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.chemical-card {
  flex: 0 0 280px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: center;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.chemical-card:hover {
  transform: scale(1.05);
}

.card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  width: 100%;
  padding: 15px;
  text-align: left;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.read-more-text {
  font-size: 0.9rem;
  color: #ffcc00;
}

/* ⬅️➡️ Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0b5394;
  color: white;
  border: none;
  font-size: 22px;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  z-index: 2;
}

.carousel-arrow:hover {
  background: #08376b;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
  .chemical-card {
    flex: 0 0 70%;
  }

  .carousel-arrow {
    display: none; /* hide arrows on mobile for swipe gesture */
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .chemical-card {
    flex: 0 0 85%;
  }

  .card-image {
    height: 220px;
  }
}

/* 💬 Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  max-width: 500px;
  text-align: left;
}

.close-button {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-action-button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #0b5394;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* -----------------products old---------------- */


/* --- Base Styling & Variables --- */
:root {
    --primary-color: #f75d5d; /* Example red/pink for pop-up button */
    --background-color: #fcf6f6;
    --text-color-dark: #333;
    --text-color-light: #fff;
    --overlay-bg: rgba(0, 0, 0, 0.5);
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}

/* --- Section Layout --- */
.speciality-chemicals-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-top: 0;
    margin-bottom: 40px;
}

/* --- Carousel & Card Layout --- */
.cards-carousel {
    display: flex;
    align-items: center;
    position: relative;
    /* Use padding to keep arrows within the visual area */
    padding: 0 10px; 
}

.cards-container {
    display: flex; /* Key for horizontal scrolling */
    gap: 20px;
    overflow-x: scroll; /* Enables the scrolling functionality */
    padding: 10px 0; /* Ensures space for arrows to be visible */
    scroll-behavior: smooth; /* For smooth JS scrolling */
    -ms-overflow-style: none;  /* IE and Edge hide scrollbar */
    scrollbar-width: none;  /* Firefox hide scrollbar */
}

/* Hide scrollbar visually */
.cards-container::-webkit-scrollbar {
    display: none;
}

/* --- Card Styling --- */
.chemical-card {
    position: relative;
    flex: 0 0 23%; /* Allow cards to take up a fixed percentage of container width */
    min-width: 250px; /* Ensures a good size on smaller screens */
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chemical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.chemical-card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes title to top, read more to bottom */
    
    /* Gradient for the dark overlay effect shown in the image */
    background: linear-gradient(to bottom, 
                                var(--overlay-bg) 0%, 
                                transparent 50%, 
                                rgba(0, 0, 0, 0.7) 100%);
    color: var(--text-color-light);
}

.card-title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    align-self: flex-start; /* Ensure title stays at the top */
}

.read-more-text {
    align-self: flex-start; /* Ensure 'Read More' stays at the bottom left */
    font-size: 0.9em;
    font-weight: 600;
    padding-bottom: 5px; /* Space from the bottom edge */
    border-bottom: 2px solid var(--text-color-light);
    opacity: 0.9;
    transition: opacity 0.2s;
}

/* --- Carousel Arrows --- */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--text-color-light);
    color: var(--text-color-dark);
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, box-shadow 0.2s;
}

.carousel-arrow:hover {
    background-color: #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.left-arrow {
    left: 20px;
}

.right-arrow {
    right: 20px;
}

/* --- Modal (Pop-up) Styling --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* High z-index to cover everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Black background with opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 30px;
    border-radius: 10px;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#modal-title {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 0;
}

#modal-body {
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    position: absolute;
    top: 15px;
    right: 25px;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.modal-action-button {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s;
}

.modal-action-button:hover {
    background-color: #e54c4c;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
    }

    .chemical-card {
        min-width: 90vw; /* Take up most of the viewport width on mobile */
        height: 300px;
        flex: 0 0 90vw;
    }

    .cards-carousel {
        padding: 0 0;
    }

    .cards-container {
        padding: 0 20px;
    }

    .carousel-arrow {
        /* Hide arrows on very small screens to give more space for the cards */
        display: none; 
    }
}
/* -----------our vision----------------- */


.vision-section {
  background: #cc0b0b;
  background: radial-gradient(circle, #FF7E31, #E62C03),50%;;

/* background: radial-gradient(circle, rgba(210, 13, 13, 0.05) 0%, rgba(199, 87, 87, 1) 50%); */
  padding: 60px 20px;
  text-align: center;
}

.vision-container {
  max-width: 800px;
  margin: 0 auto;
}

.vision-section h2 {
  font-size: 2rem;
  color:yellow;
  margin-bottom: 20px;
}

.vision-section p {
  font-size: 1.1rem;
  color: #FFFFFF;
  line-height: 1.6;
}

/* --------------brand------------- */

.divisions-section {
  background: #f0f8ff;
  padding: 60px 20px;
  text-align: center;
}

.divisions-container {
  max-width: 1000px;
  margin: 0 auto;
}

.divisions-section h2 {
  font-size: 2rem;
  color: #0b5394;
  margin-bottom: 40px;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.division-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.division-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.division-card h3 {
  color: #0b5394;
  margin-bottom: 12px;
}

.division-card p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}




/* ---------contact us------------------------------ */


/* -------------------------------------------------old------------------- */
/* 📩 Contact Section */.contactus {
  background: #f8f8f8;
  padding: 60px 20px; /* Mobile-friendly padding */
  text-align: center;
}

.contactus h2 {
  font-size: 2rem;
  color: #0b5394;
  margin-bottom: 10px;
}

.contactus h2 span {
  color: #ff7e31;
}

.contactus p {
  color: #555;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ===== Flex Layout ===== */
.contact {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-col {
  flex: 1 1 400px; /* Minimum width 400px, grows */
  max-width: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: left;
}

.contact-col h3 {
  color: #000F38;
  font-weight: 500;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-col h3 img {
  width: 30px;
}

/* ===== Text & Info ===== */
.contact-col p {
  color: #676767;
  max-width: 100%;
  line-height: 1.6;
  margin-bottom: 15px;
}

.contact-col ul {
  padding: 0;
  list-style: none;
}

.contact-col ul li {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.contact-col ul li img {
  width: 25px;
  margin-right: 10px;
}

/* ===== Form ===== */
.contact form input,
.contact form textarea {
  width: 100%;
  background: #ebecfe;
  padding: 12px 15px;
  border: 0;
  outline: 0;
  margin: 5px 0 15px;
  resize: none;
  border-radius: 6px;
  font-size: 14px;
}

.contact form button {
  background-color: #000F38;
  color: #fff;
  border: none;
  padding: 15px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  transition: 0.3s;
}

.contact form button:hover {
  background-color: #08376b;
}

.contact form button img {
  width: 20px;
  margin-left: 10px;
}

/* ===== Map ===== */
.contact-col iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
  border: 2px solid #000;
  margin-top: 15px;
}

/* ===== Responsive ===== */
@media screen and (max-width: 992px) {
  .contact {
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .contact-col {
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .contactus h2 {
    font-size: 1.8rem;
  }

  .contact-col h3 {
    font-size: 20px;
  }

  .contact form input,
  .contact form textarea {
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .contactus h2 {
    font-size: 1.5rem;
  }

  .contactus p {
    font-size: 0.9rem;
  }

  .contact-col h3 {
    font-size: 18px;
  }

  .contact form button {
    font-size: 14px;
    padding: 12px 16px;
  }

  .contact-col iframe {
    height: 200px;
  }
}

/* -----------------footer--------------------- */

footer {
  background:linear-gradient(-180deg, #FF7E31, #E62C03);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 40px 0;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: #FFD700; /* Gold color for headings */
}

.footer-section p,
.footer-section ul,
.footer-section a {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a:hover {
  color: #FFD700;
  transition: 0.3s;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 14px;
  color: #fff;
}

.social-icons a:hover {
  color: #FFD700;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  border-top: 1px solid #444;
  padding-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 20px;
  }

  .social-icons a {
    margin-right: 15px;
  }
}
