.hero{
    height: 250px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
}

.hero-title{
    color: white;
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.hero-subtitle{
    text-align: center;
    color: grey;
}


/* Section 1 */
.section1{
    padding: 60px 0;
    height: auto;
}

.about-us-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.about-us-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.about-us-divider {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20" viewBox="0 0 200 20"><path d="M0,10 Q25,20 50,10 T100,10 T150,10 T200,10" fill="none" stroke="%23858386" stroke-width="2"/></svg>') center no-repeat;
    height: 20px;
    margin: 15px auto 30px;
}

.about-us-description {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
    line-height: 1.6;
    padding: 0px;
}

/* Industries List Styles */
.industries-list-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0 auto 50px;
    max-width: 800px;
}

.industries-column {
    flex: 0 0 auto;
}

.industries-ul {
    list-style-type: disc;
    text-align: left;
    padding-left: 20px;
}

.industries-ul li {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    padding: 4px 0;
}







/* Section 2 */
.section2{
    padding: 60px 0;
    height: auto;
}

/* Emerson At-A-Glance Section */
.company-at-a-glance {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.company-at-a-glance h3 {
    color: black;
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: bold;
}

.glance-container {
    display: flex;
    gap: 30px;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Left Column Styles */
.glance-left-column {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.glance-section-title {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.glance-section-text {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}

/* Business Groups Styles */
.business-groups {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.business-group {
    display: flex;
}

.group-title {
    width: 120px;
    padding: 10px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software {
    background-color: #00629B;
}

.intelligent {
    background-color: #00629B;
}

.group-items {
    flex: 1;
    list-style-type: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ddd;
}

.group-items li {
    padding: 5px 10px;
    font-size: 12px;
    border-bottom: 1px solid #ddd;
}

.group-items li:last-child {
    border-bottom: none;
}

/* Impact Stats Styles */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.impact-item {
    display: flex;
    flex-direction: column;
}

.impact-number {
    color: #00629B;
    font-size: 18px;
    font-weight: bold;
}

.impact-text {
    font-size: 12px;
    line-height: 1.4;
}

/* Consecutive Years Styles */
.consecutive-years {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.years-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid #00629B;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #00629B;
}

.years-number {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.years-text {
    font-size: 12px;
    text-transform: uppercase;
}

.years-description {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3;
}

/* Right Column Styles */
.glance-right-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Global Sales Styles */
.global-sales {
    text-align: center;
    margin-bottom: 20px;
}

.sales-amount {
    color: #00629B;
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.sales-text {
    color: #00AEEF;
    font-size: 16px;
    font-weight: bold;
}

/* Company Facts Styles */
.company-facts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fact-row {
    display: flex;
    gap: 20px;
}

.fact-item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fact-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.fact-value {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.founded {
    color: #00629B;
}

.emr {
    color: #00629B;
}

.usa {
    color: #00AEEF;
}

.employees {
    font-size: 24px;
    color: #00629B;
}

.employee-text, .locations-text {
    font-size: 14px;
    color: #333;
}

/* Recognitions Styles */
.recognitions {
    margin-top: 20px;
}

.recognitions-year {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

.recognitions-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.recognition-item {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3;
}

.recognition-source {
    font-size: 11px;
    color: #666;
}







/* Section 3 */
.section3{
    height: auto;
}
.value-chain {
    margin-top: 30px;
    border: 1px solid #ccc;
}

.value-chain-title {
    background-color: #858386;
    color: white;
    text-align: center;
    padding: 8px;
    font-weight: bold;
    font-size: 18px;
}

.chain-container {
    padding: 15px;
    background-color: white;
}

.section-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.section-box {
    text-align: center;
    padding: 5px 10px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    flex: 1;
    margin: 0 2px;
}

.upstream {
    background-color: #0066cc;
}

.midstream {
    background-color: #4CAF50;
}

.downstream {
    background-color: #00BCD4;
}

.distribution {
    background-color: #00BCD4;
}

.flow-diagram {
    position: relative;
    margin-top: 20px;
}

/* Gas flow (top row) */
.gas-flow {
    display: flex;
    position: relative;
    height: 100px;
    margin-bottom: 20px;
}

.gas-flow::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 70px;
    right: 70px;
    height: 2px;
    background-color: #4CAF50;
    z-index: 1;
}

/* Oil flow (bottom row) */
.oil-flow {
    display: flex;
    position: relative;
    height: 100px;
    margin-top: 20px;
}

.oil-flow::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 70px;
    right: 70px;
    height: 2px;
    background-color: #858386;
    z-index: 1;
}

.process-box {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.process-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 5px;
    background-color: white;
    border: 1px solid #858386;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.process-name {
    font-size: 12px;
    color: #0066cc;
}

/* Storage tanks */
.storage-area {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.storage-tanks {
    display: flex;
}

.tank {
    width: 30px;
    height: 40px;
    border: 2px solid #858386;
    border-radius: 15px 15px 0 0;
    margin: 0 5px;
    position: relative;
}

.tank::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-color: rgba(133, 131, 134, 0.3);
    border-radius: 0 0 0 0;
}

.tank-label {
    font-size: 11px;
    text-align: center;
    margin-top: 5px;
    color: #0066cc;
}

/* End users */
.end-users {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.user-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px;
}

.user-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 5px;
}

.user-label {
    font-size: 10px;
    color: #858386;
}

/* Vertical transmission lines */
.transmission-line {
    position: absolute;
    width: 2px;
    background-color: #4CAF50;
    z-index: 1;
}










/* Section 4 - Service Collaboration */
.section4 {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.service-collaboration {
    position: relative;
    margin-top: 40px;
}

.collaboration-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.collab-section {
    display: flex;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.left-section {
    margin-right: 25%;
}

.right-section {
    margin-left: 25%;
    flex-direction: row-reverse;
}

.collab-image {
    flex: 1;
    max-width: 40%;
}

.collab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collab-content {
    flex: 1.5;
    padding: 20px;
}

.collab-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: black;
}

.collab-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    
}

.collab-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: black;
}

.collab-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #00629B;
}

/* Responsive Design */
@media (max-width: 992px) {
    .left-section, .right-section {
        margin: 0;
    }
    
    .collaboration-center {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .center-circle {
        width: 120px;
        height: 120px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .collab-section {
        flex-direction: column;
    }
    
    .collab-image {
        max-width: 100%;
        height: 200px;
    }
    
    .right-section .collab-image {
        order: -1;
    }

    .about-us-description {
        padding: 0px 20px;
    }

    .about-us-title {
        font-size: 20px;
    }

    .hero-title{
        font-size: 30px;
    }

    .company-at-a-glance h3 {
        font-size: 20px;
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .glance-container {
        flex-direction: column;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .fact-row {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    .business-group {
        flex-direction: column;
    }
    
    .group-title {
        width: 100%;
    }
    
    .recognitions-items {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design for Industries List */
@media (max-width: 768px) {
    .industries-list-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .industries-column {
        width: 80%;
    }
}

/* Section 5 - Client Logos Grid */
.section5 {
    padding: 60px 0;
    background-color: white;
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.logo-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .logo-item {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .client-logos-grid {
        grid-template-columns: 1fr;
    }
}

.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Adjust the last value (0.6) for overlay darkness */
}

.hero-content {
    position: relative;
    z-index: 1; /* This ensures the text appears above the overlay */
}

.hero-title {
    color: white;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: white;
    font-size: 1.2em;
}

/* Cycle Diagram */
.section-cycle {
  padding: 50px 20px;
  background: #f8f8f8;
  position: relative;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px; /* Reduced from 1200px */
  margin: 0 auto;
  position: relative;
}

.product-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
  max-width: 450px; /* Added max-width for cards */
  margin: 15px auto; /* Center cards */
}

/* Updated arrow styles for cycle */
.product-card:nth-child(1)::after {
  content: '→';
  position: absolute;
  right: -45px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 44px;
  color: #003087;
  font-weight: bolder;
  z-index: 2;
}

.product-card:nth-child(2)::after {
  content: '↓';
  position: absolute;
  bottom: -55px;
  right: 50%;
  transform: translateX(50%);
  font-size: 50px;
  color: #003087;
  font-weight: bolder;
  z-index: 2;
}

.product-card:nth-child(3)::after {
  content: '↑';
  position: absolute;
  top: -59px;
  right: 50%;
  transform: translateX(50%);
  font-size: 50px;
  color: #003087;
  font-weight: bolder;
  z-index: 2;
}
.product-card:nth-child(4)::after {
    content: '←';
    position: absolute;
    left: -45px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 44px;
    color: #003087;
    font-weight: bolder;
    z-index: 2;
  }

.card-header {
  background: #fff;
  color: black;
  padding: 15px;
  font-size: 1.1em;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.card-content {
  margin: 20px;
}

/* .card-content p {
  color: #666;
  margin-bottom: 20px;
  min-height: 60px;
} */

.product-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.product-images img {
  max-width: 120px;
  height: auto;
  object-fit: contain;
}

/* Update responsive breakpoint */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 450px; /* Adjust container width for mobile */
  }
  
  .product-card {
    width: 100%;
  }
  
  .card-header {
    min-height: auto;
  }
  
  .card-content p {
    min-height: auto;
  }

  /* Make all arrows point down on mobile */
  .product-card::after {
    content: '↓' !important;
    position: absolute !important;
    bottom: -55px !important;
    right: 50% !important;
    left: auto !important;
    top: auto !important;
    transform: translateX(50%) !important;
    font-size: 50px !important;
    color: #003087 !important;
    font-weight: bolder !important;
  }

  /* Hide arrow on last card */
  .product-card:last-child::after {
    display: none;
  }
}

.public-sector-text {
  margin-top: 15px;
  font-size: 1em;
  line-height: 1.6;
  color: #666;
  text-align: left;
  padding: 10px;
  font-weight: normal;
}

/* Update logo-item to accommodate text */
.logo-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: auto;
  min-height: 120px;
  padding: 20px;
}

.logo-item img {
  margin-bottom: 15px;
}

  
  /* Style the product images */
  .product-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
  }
  
  .product-images img {
    max-width: 100px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 50px;
  }
/* Style the description text */
.description-text {
    text-align: center;
    font-size: 1em;
    color: #555;
    margin-top: 10px;
    line-height: 1.5;
  }
  
  /* Style the card header */
  .card-header {
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.6;
  }  

  .card-content {
    border: black 1px solid;
    border-radius: 5px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;

    
  }
  .centered-text {
    background-color: #0066cc;
    color:white;
    text-align: center;
  }
  .description-text {
    padding: 5px;
  }

.testimonial-section {
    text-align: center;
    padding: 50px 20px;
}


.testimonial-carousel {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
    scroll-behavior: smooth;
    flex-wrap: nowrap; /* Default: No wrapping for larger screens */
}

.testimonial-card {
    min-width: 300px;
    margin: 10px 10px;
    padding: 20px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.testimonial-card:hover {
    transform: scale(1.05);
}

.client-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid black;
}

.client-image img {
    width: 100%;
    height: 100%;
}

.testimonial-text {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.3em;
    margin: 10px 0 5px 0;
    color: #333;
}

.client-role {
    font-size: 0.9em;
    color: gray;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-carousel {
        flex-wrap: wrap; /* Allow wrapping for smaller screens */
        justify-content: center; /* Center cards when stacked */
    }

    .testimonial-card {
        flex: 1 1 90%; /* Each card takes up 90% of the screen width */
        margin: 10px 0; /* Add vertical spacing */
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        flex: 1 1 100%; /* Each card takes up full width on mobile */
    }
}