* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body {
    background-color: white color: #333;
    line-height: 1.6;
    padding-bottom: 40px;
}

header {
    background: #1b1b1b;
    color: white;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 20px;
    letter-spacing: 1px;
}

nav {
    width: auto;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0;
    margin: 0;
    justify-content: flex-end;
}


.nav-links li {
    margin: 0;
    padding: 0;
}


.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 12px;
    padding: 6px 10px;
    transition: 0.3s ease;
}


.hero-video-section {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    width: auto;
    z-index: 0;
    object-fit: cover;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(90%);
}

video::-webkit-media-controls {
  display: none !important;
}


.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-text h3 {
    font-size: 22px;
    margin: 0px;
}

.hero-text p {
    font-size: 16px;
    margin: 0px;
}

@media(max-width: 768px) {
    .hero-text h2 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 18px;
    }
}


/* Product Section */
.products {
    padding: 40px 10%;
    text-align: center;
}

.product-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Grid System */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}




/* Cards */
.product-card {
    background: white;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: 0.3s ease;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

/* Product Video */
.product-video {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    object-fit: cover;
    /* ensures perfect clean shape */
    display: block;
}

/* Product Name */
.product-name {
    margin-top: 12px;
    font-size: 18px;
    font-weight: bold;
}



.about-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.about-box {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 6px solid #e1c548;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
}

.about-heading {
    font-size: 26px;
    font-weight: bold;
    color: #222;
    margin-bottom: 12px;
}

.about-tagline {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin-bottom: 18px;
}

.about-text {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 18px;
}

.about-subheading {
    font-size: 22px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
}

.about-list {
    font-size: 17px;
    line-height: 1.7;
    margin-left: 20px;
}


.products h2 {
    padding-left: 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) gap: 25px;
    padding: 20px 40px
}

.card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: 0.3s;
}


@media(max-width:600px) {
    header {
        flex-direction: column;
        text-align: center;
    }
}


nav a {
    margin: 10px;
}

.hero h2 {
    font-size: 28px;
}




/* =========================
   GLOBAL RESPONSIVE RESET
========================= */
img {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}

/* =========================
   GRID RESPONSIVENESS
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

/* =========================
   CARD IMAGE RESPONSIVENESS
========================= */
.thumb {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* =========================
   MODAL RESPONSIVENESS
========================= */
.modal-card {
    max-height: 90vh;
}

/* =========================
   TABLET (≤1024px)
========================= */
@media (max-width: 1024px) {
    body {
        padding: 20px;
    }

    header h1 {
        font-size: 20px;
    }

    .modal-card {
        grid-template-columns: 1fr;
    }

    .modal-image {
        max-height: 45vh;
    }
}

/* =========================
   MOBILE (≤768px)
========================= */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    header {
        padding: 14px;
    }

    header h1 {
        font-size: 18px;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .product-name {
        font-size: 14px;
    }

    .modal-details {
        padding: 14px;
    }

    .specs {
        font-size: 14px;
    }
}

/* =========================
   SMALL MOBILE (≤480px)
========================= */
@media (max-width: 480px) {
    header h1 {
        font-size: 16px;
    }

    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-name {
        font-size: 13px;
    }

    .modal-image {
        max-height: 35vh;
    }

    .close-btn {
        width: 100%;
    }
}

/* =========================
   LARGE SCREENS (≥1400px)
========================= */
@media (min-width: 1400px) {
    .container {
        max-width: 1300px;
    }

    .grid {
        gap: 22px;
    }
}



html,
body {
    max-width: 100%;
    overflow-x: hidden;
}



video,
iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}




header {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}



.container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}



@media (max-width: 768px) {

    header {
        padding: 12px 14px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 14px;
        margin: 6px 10px;
    }

    video {
        max-height: 240px;
        object-fit: cover;
    }
}




@media (max-width: 768px) {
    .hero-video {
        position: relative;
        width: 100%;
        height: 100%;
        min-width: unset;
        min-height: unset;
        left: 0;
        top: 0;
        transform: none;
        object-fit: cover;
    }

    .hero-video-section {
        height: auto;
    }
}


video::-webkit-media-controls {
  display: none !important;
}

.product-video {
  pointer-events: none;
}


video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

