@import url('https://fonts.googleapis.com/css2?family=Anton&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&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300..700&display=swap');

/* Imported Roboto, Poppins, Anton Font Family */

:root {
    /* Dark mode (default) */
    --main-bg: #111111;
    --txt-color: #fff;
    --light-txt: #ffffffd0;
    --secondary_txt: #111;
}

/* Light mode */
[data-theme="light"] {
    --main-bg: #fafafa;
    --txt-color: #111111;
    --light-txt: #444444;
    --secondary_txt: #ffffff;
}


html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--txt-color);
}

/* Theme toggle button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: var(--txt-color);
    color: var(--main-bg);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.theme-toggle .material-symbols-outlined {
    font-size: 20px;
}

body {
    box-sizing: border-box;
    font-family: 'Poppins';
    background: var(--main-bg);
    color: var(--txt-color);
    overflow-x: hidden;
    cursor: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav,
#navbar {
    padding: 28px 6%;
    max-width: 1280px;
    display: flex;
    position: fixed;
    top: 0;
    z-index: 100;
    left: 50%;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    transform: translateX(-50%);
    box-sizing: border-box;
    transition: .2s;
}

nav h1,
#navbar h1 {
    z-index: 100;
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: var(--main-bg);
    border: 1px solid rgba(30, 144, 255, 0.3);
    border-radius: 10px;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

/* Create an invisible bridge to prevent gap */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
    z-index: 9999;
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--txt-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(30, 144, 255, 0.1);
    border-left-color: #1e90ff;
    padding-left: 25px;
}

[data-theme="light"] .dropdown-menu {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(30, 144, 255, 0.2);
}

nav.active,
#navbar.active {
    padding: 16px 6%;
    background: var(--main-bg);
}

nav ul,
#navbar ul {
    display: flex;
}

nav ul li,
#navbar ul li {
    list-style-type: none;
    margin-right: 3.5vw;
    position: relative;
}

nav ul li a,
#navbar ul li a {
    color: var(--txt-color);
    text-decoration: none;
    cursor: none;
}

nav ul li::before,
#navbar ul li::before {
    position: absolute;
    content: '';
    bottom: -3px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--txt-color);
    border-radius: 3px;
    transition: .2s;
    transition-delay: .1s;
}

nav ul li:hover::before,
#navbar ul li:hover::before {
    left: 0;
    right: 0;
}

#humburger {
    display: none !important;
    flex-direction: column;
    position: relative;
    z-index: 101;
}

#humburger span {
    width: 30px;
    height: 4px;
    position: relative;
    background: var(--txt-color);
    border-radius: 3px;
}

#humburger span:nth-child(1) {
    margin-bottom: 6px;
}

/* ------------------ Home ------------------------ */

section {
    max-width: 1280px;
    padding: 90px 6% 20px 6%;
    margin: auto;
    box-sizing: border-box;
}

.header {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: auto;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    padding-top: 0;
}

/* Machine backdrop for visual interest */
.machine-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 800px;
    height: 60%;
    z-index: -20;
    opacity: 0.35;
    overflow: hidden;
    border-radius: 20px;
    filter: blur(1px);
}

[data-theme="light"] .machine-backdrop {
    opacity: 0.2;
    filter: blur(0.5px);
}

.machine-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    animation: slideshow 35s ease-in-out infinite;
}

.machine-image.active {
    opacity: 1;
}

.machine-image:nth-child(1) {
    animation-delay: 0s;
}

.machine-image:nth-child(2) {
    animation-delay: 5s;
}

.machine-image:nth-child(3) {
    animation-delay: 10s;
}

.machine-image:nth-child(4) {
    animation-delay: 15s;
}

.machine-image:nth-child(5) {
    animation-delay: 20s;
}

.machine-image:nth-child(6) {
    animation-delay: 25s;
}

.machine-image:nth-child(7) {
    animation-delay: 30s;
}

@keyframes slideshow {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    2.8% {
        opacity: 1;
    }

    14.3% {
        opacity: 1;
        transform: scale(1.05);
    }

    17.1% {
        opacity: 0;
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Energy Particles Container */
/* Global Energy Particles Background */
.energy-particles-container.global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -30;
    pointer-events: none;
    overflow: hidden;
}

.energy-particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(30, 144, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 70%);
}

