/* ==========================================
   DHAN X GLOBAL - style.css
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header Top Bar */
.top-bar {
    background-color: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #b0b0b0;
}

.market-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.market-stats span b {
    color: #f7931a;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-sign {
    background: transparent;
    border: 1px solid #f7931a;
    color: #f7931a;
    padding: 6px 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-sign:hover {
    background: #f7931a;
    color: #000;
}

.btn-reg {
    background: #f7931a;
    border: 1px solid #f7931a;
    color: #000;
    padding: 6px 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-reg:hover {
    background: #d47e13;
}

/* Main Navbar */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5%; /* Padding kam ki gayi hai */
    background: #121212;
    border-bottom: 1px solid #222;
    min-height: 20px; /* Navbar ki fixed height control karne ke liye */
}

.logo {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 2px;
}

.logo span {
    color: #f7931a;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #cccccc;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover, .nav-links a.active {
    color: #f7931a;
}

.nav-icons {
    display: flex;
    gap: 20px;
    font-size: 16px;
    color: #cccccc;
    align-items: center;
}

.nav-icons i {
    cursor: pointer;
    transition: 0.3s;
}
.nav-icons i:hover {
    color: #f7931a;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #f7931a;
    transition: 0.3s;
}
/* Full Width Hero Banner with Floating Line & Dot Animation */
.hero-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    text-align: center;
    padding: 130px 20px;
    background: linear-gradient(135deg, #0f0f0f, #161616);
    border-top: 1px solid #222;
    border-bottom: 2px solid #2a2a2a;
    border-radius: 0px !important; /* Side margin aur rounded corners khatam */
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-banner h1 {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-banner h1 span {
    color: #f7931a;
}

.hero-banner p {
    color: #aaaaaa;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Floating Line and Dot Particles Animation */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    background: #f7931a;
    box-shadow: 0 0 10px #f7931a, 0 0 20px #f7931a;
    border-radius: 50%;
    animation: floatUpAndMove 8s linear infinite;
    opacity: 0;
}

/* Floating particle positions and delays */
.hero-particles .particle:nth-child(1) { left: 10%; animation-duration: 7s; animation-delay: 0s; }
.hero-particles .particle:nth-child(2) { left: 30%; animation-duration: 10s; animation-delay: 2s; width: 8px; height: 8px; }
.hero-particles .particle:nth-child(3) { left: 55%; animation-duration: 6s; animation-delay: 1s; }
.hero-particles .particle:nth-child(4) { left: 75%; animation-duration: 9s; animation-delay: 3s; width: 5px; height: 5px; }
.hero-particles .particle:nth-child(5) { left: 90%; animation-duration: 8s; animation-delay: 1.5s; }

@keyframes floatUpAndMove {
    0% {
        transform: translateY(120vh) scale(0.5);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-20vh) scale(1.2);
        opacity: 0;
    }
}
/* Scroll Animation classes */
/* Content Section Styles */
.content-section {
    display: block;
    padding: 70px 5%;
    border-bottom: 1px solid #1a1a1a;
    /* Opacity aur transform hata diye gaye hain taaki blank na aaye */
}
/* Full-Width Hero Section Override */
#home-section.content-section {
    padding: 0 !important;
    max-width: 100% !important;
}

.hero-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    text-align: center;
    padding: 140px 20px;
    background: linear-gradient(135deg, #0b0b0b, #141414);
    border-top: 1px solid #222;
    border-bottom: 2px solid #2a2a2a;
    border-radius: 0px !important;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 950px;
    margin: 0 auto;
}

.hero-banner h1 {
    font-size: 52px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero-banner h1 span {
    color: #f7931a;
}

.hero-banner p {
    color: #cccccc;
    font-size: 19px;
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Network Lines and Floating Dots Animation Layers */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.network-lines-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles .particle {
    position: absolute;
    display: block;
    width: 7px;
    height: 7px;
    background: #f7931a;
    box-shadow: 0 0 12px #f7931a, 0 0 24px #f7931a;
    border-radius: 50%;
    animation: floatNodeDots 7s linear infinite;
    opacity: 0;
}

.hero-particles .particle:nth-child(1) { left: 15%; animation-duration: 6s; animation-delay: 0s; }
.hero-particles .particle:nth-child(2) { left: 35%; animation-duration: 9s; animation-delay: 2s; width: 9px; height: 9px; }
.hero-particles .particle:nth-child(3) { left: 55%; animation-duration: 7s; animation-delay: 1s; }
.hero-particles .particle:nth-child(4) { left: 75%; animation-duration: 8s; animation-delay: 3s; width: 6px; height: 6px; }
.hero-particles .particle:nth-child(5) { left: 88%; animation-duration: 10s; animation-delay: 1.5s; }
.hero-particles .particle:nth-child(6) { left: 45%; animation-duration: 5s; animation-delay: 2.5s; }

@keyframes floatNodeDots {
    0% {
        transform: translateY(110vh) scale(0.4);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
    }
    85% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-15vh) scale(1.3);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 34px;
    }
    .hero-banner p {
        font-size: 16px;
    }
}
.content-section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Style */
.hero-banner {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.85)), url('../img/hero_bg.png') center/cover no-repeat;
    border-bottom: 1px solid #2a2a2a;
    border-radius: 8px;
}

