@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: #ffd60a;
}

html,
body {
    height: 100vh;
    width: 100%;
}

header {
    background: linear-gradient(to right, rgba(0, 0, 0), rgba(0, 0, 0, 0.6)),
        url(../img/banner-bg.jpg) center / cover no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 7%;
    color: #ffd60a;
    z-index: 1030;
    background-color: rgb(0 0 0 / 50%);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.container {
    padding: 0 7%;
}

.logo {
    display: inline-block;
    padding-top: .3125rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffd60a;
    text-decoration: none;
    font-weight: 700;
}

.logo img {
    width: 70px;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li {
    list-style-type: none;
}

nav ul li a {
    text-decoration: none;
    color: #ffd60a;
}

.active {
    position: relative;
}

.active::after {
    content: '';
    background: #fff;
    width: 25px;
    height: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    border-radius: 2px;
}

.menu-icon {
    display: none;
}

.menu-icon i {
    font-size: 30px;
}

.hero {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 20px;
}

.hero-data {
    display: flex;
    gap: 24px;
    justify-content: space-evenly;
    margin-bottom: 40px;
}

.hero-col {
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
}

.text-orange {
    color: #ffd60a;
}

.text-yellow {
    color: #ffff00;
}

.pr-8 {
    padding-right: 8px;
}

.font-italic {
    font-style: italic;
}

.hero-btn {
    padding: 10px 25px;
    font-size: 1rem;
    background-color: #ffd60a;
    border: none;
    border-radius: 8px;
    outline: none;
    color: #000;
    font-size: 15px;
    text-decoration: none;
}

/**/
.top-header {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)),
        url(../img/header.jpg) center / cover no-repeat;
    display: flex;
    flex-direction: column;
}

.top-banner {
    padding-top: 30px;
    padding-bottom: 45px;
}

.top-banner h2 {
    padding-bottom: 20px;
    font-size: 40px;
}

.top-banner p {
    color: #fff;
}

/*services*/
.services-tag p:first-child {
    padding-top: 15px;
}

.services-tag p:last-child {
    padding-bottom: 15px;
}

.services .intro {
    color: #555;
}

.service-list {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    grid-template-columns: repeat(1, 1fr);
    margin: 0 auto;
    width: 75%;
}

.service {
    background: #ffffff;
    /*padding: 10px 20px;*/
    border-radius: 10px;
}

.service h4 {
    color: #000;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.service p {
    /*color: #555;*/
    font-size: 1rem;
    line-height: 1.6;
    padding: 10px;
}

.services,
.service-section {
    margin-bottom: 25px;
}

/**/
.sub-title {
    padding-bottom: 25px;
}

.fleet {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 25px;
}

.fleet>div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 8px;
    overflow: hidden;
}

.fleet>div .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.fleet>div p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: center;
    color: white;
    z-index: 2;
    background: linear-gradient(to bottom, rgb(0 0 0 / 30%), rgba(0, 0, 0, 0.7));
}

.fleet img {
    width: 100%;
    /* height: auto; */
    border-radius: 8px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    /* object-fit: cover; */
}

/*footer*/
footer {
    background-color: #1F2232;
    color: #fff;
    padding: 25px 0;
}

.footer-details {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-detail {
    flex: 1;
    border-radius: 5px;
}

.footer-detail:first-child {
    flex: 2;
}

.hr-class {
    display: inline-block;
    border-bottom: 1px solid #fff;
    width: 90px;
    margin: 0.8rem 0;
}

.hr-long {
    display: inline-block;
    border-bottom: 1px solid #fff;
    width: 50%;
    margin: 1rem 0;
}

.footer-detail ul li a {
    text-decoration: none;
    color: #fff;
}

.footer-ul {
    padding: 0 25px;
}

.no-style {
    list-style: none;
}

.footer-wrapper {
    display: flex;
}

.footer-wrapper div:nth-child(2) {
    display: flex;
    flex-direction: column;
    padding-left: 6px;
}

/**/
.about-section {
    padding-top: 15px;
}

.about-data {
    width: 65%;
    margin: 0 auto;
}

.about-data p {
    padding-bottom: 10px;
}

.pb-25 {
    padding-bottom: 25px;
}

.clients {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    text-align: center;
    place-items: center;
    width: 65%;
    margin: 0 auto;
}

.client img {
    width: 50%;
    height: auto;
    object-fit: cover;
}

.mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    width: 65%;
    gap: 25px;
    margin: 0 auto;
    padding-bottom: 25px;
}

.mission-ul {
    padding: 0 25px;
}

