@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@4.2.0/fonts/remixicon.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css');
/* @import url('https://developer.senucabs.com/senucabsui.css'); */

:root{

  --yellow:#ffee00;
  --white:#ffffff;
  --black:#000000;
  --bgForm:#dedede;
  --bg-active-color:#1c1f21;
  --bg-disabled-color:#19191b;
  --orange:#ff6d05;
  --green:#7fc456;
  --red:#ff0000;
  --dark:#111212;
  --placeholder-text:#777878;
  --sc-blue:#122966;
  --sc-blue-shade:#022c33;
  --sc-green:#72be44;
  --bootstrap-dark:#332D2D;
  --bootstrap-info:#17a2b8;
  --navbar-bg: #999898;
  --btn-font-size: 0.8rem;
  --btn-padding-vertical: 0.25rem;
  --btn-padding-horizontal: 0.5rem;
} 

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.container-fluid {
  min-height: 100svh;
  padding: 0;
  display: flex;
  flex-direction: column;
}


#main-content {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 8% 4%;
  min-height: calc(100svh - 60px);
  overflow: hidden; /* Prevent overflow issues */
}



.button-section {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Ensure buttons stack properly */
}

.d-grid {
  width: 100%;
}

.btn-group i{
  color:var(--sc-green);
}

.btn-group a{
  border: 0;
  font-size:0.7rem;
  color:var(--white);
  font-weight: 600;
}

.btn-group :hover{
  color: var(--white);
  background:transparent;
}

#corpRegisterBtn{
  text-transform: uppercase;
  letter-spacing: 1px;
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Ensure the video is behind other content */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: var(--navbar-bg);
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-section {
  display: flex;
  align-items: center;
}

.navbar .logo img, .navbar .home-icon img {
  height: 40px;
  margin-right: 15px;
}

.navbar .site-name {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.home-icon a {
  text-decoration: none;
  color: var(--sc-green);
  font-size: 1.5rem;
}

@media (max-width: 600px) {
  .navbar .site-name {
    font-size: 1rem;
  }

  .navbar .logo img, .navbar .home-icon img {
    height: 25px;
  }
}

iframe {
  min-height: 100vh;
  width: 100vw;
  border: none;
}

.homepg-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0.5rem;
  width: 100%;
}

.homepg-card {
  position: relative;
  background-color: rgba(100, 100, 100, 0.596);
  border-radius: 5px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.9); /* Bottom shadow */
  text-align: center;
  padding: 5%;
  /* backdrop-filter: blur(5px); */
  /* --webkit-backdrop-filter:blur(5px); */
}

.homepg-card:active {
  transform: scale(0.95); /* Slightly scale down */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow for pressed effect */
}

.card-tag {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 10%; 
  background-color: var(--white);
  border-radius: 0 5px 0 5px; 
  padding: 1%; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-tag img {
  width: 100%;
  height: auto;
  display: block;
}

.homepg-card a {
  text-decoration: none;
  color: var(--white);
}

.homepg-card .icon {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  font-weight: 100;
  color: var(--sc-green);
}

.homepg-card .text {
  font-size: 0.7rem;
  font-weight: 600;
}

/* *************************************************************************************** */
.news-strips-div{
  width: 100%;
}

.news-strip{
  color:var(--white);
  padding: 1% 2%;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  width: 100%;
  margin-top: 3%;
  backdrop-filter: blur(5px);
  --webkit-backdrop-filter:blur(5px);
  position: relative;
}

.news-strip-date{
  color:var(--sc-green);
  font-size:0.5rem;
  text-transform: uppercase;
  font-weight: 800;
}  

.news-strip-title{
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 1%;
  font-weight: 600;
}

.news-strip-time{
  font-size: 0.5rem;
  /* letter-spacing: 1px; */
  text-transform: uppercase;
  font-weight: 200;
  margin-top: -1%;
}

.news-strip-description{
  font-size: 0.5rem;
  font-weight: 500;
  margin-top:1%;
}

.news-strip-tag{
  position: absolute;
  top: 0;
  right: 0;
  width: 8%;
  padding: 1%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-strip-tag img{
  width: 100%;
  height: auto;
  display: block;
}

.news-strip-link {
  text-decoration: none; /* Remove underline from links */
  color: inherit; /* Inherit color from .news-strip */
}

.news-strip-link:hover .news-strip {
  /* Optional: Add hover effect */
  background-color: rgba(255, 255, 255, 0.2);
}


/* *************************************************************************************** */
.homepg-topsection{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: -5%;
  margin-bottom: 2%;
  padding: 0;
}

.homepg-topsection-left img{
  width: 45%;
  align-items: center;
}

.homepg-topsection-left{
  width: 20%;
  align-items: center;
}

.homepg-topsection-right{
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: end;
  width: 80%;
  align-items: center;
}

/* ****************************************************************************************** */
/* WEATHER DIV CSS */
#weatherDiv {
  margin-top: 10%;
}

/* Adjust the dimensions and margin of the logo */
#install-app-toast-logo {
  width: 10%; 
  margin-right: 10px; 
}

#install-app-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--sc-blue);
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1000;
  display: flex; /* Added display flex */
  align-items: center; /* Added align-items center */
}

#install-app-toast-toastContent {
  flex-grow: 1; 
  font-size: 0.8rem;
}

#install-app-toast.show {
  opacity: 1;
}

#install-app-button{
  background-color: var(--sc-green);
  color: var(--black);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 1px;
  border: none;
  margin-top: 5%;
}

/* ***********************     TICKER TAPE     ******************************************* */
/* Ticker Tape Styles */
.ticker-tape {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  top: 0;
  left: 0;
}

.ticker-tape-content {
  font-size: 0.7rem;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  padding: 1.5% 2%;
  border-radius: 5px;
  display: inline-block;
  animation: ticker-tape 15s linear infinite;
}

@keyframes ticker-tape {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
