    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
    body {
        padding-top: 80px;
        font-family: "Titillium Web", sans-serif;
        font-weight: 400;
        font-style: normal;
        
    }



/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    color: black;
    display: flex;
    align-items: center;
    padding: 05px 30px;
    flex-wrap: wrap;
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* Logo */
.logo {
    margin-right: 60px;
    margin-left: 10px;
    margin-top: 15px;
}
img {
    height: 70px;
}

/* Nav links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    font-size: 22px
}
.nav-links li a {
    color: black;
    text-decoration: none;
    padding: 8px 12px;
    transition: color 0.5s ease;
}
.nav-links li a:hover {
    color: rgb(253, 87, 27);
}
.nav-links li .button {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    transition: color 0.5s ease;
}
.nav-links li .button:hover {
    background-color: #000;
    color: white;
}

/* Hamburger menu (hidden on desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}
.menu-toggle span {
    background: black;
    height: 3px;
    width: 25px;
    margin: 4px 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    nav {
        justify-content: space-between;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
}

.nox {
    color: #aaa;
}
.nox:hover {
    color: #21D625;
}

/* Base dropdown */
.nav-links .dropdown {
  position: relative;
}
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 999;
}
/* Show on hover (desktop) */
.nav-links .dropdown:hover > .dropdown-menu {
  display: block;
}
.nav-links .dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links .dropdown-menu li a:hover {
  background: #f5f5f5;
}
.nav-links .dropdown-menu .dropdown {
  position: relative;
}
.nav-links .dropdown-menu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 1px;
  display: none;
}
.nav-links .dropdown-menu .dropdown:hover > .dropdown-menu {
  display: block;
}
.nav-links .dropdown > a:after {
  content: "";
}

/* --- MOBILE ONLY --- */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #fff;
    width: 100%;
    border-top: 1px solid #ddd;
  }
  .nav-links a {
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
    transition: background 0.3s ease;
  }
  .nav-links a:hover { background: #f5f5f5; }

  .nav-links .dropdown { position: static; }
  .nav-links .dropdown-menu {
    display: block;
    position: static;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 100%;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease;
    background: #fafafa;
    border-left: 3px solid #ff6600;
  }

  /* Open dropdown when parent is focused */
  .nav-links .dropdown:focus-within > .dropdown-menu,
  .nav-links .dropdown-menu .dropdown:focus-within > .dropdown-menu {
    max-height: 600px;
    opacity: 1;
  }

  /* --- FIRST TAP = open, SECOND TAP = follow link --- */
  .nav-links .dropdown > a {
    position: relative;
    z-index: 1;
  }
  .nav-links .dropdown > a::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
  }
  .nav-links .dropdown:focus-within > a::after {
    display: none; /* allows second tap to follow link */
  }

  /* Arrow indicator */
  .nav-links .dropdown > a::before {
    content: "▸";
    float: right;
    transition: transform .3s ease;
    margin-right: 8px;
  }
  .nav-links .dropdown:focus-within > a::before {
    transform: rotate(90deg);
  }

  /* Nested indentation */
  .nav-links .dropdown-menu .dropdown-menu {
    margin-left: 15px;
    border-left: 2px solid #ddd;
  }
}
/* First-level submenu */
.nav-links .dropdown-menu li a {
  font-size: 16px;   /* smaller than main menu (22px) */
}

/* Nested submenu (third level and deeper) */
.nav-links .dropdown-menu .dropdown-menu li a {
  font-size: 14px;   /* even smaller for deeper items */
}
/* Very small phones (≤ 480px) */
@media (max-width: 480px) {
  .nav-links a {
    font-size: 14px;
    padding: 10px 12px;
  }
  .nav-links .dropdown-menu li a {
    font-size: 13px;
  }
  nav .logo{
    width: 100px;
  }
}





    /* hero section */
