
/* Duck.design Story Section CSS */
.story-section {
  background-color: #ffffff;
  padding: 40px 0 70px;
  position: relative;
}

.section-title {
  font-size: 45px;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 30px;
  text-align: left;
  line-height: 1.2;
}

.story-section__box {
  position: relative;
}

.story-section__list {
  display: grid;
  grid-template-columns: 2fr 1fr; /* First column wider for image boxes */
  grid-template-rows: auto auto;
  gap: 40px;
  max-width: 100%;
}

.story-section__item {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.story-section__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.story-section__item-img {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 40px;
}

.story-section__info {
  flex: 1;
  /* padding-right: 30px; */
}

.story-section__item-img .story-section__info {
  max-width: 60%;
}

.story-section__head {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.story-section__name {
  font-size: 21px;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story-section__number {
  font-size: 4rem;
  font-weight: 700;
  color: #0b73b9;
  line-height: 0.9;
  margin: 10px 0;
}

.story-section__txt {
  font-size: 15px;
  line-height: 30px;
  color: #000000;
  font-weight: 400;
  text-align: justify;
}

.story-section__img {
  flex-shrink: 0;
  width: 200px;
  height: 237px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-section__img img {
  max-width: 100%;
  max-height: 100%;
}

/* Specific grid positioning to match the image layout exactly */
.story-section__item:nth-child(1) {
  /* Projects Spanning the Globe - top left (wider) */
  grid-column: 1;
  grid-row: 1;
}

.story-section__item:nth-child(2) {
  /* Satisfied Clients - top right (narrower) */
  grid-column: 2;
  grid-row: 1;
}

.story-section__item:nth-child(3) {
  /* Top-tier Design Talent - bottom left (narrower) */
  grid-column: 1;
  grid-row: 2;
  max-width: 50%; /* Makes this box narrower */
  justify-self: start; /* Aligns to the left */
}

.story-section__item:nth-child(4) {
  /* Industry Leaders - bottom right (wider) */
  grid-column: 1 / span 2; /* Spans both columns */
  grid-row: 2;
  width: calc(100% - 32% - 40px); /* Calculates width considering the gap */
  justify-self: end; /* Aligns to the right */
  margin-left: auto; /* Pushes to the right */
}

/* Adjust the fourth box to have image on right like in the reference image */
.story-section__item:nth-child(4).story-section__item-img {
}
.story-section__item:nth-child(4) .story-section__info {
  padding-right: 0;
  padding-left: 30px;
}

/* Decorative elements */
.story-section__item::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  background: #0b73b9;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.story-section__item-img::before {
  display: none;
}

/* Add subtle sparkle effects */
.story-section__item:nth-child(2)::after,
.story-section__item:nth-child(4)::after {
  content: '✦';
  position: absolute;
  top: 20px;
  right: 30px;
  color: #0b73b9;
  font-size: 1.2rem;
  opacity: 0.6;
}

/* Responsive design */
@media (max-width: 768px) {
  .story-section {
    padding: 30px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
  
  .story-section__list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .story-section__item {
    padding: 30px;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .story-section__item-img {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .story-section__item-img .story-section__info {
    max-width: 100%;
    padding: 0 !important;
    margin-bottom: 20px;
  }
  
  .story-section__number {
    font-size: 3rem;
  }
  
  .story-section__img {
    width: 100px;
    height: 100px;
  }
  
  /* Reset grid positions for mobile */
  .story-section__item:nth-child(1),
  .story-section__item:nth-child(2),
  .story-section__item:nth-child(3),
  .story-section__item:nth-child(4) {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }
  
  /* Reset flex direction for fourth item on mobile */
  .story-section__item:nth-child(4).story-section__item-img {
    flex-direction: column;
    width: auto !important;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
  
  .story-section__item {
    padding: 25px;
  }
  
  .story-section__number {
    font-size: 2.5rem;
  }
  
  .story-section__name {
    font-size: 18px;
    text-align: left;
  }
  
  .story-section__txt {
    font-size: 0.9rem;
    text-align: left;
  }
}


/* Design-2 */

.otto.white {
            position: relative;
            color: white;
            padding: 40px 0;
            /* overflow-x: hidden; */
        }

        .fixed-video {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            z-index: -1;
        }

        .video-sticky-block {
            width: 100%;
            height: 100%;
        }

        .video-content {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .video-content video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            z-index: 1;
        }

        .main_container {
            position: relative;
            z-index: 10;
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .hero-wrap {
            display: flex;
            align-items: end;
            justify-content: space-between;
            min-height: 80vh;
            gap: 60px;
        }

        .hero-column-1 {
            flex: 1;
            max-width: 500px;
        }

        .heading.home-3-title {
            font-size: 39px;
            font-weight: 700;
            line-height: 1.1;
            margin: 0;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
        }

        .heading-style-1 {
            display: block;
            color: rgba(255, 255, 255, 0.7);
            font-weight: 300;
            margin-top: 0.2em;
        }

        .hero-column-2 {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 40px;
        }

        .hero-3-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            width: 100%;
            max-width: 600px;
        }

        .hero-3-grid-block {
            text-align: center;
            padding: 30px 20px;
            transition: all 0.3s ease;
        }

        .hero-3-grid-block:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .hero-3-grid-block.in-middle {
        border-left: 1px solid #fff;
        border-right: 1px solid #fff;
        }

        .hero-3-grid-text-1 {
            font-size: 30px;
            font-weight: 700;
            margin: 0 0 8px 0;
            color: #fff;
        }
      

.main {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.main video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5);
}

.main_container {
  position: relative;
  z-index: 10;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2%;
}

.main_container h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}

.main_container h2 {
  font-size: 3rem;
  font-weight: 500;
  color: #c4c4c4;
  margin-top: 10px;
  margin-bottom: 40px;
}

.stats {
  display: flex;
  gap: 60px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #e0e0e0;
}

.stats div {
  text-align: center;
}

.stats div span {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

        .hero-3-grid-text-2 {
            font-size: 0.9rem;
            font-weight: 400;
            margin: 0;
            color: rgba(255, 255, 255, 0.8);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .hero-wrap {
                flex-direction: column;
                text-align: center;
                gap: 40px;
                padding: 40px 0;
            }

            .hero-column-1,
            .hero-column-2 {
                flex: none;
                width: 100%;
                max-width: none;
            }

            .hero-column-2 {
                align-items: center;
            }

            .hero-3-grid {
                gap: 20px;
                grid-template-columns: repeat(3, 1fr);
                max-width: 300px;
            }

            .hero-3-grid-block.in-middle {
                transform: translateY(0);
                border: unset;
            }

            .hero-3-grid-text-1 {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            .main_container {
                padding: 0 15px;
            }

            .hero-3-grid-block {
                padding: 20px 15px;
            }
        }


/* Design-3 */

        .section {
            padding: 50px 0 60px;
            background-color: #fff;
        }

        .main_container {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .padding-inner {
            width: 100%;
        }

        .core-values-heading {
            text-align: left;
            margin-bottom: 30px;
        }

        .portfolio-heading {
            font-size: 50px;
            font-weight: 600;
            color: #000;
            margin: 0;
        }

        .core-values {
            width: 100%;
        }

        .core-value-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            width: 100%;
        }

        .core-block {
            background: #fff;
            transition: transform 0.3s ease;
            position: relative;
        }

        .core-value-box {
            padding: 0;
            position: relative;
        }

   

        .core-title {
            font-size: 24px;
            font-weight: 500;
            color: #000;
            margin-bottom: 10px;
            line-height: 1.2;
            margin-top: 20px;
        }

        .core-text {
            font-size: 15px;
            line-height: 28px;
            text-align: justify;
            color: #3f3f3f;
            width: 80%;
            margin: 0;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .section {
                padding: 60px 0;
            }
            
            .main_container {
                padding: 0 30px;
            }
            
            .portfolio-heading {
                font-size: 42px;
            }
            
            .core-value-list {
                gap: 35px;
            }
            
            .core-title {
                font-size: 28px;
            }
        }

        @media (max-width: 768px) {
            .section {
                padding: 50px 0;
            }
            
            .core-values-heading {
                margin-bottom: 40px;
            }
            
            .portfolio-heading {
                font-size: 36px;
            }
            
            .core-value-list {
                grid-template-columns: repeat(2, 1fr);
                gap: 30px;
            }
            
            .core-title {
                font-size: 24px;
                margin-bottom: 15px;
            }
            
            .core-text {
                font-size: 15px;
            }

            .core-value-box::before {
                width: 50px;
                height: 1px;
            }
        }

        @media (max-width: 480px) {
            .section {
                padding: 30px 0;
            }
            
            .main_container {
                padding: 0 20px;
            }
            
            .portfolio-heading {
                font-size: 32px;
            }
            
            .core-value-list {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            
            .core-title {
                font-size: 25px;
            }
            
            .core-text {
                font-size: 16px;
            }

            .core-value-box::before {
                width: 360px;
            }
        }

        @media (max-width: 360px) {
            .portfolio-heading {
                font-size: 28px;
            }
            
            .core-title {
                font-size: 20px;
            }
        }