/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Navbar Styling */
.custom-navbar {
    background: white; /* Seablue */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    font-family: 'TW Cen MT', sans-serif;
}

.navbar-logo {
    background: white; /* White background for visibility */
    padding: 5px 10px;
    border-radius: 5px;
}

.navbar-logo img {
    height: 45px;
}

.navbar-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

.navbar-links a {
    text-decoration: none;
    color: #777777;
    font-weight: 500;
    font-size: 18px;
    transition: 0.3s ease-in-out;
    padding: 10px 15px;
}

.dropdown-toggle {
    text-decoration: none;
    color: #004080;
    font-weight: 500;
    font-size: 21px;
    transition: 0.3s ease-in-out;
    padding: 10px 15px;

}

.navbar-links a:hover, 
.dropdown-toggle:hover, 
.navbar-links a.active {
    color: #c7a008; /* Gold */
}

/* Fix White Space on Right */
body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Dropdown Styling */
.dropdown-menu {
    border: none;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: none;
    position: absolute;
}

.dropdown:hover .dropdown-menu {
    display: block; /* Enable hover effect */
}

.dropdown-menu a {
    color: #004080;
    padding: 10px;
    display: block;
    white-space: nowrap;
    background: #f5f5f5; /* Ensure background is visible */
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #006994;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95); /* Transparent White */
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    padding: 20px;
    display: flex;
    flex-direction: column;
    z-index: 1100; /* Ensures navbar is above hero section */
    font-family: 'TW Cen MT', sans-serif;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu .close-btn {
    align-self: flex-end;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu a {
    text-decoration: none;
    color: #004080;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    transition: 0.3s ease-in-out;
    background: #f5f5f5; /* Ensure background is visible */
}

.mobile-menu a:hover {
    color: #006994;
}

/* Mobile Dropdowns */
.mobile-dropdown {
    display: none;
    padding-left: 15px;
}

.mobile-dropdown a {
    font-size: 16px;
    padding: 8px 0;
    display: flex;
    background: #eaeaea; /* Background for better visibility */
    
}

.mobile-menu .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.mobile-dropdown-toggle i {
    transition: 0.3s;
}

.rotate {
    transform: rotate(180deg);
}

/* Mobile Icon */
/* Mobile Menu Icon */
.mobile-menu-icon {
    font-size: 30px;
    cursor: pointer;
    display: none;
    color: black !important; /* Force black color */
    z-index: 1101; /* Make sure it's above other elements */
    position: relative; /* Ensure it is positioned correctly */
}



@media (max-width: 991px) {
    .navbar-links {
        display: none;
    }
.mobile-menu-icon {
        display: block;
    }
    .custom-navbar {
        flex-direction: row;
        justify-content: space-between;
    }

    .mobile-menu-icon {
        order: 2; /* Ensures hamburger menu is on the right */
    }

    .navbar-logo {
        order: 1; /* Ensures logo is on the left */
    }
}




/* Hero Section Styles */
/* General Styles */


/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 32, 165, 0.274); /* Dark overlay */
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
    max-width: 800px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero-btn {
    font-size: 1.2rem;
    padding: 12px 25px;
    background-color: #c7a008;
    border: none;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.hero-btn:hover {
    background-color: #e0b111;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .carousel-content p {
        font-size: 1rem;
    }
    .hero-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}




/* About Content Section */
.about-content {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light gray background */
}

.about-content h2 {
    font-size: 2rem;
    color: #003366; /* Dark blue text */
}

.about-content p {
    font-size: 1rem;
    color: #333; /* Dark gray text */
    line-height: 1.5;
}

/* Info Cards */
.info-card {
    background-color: #ffffff; /* White background for cards */
    border-radius: 10px; /* Rounded corners */
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover effect */
}

.info-card i {
    font-size: 3rem;
    color: #003366; /* Icon color */
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.5rem;
    color: #003366; /* Dark blue text */
}

.info-card p {
    font-size: 1rem;
    color: #666666; /* Grey text */
}

/* Hover Effect for Cards */
.info-card:hover {
    transform: translateY(-10px); /* Move up slightly on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}


/* Site Manager Section */
.site-manager-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

/* Manager Image & Info */
.manager-photo img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.manager-info {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.manager-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #003366;
    margin: 5px 0;
}

.manager-position {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
}

.manager-location {
    font-size: 1rem;
    font-weight: 500;
    color: #28a745; /* Green */
}

/* Manager Content */
.manager-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 15px;
}

.manager-description {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
}

/* Responsibilities */
.manager-responsibilities {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.manager-responsibilities li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.manager-responsibilities i {
    color: #007bff;
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Manager Quote */
.manager-quote {
    margin-top: 30px;
    padding: 15px;
    border-left: 5px solid #ffc107;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.manager-quote h4 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .manager-title {
        font-size: 2rem;
    }

    .manager-description {
        font-size: 1.1rem;
    }

    .manager-responsibilities li {
        font-size: 1rem;
    }
}



/* Safety Policy Hero Section */
.safety-policy-hero {
    background-image: url('ahafo-north/ahafo-9.webp'); /* Replace with an actual safety-related background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
    position: relative;
}

.safety-policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for contrast */
    z-index: 1;
}

.safety-policy-hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
}

.safety-points {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.safety-points li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.safety-points i {
    color: #28a745; /* Green checkmark */
    font-size: 1.5rem;
    margin-right: 10px;
}

.company-motto h4 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 20px;
    color: #ffc107; /* Gold */
}

/* Safety Officer Image & Info */
.safety-officer {
    text-align: center;
}

.safety-officer img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.officer-info {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

.officer-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #003366;
    margin: 5px 0;
}

.officer-position {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
}

.officer-site {
    font-size: 1rem;
    font-weight: 500;
    color: #28a745; /* Green */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .safety-officer {
        margin-bottom: 30px;
    }

    .officer-info {
        width: 100%;
        text-align: center;
    }
}



