@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ========================================
   ROOT & GLOBAL STYLES
   ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth !important;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

:root {
  --overlay-z: 20;
  --primary: #00afef;
  --secondary: #989898;
}

a {
  text-decoration: none !important;
}

a > * {
  text-decoration: none;
}

hr {
  padding: 0 !important;
  margin: 0 !important;
}

footer {
  position: relative;
  z-index: 1;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h4 span {
  color: var(--primary);
}

h6 {
  padding: 10px;
  background-color: gray;
  color: white !important;
  border-radius: 5px;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}
/* Responsive: 1400px */
@media (max-width: 1400px) {
  h6 {
    font-size: 0.8rem !important;
  }
}

.shadow-text {
  text-shadow: 2px 2px 2px #222;
  color: gray;
}

.shadow-text span {
  font-weight: bold;
}

.heading {
  font-size: 2.5rem;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0.04em 0.04rem 0 #81b5ab;
}
/* Responsive: 576px */
@media (max-width: 576px) {
  .heading {
    font-size: 1.8rem;
  }
}

/* ========================================
   OVERLAY & STAIRS
   ======================================== */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--overlay-z);
}

.stairs-wrap {
  height: 100%;
  width: 100%;
  display: flex;
}

.stair {
  height: 100%;
  width: 20%;
  background: #000 !important;
  backdrop-filter: blur(10px);
}

/* ========================================
   BUTTONS
   ======================================== */
.button-1 {
  padding: 5px 20px;
  min-width: 100px;
  border-radius: 5px;
  border: 1px solid #222;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent;
  color: #222;
  transition: color 0.4s ease-in-out;
}

.button-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #222;
  transition: width 0.4s ease-in-out;
  z-index: -1;
}

.button-1:hover {
  color: #fff;
}

.button-1:hover::before {
  width: 100%;
}

.button-2 {
  padding: 5px 20px;
  min-width: 100px;
  border-radius: 5px;
  border: 1px solid #ffffff;
  position: relative;
  overflow: hidden;
  color: rgb(255, 255, 255);
  z-index: 1;
  background: transparent;
}

.button-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #ffffff;
  transition: all 0.4s ease-in-out;
  z-index: -1;
}

.button-2:hover {
  color: #000000;
  transition: 0.4s ease-in-out;
}

.button-2:hover::before {
  width: 100%;
}
/* Responsive: 576px */
@media (max-width: 576px) {
  .button-1,
  .button-2 {
    padding: 8px 15px;
    font-size: 0.85rem;
    min-width: 80px;
  }
}

/* ========================================
   IMAGE PLACEHOLDERS
   ======================================== */
.image-placeholder-1,
.image-placeholder-2,
.image-placeholder-3 {
  width: 180px;
  height: 60px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 25px;
  display: inline-block;
  margin: 0 5px;
  box-shadow: 3px 3px 3px #222;
}

.image-placeholder-1 {
  background-image: url(images/DIAG_Columns_diagram_1.jpg);
  margin: 0 20px !important;
  border: 1px solid #222;
}

.image-placeholder-2 {
  background-image: url(images/aboout-banner.jpg);
}

.image-placeholder-3 {
  background-image: url(images/gfrc-domes.webp);
}
/* Responsive: 768px */
@media (max-width: 768px) {
  .image-placeholder-1,
  .image-placeholder-2,
  .image-placeholder-3 {
    width: 120px;
    height: 45px;
    margin: 8px 5px !important;
  }
}
/* Responsive: 576px */
@media (max-width: 576px) {
  .image-placeholder-1,
  .image-placeholder-2,
  .image-placeholder-3 {
    width: 90px;
    height: 35px;
    display: block;
    margin: 10px auto !important;
  }
}

/* ========================================
   COMPARISON SECTION
   ======================================== */
.comparisonSection {
  position: relative;
  overflow: hidden;
  width: auto;
  height: 90vh;
  border-radius: 25px !important;
  max-width: 90%;
  margin: 0;
}

.comparisonImage,
.comparisonImage img {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
}

.afterImage {
  position: absolute;
  overflow: hidden;
  top: 0;
  transform: translateX(100%);
}

