/* =====================
   GLOBAL STYLES
===================== */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body styling */
body{
	/*overflow:hidden;*/
    font-family: Arial, sans-serif;
    line-height: 1.6;
	
}
:root{
      --bg:#000;
      --text:#ffffff;
      --muted:#cfcfcf;
      --glass:rgba(255,255,255,0.08);
      --border:rgba(255,255,255,0.15);
      --button:#ffffff;
      --buttonText:#000000;
    }
	
	

/* Smooth scrolling */
html{
    scroll-behavior: smooth;
}

/* =====================
   NAVIGATION BAR
===================== */

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #002147;
    padding: 15px 8%;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* Logo section */
.logo{
    display: flex;
    align-items: center;
    color: white;
}

.logo img{
    width: 50px;
    margin-right: 10px;
}

/* Navigation links */
.nav-links{
    display: flex;
    list-style: none;
}

.nav-links li{
    margin-left: 20px;
}

.nav-links a{
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover{
    color: gold;
}

/* Mobile menu button */
.menu-btn{
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* =====================
   HERO SECTION
===================== */

.hero{
	position:relative;
	width:100%;
    height: 100vh;
	overflow:hidden;
   /* background:
        linear-gradient(rgba(0,0,0,0.5),
        rgba(0,0,0,0.5));
        url('images/students.jpg') center/cover;*/
    display: flex;
	justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

/* ADDED VIDEO BACKGROUND IN THE BACK END */

    .hero video{
      position:absolute;
      top:50%;
      left:50%;

      width:100%;
      height:100%;

      object-fit:cover;

      transform:translate(-50%, -50%);

      z-index:-2;
    }
.hero-content h1{
    font-size: 60px;
}

.hero-content p{
    margin: 20px 0;
    font-size: 20px;
}

/* ADDED DARK OVERLAY */

    .hero::after{
      content:"";
      position:absolute;
      inset:0;

      background:rgba(0,0,0,0.45);

      z-index:-1;
    }

/* Button styling */
.btn{
    display: inline-block;
    background: gold;
    color: black;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover{
    background: white;
}

/* =====================
   SECTIONS
===================== */

section{
    padding: 80px 10%;
}

.section-title{
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2{
    font-size: 40px;
    color: #002147;
}

/* =====================
   ABOUT SECTION
===================== */

.about-container{
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-image img{
    width: 100%;
    border-radius: 10px;
}

.about-text h3{
    margin-bottom: 20px;
}

/* =====================
   COURSES SECTION
===================== */

.course-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card{
    background: #f4f4f4;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
}

.course-card:hover{
    transform: translateY(-10px);
}

.course-card i{
    font-size: 50px;
    color: #002147;
    margin-bottom: 20px;
}

/* =====================
   GALLERY SECTION
===================== */

.gallery-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-container img{
    width: 100%;
    border-radius: 10px;
}

/* =====================
   CONTACT FORM
===================== */

.contact form{
    display: flex;
    flex-direction: column;
}

.contact input,
.contact textarea{
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

/* =====================
   FOOTER
===================== */

footer{
    background: #002147;
    color: white;
    text-align: center;
    padding: 40px 10%;
}

.social-icons a{
    color: white;
    margin: 0 10px;
    font-size: 20px;
}

/* =====================
   RESPONSIVE DESIGN
===================== */

@media(max-width: 768px){

    /* Show mobile menu */
    .menu-btn{
        display: block;
    }

    /* Hide navigation links */
    .nav-links{
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: #002147;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-links.active{
        left: 0;
    }

    .nav-links li{
        margin: 20px 0;
    }

    /* Responsive hero text */
    .hero-content h1{
        font-size: 35px;
    }

    /* Stack sections vertically */
    .about-container{
        flex-direction: column;
    }

    .course-container{
        grid-template-columns: 1fr;
    }

    .gallery-container{
        grid-template-columns: 1fr;
    }
	
	/* VIDEO BACKGROUND */

    .video-bg{
      position:fixed;
      top:0;
      left:0;
      width:100%;
      height:100%;
      z-index:-1;
      overflow:hidden;
    }
	
	/* ACTIVE VIDEO */

    .video-container video.active{
      opacity:1;
    }
	
	/* ALL VIDEOS */

    .video-container video{
      position:absolute;
      width:100%;
      height:100%;
      object-fit:cover;
      opacity:0;
      transition:opacity 1.5s ease-in-out;
    }

    .video-bg video{
      width:100%;
      height:100%;
      object-fit:cover;
    }
	
	/* OVERLAY */

    .overlay{
      position:fixed;
      inset:0;
      z-index:-2;

      background:
      linear-gradient(
        to bottom,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.75)
      );
    }
	
	/* VIDEO CONTAINER */
	.video-container{
      position:absolute;
      inset:0;
      z-index:-2;
      
    }
	
	
	
	/* CONTENT */

    .content{
      height:100vh;
      display:flex;
      justify-content:center;
      align-items:center;
      flex-direction:column;
      text-align:center;
    }
  
  
  

}