/* Energy Particles */
.energy-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.8) 0%, rgba(0, 191, 255, 0.4) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(30, 144, 255, 0.6), 0 0 40px rgba(30, 144, 255, 0.4), 0 0 60px rgba(30, 144, 255, 0.2);
    animation: float 6s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
}

.energy-particle:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.energy-particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 60%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.energy-particle:nth-child(3) {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.energy-particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 30%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.energy-particle:nth-child(5) {
    width: 14px;
    height: 14px;
    top: 50%;
    left: 90%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.energy-particle:nth-child(6) {
    width: 7px;
    height: 7px;
    top: 70%;
    left: 15%;
    animation-delay: 5s;
    animation-duration: 7s;
}

.energy-particle:nth-child(7) {
    width: 9px;
    height: 9px;
    top: 15%;
    left: 50%;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

.energy-particle:nth-child(8) {
    width: 11px;
    height: 11px;
    top: 85%;
    left: 60%;
    animation-delay: 2.5s;
    animation-duration: 6s;
}

.energy-particle:nth-child(9) {
    width: 8px;
    height: 8px;
    top: 40%;
    left: 30%;
    animation-delay: 3.5s;
    animation-duration: 8s;
}

.energy-particle:nth-child(10) {
    width: 13px;
    height: 13px;
    top: 25%;
    left: 85%;
    animation-delay: 4.5s;
    animation-duration: 7s;
}

.energy-particle:nth-child(11) {
    width: 6px;
    height: 6px;
    top: 75%;
    left: 40%;
    animation-delay: 5.5s;
    animation-duration: 9s;
}

.energy-particle:nth-child(12) {
    width: 10px;
    height: 10px;
    top: 10%;
    left: 25%;
    animation-delay: 6s;
    animation-duration: 8s;
}

/* Large Energy Particles */
.energy-particle.large {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.6) 0%, rgba(30, 144, 255, 0.3) 50%, transparent 100%);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.8), 0 0 60px rgba(0, 191, 255, 0.6), 0 0 90px rgba(30, 144, 255, 0.4);
}

.energy-particle.large:nth-child(13) {
    top: 35%;
    left: 60%;
    animation-delay: 1s;
    animation-duration: 10s;
}

.energy-particle.large:nth-child(14) {
    top: 65%;
    left: 75%;
    animation-delay: 3s;
    animation-duration: 12s;
}

.energy-particle.large:nth-child(15) {
    top: 55%;
    left: 5%;
    animation-delay: 5s;
    animation-duration: 11s;
}

/* Energy Waves */
.energy-wave {
    position: absolute;
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: 50%;
    animation: wave 8s linear infinite;
}

.energy-wave:nth-child(16) {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.energy-wave:nth-child(17) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 70%;
    animation-delay: 3s;
}

.energy-wave:nth-child(18) {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 30%;
    animation-delay: 6s;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
    }

    50% {
        transform: translateY(-10px) translateX(-15px) scale(0.9);
    }

    75% {
        transform: translateY(-30px) translateX(5px) scale(1.05);
    }
}

@keyframes glow {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(30, 144, 255, 0.6), 0 0 40px rgba(30, 144, 255, 0.4), 0 0 60px rgba(30, 144, 255, 0.2);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(30, 144, 255, 0.8), 0 0 60px rgba(30, 144, 255, 0.6), 0 0 90px rgba(30, 144, 255, 0.4);
    }
}

@keyframes wave {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.header .header_txt {
    width: 80%;
}

.header_txt h1 {
    font-size: 3.3rem;
    max-width: 600px;
    font-weight: 500;
    line-height: 66px;
    letter-spacing: -2px;
}

.header_txt #heroHead {
    transition-delay: .3s;
}

.header_txt .playButton {
    background: transparent;
    border: 1px solid var(--txt-color);
    display: flex;
    align-items: center;
    max-width: 200px;
    border-radius: 30px;
    padding: 12px;
    margin-top: 280px;
    text-decoration: none;
    color: inherit;
}

.header_txt .playButton:nth-child(2) {
    margin-top: 15px;
}

