/* ==========================================================
   TEXUVO RECYCLING SOLUTION PVT. LTD.
   Main Stylesheet — Version 6.1 (Fixed)
========================================================== */

/* ==============================
   GOOGLE FONT
============================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');


/* ==============================
   RESET
============================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #071b17;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ==============================
   VARIABLES
============================== */

:root {
  --primary: #18b66d;
  --primary-dark: #108a51;
  --secondary: #1fd989;
  --dark: #071b17;
  --card: #0d2923;
  --card2: #12342d;
  --white: #ffffff;
  --gray: #bfc8c4;
  --light: #edf5f2;
  --border: rgba(255, 255, 255, .08);
  --shadow: 0 15px 40px rgba(0, 0, 0, .35);
  --radius: 18px;
  --transition: .35s;
}


/* ==============================
   CONTAINER
============================== */

.container {
  width: min(1200px, 92%);
  margin: auto;
}


/* ==============================
   LINKS
============================== */

a {
  text-decoration: none;
  color: inherit;
  transition: .35s;
}


/* ==============================
   IMAGES
   FIX: Removed global img:hover scale — caused logo/layout jitter
============================== */

img {
  display: block;
  max-width: 100%;
  transition: .4s;
}


/* ==============================
   BUTTONS
============================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border-radius: 50px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  transition: .35s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(24, 182, 109, .35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  color: white;
  font-weight: 700;
  transition: .35s;
  font-size: 16px;
}

.btn-outline:hover {
  background: var(--primary);
}


/* ==============================
   SECTION
   FIX: Merged duplicate .section rules into one block.
        Scroll-reveal (opacity/transform) handled via .section + .section.active.
============================== */

/* Sections start hidden for scroll-reveal animation.
   Fallback animation ensures content is ALWAYS visible
   after 1.5s even if JS fails to load. */
.section {
  padding: 110px 0;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .8s ease, transform .8s ease;
  animation: fallbackReveal 0s 1.5s forwards;
}

.section.active {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

@keyframes fallbackReveal {
  to { opacity: 1; transform: translateY(0); }
}

.section-heading {
  text-align: center;
  margin-bottom: 70px;
}

.section-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(24, 182, 109, .12);
  border: 1px solid rgba(24, 182, 109, .35);
  border-radius: 30px;
  color: #7be8b3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-heading p {
  max-width: 760px;
  margin: auto;
  color: var(--gray);
}


/* ==============================
   BG VARIANTS
============================== */

.bg-light {
  background: rgba(255, 255, 255, .03);
}


/* ==============================
   NAVBAR
============================== */

#navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 99999;

    padding: 18px 0;

    background: #22B56A;

    transition: all .35s ease;
}

#navbar.sticky{
    background: #22B56A;
    padding: 12px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 68px;
}

.logo h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .5px;
}

/* FIX: Added list-style:none for desktop nav ul */
.navigation ul {
  display: flex;
  gap: 35px;
  align-items: center;
  list-style: none;
}

/* FIX: Removed old .navigation { display:flex; gap:35px } — now handled via ul */
.navigation {
  display: flex;
  align-items: center;
}

.navigation a {
  font-weight: 600;
  position: relative;
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .35s;
}

.navigation a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* FIX: Removed duplicate/conflicting #menu-toggle rule — only .hamburger used */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: white;
  margin: 6px 0;
  transition: .3s;
}

/* Hamburger → X animation when active */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* ==========================================================
                    HERO SECTION
========================================================== */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  background:
    linear-gradient(180deg,
      rgba(7, 27, 23, .25) 0px,
      rgba(7, 27, 23, .55) 160px,
      rgba(7, 27, 23, .85) 420px,
      rgba(7, 27, 23, .88) 100%),
    url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Radial glow overlay */
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right,
      rgba(24, 182, 109, .18),
      transparent 45%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* FIX: Added .hero-badge style (used in HTML but was missing from CSS) */
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(24, 182, 109, .15);
  border: 1px solid rgba(24, 182, 109, .4);
  border-radius: 30px;
  color: #7be8b3;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-left h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 25px;
}

.hero-left h1 span {
  color: var(--primary);
}

.hero-left p {
  font-size: 20px;
  color: var(--gray);
  max-width: 650px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Glass Card */
.hero-card {
  width: 100%;
  max-width: 430px;
  padding: 40px;
  border-radius: 25px;
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow);
  animation: floatCard 4s ease-in-out infinite;
}

.hero-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

/* Hero card list */
.hero-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-card ul li {
  color: var(--gray);
  font-size: 15px;
  font-weight: 500;
}

