
/* =============================
   CSS VARIABLES
============================= */
:root {
  /* Primary colors */
  --primary-blue: #279cff;
  --secondary-blue: #1e88e5;
  --accent-green: #82c620;

  /* Grayscale */
  --white: #ffffff;
  --black: #000000;
  --gray-light: #f6f9fc;
  --gray-medium: #eaeaea;
  --gray-dark: #444;
  --gray-dark2: #222;
  --gray-dark3: #111827;
  --gray-mid: #475569;
  --gray-light2: #dbeeff;
  --gray-subtitle: #555;
  --gray-alt: #eee;

  /* Stats gradient */
  --gradient-stats: linear-gradient(180deg, var(--secondary-blue) 0%, #165a9a 100%);

  /* Contact gradient */
  --gradient-contact: linear-gradient(
    160deg,
    #1e3a8a 0%,
    var(--secondary-blue) 55%,
    #2fa4a9 100%
  );
}

/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 620px;
  width: 100%;
  overflow: visible;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.38) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.hero-text {
  position: absolute;
  bottom: 32%;
  left: 8%;
  max-width: 560px;
  color: var(--white);
  z-index: 2;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-text h1 span {
  color: var(--accent-green);
}

.hero-text p {
  font-size: 20px;
  margin: 16px 0 22px;
  color: var(--gray-medium);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ===== Sections ===== */
section {
  padding: 80px 50px;
}

/* ===== About Us ===== */
.about-us {
  background: var(--white);
}

.about-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--accent-green);
}

.about-subtitle {
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.about-content h2 {
  font-size: 38px;
  color: var(--black);
  margin-bottom: 20px;
}
.about-content h2 span {
  color: var(--secondary-blue);
}
.about-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--gray-dark);
}

.about-points {
  margin-top: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 720px;
}

.about-box {
  position: relative;
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  background: var(--white);
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--gray-dark2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}
.about-box.show {
  opacity: 1;
  transform: translateY(0);
}

.about-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 3px;
  width: 6px;
  background: var(--accent-green);
  border-radius: 6px;
}

.about-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* ===== Why Choose Us ===== */
.why-choose-us {
  background: var(--gray-light2);
  color: var(--white);
}

.choose-container {
  max-width: 1200px;
  margin: auto;
}

.choose-header {
  text-align: center;
  margin-bottom: 55px;
}

.choose-header h2 {
  font-size: 38px;
  margin-bottom: 10px;
  color: #0f172a;
}

.choose-header p {
  font-size: 18px;
  color: #334155;
  max-width: 700px;
  margin: auto;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}

.choose-card {
  background: var(--white);
  color: var(--gray-dark2);
  padding: 40px 26px;
  border-radius: 18px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.6s ease;
  will-change: transform;
}

.choose-card.active {
  opacity: 1;
  transform: translateY(0);
}

.icon-circle {
  width: 56px;
  height: 56px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 18px;
}

.choose-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--black);
}

.choose-card p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--gray-dark);
}

.choose-card.active:hover {
  transform: translateY(0) scale(1.04);
  box-shadow: 0 20px 40px rgba(39,156,255,0.35);
}

/* ===== Products Marquee Section ===== */
.products-marquee-section {
  padding: 80px 0 60px;
  background: var(--gray-light);
}

.products-marquee-section .section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.products-marquee-section .section-title span {
  color: var(--secondary-blue);
}

.products-marquee-section h2 {
  font-size: 38px;
  color: #0f172a;
  margin-bottom: 10px;
}
.products-marquee-section h2 span {
  color: var(--primary-blue);
}
.products-marquee-section p {
  color: #475569;
  font-size: 17px;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 30s linear infinite;
}

.marquee-card {
  background: var(--white);
  border-radius: 14px;
  width: 270px;
  height: 300px;
  margin-right: 26px;
  padding: 18px;
  text-align: center;
  border:1px solid #a1c9ee;;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition:  transform 0.35s ease, box-shadow 0.35s ease;
}

.marquee-card img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 14px;
}

.marquee-card h4 {
  font-size: 16px;
  color: #1e293b;
  font-weight: 600;
}

.marquee-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 18px 40px rgba(39,156,255,0.18);
  z-index: 5;
}

@keyframes marqueeMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* ================= OUR PROCESS ================= */
.our-process {
  position: relative;
  padding: 80px 20px;
  color: var(--white);
  overflow: hidden;
}

/* Video */
.process-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.process-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