.header_txt .playButton img {
    max-width: 40px;
}

.header_txt .playButton .material-symbols-outlined {
    font-size: 40px;
    color: var(--txt-color);
}

.header_txt .playButton p {
    font-size: 12px;
    margin-left: 20px;
    color: var(--txt-color);
}

.absoluteHero {
    max-width: 200px;
    display: flex;
    position: relative;
    height: 90vh;
    padding: 20px 0;
    flex-direction: column;
    justify-content: space-between;
    overflow: visible;
}


.absoluteHero h1 {
    position: absolute;
    top: 30%;
    left: 100vw;
    font-size: 7rem;
    font-weight: 600;
    z-index: -10;
    color: var(--main-bg);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(135, 206, 250, 0.6);
    animation: smoothSlide 16s ease-in-out infinite;
    white-space: nowrap;
    width: max-content;
    min-width: 100vw;
    filter: drop-shadow(0 0 15px rgba(30, 144, 255, 0.4));
}

@keyframes smoothSlide {
    0% {
        left: 100vw;
        opacity: 0;
        filter: drop-shadow(0 0 15px rgba(30, 144, 255, 0.4)) blur(4px);
    }

    8% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(30, 144, 255, 0.5)) blur(0px);
    }

    92% {
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(30, 144, 255, 0.5)) blur(0px);
    }

    100% {
        left: -100vw;
        opacity: 0;
        filter: drop-shadow(0 0 15px rgba(30, 144, 255, 0.4)) blur(4px);
    }
}

.absoluteHero .absoluteTxt {
    margin-top: 140px;
}

.absoluteTxt h2 {
    font-weight: 600;
    font-size: 17px;
}

.absoluteTxt p {
    color: var(--txt-color);
    font-size: 12px;
    margin: 16px 0;
}

.absoluteTxt .headerProfiles {
    display: flex;
    transform: translateX(10px);
}

.headerProfiles img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--txt-color);
    margin-left: -10px;
    z-index: 1;
    object-fit: cover;
}

.headerProfiles img:nth-child(4) {
    z-index: 1;
}

.headerProfiles img:nth-child(3) {
    z-index: 2;
}

.headerProfiles img:nth-child(2) {
    z-index: 3;
}

.headerProfiles img:nth-child(1) {
    z-index: 4;
}

.headerProfiles .additionalCount {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--txt-color);
    margin-left: -10px;
    z-index: -1;
    color: var(--txt-color);
    display: flex;
    justify-content: center;
    font-size: 13px;
    align-items: center;
}

#ScrollMeDown {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: none;
}

#ScrollMeDown span {
    font-size: 16px;
    border: 1px solid white;
    border-radius: 50%;
    padding: 12px;
    position: relative;
}

/* Services Section */
.services-section {
    padding: 60px 6% 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-header p {
    font-size: 1.1rem;
    color: var(--light-txt);
    max-width: 600px;
    margin: 0 auto;
}

.neonContainer {
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.neon_div {
    display: flex;
    flex-direction: column;
    max-width: 230px;
    text-align: center;
    padding: 26px;
    border-radius: 70px;
    margin-bottom: 35px;
}

.neon_div:nth-child(1) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(255, 156, 192, 0.25) 100%);
}

.neon_div:nth-child(2) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(43, 109, 203, 0.25) 100%);
}

.neon_div:nth-child(3) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(172, 159, 115, 0.25) 100%);
}

.neon_div:nth-child(4) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(140, 63, 201, 0.25) 100%);
}

.neon_div:nth-child(5) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(99, 201, 201, 0.25) 100%);
}

.neon_div:nth-child(6) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(201, 91, 63, 0.25) 100%);
}

.neon_div span {
    font-size: 28px;
    position: relative;
    align-self: center;
    width: 27px;
}

.neon_div span::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    z-index: -1;
    background: var(--color);
    border-radius: 50%;
}

.neon_div h1 {
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 6px;
}


/* ----------------------- About -------------------- */

#about {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.aboutBox {
    padding-bottom: 20px;
}

.aboutBox h1 {
    font-weight: 500;
    font-size: 2.41rem;
}