.font-bold {
    font-weight: bold;
}

/*last piece*/
.contact-section {
    height: 100%;
    padding-top: 100px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    width: 75%;
    gap: 25px;
    margin: 0 auto;
    text-align: center;
    color: #000;
}

.contact-detail {
    /* background-image: linear-gradient(45deg, rgb(0 0 0 / 50%), rgb(255 214 10 / 50%)); */
    padding: 20px 0px;
    border-radius: 8px;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.contact-detail h3 {
    padding: 10px 0px;
}

.contact-detail .fa {
    font-size: 55px;
    color: #ffd60a;
}

.d-grid {
    display: grid;
}

.copyright {
    background: #ffd60a;
    padding: 10px 0 !important;
    text-align: center;
    color: #fff;
    font-size: 13px;
}

.castrol {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 15px 0 25px 0;
    font-style: italic;
    background: linear-gradient(45deg, transparent, rgb(255 255 255 / 35%));
}

.castrol-logo {
    width: 145px;
    cursor: pointer;
}

.castrol-url a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.castrol-url .view-text {
    color: white;
    margin-top: 5px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #f0f0f0;
    color: #555;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a.fb-icon:hover {
    background-color: #1877f2;
    color: #fff;
}

.social-icons a.linkedin-icon:hover {
    background-color: #0a66c2;
    color: #fff;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #000;
    /* Or use your brand color */
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.align-icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 35px;
}

.bold {
    font-weight: bold;
}

.core-values{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.core-values .col{
    position: relative;
    padding: 15px;
    border-radius: 10px;
    background: #f5f5f5;
}

.core-values h4{
    padding-bottom: 10px;
}

.pt-10{
    padding-top: 15px;
}

/*dropdown start*/
.nav-links li {
    position: relative;
  }

  .nav-links .dropdown:hover .dropdown-menu {
      display: block;
  }

  .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      background-color: rgb(0 0 0 / 50%);;
      box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
      display: none;
      min-width: 250px;
      z-index: 1;
  }

  .dropdown-menu li {
      margin: 0;
      padding: 5px 0;
      display: block;
  }

  .dropdown-menu li a {
      padding: 0.5rem 1rem;
  }

  .dropdown-menu li a:hover {
      color: #f00023;
  }
  /*dropdown end*/

/* Responsive tablet*/
@media (max-width:768px) {

    .contact-details,
    .about-data,
    .clients,
    .mission {
        width: 100%;
    }

    .section-header h1 {
        font-size: 2rem;
    }

}

/* Responsive phone*/
@media (max-width:640px) {
    .container {
        padding: 0 15px;
    }

    header {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6)),
            url(../img/banner-bg.jpg) center / cover no-repeat;
    }

    .top-banner p {
        padding-bottom: 25px;
    }

    .about-section {
        padding-top: 15px;
    }

    .contact-section {
        padding-top: 35px;
    }

    nav {
        padding: 19px 15px;
    }

    .logo img {
        width: 45px;
    }

    nav ul {
        position: absolute;
        top: 79px;
        left: 0;
        right: 0;
        flex-direction: column;
        text-align: center;
        background: rgb(0 0 0);
        gap: 0;
        overflow: hidden;
    }

    nav ul li {
        padding: 10px;
    }

    .menu-icon {
        display: block;
    }

    #menuList {
        transition: all 0.5s;
    }

    .menu-icon .fa {
        width: 40px;
        height: 40px;
        background: orange;
        line-height: 40px;
        border-radius: 50%;
        font-size: 20px;
        text-align: center;
        color: #fff;
    }

    .active::after {
        left: -35px;
        transform: translate(0, 50%);
        bottom: 50%;
        background: #fff;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    /**/

    .contact-details,
    .about-data,
    .service-list {
        width: 100%;
    }

    .clients {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
    }

    .mission {
        width: 100%;
    }

    /**/
    .top-banner h2 {
        font-size: 1.5rem;
    }

    .footer-details {
        flex-direction: column;
    }

    .footer-detail:first-child {
        flex: 1;
    }

    .castrol {
        padding: 10px 15px 15px 15px;
        text-align: center;
    }

    .castrol .content {
        padding-bottom: 15px;
    }

    .castrol .content h3 {
        font-size: 1rem;
    }

    .castrol .castrol-logo {
        width: 130px;
        cursor: pointer;
    }

    /*dropdown*/
    .dropdown-menu {
        position: static;
    }

    .dropdown-menu li a {
        padding-left: 2rem;
    }    
    /*dropdown*/
}