/* css/style.css */

/* ... (Keep your Fonts & Variables section) ... */

/* --- 2. NAVIGATION BAR --- */
.navbar {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 0.8rem 0; /* Adjusted padding to match screenshot */
}

/* This styles the text "OMAN PUMPS" to look like the logo in your image */
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue) !important; /* Ensures it is BLUE */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700; /* Bold text for menu items */
    font-size: 0.85rem; /* Slightly smaller, crisp text */
    text-transform: uppercase; /* All Caps */
    color: #555 !important;
    margin-left: 15px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan) !important; /* Light blue for the active link */
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-top: 3px solid var(--accent-cyan);
}

/* --- 1. FONTS & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-blue: #0056b3;  /* Deep Corporate Blue */
    --accent-cyan: #00a8cc;   /* Highlights */
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    margin-top: 76px; /* Offset for fixed navbar */
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* --- 2. NAVIGATION BAR --- */
.navbar {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background-color: #fff;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-blue) !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 600;
    color: #444 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 3px solid var(--accent-cyan);
}

/* --- 3. PAGE HEADERS (HERO) --- */
.page-title-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--text-dark));
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.page-title-section h1 {
    color: white;
    margin: 0;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* --- 4. CONTENT STYLING --- */
.lead {
    font-weight: 600;
    color: var(--text-dark);
}

/* Images */
.img-responsive-rounded {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

/* Service/Feature Boxes */
.feature-box {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 4px solid transparent;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--accent-cyan);
}

.feature-box img {
    max-height: 150px;
    width: auto;
    display: block;
    margin: 0 auto 1.5rem auto;
    border-radius: 4px;
}

.feature-box h5 {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.feature-box ul, .feature-box li {
    font-size: 0.9rem;
    color: var(--text-light);
    list-style: none;
    padding-left: 0;
}

.feature-box li::before {
    content: "•";
    color: var(--accent-cyan);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* --- 5. PROJECTS GALLERY --- */
.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 30px;
}

.project-item img {
    width: 100%;
    transition: transform 0.5s ease;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 86, 179, 0.9);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.project-item:hover .project-overlay {
    height: 100%;
}

.project-overlay h5 {
    color: white;
    font-size: 1.2rem;
    padding: 20px;
}

/* --- FOOTER STYLING --- */
#footer {
    background-color: #00609c; /* The Blue from your screenshot */
    color: #ffffff;
    padding: 60px 0 0 0;
    margin-top: 60px;
    font-size: 0.9rem;
    position: relative;
}

#footer h4 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

#footer a {
    color: #e0e0e0;
    text-decoration: none;
    transition: 0.3s;
}

#footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Specific styling for the Contact Info in Col 1 */
.contact-info p {
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Group Links with Arrows */
.group-links {
    list-style: none;
    padding: 0;
}

.group-links li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.group-links li:last-child {
    border-bottom: none;
}

.group-links li i {
    margin-right: 8px;
    font-size: 0.8rem;
    color: #8ed1fc; /* Light blue accent for arrow */
}

/* Recent News List */
.recent-news p {
    margin-bottom: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
}

/* Images in footer */
.footer-img {
    border: 4px solid #fff; /* White border as seen in image */
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    background: white;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #004d7d; /* Slightly darker blue */
    padding: 20px 0;
    margin-top: 40px;
}

/* Back To Top Button (Black Square) */
#gototop {
    display: inline-block;
    background-color: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    position: absolute;
    bottom: 20px; 
    right: 50px;
    border-radius: 2px;
    transition: background 0.3s;
}

#gototop:hover {
    background-color: #333;
}

/* --- 7. RESPONSIVE UTILITIES --- */
@media (max-width: 768px) {
    .page-title-section {
        text-align: center;
    }
    .breadcrumb {
        justify-content: center;
        margin-top: 10px;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
}