body {
    margin: 0;
    font-family: Arial, sans-serif;
   
}

/* ================= HEADER ================= */
.header {
    /* width: 100%; */
    background: white;
    padding: 20px 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 60px;
}

.site-name {
    font-size: 32px;
    font-weight: 600;
}

/* Desktop Navbar */
.navbar {
    display: flex;
    gap: 50px;
}

.navbar a {
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.navbar a.active {
    color: #1e73be;
}

/* ============= MOBILE NAVBAR ============= */
.mobile-menu-btn {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: white;
    padding: 10px 20px;
}

.mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

/* ================= CAROUSEL ================= */
.carousel {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 60px;
}

.slide h1 {
    color: white;
    font-size: 45px;
    width: 45%;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00000080;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

/* ================= MARKET INDEX ================= */
.market-section {
    padding: 30px;
}

.title {
    font-size: 22px;
    color: #1e73be;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.market-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 6px #ddd;
    text-align: center;
}

.market-card .price,
.market-card .change {
    font-size: 18px;
    margin-bottom: 5px;
}

.market-card .symbol {
    font-size: 20px;
}

/* ================= STOCK TABLE ================= */
.stock-section {
    padding: 30px;
}

/* SEARCH BAR */
.search-box {
    width: 100%;
    max-width: 100%;
    display: flex;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    font-size: 16px;
    border: none;
    outline: none;
}

.search-box .search-icon {
    width: 45px;
    background: #f8f9fc;
    border-left: 1px solid #dcdcdc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.stock-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.stock-table th, .stock-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

#loadMore {
    color: blue;
    cursor: pointer;
    margin-top: 15px;
}

/* ================= FOOTER ================= */
.footer {
    background: #222;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.footer-logo {
    width: 60px;
    margin-bottom: 20px;
}
.green {
    color: #00a000;   /* green */
}

.red {
    color: #d00000;   /* red */
}
.load-more {
    text-align: center;
    color: #1e73be;
    cursor: pointer;
    margin: 25px 0;
    font-size: 20px;
    text-decoration: none;
}
.load-more:hover {
    text-decoration: underline;
}

/* Hidden rows initially */
.hidden-row {
    display: none;
}
/* PRODUCT PAGE */
.product-section {
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}

.page-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 40px;
}

.section-title {
    color: #1e73be;
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 15px;
}

.white-card {
    background: #fff;
    padding: 22px;
    border-radius: 6px;
    box-shadow: 0 0 6px #ddd;
    font-size: 16px;
    line-height: 1.6;
}

.white-card p {
    margin: 10px 0;
}
.company-section {
    padding: 50px;
    max-width: 1200px;
    margin: auto;
}

.company-text p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
}
/* ===============================
   FIXED DOWNLOAD PAGE UI
   =============================== */

.download-wrapper {
    background: url("images/download1.png") no-repeat center/cover;
    width: 100%;
    min-height: 100vh;
    padding: 150px 0 100px;
    position: relative;
}

.download-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 40, 0.65);
    z-index: 1;
}

.download-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.download-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 12px;
}

.download-subtitle {
    font-size: 20px;
    margin-bottom: 60px;
    opacity: 0.9;
}

/* Layout exactly like screenshot */
.download-buttons-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 120px;
}

.left-download-group {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.right-download-group {
    display: flex;
    flex-direction: column;
}

.download-btn {
    background: rgba(5, 45, 75, 0.85);
    padding: 15px 40px;
    color: #fff;
    font-size: 20px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
    min-width: 260px;
    justify-content: center;
}

.download-btn:hover {
    background: rgba(5, 45, 75, 1);
}

/* Responsive Fix */
@media (max-width: 900px) {
    .download-buttons-area {
        flex-direction: column;
        gap: 40px;
        padding: 0;
    }

    .left-download-group {
        align-items: center;
    }

    .right-download-group {
        align-items: center;
    }

    .download-title {
        font-size: 32px;
    }
}




/* ============================================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ============================================================ */

/* Tablets (width ≤ 992px) */
@media (max-width: 992px) {
    .navbar {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .slide h1 {
        font-size: 32px;
        width: 70%;
    }

    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (width ≤ 600px) */
@media (max-width: 600px) {

    /* HEADER */
    .site-name {
        font-size: 20px;
    }

    /* Show hamburger menu */
    .mobile-menu-btn {
        display: block;
    }

    /* CAROUSEL */
    .carousel {
        height: 280px;
    }

    .slide {
        height: 280px;
        padding-left: 20px;
    }

    .slide h1 {
        font-size: 22px;
        width: 90%;
    }

    .prev, .next {
        padding: 6px 10px;
        font-size: 14px;
    }

    /* MARKET */
    .market-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    /* STOCK */
    .search {
        width: 100%;
    }

    .stock-table th, .stock-table td {
        padding: 10px;
        font-size: 14px;
    }

    /* FOOTER */
    .footer {
        padding: 30px 10px;
        font-size: 14px;
    }
}
