/* ===== VARIABLES ===== */
    :root {
      /*--primary: #0066cc;*/
      --primary: #EF5728;
      --primary-dark: #004c99;
      --secondary: #ff9900;
      --dark: #151515;
      --dark-light: #222;
      --gray: #444;
      --light: #f8f9fa;
      --text: #eaeaea;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      --transition: all 0.3s ease;
    }

    /* ===== GENERAL STYLES ===== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Roboto', sans-serif;
      background: var(--dark);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }

    h1, h2, h3, h4, h5 {
      font-family: 'Oswald', sans-serif;
      font-weight: 600;
      line-height: 1.3;
      text-transform: uppercase;
    }

    section {
      padding: 100px 20px;
      scroll-margin-top: 80px;
    }

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

    .section-title {
      position: relative;
      font-size: 2.5rem;
      margin-bottom: 50px;
      text-align: center;
      color: var(--primary);
    }

    .section-title:after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 4px;
      background: var(--secondary);
    }

    .btn {
      display: inline-block;
      background: var(--primary);
      color: white;
      padding: 12px 30px;
      border-radius: 4px;
      text-decoration: none;
      text-transform: uppercase;
      font-weight: 500;
      letter-spacing: 1px;
      transition: var(--transition);
      border: none;
      cursor: pointer;
      font-family: 'Oswald', sans-serif;
    }

    .btn:hover {
      background: var(--primary-dark);
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }

    .btn-secondary {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }

    .btn-secondary:hover {
      background: var(--primary);
      color: white;
    }

    /* ===== HEADER ===== */
    header {
      /*position: fixed;*/
      top: 0;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 40px;
      background: rgba(0, 0, 0, 0.9);
      z-index: 1000;
      transition: var(--transition);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      position: relative;
    }

    header.scrolled {
      padding: 10px 40px;
      background: rgba(0, 0, 0, 0.95);
    }

    .logo {
      font-family: 'Oswald', sans-serif;
      font-size: 1.8rem;
      font-weight: 700;
      text-transform: uppercase;
      color: white;
      display: flex;
      align-items: center;
    }
    .ttl_clr_1{
        color:#A2E9F9;
    }

    .logo span {
      color: var(--primary);
    }

    .logo-icon {
      margin-right: 10px;
      color: var(--primary);
      font-size: 1.5rem;
    }

    nav {
      display: flex;
      gap: 30px;
    }

    nav a {
      font-family: 'Oswald', sans-serif;
      text-transform: uppercase;
      font-weight: 500;
      letter-spacing: 1.5px;
      color: white;
      text-decoration: none;
      transition: var(--transition);
      font-size: 1rem;
      position: relative;
    }

    nav a:after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: var(--transition);
    }

    nav a:hover {
      color: var(--primary);
    }

    nav a:hover:after {
      width: 100%;
    }

    nav a.active {
      color: var(--primary);
    }

    nav a.active:after {
      width: 100%;
    }

    /* Mobile Menu */
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
      z-index: 1001;
    }

    .menu-toggle span {
      height: 3px;
      width: 30px;
      background: white;
      margin: 4px 0;
      transition: var(--transition);
      border-radius: 2px;
    }

    .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -8px);
    }

    /* ===== HERO SECTION ===== */
    .hero {
      height: 100vh;
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
    }

    .hero-content {
      max-width: 800px;
      padding: 40px;
      animation: fadeIn 1s ease;
    }

    .hero h1 {
      font-size: 3.5rem;
      margin-bottom: 20px;
      color: white;
      text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    }

    .hero p {
      font-size: 1.3rem;
      margin-bottom: 30px;
      color: #eaeaea;
    }

    .hero-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      margin-top: 30px;
    }

    /* ===== ABOUT SECTION ===== */
    #about {
      background: var(--dark-light);
      position: relative;
    }

    .about-content {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      align-items: center;
      justify-content: center;
    }

    .about-text {
      flex: 1;
      min-width: 300px;
    }

    .about-image {
      flex: 1;
      min-width: 300px;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    .about-image img {
      width: 100%;
      height: auto;
      transition: var(--transition);
    }

    .about-image:hover img {
      transform: scale(1.05);
    }

    .certification {
      margin-top: 30px;
      padding: 15px;
      background: rgba(0, 102, 204, 0.1);
      border-left: 4px solid var(--primary);
      border-radius: 4px;
    }

    /* ===== SERVICES SECTION ===== */
    #services {
      background: var(--dark);
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 50px;
    }

    .service-card {
      background: var(--dark-light);
      padding: 30px;
      border-radius: 10px;
      text-align: center;
      transition: var(--transition);
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
      z-index: 1;
    }

    .service-card:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 0;
      background: linear-gradient(45deg, var(--primary), var(--primary-dark));
      transition: var(--transition);
      z-index: -1;
      opacity: 0;
    }

    .service-card:hover {
      transform: translateY(-10px);
    }

    .service-card:hover:before {
      height: 100%;
      opacity: 1;
    }

    .service-icon {
      font-size: 3rem;
      color: var(--primary);
      margin-bottom: 20px;
      transition: var(--transition);
    }

    .service-card:hover .service-icon {
      color: white;
    }

    .service-card h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
      color: var(--primary);
      transition: var(--transition);
    }

    .service-card:hover h3 {
      color: white;
    }

    .service-card p {
      transition: var(--transition);
    }

    .service-card:hover p {
      color: white;
    }

    /* ===== PRODUCTS SECTION ===== */
    #products {
      background: var(--dark-light);
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      margin-top: 50px;
    }

    .product-card {
      background: var(--dark);
      padding: 25px;
      border-radius: 8px;
      text-align: center;
      transition: var(--transition);
      box-shadow: var(--shadow);
      border-bottom: 3px solid var(--primary);
    }

    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .product-card i {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 15px;
    }

    /* ===== CONTACT SECTION ===== */
    #contact {
      background: var(--dark);
    }

    .contact-container {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: center;
    }

    .contact-info {
      flex: 1;
      min-width: 300px;
    }

    .contact-info h3 {
      color: var(--primary);
      margin-bottom: 20px;
      font-size: 1.8rem;
    }

    .contact-details {
      margin-top: 30px;
    }

    .contact-details p {
      margin-bottom: 15px;
      display: flex;
      align-items: center;
    }

    .contact-details i {
      margin-right: 15px;
      color: var(--primary);
      font-size: 1.2rem;
      width: 25px;
    }

    .contact-form {
      flex: 1;
      min-width: 300px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .form-control {
      width: 100%;
      padding: 12px 15px;
      background: var(--dark-light);
      border: 1px solid var(--gray);
      border-radius: 4px;
      color: white;
      transition: var(--transition);
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
    }

    textarea.form-control {
      min-height: 150px;
      resize: vertical;
    }

    /* ===== LOGIN SECTION ===== */
    #login {
      background: var(--dark-light);
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 60vh;
    }

    .login-container {
      background: var(--dark);
      padding: 40px;
      border-radius: 10px;
      box-shadow: var(--shadow);
      width: 100%;
      max-width: 450px;
    }

    .login-container h2 {
      text-align: center;
      margin-bottom: 30px;
      color: var(--primary);
    }

    /* ===== FOOTER ===== */
    footer {
      background: #0a0a0a;
      padding: 60px 0 30px;
      color: #aaa;
    }

    .footer-content {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      justify-content: space-between;
      margin-bottom: 40px;
    }

    .footer-column {
      flex: 1;
      min-width: 250px;
    }

    .footer-column h3 {
      color: var(--primary);
      margin-bottom: 20px;
      font-size: 1.3rem;
    }

    .footer-column ul {
      list-style: none;
    }

    .footer-column ul li {
      margin-bottom: 10px;
    }

    .footer-column ul li a {
      color: #aaa;
      text-decoration: none;
      transition: var(--transition);
    }

    .footer-column ul li a:hover {
      color: var(--primary);
      padding-left: 5px;
    }

    .social-links {
      display: flex;
      gap: 15px;
      margin-top: 20px;
    }

    .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: var(--dark-light);
      color: white;
      border-radius: 50%;
      transition: var(--transition);
    }

    .social-links a:hover {
      background: var(--primary);
      transform: translateY(-3px);
    }

    .copyright {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid var(--gray);
      font-size: 0.9rem;
    }

    /* ===== RESPONSIVE STYLES ===== */
    @media (max-width: 992px) {
      .hero h1 {
        font-size: 2.8rem;
      }
      
      .section-title {
        font-size: 2.2rem;
      }
    }

    @media (max-width: 768px) {
      header {
        padding: 15px 20px;
      }
      
      header.scrolled {
        padding: 10px 20px;
      }
      
      nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
      }
      
      nav.active {
        right: 0;
      }
      
      .menu-toggle {
        display: flex;
      }
      
      .hero h1 {
        font-size: 2.3rem;
      }
      
      .hero p {
        font-size: 1.1rem;
      }
      
      .hero-buttons {
        flex-direction: column;
        align-items: center;
      }
      
      .section-title {
        font-size: 2rem;
      }
    }

    @media (max-width: 576px) {
      section {
        padding: 80px 15px;
      }
      
      .hero h1 {
        font-size: 2rem;
      }
      
      .hero-content {
        padding: 20px;
      }
      
      .section-title {
        font-size: 1.8rem;
      }
      
      .service-card, .product-card {
        padding: 20px;
      }
    }

    /* ===== ANIMATIONS ===== */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .fade-in {
      animation: fadeIn 1s ease forwards;
    }
