.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Not supported in Bootstrap 3, but works in modern browsers */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    text-transform: capitalize;
}

.custom-btn {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}
.custom-btn:hover {
    background: #fff;
    color: #000;
}



/*************************** POPUP POST OVERLAY *********************************/
/* Popup background overlay */
.popup {
  display: none; /* Hidden initially */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}

/* Popup content box */
.popup-content {
 position:absolute;
 top:50%;
 left:50%;
 transform:translate(-50%, -50%);
 width:100%;
 max-width:400px;
 border-radius:8px;
 animation:fadeIn 0.5s;
 text-align:center;
}
.popup-content img {
  width: 100% !important; /* take full width of content box */
  height: auto; /* keep aspect ratio */
  border-radius: 8px;
}

/* Close button */
.closebtn {
  position: absolute;
  font-size: 28px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  top: -35px; 
  right:-15px;
  color:#fff;
  border-radius: 50%;
  background-color: #8888;
  text-align: center;
  line-height: 35px;
}
.closebtn:hover{
  color:#ff0000 ;
}


/* Animation */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@media (max-width:1400px) {
  .popup-content {
    width: 90%; /* more space on mobile */

     /* less vertical offset */
  }
}


/********************************* POPUP DOWNLOAD FORM  ********************************************/

/* Fixed Side download button */
.fixedbtn {
  background-color: rgb(138, 195, 255);
  color: #050505;
  border-radius: 10px;
  font-size: 18px;
  padding: 10px 15px;
  position: fixed;       /* keeps it fixed on screen */
  right: 20px;           /* distance from right edge */
  bottom: 20px; 
  font-weight: 600;         /* distance from bottom edge */
  animation: blink .9s infinite; /* blinking effect */
  box-shadow: 0 8px 35px rgba(48, 47, 47, 0.3);
  z-index:999;
}
.fixedbtn:hover{
  animation: none;
  background-color: #0076d7da;
  color: #fff;
}

/* blinking animation */
@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 1; }
}

/* Overlay background */
#overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 999;
}

/* Popup form container */
.form-container {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: #f1f8ff;
  padding: 30px;
  width: 500px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  z-index: 1000;
  border-bottom: 1px soild #111;
  transition: all 0.3s ease-in-out;
  font-family: "Segoe UI", Arial, sans-serif;
}


@media (max-width: 600px) {
  .form-container {
    width: 90%;              /* shrink width to fit mobile */
    max-width: 400px;        /* optional limit */
    left: 50%;               /* keep centered horizontally */
    top: 50%;                /* keep centered vertically */
    transform: translate(-50%, -50%) scale(1); /* center properly */
    padding: 20px;           /* reduce padding for small screens */
  }

  .mobile-field {
    flex-direction: column;  /* stack select + input vertically */
    gap: 10px;
  }

  .mobile-field select {
    flex: 1;                 /* let select expand full width */
  }
}
@media (max-width: 400px) {
  .mobile-field select {
    flex: 0 0 40%;     /* give dropdown more space */
  }
  .mobile-field input {
    flex: 1;
  }
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 5px;
  background: #fd1717;
  border:3px;
  border-radius: 50%;
  font-weight: 900;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #0078d7; /* highlight on hover */
  background: #9999;
  font-weight: 900;
}


.mobile-field { 
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  flex-wrap: nowrap;   /* prevent wrapping */
}

.mobile-field select { 
  border: 1px solid #ccc;
  border-radius: 6px;
  width: fit-content !important;
  font-size: 14px;
  flex: 0 0 35%;       /* take ~35% width */
      /* ensure dropdown isn’t too small */
}

.mobile-field input {
   flex: 1;             /* take remaining space */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

/* Show animation */
.form-container.show {
  transform: translate(-50%, -50%) scale(1);
}

/* Heading */
.form-container h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  color: #333;

}
.form-container label {
  display: block;          /* ensures label starts on its own line */
  text-align: left;        /* aligns text to the start */
  font-size: 18px;         /* adjust size as needed */
  font-weight: 700;        /* makes labels stand out */
  margin-top: 20px;      /* spacing between label and input */
  color: #333;   
            /* dark gray for readability */
}
/* Inputs */
.form-container input,
.form-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: 1px border-color 0.2s;
}

.form-container input:focus,
.form-container textarea:focus {
  border-color: #0078d7;
  outline: none;
}

/* Buttons */
.form-container button {
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s, transform 0.2s;
}

.form-container button[type="submit"] {
  background: #0078d7;
  color: #fff;
  margin-top: 20px;
  padding: 15px 30px;
}

.form-container button[type="submit"]:hover {
  background: #005fa3;
  transform: translateY(-2px);
}

.toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  position: fixed;
  z-index: 1001;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-size: 17px;
}
.toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}



