/* Navbar styles */
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}
 :root {
      --main-orange: #FF7518;
      --main-red: #fc5c5c;
      --white: #ffffff;
      --shadow: rgba(0, 0, 0, 0.2);
      --main-black:black;
    }

body {
  font-family: 'Inter', sans-serif;
  background-color: #111;
  color: white;
  overflow-x: hidden;
}

/*===== Navbar for Desktop ========== */
.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  background-color: #111;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 15px 30px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
 
  margin: auto;
}

.logo img {
  height: 80px;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  
  padding: 5px 10px;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ff8c42;
}
.login-btn{
  border-radius: 5px;
}
.login-btn{
  border-radius: 5px;
}
.register-btn{
  border-radius: 5px;
}
.btn {
background: linear-gradient(to right, var(--main-red), var(--main-orange));
  padding: 10px 18px;

  color: #111;
  font-weight: bold;
  text-decoration: none;
}

/* ========== Hamburger Icon ========== */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1100;
}

/* ========== Mobile Sidebar Nav (Glass effect) ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 205px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.6);
    padding: 100px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: right 0.4s ease;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  /* Hide desktop nav when mobile menu is open */
  .navbar .nav-links.desktop {
    display: none;
  }
}




  

  .midis-services {
  padding: 20px 20px;
  background: #0e0e10;
  color: white;
  text-align: center;
 
}


.midis-services h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  background: linear-gradient(to right, #ff6a00, #fc5c5c);
  -webkit-background-clip: text;
  color: transparent;
}
.rocket {
  position: fixed;
  top: 0;
  left: 0;
  height: 90px;
  z-index: 9999;
  pointer-events: none;
  animation: flySpin 18s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.astro img {
  height: 200px;
}

/* Smooth orbital rocket path */
@keyframes flySpin {
  0% {
    transform: translate(0vw, 0vh) rotate(0deg);
  }
  10% {
    transform: translate(20vw, 10vh) rotate(60deg);
  }
  20% {
    transform: translate(40vw, 5vh) rotate(120deg);
  }
  30% {
    transform: translate(60vw, 15vh) rotate(180deg);
  }
  40% {
    transform: translate(80vw, 30vh) rotate(240deg);
  }
  50% {
    transform: translate(90vw, 50vh) rotate(300deg);
  }
  60% {
    transform: translate(75vw, 70vh) rotate(360deg);
  }
  70% {
    transform: translate(50vw, 85vh) rotate(420deg);
  }
  80% {
    transform: translate(25vw, 70vh) rotate(480deg);
  }
  90% {
    transform: translate(10vw, 40vh) rotate(540deg);
  }
  100% {
    transform: translate(0vw, 0vh) rotate(600deg);
  }
}



.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding-bottom: 20px;
}


.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 30px 20px;
  flex: 0 0 calc(33.333% - 30px); /* 3 per row, accounting for gap */
  max-width: calc(33.333% - 30px);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: transform 0.3s ease;
  overflow: hidden;
}


.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cardColor);
  opacity: 0.2;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.service-card * {
  position: relative;
  z-index: 2;
}

.icon {
  font-size: 2.4rem;
  margin-bottom: 15px;
  background: white;
  color: black;
  width: 60px;
  height: 60px;
  margin-inline: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #dddddd;
  line-height: 1.5;
}

.explore-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: linear-gradient(to right, var(--main-red), var(--main-orange));
  color: #fff;
  border: none;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.explore-btn:hover {
  opacity: 0.85;
}

  .social-links a{
      font-size: 25px;
      padding: 2px;

    }
@media (max-width: 1024px) {
  .service-card {
    flex: 0 0 calc(50% - 30px); /* 2 per row on tablets */
    max-width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    flex: 0 0 90%;
    max-width: 90%;
  }
}


 

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    text-transform: lowercase;
  }


  .btn {
    background: linear-gradient(90deg, #ff6a3d, #ffbe2e);
    padding: 10px 18px;
    border-radius: 30px;
    color: #111;
    font-weight: bold;
  }

  section {


    border-bottom: 1px solid #333;
  }
  
   .fab{
    color:  #e65c00;
  }

  .site-footer {
    background-color: black;
    color: #fff;
    font-size: 15px;
    padding: 40px 10% 0;
  }

  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
  }

  .footer-col {
    flex: 1;
    min-width: 200px;
  }

  .footer-col h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 16px;
  }

  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-col ul li {
    margin-bottom: 10px;
   
  }
   .footer-col ul li a:hover{
    color:#FF7518 ;
  }

  .footer-map {
    margin-top: 40px;
  }

  .footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: black;
    font-size: 14px;
    margin-top: 20px;
  }
  .footer-bottom a{
    color: white;
    text-decoration: none;
  }
  .footer-col ul li a{
  color: white;
    text-decoration: underline;

  }

  /* Responsive */
  @media (max-width: 768px) {
    .footer-columns {
      flex-direction: column;
      gap: 24px;
      align-items: center;
      text-align: center;
    }
  }
   /* Navbar */
  

  

    /* Popup Overlay */
    /* Overlay */
#popupOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px 20px;
  overflow-y: auto;
  box-sizing: border-box;
}

#popupOverlay.show {
  display: flex;
}

.popup {
  background: #fff;
  width: 100%;
  max-width: 950px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  transition: transform 0.3s ease;
  animation: popupIn 0.3s ease;
}

@keyframes popupIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup .left, .popup .right {
  flex: 1;
  padding: 35px;
  box-sizing: border-box;
}

.popup .left {
  background: #f7f9fc;
}

.popup .left h2 {
  font-size: 24px;
  margin-bottom: 5px;
  color: #333;
}

.popup .left h3 {
  font-weight: 600;
  margin-top: 0;
  color: #555;
}

.popup .left p {
  font-size: 14px;
  color: #777;
  margin-bottom: 25px;
}

.popup .left label {
  font-weight: 600;
  font-size: 14px;
  margin: 15px 0 5px;
  display: block;
  color: black;
}

.popup .left input,
.popup .left select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
  outline: none;
  transition: border 0.2s;
}

.popup .left input:focus,
.popup .left select:focus {
  border-color: #ff8c42;
}

.popup .left button#submitBooking {
  margin-top: 30px;
  padding: 12px 0;
  width: 100%;
  font-size: 16px;
  background:#ff8c42;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup .left button#submitBooking:disabled {
  background: #999;
  cursor: not-allowed;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-head button.nav-btn {
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ff8c42;
}

#monthYear {
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 14px;
}

.calendar-grid span {
  font-weight: 600;
  text-align: center;
  color: black;
}

.calendar-grid div.day {
  text-align: center;
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  background: #eee;
  color: black;
  transition: background 0.2s;
}

.calendar-grid div.day.active {
  background:#ff8c42;
  color: white;
}

.calendar-grid div.day.disabled {
  pointer-events: none;
  opacity: 0.4;
  background-color: gray;
  color: black;
}

.time-slots {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.time-slots div.slot {
  padding: 8px 16px;
  background: #eaeaea;
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
}

.time-slots div.slot.active {
  background-color: #ff8c42;
  color: white;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  z-index: 1;
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  .popup {
    flex-direction: column;
    max-width: 95%;
    height: auto;
  }
  .popup .left, .popup .right {
    padding: 25px;
    flex: 1 1 100%;
  }
  .calendar-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
  }
  .calendar-head button.nav-btn {
    font-size: 18px;
  }
  .calendar-grid div.day {
    font-size: 13px;
  }
  .time-slots div.slot {
    padding: 6px 12px;
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  #popupOverlay {
    padding: 10px;
  }
  .popup {
    flex-direction: column;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
  .popup .left, .popup .right {
    padding: 20px;
    flex: 1 1 100%;
  }
  .popup .left h2 {
    text-align: center;
    font-size: 20px;
  }
  .popup .left h3 {
    text-align: center;
    font-size: 16px;
  }
  .popup .left p {
    text-align: center;
    
  }
  .popup .left input,
  .popup .left select {
    font-size: 14px;
    padding: 8px 10px;
  }
  .popup .left button#submitBooking {
    font-size: 15px;
    padding: 10px;
  }
  .calendar-head {
    flex-direction: column;
    gap: 10px;
  }
  .calendar-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
  }
  .calendar-grid div.day {
    font-size: 12px;
    padding: 8px 0;
  }
  .time-slots div.slot {
    font-size: 13px;
    padding: 6px 10px;
  }
  .close-btn {
    font-size: 24px;
    top: 8px;
    right: 10px;
    color: black;
  }
}
  .divider{
      width:100%; height:2px;
      background:linear-gradient(90deg, transparent, var(--accent), transparent);
      margin:0 auto clamp(32px,5vw,56px);
      animation: glowline 4s linear infinite;
    }
    @keyframes glowline {
      0% {opacity:.2; transform:scaleX(0.6);}
      50% {opacity:1; transform:scaleX(1);}
      100% {opacity:.2; transform:scaleX(0.6);}
    }