/* === Corrected: Keep Navigation Centered While Scrolling === */
header {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* logo | nav | toggle */
  align-items: center;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 40px; /* smooth shrink on scroll */
  background: rgba(0, 0, 0, 0.95);
}

header .logo {
  justify-self: start; /* logo always left */
}

nav {
  display: flex;
  justify-content: center; /* center nav links */
  gap: 30px;
}

.menu-toggle {
  display: none; /* hidden on desktop */
  justify-self: end; /* toggle on the right */
}
/* === Company Logo Styles === */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
}

.logo-img {
  height: 50px;
  width: 50px;
}

/* Mobile logo size */
@media (max-width: 768px) {
  .logo-img {
    height: 25px;
    width: 25px;
  }
.logo {
    font-size: 1rem;   /* smaller company name */
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 576px) {
  section {
    padding: 80px 15px;
  }
  /* ... your existing small screen styles ... */
}

/* ✅ Mobile Menu Fix */
@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
  }

  .menu-toggle span {
    height: 3px;
    width: 30px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
  }
}
/* === Hamburger Icon Right Alignment === */
.menu-toggle {
  position: absolute;
  right: 20px;   /* push to right */
  top: 50%;
  transform: translateY(-50%); /* vertical center */
  display: none; /* hidden by default on desktop */
}

/* Show only on mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
  }
}
.product-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;   /* keeps aspect ratio */
  margin-bottom: 15px;
}

/* Smaller size on mobile */
@media (max-width: 768px) {
  .product-icon {
    width: 50px;
    height: 50px;
  }
}
/*---------------------------- */

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  top: 50%;
  transform: translateY(-50%);
}

