* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            
        }
        a{
            text-decoration: none;
            color: inherit;
        }
        body {
            background-color: #f8fafc;
            color: #333;
            line-height: 1.6;
        }

        /* Navbar container */
        .navbar-container {
            width: 100%;
           /* background-color: #ffffff;*/
           background: rgba(225, 215, 0, 0.8);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            z-index: 1000;
             position: sticky; /* This overrides position: relative above */
             top: 0;
             
        }

        /* Main navbar */
        .navbar {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            height: 70px;
            position: relative;
        }

        /* Brand section - FIXED */
        .brand {
            display: flex;
            align-items: center;
            gap: 15px;
            cursor: pointer;
            flex-shrink: 0; /* Prevents brand from shrinking */
        }

        /* Logo container */
      .logo-container {
            background: aliceblue;
            display: flex;
            padding: 5px;
            border-radius: 5px;
            
        }

       

        /* Logo image */
        .logo {
            height: 60px;
            width: auto;
            display: block;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
            transform-origin: center;
            border-radius: 50%;
        }

        /* Logo glow effect */
        .logo-glow {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
        }

        /* Logo hover animation */
        .logo-container:hover .logo {
            transform: scale(1.15) rotate(5deg);
            filter: drop-shadow(0 5px 15px rgba(59, 130, 246, 0.4)) brightness(1.1);
        }

        .logo-container:hover .logo-glow {
            opacity: 1;
            animation: pulse-glow 2s infinite;
        }

        /* Company name */
        .company-name {
            display: flex;
            align-items: center;
            gap: 0;
            font-size: 1.4rem;
            font-weight: 700;
            color: #1e293b;
            white-space: nowrap; /* Prevents text wrapping */
        }

        /* Company text */
        .company-text {
            display: inline-block;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        /* Underline effect */
        .company-text::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            transition: width 0.4s ease;
            border-radius: 1px;
        }

        /* Separator */
        .separator {
            color: #3b82f6;
            font-weight: 300;
            margin: 0 12px;
            font-size: 1.8rem;
            display: inline-block;
            transition: all 0.3s ease;
            transform-origin: center;
            animation: separator-float 4s ease-in-out infinite;
        }

        /* Brand hover effects */
        .brand:hover .company-text:first-child {
            transform: translateY(-2px);
            color: #2563eb;
        }

        .brand:hover .company-text:last-child {
            transform: translateY(2px);
            color: #2563eb;
        }

        .brand:hover .company-text::after {
            width: 100%;
        }

        .brand:hover .separator {
            transform: scale(1.3) rotate(90deg);
            color: #8b5cf6;
            text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
        }

        /* Click animation */
        .brand:active .logo {
            transform: scale(0.95) rotate(-2deg);
            transition: transform 0.1s ease;
        }

        /* Navigation links - IMPORTANT: Keep this unchanged */
        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-links li a {
            text-decoration: none;
            color: #475569;
            font-weight: 600;
            font-size: 1rem;
            padding: 8px 0;
            position: relative;
            transition: all 0.3s ease;
            display: inline-block;
        }
        .hero-content p{
             color: aliceblue;
            font-weight: 600;
            font-size: 2.5rem;
            padding: 8px 0;
            text-align: left;
           
        }

        /* Hover effects for nav links */
        .nav-links li a:hover {
            color: #3b82f6;
            transform: scale(1.05);
        }

        .nav-links li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            bottom: 0;
            left: 0;
            transition: width 0.3s ease;
            border-radius: 2px;
        }

        .nav-links li a:hover::after {
            width: 100%;
        }

        /* Hamburger menu */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
            background: none;
            border: none;
            padding: 5px;
            z-index: 1001;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: #1e293b;
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        /* Hamburger animation */
        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }

        /* Animations */
        @keyframes pulse-glow {
            0%, 100% {
                transform: translate(-50%, -50%) scale(1);
                opacity: 0.7;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.1);
                opacity: 0.4;
            }
        }

        @keyframes separator-float {
            0%, 100% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-2px);
            }
        }

        /* Content section */
        .content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .section {
            background-color: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }

        .section h1 {
            color: #1e293b;
            margin-bottom: 20px;
            font-size: 2.2rem;
        }

        /* Hero Section Styles */