.aboutBox p {
    color: var(--light-txt);
    margin: 12px 0;
    line-height: 28px;
    min-height: 100px;
}

.about_txt:nth-child(1) {
    grid-row: 1 / 2;
}

.about_txt:nth-child(2) {
    grid-row: 2 / 3;
}

.about_txt:nth-child(3) {
    grid-row: 3 / 4;
}

@media (max-width:750px) {
    #about {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    #about div {
        grid-row: auto;
    }
}

.about_txt h3 {
    font-weight: 500;
    margin-bottom: 6px;
}

.about_txt li span {
    font-size: 20px;
    color: #1E90FF;
    margin-right: 8px;
}

.about_txt ul {
    list-style: none;
    align-items: center;
}

.about_txt ul li {
    align-items: center;
    margin-bottom: 6px;
    transition: .2s;
    display: flex;
    width: fit-content;
}

.about_txt ul li:hover {
    transform: translateX(4px);
}


/* --------------------- Services  */

#services {
    position: relative;
}

#services h1 {
    font-weight: 500;
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
}

.serviceContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.serviceBox {
    padding: 20px;
    border-radius: 10px 50px 10px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    height: 100%;
    min-height: 250px;
}

.serviceBox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(30, 144, 255, 0.1), rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.serviceBox:hover::before {
    opacity: 1;
}

.serviceBox:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(30, 144, 255, 0.2);
    border-color: rgba(30, 144, 255, 0.3);
}

.serviceBox h2 {
    font-weight: 500;
    transition: color 0.3s ease;
}

.serviceBox:hover h2 {
    color: #1E90FF;
}

.serviceBox p {
    color: var(--light-txt);
    margin: 8px 0;
    font-size: 13px;
    transition: color 0.3s ease;
}

.serviceBox:hover p {
    color: var(--txt-color);
}

.serviceBox div:nth-child(2) {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.serviceBox .serviceBtn {
    background: rgba(255, 255, 255, 0.1);
    padding: 7px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.serviceBox:hover .serviceBtn {
    background: rgba(30, 144, 255, 0.2);
    transform: scale(1.1);
}

.serviceBox button {
    display: flex;
    align-items: center;
    border: none;
    outline: none;
    font-family: 'Teko';
    background: transparent;
    color: var(--txt-color);
    font-size: 18px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.serviceBox button:hover {
    color: #1E90FF;
    transform: translateX(5px);
}

.serviceBox button span {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.serviceBox button:hover span {
    transform: rotate(45deg);
}

.serviceBox:nth-child(1) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(255, 156, 192, 0.1) 100%);
}

.serviceBox:nth-child(2) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(43, 109, 203, 0.1) 100%);
}

.serviceBox:nth-child(3) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(172, 159, 115, 0.1) 100%);
}

.serviceBox:nth-child(4) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(140, 63, 201, 0.1) 100%);
}

.serviceBox:nth-child(5) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(99, 201, 201, 0.1) 100%);
}

.serviceBox:nth-child(6) {
    background: linear-gradient(0deg, var(--main-bg) 0%, rgba(201, 91, 63, 0.1) 100%);
}

/* // For Btns */
.serviceBox:nth-child(1) .serviceBtn {
    background: rgba(255, 156, 192, 1);
}

.serviceBox:nth-child(2) .serviceBtn {
    background: rgba(43, 109, 203, 1);
}

.serviceBox:nth-child(3) .serviceBtn {
    background: rgba(172, 159, 115, 1);
}

.serviceBox:nth-child(4) .serviceBtn {
    background: rgba(140, 63, 201, 1);
}

.serviceBox:nth-child(5) .serviceBtn {
    background: rgba(99, 201, 201, 1);
}

.serviceBox:nth-child(6) .serviceBtn {
    background: rgba(201, 91, 63, 1);
}

/* --------------------- Data ------------------- */

#data {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 40px 20px;
}

#data div {
    padding: 20px;
    border-radius: 12px;
}

/* Main heading section */
#data div:nth-child(1) {
    grid-column: 1/5;
    grid-row: 1/2;
    text-align: center;
}

