/* GLOBAL SETTINGS */
:root {
    --primary-navy: #0a192f;
    --secondary-blue: #112240;
    --accent-gold: #d4af37;
    --text-light: #ccd6f6;
    --text-white: #ffffff;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Manrope', sans-serif;
    color: #444;
    overflow-x: hidden;
    line-height: 1.8;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

/* NAVBAR */
.navbar {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-white) !important;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--text-light) !important;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 20px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold) !important;
}

.btn-gold {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 10px 25px;
    transition: var(--transition);
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.btn-gold:hover {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
}

/* HERO SECTION - FIXED OIL RIG BACKGROUND */
.hero-section {
    height: 100vh;
    /* 1. We use a lighter blue overlay (0.45) so the image shines through */
    /* 2. We use a 'no-repeat' and 'cover' setting to ensure it fills the screen */
    background: linear-gradient(rgba(10, 25, 47, 0.45), rgba(10, 25, 47, 0.45)), 
                url('hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center; /* Centers everything */
    color: white;
    position: relative;
}

/* Make text readable against the busy rig image */
.hero-section h1, .hero-section p {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8); /* Stronger shadow for contrast */
}

/* Ensure footer links are definitely white */
.footer-link {
    color: #ffffff !important;
    opacity: 0.7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-gold) !important;
    opacity: 1;
    padding-left: 5px;
}

.hero-subtitle {
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

/* CARDS & SERVICES */
.section-title {
    position: relative;
    margin-bottom: 60px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.service-card {
    background: white;
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-navy);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::before {
    width: 100%;
}

.service-card:hover h4, .service-card:hover p, .service-card:hover li, .service-card:hover i {
    color: white !important;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    transition: var(--transition);
}

/* VALUES SECTION */
.bg-navy {
    background-color: var(--primary-navy);
    color: white;
}

.value-box {
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
    margin-bottom: 30px;
}

.value-box h5 {
    color: var(--accent-gold);
}

/* CONTACT SECTION */
.contact-form-wrapper {
    background: white;
    padding: 50px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

/* FOOTER UPDATES */
footer {
    background: #050d1a;
    color: #8892b0;
    font-size: 0.9rem;
    padding-top: 80px; /* Added spacing */
}

footer h5 {
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* The new white footer links */
.footer-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-gold) !important;
    transform: translateX(5px);
}