/* Global Styles */
:root {
    --primary-blue: #1e3a8a;
    --accent-orange: #FF6600;
    --light-gray: #f9fafb;
    --border-gray: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    line-height: 1.6;
}

/* Glass Header Effect */
.glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Slider */
.slider-image {
    transition: opacity 1s ease-in-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation */
nav {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Buttons */
button, a.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-orange);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

button:hover, a.btn:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* FAQ Accordion */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content.active {
    max-height: 500px;
    animation: slideDown 0.3s ease;
}

.faq-toggle.active span span:last-child {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Responsive Images */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

/* Section Spacing */
section {
    scroll-margin-top: 64px;
}

/* Form Styles */
input, textarea, select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 16px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mt-8 {
    margin-top: 32px;
}

.mb-8 {
    margin-bottom: 32px;
}

.px-4 {
    padding-left: 16px;
    padding-right: 16px;
}

/* Link Styles */
a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #e55a00;
}

/* =========================
   CAREER SECTION BACKGROUND
========================= */
.career-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #0b1f3a 0%,
        #154b89 50%,
        #0d54ed 100%
    );
}

/* =========================
   ENERGY (OIL) OVERLAY
========================= */
.career-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top right,
        rgba(255, 122, 24, 0.15),
        transparent 60%
    );
    pointer-events: none;
}

.career-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at bottom left,
        rgba(59, 130, 246, 0.12),
        transparent 60%
    );
    pointer-events: none;
}

/* =========================
   CONTENT LAYER SAFETY
========================= */
.career-section .content {
    position: relative;
    z-index: 2;
}

/* =========================
   TEXT STYLING
========================= */
.career-section h2 {
    font-weight: 700;
    color: #ffffff;
}

.career-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* =========================
   BUTTON ENHANCEMENT
========================= */
.career-section a {
    background-color: #f97316;
    transition: all 0.3s ease;
}

.career-section a:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
}

 /* =========================
   CLIENTS SECTION BACKGROUND
========================= */
.clients-section {
    background: linear-gradient(
        to bottom,
        #1e3a8a 0%,
        #223c73 50%,
        #ffffff10 100%
    );
    padding: 80px 0;
    overflow: hidden;
}

/* =========================
   SLIDER WRAPPER
========================= */
.logo-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* moving track */
.logo-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

/* =========================
   LOGO CARD (SMALLER + CENTERED)
========================= */
.logo-item {
    width: 90px;
    height: 90px;
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: transform 0.3s ease;
}

/* logo image */
.logo-item img {
    width: 55%;
    height: 55%;
    object-fit: contain;
}

/* hover effect */
.logo-item:hover {
    transform: scale(1.1);
}

/* =========================
   FOOTER BASE COLOR
========================= */
footer {
    color: #cbd5e1;
}

/* Links */
footer a {
    color: #ff7a18;
    transition: 0.3s ease;
}

footer a:hover {
    color: #ff944d;
}

/* =========================
   OPTIONAL TEXT IMPROVEMENT
========================= */
footer p {
    line-height: 1.6;
}


/* Overlay for hero sections */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay h1, 
.hero-overlay h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .hero-overlay h1, 
    .hero-overlay h2 {
        font-size: 32px;
    }
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* watermarks removal */
[data-v0], 
.v0-badge,
.v0-watermark,
.v0-branding,
.made-with-v0,
[class*="v0"],
[id*="v0"],
iframe[src*="v0.app"],
img[src*="v0"],
svg[data-v0] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide common v0/vercel UI elements */
button[title*="v0"],
button[title*="Made with"],
a[title*="Made with"],
div[style*="position: fixed"][style*="bottom"],
div[style*="position: fixed"][style*="right"],
[role="img"][aria-label*="v0"],
[role="img"][aria-label*="Made with"] {
    display: none !important;
}

/* Remove any floating badges or watermarks */
body > div[style*="position: fixed"],
body > iframe {
    display: none !important;
}
