html {
  scroll-behavior: smooth;
  scroll-padding-top: 12vw; /* Adjust based on your navbar height */
}
/* Global Reset/Box-Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Base Font */
  body {
    font-family: "Manrope", sans-serif;
  }

  /* ========== ANIMATIONS ========== */
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .fadeInUp {
    animation: fadeInUp 1s ease-out forwards;
  }

  /* ========== HERO SECTION ========== */
  .hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  /* Absolutely positioned images */
  .img-absolute {
    position: absolute;
    object-fit: cover;
  }
  /* Workers image */
  .img-workers {
    left: 0;
    top: 25%;
    width: 20rem;
    border-radius: 10px;
    height: auto;
  }
  /* Plant image */
  .img-plant {
    top: 25%;
    right: 5%;
    border-radius: 10px;
    width: 20%;
    height: auto;
  }
  /* Offshore Rig image */
  .img-offshore {
    bottom: 0;
    right: 20%;
    border-radius: 10px;
    width: 30%;
    height: auto;
  }
  /* Hero text content container */
  .hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
  }

  /* Large screens: text overlaid on hero */
  .hero-heading {
    position: absolute;
    text-align: center;
    font-size: 3vw;
    top: 60%;
    left: 50%;
    transform: translate(-60%, 70%);
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1rem;
  }

  /* The container for the paragraph and links */
  .heropara {
    position: absolute;
    top: 45rem;
    left: 6%;
    width: 40vw;
    padding-left: 1vw;
    border-left: 5px solid #00a859;
  }

  .hero-paragraph {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 1.5rem;
  }

  .links {
    display: inline-flex;
    gap: 1.5rem;
  }
  .hero-link {
    color: #10b981;
    transition: color 0.3s ease;
    text-decoration: none;
  }
  .hero-link:hover {
    color: #059669;
  }

  /* ========== NUMBERS SECTION ========== */
  .numbers-section {
    padding: 3rem 1rem;
  }
  .numbers-section h1{
    text-align: center;
    margin-bottom: 2vw;
    font-size: 1.5rem;
  }
  .numbers-container {
    display: flex;

    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  .numbers-item {
    border-bottom: 2px solid;
    border-image: linear-gradient(
        to right,
        #ffffff 0%,
        #00a859 50%,
        #ffffff 100%
      )
      1;
    padding: 1rem;
    animation: fadeInUp 1s ease-out forwards;
  }
  .numbers-item h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #10b981;
  }
  .numbers-item p {
    margin-top: 0.5rem;
    color: #374151;
  }

  /* ========== RESPONSIVE STYLES ========== */
  @media (max-width: 768px) {
    /* For the hero section, let text flow normally */
    .hero-section{
        height: 110vh;
    }
    .hero-heading,
    .heropara {
      position: static;
      transform: none;
      text-align: center;
      width: 90%;
      margin: 1rem auto;
      border: none;
      padding: 0;
    }
    .hero-heading {
      font-size: 2rem;
    }
    .hero-paragraph {
      font-size: 1rem;
    }
    .links {
      justify-content: center;
    }
    /* Adjust images if needed */
    .img-workers,
    .img-plant,
    .img-offshore {
      width: 80%;
      position: static;
      margin: 1rem auto;
      display: block;
    }
    /* Numbers section in a row on larger screens */
    .numbers-container {
        flex-wrap: wrap;
    }
  }
@media (max-width: 768px) {
  .hero-section {
    display: flex;
    flex-direction: column;
  }
  .hero-content {
    order: -1; /* This will move the text to the top */
  }
  .hero-section{
      margin-top: 6em;
  }
}

/* ========== SECTION CONTAINER ========== */
.history-section {
  background: url("images/Timeline.svg") no-repeat center center / cover;
  padding: 2rem;
  color: #fff;
}
.history-container {
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
}

/* ========== HEADINGS ========== */
.history-label {
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 0.4em 0.8em;
  margin-bottom: 0.5rem;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
}
.history-main-heading {
  font-size: 3rem;
  color: #00a859;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* ========== TABS ========== */
.tabs-wrapper {
  display: inline-flex;
  border: 2px solid #fff;
  border-radius: 9999px;
  padding: 0.5rem;
  margin-bottom: 2rem;
}
.tab {
  background-color: transparent;
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.tab:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.3);
}
/* Active tab: white background with dark text */
.tab.active {
  background-color: #fff;
  color: black;
}