.afterImage img {
  transform: translateX(-100%);
}
/* Responsive: 768px */
@media (max-width: 768px) {
  .comparisonSection {
    width: 100vw;
    height: 35vh !important;
    max-width: 100%;
    border-radius: 0;
    margin: 0;
  }

  .comparisonImage,
  .comparisonImage img {
    width: 100vw;
    height: 35vh;
    object-fit: cover;
  }
}
/* Responsive: 576px */
@media (max-width: 576px) {
  .comparisonSection {
    height: 30vh !important;
  }

  .comparisonImage,
  .comparisonImage img {
    height: 30vh;
  }
}

/* ========================================
   PANEL / HERO SECTION
   ======================================== */
.panel {
  overflow: hidden;
  position: relative;
  height: 60vh;
  display: flex ;
  align-items: center;
  justify-content: center;
}

     .hero-grid {
            position: absolute;
            inset: 0;
            background-image: 
                linear-gradient(#00afef20 1px, transparent 1px),
                linear-gradient(90deg, #98989820 1px, transparent 1px);
            background-size: 100px 100px;
        }
        

.panel h4 {
  margin-top: -20px;
  font-size: 5.4rem;
  text-transform: uppercase;
  font-weight: 800 !important;
  line-height: 1em;
}

.panel h6 {
  letter-spacing: 1px;
  text-transform: uppercase;
}

.panel h4, .panel h6, .panel p, .panel .button-1 {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
}

/* 1600px ↓ */
@media (max-width: 1600px) {
  .panel h4 { font-size: 3.5rem; }
}

/* 1400px ↓ */
@media (max-width: 1400px) {
  .panel h4 { font-size: 3.2rem; }
}

/* 1024px ↓ */
@media (max-width: 1024px) {
  .panel h4 {
    font-size: 2.8rem;
    line-height: 1.2em;
  }
}

/* 📱 768px ↓ (Core Mobile Layout) */
@media (max-width: 768px) {
  .panel {
  }

  .panel .row {
    padding: 0 !important;
  }

  .panel h4 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-top: 10px;
  }

  .panel h6 {
    font-size: 0.85rem !important;
    display: inline-block;
    padding: 10px 14px;
    border-radius: 20px;
    text-transform: none;
    margin-top: 15px;
  }

  .logo-mobile {
    width: 100% !important;
    margin-top: 10px;
  }

  .image-placeholder-1,
  .image-placeholder-2 {
    display: inline-block;
    width: 100px;
    height: 30px;
    border-radius: 10px;
    vertical-align: middle;
    padding: 0;
    margin: 0 !important;
  }
}

/* 576px ↓ */
@media (max-width: 576px) {
  .panel h4 {
    font-size: 2.2rem;
    line-height: 1.4;
  }

  .logo-mobile {
    width: 100px;
  }
}


/* ========================================
   DYNAMIC TEXT SECTION
   ======================================== */
.section-two {
  height: 200vh;
}

.dynamic-text {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100vh;
  background: white;
}

.dynamic-text h2 {
  font-family: sans-serif;
  font-size: calc(2rem + 1.5vw);
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #000;
}

.dynamic-text-clone > div {
  color: #000;
  display: inline-block;
  filter: blur(8px);
  opacity: 0.5;
  transition: none;
}
/* Responsive: 768px */
@media (max-width: 768px) {
  .dynamic-text h2 {
    font-size: 2.5rem !important;
    text-align: center;
  }
  
  .dynamic-text-clone > div {
    font-size:1.8rem;
  }
  
  .section-container {
    padding: 0 15px;
  }
}

/* ========================================
   BLACK BACKGROUND SECTION
   ======================================== */
.black-bg {
  background-color: white;
  color: black;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.black-bg.active {
  background-color: black;
  color: white;
}

.black-bg.active .button-1 {
  border-color: #fff;
  color: #fff;
}

.black-bg.active .button-1:hover {
  background: #fff;
  color: #000;
}

/* ========================================
   SCROLL SECTION (Stacking Items)
   ======================================== */


.process-section {

  position: relative;
  overflow: hidden;
}

.wrapper {
  height: 100vh;
  position: relative;
  /* Force GPU acceleration */
  transform: translateZ(0);
  will-change: transform;
}

.list {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding: 0;
}

.item {
  width: 100vw;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border-radius: 0;
  /* Optimize for transforms */
  transform: translateZ(0);
  will-change: transform, border-radius, filter;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Process Number Badge */
.item_number {
  position: absolute;
  top: 60px;
  left: 60px;
  width: 80px;
  height: 80px;
  background: #fff;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* GPU acceleration */
  transform: translateZ(0);
  will-change: transform;
}

/* Content Area */
.item_content {
  width: 50%;
  padding: 100px 80px;
  background: linear-gradient(135deg, rgba(20,35,55,1) 0%, rgba(26,45,69,1) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  /* Prevent text rendering issues during animation */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}





.item_content h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.item_content h2 .highlight {
  color: var(--primary);
  text-shadow: 0 0 30px rgba(0,175,239,0.5);
  font-weight: 700;
}

.item_content p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

/* Media/Image Area - Optimized */
.item_media {
  width: 50%;
  height: 100%;
  object-fit: cover;
  position: relative;
  /* Critical for smooth animations */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.item_media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(20,35,55,0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Hover Effects - Use transforms only */


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large Tablets (1024px and below) */
@media (max-width: 1024px) {
  .item_number {
    top: 40px;
    left: 40px;
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .item_content {
    padding: 80px 60px;
  }
  
  .item_content h2 {
    font-size: 2.5rem;
  }
  
  .item_content p {
    font-size: 1rem;
  }
}

/* Tablets (991px and below) */
@media (max-width: 991px) {
  .item_number {
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .item_content {
    padding: 60px 40px;
  }
  
  .item_content h2 {
    font-size: 2rem;
  }
  
  .item_content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

/* Mobile Landscape & Portrait (768px and below) */
@media (max-width: 768px) {
  .item {
    flex-direction: column;
  }
  
  .item_content,
  .item_media {
    width: 100%;
  }
  
  .item_content {
    order: 2;
    padding: 80px 30px 40px;
    min-height: 60vh;
  }
  
  .item_media {
    order: 1;
    height: 40vh;
  }
  
  .item_number {
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .item_content h2 {
    font-size: 1.8rem;
    margin-top: 10px;
  }
  
  .item_content small {
    font-size: 0.7rem;
    margin-bottom: 15px;
  }
}

/* Small Mobile (576px and below) */
@media (max-width: 576px) {
  .item_content {
    padding: 70px 20px 30px;
  }
  
  .item_number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    top: 15px;
    left: 15px;
  }
  
  .item_content h2 {
    font-size: 1.5rem;
  }
  
  .item_content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
  .item_content {
    padding: 60px 15px 25px;
  }
  
  .item_content h2 {
    font-size: 1.3rem;
  }
  
  .item_content p {
    font-size: 0.85rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .item,
  .item_media,
  .item_number {
    transition: none !important;
    will-change: auto !important;
  }
}

        .products-section {
            background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
            padding: 100px 0;
        }

        .section-header { max-width: 900px; margin: 0 auto 80px; text-align: center; }
        .section-header h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 25px; color: var(--dark); }
        .section-header h1 .highlight { color: var(--primary); font-weight: 600; }
        .section-header p { font-size: 1.15rem; line-height: 1.8; color: #666; margin-bottom: 35px; }

.swiper-wrapper{
  padding: 50px 0px ;
}
        .products-swiper { padding: 0px 100px ; margin: 0 auto;  }
    
        .product-card {
            position: relative;
            height: 60vh;
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s ease;
        }
        .product-card::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 50%, rgba(20,35,55,0.95) 100%);
            z-index: 1;
        }
        .product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 20px -5px #33333350 }

        .product-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
        .product-card:hover .product-image { transform: scale(1.15); }

       

        .product-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 15px; z-index: 2; }
        .product-category { color: white; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-weight: 600; margin-bottom: 15px; display: block; }
        .product-title { font-size: 1.75rem; font-weight: 700; color: white; margin-bottom: 15px; }
        .product-description { font-size: 1rem; color: rgba(255,255,255,0.85); line-height: 1.7; ; opacity: 0; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
        .product-card:hover .product-description { opacity: 1; max-height: 100px;  }

        .product-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }
       
        .product-link::after { content: '→'; font-size: 1.2rem; }

        .swiper-controls { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 50px; }
        .swiper-button-prev, .swiper-button-next {
            position: static !important;
            width: 55px !important;
            height: 55px !important;
            background: var(--primary);
            border-radius: 50%;
            margin: 0 !important;
            box-shadow: 0 8px 24px rgba(0,175,239,0.3);
            transition: all 0.3s ease;
        }
        .swiper-button-prev:hover, .swiper-button-next:hover { transform: scale(1.1); }
        .swiper-button-prev::after, .swiper-button-next::after { font-size: 18px !important; color: white !important; }
        .swiper-pagination { position: relative !important; margin-top: 30px; }
        .swiper-pagination-bullet { width: 12px; height: 12px; background: #ddd !important; opacity: 1 !important; }
        .swiper-pagination-bullet-active { background: var(--primary) !important; width: 35px; border-radius: 6px; }

        @media (max-width: 768px) {
            .products-section { padding: 60px 0; }
            .section-header { margin-bottom: 50px; }
            .products-swiper { padding: 0 30px 60px; }
            .product-card { height: 420px; }
            .product-number { width: 50px; height: 50px; font-size: 1.25rem; top: 20px; left: 20px; }
            .product-content { padding: 25px; }
            .product-title { font-size: 1.3rem; }
        }

        @media (max-width: 576px) {
            .products-swiper { padding: 0 20px 50px; }
            .product-card { height: 400px; }
            .product-content { padding: 20px; }
            .product-title { font-size: 1.2rem; }
        }
/* ========================================
   CASE STUDY SECTION
   ======================================== */
.case-study-main {
  overflow: hidden;
}

.case-study {
  display: inline-block;
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  transition: all 0.3s ease-in-out;
  overflow: hidden;
}

.case-study::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background: #fff;
  z-index: 1;
  transition: height 0.5s ease-in-out;
}

.case-study:hover::before {
  height: 100%;
}

.case-study-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20vh;
}

.case-study:hover {
  color: #000;
  transition: 0.3s ease-in-out;
}

.case-study-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  object-fit: cover;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
  border-radius: 5%;
  transform: scale(0); /* start small */
}

/* Responsive: 768px */
@media (max-width: 768px) {
  .case-study-main h4 {
    font-size: 1.5rem;
    padding: 20px 15px !important;
  }
  
  .case-study {
    padding: 25px 15px;
  }
  
  .case-study-content {
    flex-direction: column;
    height: auto;
    gap: 15px;
    align-items: flex-start;
  }
  
  .case-study-content > div {
    width: 100% !important;
    text-align: left;
  }
  
  .case-study-content h3,
  .case-study-content h5 {
    font-size: 1rem;
  }
  
  .case-study-image {
    display: none !important;
  }
}

/* ========================================
   ZOOM IMAGE SECTION
   ======================================== */
.wrapper-2,
.content-2 {
  position: relative;
  width: 100%;
  z-index: 1;
}

.content-2 {
  overflow-x: hidden;
}

.content-2 .section-2 {
  width: 100%;
  height: 100vh;
}

.content-2 .section-2.hero-2 {
  background-image: url(images/industry.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.image-container-2 {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  perspective: 500px;
  overflow: hidden;
}

.image-container-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.3s ease;
}
/* Responsive: 767px */
@media (max-width: 767px) {
  .content-2 .section-2,
  .image-container-2,
  .wrapper-2 {
    height: 30vh;
  }

  .image-container-2 img {
    object-position: top center;
    filter: brightness(0.95);
  }
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
/* Responsive: 768px */
@media (max-width: 768px) {
  .newsletter-signup .input-group {
    flex-direction: column;

  }
   .form-control{
    width: 100% !important;
   }
  .newsletter-signup .form-control,
  .newsletter-signup .btn {
    width: 100%;
    border-radius: 5px !important;
  }
  
  .newsletter-signup .btn {
    margin-top: 10px;
  }
}

/* ========================================
   GENERAL RESPONSIVE TYPOGRAPHY
   ======================================== */
/* Responsive: 768px */
@media (max-width: 768px) {
  .container-xxl {
    padding: 0 15px;
  }
  
  h1 {
    font-size: 1.8rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.3rem !important;
  }
  
  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}
/* Responsive: 576px */
@media (max-width: 576px) {
  h1 {
    font-size: 1.5rem !important;
  }
  
  h2 {
    font-size: 1.3rem !important;
  }
  
  h3 {
    font-size: 1.1rem !important;
  }
  
  p {
    font-size: 0.9rem;
  }
}

/* ========================================
   MISC UTILITIES
   ======================================== */
/* Responsive: 991px */
@media (max-width: 991px) {
  .about-main {
    background-position-x: 90%;
  }
}
