/* =========================
   GLOBAL RESET & VARIABLES
========================= */

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

* {
    max-width: 100%;
}


:root {
    --primary: #003366;
    --accent: #FF6600;
    --secondary: #F8F9FA;
    --text-dark: #212529;
    --text-light: #ffffff;
    --bg-dark: #1f2933;
    --bg-light: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Prevent Media Overflow */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   LAYOUT
========================= */

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* =========================
   TYPOGRAPHY
========================= */

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: var(--accent);
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.section-text {
    font-size: 1.05rem;
    text-align: center;
    max-width: 750px;
    margin: 0 auto 20px;
}

/* =========================
   HEADER
========================= */

.header {
    background: var(--bg-light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo-img {
    height: 90px;
    width: auto;
}

.nav {
    display: flex;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

.highlight-btn {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 30px;
}

/* Mobile Menu */

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
}

/* =========================
   HERO
========================= */

/* =========================
   HERO SECTION BACKGROUND
========================= */

/* =========================
   HERO SLIDER BACKGROUND
========================= */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden;
    color: #ffffff;
}

/* Background Slides */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.2s ease-in-out;
    z-index: -2;
    opacity: 1;
}

/* Dark Overlay */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 20, 40, 0.8), rgba(0, 20, 40, 0.8));
    z-index: -1;
}



.hero-content {
    max-width: 850px;
    width: 100%;
}

.hero-title {
    font-size: clamp(3.2rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 1.5vw, 2.6rem);
    font-weight: 600; /* Semi Bold */
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}


.hero-title,
.hero-subtitle {
    text-shadow: 
        0 4px 18px rgba(0,0,0,0.9),
        0 0 25px rgba(0,0,0,0.6);
}



.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* =========================
   BUTTONS
========================= */

.btn {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #fff;
    color: var(--primary);
}

.btn-outline {
     background: var(--accent);
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* =========================
   GRID SYSTEM
========================= */

.services-grid,
.testimonials-grid,
.clients-list,
.feature-list {
    display: grid;
    gap: 30px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.clients-list,
.feature-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    list-style: none;
}

/* =========================
   CARDS
========================= */

.service-card,
.testimonial-card,
.clients-list li {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);

    text-align: center;          /* Center text */
    display: flex;               /* Center content vertically */
    flex-direction: column;
    align-items: center;         /* Horizontal center */
    justify-content: center;     /* Vertical center */
}


.service-card:hover {
    transform: translateY(-8px);
}

/* =========================
   FLEX SECTIONS
========================= */

.flex-row,
.contact-flex {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.flex-row > *,
.contact-flex > * {
    flex: 1 1 300px;
}

/* =========================
   FORMS
========================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 25px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 65vh;
        padding: 40px 15px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 90px;
    }

    .section-padding {
        padding: 40px 0;
    }
}
/* =========================
   SCROLL REVEAL ANIMATION
========================= */

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional Left / Right Animation */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s ease;
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* =========================
   MENU ICON ANIMATION
========================= */

.rotate-top {
    transform: rotate(45deg) translate(5px, 5px);
    transition: 0.3s ease;
}

.rotate-bottom {
    transform: rotate(-45deg) translate(5px, -5px);
    transition: 0.3s ease;
}

.fade {
    opacity: 0;
    transition: 0.3s ease;
}
.subsection-title {
    margin-top: 30px;
    text-align: center;
}

/* =====================================
   🔥 ORANGE NEON ENERGY THEME
===================================== */

:root {
    --neon-orange: #ff6a00;
    --neon-glow: rgba(255, 106, 0, 0.7);
    --neon-soft: rgba(255, 106, 0, 0.15);
}

/* Universal Energy Section Wrapper */
.energy-section {
    position: relative;
    border-radius: 18px;
    margin: 60px 20px;
    padding: 80px 0;
    isolation: isolate;
    transition: all 0.4s ease;
}

/* Neon Border Glow */
.energy-section::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        var(--neon-orange),
        transparent,
        var(--neon-orange)
    );
    -webkit-mask: 
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: borderGlow 4s linear infinite;
    z-index: -1;
}

/* Soft Background Glow */
.energy-section::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 90%;
    background: radial-gradient(
        circle,
        var(--neon-soft),
        transparent 70%
    );
    transform: translate(-50%, -50%);
    filter: blur(60px);
    z-index: -2;
    animation: pulseGlow 5s ease-in-out infinite;
}

/* Glow Animation */
@keyframes borderGlow {
    0% { filter: drop-shadow(0 0 10px var(--neon-glow)); }
    50% { filter: drop-shadow(0 0 25px var(--neon-orange)); }
    100% { filter: drop-shadow(0 0 10px var(--neon-glow)); }
}

@keyframes pulseGlow {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Service Cards Neon Hover */
.service-card,
.testimonial-card,
.clients-list li {
    position: relative;
    transition: all 0.4s ease;
}

.service-card:hover,
.testimonial-card:hover,
.clients-list li:hover {
    transform: translateY(-8px);
    box-shadow:
        0 0 10px var(--neon-orange),
        0 0 20px var(--neon-glow),
        0 0 40px rgba(255, 106, 0, 0.3);
}

/* Buttons Glow */
.btn-primary {
    background: var(--neon-orange);
    box-shadow: 0 0 15px var(--neon-glow);
}

.btn-primary:hover {
    box-shadow:
        0 0 20px var(--neon-orange),
        0 0 40px var(--neon-glow);
}

/* Headings Accent Glow */
.section-title {
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.4);
}

