/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    min-height: 100vh;
}

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

/* Navigation */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 70px;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    padding: 0;
    background: transparent;
    border-radius: 4px;
    display: block;
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #3498db;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('Applications/watermarked.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #e8f4fd;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.image-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

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

.image-item i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.image-item span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #ffffff;
    position: relative;
}

/* Contact and Downloads section titles - different color for better readability */
.contact .section-title,
.downloads .section-title {
    color: #2c3e50;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Products Section */
.products {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Applications/Sands.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
    backdrop-filter: blur(10px);
}

.product-card:nth-child(1) { animation-delay: 0.3s; }
.product-card:nth-child(2) { animation-delay: 0.4s; }

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

.product-icon {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 30px;
}

.product-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.product-card p {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.minerals-list {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
    text-align: left;
}

.minerals-list li {
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid #e1e8ed;
    position: relative;
    padding-left: 25px;
}

.minerals-list li:before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 6px;
}

.minerals-list li:last-child {
    border-bottom: none;
}

.mineral-dropdown {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.mineral-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    text-align: left;
    width: 100%;
    position: relative;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.mineral-btn:before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: -25px;
    top: 6px;
}

.mineral-btn:hover {
    color: #e8f4fd;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.mineral-btn.active {
    color: #e8f4fd;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}



/* Mineral Description */
.mineral-description {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid #667eea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.mineral-description h4 {
    color: #1a202c;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.mineral-description p {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
}



.mineral-description p:last-child {
    margin-bottom: 0;
}

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('Applications/Warehouse1.jpg') top left / 33.33% 50%,
        url('Applications/Warehouse5.jpg') top center / 33.33% 50%,
        url('Applications/Warehouse3.jpg') top right / 33.33% 50%,
        url('Applications/Warehouse4.jpg') bottom left / 50% 50%,
        url('Applications/Warehouse2.jpg') bottom right / 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #ffffff;
}

.about-content p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.8;
    opacity: 0.9;
}

.warehouse-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.warehouse-info h4 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 25px;
}

.warehouse-info h4:first-child {
    margin-top: 0;
}

.warehouse-list, .logistics-list {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.warehouse-list li, .logistics-list li {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px;
}

.warehouse-list li:before, .logistics-list li:before {
    content: '📍';
    position: absolute;
    left: 0;
    top: 6px;
}

.warehouse-list li:last-child, .logistics-list li:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 60px;
}

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

.contact-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-info {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.info-item h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #2c3e50;
}

.info-item p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #718096;
    font-size: 1.1rem;
}

.info-item i {
    color: #667eea;
    font-size: 1.2rem;
    min-width: 20px;
}

/* Downloads Section */
.downloads {
    padding: 100px 0;
    background: #ffffff;
}

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

.download-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.download-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.download-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.download-item p {
    color: #718096;
    margin-bottom: 25px;
}

/* Button Styles */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(240, 147, 251, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(240, 147, 251, 0.5);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .product-card,
    .contact-form,
    .contact-info {
        padding: 30px 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
