/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  } 
  body, html {
    min-height: 100%;
    min-width:100%;
    font-family: Arial, sans-serif;
    overflow-y: auto;
  } 
  /* Full screen container for video */
  .video-background {
   position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
     /* Make sure the video stays in the background */
display:flex;
    align-items:center;
    padding: 2em;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  }
  .video-background video {
    object-fit: cover; /* Ensures the video fills the screen */
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    animation: videoCycle 15s infinite;
    transition: opacity 1s ease-in-out;
    opacity: 1;
  }  
  @keyframes videoCycle {
    0%, 100% {
      opacity: 0;
  }
  33.33%, 66.66% {
      opacity: 1;
  }
}
.video:nth-child(1) {
  animation-delay: 0s;
}

.video:nth-child(2) {
  animation-delay: 5s;
}

.video:nth-child(3) {
  animation-delay: 10s;
}

/*logo*/


.logo {
  width: 180px; /* Adjust the size of your logo */
  height: auto;
 margin-left: 5%;

}


/*menu bar */
.header{
  position: fixed;
  top:0;
  left:0;
  width:100%;
 padding: 15px 10px;
 display: flex;
 background-color: white;
 align-items:center;
 justify-content:space-between;
 justify-items: end;

transition: .5s;

 
}
.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 */
  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;

}

/* 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;
  margin-left: 30%;
  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: 5;
  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;
}

/* Show dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Style for dropdown button on hover */
.dropdown:hover .dropbtn {
  color:red;
  margin-left: 10px;
}

/* Nested Dropdown */
.dropdown-submenu {
  position: relative;
}

.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;
  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;
}

/* Show submenu content on hover */
.dropdown-submenu:hover .submenu-content {
  display: block;
}

/*paragraph*/
.para{
 margin-top:20%;
  padding: 210px;  
  position: absolute;
  overflow: hidden;
  z-index: -1;
}
.para p{
  /*color:white;
  text-shadow: 
  2px 2px 4px rgba(255,0, 0, 1), /* Create the border effect */
  /*-2px -2px 4px rgba(255, 0, 0, 1);*/
  font-weight: bolder;
  font-size: 35px;
  display: block;
  text-transform: uppercase ;
  color:rgba(0, 0, 0, 0.2);
  background: url("public/video/fire.webp");
  background-repeat:repeat-y;
  background-size: 100% 200%; /* 200% height for vertical animation */
  background-position: center bottom;
  -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 70%; /* middle */
  }


}

/*footer*/
footer {
  margin-top: 54%;
  position:absolute;
  min-width: 200px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Example: Pushes .bottom to the actual bottom */
  z-index: 1;
  background-color: #222; /* Example background color */
  color: #ccc;          /* Example text color */
  padding: 20px 20px 10px 20px; /* Add padding (top, sides, bottom, sides) */
  width: 100%;
  box-sizing: border-box; /* Include padding in width calculation */
}

.foot {
  display: flex; /* Makes .foot-contain divs arrange horizontally */
  justify-content: space-around; /* Distributes space around the items */
  align-items: flex-start; /* Aligns items to the top */
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
  gap: 15px; /* Adds space between the flex items if they wrap */

}

.foot-contain {
  flex: 1; /* Allows items to grow, adjust as needed */
  margin-left: 5%;
  min-width: 250px; /* Minimum width before wrapping */
  padding: 0 10px; /* Add some horizontal padding */
  box-sizing: border-box;
}

.foot-contain h3 {
  color: #fff; /* Make headings stand out */
  margin-bottom: 15px;
  border-bottom: 1px solid #555; /* Optional separator */
  padding-bottom: 5px;
}

.foot-contain .box {
  display: flex; /* Align icon and text */
  align-items: flex-start;
  margin-bottom: 5px;

}
.foot-contain .box .text {
  display: flex;          /* Use flexbox for the text container */
  flex-direction: column; /* **** Stack the child elements (the <p> tags) vertically **** */
  align-items: flex-start;/* Align text to the left */
}


.foot-contain .box .icon {
  margin-right: 10px;
  color: #eee; /* Example icon color */
  width: 20px; /* Give icon fixed width */
  text-align: center;
  padding-top: 2px;
}

.foot-contain .box .text p {
 display:block;
 padding: 0;
  margin: 0 0 2px 0; /* Remove default paragraph margin */
  line-height: 1.4;
}

/* Styling for the Follow Us list */
.foot-contain ul {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 10px 0 0 0;
    display:flex;
    flex-wrap:wrap;
    gap:25px;
    justify-content: flex-start;
}

.foot-contain li {
    margin-bottom: 10px;
    display:inline-block;
    padding: 7px;
  
}

.foot .foot-contain li a {
    color: #ccc; /* Link color */
    text-decoration: none; /* Remove underline */
    display:flex;
    align-items: center;
    transition: color 0.3s ease; /* Smooth hover effect */
}

.foot-contain li a i:hover {
    color: red; /* Link color on hover */
}

.foot-contain li a i {
    margin-right: 8px; /* Space between icon and text */
    width: 25px; /* Consistent icon width */
  font-size: 1.4em;
  text-align: center;
  transition: color 0.3s ease; /* Add transition for icon color */
}


/* Style for the bottom copyright section */
.bottom {
  text-align: center; /* Centers the text */
  padding-top: 15px; /* Adds space above the copyright */
  padding-bottom: 5px;
  border-top: 1px solid #444; /* Optional separator line */
  width: 100%; /* Ensures it takes full width */
  font-size: 0.9em;
  color: #aaa; /* Slightly dimmer text color */
}

.foot .foot-contain li i{
  color:white;
}
.foot .foot-contain .box .icon i{
  color:white;
}


@media screen and (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;
  }
  .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: 30px;
    line-height: 1.4;
  }
  footer {
    flex-direction: column;
    padding: 20px;
    margin-top:50%;

  }

  .foot-contain {
    margin-left: 0;
    min-width: auto;
  }

  .dropdown-content, .submenu-content {
    position: absolute;
    margin: 0;
  }
}
/*responsive to tablet*/
@media screen and (max-width: 1200px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    width:100%;
    box-sizing:border-box;
    margin:0 auto;
    padding:0 auto;
  
    
  }

  .logo {
    width: 140px;
    margin-right:1px;
  }

  .navbar {
    flex-direction: row;
    width: 100%;
    justify-content:space-evenly;
    display: flex;
  }
.navbar > * {
  flex: 1;
  text-align: center;
}

  .navbar a,
  .dropbtn {
    padding: 6px;
    font-size: 16px;
    text-align: center;
    display: block;
    width: auto;
  }
.dropdown-submenu {
  position: relative;
}
  .dropdown-content,
  .submenu-content {
    position: absolute;
    margin: 0;
    min-width: 60px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
  }


  .video-background {
    padding: 1em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .para {
    margin-top: 140px;
    padding: 20px;
    text-align: center;
  }

  .para p {
    font-size: 24px;
    line-height: 1.4;
  }

  .foot {
    flex-direction: column;
    align-items: center;
  }

  .foot-contain {
    width: 100%;
    max-width: 90%;
    margin: 10px 0;
    text-align: center;
  }

  footer {
    margin-top: 42em;
    padding: 20px;
  }
}
/* Hides hamburger on desktop/tablet */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
}

/* MOBILE ONLY - max-width 768px */
@media screen and (max-width: 500px) {
    html, body {
    height: auto;
    overflow-y: auto;
  }
  .video-background{
    
    overflow-y: auto;
     padding-top: 80px;
  }
  .hamburger {
    display: block;
  }
  .header{
  z-index:1000;
  position: absolute;
  
  top: 0;
  left: 0;
  width: 100%;
}

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    margin-top: 10px;
    padding-left: 10px;
    border-top: 1px solid #ccc;
    z-index: 999;
  }

  .navbar.show {
    display: flex;
  }

  .navbar a,
  .dropbtn {
    padding: 12px 16px;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .dropdown-content,
  .submenu-content {
    position: relative;
    display: none;
    background: none;
    box-shadow: none;
    margin: 0;
    border: none;
    width: 100%;
  }

  .dropdown:hover .dropdown-content,
  .dropdown-submenu:hover .submenu-content {
    display: block;
  }

  .arrow, .rightarrow {
    display: none;
  }
   footer{
    position:sticky;
  }
}
