*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root{
    --color-primary: #6c63ff;
    --color-success: #00bf8e;
    --color-warning: #f7c94b;
    --color-danger: #f75842;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #1f2641;
    --color-bg1: #2e3267;
    --color-bg2: #424890;
    
    --container-width-lg: 80%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body{
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background: var(--color-black);
}

.container{
    width: var(--container-width-lg);
    margin: 0 auto;
}

section{
    padding: 6rem 0;
}

section h2{
    text-align: center;
    margin-bottom: 4rem;
}

h1, h2, h3, h4, h5{
    line-height: 1.2;
}

h1{
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3{
    font-size: 1.6rem;
}

h4{
    font-size: 1.3rem;
}

a{
    color: var(--color-white);
}

img{
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn{
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover{
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-primary{
    background: var(--color-danger);
    color: var(--color-white);
}

.bg-video-section {
  position: relative;
  width: 100%;
  height: 100vh !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
  /* z-index: 1; */
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/*================ upperNAV =======================*/
.uppernav {
  background: black;
  display: flex;
  height: 5rem;
  width: 100vw;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 2rem;
  z-index: 1; 
}

.uppernav::after{
  content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(210, 175, 100, 0) 25%, rgba(210, 175, 100, 1) 100%);
}

.uppernavitems{
  height: 5rem;
  display: flex;
  padding: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem 0 0;
  gap: 2rem;
}
.uppernavitems a i{
  color: rgba(210, 175, 100, 1);
  letter-spacing: .3rem;
}

.uppernav {
  height: 5rem; 
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  overflow: visible;
  gap: .7rem;
  left: 6rem;
  position: relative;
}

.logo img {
  height: 5rem;
}

.logo .logotext {
  font-size: 1rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: .8px;
}


/*================ NAVBAR =======================*/
nav{
    background: black;
    width: 100vw;
    height: 3rem;
    top: 0;
    z-index: 1111;
}

.nav_container{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-toggle-btn button{
    display: none;
}

.nav_menu{
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-top: 2rem;
}

.nav_menu a{
    font-size: 1.2rem;
    transition: var(--transition);
}

.nav_menu a:hover{
      color: rgba(210, 175, 100, 1);
}

.social1{
    width: 55px; 
    height: 55px; 
    position: fixed;
    right: 10px;
    border-radius: 60%; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Add subtle shadow for better visibility */
    bottom: 40px;
    background: linear-gradient(45deg, rgb(35, 205, 20));
}
.social1 a{
    font-size: 2rem;
    color: var(--dark-primary-color);
}

.social2{
    width: 55px; 
    height: 55px; 
    position: fixed;
    right: 10px;
    border-radius: 60%; 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); 
    bottom: 100px;
    background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888);
}

.social2 a{
    font-size: 2rem;
    color: var(--dark-primary-color);
}


.aboutus{
  background: white;
  padding: 2rem 0rem;
}

.aboutus h1{
  text-align: center;
  color: #000;
  font-style: italic;
}

.aboutus h1 span{
  color: rgba(210, 175, 100, 1);
}

.aboutus p{
  padding: 1rem 1rem;
  color: #000;
  /* margin-top: 1rem; */
}

/* ================ SERVICES ================== */
.courses{
  background: white;
  color: black;
  padding: 0;

}

.courses_container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.course{
    background: var(--color-white);
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}
 .course:hover {
    background: transparent;
    border-color: var(--color-primary);
 }

 .course_image {
  height: 250px; 
  overflow: hidden;
}

.course_image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

 .course_info{
    padding: 0;
 }

.course_info h4{
  color: white;
  padding: 1rem;
  background: #000f37;
}

/* ============================== VIDEO SECTION ========================================== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.video-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 1px;
  height: 350px;             
  width: 100%;               
  max-width: 500px;          
  margin: 0 auto;            
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s ease;
}

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  opacity: 0;
  transition: 0.3s;
}

.play-overlay i {
  font-size: 5rem;
}

.video-card .play-overlay {
  opacity: 1;
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  flex-direction: column;
}

.video-modal .close-btn {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  margin-top: 1rem;
}

.video-section {
  width: 100vw;
  background: #fff;
  padding: 4rem 0;
  position: relative;
}

.video-heading {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

.video-heading .black-text {
  color: #000;
}

.video-heading .skin-text {
  color: rgba(210, 175, 100, 1); 
}

.video-modal video {
  width: 100%;
  max-width: 700px;
  max-height: 70vh;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}


.training-section {
  background-color: #f5f5f5;
  padding: 4rem 0;
  color: #000;
  width: 100%;
}

.training-section .training-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.training-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
}

.training-section p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.training-highlights {
  list-style-type: disc;
  padding-left: 1.25rem;
  margin-left: 0.5rem;
}

.training-highlights li {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.training-highlights li strong {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
  color: var(--color-black);
}





/* ==================== FOOTER ================= */
footer{
    background-image: url(../images/bg1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #000;
    padding-top: 3rem;
    font-size: 0.9rem;
}

.footer_container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer_container > div h4{
    margin-bottom: 1rem;
    color: #000;
}

.footer_1 p{
    margin: 0 0 2rem;
}

footer ul li{
    margin-bottom: 0.7rem;
}

footer ul li a{
  color: #000;
}

footer ul li a:hover{
    text-decoration: underline;
}

.footer_socials{
    display: flex;
    gap: .91rem;
    font-size: 2rem;
    margin-top: 1.2rem;
}

.footer_socials i{
    border-radius: 60%;
    padding: .21rem;
    border: 1px solid rgb(222, 222, 222);
    color: white;
}

.footer_copyright{
    color: #000;
    text-align: center;
    margin-top: 1rem;
    padding: 1.2rem 0;
    border-top: 1px solid rgb(209, 209, 209);
}



/* ==================== MEDIA QUERIES(TABLETS) ==================== */
@media screen and (max-width: 1024px) {
    .container{
        width: var(--container-width-md);
    }
    h1{
        font-size: 2.2rem;
    }
    h2{
        font-size: 1.7rem;
    }
    h3{
        font-size: 1.4rem;
    }
    h4{
        font-size: 1.2rem;
    }
.uppernav {
    height: auto;
    padding: 1rem 2rem;
    align-items: flex-start;
    gap: 1rem;
  }

  .logo {
    justify-content: center;
    left: 0;
    position: relative;
  }

  .logo img {
    height: 4rem;
  }

  .logo .logotext {
    font-size: 1.1rem;
  }
.uppernavitems{
    margin-bottom: 1.5rem;

}
  .uppernavitems a {
    font-size: 0.9rem;
  }

  .uppernavitems a i {
    font-size: 1.1rem;
    margin-right: 0.5rem;
  }

    /* ==================== NAVBAR =================== */
.nav_container {
  flex-direction: column;
}

.nav-toggle-btn {
  width: 100%;
  text-align: right;
  margin-top: .15rem;
  background: transparent;
}

/* Style the buttons */
.nav-toggle-btn button {
  display: inline-block;
  background: transparent;
  font-size: 2rem;
  color: var(--color-white);
  border: none;
  cursor: pointer;
}

    #close-menu-btn{
        display: none;
    }

    .nav_menu{
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: #000;
        display: none;
    }

    .nav_menu li{
        border: 1px solid rgb(120, 120, 120);
        width: 100%;
        height: auto;
    }
    
    .nav_menu li a{
        background: var(--color-black);
        box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
        width: 50%;
        height: 100%;
        display: grid;
        font-size: 1rem;
      margin-left: 1rem;
      align-items: center;
    }

    .nav_menu li a:hover{
        background: var(--color-bg2);
        color: var(--color-white);
    }
.bg-video-section{
  margin-top: 0;
}

.courses_container {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

/* ==================== FOOTER ======================= */
.footer_container{
    grid-template-columns: 1fr 1fr;
}
}

  



@media screen and (max-width: 768px) {
  .uppernav {
  padding-bottom: 0;
}

nav {
  margin-top: 0;
  padding-top: 0;
} 
 .uppernav {
    align-items: flex-start;
    gap: 1rem;
  }
   .logo {
    justify-content: center;
    left: 0;
    position: relative;
  }

   .logo img {
    height: 3.75rem;
  }

  .logo .logotext {
    font-size: .8rem;
    text-align: center;
  }

.uppernavitems{
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem 0 0;
  gap: 2rem;
}

  .uppernavitems a {
    font-size: 0.85rem;
  }

  .uppernavitems a i {
    font-size: .75rem;
    margin-right: 2px;
  }

  .nav_menu{
    padding-left: 0;
    padding-top: 0 !important;
  }

  .video-grid {
    grid-template-columns: 1fr;
    margin: 2rem auto;
    gap: 1.5rem;
  }

  .video-card {
    height: 300px;
    max-width: 100%;
  }

  .video-heading {
    font-size: 2rem;
  }

  footer {
    background-image: url('../images/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

}



   /* ==================== MEDIA QUERIES(PHONES) ======================= */
    @media screen and (max-width: 600px) {
        .container{
            width: var(--container-width-sm);
        }

 .uppernav {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    align-items: center;
  }

  .logo img {
    height: 3.5rem;
  }

  .logo .logotext {
    font-size: 1rem;
    text-align: center;
  }

  .uppernavitems {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
    height: 2.75rem;
  }

  .uppernavitems a {
    font-size: 0.85rem;
  }

  .uppernavitems a i {
    font-size: 1rem;
  }

    /* ==================== NAVBAR ======================= */
    nav{
      height: auto;
    background: black;
    padding: 0;
    margin: 0;
    }
    .nav_menu{
      padding-top: 0 !important;
    }
    .nav-toggle-btn {
    text-align: right;
    width: 100%;
  }
  .bg-video-section {
    height: 100vh;
  }

  .aboutus{
    padding: 2rem .5rem;
  }

  .aboutus h1{
    font-size: 1.8rem;
  }

  .aboutus p{
    padding: 1rem;
    font-size: .8rem;
  }

  .courses_container {
    grid-template-columns: 1fr;
  }

   .video-grid {
    margin: .5rem auto;
    padding: .71rem;
    gap: 1rem;
  }

  .video-card {
    height: 250px;
    max-width: 100%;
  }

  .play-overlay span{
    font-size: 1.25rem;
  }
  .play-overlay i {
    font-size: 2rem;
  }

  .video-heading {
    font-size: 1.8rem;
  }

  .video-modal video {
    width: 95%;
    max-height: 60vh;
  }
    .training-section {
    padding: 3rem 0;
  }

  .training-section .training-container {
    padding: 0 0.5rem; 
  }

  .training-section h2 {
    font-size: 1.5rem;
  }

  .training-highlights li {
    font-size: 0.9rem;
  }

  /* ==================== FOOTER ======================= */
footer {
    background-image: url('../images/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .footer_container{
    grid-template-columns: 1fr;
    gap: 1rem;
}

.footer_1 p{
    margin: 1rem auto;
}

.footer_socials{
    justify-content: center;
}   
  }