.hero-banner h1 {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-banner h1 span {
    color: #f7931a;
}

.hero-banner p {
    color: #aaaaaa;
    font-size: 18px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #f7931a;
    color: #000;
    padding: 12px 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 147, 26, 0.3);
}

.btn-primary:hover {
    background-color: #d47e13;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.5);
}

/* Grid Layouts for Sections */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #181818;
    border: 1px solid #2a2a2a;
    padding: 35px 30px;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: #f7931a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.card h3 {
    color: #f7931a;
    margin-bottom: 15px;
    font-size: 20px;
}

.card p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}
.section-title span {
    color: #f7931a;
}
.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 40px;
    font-size: 15px;
}

/* Calculator & Interactive box */
.calc-box {
    background-color: #181818;
    border: 1px solid #2a2a2a;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.calc-input-group {
    background: #111;
    border: 1px solid #333;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 240px;
    border-radius: 4px;
}

.calc-input-group input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    width: 100px;
    outline: none;
}

.calc-input-group span {
    color: #f7931a;
    font-weight: bold;
}

/* Team Cards with Image Support */
.team-card {
    background: #181818;
    border: 1px solid #2a2a2a;
    text-align: center;
    padding: 0 0 25px 0;
    overflow: hidden;
    border-radius: 6px;
}

.team-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-card h4 {
    color: #fff;
    font-size: 18px;
    padding: 0 20px;
}

.team-card span {
    color: #f7931a;
    font-size: 13px;
    display: block;
    margin-top: 5px;
    padding: 0 20px;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    border-top: 2px solid #222;
    padding: 60px 5% 20px;
    color: #888;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
    border-bottom: 2px solid #f7931a;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: #f7931a;
}

.copyright {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    font-size: 13px;
}
/* Responsive Media Queries & Mobile Menu Drawer */
@media (max-width: 900px) {
    .top-bar {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    
    /* Full screen ya proper height ke sath mobile drawer */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Shuru me screen ke bahar rahega */
        background-color: #161616;
        flex-direction: column;
        width: 100%;
        height: 100vh; /* Puri screen ki height lega taaki adha na dikhe */
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        border-top: none;
        z-index: 1002;
        padding: 40px 0;
        overflow-y: auto;
    }

    /* Jab active class lagegi toh menu screen par aa jayega */
    .nav-links.mobile-active {
        right: 0;
    }

    /* Mobile menu ke andar Close (X) Button styling */
    .menu-close-btn {
        display: block !important;
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 28px;
        color: #f7931a;
        cursor: pointer;
        background: none;
        border: none;
    }

    .hero-banner h1 {
        font-size: 32px;
    }
}

/* Desktop view me close button hide rahega */
.menu-close-btn {
    display: none;
}