/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

a {
    text-decoration: none;
    color: #0d5c91;
}

ul {
    list-style: none;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.logo-container {
    text-align: center;
    padding: 0.5rem 0;
}

.logo-container img {
    max-height: 60px;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    padding: 0.5rem 0;
    font-weight: 500;
    position: relative;
    transition: color 0.3s, transform 0.2s;
}

nav ul li a:hover {
    color: #0a3d5f;
    transform: translateY(-2px);
}

nav ul li a.active {
    color: #0a3d5f;
    font-weight: 600;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #0a3d5f;
}

/* Hero section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../images/hero-oilfield-sunset.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 8rem 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: #e67e22;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #d35400;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Main content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 3rem;
}

section {
    margin-bottom: 4rem;
    position: relative;
}

/* Section dividers */
.section-divider {
    height: 3px;
    background: linear-gradient(to right, #0d5c91, #e67e22, #0d5c91);
    margin: 3rem 0;
    border-radius: 2px;
}

h1, h2, h3 {
    color: #0a3d5f;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
}

.page-header {
    text-align: center;
    margin: 2rem 0 3rem;
    position: relative;
}

.page-header:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e67e22;
    margin: 1rem auto 0;
}

.welcome, .about-content, .products-intro, .industries-intro, .contact-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
}

/* Image containers */
.image-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.02);
}

/* About page */
.mission-statement {
    background-color: #f0f7fc;
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #0d5c91;
}

/* Products & Services page */
.product-category {
    margin-bottom: 3rem;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-category h2 {
    border-bottom: 2px solid #0d5c91;
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.category-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: #f0f7fc;
    padding: 8px;
    border-radius: 50%;
}

.product-category ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-category ul li::before {
    content: "•";
    color: #e67e22;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Industries page */
.industry-item {
    margin-bottom: 2.5rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-item h3 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
    color: #0d5c91;
}

.industry-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* Contact page */
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: #0a3d5f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d5c91;
    box-shadow: 0 0 0 3px rgba(13, 92, 145, 0.1);
}

.submit-button {
    background-color: #0d5c91;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #0a3d5f;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.submit-button:active {
    transform: translateY(-1px);
}

/* Footer */
footer {
    background-color: #0a3d5f;
    color: #fff;
    text-align: center;
    padding: 3rem 1rem;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #fff;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e67e22;
    text-decoration: none;
}

.tagline {
    font-style: italic;
    opacity: 0.9;
    margin-top: 1rem;
}

/* Responsive design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 0.5rem 0;
    }
    
    .hero {
        padding: 6rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .product-category, 
    .industry-item, 
    .contact-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

.services-highlight {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 3rem 0;
    gap: 2rem;
}

.highlight-item {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    padding: 15px;
    background-color: #f0f7fc;
    border: 2px solid #0d5c91;
}

.highlight-item h3 {
    margin-bottom: 1rem;
    color: #0d5c91;
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

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