/* =========================
   RESET & BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
  line-height: 1.6;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   VARIABLES
========================= */
:root {
    --primary-blue: #1d75d3;
    --logo-green: #52c446;
    --accent-teal: #3aa799;
    --light-bg: #f0f7ff;
    --dark-text: #1a2b3c;
}

/* =========================
   BACK BUTTON
========================= */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--logo-green);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(82, 196, 70, 0.2);
    margin-left: auto;
    float: right;
}

.back-button:hover {
    background: #45a839;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 70, 0.3);
}

.back-button i {
    font-size: 14px;
}

/* Back Button Responsive */
@media (max-width: 768px) {
    .back-button {
        padding: 10px 16px;
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .back-button i {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .back-button {
        padding: 8px 14px;
        font-size: 13px;
        float: none;
        margin-left: 0;
        margin-right: auto;
        width: 100%;
        justify-content: center;
    }
}

/* =========================
   LAYOUT
========================= */
.container {
  width: 100%;
  max-width: 1600px;
  margin: auto;
  padding: 0 1rem;
}

section {
  padding: 4rem 0;
}

.products {
  padding-top: 120px;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--primary-blue);
  margin: 0.75rem auto 0;
  border-radius: 5px;
}

/* =========================
   HEADER / NAVBAR
========================= */
.header {
  position: fixed;
  border-bottom: 2px solid var(--primary-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
}

.navbar {
  padding: 0.6rem 0; 
}

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

.logo-link {
  margin-left: 20rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 3000;
}

#logo {
  height: 70px;
  width: auto;
}

.logo h1 {
  font-size: 1.2rem;
   font-weight: 800;
  color: var(--primary-blue) !important;
  white-space: nowrap;
}

/* Menu */
.nav-menu {
  margin-right: 12rem;
  position: fixed;
  inset: 0;
  background: #fff;
  padding-top: 90px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  transform: translateX(-85%);
  transition: transform 0.3s ease;
  z-index: 2500;
}

.nav-menu.active {
  transform: translateX(0);
}
.nav-menu a:hover {
    color: var(--logo-green);
}

.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: #1a2b3c;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
  font-size: 1.05rem;
}
.hero-buttons{
    flex-direction: column;
    margin-top: 30%;
    gap: 40px; /* desktop spacing */
}
/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  z-index: 3001;
  position: relative;
}

.hamburger span {
  width: 22px;   /* was 26px */
  height: 2px;   /* was 3px */
  margin: 3px 0; /* tighter spacing */
  background: var(--primary-blue);
}

/* Desktop Nav */
@media (min-width: 768px) {
    .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-menu {
    position: static;
    transform: none;
    flex-direction: row;
    padding: 0;
    gap: 2.5rem;
    height: auto;
    background: none;
    margin-right: 12rem;

  }
  .nav-menu a:hover {
    color: var(--logo-green);
}
    .nav-menu a {
        color: #1a2b3c;
        text-shadow: none;
    }

  .hamburger {
    display: none;
  }
   .logo-link {
    margin-left: 20rem; /* keep margin on desktop */
  }
}

/* =========================
   HERO
========================= */
.hero-hero {
  min-height: 80vh;
  padding-top: 90px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 1.5rem;
  margin-top: 5%;
}

.hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(0, 38, 109, 0.92);
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 1.8rem;
}


/* =========================
   BUTTONS
========================= */
.btn {
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  transition: 0.3s ease;
}

.btn-primary {
  background: white;
  border: 2px solid #155bb1;
  color: #155bb1;
}

.btn-primary:hover {
  background:#155bb1;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px white;
}

.btn-secondary {
  background: white;
  border: 2px solid #155bb1;
  color: #155bb1;
}

.btn-secondary:hover {
  background:#155bb1;
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
 
  
  /* Additional mobile adjustments for small screens */
  .header {
    padding: 0.5rem 0; /* slightly smaller header */
  }

  .nav-container {
    padding: 0 0.5rem; /* reduce side gap */
  }

  #logo {
    height: 40px; /* smaller logo for mobile */
  }

  .nav-menu {
    padding-top: 70px; /* less top padding */
    transform: translateX(-100%); /* fully hidden */
  }

  .hero-content {
    padding: 1rem; /* less padding on sides */
  }

  .btn {
    width: 90%; /* smaller buttons */
    padding: 10px 20px;
  }
}

/* =========================
   ABOUT
========================= */
.about-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* =========================
   PRODUCTS
========================= */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.product-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #eef2f6;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(29, 117, 211, 0.05);
  text-align: center;
}
.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(29, 117, 211, 0.12);
    border-color: var(--logo-green);
}

.product-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
  line-height: 1.3;
}

.product-card p {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.product-image {
  width: 200px;
  margin: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.available-label {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
}

.product-category {
  margin-bottom: 4rem;
}

.product-category h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  position: relative;
  margin: 0 auto 2rem auto;
  width: fit-content;
  text-align: center;
}

.product-category h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--logo-green);
  margin: 0.9rem auto 0;
  border-radius: 3px;
}

/* =========================
   BRANDS
========================= */
.brand-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.brand-image {
    margin: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}
.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Product Range Section */
.product-range {
  text-align: center;
  margin-top: 3rem;
}
.range-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(29, 117, 211, 0.12);
    border-color: var(--logo-green);
}

.product-range h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
}

.range-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
  margin-top: 2rem;
}