/* Container */
.process-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.process-header {
  text-align: center;
  margin-bottom: 45px;
}

.process-header span {
  color: var(--secondary-blue);
}

.process-header h2 {
  font-size: 38px;
  margin-bottom: 12px;
  color: var(--black);
}

.process-header p {
  font-size:19px;
  color: var(--gray-alt);
}

/* Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

/* Card */
.process-card {
  background: rgba(255,255,255,0.12);
  padding: 32px 25px;
  border-radius: 14px;
  border-left: 5px solid var(--accent-green);

  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

/* Active reveal */
.process-card.active {
  opacity: 1;
  transform: translateY(0);
}

/* Number */
.process-card span {
  font-size: 28px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

/* Title */
.process-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

/* Text */
.process-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-alt);
}

/* Hover */
.process-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

/* ================= INDUSTRIES SECTION ================= */
.industries-section {
  background: var(--gray-light);
  padding: 90px 20px;
}

.industries-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.industries-header h2 {
  font-size: 38px;
  color: var(--black);
  margin-bottom: 12px;
}

.industries-header h2 span {
  color: var(--secondary-blue);
}

.industries-header p {
  font-size: 16px;
  color: var(--gray-subtitle);
  font-weight: 600;
}

/* Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

/* Card */
.industry-card {
  background: var(--white); 
  padding: 48px 30px;
  border-radius: 18px;
  text-align: center;

  border: 2px solid transparent;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);

  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: all 0.6s ease;
}

.industry-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Icon */
.industry-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

/* Text */
.industry-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--gray-dark2);
}

.industry-card span {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.industry-card::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--accent-green);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* Hover */
.industry-card:hover {
  transform: translateY(-16px) scale(1.05);
  border-color: var(--primary-blue);
  box-shadow: 0 35px 80px rgba(0,0,0,0.18);
}

.industry-card:hover img {
  transform: scale(1.15);
}

/* ================= STATS ================= */
.stats {
  background: var(--gradient-stats);
  padding: 80px 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat h3 {
  font-size: 48px;
  color: var(--white);
}

.stat p {
  color: rgba(255,255,255,0.85);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* ================= CERTIFICATIONS ================= */
.certifications-section {
  padding: 90px 20px;
  background: var(--white);
  border-radius: 0;
}

.cert-block {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 60px;

  background: #d8ecff; 
  border-radius: 30px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35);
  transition: all 0.7s ease;

  opacity: 0;
  transform: translateY(80px);
}

.cert-block.active {
  opacity: 1;
  transform: translateY(0);
}

.cert-block:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 55px 130px rgba(0,0,0,0.5);
}

.cert-block h2 {
  text-align: center;
  font-size: 38px;
  color: #0f172a;
  margin-bottom: 12px;
}

.cert-block h2 span {
  color: var(--primary-blue);
}

.cert-block .subtitle {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 55px;
  color: var(--gray-mid);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.cert-card {
  background: var(--white);
  padding: 45px 30px;
  border-radius: 22px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border: 3px solid rgba(255,255,255,0.4);
  box-shadow: 0 30px 70px rgba(0, 60, 120, 0.18);
  transition: all 0.5s ease;
}

.cert-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--primary-blue);
  box-shadow: 0 30px 70px rgba(39,156,255,0.25);
}

.cert-icon {
  font-size: 46px;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.cert-card h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--primary-blue);
}

.cert-card span {
  font-size: 14px;
  color: #555;
}


/* ================= CONTACT SECTION ================= */

.contact-wrap {
  padding: 40px 20px;
  background: var(--gradient-contact);
  color: var(--white);
}

