.ourStory {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 150px 30px 30px 30px;
}

.story-card {
    display: grid;
    grid-template-columns: 45% 50%;
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.story-info{
    max-width: 600px;
}

.story-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.story-img img {
    border-radius: 20px;
}

 /* about us section*/
.about {
    padding: 30px;
    text-align: center;
}


.solution-master-card {
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: none;
    box-sizing: border-box;
}

.solution-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #F5F6F8;
    padding: 6px;
    border-radius: 50px;
    gap: 6px;
    margin-bottom: 40px;
}

.step-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 40px;
    color: #6B7280;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-tab:hover {
    color: #233A67;
}

.step-tab.active {
    background: #FFFFFF;
    color: #233A67;
    box-shadow: 0 2px 8px rgba(35, 58, 103, 0.08);
}

.tab-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.step-tab.active .tab-num {
    background: #233A67;
    color: #FFFFFF;
}

.step-panel {
    display: none;
    grid-template-columns: 40% minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    text-align: left;
}

.step-panel.active {
    display: grid;
    animation: fadeIn 0.3s ease-in-out;
}

.step-media {
    width: 100%;
    max-width: 388px;
    height: 320px;
    padding: 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.step-media img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.step-text {
    padding-left: 8px;
}

.step-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: #233A67;
    letter-spacing: 0.06em;
    background: #EEF2F8;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-block;
}

.step-text h3 {
    font-size: 1.65rem;
    color: #233A67;
    margin: 12px 0 10px;
    font-weight: 800;
    line-height: 1.3;
}

