﻿
/* =========================================================
   ORACLE FUELS & LOGISTICS LIMITED
   CORPORATE WEBSITE — MAIN STYLESHEET
========================================================= */


/* =========================================================
   1. ROOT VARIABLES / RESET
========================================================= */

:root {
    --forest: #173B2A;
    --forest-2: #1F5138;
    --forest-3: #285F43;

    --green: #A9C77D;
    --green-light: #D8ECBB;

    --soft: #F3F6EF;
    --soft-2: #F8FAF6;

    --ink: #1C2A22;
    --muted: #647168;
    --line: #E2E8DD;

    --white: #FFFFFF;

    --radius: 14px;
    --radius-sm: 9px;

    --shadow: 0 10px 30px rgba(23, 59, 42, .10);
    --shadow-sm: 0 4px 14px rgba(23, 59, 42, .08);

    --transition: all .25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 125px;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--forest);
    text-decoration: none;
    transition: var(--transition);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    color: var(--forest);
    margin: 0 0 .5em;
    font-weight: 700;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
}

h2 {
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
}

h3 {
    font-size: 1.15rem;
}

p {
    margin: 0 0 1em;
}


/* =========================================================
   2. GENERAL LAYOUT
========================================================= */

.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

.section {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
}

.section.soft {
    background: var(--soft);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.section-head {
    margin-bottom: 2rem;
}

.section-head.center {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
}


/* =========================================================
   3. TOPBAR
========================================================= */

.topbar {
    background: var(--forest);
    color: #DFE9DC;
    font-size: .82rem;
    padding: .55rem 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.topbar a {
    color: var(--white);
}

.topbar a:hover {
    color: var(--green);
}


/* =========================================================
   4. CORPORATE NAVIGATION / HEADER
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 3px 12px rgba(23, 59, 42, .04);
    z-index: 1000;
}

.navinner {
    min-height: 118px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: .55rem 0;
}

/* Company branding */

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo {
    height: 100px;
    width: auto;
    max-width: 340px;
    object-fit: contain;
    object-position: left center;
}

/* Navigation links */

.navlinks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.65rem, 1.2vw, 1.3rem);
    flex: 1;
}

.navlinks a {
    color: var(--ink);
    font-size: .86rem;
    font-weight: 600;
    padding: .5rem 0;
    position: relative;
    white-space: nowrap;
}

.navlinks a:hover,
.navlinks a.active {
    color: var(--forest);
}

.navlinks a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    border-radius: 5px;
    background: var(--green);
    transition: width .25s ease;
}

.navlinks a:hover::after,
.navlinks a.active::after {
    width: 100%;
}

/* Header call-to-action */

.navcta {
    background: var(--forest);
    color: var(--white);
    padding: .75rem 1.1rem;
    border-radius: 999px;
    font-weight: 650;
    font-size: .84rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}

.navcta:hover {
    background: var(--forest-2);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Mobile menu toggle */

.menu-toggle {
    display: none;
    background: var(--white);
    color: var(--forest);
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 1.5rem;
    cursor: pointer;
    padding: .35rem .7rem;
    line-height: 1;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--soft);
    border-color: var(--green);
}


/* =========================================================
   5. HERO SECTION
========================================================= */

.hero {
    background: linear-gradient(160deg, #F6FAF2, #E6F0DD);
    padding: clamp(2.5rem, 7vw, 5rem) 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    align-items: center;
}

.hero-text p {
    font-size: 1.08rem;
    max-width: 560px;
}

.hero-text h1 span {
    color: var(--forest-2);
}

.actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin: 1.4rem 0;
}

.trust-row {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: .85rem;
    color: var(--muted);
    margin-top: 1rem;
}


/* =========================================================
   6. BUTTONS
========================================================= */