@keyframes floatCard {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #b4d9c7;
  font-size: 14px;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  width: 26px;
  height: 42px;
  border: 2px solid white;
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 5px;
  height: 10px;
  background: white;
  border-radius: 20px;
  transform: translateX(-50%);
  animation: wheel 1.6s infinite;
}

@keyframes wheel {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 15px); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Decorative Circles */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(24, 182, 109, .08);
  filter: blur(2px);
}

.hero-circle.one {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.hero-circle.two {
  width: 180px;
  height: 180px;
  bottom: 80px;
  left: -70px;
}


/* ==========================================================
                    QUICK STATS
========================================================== */

.quick-stats {
  padding: 70px 0;
  background: var(--card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-box {
  padding: 30px 20px;
}

.stat-box h2 {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-box p {
  color: var(--gray);
  font-size: 15px;
  font-weight: 500;
}


/* ==========================================================
                    ABOUT SECTION
========================================================== */

.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  transition: all .35s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
  border-color: rgba(24, 182, 109, .3);
}

.about-card .icon {
  font-size: 40px;
  margin-bottom: 18px;
}

.about-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}


/* ==========================================================
                    WHY CHOOSE US
========================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 28px;
  transition: all .35s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
  border-color: rgba(24, 182, 109, .3);
}

.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary);
}

.why-card p {
  color: var(--gray);
  line-height: 1.7;
}


/* ==========================================================
                    COMPANY PROFILE
========================================================== */

.company-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
}

.company-table {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
}

.company-row:last-child {
  border-bottom: none;
}

.company-row span {
  color: var(--gray);
  font-size: 14px;
  min-width: 130px;
  flex-shrink: 0;
}

.company-row strong {
  font-weight: 600;
  text-align: right;
  font-size: 14px;
}

.company-image img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}


/* ==========================================================
                    MISSION & VISION
========================================================== */

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 45px 35px;
  text-align: center;
  transition: all .35s ease;
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
}

.mv-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--primary);
}

.mv-card p {
  color: var(--gray);
  line-height: 1.8;
}


/* ==========================================================
                    CORE VALUES
========================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  transition: all .35s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
  border-color: rgba(24, 182, 109, .3);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.value-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}


/* ==========================================================
                    MATERIALS
========================================================== */

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.material-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: all .35s ease;
}

.material-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
  border-color: rgba(24, 182, 109, .3);
}

.material-icon {
  font-size: 44px;
  margin-bottom: 18px;
}

.material-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.material-card > p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.material-card ul {
  list-style: none;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.material-card ul li {
  color: var(--gray);
  font-size: 14px;
}

.material-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: .35s;
}

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


/* ==========================================================
                    HOW IT WORKS
========================================================== */

.process-section {
  background: var(--card);
}

.process-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.process-card {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  background: #0d2923;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all .35s ease;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(24, 182, 109, .3);
  box-shadow: var(--shadow);
}

.process-number {
  font-size: 36px;
  font-weight: 900;
  color: rgba(24, 182, 109, .25);
  line-height: 1;
  margin-bottom: 10px;
}

.process-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.process-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-card p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}

.process-arrow {
  font-size: 24px;
  color: var(--primary);
  align-self: center;
  flex-shrink: 0;
  padding-top: 10px;
}


/* ==========================================================
                    OUR IMPACT
========================================================== */

.impact-section {
  background: linear-gradient(135deg, rgba(24, 182, 109, .08), rgba(7, 27, 23, .9));
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.impact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  transition: all .35s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
  border-color: rgba(24, 182, 109, .3);
}

.impact-icon {
  font-size: 40px;
  margin-bottom: 18px;
}

.impact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.impact-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}


/* ==========================================================
                    INDUSTRIES
========================================================== */

.industries-section {
  background: var(--dark);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.industry-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  transition: all .35s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
  border-color: rgba(24, 182, 109, .3);
}

.industry-icon {
  font-size: 38px;
  margin-bottom: 16px;
}

.industry-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.industry-card p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
}


/* ==========================================================
                    ADVANTAGE SECTION
========================================================== */

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.advantage-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px 28px;
  transition: all .35s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
  border-color: rgba(24, 182, 109, .3);
}

.advantage-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary);
}

.advantage-card p {
  color: var(--gray);
  line-height: 1.7;
}


/* ==========================================================
                    CONTACT SECTION
========================================================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 25px;
  transition: all .35s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .35);
  border-color: rgba(24, 182, 109, .3);
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-card p {
  color: var(--gray);
  font-size: 14px;
}

.contact-form-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 45px 40px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #d4dfdb;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border .3s;
  outline: none;
}

.form-group select option {
  background: #0d2923;
  color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(24, 182, 109, .18);
}

.contact-form-box button {
  width: 100%;
  margin-top: 10px;
}


/* ==========================================================
                    CTA SECTION
========================================================== */

.cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #18b66d, #0f7f4b);
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-section p {
  max-width: 760px;
  margin: 0 auto 35px;
  font-size: 18px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FIX: CTA overrides scoped to .cta-section to avoid leaking */
.cta-section .btn-primary {
  background: #fff;
  color: #18b66d;
}

.cta-section .btn-primary:hover {
  background: #f2f2f2;
  transform: translateY(-4px);
}

.cta-section .btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.cta-section .btn-outline:hover {
  background: #fff;
  color: #18b66d;
}


/* ==========================================================
                    FOOTER
========================================================== */

#footer {
  background: #04110e;
  padding: 90px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  width: 90px;
  margin-bottom: 20px;
}

.footer-text {
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 30px;
}

.footer-contact p {
  margin-bottom: 12px;
  color: #d4dfdb;
}

.footer-column h3 {
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 700;
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 45px;
  height: 3px;
  background: var(--primary);
}

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

.footer-column ul li {
  margin-bottom: 14px;
  color: var(--gray);
  font-size: 15px;
}

.footer-column ul li a {
  color: var(--gray);
  transition: .3s;
}

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

.footer-line {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, .08);
  margin: 35px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--gray);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gray);
}

.footer-links a:hover {
  color: var(--primary);
}


/* ==========================================================
                FLOATING WHATSAPP
========================================================== */

.whatsapp-float {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
  z-index: 999;
  transition: .35s;
  animation: whatsappFloat 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes whatsappFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}


/* ==========================================================
                BACK TO TOP
========================================================== */

#backToTop {
  position: fixed;
  left: 30px;
  bottom: 30px;
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .35s;
  z-index: 999;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: var(--secondary);
  transform: translateY(-5px);
}


/* ==========================================================
                GLASS EFFECT
========================================================== */

.glass {
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
}


/* ==========================================================
                CUSTOM SCROLLBAR
========================================================== */

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #081c18; }
::-webkit-scrollbar-thumb { background: #18b66d; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: #22d986; }


/* ==========================================================
                TEXT SELECTION
========================================================== */

::selection {
  background: #18b66d;
  color: white;
}


/* ==========================================================
                LOADER
========================================================== */

.loader {
  position: fixed;
  inset: 0;
  background: #071b17;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.loader::after {
  content: "";
  width: 70px;
  height: 70px;
  border: 6px solid rgba(255, 255, 255, .15);
  border-top: 6px solid #18b66d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}


/* ==========================================================
                RESPONSIVE — HERO
========================================================== */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left p {
    margin: 0 auto 35px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-left h1 {
    font-size: 46px;
  }
}

@media (max-width: 600px) {
  .hero-left h1 {
    font-size: 34px;
  }
}


/* ==========================================================
                RESPONSIVE — STATS
========================================================== */

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==========================================================
                RESPONSIVE — ABOUT / VALUES / IMPACT
========================================================== */

@media (max-width: 1024px) {
  .about-grid,
  .values-grid,
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .about-grid,
  .values-grid,
  .impact-grid,
  .industries-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
                RESPONSIVE — WHY / COMPANY / MV
========================================================== */

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
                RESPONSIVE — MATERIALS
========================================================== */

@media (max-width: 992px) {
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
                RESPONSIVE — PROCESS
========================================================== */

@media (max-width: 768px) {
  .process-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .process-card {
    max-width: 100%;
    width: 100%;
  }

  .process-arrow {
    transform: rotate(90deg);
  }
}


/* ==========================================================
                RESPONSIVE — CONTACT
========================================================== */

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-form-box {
    padding: 30px;
  }
}


/* ==========================================================
                RESPONSIVE — CTA
========================================================== */

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 34px;
  }

  .cta-section p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons a {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================
                RESPONSIVE — FOOTER
========================================================== */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}


/* ==========================================================
                RESPONSIVE — MOBILE MENU
========================================================== */

@media (max-width: 992px) {
  .navigation {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: #081f1b;
    flex-direction: column;
    justify-content: flex-start;
    padding: 50px 25px;
    transition: .4s;
    box-shadow: -10px 0 25px rgba(0, 0, 0, .35);
    overflow-y: auto;
  }

  .navigation.active {
    right: 0;
  }

  .navigation ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .navigation ul li {
    width: 100%;
  }

  .navigation a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-buttons {
    display: none;
  }

  .hamburger {
    display: block;
  }
}


/* ==========================================================
                RESPONSIVE — GENERAL SECTION
========================================================== */

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .container {
    width: 94%;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    right: 20px;
    bottom: 20px;
  }

  #backToTop {
    left: 20px;
    bottom: 20px;
  }
}

/* ==========================================================
                END
========================================================== */