/* Navbar Highlight Glow */
.highlight-btn {
    background: var(--neon-orange);
    box-shadow: 0 0 15px var(--neon-glow);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .energy-section {
        margin: 40px 10px;
        padding: 60px 0;
    }
}
/* =========================
   PERFORMANCE OPTIMIZED ANIMATION
========================= */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.8s ease, opacity 0.8s ease;
    will-change: transform, opacity;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar Scroll Class */
.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 5px 0;
    transition: all 0.3s ease;
}
/* =====================================
   💬 WHATSAPP CHATBOT
===================================== */

.chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9999;
}

.chatbot.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chatbot-header {
    background: #ff6a00;
    color: #fff;
    padding: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.chatbot-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.chatbot-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    border: none;
    background: #25D366;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.chatbot-btn:hover {
    background: #1ebe5d;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .chatbot {
        right: 15px;
        left: 15px;
        width: auto;
    }
}
/* =========================
   PREMIUM NAVBAR FUEL ANIMATION
========================= */

.nav-animation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 80px;
    overflow: hidden;
}

.fuel-animation {
    width: 320px;
    height: 70px;
}

/* -------------------------
   TRUCK MOVEMENT
------------------------- */

.truck {
    transform: translateX(-150px);
    animation: moveTruck 14s linear infinite;
}

@keyframes moveTruck {
    0% { transform: translateX(-150px) translateY(0); }
    25% { transform: translateX(250px) translateY(-2px); }
    30% { transform: translateX(250px) translateY(0); }
    55% { transform: translateX(250px); }
    80% { transform: translateX(550px); }
    100% { transform: translateX(550px); }
}

/* -------------------------
   FUEL PIPE GLOW
------------------------- */

.fuel-line {
    animation: fuelConnect 14s linear infinite;
}

@keyframes fuelConnect {

    /* Hidden while truck moving */
    0%, 25% {
        width: 0;
        opacity: 0;
    }

    /* Appear */
    30% {
        opacity: 1;
    }

    /* Extend toward factory */
    30%, 55% {
        width: 120px; /* adjust distance if needed */
        opacity: 1;
    }

    /* Retract */
    60%, 100% {
        width: 0;
        opacity: 0;
    }
}



/* -------------------------
   FACTORY LIGHT GLOW
------------------------- */

.factory {
    animation: factoryLight 14s linear infinite;
}

@keyframes factoryLight {
    30%, 55% { filter: drop-shadow(0 0 10px #ff6a00); }
    0%, 25%, 60%, 100% { filter: none; }
}

/* -------------------------
   SMOKE ANIMATION
------------------------- */

.smoke {
    opacity: 0;
    animation: smokeRise 14s ease-in-out infinite;
}

@keyframes smokeRise {
    35% { opacity: 1; transform: translateY(0); }
    45% { opacity: 0.8; transform: translateY(-10px); }
    55% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 0; }
}

/* -------------------------
   RESPONSIVE SIZING
------------------------- */

@media (max-width: 1200px) {
    .fuel-animation {
        width: 280px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .fuel-animation {
        width: 220px;
        height: 50px;
    }
}
/* =========================
   FOUNDER SECTION
========================= */

.founder-section {
    background: #f8f9fa;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.founder-image {
    flex: 1 1 350px;
    text-align: center;
}

.founder-image img {
    width: 280px;
    height: 280px;
    object-fit: cover;       /* Crop properly */
    object-position: 50% 30%;
    border-radius: 50%;      /* Perfect circle */
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    border: 6px solid #ffffff;
    transition: 0.4s ease;
}


.founder-image img:hover {
    transform: translateY(-8px);
}

.founder-content {
    flex: 1 1 450px;
}

.founder-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.founder-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.founder-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.founder-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.founder-quote {
    font-style: italic;
    font-weight: 500;
    margin-top: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .founder-container {
        flex-direction: column;
        text-align: center;
    }

    .founder-content .section-title {
        text-align: center;
    }
}
/* =========================
   STATS SECTION
========================= */

.stats-section {
    background: #0d1b2a;
    padding: 80px 20px;
    color: #ffffff;
    text-align: center;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-box {
    transition: 0.4s ease;
}

.stat-box:hover {
    transform: translateY(-8px);
}

.stat-number,
.stat-static {
    font-size: 3rem;
    font-weight: 700;
    color: #ff6a00;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 1rem;
    opacity: 0.85;
}
/* =========================
   WHY CHOOSE US
========================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.why-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.4s ease;
}

.why-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.why-card:hover {
    transform: translateY(-8px);
}

/* =========================
   INDUSTRIES SECTION
========================= */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.industry-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.4s ease;
}

.industry-box i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.industry-box:hover {
    transform: translateY(-8px);
}
