/* 
    Explicit Mineral Hub - Premium Design System
    Theme: Deep Mining Luxury (Navy & Gold)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --emh-navy: #001C30;
    --emh-navy-light: #176B87;
    --emh-gold: #C5A059;
    --emh-gold-dark: #A67C00;
    --emh-gold-gradient: linear-gradient(135deg, #C5A059 0%, #A67C00 100%);
    --emh-navy-gradient: linear-gradient(135deg, #001C30 0%, #004C6D 100%);
    --emh-glass: rgba(255, 255, 255, 0.05);
    --emh-glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--emh-navy);
}

/* Premium Buttons */
.btn-primary {
    background: var(--emh-navy-gradient);
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 28, 48, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 28, 48, 0.3);
    background: var(--emh-navy);
}

.btn-gold {
    background: var(--emh-gold-gradient);
    color: white;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
    color: white;
}

/* Glassmorphism Elements */
.glass-card {
    background: var(--emh-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--emh-glass-border);
    border-radius: 20px;
}

.navbar-transparent.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Service Card Redesign */
.service-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 43, 91, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--emh-gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 28, 48, 0.1);
    border-color: rgba(197, 160, 89, 0.3);
}

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

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--emh-gold);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: var(--emh-gold-gradient);
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--emh-navy);
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-link {
    font-weight: 700;
    color: var(--emh-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--emh-gold);
}

.service-card-bg {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    opacity: 0.03;
    z-index: -1;
    transform: rotate(-15deg);
}

/* Who We Are Enhancement */
.mission-box {
    background: rgba(197, 160, 89, 0.05);
    border-left: 4px solid var(--emh-gold);
    padding: 1.5rem;
    border-radius: 0 16px 16px 0;
    margin-bottom: 2rem;
}

.mission-box p {
    font-style: italic;
    color: var(--emh-navy);
    font-weight: 500;
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

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

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--emh-gold);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: #64748b;
}

.image-collage {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.collage-img {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
}

.collage-img-1 {
    width: 80%;
    height: 400px;
    z-index: 1;
}

.collage-img-2 {
    width: 60%;
    height: 300px;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 10px solid white;
}

.since-badge {
    position: absolute;
    top: 40px;
    right: 0;
    background: var(--emh-gold-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px 0 0 50px;
    font-weight: 800;
    z-index: 3;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.1);
}

/* Footer Premium Redesign */
.footer-premium {
    background: var(--emh-navy);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
}

.footer-premium h5 {
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-premium h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--emh-gold);
}

.footer-premium .nav-link {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-premium .nav-link:hover {
    color: var(--emh-gold);
    padding-left: 5px;
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-newsletter h4 {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin-top: 5rem;
}

.social-icon-gold {
    width: 40px;
    height: 40px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--emh-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon-gold:hover {
    background: var(--emh-gold-gradient);
    color: white;
    transform: translateY(-3px);
}

/* Hero Section Redesign */
.hero-premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0, 28, 48, 0.9) 0%, rgba(0, 28, 48, 0.4) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.text-glow {
    text-shadow: 0 0 30px rgba(197, 160, 89, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Custom Lists & Icons */
.custom-list {
    padding-left: 0;
}

.custom-list li i {
    font-size: 1.1rem;
    margin-right: 10px;
}

.small-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
}

.border-gold-subtle {
    border: 1px solid rgba(197, 160, 89, 0.2) !important;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.fw-600 { font-weight: 600 !important; }

/* Spacing & Layout */
.py-10 {
    padding-top: 10rem !important;
    padding-bottom: 10rem !important;
}

/* Background Utilities */
.bg-navy {
    background-color: var(--emh-navy) !important;
}

.bg-gold {
    background-color: var(--emh-gold) !important;
}

.bg-gold-gradient {
    background: var(--emh-gold-gradient) !important;
}

/* Border Radius Utilities */
.rounded-4 { border-radius: 24px !important; }
.rounded-5 { border-radius: 32px !important; }
.rounded-pill { border-radius: 50rem !important; }

/* Section Header */
.section-tag {
    color: var(--emh-gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--emh-gold);
}

/* Visibility Fixes for Dark Backgrounds */
.bg-navy h1, 
.bg-navy h2, 
.bg-navy h3, 
.bg-navy h4, 
.bg-navy h5, 
.bg-navy h6,
.bg-navy .h1, 
.bg-navy .h2, 
.bg-navy .h3, 
.bg-navy .h4, 
.bg-navy .h5, 
.bg-navy .h6,
.bg-gold-gradient h1,
.bg-gold-gradient h2,
.bg-gold-gradient h3,
.bg-gold-gradient h4,
.bg-gold-gradient h5,
.bg-gold-gradient h6 {
    color: white !important;
}

.bg-navy p, 
.bg-navy span:not(.section-tag), 
.bg-navy li,
.bg-gold-gradient p,
.bg-gold-gradient span,
.bg-gold-gradient li {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Premium Components Enhancements */
.objective-card {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 28, 48, 0.1);
    border-color: var(--emh-gold);
}

.obj-icon {
    width: 60px;
    height: 60px;
    background: rgba(197, 160, 89, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.team-card-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.team-card-premium:hover {
    border-color: var(--emh-gold);
    transform: translateY(-10px);
}

.team-img-wrapper {
    height: 350px;
    position: relative;
    overflow: hidden;
}

.team-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(0, 28, 48, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.team-card-premium:hover .team-socials {
    bottom: 0;
}

.social-link {
    color: white;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--emh-gold);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-gold-subtle {
    background: rgba(197, 160, 89, 0.1);
}

.image-stack {
    position: relative;
    padding: 40px;
}

.floating-stat {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    z-index: 2;
}
