/* =====================================================
   AJGEM - Applied Geophysics & Mineral Exploration
   Professional Portfolio Website Styles
   ===================================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Mining/Earth Theme */
    --primary-color: #1a5f7a;
    --primary-dark: #0d3d4d;
    --primary-light: #2e8b9e;

    /* Accent Colors - Gold/Mineral Theme */
    --accent-gold: #d4af37;
    --accent-copper: #b87333;
    --accent-emerald: #50c878;

    /* Neutral Colors */
    --dark-bg: #0a0f14;
    --darker-bg: #050810;
    --card-bg: #111820;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Text Colors */
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #ffffff;
    --text-muted: #b2bec3;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-copper) 100%);
    --gradient-dark: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden; /* Required on Android Chrome to prevent horizontal scroll */
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100%;
}

/* Selection */
::selection {
    background-color: var(--accent-gold);
    color: var(--dark-bg);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--gradient-dark);
    color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-description {
    max-width: 600px;
    margin: 15px auto 0;
    color: var(--text-secondary);
}

.section-dark .section-description {
    color: var(--text-muted);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--dark-bg);
}

/* =====================================================
   PRELOADER
   ===================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader .crystal {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: spin 2s linear infinite, pulse 1s ease-in-out infinite alternate;
    margin: 0 auto 20px;
}

.loader p {
    color: var(--accent-gold);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.5; transform: rotate(0deg) scale(0.9); }
    100% { opacity: 1; transform: rotate(180deg) scale(1.1); }
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo-icon {
    color: var(--accent-gold);
    font-size: 1.8rem;
}

.logo-text {
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(212, 175, 55, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(212, 175, 55, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(212, 175, 55, 0.2), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200px 200px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.3s;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 5px;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.1s;
}

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

/* Hero Graphic */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit {
    position: absolute;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation-duration: 25s;
}

.orbit-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-duration: 20s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation-duration: 15s;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.core-gem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--dark-bg);
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); }
    100% { box-shadow: 0 0 80px rgba(212, 175, 55, 0.7); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-indicator a {
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--accent-gold);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    padding: 20px;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-gold);
    transform: translate(15px, 15px);
    z-index: -1;
}

.profile-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.profile-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.2);
}

.profile-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-md);
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--gradient-gold);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.experience-badge .text {
    font-size: 0.85rem;
    color: var(--dark-bg);
    font-weight: 500;
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text .lead {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* Education Timeline */
.education-timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--dark-bg);
    font-size: 1.2rem;
}

.timeline-content h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline-content .institution {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.timeline-content .description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* About Stats */
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================
   SKILLS SECTION
   ===================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition-normal);
}

.skill-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--dark-bg);
}

.category-header h3 {
    font-size: 1.2rem;
    color: var(--text-light);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.skill-info span:first-child {
    color: var(--text-muted);
}

.skill-percent {
    color: var(--accent-gold);
    font-weight: 600;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease;
}

/* Tools Section */
.tools-section {
    text-align: center;
}

.tools-title {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    cursor: default;
}

.tool-item:hover {
    background: var(--accent-gold);
    transform: translateY(-5px);
}

.tool-item:hover i,
.tool-item:hover span {
    color: var(--dark-bg);
}

.tool-item i {
    font-size: 1.8rem;
    color: var(--accent-gold);
    transition: var(--transition-normal);
}

.tool-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-normal);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--card-img, none);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.15;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-gold);
    color: var(--dark-bg);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-features {
    padding-left: 0;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* =====================================================
   GALLERY SECTION
   ===================================================== */
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-item {
    transition: var(--transition-normal);
}

.gallery-item.hidden {
    display: none;
}

.mineral-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    height: 100%;
}

.mineral-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.mineral-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.mineral-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.mineral-card:hover .mineral-img {
    transform: scale(1.08);
}

.mineral-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

/* Mineral color themes */
.mineral-placeholder.gold {
    background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
    color: rgba(0,0,0,0.3);
}

.mineral-placeholder.copper {
    background: linear-gradient(135deg, #b87333 0%, #8b4513 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.quartz {
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 100%);
    color: rgba(0,0,0,0.2);
}