.contact-inner {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.contact-title {
  font-size: 34px;
  font-weight: 700;
}

.contact-sub {
  max-width: 680px;
  margin: 12px auto 40px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

/* Main box */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

/* ================= LEFT ================= */
.contact-left {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  padding: 32px 28px;
  text-align: left;
}

.contact-left h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.contact-left > p {
  font-size: 15px;
  margin-bottom: 22px;
  color: #e0ecff;
}

/* Contact items */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.contact-item span {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: rgba(255,255,255,0.15);
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-item strong {
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-item p {
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  word-break: break-word;
}
.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}


/* ================= RIGHT ================= */
.contact-right {
  background: var(--white);
  padding: 32px 30px;
  text-align: left;
  color: #1e293b;
}

.contact-right h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-right input,
.contact-right select,
.contact-right textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
}

.contact-right textarea {
  resize: none;
}

.contact-right button {
  width: 100%;
  padding: 12px;
  border-radius: 24px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================= SCROLL REVEAL ================= */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= BACK TO TOP BUTTON ================= */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 35px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
  color: var(--white);
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: var(--accent-green);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.45);
}

/* =============================
   RESPONSIVENESS
============================= */

/* ===== Tablets & Small Laptops ===== */
@media (max-width: 1024px) {
  section { padding: 70px 30px; }

  /* Hero */
  .hero-text h1 { font-size: 48px; }
  .hero-text p { font-size: 18px; }

  /* About Us */
  .about-wrapper { gap: 40px; }
  .about-content h2 { font-size: 32px; }

  /* Why Choose Us */
  .choose-header h2 { font-size: 32px; }
  .choose-grid { gap: 24px; }
}

/* ===== Tablets / Large Phones ===== */
@media (max-width: 768px) {
  section { padding: 60px 20px; }

  /* Hero */
  .hero-slider { height: 65vh; min-height: 420px; }
  .hero-text {
    left: 5%;
    right: 5%;
    bottom: 20%;
    max-width: 100%;
  }
  .hero-text h1 { font-size: clamp(28px, 6vw, 34px); line-height: 1.2; }
  .hero-text p { font-size: 16px; }

  /* About Us */
  .about-wrapper { flex-direction: column; text-align: center; gap: 30px; }
  .about-image img { width: 260px; height: 260px; }
  .about-content h2 { font-size: 28px; }
  .about-points { grid-template-columns: 1fr; gap: 20px; }
  .about-box::before { left: 10px; width: 4px; }

  /* Why Choose Us */
  .choose-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Products Marquee */
  .marquee-card { width: 200px; height: 250px; }
  .marquee-card img { width: 160px; height: 160px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-header h2 { font-size: 28px; }
  .process-header p { font-size: 16px; }

  /* Industries */
  .industry-grid { grid-template-columns: 1fr; gap: 20px; }
  .industry-card { padding: 30px 20px; }

  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; padding: 50px 20px; }
  .stat h3 { font-size: 32px; }
  .stat p { font-size: 16px; }

  /* Certifications */
  .cert-block { padding: 40px 20px; }
  .cert-block h2 { font-size: 28px; }
  .cert-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Contact Section – stack Contact Info & Form */
  .contact-box { display: flex; flex-direction: column; }
  .contact-left, .contact-right { padding: 35px 20px; }
  .contact-right h3 { text-align: center; margin-top: 20px; }
}

/* ===== Small Phones (320px - 480px) ===== */
@media (max-width: 480px) {
  section { padding: 50px 15px; }

  /* Hero */
  .hero-slider { height: 55vh; min-height: 300px; }
  .hero-text h1 { font-size: clamp(22px, 7vw, 26px); }
  .hero-text p { font-size: 14px; }
  .btn { padding: 10px 18px; font-size: 14px; }

  /* About Us */
  .about-image img { width: 200px; height: 200px; }
  .about-content h2 { font-size: 24px; }
  .about-points { gap: 15px; }
  .about-box::before { left: 8px; width: 3px; }

  /* Products Marquee */
  .marquee-card { width: 160px; height: 200px; }
  .marquee-card img { width: 130px; height: 130px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; }
  .process-header h2 { font-size: 24px; }
  .process-header p { font-size: 14px; }

  /* Industries */
  .industry-card { padding: 25px 15px; }
  .industry-card h4 { font-size: 16px; }
  .industry-card span { font-size: 12px; }

  /* Stats */
  .stats { grid-template-columns: 1fr; gap: 15px; }
  .stat h3 { font-size: 28px; }
  .stat p { font-size: 14px; }

  /* Certifications */
  .cert-block { padding: 30px 15px; }
  .cert-block h2 { font-size: 24px; }
  .cert-grid { gap: 15px; }

  /* Contact Section – stacked layout & website text fix */
  .contact-left, .contact-right { padding: 25px 15px; }
  .contact-right h3 { text-align: center; margin-top: 15px; }
  .contact-right input,
  .contact-right select,
  .contact-right textarea { font-size: 13px; padding: 12px 14px; }
  .contact-right button { font-size: 14px; padding: 12px; }

  /* Fix Website text wrapping */
  .contact-item { flex-wrap: wrap; gap: 10px; padding: 18px 14px; }
  .contact-item div {
    flex: 1 1 100%;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .contact-item div p { font-size: 13px; line-height: 1.3; }
  .contact-item span { width: 42px; height: 42px; font-size: 18px; }
}