.btn {
    display: inline-block;
    background: var(--forest);
    color: var(--white);
    padding: .85rem 1.5rem;
    border-radius: 999px;
    font-weight: 650;
    border: 2px solid var(--forest);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background: var(--forest-2);
    border-color: var(--forest-2);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn.outline {
    background: transparent;
    color: var(--forest);
}

.btn.outline:hover {
    background: var(--forest);
    color: var(--white);
}


/* =========================================================
   7. HERO ART / ANIMATIONS
========================================================= */

.hero-art {
    position: relative;
    height: 380px;
}

.orbit {
    position: absolute;
    inset: 8% 18%;
    border: 2px dashed var(--green);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.orbit.two {
    inset: 22% 6%;
    border-style: solid;
    border-color: #CFE1B4;
    animation-direction: reverse;
    animation-duration: 40s;
}

.orb {
    position: absolute;
    top: 38%;
    left: 42%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        #D8ECBB,
        #7FA34F
    );
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .9rem 1.1rem;
    font-weight: 600;
    font-size: .85rem;
    color: var(--forest);
    animation: float 5s ease-in-out infinite;
}

.floating-card small {
    display: block;
    font-weight: 400;
    color: var(--muted);
    margin-top: .25rem;
}

.fc-one {
    top: 8%;
    left: 0;
}

.fc-two {
    bottom: 8%;
    right: 0;
    animation-delay: 1.5s;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* =========================================================
   8. STATISTICS
========================================================= */

.stats {
    background: var(--forest);
    color: var(--white);
    padding: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    color: var(--green-light);
    line-height: 1.3;
}

.stat span {
    font-size: .85rem;
    color: #C9D6C3;
}


/* =========================================================
   9. CARDS
========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #CAD8BF;
}

.cards > .card {
    height: 100%;
}

.iconbox {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--soft);
    color: var(--forest);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.text-link {
    font-weight: 650;
    color: var(--forest);
}

.text-link:hover {
    text-decoration: underline;
}


/* =========================================================
   10. VISUAL PANEL
========================================================= */

.visual-panel {
    background: linear-gradient(
        145deg,
        var(--forest),
        var(--forest-2)
    );
    color: #E9F1E3;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.visual-panel h3 {
    color: var(--white);
}

.visual-panel p {
    line-height: 1.8;
}

/* Light version used on the home page */

.visual-panel-light {
    background: linear-gradient(145deg, #DCE9D2, #A9C77D);
    color: var(--forest);
}

.visual-panel-light h3 {
    color: var(--forest);
}

.visual-panel-light p {
    color: #405247;
}

.visual-panel-light .pill {
    background: var(--forest);
    color: var(--white);
}

.pill {
    display: inline-block;
    background: #E5EFD9;
    color: var(--forest);
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem .75rem;
    border-radius: 999px;
    margin: .2rem .3rem .3rem 0;
}

.pill-dark {
    background: var(--forest);
    color: var(--white);
}


/* =========================================================
   11. CHECKLIST
========================================================= */

.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
}

.checklist li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: .7rem;
}

.checklist li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--forest-2);
    font-weight: 700;
}


/* =========================================================
   12. PRODUCTS
========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

.product {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.tag {
    display: inline-block;
    background: var(--soft);
    color: var(--forest);
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 999px;
    margin-bottom: .6rem;
}


/* =========================================================
   13. ROUTES
========================================================= */

.route-list {
    display: grid;
    gap: .9rem;
}

.route {
    background: var(--soft);
    border-left: 4px solid var(--green);
    border-radius: 8px;
    padding: .9rem 1.1rem;
}

.route small {
    display: block;
    color: var(--muted);
    font-size: .85rem;
    margin-top: .25rem;
}


/* =========================================================
   14. NOTICES
========================================================= */

.notice {
    background: #FFF8E1;
    border-left: 4px solid #E0B44A;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    color: #5C4A1A;
    font-size: .92rem;
}

.notice strong {
    display: block;
    margin-bottom: .35rem;
}

.notice p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   15. CTA BAND
========================================================= */

