:root {
    --primary: #1a472a; /* Dark green - mining/earth tones */
    --secondary: #d4af37; /* Gold accent */
    --accent: #2c5f2d; /* Medium green */
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --logo-dark: #0c2a1c; /* Darker green from logo */
    --logo-gold: #c9a83d; /* Softer gold from logo */
    --logo-gray: #5a5a5a; /* Gray from logo */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--logo-dark);
}

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

/* Header & Navigation - Updated with logo color scheme */
header {
    background-color: rgba(12, 42, 28, 0.95); /* Using logo-dark with transparency */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px; /* Adjust based on your logo dimensions */
    width: auto;
    display: block;
}

.logo-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--logo-gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
    white-space: nowrap;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    letter-spacing: 1px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.logo-text span {
    color: var(--logo-gold);
    display: inline; /* Changed from block */
    font-size: 1.5rem; /* Match main text */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: none;
    margin-top: 0;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .logo-tagline {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 576px) {
    .logo-tagline {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-text span {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--logo-gold);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--logo-gold);
    transition: width 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section - Updated with new background and text */
.hero {
    background: linear-gradient(rgba(12, 42, 28, 0.85), rgba(12, 42, 28, 0.9));
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 42, 28, 0.1) 0%, rgba(201, 168, 61, 0.1) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    color: white;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 35px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--logo-gold);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    background-color: var(--logo-gold);
    color: var(--logo-dark);
    padding: 16px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    border: 2px solid var(--logo-gold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--logo-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    color: var(--logo-dark);
}

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

section {
    padding: 100px 0;
}

/* Why Section */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.why-icon {
    font-size: 2.5rem;
    color: var(--logo-gold);
    margin-bottom: 20px;
}

.markets {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: var(--light);
    border-radius: 8px;
}

.markets h3 {
    margin-bottom: 15px;
    color: var(--logo-dark);
}

.market-flags {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.flag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.flag-icon {
    font-size: 2.5rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: start;
}

.about-text h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    margin-top: 25px;
    color: var(--logo-dark);
}

.about-text h3:first-child {
    margin-top: 0;
}

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

.value-item {
    padding: 20px;
    background-color: var(--light);
    border-left: 4px solid var(--logo-gold);
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateX(5px);
}

.value-item h4 {
    color: var(--logo-dark);
    margin-bottom: 10px;
}

/* Services Section */
.services-section {
    background-color: var(--light);
}

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

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--logo-dark);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-icon {
    font-size: 2rem;
    color: var(--logo-dark);
    margin-bottom: 20px;
}

/* Commodities Section */
.commodities-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.commodity-focus {
    background-color: var(--light);
    padding: 30px;
    border-radius: 8px;
}

.commodity-item {
    margin-top: 20px;
}

.commodity-icon {
    font-size: 2rem;
    color: var(--logo-gold);
    margin-bottom: 15px;
    display: block;
}

.regions-title {
    margin-top: 30px;
    color: var(--logo-dark);
}

.regions-list {
    margin-left: 20px;
    margin-top: 10px;
}

.regions-list li {
    margin-bottom: 8px;
}

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

.partner-item {
    padding: 15px;
    background-color: white;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.partner-icon {
    font-size: 2rem;
    color: var(--logo-gold);
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    background-color: var(--light);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Team Pictures Section */
.team-pictures-section {
    width: 100%;
}

.team-pictures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--logo-gold);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Circular Image Styles */
.member-image {
    margin-bottom: 20px;
}

.person-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--logo-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.team-member:hover .person-photo {
    transform: scale(1.05);
}

/* Member Information */
.member-info {
    width: 100%;
}

.member-info h3 {
    margin: 0 0 5px 0;
    color: var(--logo-dark);
    font-size: 1.4rem;
    line-height: 1.3;
}

.member-title {
    color: var(--logo-gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 10px;
}

.member-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--logo-gold);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Qualification styling */
.member-qualification {
    color: var(--logo-dark);
    font-size: 0.9rem;
    margin: 5px 0 8px 0;
    font-weight: 500;
    line-height: 1.4;
}

/* Adjust spacing for the new element */
.member-info h3 {
    margin: 0 0 3px 0; /* Reduced bottom margin */
    color: var(--logo-dark);
    font-size: 1.4rem;
    line-height: 1.3;
}

.member-title {
    color: var(--logo-gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
    position: relative;
    padding-bottom: 10px;
    margin-top: 5px; /* Added top margin */
}

.member-contact {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

.member-contact p {
    margin-bottom: 8px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
}

.member-contact i {
    color: var(--logo-gold);
    width: 16px;
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form h3 {
    margin-bottom: 25px;
    color: var(--logo-dark);
    text-align: center;
    position: relative;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--logo-gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--logo-gold);
}

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

.contact-submit {
    width: 100%;
    margin-top: 10px;
}

/* Responsive Design for Contact Section */
@media (max-width: 992px) {
    .team-pictures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .team-member:nth-child(3) {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-form {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .team-pictures-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
        margin: 30px auto 0;
    }
    
    .team-member:nth-child(3) {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .person-photo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 576px) {
    .contact-content {
        gap: 40px;
    }
    
    .team-pictures-grid {
        gap: 20px;
    }
    
    .team-member {
        padding: 20px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .person-photo {
        width: 120px;
        height: 120px;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
    }
    
    .member-contact p {
        font-size: 0.9rem;
    }
}

/* Footer */
footer {
    background-color: var(--logo-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.footer-logo span {
    color: var(--logo-gold);
}

.footer-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--logo-gold);
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-description {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links,
.markets-list {
    list-style: none;
    margin-top: 15px;
}

.footer-links li,
.markets-list li {
    margin-bottom: 10px;
}

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

footer a:hover {
    color: var(--logo-gold);
}

.values-title {
    margin-top: 20px;
    color: white;
}

.values-description {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 0;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(12, 42, 28, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
        z-index: 999;
    }
    
    nav.active ul {
        display: flex;
    }
    
    nav li {
        margin: 15px 0;
    }
    
    nav a {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .why-grid,
    .services-grid,
    .values-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .cta-button {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
}


/* Error message styling */
.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
    font-size: 0.95rem;
    border-left: 4px solid #c62828;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}