.range-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #eef2f6;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(29, 117, 211, 0.05);
}

.range-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.range-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.range-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.range-card:hover .range-image {
  transform: scale(1.05);
}

.range-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
}

.range-card p {
  color: #666;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.export-ready {
    background: linear-gradient(135deg, var(--logo-green), var(--accent-teal));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
}
.available-label {
    background: linear-gradient(135deg, var(--logo-green), var(--accent-teal));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* =========================
   FEATURES
========================= */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--logo-green);
  margin-bottom: 1rem;
}

/* =========================
   GLOBAL EXPORT
========================= */
.global-content {
  text-align: center;
}

.global-map {
  font-size: 4rem;
  color: var(--logo-green);
  margin-bottom: 1rem;
}

/* =========================
   CONTACT
========================= */
.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}


.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.contact-item a {
  color: var(--dark-text);
  text-decoration: none;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit;
}

/* =========================
   CERTIFICATIONS
========================= */
.certifications h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* =========================
   DOWNLOADS PAGE
========================= */
.downloads {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.downloads-table {
  overflow-x: auto;
  margin: 2rem 0;
  flex-grow: 1;
}

.downloads-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.downloads-table th,
.downloads-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.downloads-table th {
  background: var(--primary-blue);
  color: white;
  font-weight: 600;
}

.downloads-table tr:hover {
  background: #f8f9fa;
}

/* Mobile responsive for downloads table */
@media (max-width: 768px) {
  .downloads-table {
    margin: 1rem -1rem;
    padding: 0 1rem;
  }
  
  .downloads-table th,
  .downloads-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
  
  .downloads-table .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    margin: 0.25rem;
  }
}

@media (max-width: 480px) {
  .downloads-table th,
  .downloads-table td {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
  }
  
  .downloads-table .btn {
    display: block;
    width: 100%;
    margin: 0.25rem 0;
    text-align: center;
  }
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #34495e;
  color: #ecf0f1;
  padding: 2rem 0;
  text-align: center;
  margin-top: auto;
}

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */
@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    gap: 16px; /* mobile spacing */
  }
  .products-grid,
  .features-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .brand-showcase {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .range-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .products-grid,
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .range-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .range-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}


/* Slightly reduce gap so menu shifts left */
@media (min-width: 768px) {
  .nav-container {
    gap: 1rem;
  }

  .nav-menu {
    margin-left: auto;
  }
}
/* === CERTIFICATION SECTION FIX === */

.certifications {
  background: var(--light-bg);
}

.certificate-container {
  display: flex;
  justify-content: center;
}

.certificate-wrapper {
  max-width: 1000px;
  width: 100%;
}

.certificate-wrapper > div {
  background: #fff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Left certificate card */
.certificate-thumb div {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-thumb:hover div {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(109, 177, 255, 0.18);
}

/* Certificate details text */
.certificate-details h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.certificate-details p {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--dark-text);
}

/* Action buttons */
.certificate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
}

.certificate-actions a {
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
}

.verification-link {
  background: #155bb1;
  color: #fff;
}

.verification-link:hover {
  background: var(--logo-green);
}

.dgft-link {
  background:#155bb1;
  color: #fff;
}

.dgft-link:hover {
  background: var(--logo-green);
  color: #fff;
}
@media (max-width: 768px) {
  .certificate-wrapper > div {
    padding: 1.5rem;
  }

  .certificate-details {
    text-align: center;
  }

  .certificate-actions {
    justify-content: center;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .header {
    padding: 0.5rem 0;
    width: 100%;
    overflow: hidden;
  }

  .logo-link {
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .logo img {
    height: 35px;
    width: auto;
  }

  .logo h1 {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
  }

  .nav-menu {
    margin-right: 0;
    transform: translateX(-100%);
    padding-top: 70px;
  }

  .nav-container {
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }
  #logo {
    height: 60px;  /* smaller logo on mobile */
  }
  .hero-buttons {
    display: flex;
    flex-direction: column; /* Stacks them like in the image */
    gap: 15px;
    align-items: center;
    padding: 20px;
}
}
/* Specific adjustments for Laptop dimensions (1024px - 1445px) */
@media screen and (max-width: 1621px) {
    .logo-link {
        margin-left: 2rem;
    }
    
    .nav-menu {
        margin-right: 2rem;
        gap: 1.2rem; /* Tighter spacing so links stay on one line */
    }

    .nav-menu a {
        font-size: 0.95rem; /* Slightly smaller text for laptops */
    }

    #logo {
        height: 60px; /* Slightly smaller logo to save vertical space */
    }
}
/* Fix for Tablet/Small Laptop Range (760px - 900px) */
@media screen and (max-width: 900px) {
  /* Remove the massive margins that push content out of view */
  .logo-link {
    margin-left: 1rem !important;
  }

  /* Hide the horizontal desktop menu and show the hamburger */
  .nav-menu {
    display: none; /* Hide desktop links */
    position: fixed;
    inset: 0;
    background: #fff;
    padding-top: 90px;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 2500;
    margin-right: 0 !important;
  }

  .nav-menu.active {
    display: flex; /* Show when hamburger is clicked */
    transform: translateX(0);
  }

  .hamburger {
    display: flex !important; /* Force hamburger to show */
    margin-right: 1rem;
  }

  /* Adjust Hero Section for smaller screens */
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
}