.cta-band {
    background: linear-gradient(
        135deg,
        var(--forest),
        var(--forest-2)
    );
    color: var(--white);
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-band h2 {
    color: var(--white);
    margin: 0 0 .3rem;
}

.cta-band p {
    color: #D5E2CD;
    margin: 0;
}

.cta-band .btn {
    background: var(--green);
    border-color: var(--green);
    color: var(--forest);
}

.cta-band .btn:hover {
    background: #C3DD9B;
    border-color: #C3DD9B;
}


/* =========================================================
   16. PAGE HERO / BREADCRUMBS
========================================================= */

.page-hero {
    background: linear-gradient(160deg, #F6FAF2, #E6F0DD);
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.breadcrumbs {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: .8rem;
}

.breadcrumbs a {
    color: var(--forest);
}

.breadcrumbs a:hover {
    text-decoration: underline;
}


/* =========================================================
   17. ABOUT PAGE
========================================================= */

.about-intro {
    max-width: 850px;
}

.about-intro p {
    font-size: 1.08rem;
    line-height: 1.8;
}

.company-overview p {
    line-height: 1.85;
    color: var(--muted);
}

.vision-mission-divider {
    height: 1px;
    background: rgba(255, 255, 255, .2);
    margin: 1.8rem 0;
}

.visual-panel .pill {
    margin-bottom: .9rem;
}

.visual-panel h3 {
    font-size: 1.4rem;
    line-height: 1.5;
}

.visual-panel p {
    line-height: 1.8;
    margin-bottom: 0;
}

.principle-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.principle-card h3 {
    margin-bottom: .65rem;
}

.principle-card p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 0;
}

.principle-card .iconbox {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
}

.partnership-section {
    max-width: 850px;
}


/* =========================================================
   18. CONTACT
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 2rem;
}

.contact-box {
    background: var(--soft);
    border-radius: var(--radius);
    padding: 1.8rem;
}

.contact-box h3 {
    margin-top: 0;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .35rem;
    color: var(--forest);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .75rem .9rem;
    font: inherit;
    background: var(--white);
    color: var(--ink);
    transition: var(--transition);
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: 2px solid var(--green);
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(169, 199, 125, .12);
}


/* =========================================================
   19. FOOTER
========================================================= */

.footer {
    background: var(--forest);
    color: #D5E2CD;
    padding: clamp(2rem, 5vw, 3.5rem) 0 0;
}

/* Footer company logo */

.footer .brand-logo {
    height: 88px;
    max-width: 300px;
    width: auto;
    object-fit: contain;
    object-position: left center;
}

.footer h4 {
    color: var(--white);
    margin-top: 0;
}

.footer a {
    color: #C9D6C3;
}

.footer a:hover {
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.footer-brand-description {
    margin-top: 1rem;
    max-width: 340px;
    line-height: 1.8;
}

.copyright {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid #2C5741;
    padding: 1.1rem 0;
    font-size: .82rem;
    color: #9FB69A;
}


/* =========================================================
   20. NEWS FEED
========================================================= */

.news-date {
    display: block;
    color: #849087;
    font-size: .82rem;
    margin-top: .5rem;
}


/* =========================================================
   21. REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}


/* =========================================================
   22. ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   23. RESPONSIVE: TABLETS AND SMALL DESKTOPS
========================================================= */

@media (max-width: 1100px) {

    .navinner {
        min-height: 105px;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .brand-logo {
        height: 86px;
        max-width: 290px;
    }

    .navlinks {
        flex: 0 0 100%;
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
        gap: .7rem 1.2rem;
        border-top: 1px solid var(--line);
        padding: .5rem 0 .2rem;
    }

    .navlinks a {
        font-size: .84rem;
    }

    .navcta {
        margin-left: auto;
        padding: .65rem .9rem;
        font-size: .8rem;
    }

    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-art {
        height: 320px;
    }
}


/* =========================================================
   24. RESPONSIVE: MOBILE
========================================================= */

@media (max-width: 780px) {

    .navinner {
        min-height: 85px;
        gap: .75rem;
        flex-wrap: wrap;
        padding: .4rem 0;
    }

    .brand {
        max-width: calc(100% - 55px);
    }

    .brand-logo {
        height: 72px;
        max-width: 250px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .navcta {
        display: none;
    }

    .navlinks {
        display: none;
        flex: 0 0 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        border-top: 1px solid var(--line);
        padding: .6rem 0;
        margin-top: .3rem;
        order: 3;
    }

    .navlinks.open {
        display: flex;
    }

    .navlinks a {
        padding: .7rem .4rem;
        border-bottom: 1px solid #F0F3EC;
        font-size: .94rem;
    }

    .navlinks a::after {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        height: 260px;
        order: -1;
        margin-bottom: 1rem;
    }

    .orb {
        width: 80px;
        height: 80px;
    }

    .floating-card {
        font-size: .78rem;
        padding: .7rem .9rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer .brand-logo {
        height: 68px;
        max-width: 240px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .copyright {
        flex-direction: column;
        text-align: center;
    }

    .topbar .container {
        justify-content: center;
        text-align: center;
    }

    .topbar .container span {
        font-size: .78rem;
    }

    .visual-panel {
        padding: 1.8rem;
    }
}


/* =========================================================
   25. RESPONSIVE: SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .navinner {
        min-height: 76px;
    }

    .brand-logo {
        height: 62px;
        max-width: 215px;
    }

    .footer .brand-logo {
        height: 58px;
        max-width: 200px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.7rem;
    }

    .actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-art {
        height: 220px;
    }

    .card,
    .product {
        padding: 1.2rem;
    }

    .visual-panel {
        padding: 1.4rem;
    }

    .about-intro p {
        font-size: 1rem;
    }

    .topbar {
        font-size: .76rem;
    }
}