/* Data metrics - arranged in a row */
#data div:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
    background: linear-gradient(rgba(30, 144, 255, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(30, 144, 255, 0.2);
    text-align: center;
}

#data div:nth-child(3) {
    grid-column: 2/3;
    grid-row: 2/3;
    background: linear-gradient(rgba(255, 156, 192, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(255, 156, 192, 0.2);
    text-align: center;
}

#data div:nth-child(4) {
    grid-column: 3/4;
    grid-row: 2/3;
    background: linear-gradient(rgba(140, 63, 201, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(140, 63, 201, 0.2);
    text-align: center;
}

#data div:nth-child(5) {
    grid-column: 4/5;
    grid-row: 2/3;
    background: linear-gradient(rgba(99, 201, 201, 0.1) 0%, transparent 100%);
    border: 1px solid rgba(99, 201, 201, 0.2);
    text-align: center;
}

/* Charts section */
#data div:nth-child(6) {
    grid-column: 1/3;
    grid-row: 3/4;
    background: linear-gradient(rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
    /* Increased height for better legend display */
}

#data div:nth-child(7) {
    grid-column: 3/5;
    grid-row: 3/4;
    background: linear-gradient(rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
    /* Increased height for better legend display */
}

#data div h1 {
    font-weight: 500;
    font-size: 3em;
    margin-bottom: 15px;
}

#data div h2 {
    font-weight: 600;
    font-size: 2.5em;
    margin: 15px 0 10px 0;
    color: #1E90FF;
}

#data div h3 {
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

#data div p {
    color: var(--light-txt);
    font-size: 0.9em;
    margin: 5px 0;
}

/* Circle indicators */
#data .circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

#data .circle span {
    width: 12px;
    height: 12px;
    background: rgba(30, 144, 255, 0.8);
    border-radius: 50%;
    display: block;
    position: relative;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Data charts styling */
.data-chart {
    position: relative;
    height: 400px;
    /* Increased from 300px */
    display: flex;
    flex-direction: column;
}

.data-chart canvas {
    max-height: 320px;
    /* Increased from 250px */
    flex: 1;
}

/* Small text styling */
#data small {
    font-size: 0.7em;
    opacity: 0.8;
}


/* --------------------- Partners Section */

.partners-section {
    padding: 80px 20px;
}

.partners-section h1 {
    font-weight: 500;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--txt-color);
}

.partners-section p {
    text-align: center;
    color: var(--light-txt);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1em;
    line-height: 1.6;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    min-height: 120px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-color: rgba(30, 144, 255, 0.3);
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo img[alt="Baker Hughes"] {
    max-height: 95px;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1) invert(0);
    opacity: 1;
}

[data-theme="light"] .partner-logo {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01));
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .partner-logo:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
    border-color: rgba(30, 144, 255, 0.3);
}

[data-theme="light"] .partner-logo img {
    filter: grayscale(100%) brightness(1) invert(0);
    opacity: 0.6;
}

[data-theme="light"] .partner-logo:hover img {
    filter: grayscale(0%) brightness(1) invert(0);
    opacity: 1;
}



/* ------------------------- Contact  */

#contact {
    position: relative;
}

#contact h1 {
    font-size: 2.6em;
    text-align: center;
    font-weight: 500;
}

#contact p {
    color: var(--light-txt);
    text-align: center;
    max-width: 600px;
    margin: auto;
    margin-bottom: 50px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border-color: rgba(30, 144, 255, 0.3);
    box-shadow: 0 8px 24px rgba(30, 144, 255, 0.1);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 2rem;
    color: #1E90FF;
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
    color: var(--txt-color);
}

.contact-link {
    color: #1E90FF;
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
}

.contact-link:hover {
    color: #4169E1;
    transform: translateX(3px);
}