.mineral-placeholder.galena {
    background: linear-gradient(135deg, #4a4a4a 0%, #2d2d2d 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.amethyst {
    background: linear-gradient(135deg, #9966cc 0%, #663399 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.silver {
    background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 100%);
    color: rgba(0,0,0,0.2);
}

.mineral-placeholder.hematite {
    background: linear-gradient(135deg, #8b0000 0%, #5c0000 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.emerald {
    background: linear-gradient(135deg, #50c878 0%, #2e8b57 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.pyrite {
    background: linear-gradient(135deg, #cda434 0%, #a67c00 100%);
    color: rgba(0,0,0,0.3);
}

.mineral-placeholder.bauxite {
    background: linear-gradient(135deg, #cd853f 0%, #a0522d 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.ruby {
    background: linear-gradient(135deg, #e0115f 0%, #9b111e 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.cassiterite {
    background: linear-gradient(135deg, #5d4037 0%, #3e2723 100%);
    color: rgba(255,255,255,0.3);
}

/* Nigerian Minerals - Additional Colors */
.mineral-placeholder.lithium {
    background: linear-gradient(135deg, #87ceeb 0%, #4169e1 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.monazite {
    background: linear-gradient(135deg, #daa520 0%, #8b4513 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.zircon {
    background: linear-gradient(135deg, #ffefd5 0%, #deb887 100%);
    color: rgba(0,0,0,0.3);
}

.mineral-placeholder.columbite {
    background: linear-gradient(135deg, #2f4f4f 0%, #1a1a2e 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.tantalite {
    background: linear-gradient(135deg, #363636 0%, #1c1c1c 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.wolframite {
    background: linear-gradient(135deg, #4a4a4a 0%, #1a1a1a 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.iron {
    background: linear-gradient(135deg, #8b0000 0%, #4a0000 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.rutile {
    background: linear-gradient(135deg, #8b4513 0%, #654321 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.ilmenite {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.barite {
    background: linear-gradient(135deg, #f5f5f5 0%, #d3d3d3 100%);
    color: rgba(0,0,0,0.3);
}

.mineral-placeholder.tourmaline {
    background: linear-gradient(135deg, #ff69b4 0%, #228b22 50%, #4169e1 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-placeholder.sapphire {
    background: linear-gradient(135deg, #0f52ba 0%, #082567 100%);
    color: rgba(255,255,255,0.3);
}

.mineral-info {
    padding: 20px;
}

.mineral-info h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.mineral-formula {
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.mineral-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.mineral-properties {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mineral-properties span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mineral-properties i {
    color: var(--accent-gold);
}

.mineral-location {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mineral-location i {
    color: var(--accent-gold);
    font-size: 0.75rem;
}

.gallery-note {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
}

.gallery-note p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.gallery-note i {
    color: var(--accent-gold);
    margin-right: 8px;
}

/* =====================================================
   PROJECTS SECTION
   ===================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.project-image[style] .project-placeholder {
    background: rgba(10, 15, 20, 0.55);
    color: rgba(255, 255, 255, 0.15);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 20, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.2rem;
    transform: scale(0);
    transition: var(--transition-normal);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-content {
    padding: 25px;
}

.project-category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.project-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-location {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.project-location i {
    margin-right: 4px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 5px 12px;
    background: var(--gray-100);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

/* =====================================================
   ROLES SECTION
   ===================================================== */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.role-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition-normal);
}

.role-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.role-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--dark-bg);
}

.role-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.role-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.contact-text p {
    color: var(--text-secondary);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid var(--gray-300);
    background: transparent;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

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

.form-group label {
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--text-secondary);
    transition: var(--transition-normal);
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--accent-gold);
}

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

.btn-submit {
    align-self: flex-start;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--darker-bg);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-tagline {
    font-style: italic;
    margin-top: 15px;
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-newsletter h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-services li {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--accent-gold);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--dark-bg);
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    background: var(--accent-copper);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-bottom i.fa-heart {
    color: var(--accent-gold);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Large screens */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Medium screens */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 15px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-graphic {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small screens */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filter {
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-services h4::after,
    .footer-newsletter h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: var(--radius-md);
        margin-bottom: 10px;
    }

    .newsletter-form button {
        border-radius: var(--radius-md);
    }

    /* Contact page */
    .contact-form-container {
        padding: 30px 24px;
    }

    .btn-submit {
        width: 100%;
        align-self: stretch;
    }

    /* Investor CTA band */
    .investor-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .investor-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .investor-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Contain decorative badge within its frame */
    .experience-badge {
        right: 0;
        bottom: 0;
    }

    .image-frame {
        overflow: visible; /* badge still visible */
    }

    /* Prevent any absolutely-positioned elements from causing section-level overflow */
    .about-image {
        overflow: hidden;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .experience-badge {
        right: 0;
        bottom: 0;
    }

    .stat-item {
        width: 100%;
    }

    /* Tighter card padding on small phones */
    .service-card {
        padding: 25px 20px;
    }

    .what-card {
        padding: 22px 18px;
    }

    .ops-card {
        padding: 22px 18px;
    }

    .teaser-card {
        padding: 18px;
    }

    /* Smaller stat numbers to fit 2-col layout */
    .home-stat-number {
        font-size: 2.2rem;
    }

    .ops-stat-number {
        font-size: 2rem;
    }

    /* Ops stats: single column on small phones */
    .ops-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .contact-form-container {
        padding: 25px 18px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Nav menu full-width on very small phones */
    .nav-menu {
        width: 100%;
        max-width: 100%;
        padding: 30px 25px;
    }

    /* Smaller section label badge */
    .section-label {
        font-size: 0.75rem;
    }
}

/* =====================================================
   Trade Minerals Section
   ===================================================== */

.trade {
    background: var(--light-bg);
}

.trade-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.trade-info h3,
.trade-form-wrapper h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.trade-info > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

.trade-minerals-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.trade-mineral-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.trade-mineral-item i {
    color: var(--accent-gold);
    font-size: 0.6rem;
}

.trade-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
}

.trade-note i {
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--accent-gold);
}

.trade-note p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.trade-form-wrapper {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.tfield {
    margin-bottom: 18px;
}

.tfield label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.tfield input,
.tfield select,
.tfield textarea {
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--gray-100);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.tfield input:focus,
.tfield select:focus,
.tfield textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.12);
    background: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tfield textarea {
    resize: vertical;
}

.btn-submit-trade {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    margin-top: 5px;
}

@media (max-width: 900px) {
    .trade-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .trade-form-wrapper {
        padding: 25px 18px;
    }

    .investor-cta-text h2 {
        font-size: 1.4rem;
    }
}

/* =====================================================
   Page Hero (inner pages)
   ===================================================== */

.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(26,95,122,0.3) 0%, transparent 70%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--white);
    margin: 10px 0 20px;
}

.page-hero-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* =====================================================
   Operations Stats
   ===================================================== */

.ops-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.ops-stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--accent-gold);
}

.ops-stat-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.ops-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.ops-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .ops-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero { padding: 130px 0 60px; }
}

@media (max-width: 480px) {
    .page-hero { padding: 110px 0 50px; }
    .page-hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
}

/* =====================================================
   Operations Cards
   ===================================================== */

.ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 28px;
}

.ops-card {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.07);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.ops-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.ops-card--featured {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 1px var(--accent-gold), var(--shadow-lg);
}

.ops-card--producing {
    border-color: var(--accent-emerald);
    box-shadow: 0 0 0 1px var(--accent-emerald), var(--shadow-lg);
}

.ops-featured-label,
.ops-producing-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ops-featured-label { color: var(--accent-gold); }
.ops-producing-label { color: var(--accent-emerald); }

.ops-card-header {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ops-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 20px;
}

.ops-badge--exploration { background: rgba(26,95,122,0.25); color: #5bb8d4; }
.ops-badge--active      { background: rgba(80,200,120,0.2);  color: var(--accent-emerald); }
.ops-badge--pending     { background: rgba(212,175,55,0.2);  color: var(--accent-gold); }
.ops-badge--producing   { background: rgba(80,200,120,0.15); color: var(--accent-emerald); border: 1px solid var(--accent-emerald); }

.ops-state {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ops-state i { color: var(--accent-gold); }

.ops-state h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin: 0;
}

.ops-minerals {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

.ops-mineral-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

.ops-tag--strategic { background: rgba(212,175,55,0.15); color: var(--accent-gold); }
.ops-tag--rare      { background: rgba(155,89,182,0.2);  color: #c39bd3; }
.ops-tag--base      { background: rgba(52,152,219,0.2);  color: #85c1e9; }
.ops-tag--industrial{ background: rgba(127,140,141,0.25); color: #aab7b8; }

.ops-description {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 18px;
}

.ops-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.ops-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.ops-highlight-item i {
    color: var(--accent-gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.ops-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.ops-cta-btn:hover { gap: 12px; }

/* =====================================================
   Investor CTA Band
   ===================================================== */

.investor-cta {
    background: var(--gradient-primary);
}

.investor-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.investor-cta-text h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.investor-cta-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.investor-cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* =====================================================
   Home: What We Do
   ===================================================== */

.what-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 24px;
}

.what-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: var(--shadow-md);
    border-top: 3px solid var(--accent-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.what-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--card-img, none);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.what-card:hover::before {
    opacity: 0.18;
}

.what-card > * {
    position: relative;
    z-index: 1;
}

.what-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.what-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.what-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.what-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 18px;
}

.what-link {
    color: var(--primary-color);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.what-link:hover { gap: 10px; }

/* =====================================================
   Home Stats
   ===================================================== */

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    text-align: center;
}

.home-stat {
    padding: 30px 15px;
}

.home-stat-icon {
    font-size: 1.6rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.home-stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.home-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

@media (max-width: 768px) {
    .home-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   Home: Operations Teaser
   ===================================================== */

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

.teaser-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--gray-300);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teaser-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.teaser-card--highlight {
    border-left-color: var(--accent-gold);
}

.teaser-state {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.teaser-state i { color: var(--accent-gold); }

.teaser-license-type {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 9px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
}

.teaser-license-type.exploration { background: rgba(26,95,122,0.1); color: var(--primary-color); }
.teaser-license-type.active      { background: rgba(80,200,120,0.15); color: #27ae60; }
.teaser-license-type.production  { background: rgba(80,200,120,0.2); color: #1e8449; font-weight: 800; }

.teaser-minerals {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.teaser-minerals span {
    background: var(--gray-200);
    color: var(--text-primary);
    font-size: 0.75rem;
    padding: 3px 9px;
    border-radius: 4px;
    font-weight: 500;
}

.teaser-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

.teaser-cta {
    text-align: center;
}

/* =====================================================
   Home: Why Us
   ===================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-item {
    text-align: center;
    padding: 20px;
}

.why-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 14px;
}

.why-item h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 10px;
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .why-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Home CTA
   ===================================================== */

.home-cta .investor-cta-buttons {
    gap: 12px;
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .back-to-top,
    #preloader {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 50px 0;
    }

    .section {
        padding: 30px 0;
    }
}
