/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  } 
  html,body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: lightgrey;
    padding-top:75px;
    
  } 
  .video-background {
     top: 0;
     left: 0;
     min-width: 100%;
     min-height: 100%;
     z-index:1 ;
    position: relative;

   }
  /*logo*/
  
  
  .logo {
  width: 190px; /* Adjust the size of your logo */
  height: auto;
  margin-left: 5%;
  
  }
  
  /*menu bar */
  .header{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  display:flex;
  align-items:center;
  background-color: white;
  justify-content:space-between;
  justify-items: end;
  z-index: 10;
  transition: .5s;
  border-bottom: 1px solid black;
  }
  .header:hover{
  border-bottom: 2px solid rgba(255,255,255,0);
  }
  
  /* Navbar - Flexbox for even spacing of items */
  .navbar {
  
  display: flex;
  justify-content: space-evenly; /* Space items evenly */
  width: 100%; /* Ensure navbar takes full width */
  align-items: center; /* Vertically align items */
  
  border-radius: 8px;
  padding: 15px 30px;
  flex-grow: 1;
  }
  .navbar a{
  color:black;
   font-size: 17px;
   font-family: sans-serif;
   font-weight:normal;
   text-decoration: none;
   transition: .3s;
  }
  
  .navbar a:hover{
  color:red;
  margin-left: 8px;
  }
  /* Hover effect for both <a> and .arrow */
  .dropdown:hover .dropbtn,
  .dropdown:hover .arrow {
      color: red;
      border-color: red;  /* Changes the color of the arrow as well */
  }
  
  /* Dropdown container */
  .dropdown {
  position: relative;
  display: inline-block;
  z-index: 20; /* Ensure dropdown is above the slider */
  }
  
  /* Button for dropdown */
  .dropbtn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 14px 20px;
  font-size: 16px;
  display: inline-block;
  text-align: center;
  
  }
  /* down arrow*/
  .arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  margin-bottom: 2px;
  margin-left: 5px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  }
  /* Right arrow styles */
  .rightarrow {
  display: inline-block;
  border: solid black;
  border-width: 0 3px 3px 0;
  padding: 3px;
  margin-left: 110px;
  transform:rotate(-45deg);
  transition: transform 0.3s ease;
  position:absolute;
  right:10px;
  top:50%;
  transform: translateY(-50%) rotate(-45deg); 
  }
  
  
  
  /* Dropdown content - hidden by default */
  .dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* Place dropdown content below the button */
  left: 0; /* Align with the left edge of the dropdown */
  width:250px;
  background:rgba(255,255,255,0.7);
  border: 2px solid rgba(255,255,255,.3);
  transition: .5s;
  backdrop-filter: blur(1px);
  z-index: 30; /* Ensure dropdown content is above the slider */
  font-family: Arial, sans-serif;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Dropdown items */
  .dropdown-content a {
  color: black;
  font-size: 16px;
  padding: 12px 16px;
  text-decoration: none;
  gap:3px;
  display: block;
  margin-left: 0;
  }
  
  /* Change color of dropdown items on hover */
  .dropdown-content a:hover {
  color:red;
  }
  
  
  /* Style for dropdown button on hover */
  .dropdown:hover .dropbtn {
  color:red;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
  /* Nested Dropdown */
  .dropdown-submenu {
  position: relative;
  z-index: 40;
  }
  
  .submenu-btn {
  display: block;
  padding: 12px 16px;
  color:white;
  text-decoration: none;
  }
  
  .submenu-btn:hover {
  color:red;
  }
  
  .submenu-content {
  display: none;
  position: absolute;
  left: 100%;
  background:rgba(255,255,255,0.7);
  border: 2px solid rgba(255,255,255,.3);
  transition: .5s;
  top: 0;
  margin-left: 3%;
  min-width: 190px;
  flex-direction: column;
  z-index: 50;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  .submenu-content a {
  color: black;
  padding:  8px 16px 4px 16px;
  margin: 0;
  text-decoration: none;
  display: block;
  }
  
  .submenu-content a:hover {
  color:red;
  margin-left: 10px;
  }
  
  /* Show submenu content on hover */
  .dropdown-submenu:hover .submenu-content {
  display: block;
  }
  /*container*/
  .container{
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    z-index: 1;
    background-color: black;


    }
    /*mission,vision,values*/
    .mission,.vision,.values{
        display: flex;
    gap: 30px;
        margin-bottom: 40px; /* Space below each section */
        padding: 40px ;/* Padding inside the section */
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        overflow: hidden; /* Contain elements */
        border:2px solid black;
        border-radius: 10px;
    }

.icon {
    display:flex;
    align-items: baseline;
    margin-bottom: 8px;
}
.icon i{
    margin-left: 8px;
    margin-right: 5px; /* Space between icon and text */
      margin-top: 0; /* Adjust vertical alignment if needed */
      flex-shrink: 0; /* Prevent icon from shrinking */
}
.icon p{
    margin:0;
}
   
    /* Style for the .text div within each section */
.mission .text,
.vision .text,
.values .text {
    border-radius: 10px;
    background-color: #1c1f2b;
    color:white;
    position: relative;
    flex: 1; /* Allow text div to grow */
    /* Add styles for text elements inside this div */
}
@property --angle{
    syntax:"<angle>";
    initial-value: 0deg;
    inherits:false;
}
.text::after, .text::before{
    content: '';
    background-image:conic-gradient(from var(--angle),transparent 10%,#ff4545,#00ff99,#006aff,#ff0095,#ff4545);
    position: absolute;
    top:50%;
    width: 100%;
    height: 100%;
    left:50%;
    translate:-50% -50%;
    z-index: -1;
    padding: 3px;
    border-radius: 10px;
    animation:3s spin linear infinite;
}

@keyframes spin{
    from{
        --angle:0deg;
    }
    to{
        --angle:360deg;
    }
    
}


.mission .image{
      
    background-image: url("public/video/mission1.jpg"); /* Replace with your image path */
    
}
.vision .image{
    background-image: url("public/video/sun.webp"); /* Replace with your image path */
    
}
.values .image{
    background-image: url("public/video/values.png"); /* Replace with your image path */
    
}

/* Style for the .image div within each section */
.mission .image,
.vision .image,
.values .image {
    flex: 1; /* Allow image div to grow (equal width with text) */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background-size: contain;  /* Ensures the image covers the entire screen */
    background-position: center center;  /* Centers the image */
    background-repeat: no-repeat; 
    
}

/* Example: Style text elements inside the .text div */
.mission .text h2,
.vision .text h2,
.values .text h2 {
    font-size: 1.8em;
    color: white;
    padding-top: 10px;
    text-align: center;
    margin-bottom: 10px;
    color:rgba(255, 255, 255, 0.3);
      
    background: url("public/video/leaf.jpg");
    background-repeat:repeat-x;
    -webkit-text-fill-color: transparent;
  background-clip: text;
    -webkit-background-clip: text; 
    animation:animate 4s linear infinite; /* Apply animation */
  }
  @keyframes animate{
    0% {
      background-position: center 0%; /* bottom */
    }
   
    100% {
      background-position: center 100%; /* middle */
    }
  
  
  }



.mission .text p,
.vision .text p,
.values .text p,
.values .text li { /* Include list items if using lists for values */
    font-size: 1.1em;
    line-height: 2;
    color: white;
    margin-bottom: 10px;
    text-align: justify;
    padding-left: 15px;
    padding-right: 15px;
    color:rgba(255, 255, 255, 0.3);
    background: url("public/video/sky.jpg");
    background-repeat:repeat-x;
    -webkit-text-fill-color: transparent;
  background-clip: text;
    -webkit-background-clip: text; 
 
}

.values .text ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
}
.values .text li {
    padding-left: 20px; /* Space for custom bullet */
    position: relative;
}
.values .text li::before {
    content: '•'; /* Custom bullet */
    position: absolute;
    left: 0;
    color: #e74c3c; /* Example color */
    font-weight: bold;
}


/* --- Responsive Adjustments --- */
@media (max-width:1400px){
 .header,
 .navbar
  .para,
  .foot,
  .foot-contain {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .header {
    flex-direction: row;
    align-items: flex-start;
    padding: 10px 20px;
  }
  .logo{
    margin-left: 5%;
  }

  .navbar {
    flex-direction: row;
    align-items: flex-start;
    margin-left:0;
  }
  .navbar a,
.dropbtn {
  padding: 14px 20px;
  line-height: 1.5;
  display: inline-block;
}
  .video-background {
    height: 100vh;
    margin-top: 10%;

  }

  .video-background video {

    object-fit: cover;
  }

  .para {
    position: absolute;
    padding: 10px;
    margin-top: 120px; /* Adjust as needed */
    text-align: center;
    margin-bottom:5%;
  }

  .para p {
    font-size: 20px;
    line-height: 1.4;
  }


  .dropdown-content, .submenu-content {
    position: absolute;
    margin: 0;
  }
 body,html{
    padding:1px;
 }

}

 
@media screen and (max-width: 1200px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    
  }

  .logo {
    width: 140px;
  }
  body,html{
    min-width:100%;
    min-height:100%;
  }
  
    .container{
      min-width:100%;
      margin:0 auto;
      display: flex;
      flex-direction: column;
    }
  

  .navbar {
    flex-direction: row;
    width: 100%;
    justify-content:space-evenly;
    display: flex;
  }
.navbar > * {
  flex: 1;
  text-align: center;
}

  .navbar a,
  .dropbtn {
    padding: 5px;
    font-size: 16px;
    text-align: center;
    display: block;
    width: auto;
  }

  .dropdown-content,
  .submenu-content {
    position: absolute;
    margin: 0;
    width: 140px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
  }

  .dropdown-content a,
  .submenu-content a {
    padding: 5px;
    text-align: center;
  }

  .video-background {
    padding: 1em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
 .mission, .vision, .values {
  flex-direction: column; /* Places image below text */
  align-items: center;
  gap: 20px;
}


 
  .mission .text,
.vision .text,
.values .text,
.mission .image,
.vision .image,
.values .image {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}
.mission .text{
  margin-top:22%;
}

 
}

/* Hides hamburger on desktop/tablet */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
}

/* MOBILE ONLY - max-width 500px */
@media screen and (max-width: 500px) {
  html, body {
      width:100%;
    min-height:100%;
    height: auto;
    overflow-y: auto;
    background-color:white;
  }
  .video-background{
    
     height: auto;
     flex-direction: column;
    overflow-y: auto;
    
  }
  .hamburger {
    display: block;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    margin-top: 10px;
    padding-left: 10px;
    border-top: 1px solid #ccc;
    z-index: 10010;
  }
.header{
  z-index:10000;
  position: absolute;
    

  flex-direction:column;
  top: 0;
  left: 0;
  width: 100%;
}

 
  .navbar.show {
    display: flex;
  }

  .navbar a,
  .dropbtn {
    padding: 12px 16px;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  
  .dropdown-content
   {
    position:relative;
   left: 0;           /* Reset the left shift */
    top: 0;            /* Reset the top offset */
    margin-left: 0;    /* Remove horizontal offset */
    width: 100%;       /* Full width */
    box-shadow: none;
    background: none;
    border: none;
  
  }
 
.submenu-content {
    position: relative;
    left: 0;           /* Reset the left shift */
    top: 0;            /* Reset the top offset */
    margin-left: 0;    /* Remove horizontal offset */
    width: 100%;       /* Full width */
    box-shadow: none;
    background: none;
    border: none;
   
  }
/* Still allow it to show on hover/tap */
.dropdown:hover .dropdown-content,
.dropdown-submenu:hover .submenu-content {
  display: block;
}


  /*.dropdown:hover .dropdown-content,
  .dropdown-submenu:hover .submenu-content {
    display: block;
  }*/

  .arrow, .rightarrow {
    display: none;
  }
  .container{
      width:100%;
      padding:0px;
      margin-top:25%;
  }
  .mission{
      margin-top:20px;
  }
  .mission, .values,.vision{
      min-width:100%;
      margin-bottom:1px;
      margin-left:1px;
      margin-right:1px;
     padding:1px;
   
      
  }
  .values,.vision{
      
      margin-top:1px;
     
      
  }
  
  .values .icon{
      padding:5px;
      margin:1px;
      
  }
  .mission .text p{
      line-height:1.5;
  }
  .vision .text p{
      line-height:1.5;
  }
  .values .text p{
      padding:1px;
      margin:2px;
      line-height:1.5;
  }
  
}
 
   

 




 





 


 




 





 







 





 