.hero-section {
    padding: 0 !important; /* Override default section padding */
    border-radius: 0 !important; /* Remove border radius */
    box-shadow: none !important; /* Remove shadow */
    margin-bottom: 0 !important; /* Remove bottom margin */
    position: relative;
    overflow: hidden;
    height: 80vh; /* Adjust height as needed */
    min-height: 600px;
    max-height: 800px;
}
#about, #contact{
    width: 95vw;
    margin: 0 auto;
    padding: 8px;
   
}

#about h2, #contact h2{
    padding: 8px;
    border-radius: 3px;
    display: inline-block;
    background: rgba(138, 43, 226, 0.1);
}

#about p, #contact p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 500;
}
/* Slideshow Container */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay for better text readability */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    background: rgba(145, 184, 219, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-content p {

    font-size: 1.2rem;
    margin-bottom: 15px;

    animation: fadeInUp 1s ease 0.3s both;
}


/* Call to Action Button */
.cta-button {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

/* Slideshow Dots */
.slideshow-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}



.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
    transform: scale(1.3);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Navigation Arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev {
    left: 25px;
}

.slide-nav.next {
    right: 25px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
       
    }
    
    .hero-content {
       /* width: 65%;
        height: 90%;
        padding: 20px;
        position: relative;*/
         width: 90%;
         max-height: 90%;
         padding: 15px;
         overflow-y: auto; /* allows scroll if needed */
       
    }
    
    .hero-content h1 {
       /* font-size: 2.2rem;*/
       font-size: 1.6rem;
       line-height: 1.3;
    }
     .hero-content p {
        /*font-size: 1rem;
        position: absolute;*/
        position: static; /* VERY IMPORTANT */
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .cta-button {
       /* padding: 12px 25px;
        font-size: 1rem;*/
        font-size: 0.95rem;
    padding: 10px 22px;
    margin-top: 10px;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slide-nav.prev {
        left: 15px;
    }
    
    .slide-nav.next {
        right: 15px;
    }
    }

@media (max-width: 480px) {
    .hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .slideshow-dots {
        bottom: 20px;
    }
      .dot {
        width: 10px;
        height: 10px;
    }
}

        /* Mobile styles */
        @media (max-width: 768px) {
            .navbar {
                padding: 0 15px;
                height: 65px;
            }
            
            .hamburger {
                display: flex;
            }
            
            .nav-links {
                position: absolute;
                top: 65px;
                left: 0;
                width: 100%;
                background-color: white;
                flex-direction: column;
                align-items: center;
                padding: 25px 0;
                gap: 25px;
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
                border-radius: 0 0 10px 10px;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: all 0.4s ease;
                z-index: 999;
            }
            
            .nav-links.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            
            .company-name {
                font-size: 1.1rem;
            }
            
            .logo {
                height: 38px;
            }
            
            .logo-glow {
                width: 50px;
                height: 50px;
            }
            
            .separator {
                font-size: 1.5rem;
                margin: 0 8px;
            }
        }

        @media (max-width: 480px) {
            .company-name {
                font-size: 0.95rem;
            }
            
            .logo {
                height: 32px;
            }
            
            .separator {
                font-size: 1.2rem;
                margin: 0 5px;
            }
        }


        /* ===== Mining Capabilities Section (Scoped) ===== */
.mgx-section {
  padding: 80px 20px;
  background: #f7f9fc;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.mgx-container {
  max-width: 1200px;
  margin: auto;
}

.mgx-title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 10px;
  color: #1f2933;
}

.mgx-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: #5a6b7b;
  font-size: 1rem;
}

.mgx-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.mgx-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mgx-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.mgx-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.mgx-card h3 {
  font-size: 1.2rem;
  margin: 18px;
  color: #111827;
}

.mgx-card p {
  margin: 0 18px 22px;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.6;
}

.read-more{
    padding: 6px;
    font-size: 14px;
    border-radius: 7px;
}
 .footer {
            text-align: center;
            padding: 30px 0;
            color: #64748b;
            border-top: 1px solid #e2e8f0;
            margin-top: 40px;
        }