/* ========== TAB CONTENT WRAPPER ========== */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* ========== CARD LAYOUT (IMAGE + TEXT) ========== */
.card {
  display: flex;
  gap: 1.5rem;
  box-shadow: 6px 6px 2px rgba(0, 0, 0, 0.4);
  align-items: stretch;
  background: radial-gradient(86.11% 85.92% at 50% 50%, #000000 0%, #00A859 100%);
  border-radius: 8px;
  overflow: hidden;
  height: fit-content; /* Fixed height on larger screens */
}
.card img {
  width: 40%;
  height: 29rem;
  margin: auto;
  object-fit: cover;
  border-radius: 4px;
}
.card-content {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-content h3 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
}
.card-content h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: #00a859;
  margin-top: 0.5rem;
}
.card-content p {
  line-height: 1.5;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .history-main-heading {
    font-size: 1.5rem;
  }
  /* Let tabs wrap on smaller screens */
  .tabs-wrapper {
    flex-direction: column;
    border-radius: 0  ;
    align-items: center;
  }
  .tab {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .card {
    flex-direction: column;
    height: 55vh;
  }
  .card-content p{
    font-size: 2.5vw;
    line-height: 1;
  }
  .card img {
    width: 100%;
    height: 30%;
  }
  .card-content {
    height: 64%;
  }
}
/* ====== OUR GROUP SECTION ====== */
.our-group-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ====== LABEL & HEADING ====== */
.our-group-label {
  display: inline-block;
  background: rgba(0, 0, 0, 0.1); /* 10% opacity black */
  color: #000;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.4em 0.8em;
  margin-bottom: 0.5rem;
}
.our-group-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ====== DESCRIPTION TEXT ====== */
.our-group-description {
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: #555;
}

/* ====== CARDS CONTAINER ====== */
.our-group-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* ====== CARD ====== */
.our-group-card {
  display: flex;
  flex-direction: row;
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.our-group-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Card Image on Left */
.our-group-card-img {
  flex-shrink: 0;
  width: 40%;
  object-fit: cover;
  display: block;
}

/* Card Content on Right (black background) */
.our-group-card-content {
  flex: 1;
  background: url('images/1.svg') no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.our-group-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.our-group-card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Footer row in card content for logo and arrow */
.our-group-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.our-group-card-logo {
  width: 80px;  /* Increased from 50px */
  height: 80px; /* Increased from 50px */
}
.our-group-card-arrow {
  width: 2em;
  height: 2em;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.our-group-card-arrow:hover {
  transform: scale(1.2);
}

/* ====== RESPONSIVE BREAKPOINTS ====== */
@media (max-width: 992px) {
  .our-group-heading {
    font-size: 1.75rem;
  }
  /* Maintain two columns on medium screens */
  .our-group-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .our-group-heading {
    font-size: 1.5rem;
  }
  /* Single column grid for smaller screens */
  .our-group-cards {
    grid-template-columns: 1fr;
  }
  /* Change card layout to vertical stacking */
  .our-group-card {
    flex-direction: column;
  }
  .our-group-card-img {
    width: 100%;
    height: 200px;
  }
}

/* Optional: further tweaks for very small devices */
@media (max-width: 480px) {
  .our-group-label {
    font-size: 0.65rem;
    padding: 0.3em 0.6em;
  }
  .our-group-heading {
    font-size: 1.4rem;
  }
  .our-group-card-desc {
    font-size: 0.8rem;
  }
}

.leadership{
  background: url('images/Timeline.svg') center center / cover no-repeat;
  position: relative;
  height: 100vh;
  height: fit-content;
  text-align: center;
  color: white;
}
.whitepaper{
  position: absolute;
  right: 0;
  top: 30%;
  width: 22rem;
}
/* ----- LABEL, HEADING, SUBTEXT ----- */
.leadership-label {
  margin-top: 5.5vw;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1); /* Partially opaque white */
  color: white;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.4em 0.8em;
  margin-bottom: 0.5rem;
}
.leadership-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.leadership-subtext {
  max-width: 55vw;
  margin: auto;
  color: #999999;
  margin-bottom: 2rem;
  line-height: 1.5;
}
.profile-card {
  background: transparent;
  margin: auto;
  color: white;
  width: 80vw;
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

/* Portrait with green border on top of the card */
.profile-image-wrapper {
  position: relative;
  border-radius: 8px;
  width: 23rem;
  height: 100%;
  box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.5);
}
.profile-image-wrapper img {
  width: 23rem;
  height: auto;
  border: 2px solid #00a859; /* Green border */
  border-radius: 8px;
  object-fit: cover;
}

/* Profile text content */
.profile-content {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 5px solid #00a859;
  padding-left: 1.5rem;
}
.profile-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.profile-role {
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 1rem;
}
.profile-description {
  font-size: 1rem;
  color: #dfdfdf;
  line-height: 1.5;
  width: 40vw;
  margin-bottom: 1.5rem;
}

/* Social icons */
.profile-socials {
  display: flex;
  gap: 1rem;
}
.profile-socials a {
  color: #00a859; /* Green accent for icons */
  font-size: 1.2rem;
  transition: filter 0.3s;
}

/* Ensure the carousel container inherits existing section styling */
.leadership-carousel {
  margin: 2rem auto;
  width: 90%;
}

/* Swiper navigation arrows styling */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  width: 3rem;
  height: 3rem;
  margin-top: -1.5rem;
  z-index: 10;
  cursor: pointer;
}

.swiper-button-prev {
  left: 1rem;
}

.swiper-button-next {
  right: 1rem;
}

/* Optional: Hide default Swiper navigation text/icons if present */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

/* Responsive adjustments for the carousel if needed */
@media (max-width: 768px) {
 .leadership{
    height: 62rem;
}
  .leadership-carousel {
    width: 100%;
    height: 100vh;
    margin-bottom: 4rem;
  }
  .leadership-subtext{
    max-width: 90vw;
    font-size: 0.8rem;
  }
  .swiper-button-next, .swiper-button-prev{
    display: none;
  }
  .whitepaper{
    display: none;
  }
  .profile-card{
    flex-direction: column-reverse;
  }
  .profile-image-wrapper{
    width:12rem;
    height: 13rem;
  }
  .profile-card{
    width: 100vw;
    padding: 0;
    align-items: center;
  }
  .profile-name{
    font-size: 1.5rem;
    margin-top: 2rem;
  }
  .profile-content{
    text-align: center;
    padding: 0;
    border: none;
    margin: auto;
  }
  .profile-description{
    font-size: 0.7rem;
    width: 90vw;
  }
  .profile-socials{
    justify-content: center;
  }
  .swiper-button-prev,
  .swiper-button-next{
      display:none !important;
  }
}

.governance-carousel-container{
  background: url('images/Sales\ Team\ \(2\).svg') no-repeat center center;
  padding: 4vw 0;
}
.card1 {
  display: flex;
  align-items: center;
  margin: auto;
  max-width: 70rem;
  gap: 2vw;
  height: 38rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.card1 img {
  width: 40%;
  object-fit: cover;
}
.card-content1 {
  width: 50%;
  padding: 20px;
  font-family: Arial, sans-serif;
}
.card-content1 h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  position: relative;
}
.card-content1 h2::before {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #00b060;
}
.card-content1 p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #444;
}
.highlight {
  color: #00b060;
  font-weight: bold;
}
.highlight-link {
  color: #00b060;
  text-decoration: none;
}

.new-carl {
  overflow: hidden;
  position: relative;
}
.custom-prev,
.custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}
.custom-prev {
  left: 10px;
}
.custom-next {
  right: 10px;
}
/* Responsive Adjustments for Mobile Devices */
@media (max-width: 768px) {
  .card1 {
    flex-direction: column;  /* Stack image and content vertically */
    height: auto;            /* Allow height to adjust based on content */
    max-width: 90%;          /* Reduce the max width to better fit smaller screens */
  }
  .card-content1 h2::before {
    width: 0;
  }
  .card1 img {
    width: 100%;             /* Make the image take full width */
    height: 25vh;            /* Maintain aspect ratio */
  }

  .card-content1 {
    width: 100%;
    padding: 15px;           /* Slightly reduced padding for smaller screens */
    text-align: center;      /* Center text for better mobile readability */
  }

  .card-content1 h2 {
    font-size: 1.5rem;       /* Slightly smaller heading font-size */
  }

  .card-content1 p {
    font-size: 0.70rem;      /* Adjust paragraph font-size */
  }

  /* Adjust navigation controls positioning if needed */
  .custom-prev,
  .custom-next {
    display: none;
  }
}

