:root {
    --primary-blue: #0052cc;
    --secondary-blue: #0747a6;
    --light-blue: #deebff;
    --dark-blue: #172b4d;
    --gold: #ffd700;
}

/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 76px; /* Account for fixed navbar */
}

p {
    font-size: rem;
    margin-bottom: 1rem;
}

h5 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.navbar {
    background-color: var(--dark-blue);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgb(23, 43, 77);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.267), rgba(0,0,0,0.7)),
                url('/static/Assets/closeup-raw-gold-nuggets-held-by-miner-rustic-background-high-detail-isolated-shot-natural-gold-findings_1325778-34843.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    margin-top: -76px; /* Offset for fixed navbar */
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255, 255, 255, 0.829));
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-blue);
    bottom: -10px;
    left: 50%;
    transform: translateX(-10);
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card img {
    height: 350px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Services Section */
.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

/* Testimonials */
.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0,82,204,0.25);
}

/* Market Tools */
.market-card {
    background-color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: 100%;
}

/* Location Section */
.location-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

/* Footer */
.footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info i {
    width: 25px;
    color: var(--gold);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 30px;
    padding: 0.5rem 0.8rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,82,204,0.3);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 60vh;
        box-sizing: border-box;
    }

    .navbar-collapse {
        background-color: var(--dark-blue);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}
