@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

@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');
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: poppins, arial;
  color: #fff;
}

.fade-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-scale.visible {
  opacity: 1;
  transform: scale(1);
}

body{
  overflow-x: hidden;
}


h1{
  font-family: "Oswald", serif !important;
}

.hero-paragraph{
  color: #fff;
}

/* HERO SLIDER */
.slider{
  height: 100vh;
  position: relative;
  z-index: -1;
}

.slider .list .item{
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: .5s;
}

.slider .list .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider .list .item::after{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(to top, #000 10%, transparent);
}

.slider .list .item .content{
  position: absolute;
  left: 10%;
  top: 20%;
  width: 500px;
  max-width: 80%;
  z-index: 1;
}

.slider .list .item .content p:nth-child(1){
  text-transform: uppercase;
  letter-spacing: 10px;
  margin-top: 5rem;
}

.slider .list .item .content .hero-title{
  margin: 0;
  width: 50rem;
 font-size: 3rem;
 font-weight: 700;
 line-height: 1.2;
 color: #fff;
 text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-subtitle{
  width: 50rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.slider .list .item.active{
  opacity: 1;
  z-index: 10;
}

@keyframes showcontent {
  to{
    transform: translateY(0);
    filter: blur(0);
    opacity: 1;
  }
}

.slider .list .item.active p:nth-child(1),
.slider .list .item.active .hero-title,
.slider .list .item p:nth-child(3){
  transform: translateY(30px);
  filter: blur(20px);
  opacity: 0;
  animation: showcontent .5s .7s ease-in-out 1 forwards;
}

.slider .list .item.active .hero-title{
  animation-delay: 1s;
}

.slider .list .item p:nth-child(3){
  animation-delay: 1.3s;
}

.arrows{
  position: absolute;
  top: 30%;
  right: 50px;
  z-index: 100px;
}

.arrows button{
  background-color: #eee5;
  border: none; 
  font-family: monospace;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  font-size: x-large;
  color: #eee;
  transition: .5s;
}

.arrows button:hover{
  background-color: #eee;
  color: black;
}

.thumbnail{
  position: absolute;
  bottom: 50px;
  z-index: 11;
  display: flex;
  gap: 10px;
  width: 100%;
  height: 250px;
  padding: 0 50px;
  box-sizing: border-box;
  overflow: auto;
  opacity: 0;
}

.thumbnail::-webkit-scrollbar{
  width: 0;
}

.thumbnail .item{
  width: 150px;
  height: 220px;
  filter: brightness(.5);
  transition: .5s;
  flex-shrink: 0;
}

.thumbnail .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.thumbnail .item.active{
  filter: brightness(1.5);
}

.thumbnail .item .content{
  position: absolute;
  inset: auto 10px 10px 10px;
} 

/*ABOUT_US*/
.about_us{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eee;
  box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.image_cont{
  padding: 6rem;
  flex: 1;
}

.about_content{
  padding: 6rem;
  flex: 1;
}

p, h1{
  color: #000;
  font-size: 1.3rem;
  font-family: poppins, arial;
}

h1{
  font-size:3rem;
  font-family: montserrat, arial;
  font-weight: bold;
  padding: 1rem 0;
}

.learn_more_btn{
 background-color: #ff8800;
 padding: 0.9rem 1rem;
 width: 14rem;
 text-transform: capitalize;
 margin: 1rem 0;
 font-weight: 400;
 font-size: 1.1rem;
 transition: .5s;
 text-decoration: none;
 color: #fff ;
}

.learn_more_btn:hover{
  transform: translateY(-0.1rem);
}

.btn_and_social{
  display: flex;
  flex-direction: column;
}

.social_cont{
  font-size: 2rem;
  display: flex;
  gap: 1rem;
  font-size: 2.4rem;
  padding: 0;
}

.social_cont .twitter {
  color: #1DA1F2;
}

.social_cont .instagram {
  color: #E1306C;
}

.social_cont .facebook {
  color: #1877F2;
}

.social_cont .whatsapp {
  color: #25D366;
}

.about_img{
  width: 50rem;
}

/* VISION STYLING */
.left{
  background-image: url('/assets/refinary.jpg');
  flex: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-color: #0000008f;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

}

.left_title{
  font-size: 2.4rem;
  color: #fff;
}

.right{
 padding: 1rem;
 border-left: 5px solid #ff8800;
 box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* Experience card styles */
.experience_card_cont{
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ex_card{
  background-color: #eee;
  width: 30%;
  height: 14rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 3px;
  position: relative;
  z-index: 1;
  cursor: default;
  border-left: 5px solid #ff8800;
}

.ex_card::before{
  content: '';
  background-color: #ccc;
  position:  absolute;
  width: 0;
  height: 0;
  bottom: 0;
  transition: .2s ease-in;
  border-radius: 20rem;
  z-index: -2;
}

.ex_card:hover::before{
  height: 100%;
  width: 100%;
  border-radius: 0rem;
}

 .ex_card_title{
  color: #000;
  font-size: 2.3rem;
  font-weight: 300;
}


.vision_cont{
  display: flex;
  padding: 2rem;
  justify-content: space-between;
  gap: 2rem;
  background-color: #fff;
  padding-left: 0;
  flex-wrap: wrap;
}

.vision_image{
  width: 60rem;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
}

.vision_paragraph{
  max-width: 800px;
  text-align: justify;
  line-height: 1.6;
  font-size: 18px;
  color: #555;
}

.vision_content{
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 40px;
}

.vision_title, .mission_title{
  font-size: 28px;
  color: #264653;
  padding-bottom: 0;
}
/* Mission styles */
.mission {
  background-color: #f8f8f8;
}

.mission_content {
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 40px;
}

.mission_title {
  font-size: 28px;
  font-weight: bold;
  color: #264653;
  padding-bottom: 0;
}

.mission_paragraph {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
  /* text-align: justify; */
}

.mission_list {
  list-style: none;
  padding: 0;
}

.mission_li {
  background: #e9f5f3;
  padding: 15px;
  margin: 10px 0;
  border-radius: 8px;
  font-size: 17px;
  color: #264653;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.mission_li::before {
  content: "✔️";
  margin-right: 10px;
  font-size: 20px;
}


/* OUR services */
.card {
  background-color: #fff;
  width: 100%;
  max-width: 28rem; /* Prevents excessive stretching on larger screens */
  height: auto;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px, rgba(0, 0, 0, 0.15) 0px 6px 6px;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

/* Hover Effect */
.card:hover {
  transform: translateY(-5px);
  background: #264653;
  color: white;
}

.card_content {
  padding: 1.2rem;
}

.card_content_title {
  text-align: center;
  color: #000;
  font-size: 1.6rem;
  transition: color 0.3s ease-in-out;
}

.card_paragraph {
  font-size: 1rem;
  text-align: justify;
  line-height: 1.6;
  color: #333;
  transition: color 0.3s ease-in-out;
}

/* Change text color on hover */
.card:hover .card_content_title,
.card:hover .card_paragraph {
  color: white;
}

.card_button {
  display: inline-block;
  background-color: #ff8800;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  width: 100%;
  color: white;
  margin-top: 0.8rem;
  font-weight: 600;
  transition: .5s;
  text-align: center;
}

.card_button:hover {
  background-color: #c46800;
}

.card_img {
  width: 100%;
  height: 17rem;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Make cards fit evenly in a row */
.card_cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 1.5rem;
  padding: 2rem;
}

.service_cont {
  background-color: #eee;
  margin-top: 0;
  padding: 2rem 0;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.service_title {
  text-align: center;
  font-family: Poppins, Arial, sans-serif;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}


/* General Section Styling */
.core-values {
  text-align: center;
  padding: 60px 20px;
  background-image: url('/assets/natural-gas-863224_1920.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: overlay;
  background-color: #000000b0;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
  font-family: "Oswald", serif;
}

/* Grid Container */
.values-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Individual Cards */
.value-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-card h3 {
  color: #ff6600;
  font-size: 20px;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  text-align: left;
}

/* why choose us section */
.why_choose_us_cont{
  background-image: url('/assets/refinery-view.jpg');
  display: flex;
  justify-content: center;
  padding: 3rem 0;
  background-color: #0000008e;
  background-blend-mode: overlay;
}

.why_choose_us_content{
  background-color: #ced4da;
  width: 50%;
  padding: 2rem;
  border-radius: 1rem;
}

.why_choose_us_paragraph{
  font-size: 19px;
}

strong{
  color: #ff8800;
}

span{
  color: #000;
  width: auto;
}