/* core values */

/* Core Values Section */
.core-values-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

/* Core Value Card */
.core-value-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.core-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.core-icon {
    font-size: 3rem;
    color: #003366;
    margin-bottom: 15px;
}

.core-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 10px;
}

.core-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .core-values-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .core-title {
        font-size: 1.3rem;
    }

    .core-text {
        font-size: 0.95rem;
    }
}





/* Timeline Section */
/* Timeline Section */
.timeline-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 30px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #007bff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px;
    position: relative;
    width: 50%;
    text-align: right;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item .timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #007bff;
}




/* Certifications Section */
.certifications-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.certification-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.certification-item img {
    width: 100%;
    height: 100vh;
    margin-bottom: 15px;
}

.certification-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.certification-item p {
    font-size: 14px;
    color: #666;
}



/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

.footer h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer a {
    color: #ffc107;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        text-align: center;
    }

    .about-content img {
        margin-bottom: 20px;
    }

    .info-card {
        margin-bottom: 20px;
    }
}


.footer-section {
    background-color: #003366; /* Dark Blue Background */
    color: #ffffff; /* White Text */
    padding: 40px 0;
}

.footer-section .container {
    max-width: 1100px;
}

.footer-section h5 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff; /* White Text */
}

.footer-section p,
.footer-section ul {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cccccc; /* Light Gray Text */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #ffffff; /* White Text on Hover */
}

.footer-contact p i,
.footer-social .social-icons a {
    margin-right: 10px;
}

.footer-social .social-icons {
    display: flex;
}

.footer-social .social-icons a {
    color: #ffffff; /* White Text */
    font-size: 1.2rem;
    margin-right: 10px;
    transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
    color: #cccccc; /* Light Gray Text on Hover */
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #cccccc;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #cccccc; /* Light Gray Text */
}

