:root { --main: #ffc107; --bg: #000; --text: #fff; }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }
body { background: var(--bg); color: var(--text); line-height: 1.6; }

/* Header Responsiveness */
.top-bar { 
    display: flex; justify-content: space-between; 
    padding: 10px 5%; font-size: 12px; border-bottom: 1px solid #222; 
    
}
.top-bar i{
    color: var(--main);
    margin-right: 5px;
}
.top-bar a{
    color: var(--main);
    margin-right: 5px;
    text-decoration: none; margin-left: 15px; font-weight: bold;
}
.navbar { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 20px 5%; position: sticky; top: 0; background: var(--bg); z-index: 100;
}

.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: #fff; text-decoration: none; font-weight: bold; font-size: 13px; }
.yellow { color: var(--main); }

.menu-toggle { display: none; font-size: 24px; cursor: pointer; }

/* Hero Slider Section */
.hero-slider { position: relative; width: 100%; min-height: 80vh; }

.slide { 
    display: none; /* Hidden by default */
    padding: 40px 5%; 
    align-items: center; 
    justify-content: space-between;
    animation: fadeIn 0.8s;
     background-image: url('https://www.transparenttextures.com/patterns/white-diamond.png');
}

.slide.active { display: flex; } /* Shown when active */

.hero-text { flex: 1; max-width: 600px; }
.hero-text h1 { font-size: 3rem; margin-bottom: 20px; }
.hero-img { flex: 1; text-align: right; }
.hero-img img { width: 100%; max-width: 450px; }

.btns { display: flex; gap: 10px; margin-top: 20px; }
.btn-y { background: var(--main); border: none; padding: 12px 25px; font-weight: bold; cursor: pointer; }
.btn-o { background: transparent; border: 1px solid var(--main); color: #fff; padding: 12px 25px; cursor: pointer; }
/* Section Container */
.steps-section {
    padding: 80px 8%;
    background-color: #f9f9f9; /* Light background to contrast the dark hero */
    color: #333;
    text-align: center;
    
}

.steps-header { margin-bottom: 50px; }
.steps-header .subtitle { color: #ffc107; font-weight: bold; font-size: 14px; margin-bottom: 10px; }
.steps-header h2 { font-size: 2.5rem; color: #111; margin-bottom: 15px; }

/* The Grid Layout */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Individual Cards */
.step-card {
    background: #fff;
     background-image: url('https://www.transparenttextures.com/patterns/white-diamond.png');
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.step-card:hover { transform: translateY(-10px);
background-color: #000; color: #fff; 
}

/* The Dark Center Card */
.dark-card {
    background: #fff;
    color: #000;
}

.dark-card h3 { color: #000; }
.dark-card p { color: #000; }


.step-number {
    position: absolute;
    top: 20px; left: -15px;
    background: #ffc107;
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.step-icon img { width: 60px; margin-bottom: 20px; }
.step-card h3 { margin-bottom: 15px; font-size: 1.5rem; }
.step-link { color: #666; text-decoration: none; font-size: 14px; font-weight: bold; display: block; margin-top: 20px; }
.dark-card .step-link { color: #ffc107; }

/* WhatsApp Button Style */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 2px 2px 3px #999;
}
.about-section {
    padding: 100px 8%;
    background-color: #000;
    color: #fff;
     background-image: url('https://www.transparenttextures.com/patterns/white-diamond.png');
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.section-tag {
    color: #ffc107;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.yellow-text {
    color: #ffc107;
}

.description {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-list {
    list-style: none;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
}

.dot {
    height: 12px;
    width: 12px;
    border: 2px solid #ffc107;
    border-radius: 50%;
    display: inline-block;
}

/* Image Container */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.certificate-wrapper {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.1);
}

.certificate-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
    .about-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Stacks image below text */
        text-align: center;
    }

    .about-list li {
        justify-content: center;
    }

    .about-section {
        padding: 60px 5%;
    }

    .about-image {
        margin-top: 40px;
        width: 100%;
    }
}
.features-section {
    padding: 80px 8%;
    background-color: #fff;
    color: #333;
    text-align: center;
    background-image: url('https://www.transparenttextures.com/patterns/white-diamond.png');
}

.features-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1fr; /* Center element is slightly narrower */
    gap: 30px;
    align-items: center;
    margin-top: 50px;
   
}

.feature-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
     box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Align text to the right only on the left column (Desktop only) */
.right-align {
    text-align: right;
    flex-direction: row;
}

.feature-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-text p {
    font-size: 0.95rem;
    color: #666;
}

/* Icon Styling (replaces image styling) */
.feature-icon i {
    font-size: 2.5rem;
    color: #ffc107; /* Or your preferred theme color */
    width: 50px;
    text-align: center;
}

.feature-center-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-center-icon i {
    font-size: 10rem;
    color: #ffc107; /* Matching theme */
    width: 100%;
    max-width: 400px;
}
.market-section {
    padding: 100px 8%;
    background-color: #f4f4f4;
    color: #333;
    background-image: url('https://www.transparenttextures.com/patterns/white-diamond.png');
}

.market-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.market-info { flex: 1; }
.market-info h1 { font-size: 3rem; margin-bottom: 20px; color: #111; }
.market-info .description { margin-bottom: 20px; line-height: 1.8; color: #555; }
.btn-yellow { background: var(--main); border: none; padding: 12px 25px; font-weight: bold; cursor: pointer; color: #000; }
/* Transaction Box Styling */
.transaction-box {
    flex: 1.2;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.transaction-tabs {
    display: flex;
    background: #eee;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.tab-btn.active { background: #fff; color: #ffc107; border-top: 3px solid #ffc107; }

.tab-content { display: none; padding: 20px; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }

.transaction-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.transaction-table th, .transaction-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.status-done { color: #28a745; font-weight: bold; }
.status-pending { color: #ffc107; font-weight: bold; }
/* Add this to your existing CSS */
.transaction-table tbody {
    display: block;
    min-height: 180px; /* Prevents the section from collapsing/jumping */
}

.transaction-table thead, .transaction-table tr {
    display: table;
    width: 100%;
    table-layout: fixed; /* Keeps columns perfectly aligned */
}

@keyframes tableFade {
    from { opacity: 0.4; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.transaction-table tr {
    animation: tableFade 0.5s ease-in-out;
}
.footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px 5%;
    font-size: 14px;
}
.footer a { color: #ffc107; text-decoration: none; font-weight: bold; }

/* --- RESPONSIVE FIX --- */
@media (max-width: 992px) {
    .market-container {
        flex-direction: column; /* Stacks the table below the text */
    }
    
    .market-info { text-align: center; }
    
    .transaction-box {
        width: 100%;
    }

    /* Make table scrollable horizontally on very small phones */
    .tab-content {
        overflow-x: auto;
    }
}
/* --- RESPONSIVE FIXES --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .feature-center-icon {
        grid-row: 1;
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; /* Single column stack */
    }
    
    .feature-center-icon {
        grid-column: span 1;
        margin-bottom: 30px;
    }

    .feature-center-icon i {
        font-size: 6rem;
    }

    .feature-item, .right-align {
        flex-direction: column; /* Icon above text on mobile */
        text-align: center;
        align-items: center;
    }

    .features-header h1 {
        font-size: 1.8rem;
    }
}
/* --- RESPONSIVENESS --- */
@media (max-width: 768px) {
    .steps-section { padding: 50px 5%; }
    .steps-header h2 { font-size: 1.8rem; }
    .step-number { left: 10px; top: -20px; } /* Move number for mobile */
}
/* --- MOBILE STYLES (The Fix) --- */
@media (max-width: 900px) {
    .menu-toggle { display: block; } /* Show Hamburger */
    
    .nav-links {
        display: none; /* Hide links */
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: #111; padding: 20px; z-index: 100;
    }

    .nav-links.show { display: flex; } /* Toggle class for JS */

    .slide { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 2rem; }
    .hero-img { margin-top: 30px; text-align: center; }
    .btns { justify-content: center; }
    
    .top-bar { flex-direction: column; gap: 5px; text-align: center; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }