/* 
    HETARYA INTERNATIONAL - Ultra-Premium Design System
    Theme: Sustainability, Industrial Excellence, Global Trade
    Design Style: High-End Dark Mode with Mesh Gradients & Glassmorphism
*/

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

:root {
    --primary: #10b981; /* Emerald Green */
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.3);
    --secondary: #6366f1; /* Indigo */
    --accent: #f59e0b; /* Amber */
    --bg-dark: #020617; /* Deepest Navy */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-glow: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Fancy Animated Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(16, 185, 129, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.2) 0%, transparent 40%),
        url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.8;
    z-index: -2;
}

/* Animated Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-glow);
    filter: blur(100px);
    border-radius: 50%;
    animation: move 25s infinite alternate;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(99, 102, 241, 0.1);
    right: -100px;
    top: 20%;
    animation: move 30s infinite alternate-reverse;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 100px) scale(1.2); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.display-1, .display-2 {
    font-weight: 900;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Premium Navbar */
.navbar {
    padding: 1.5rem 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-nav .nav-item {
    margin: 0 5px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Glass Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter */
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-panel p, .text-muted {
    color: rgba(255, 255, 255, 0.8) !important; /* Much lighter for better contrast */
    font-weight: 400;
}

.glass-panel h1, .glass-panel h2, .glass-panel h3 {
    color: #fff;
    margin-bottom: 1.25rem;
}

.glass-panel:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 30px 60px -12px rgba(16, 185, 129, 0.2);
}


/* Buttons */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.input-group > .btn-primary-custom {
    border-radius: 10px !important;
    padding: 10px 20px;
    margin: 4px;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
    filter: brightness(1.1);
    color: white;
}

.btn-glow {
    position: relative;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* Hero Section */
.hero-wrapper {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(2, 6, 23, 0.4) 0%, rgba(2, 6, 23, 0.95) 100%);
}

/* Sections */
section {
    padding: 140px 0;
    position: relative;
}

.section-bg-wrapper {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
}

.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.35) saturate(1.1);
    transition: transform 0.5s ease;
}

@media (max-width: 991px) {
    .section-bg-image {
        background-attachment: scroll;
    }
}

.section-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, rgba(2, 6, 23, 0.7) 0%, rgba(2, 6, 23, 0.98) 100%);
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* Stats */
.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
.footer {
    background: rgba(2, 6, 23, 0.98);
    padding: 100px 0 40px;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: #fff;
    text-transform: uppercase;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.75) !important; /* Lighter for better contrast */
    font-size: 0.9rem;
}


.footer i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* Premium Newsletter Input Fix */
.footer .input-group {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    border-radius: 16px !important;
    padding: 2px;
    transition: all 0.3s ease;
}

.footer .input-group:focus-within {
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px var(--primary-glow);
}

.footer .input-group .form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: white !important;
    padding: 12px 20px;
}

.footer .input-group .btn-primary-custom {
    box-shadow: none;
    height: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