.contact-number {
    font-size: 1.1rem;
    color: var(--txt-color);
    margin: 0 0 1rem 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-address {
    color: var(--light-txt);
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.contact-hours {
    color: var(--light-txt);
    margin: 10px 0 0 0;
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0.9;
}

.phone-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1.5px solid;
}

.phone-btn {
    background: rgba(30, 144, 255, 0.1);
    border-color: rgba(30, 144, 255, 0.3);
    color: #1E90FF;
}

.phone-btn:hover {
    background: rgba(30, 144, 255, 0.2);
    border-color: #1E90FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 144, 255, 0.2);
}

.whatsapp-btn {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.contact-button .material-symbols-outlined,
.contact-button svg {
    width: 18px;
    height: 18px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(30, 144, 255, 0.08);
    border: 1.5px solid rgba(30, 144, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--txt-color);
}

.social-btn:hover {
    background: rgba(30, 144, 255, 0.15);
    border-color: #1E90FF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.2);
    color: #1E90FF;
}

.social-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.social-btn:hover svg {
    transform: scale(1.1);
}

.contact-map {
    min-height: 550px;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .contact-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
    border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-card:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.02));
    border-color: rgba(30, 144, 255, 0.3);
}

[data-theme="light"] .contact-map {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .phone-btn {
    background: rgba(30, 144, 255, 0.08);
    border-color: rgba(30, 144, 255, 0.25);
}

[data-theme="light"] .phone-btn:hover {
    background: rgba(30, 144, 255, 0.15);
}

[data-theme="light"] .whatsapp-btn {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.25);
}

[data-theme="light"] .whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.15);
}

[data-theme="light"] .social-btn {
    background: rgba(30, 144, 255, 0.05);
    border-color: rgba(30, 144, 255, 0.15);
}

[data-theme="light"] .social-btn:hover {
    background: rgba(30, 144, 255, 0.12);
}



/* //Animation to Alert  */

.alertBox {
    position: fixed;
    bottom: -60px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 9999;
    background: rgb(31, 31, 31);
}

.alertBox p {
    color: white;
    margin: 8px 0;
}

.alertBox.animAlert {
    animation: popUpAlert 3s linear;
}

@keyframes popUpAlert {
    0% {
        bottom: -60px;
    }

    10% {
        bottom: 0px;
    }

    90% {
        bottom: 0px;
    }

    100% {
        bottom: -60px;
    }
}


/* // Footer  */

#footer {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 100% !important;
    width: 100%;
    padding: 30px 6%;
    box-sizing: border-box;
}

#footer div {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

#footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(30, 144, 255, 0.2);
}

#footer .footer-bottom h1 {
    margin: 0;
    z-index: 100;
}

#footer ul {
    display: flex;
    flex-direction: row;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer ul li {
    margin: 0;
}

#footer ul li a {
    text-decoration: none;
    color: var(--txt-color);
    font-size: 18px;
    cursor: none;
}

#footer ul li a:hover {
    color: #1E90FF;
}

.footer-copyright {
    color: var(--txt-color);
    font-size: 0.95rem;
    margin: 0;
}

.footer-copyright-bottom {
    color: var(--txt-color);
    font-size: 0.95rem;
    margin: 10px 0 0 0;
    text-align: center;
}

#footer div input {
    margin: 12px 0;
    width: auto;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-family: 'Poppins';
    background: transparent;
    color: white;
    cursor: none;
    border-bottom: 2px solid #1E90FF;
}

#footer div button {
    padding: 12px 16px;
    border: none;
    outline: none;
    cursor: none;
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: 500;
    background: #1E90FF;
}


.cursor {
    width: 8px;
    height: 8px;
    z-index: 10000;
    border-radius: 50%;
    background-color: var(--txt-color);
    position: fixed;
    transition: .1s;
    pointer-events: none;
}

.cursor::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    padding: 14px;
    top: -15px;
    left: -15px;
    border: 1px solid var(--txt-color);
    position: absolute;
}

.cursor.active {
    transform: scale(0.8);
}

.cursor.active::after {
    transform: scale(0.8);
}

.hoverElements {
    transition: .2s;
}

.hoverElements:hover {
    filter: brightness(1.1);
}


/* Enhanced Animation System - Faster and more responsive */
.revealElements {
    opacity: 0;
    transform: translateY(20px);
    /* Reduced from 30px */
    transition: all 0.4s ease-out;
    /* Faster transition from 0.6s */
    transition-delay: 0s;
}

.revealElements.active {
    opacity: 1;
    transform: translateY(0);
}

/* Removed staggered delays for immediate response */
/* Service boxes - faster slide in */
.serviceBox.revealElements {
    transform: translateX(-30px);
    /* Reduced from -50px */
    transition: all 0.5s ease-out;
    /* Faster from 0.7s */
}

