.modal-title {
    width: 100%;
}
.text-start {
    text-align: right !important;
}
.text-end {
    text-align: left !important;
}
.our-cleints .swiper-button-next {
    right: auto !important;
    left: 0 !important;
}
.our-cleints .swiper-button-prev {
    left: auto !important;
    right: 0 !important;
}
fieldset.home-count-box, fieldset.inner-count-box{
    direction: ltr;
}
.orgchart{
    direction: ltr;
}
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;    
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: -1px;
}
.new-year h1
{
    font-size: 120px;
    font-family:cursive;
    font-weight: 800;
    padding: 0;
    margin: 0;
}
.new-year 
{
    margin-top: 10%;
    position: relative;
}

.year-4, .year-5 
{
    position: absolute;
    transition: all 1s;
    font-size: 5rem;
}

.year-4 
{
    transform: rotateX(0deg);
}

.year-5 {
    opacity: 0; 
    transform: rotateX(90deg); 
}
.video-background 
{
    position: relative;
    height: 50vh; 
    overflow: hidden; 
}

.video-background video 
{
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    background: no-repeat;
    background-size: cover;
}

.video-background .overlay
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Text color */
    text-align: center;
    z-index: 2; /* Ensure text is above the video */
}
@media (max-width: 1600px)
{
    .new-year h1
{
    font-size: 80px;
    font-family:cursive;
    font-weight: 800;
    padding: 0;
    margin: 0;
}
}
@media (max-width: 1000px)
{
    .new-year h1
{
    font-size: 55px;
    font-family:cursive;
    font-weight: 800;
    padding: 0;
    margin: 0;
}
.video-background 
{
    position: relative;
    height: 40vh; 
    overflow: hidden; 
}
}
@media (max-width: 800px)
{
    .new-year h1
{
    font-size: 40px;
    font-family:cursive;
    font-weight: 800;
    padding: 0;
    margin: 0;
}
.video-background 
{
    position: relative;
    height: 40vh; 
    overflow: hidden; 
}
}
@media (max-width: 500px)
{
    .new-year h1
{
    font-size: 30px;
    font-family:cursive;
    font-weight: 800;
    padding: 0;
    margin: 0;
}
.video-background 
{
    position: relative;
    height: 30vh; 
    overflow: hidden; 
}
}
video 
{
    pointer-events: none; 
}

/* =========================================================
   ALERT MODAL – FULL ISOLATED STYLESHEET
   Prefix: alert-
   ========================================================= */

/* -------- Base Isolation -------- */
.alert-modal,
.alert-modal * {
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
}

/* -------- Overlay -------- */
.alert-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  z-index: 9999;
}

/* Hidden State */
.alert-hidden {
  display: none !important;
}

/* -------- Card -------- */
.alert-card {
  width: 90%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden; /* clips progress bar */
  animation:
    alert-appear 0.45s ease-out,
    alert-float 3s ease-in-out infinite;
}

/* -------- Header -------- */
.alert-header {
  background: linear-gradient(to right, #dc2626, #b91c1c);
  padding: 20px 16px;
  position: relative;
  color: #ffffff;
}

.alert-header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

/* -------- Close Button -------- */
.alert-close-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  color: #ffffff;
  border-radius: 50%;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.alert-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

/* -------- Content -------- */
.alert-content {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
  color: #334155;
  line-height: 1.85;
}

.alert-date {
  color: #b91c1c;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.alert-bold {
  font-weight: 600;
  color: #0f172a;

}

/* Warning Box */
.alert-warning-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 16px;
  border-radius: 14px;
  color: #991b1b;
  font-weight: 600;
  margin: 16px 0;
}

/* -------- Action Button -------- */
.alert-action-btn {
  margin-top: 24px;
  width: 100%;
  padding: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background: #dc2626;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.alert-action-btn:hover {
  background: #b91c1c;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* -------- Progress Bar (INSIDE CARD) -------- */
.alert-progress-wrapper {
  height: 6px;
  width: 100%;
  background: #e5e7eb;
}

.alert-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(to left, #dc2626, #b91c1c);
  animation: alert-countdown 120s linear forwards;
  border-radius: 0 0 24px 24px;
}

/* -------- Animations -------- */
@keyframes alert-appear {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes alert-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes alert-countdown {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* -------- Mobile Tweaks -------- */
@media (max-width: 480px) {
  .alert-card {
    border-radius: 20px;
  }

  .alert-progress-bar {
    border-radius: 0 0 20px 20px;
  }

  .alert-header-content {
    font-size: 20px;
  }
}
