/**
 * Legacy Gold Refinery - Professional Website Styles
 * Modern, responsive design with gold accent colors
 */

/* CSS Variables for easy customization */
:root {
    --primary-gold: #D4AF37;
    --dark-gold: #B8941F;
    --light-gold: #F4E4BC;
    --dark-blue: #1a2332;
    --medium-blue: #2c3e50;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--dark-gold);
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--light-gray);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--medium-blue) 100%);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-gold);
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav a:hover {
    background-color: var(--primary-gold);
    color: var(--dark-blue);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 35, 50, 0.7), rgba(44, 62, 80, 0.7)), 
                url('../images/main.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 70px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 35, 50, 0.3) 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Full Width Image Sections */
.full-width-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    overflow: hidden;
}

.full-width-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 50, 0.7);
    z-index: 1;
}

.full-width-section .container {
    position: relative;
    z-index: 2;
}

.full-width-section h2,
.full-width-section h3,
.full-width-section h4 {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.full-width-section p {
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.refinery-bg {
    background-image: url('../images/refining.webp');
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

.refinery-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.refinery-bg h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.refinery-bg p {
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.refinery-bg h4 {
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.goldfields-bg {
    background-image: url('../images/G2-Goldfields.webp');
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
}

.goldfields-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.facility-bg {
    background-image: url('../images/ref.webp');
    min-height: 450px;
    display: flex;
    align-items: center;
    position: relative;
}

.facility-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.process-bg {
    background-image: url('../images/7.jpg');
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
}

.process-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.contact-bg {
    background-image: url('../images/4.jpg');
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

.contact-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.contact-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--white);
}

.highlight-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
}

.contact-cta-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.contact-cta-box h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.contact-cta-box p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 140px;
}

/* Grid System for Contact Section */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

/* Image Gallery Sections */
.image-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.showcase-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 250px;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(0);
    transition: var(--transition);
}

.showcase-item:hover .showcase-overlay {
    background: linear-gradient(transparent, rgba(26, 35, 50, 0.9));
    transform: translateY(0);
}

.showcase-overlay h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.showcase-overlay p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-size: 0.9rem;
}

/* Service Cards with Images */
.service-card-with-image {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 450px;
}

/* Adjust height for desktop 4-column layout */
@media (min-width: 1200px) {
    .service-card-with-image {
        height: 420px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        height: 240px;
        padding: 1.5rem;
    }
    
    .service-icon-overlay {
        top: 130px;
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

.service-card-with-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.8), rgba(184, 148, 31, 0.8));
    opacity: 0;
    transition: var(--transition);
}

.service-card-with-image:hover .service-image::before {
    opacity: 1;
}

.service-content {
    padding: 2rem;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-icon-overlay {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow);
    z-index: 3;
}

/* Parallax Effects */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Team Member Cards with Images */
.team-member-with-image {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member-with-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-photo-real {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.team-photo-real::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(26, 35, 50, 0.3));
}

.team-info {
    padding: 2rem;
    text-align: center;
}

/* Statistics Section with Background */
.stats-with-bg {
    background: linear-gradient(rgba(26, 35, 50, 0.8), rgba(44, 62, 80, 0.8)), 
                url('../images/8.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 80px 0;
}

.stats-with-bg .stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.stats-with-bg .stat-number {
    color: var(--primary-gold);
}

.stats-with-bg .stat-label {
    color: var(--light-gold);
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--light-gold);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--white);
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--dark-blue);
}

.btn-primary:hover {
    background-color: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background-color: var(--primary-gold);
    color: var(--dark-blue);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Desktop: 4 columns for better balance */
@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large tablets: 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text {
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-gold);
    display: block;
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Certifications */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.certification-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.certification-item i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.contact-item i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--white);
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    animation: slideIn 0.3s ease;
    transition: opacity 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message i {
    font-size: 1.2rem;
}

.form-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.form-message-success i {
    color: #28a745;
}

.form-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-message-error i {
    color: #dc3545;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #bbb;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: var(--dark-blue);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #888;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: var(--white);
    font-weight: 600;
    z-index: 1001;
    transform: translateX(400px);
    transition: var(--transition);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background-color: #28a745;
}

.notification-error {
    background-color: #dc3545;
}

.notification-info {
    background-color: var(--primary-gold);
    color: var(--dark-blue);
}

/* Google Maps Styling */
.map-container {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.google-map {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.google-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: var(--border-radius);
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 250px;
}

.map-info h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.map-info p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.map-info .btn-sm {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

.location-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

.location-details {
    margin-top: 1.5rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.location-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.location-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    width: 20px;
}

.location-item h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.location-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Mobile Optimizations for Image Sections */
@media (max-width: 768px) {
    .full-width-section {
        background-attachment: scroll;
        min-height: 300px !important;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
    
    .hero {
        background-attachment: scroll;
        padding: 120px 0 80px;
    }
    
    .stats-with-bg {
        background-attachment: scroll;
        padding: 60px 0;
    }
    
    .service-card-with-image {
        height: auto;
    }
    
    .service-content {
        height: auto;
        padding: 1.5rem;
    }
    
    .service-icon-overlay {
        top: 120px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .image-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showcase-item {
        height: 200px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-bg {
        background-attachment: scroll;
        padding: 60px 0;
        min-height: 400px;
    }
    
    .contact-cta-box {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-overlay {
        position: static;
        margin-top: 1rem;
        max-width: none;
    }
    
    .location-info {
        padding: 1.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-blue);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .service-card,
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Minerals Section Styles */
.minerals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.mineral-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.mineral-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.highlighted-mineral {
    border: 3px solid var(--primary-gold);
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: var(--primary-gold);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        border-color: var(--dark-gold);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2), 0 0 20px 5px rgba(212, 175, 55, 0.2);
    }
}

.mineral-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-gold), var(--dark-gold));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.6);
    }
}

.mineral-badge i {
    animation: star-spin 3s linear infinite;
}

@keyframes star-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mineral-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.mineral-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    transition: var(--transition);
}

.mineral-card:hover .mineral-image::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(212, 175, 55, 0.4) 100%);
}

.mineral-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mineral-content h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mineral-content h3 i {
    color: var(--primary-gold);
    font-size: 1.3rem;
}

.mineral-content p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex: 1;
}

.mineral-specs {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(184, 134, 11, 0.05));
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.spec-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item strong {
    color: var(--dark-blue);
    font-weight: 600;
    min-width: 120px;
}

.spec-item:not(:has(strong:only-child)) {
    flex-direction: row;
}

.mineral-content .btn {
    align-self: flex-start;
    width: 100%;
    text-align: center;
}

/* Responsive Minerals Section */
@media (max-width: 768px) {
    .minerals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mineral-image {
        height: 200px;
    }
    
    .mineral-content {
        padding: 1.5rem;
    }
    
    .mineral-content h3 {
        font-size: 1.3rem;
    }
    
    .mineral-specs {
        padding: 1rem;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .spec-item strong {
        min-width: auto;
    }
}