.hero-section {
    position: relative;
    width: 100%;
    height: 450px;
    background: url('./assets/traing-banner_1500x.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-section .overlay {
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end; /* Add this line */
    padding-left: 50px;
    padding-bottom: 180px;      /* Add this line for spacing from bottom */
}
.hero-section h1 {
    color: white;
    
    font-size: 42px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Titillium Web", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-left: 40px;
}
.hero-section .overlay p {
    color: #fff;
    font-size: 22px;
    margin-left: 40px;
    margin-top: 10px;
}





    /* PRODSLIDE */
    .slidetitle {
        display: flex;
        justify-content: center;
        font-size: 12px;
    }

    .butt {
        display: flex;
        justify-content: center;
        background-color: #f1f0f0;
        padding-top: 20px;
        padding-bottom: 20px;
    }


    .slider-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
        margin-top: 50px;
    }

    .slider {
        display: flex;
        gap: 44px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding: 24px 0;
    }

    .slider::-webkit-scrollbar {
        display: none;
    }

    .product {
        min-width: 200px;
        flex: 0 0 auto;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .product.active {
        transform: scale(1.08);
    }

    .slider.dragging {
        cursor: grabbing;
    }

    .product img {
        background: rgba(37, 37, 37, 0.082);
        height: 180px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .product-name {
        font-size: 12px;
        color: #999;
        font-weight: bold;
        letter-spacing: 0.5px;
        border-top: 3px solid rgba(131, 131, 131, 0.336);
        
    }

    .product.active img{
        background: rgba(0, 0, 0, 0);
    }

    .product.active .product-name {
        color: #000;
        border-top: 3px solid orangered;
        padding-top: 6px;

    }

    /* ARROWS */
    .arrow1 {
        font-size: 46px;
        cursor: pointer;
        user-select: none;
        z-index: 2;
    }

    .arrows-container1 {
        display: flex;
        justify-content: center;
        gap: 1000px;
        margin-top: 20px;
        order: 2;
    }

    /* DETAILS SECTION */
    .details {
        display: flex;
        align-items: center;
        padding: 50px 100px;
        gap: 40px;
        margin-top: -40px;
    }

    .details-text {
        flex: 1;
    }

    .details-text h1 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: -40px;
    }

    .subtitle {
        color: #f36f21;
        font-weight: bold;
        margin-bottom: 15px;
        font-size: 24px;
        margin-top: 35px;
    }

    .details-text p {
        font-size: 18px;
        line-height: 1.6;
        color: #444;
    }

    .details-image img {
        max-width: 400px;
        height: auto;
        object-fit: contain;
        margin-bottom: 300px;
    }
    .product-links {
    display: flex;
    flex-direction: column;
}

.product-links a {
    color: orangered;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}
    .product-links a:hover {
text-decoration: underline;

    }
    .video-slider {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.main-video iframe {
    border-radius: 8px;
}

.video-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    max-height: 315px;
}

.video-thumb iframe {
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.video-thumb:hover iframe {
    transform: scale(1.05);
}
.training-videos-title {
    font-size: 1.5rem;
    margin: 15px 0 10px 0;
    font-weight: bold;
    color: #333;
}
.video-thumb img {
    width: 160px;
    height: 90px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.video-thumb img:hover {
    transform: scale(1.05);
}



.center-section {
        margin-top: 200px;
        margin-bottom: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
        font-family: "Share Tech", sans-serif;
        font-weight: 400;
        font-style: normal;
        margin-left: 400px;
    }

    .center-title {
        max-width: 1800px;
        position: relative;
    }

    .title-wrapper {
        position: relative;
        display: inline-block;
    }

    .title-bg {
        font-size: 8rem;
        color: rgba(0, 0, 0, 0.056);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        font-weight: 400;
        z-index: 0;
    }

    .title-main {
        font-size: 2.8rem;
        font-weight: bold;
        color: black;
        position: s;
        z-index: 1;
    }











/* FOOTER */
footer {
  background: linear-gradient(135deg, #000, #111);
  color: #fff;
  padding: 60px 40px 30px;
  font-family: 'Poppins', sans-serif;
}

.footer-top {
  display: grid;
  grid-template-columns: 180px 150px 250px 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo img {
  width: 250px;
  transition: transform 0.3s ease;
  margin-right: 50px;
}
.footer-logo img:hover {
  transform: scale(1.1);
}

.footer-heading {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
}
.footer-heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: #ff7f00;
  margin-top: 8px;
  border-radius: 1px;
}
.footer-links{
    margin-left: 100px;
}
.footer-list {
  list-style: none;
  padding: 0;
}
.footer-list li {
  margin-bottom: 12px;
}
.footer-list a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #ccc;
  transition: color 0.3s, transform 0.3s;
}
.footer-list a:hover {
  color: #ff7f00;
  transform: translateX(5px);
}
.contact{
    margin-left: 50px;
}

.contact strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}
.contact p {
  margin: 5px 0;
  color: #bbb;
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, transform 0.3s;
}
.social-links a:hover {
  color: #ff7f00;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 15px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
  transition: 0.7s ease color;
}

.footer-bottom a.nox {
  color: #aaa;
  font-weight: 600;
  text-decoration: none;
}
.footer-bottom a.nox:hover {
  color: #1eff00;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-logo img { width: 220px; }
  .footer-heading { font-size: 18px; margin-bottom: 12px; }
  .footer-list a { font-size: 15px; }
  .contact p { font-size: 14px; }
  .social-links a { font-size: 16px; }
  .footer-bottom { font-size: 10px; }
  .contact{
    margin-left: 0px;
  }
  .footer-links{
    margin-left: 0px;
  }
}

@media (max-width: 500px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-logo img { width: 200px; margin-bottom: 20px; }
  .footer-heading { font-size: 16px; }
  .footer-list a { font-size: 14px; }
  .social-links a { font-size: 14px; }
  .contact{
    margin-left: 0px;
  }
  .footer-links{
    margin-left: 0px;
  }
}
/* Hidden state */
.footer-top > div,
.footer-bottom {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

/* Visible state */
.footer-top > div.footer-visible,
.footer-bottom.footer-visible {
  opacity: 1;
  transform: translateY(0);
}




/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
    .details {
        flex-direction: column;
        padding: 40px 20px;
    }

    .details-image img {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .slider-wrapper {
        margin-top: 30px;
    }

    .product {
        min-width: 150px;
    }

    .details-text h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 20px;
    }

    .details-text p {
        font-size: 16px;
    }

    /* PRODUCT GRID 2 PER ROW ON MOBILE */
    #productContainer.grid-view {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .list-view {
        grid-template-columns: 1fr;
    }

    .hero-section{
        height: 300px;
    }
    /* HERO TEXT ADJUST */
    .hero-section .overlay {
        padding-left: 20px;
        padding-bottom: 120px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .hero-section .overlay p {
        font-size: 18px;
    }

}


/* For tablet */
@media (max-width: 1024px) {
    #productContainer {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* For mobile */
/* DETAILS SECTION MOBILE FIX */
@media (max-width: 768px) {
    .details {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
        margin-top: 0;
    }

    .details-text {
        width: 100%;
    }

    .details-text h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .subtitle {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .details-text p {
        font-size: 15px;
        line-height: 1.5;
        color: #444;
    }

    .details-image img {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
}

/* VIDEO SECTION MOBILE FIX */
@media (max-width: 768px) {
    .video-slider {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .main-video iframe {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .video-thumbnails {
        flex-direction: row;
        overflow-x: auto;
        max-height: none;
        gap: 10px;
        padding-bottom: 10px;
    }

    .video-thumb {
        flex: 0 0 auto;
        width: 120px;
    }

    .video-thumb img {
        width: 100%;
        height: auto;
    }
}



@media (max-width: 768px) {
    .center-section {
        flex-direction: column;
        margin: 20px 15px; /* remove fixed left margin */
        padding: 15px;
        text-align: center;
    }

    .center-title {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }

    .title-wrapper {
        display: block;
    }

    .title-bg {
        font-size: 4rem; /* smaller background text */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .title-main {
        font-size: 1.8rem; /* smaller main title */
        position: relative; /* fix invalid 'position: s;' */
        z-index: 1;
        display: block;
        margin-top: 0.5rem;
    }
}
/* Hidden state */
.footer-top > div,
.footer-bottom {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

/* Visible state */
.footer-top > div.footer-visible,
.footer-bottom.footer-visible {
  opacity: 1;
  transform: translateY(0);
}
