/* Graben Energy Nigeria Limited Website Styles */

/* Color Scheme:
   Primary: #0B3D91 (Deep Blue - representing professionalism and trust)
   Secondary: #F7941D (Orange - representing energy and innovation)
   Accent: #1A5F7A (Teal - representing oil and gas industry)
   Background: #F5F5F5 (Light Gray)
   Text: #333333 (Dark Gray)
   White: #FFFFFF
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F5F5F5;
}

a {
    text-decoration: none;
    color: #0B3D91;
    transition: all 0.3s ease;
}

a:hover {
    color: #F7941D;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

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

.logo-text {
    margin-left: 10px;
}

.logo-text h1 {
    font-size: 26px;
    font-weight: 700;
    color: #0B3D91;
    margin: 0;
}

.logo-text p {
    font-size: 14px;
    color: #1A5F7A;
    margin: 0;
}

/* Navigation Styles */
nav ul {
    display:flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    display: block;
    font-weight: 600;
    padding: 20px px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #F7941D;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

nav ul li.dropdown {
    position: relative;
}

nav ul li .dropdown-toggle {
    display: flex;
    align-items: center;
    gap:5px;
}

nav ul li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 0 0 6px 6px;
    z-index: 1001;
    flex-direction: column;
    padding: 10px 0;
}

nav ul li .dropdown-menu li {
    margin: 0;
}

nav ul li .dropdown-menu li a {
    padding: 10px 20px;
    color: #0B3D91;
    font-weight: 500;
    border-bottom: none;
    background: none;
}

nav ul li .dropdown-menu li a:hover {
    background: #F5F5F5;
    color: #F7941D;
}

nav ul li.dropdown:hover > .dropdown-menu,
nav ul li.dropdown:focus-within > .dropdown-menu {
    display: flex;
}

/* Mobile dropdown styles */
@media screen and (max-width: 768px) {
    nav ul li .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #FFFFFF;
        min-width: 100%;
        border-radius: 0;
        padding: 0;
        display: none;
    }
    nav ul.show li.dropdown .dropdown-menu {
        display: flex;
    }
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    color: #FFFFFF;
    margin-top: 90px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #F7941D;
    color: #FFFFFF;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #0B3D91;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #0B3D91;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #F7941D;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    padding-right: 30px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 22px;
    color: #0B3D91;
    margin-bottom: 15px;
}

.service-content p {
    margin-bottom: 20px;
}

.read-more {
    color: #F7941D;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background-color: #1A5F7A;
    color: #FFFFFF;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #F7941D;
}

.stat-item p {
    font-size: 18px;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.testimonial-slider {
    margin-top: 50px;
}

.testimonial-item {
    background-color: #F5F5F5;
    padding: 30px;
    border-radius: 8px;
    margin: 0 15px;
    position: relative;
}

.testimonial-item:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: rgba(11, 61, 145, 0.1);
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: #666666;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 24px;
    color: #0B3D91;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 24px;
    color: #F7941D;
    margin-right: 15px;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #0B3D91;
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 61, 145, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #0B3D91;
    color: #FFFFFF;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #F7941D;
}

/* Footer */
footer {
    background-color: #0B3D91;
    color: #FFFFFF;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: #F7941D;
    bottom: 0;
    left: 0;
}

.footer-col p {
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 10px;
    list-style: none;
}

.footer-links li a {
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #F7941D;
    padding-left: 5px;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #F7941D;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        flex-direction: column;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #F5F5F5;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 576px) {
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .hero {
        height: 50vh;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .stat-item p {
        font-size: 16px;
    }
}