.collaborate h1 {
    font-size: 2.5vw;
    margin-bottom: 1vw;
    font-weight: bold;
}
.collaborate p {
    margin-bottom: 1vw;
}
.collaborate {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 80vw;
    margin: 5vw auto;
    border: 5px solid black;
    background: linear-gradient(to right, white 50%, black 50%);
}
.collaborate button {
    border-radius: 0;
    font-weight: 600;
    font-size: 1vw;
}
.text {
    width: 35vw;
    text-align: center;
    padding: 5vw 2vw;
}
.text2 {
    padding: 2em;
    width: 35vw;
    text-align: center;
}
.button2 {
    border: 2px solid white;
    padding: 0.4vw 0.8vw;
}
.button2:hover {
    background-color: white;
    color: black;
}
.btn-outline-dark{
    border: 2px solid black;
    padding: 0.4vw 0.8vw;
}
.btn-outline-dark:hover{
    background: black;
    color: white;
}
/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .collaborate {
        flex-direction: column;
        width: 90vw;
        margin: 5vw auto;
        background: linear-gradient(to bottom, white 50%, black 50%);
    }
    .text, 
    .text2 {
        width: 100%;
        padding: 4vw 2vw;
        text-align: center;
    }
    .collaborate h1 {
        font-size: 6vw; /* Larger relative size for better readability on mobile */
        margin-bottom: 2vw;
    }
    .collaborate p {
        font-size: 4vw;
        margin-bottom: 2vw;
    }
    .collaborate button {
        font-size: 3vw;
    }
}