.serviceBox.revealElements.active {
    transform: translateX(0);
}

/* Data section - faster fade up */
#data div {
    opacity: 0;
    transform: translateY(15px);
    /* Reduced from 20px */
    transition: all 0.4s ease-out;
    /* Faster from 0.6s */
}

#data div.revealElements.active,
#data div.active {
    opacity: 1;
    transform: translateY(0);
}

#closeMenu {
    display: none;
}

/* Enhanced Contact Form Styling */
#contact form {
    max-width: 800px;
    width: 100%;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
}

.form-row .inputBox {
    width: 100%;
    margin: 0;
}

.form-description {
    color: var(--light-txt);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 15px 0 25px 0;
    text-align: left;
    max-width: none;
}

.inputBox select {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 2px solid #1E90FF;
    background: transparent;
    outline: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: .5s;
    font-family: 'Poppins';
    appearance: none;
}

.inputBox select:focus~span,
.inputBox select:valid~span {
    color: #1E90FF;
    transform: translateY(-20px);
    font-size: 0.65em;
}

.inputBox select option {
    background: var(--main-bg);
    color: #fff;
    padding: 10px;
}

.services-checkboxes {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--txt-color);
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.checkbox-item:hover {
    color: #1E90FF;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #1E90FF;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked+.checkmark {
    background: #1E90FF;
}

.checkbox-item input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Newsletter form styling */
#newsletterForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#newsletterForm input {
    margin: 0;
}

#newsletterForm button {
    margin: 0;
}

/* Company logo styling for testimonials */
.company-logo {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 50%;
    overflow: hidden;
}

.company-logo .card-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 0;
    filter: contrast(1.1) brightness(0.9);
}

/* Specific adjustments for different logos */
.company-logo .card-img[src*="Chevron"] {
    width: 65px;
    height: 65px;
}

.company-logo .card-img[src*="Shell"] {
    width: 75px;
    height: 75px;
}

.company-logo .card-img[src*="Exxon"] {
    width: 80px;
    height: 80px;
}

/* Responsive contact form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    #contact form {
        padding: 20px;
    }
}

/* Enhanced Contact Form Features */
.inputBox.error input,
.inputBox.error select,
.inputBox.error textarea {
    border-bottom-color: #ff4444;
}

.inputBox.error span {
    color: #ff4444;
}

.inputBox.success input,
.inputBox.success select,
.inputBox.success textarea {
    border-bottom-color: #4CAF50;
}

.form-validation-message {
    font-size: 12px;
    margin-top: 5px;
    min-height: 16px;
}

.form-validation-message.error {
    color: #ff4444;
}

.form-validation-message.success {
    color: #4CAF50;
}

/* Loading state for form submission */
#contact form input[type="submit"].loading {
    background: #666;
    cursor: not-allowed;
    position: relative;
}

#contact form input[type="submit"].loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Enhanced newsletter styling */
#footer div:last-child {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(30, 144, 255, 0.2);
}

#footer div:last-child h2 {
    color: #1E90FF;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Form description styling */
.form-description {
    color: var(--light-txt);
    font-size: 14px;
    text-align: center;
    margin-bottom: 25px;
    padding: 0 20px;
    line-height: 1.5;
}

.form-description::before {
    content: '🔒';
    margin-right: 8px;
}

/* Enhanced input styling for better UX */
.inputBox select {
    color: var(--light-txt);
}

.inputBox select:focus {
    color: var(--txt-color);
}

.inputBox select option {
    padding: 8px 12px;
}

/* Immediate visibility for above-the-fold content */
#home .revealElements:not(.playButton),
.header_txt,
.absoluteHero {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Performance optimizations */
.revealElements {
    will-change: opacity, transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Ensure data section elements are properly styled */
#data .revealElements {
    will-change: opacity, transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    .revealElements,
    .serviceBox.revealElements,
    #data div {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Responsive Contact Section */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-map {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        gap: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-map {
        min-height: 350px;
    }

    .phone-actions {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .social-btn {
        padding: 0.9rem;
    }
}