/* General */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 4rem 0;
}

.bg-light {
    background: #f8f9fa;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background-color: #000;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: 220px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3b82f6;
}

/* Hamburger menu (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 3px;
}

/* index.html */
/* section */
#product-hero {
    background: url('../../../assets/producthr_bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
    color: #fff;
    padding: 5rem 1rem;
    z-index: 0;
}

#product-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

#product-hero .container {
    width: 80%;
    position: relative;
    z-index: 2;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#product-hero h1 {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #fff;
}

/* Card Grid Container */
/* Pure CSS Grid */
.container_1 {
    width: 80%;
    margin: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cards per row */
    gap: 40px;
}

/* Card styling */
.module-card {
    background: #121721;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.module-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
}

.module-card p {
    font-size: 1rem;
    color: #fff;
    flex-grow: 1;
}

.module-card a {
    margin-top: 16px;
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
    transition: color 0.3s;
}

.module-card a:hover {
    color: #0056b3;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.container_2 {
    width: 60%;
    margin: auto;
    z-index: 3;
}

.display-head {
    font-weight: 500 !important;
}

.description {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    font-size: 18px;
}

.description p {
    margin-bottom: 20px;
    line-height: 1.9;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.nav-buttons a {
    background: #242834;
    color: white;
    width: 140px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.nav-buttons a:hover {
    background: #0056b3;
}

/* Responsive: 1 card per row on small screens */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    #product-hero .container {
        width: 100%;
    }

    .container_1 {
        width: 100%;
    }

    .container_2 {
        width: 80%;
    }

    #product-hero h1 {
        font-size: 30px;
    }

    .description {
        font-size: 16px;
    }
}


/* Responsive section */
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    /* .container {
    max-width: 768px;
  } */
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

/* Responsive: mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: calc(100vh - 70px);
        width: 100%;
        text-align: center;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        gap: 2rem;
        padding: 2rem;
        transition: right 0.3s ease;
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

}

/* Extra small screens */
@media (max-width: 480px) {

    .navbar {
        padding: 1rem;
    }

    .nav-links {
        width: 100%;
        padding: 1.5rem;
        gap: 1.5rem;
        align-items: center;
    }

    .logo img {
        height: 40px;
        width: 180px;
    }

    .nav-links.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .container_2 {
        width: 90%;
    }

    .description {
        padding: 20px;
    }

}

/* Very small screens (320px) */
@media (max-width: 320px) {
    .nav-links {
        width: 160px;
        padding: 1rem;
        gap: 1rem;
    }

    .logo img {
        height: 35px;
        width: 150px;
    }
}