@font-face {
    font-family: "Cairo";
    src: url('./font/Cairo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cairo";
    src: url('./font/Cairo-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --white-color: #FFFFFF;
    --white-alt-color: #FFFFFFF0;
    --black-color: #000000;
    --blue-color: #12B1E8;
    --darkblue-color: #0E76B5;
    --lightgray-color: #DDDDDD;
    --navy-color: #072436;
    --font-family: "Cairo", Arial, sans-serif;
}

body {
    color: var(--black-color);
    background-color: var(--white-color);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

section {
    padding: 20px;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  
  .navbar-nav.align-items-center {
    padding-right: 0;
  }
  
.nav-link {
    font-size: 20px;
    font-weight: bold;
    transition: all 0.2s linear;
}

.nav-link:hover {
    color: var(--darkblue-color);
    transform: scale(1.1);
}

.navbar-nav .nav-link.active {
    color: var(--darkblue-color);
}

.logo-img {
    width: 120px;
    height: 68px;
}

.mohd-logo {
    width: 120px;
    height: auto;
    padding-bottom: 5px;
}

.mohd-logo:hover {
    border-bottom: 2px solid var(--white-color);
}

.section-overview {
    padding: 40px 0;
}

.hero-section {
    background: url('/images/background.webp') center center no-repeat;
    background-size: cover;
    color: var(--white-color);
    min-height: 100vh;
    padding: 100px 20px;
}

.hero-section h1 {
    font-weight: bold;
    color: var(--navy-color);
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--white-color);
    margin-bottom: 60px;
    line-height: 1.6;
}

.hero-section img {
    max-width: 100%;
    border-radius: 10px;
}

.btn-hero {
    display: inline-block;
    max-width: 200px;
    height: auto;
    background-color: var(--darkblue-color);
    color: var(--white-color);
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 40px 0 40px 0;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.btn-hero i {
    margin-right: 15px;
}

.btn-hero:hover {
    background-color: var(--navy-color);
    color: var(--white-color);
    transform: scale(1.05);
}

.btn-hero:active {
    background-color: var(--darkblue-color);
    transform: scale(0.98);
}

.parallax-section {
    position: relative;
    height: 300px;
    background-image: url(../images/background.webp);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    text-align: center;
}

@supports not (--css: variables) {
    .hero-section {
        background-image: url('./images/background.jpg');
    }
    .parallax-section {
        background-image: url('./images/background.jpg');
    }
}

.parallax-section h1 {
    line-height: 1.5;
    font-weight: bold;
}

footer {
    background-color: var(--darkblue-color);
    margin-top: auto;
    color: var(--white-color);
    text-align: right;
}

footer p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-about {
    text-align: right;
    font-size: 22px;
    line-height: 1.8;
    color: var(--white-alt-color);
    margin-bottom: 30px;
}

.footer-logo {
    max-width: 250px;
    height: 140px;
    margin-bottom: 50px;
}

.footer-bottom {
    font-size: 20px;
}

.footer-section {
    font-size: 28px;
    margin-bottom: 40px;
}

.footer-links {
    text-decoration: none;
    font-size: 24px;
    padding: 5px;
    color: var(--white-alt-color);
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 20px;
}

.footer-link {
    color: var(--white-alt-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease 0s;
    padding-bottom: 7px;
}

.footer-link:hover {
    color: var(--white-color);
    border-bottom: 2px solid var(--white-color);
    text-decoration: none;
}

.footer-link[aria-current="page"] {
    font-weight: bold;
    color: var(--white-color);
}

.section-title {
    color: var(--darkblue-color);
    text-align: center;
    margin: 20px 0;
    margin-bottom: 40px;
    font-weight: bold;
}

.section-title::after {
    content: "";
    display: block;
    border-top: 3px solid var(--darkblue-color);
    margin: 10px auto;
    width: 7%;
}

.page-title {
    color: var(--darkblue-color);
    text-align: start;
    margin-bottom: 30px;
}

.page-title2 {
    color: var(--navy-color);
    text-align: start;
    margin-bottom: 20px;
}

.page-content {
    font-size: 22px;
}

p {
    font-size: 18px;
}

.text-navy {
    color: var(--navy-color);
}


.btn-navy {
    background-color: var(--navy-color);
    color: var(--white-color);
}

.btn-navy:hover {
    background-color: var(--darkblue-color);
    color: var(--white-color);
}


.btn-darkblue {
    margin-top: 20px;
    background-color: var(--darkblue-color);
    color: var(--white-color);
}


.btn-darkblue:hover {
    background-color: var(--navy-color);
    color: var(--white-color);
}

.btn-darkblue-outline {
    margin-top: 20px;
    background-color: transparent;
    color: var(--darkblue-color);
    border: 2px solid var(--darkblue-color);
    font-weight: bold;
}

.btn-darkblue-outline:hover {
    background-color: var(--darkblue-color);
    color: var(--white-color);
    border-color: var(--darkblue-color);
}


.text-darkblue {
    color: var(--darkblue-color);
}

.text-blue {
    color: var(--blue-color);
}

.image-stack {
    position: relative;
}

.image-stack .image {
    position: absolute;
    width: 70%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.image-stack1 {
    top: 0;
    left: 20%;
    z-index: 3;
}

.image-stack2 {
    top: 200px;
    left: 0;
    z-index: 0;
}

@media (max-width: 768px) {
    .image-stack .image {
        position: relative;
        width: 100%;
        margin-bottom: 20px;
    }

    .image-stack1,
    .image-stack2 {
        top: 0;
        left: 0;
    }
}

.contact-info {
    text-align: right;
    padding: 20px;
}

.text-contact {
    padding: 10px 0;
}

.contact-info ul {
    list-style-type: none;
    padding: 0;
}

.contact-info ul li {
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.contact-info ul li h4 {
    font-size: 21px;
    margin-bottom: 10px;
    color: var(--navy-color);
}

.contact-info ul li i {
    margin-left: 20px;
    color: var(--blue-color);
    font-size: 32px;
}

.contact-info ul li a {
    text-decoration: none;
    color: var(--black-color);
}

.contact-info ul li a:hover {
    text-decoration: underline;
    color: var(--blue-color);
}

.stations-list {
    list-style-type: none;
    padding: 0;
}

.stations-list li {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
}

.about-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 60px 40px 50px 40px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    margin-bottom: 25px;
    height: calc(100% - 25px);
    border: none;
}

.about-card::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 7px;
    background-color: var(--lightgray-color);
    opacity: 60%;
    border-radius: 0 0 10px 10px;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    z-index: 6;
}

.about-card:hover::before {
    width: 100%;
    height: 14px;
    background-color: var(--darkblue-color);
    opacity: 100%;
}

.about-card:hover {
    background-color: var(--blue-color);
}

.about-card .icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e4f8ff;
    transform: rotate(45deg);
    position: relative;
    border-radius: 20px;
}

.about-card .icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 110px;
    height: 110px;
    background-color: rgba(228, 248, 255, 0.5);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
    border-radius: 20px;
}

.about-card:hover .icon::after {
    opacity: 1;
}

.about-card .icon i {
    font-size: 45px;
    color: var(--darkblue-color);
    transform: rotate(-45deg);
}

.about-card .title {
    margin-bottom: 20px;
    color: var(--darkblue-color);
}

.about-card .text {
    font-size: 18px;
    color: var(--black-color);
    line-height: 1.8;
}

.about-card:hover .icon {
    background-color: var(--white-color);
}

.about-card:hover .title {
    color: var(--white-color);
}

.about-card:hover .text {
    color: var(--white-color);
}


.station-card {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.image-container {
    text-align: center;
}

.station-image {
    height: 230px;
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    object-fit: cover;
    max-width: 100%;
}

.btn-map {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--blue-color);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    width: fit-content;
    height: fit-content;
}


.btn-map:hover {
    background-color: var(--darkblue-color);
    color: var(--white-color);
}


.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.service-card {
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

.service-icon {
    font-size: 30px;
    color: var(--white-color);
    margin-bottom: 25px;
}

.service-card .title {
    color: var(--black-color);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 22px;
}

.icon-container {
    background-color: var(--blue-color);
    border-radius: 6px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-card:hover {
    background-color: var(--blue-color);
}

.service-card:hover .title {
    color: var(--white-color);
}

.service-card:hover .icon-container {
    background-color: var(--white-color);
}

.service-card:hover .service-icon {
    color: var(--blue-color);
}

footer .social-media {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

footer .social-media li {
    display: inline-block;
}

footer .social-media a {
    text-decoration: none;
    color: var(--navy-color);
    background-color: #fff;
    margin-right: 15px;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    line-height: 39px;
    text-align: center;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

footer .social-media a:hover {
    background-color: var(--navy-color);
}

footer .social-media a i {
    font-size: 19px;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer .social-media a:hover i {
    color: var(--white-color);
    transform: scale(1.1);
}

.line {
    border: none;
    border-top: 1px solid #fff;
    width: 100%;
    margin: 0;
    padding: 0;
}

.fuel-type-card {
    background-color: var(--white-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.fuel-circle {
    width: 60px;
    height: 60px;
    color: var(--white-color);
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 10px;
}

.fuel-type-card h4 {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
}

.fuel-type-card p {
    font-size: 1rem;
    color: #555;
}

.fuel-type-card .d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


@media (min-width: 768px) {
    footer .social-media {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-size: auto;
        background-position: center;
        padding: 50px 10px;
        min-height: 500px;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .parallax-section {
        background-attachment: scroll;
    }
    p,
    .btn-map {
        font-size: 16px;
    }
    h5 {
        font-size: 18px;
    }
    .navbar-nav {
        padding-top: 20px;
      }
    .footer-about {
        font-size: 19px;
    }
    .footer-links {
        font-size: 20px;
    }
    .footer-section {
        font-size: 24px;
    }
}