.step-text p {
    color: #1C1C1C;
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 868px) {
    .solution-master-card {
        padding: 28px 20px;
    }
    .solution-tabs {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 16px;
    }
    .step-panel {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/*our products css*/
.products {
    align-content: center;
    text-align: left;
}

.products-wrap {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.products-info p {
    max-width: 65ch;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 24px;
}

.products-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 20px;
    margin: 20px auto;
    background: #fff;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.products-img img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    border-radius: 20px;
}

/* services css */
.services {
    align-content: center;
    text-align: left;
}

.services-wrap {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.services-info p {
    max-width: 68ch;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 24px;
}

.services-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    margin: 20px auto;
    background: #fff;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.services-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/*button styling for products and services*/
.about-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    
    background: #ffffff;
    color: var(--navy, #233A67);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(35, 58, 103, 0.08),  0 10px 20px -3px rgba(35, 58, 103, 0.12);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}


.about-page-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 12px -2px rgba(35, 58, 103, 0.1), 0 16px 28px -4px rgba(35, 58, 103, 0.18);
}

.about-page-btn .btn-arrow {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-page-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.about-page-btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 2px 4px -1px rgba(35, 58, 103, 0.1), 0 4px 8px -2px rgba(35, 58, 103, 0.12);
}

/* next step stying */
.step-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    margin: 20px auto;
    font: inherit;

    background: var(--navy, #233A67);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(35, 58, 103, 0.08), 0 10px 20px -3px rgba(35, 58, 103, 0.12);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}

.step-next-btn:hover {
    background: var(--navy, #233A67);
    transform: translateY(-3px);
    box-shadow: 0 8px 12px -2px rgba(35, 58, 103, 0.1), 0 16px 28px -4px rgba(35, 58, 103, 0.18);
}

.step-next-btn .btn-arrow {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-next-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.step-next-btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 2px 4px -1px rgba(35, 58, 103, 0.1), 0 4px 8px -2px rgba(35, 58, 103, 0.12);
}

/* core tech section*/
.coreTech {
    padding: 30px 40px;
}

.coreTech h1 {
    text-align: center;
    margin-bottom: 40px;
}

.coreTech-wrap {
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.coreTech-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.coreTech-info > p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.CT-info-sec {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.CT-info-sec img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f0f0f0;
    padding: 10px;
    object-fit: contain;
}

.CT-info-sec p {
    margin: 0;
    line-height: 1.5;
    padding-top: 8px;
}

.MinOfEnviro-sec {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.MinOfEnviro-sec img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    object-fit: contain;
}

.MinOfEnviro-sec p {
    margin: 0;
    font-style: italic;
    line-height: 1.5;
}

/* calc-banner section*/
.calc-banner {
    position: relative;
    width: 100%;
    padding: 48px 24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.calc-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}


.calc-text {
    text-align: left;
    max-width: 650px;
}

.calc-text h2 {
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.calc-text p {
    color: #e2e8f0;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

#calc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    white-space: nowrap;
    background: #FAD12C;
    color: var(--navy, #233A67);
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}


#calc-btn .btn-arrow {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    background-color: #fff;
    color: var(--navy, #233A67);
}

#calc-btn:hover .btn-arrow {
    transform: translateX(5px);
}

#calc-btn:active {
    transform: translateY(1px) scale(0.97);
}

/* Container layout for whole page*/
.ourStory,
.products,
.services,
.coreTech,
.ourSolution {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
  width: 100%;
  box-sizing: border-box;
}

.about {
  padding: 30px 24px;
  text-align: center;
}

.story-card,
.products-wrap,
.services-wrap,
.coreTech-wrap {
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.story-info,
.products-info,
.services-info,
.coreTech-info {
  width: 100%;
  max-width: 600px;
}

.products-info p,
.services-info p,
.coreTech-info > p {
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 24px;
  font-size: 1rem;
}

.story-img,
.products-img,
.services-img,
.coreTech-img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
}

.story-img img,
.products-img img,
.services-img img,
.coreTech-img img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.solution-master-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.solution-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #f5f6f8;
  padding: 6px;
  border-radius: 50px;
  gap: 6px;
  margin-bottom: 40px;
}

.step-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 40px;
  color: #6b7280;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.step-tab:hover {
  color: #233a67;
}

.step-tab.active {
  background: #ffffff;
  color: #233a67;
  box-shadow: 0 2px 8px rgba(35, 58, 103, 0.08);
}

.tab-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.step-tab.active .tab-num {
  background: #233a67;
  color: #ffffff;
}

.step-panel {
  display: none;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  text-align: left;
}

.step-panel.active {
  display: grid;
  animation: fadeIn 0.3s ease-in-out;
}

.step-media {
  width: 100%;
  max-width: 380px;
  height: 320px;
  padding: 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.step-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #233a67;
  letter-spacing: 0.06em;
  background: #eef2f8;
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-block;
}

.step-text h3 {
  font-size: 1.65rem;
  color: #233a67;
  margin: 12px 0 10px;
  font-weight: 800;
  line-height: 1.3;
}

.step-text p {
  color: #1c1c1c;
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0;
}

/*Core tech section*/
.CT-info-sec {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.CT-info-sec img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f0f0f0;
  padding: 8px;
  object-fit: contain;
}

.CT-info-sec p {
  margin: 0;
  line-height: 1.5;
}

.MinOfEnviro-sec {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}

.MinOfEnviro-sec img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.MinOfEnviro-sec p {
  margin: 0;
  font-style: italic;
  line-height: 1.5;
}

/*calc banner section*/
.calc-banner {
  width: 100%;
  padding: 60px 24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.calc-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.calc-text {
  text-align: left;
  max-width: 650px;
}

.calc-text h2 {
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.calc-text p {
  color: #e2e8f0;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.about-page-btn,
.step-next-btn,
#calc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.about-page-btn {
  background: #ffffff;
  color: #233a67;
  box-shadow: 0 4px 12px rgba(35, 58, 103, 0.1);
}

.step-next-btn {
  background: #233a67;
  color: #ffffff;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(35, 58, 103, 0.15);
}

#calc-btn {
  background: #fad12c;
  color: #233a67;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.about-page-btn:hover,
.step-next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35, 58, 103, 0.2);
}

#calc-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.about-page-btn:hover .btn-arrow,
.step-next-btn:hover .btn-arrow,
#calc-btn:hover .btn-arrow {
  transform: translateX(4px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.solution-dropdown-wrapper {
  display: none;
  width: 100%;
  margin-bottom: 32px;
  box-sizing: border-box;
}

.solution-select {
  width: 100%;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: #233a67;
  background-color: #f5f6f8;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-position: right 20px center;
  background-size: 18px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.solution-select:hover {
  background-color: #eef2f8;
}

.solution-select:focus {
  background-color: #ffffff;
  border-color: #233a67;
  box-shadow: 0 4px 16px rgba(35, 58, 103, 0.12);
}

.solution-select option {
  font-weight: 600;
  color: #1c1c1c;
  background-color: #ffffff;
  padding: 12px;
}

@media (max-width: 768px) {
  .solution-tabs {
    display: none !important;
  }

  .solution-dropdown-wrapper {
    display: block;
  }
}

/* dropdown styling for ipad and mobile */
.solution-dropdown-wrapper {
  display: none;
  margin-bottom: 24px;
  width: 100%;
}

.solution-select {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #233a67;
  background-color: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 50px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23233A67' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  box-shadow: 0 2px 8px rgba(35, 58, 103, 0.08);
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
}

.solution-select:focus {
  border-color: #233a67;
}

/* Ipad 769px to 1024px*/
@media (max-width: 1024px) {
  .ourStory,
  .products,
  .services,
  .coreTech,
  .ourSolution,
  .about {
    padding: 50px 32px;
  }

  .story-card,
  .products-wrap,
  .services-wrap,
  .coreTech-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px;
  }

  .products-img,
  .coreTech-img {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 15px; 
    padding: 0px; 
  }

  .services-img {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
    padding: 0; 
  }

  .services-wrap {
    gap: 0; 
    align-items: center;
  }

  .story-info,
  .products-info,
  .services-info,
  .coreTech-info {
    text-align: center;
    max-width: 100%;
  }

  .products-info p,
  .services-info p,
  .coreTech-info > p {
    line-height: 1.7;
    color: #4a5568;
    margin: 24px auto;
    font-size: 1rem;
  }


  .step-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .step-media {
    order: -1;
    max-width: 360px;
    height: 280px;
    margin: 0 auto;
  }

  .CT-info-sec,
  .MinOfEnviro-sec {
    text-align: left;
    padding: 0px 50px;
  }
}

/* large phones 768px */
@media (max-width: 768px) {
  .ourStory,
  .products,
  .services,
  .coreTech,
  .ourSolution,
  .about {
    padding: 36px 20px;
  }

  .story-card,
  .products-wrap,
  .services-wrap,
  .coreTech-wrap,
  .solution-master-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .solution-tabs {
    display: none !important;
  }

  .solution-dropdown-wrapper {
    display: block;
    width: 100%;
  }

  .products-img,
  .services-img,
  .coreTech-img {
    max-width: 260px;
  }

  .products-img img,
  .services-img img,
  .coreTech-img img {
    max-height: 220px;
  }

  .products-info p,
  .services-info p,
  .coreTech-info > p {
    line-height: 1.7;
    color: #4a5568;
    margin: 24px auto;
    font-size: 1rem;
}

  .calc-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .calc-text {
    text-align: center;
  }

  .calc-text h2 {
    font-size: 1.5rem;
  }

  .calc-text p {
    font-size: 0.95rem;
  }

  .about-page-btn,
  .step-next-btn,
  #calc-btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

/* Small Mobile 480px */
@media (max-width: 480px) {
  .step-text h3 {
    font-size: 1.35rem;
  }

  .story-card,
  .products-wrap,
  .services-wrap,
  .coreTech-wrap {
    padding: 24px 16px;
    border-radius: 16px;
  }

}