/* **************************************Navbar****************************** */

:root {
  --cyan-color: #00aeef;
  }
.navbar {
  transition: background 0.3s;
 
}
/* .navbar.scrolled {

  background: #fff!important;
  color: #000 !important;
} */
.nav-link {
  color: #fff !important;
  margin: 0 10px;
  font-weight: 500;
}
.nav-link:hover {
  color: var(--cyan-color) !important;
}
/* .nav-item .nav-link a{
  color: #000 !important;
} */
a.nav-link {
    color: #fff !important;
      font-size: 18px;
      font-weight: 400;

}

/* Nav links when navbar is scrolled (black) */
/* .navbar.scrolled .nav-link {
  color: #000 !important;
} */


/* Dropdown items */
.dropdown-item {
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 500;
}

.dropdown-item:hover {
  /* background-color: rgba(255, 193, 7, 0.15); */
  color: #fff!important;
  background-color: var(--mustard-color)!important;
}





.mega-container {
  display: flex;
  width: 100%;
  padding: 25px;
  gap: 25px;
}

/* LEFT AREA */
/* .mega-categories {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 15px;
} */

/* .mega-category {
  padding: 18px 20px;
  border-radius: 12px;
  background: #1A1D25;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #dfe4ee;
  transition: 0.3s;
} */


/* -------- CATEGORY LIST -------- */
/* .mega-categories {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 15px;
} */

/* Category item */
/* .mega-category {
  padding: 16px 20px;
  border-radius: 14px;
  background: #1A1D25;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  color: #dfe4ee;
  transition: 0.3s ease;
} */

/* Active + Hover */
/* .mega-category.active,
.mega-category:hover {
  background: #2A2F3A;
} */

/* ------- Octagon Icon Box ------- */
/* .icon-octagon {
  width: 45px;
  height: 45px;
  background: #333;
  clip-path: polygon(
    30% 0%, 70% 0%,
    100% 30%, 100% 70%,
    70% 100%, 30% 100%,
    0% 70%, 0% 30%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 18px;
} */
/* .icon-cyan {
  background: #00AEFF;    
  color:#fff;
} */
/* Category colors */
.icon-photo {
  background: #6C63FF;     /* Purple */
}
.icon-video {
  background: var(--cyan-color)     
}
.icon-architecture {
  background: #2ECC71;     /* Green */
}
.icon-floor-plan {
  background: #5725bc;     /* Green */
}
.icon-matterport {
  background: #FF9F1C;     /* Orange */
}
/* Chevron arrow (hidden initially) */
.cat-arrow {
  position: absolute;
  right: 10px;
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.3s ease;
  display: none;
}

/* Show arrow on hover */
.mega-category:hover .cat-arrow,
.mega-category.active .cat-arrow {
  opacity: 1;
  transform: translateX(0);
}
/* .cat-arrow::before{
  display:none
} */
/* RIGHT PANEL */
/* .mega-content {
  flex: 1;
  background: #1A1D25;
  border-radius: 16px;
  padding: 30px;
  position: relative;
} */

.mega-panel {
  display: none;
}

.mega-panel.active {
  display: block;
}
.mega-panel h4{
  font-size: 20px;
  color: #fff;
}
.mega-panel p{
  font-size: 14px;
  color: #fff;
}
.mega-img {
  width: 100%;
  border-radius: 12px;
  margin: 15px 0;
}

.mega-list {
  list-style: none;
  padding: 0;
}

.mega-list li {
  margin: 8px 0;
  font-size: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}


.mega-list {
  list-style: none;
  padding: 0;
}

.mega-list li {
  margin-bottom: 15px;
}

.mega-list a {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
  font-size: 17px;
}

.icon-octagon-subcategory {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  clip-path: polygon(
    30% 0%, 70% 0%, 
    100% 30%, 100% 70%, 
    70% 100%, 30% 100%, 
    0% 70%, 0% 30%
  );
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  margin-right: 15px;
}

/* Color variants */
.icon-octagon-subcategory.blue { background-color: #007bff; }
.icon-octagon-subcategory.green { background-color: #28a745; }
.icon-octagon-subcategory.yellow { background-color: #ffc107; color: #333; }
.icon-octagon-subcategory.red { background-color: #dc3545; }

.text-content h5 {
  margin: 0;
  font-size: 18px;
  position: relative;
  display: inline-block;
}

.text-content p {
  margin: 5px 0 0 0;
  font-size: 10px;
  color: #fff;
}

/* Diagonal arrow hidden by default */
.diagonal-arrow {
  display: none;
  margin-left: 5px;
  font-size: 18px;
}

/* Show arrow on hover */
.mega-list a:hover h5 .diagonal-arrow {
  display: inline-block;
}

/* Hover effect for link */
.text-content h5 {
  margin: 0;
  position: relative;
  display: inline-block;
  border-bottom: 2px solid transparent; /* initial transparent border */
  transition: border-color 0.3s ease; /* smooth transition */
}

.mega-list a h5:hover {
 color:#00aeef;
}
.image-grid {
  display: flex;
  gap: 15px!important;
}

.image-box {
  flex: 1;
  display: none;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 3; /* equal width & height ratio */
}

.image-box video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps image proportional */
  transition: transform 0.4s ease;
}

/* Hover zoom effect */
.image-box:hover img {
  transform: scale(1.08);
}












/* header-bar css  ================== */
.navbar-brand svg {
    height: 40px; 
    width: auto;
    display: block;
    object-fit: cover;
}


/* =========================
   MEGA MENU WRAPPER
========================= */

.mega-wrapper {
  /* background: #ffffff; */
  padding: 50px 20px;
  /* border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08); */
}

/* =========================
   CATEGORY RIGHT SIDE
========================= */

.mega-categories {
  border-left: 1px solid #eee;
  padding-left: 25px;
}

.mega-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  /* background: #f9fafc; */
}

/* .mega-category:hover {
  background: #f1f7ff;
  transform: translateX(-5px);
} */

.mega-category.active span{

  color: var(--cyan-color);
}

.mega-category span {
  flex: 1;
  font-weight: 500;
  font-size: 16px;
}

/* =========================
   ICON DESIGN
========================= */

.icon-octagon,
.icon-octagon-subcategory {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: #00aeef15; */
  border-radius: 10px;
  font-size: 16px;
  color: #00aeef;
}

/* =========================
   LEFT CONTENT PANEL
========================= */

.mega-panel {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.mega-panel.active {
  display: block;
}

/* =============================
   PANEL BASE
============================= */

.mega-panel {
  padding: 10px 20px;
}

/* Remove individual background */
.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-list li {
  margin-bottom: 18px;
}

/* =============================
   SUBCATEGORY LINK DESIGN
============================= */

.mega-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 6px 0;
}

/* Smooth hover using parent panel */
/* .mega-panel:hover .mega-list a {
  opacity: 0.7;
}

.mega-panel:hover .mega-list a:hover {
  opacity: 1;
  transform: translateX(8px);
} */

/* =============================
   ICON ALIGNMENT
============================= */

.icon-octagon-subcategory {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;   /* removed background */
  border-radius: 8px;
  font-size: 16px;
  color: #00aeef;
  transition: all 0.3s ease;
}

/* Icon hover effect */
.mega-list a:hover .icon-octagon-subcategory {
  transform: scale(1.1);
}

/* =============================
   TEXT ALIGNMENT FIX
============================= */

.text-content {
  display: flex;
  align-items: center;
}

.mega-list h5 {
  margin: 0;
  font-size: 20px!important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =============================
   SMOOTH ARROW ANIMATION
============================= */

/* Make anchor flex for alignment */
.mega-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  text-decoration: none;
}

.mega-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  text-decoration: none;
  font-size: 17px;
}

/* Create arrow using ::after */
.mega-list li a::after {
  content: "\2197"; 
  font-size: 14px;
  color: #fff;
  width: 28px;
  height: 28px;
  background: var(--cyan-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-10px) scale(0.8);
  transition: all 0.3s ease;
}

/* Show on hover */
.mega-list li a:hover::after {
  opacity: 1;
  transform: translateX(0) scale(1);
}



/* =============================
   REMOVE COLUMN GAP MISALIGNMENT
============================= */

.mega-panel .row {
  align-items: flex-start;
}

/* =========================
   SUBCATEGORY LIST
========================= */

.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-list li {
  margin-bottom: 12px;
}

.mega-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  text-decoration: none;
  /* background: #f9fafc; */
  transition: all 0.3s ease;
  position: relative;
}

/* .mega-list a:hover {
  background: #f1f7ff;
  transform: translateX(6px);
} */

.mega-list h5 {
  font-size: 20px!important;
  margin: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Smooth diagonal arrow animation */
.diagonal-arrow {
  opacity: 0;
  transform: translateX(-6px) translateY(6px);
  transition: all 0.3s ease;
  font-size: 12px;
  display: none;
}

.mega-list a:hover .diagonal-arrow {
  opacity: 1;
  transform: translateX(0) translateY(0);
}
/* Make category box flex */
.mega-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 12px 18px;
  transition: all 0.3s ease;
}

/* Create > arrow using ::after */
.mega-category::after {
  content: "›"; /* clean modern > arrow */
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  width: 28px;
  height: 28px;
  background: var(--cyan-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateX(-10px) scale(0.8);
  transition: all 0.3s ease;
}

/* Show arrow on hover */
.mega-category:hover::after {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* =========================
   IMAGE GRID
========================= */

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.image-box img {
  width: 100%;
  border-radius: 12px;
}

/* =========================
   SMOOTH FADE
========================= */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

  .mega-wrapper {
    padding: 25px;
  }

  .mega-categories {
    border-left: none;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
  }

}
 .mega-menu a {
  color: #000;
   }
 .mega-menu a:hover {
   color:var(--cyan-color) ;
   padding-left: 5px;
   }





   .mega-wrapper {
  overflow: hidden; /* Prevent video overflow */
    border-radius: 30px;
}

.mega-bg-video {
  position: absolute;
  top: 0;

  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover whole container */
  z-index: 1;        /* Behind the text */
  opacity: 0.6;      /* Optional: darken the video a bit */
}
/* Dark overlay on top of video */
.mega-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* adjust opacity (0.3-0.6) */
  z-index: 2;
}
.mega-wrapper .row {
  position: relative;
  z-index: 2; /* Make sure content is above the video */
}


/* Add shadow to all text inside mega menu */
.mega-menu h4,
.mega-menu h5,
.mega-menu p
.mega-menu span
 {
  color: #ffffff; /* make text white for maximum contrast */
  /* subtle shadow for readability */
}
.mega-category span{
  color: #fff;
}



  .navbar-custom .nav-link:hover {
   color: var(--cyan-color);
   }
.btn-contact {
  background: rgba(0, 174, 239, 0.1); /* subtle cyan background */
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 500;
  text-transform: uppercase;
  border: 1px solid rgba(0, 174, 239, 0.5);
  text-shadow: 0 0 5px rgba(0, 174, 239, 0.7);
  cursor: pointer;

  /* Combined animations */
  animation: neonFlicker 2.5s infinite alternate, pulseScale 2s infinite ease-in-out;
  transition: all 0.3s ease-in-out; /* smooth hover */
}

@keyframes neonFlicker {
  0% { box-shadow: 0 0 5px rgba(0,174,239,0.5), 0 0 10px rgba(0,174,239,0.3); }
  50% { box-shadow: 0 0 15px rgba(0,174,239,0.8), 0 0 30px rgba(0,174,239,0.5); }
  100% { box-shadow: 0 0 8px rgba(0,174,239,0.6), 0 0 16px rgba(0,174,239,0.4); }
}

@keyframes pulseScale {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Hover Effect */
.btn-contact:hover {
  background: #00aeef;           /* solid cyan background */
  color: #000;                   /* black text */
  box-shadow: 0 0 20px #00aeef, 0 0 40px #00aeef; /* stronger glow */
  transform: scale(1.1);         /* slight pop effect */
  text-shadow: 0 0 10px #00aeef; /* enhance text glow */
  animation: none;               /* stop base animation to avoid conflict */
}


.main-contact {
  background: #fff;
  color: #00aeef;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid rgba(0,174,239,.5);
  cursor: pointer;

  /* soft neon glow for light bg */
  box-shadow: 0 0 6px rgba(0,174,239,.25),
              0 0 12px rgba(0,174,239,.15);

  animation: pulseScale 2s infinite ease-in-out;
  transition: all .3s ease;
}

/* subtle pulse only (no heavy flicker on light bg) */
@keyframes pulseScale {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.main-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 50px;
  background: #fff;
  color: #00aeef;
  border: 1px solid rgba(0,174,239,.5);
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;

  /* pulse */
  animation: btnPulse 2.2s infinite ease-in-out;
}

/* arrow animation */
.main-contact i {
  transition: transform .3s ease;
  animation: arrowMove 1.4s infinite ease-in-out;
}

/* hover */
.main-contact:hover {
  background: #00aeef;
  color: #fff;
  box-shadow: 0 0 12px #00aeef,
              0 0 24px rgba(0,174,239,.6);
  transform: scale(1.08);
}

/* stop pulse on hover (clean UX) */
.main-contact:hover i {
  animation: none;
  transform: translateX(4px);
}


/* arrow slide */
@keyframes arrowMove {
  0%,100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}




   /* ================= NAVBAR STYLE ================= */

   .navbar-custom {
   background: rgba(255,255,255,0.1);
   backdrop-filter: blur(12px);
   padding: 20px 0;
 
   }

   .navbar-custom .nav-link {
   color: #fff;
   font-weight: 600;
   margin: 0 12px;
   position: relative;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 2px;
   }

 

   .btn-login {
   border: 1px solid rgba(255,255,255,0.4);
   color: #fff;
   padding: 10px 20px;
   border-radius: 50px;
   }

   .btn-login:hover {
   background: #fff;
   color: #000;
   }

   /* ================= MEGA MENU ================= */

   .dropdown-mega {
   position: static !important;
   }

   .mega-menu {
   width: 85%;
   top: 100%;
   left: 10%;
 padding: 0;
   /* padding: 30px; */
   border-radius: 30px;
   border: none;
   /* box-shadow: 0 20px 40px rgba(0,0,0,0.1); */
     /* DARK GLASS */
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: 
    0 25px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
   }

   .mega-menu h6 {
   font-weight: 600;
   margin-bottom: 15px;
   color: #000;
   font-size: 16px;
   }

   /* .mega-menu a {
   display: block;
   padding: 6px 0;
   color: #555;
   text-decoration: none;
   transition: 0.3s;
   } */


   /* Enable hover dropdown only on desktop */
   @media (min-width: 992px) {

   .navbar .dropdown-menu {
      display: block;
      opacity: 0;
      visibility: hidden;
      transform: translateY(15px);
      transition: all 0.35s ease;
      margin-top: 0;
   }

   .navbar .dropdown:hover > .dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
   }

   /* Rotate arrow smoothly */
   .navbar .dropdown-toggle::after {
      transition: transform 0.3s ease;
   }

   .navbar .dropdown:hover .dropdown-toggle::after {
      transform: rotate(180deg);
   }
   }
.text-content h5{
   font-size: 20px!important;
}

/* Hover OR Active → show arrow */
.mega-list li a:hover::after,
.mega-list li a.active::after {
  opacity: 1;
  transform: translateX(0) scale(1);
}



.navbar {
  position: fixed;       /* FIX: so transform moves it relative to viewport */
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.4s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  z-index: 9999;         /* above everything */
}
.navbar-hidden {
  transform: translateY(-120%);
}

  .floor-plan{
    width: 20px;
    height: 20px;
    color: #000;
  }
  .custom-toggler {
  width: 32px;
  height: 24px;
  position: relative;
  border: none;
  background: transparent;
  cursor: pointer;
}

.custom-toggler span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #00aeef; /* mustard */
  border-radius: 5px;
  left: 0;
  transition: 0.4s;
}

.custom-toggler span:nth-child(1) { top: 0; }
.custom-toggler span:nth-child(2) { top: 10px; }
.custom-toggler span:nth-child(3) { top: 20px; }

/* Animate to X */
.custom-toggler.collapsed span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.custom-toggler.collapsed span:nth-child(2) {
  opacity: 0;
}

.custom-toggler.collapsed span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}
@media (max-width: 991px) {
  .mega-dropdown {
    display: none !important;
  }
}
.mobile-services-menu .accordion-button {
  background-color: #111;
  color: #00aeef;
  font-weight: 600;
  font-size: 16px;
}

.mobile-services-menu .accordion-button:not(.collapsed) {
  background-color: #222;
  color: #fff;
}

.mobile-services-menu .accordion-body {
  background-color: #1a1a1a;
  padding-left: 20px;
}

.mobile-subcategory-list li a {
  color: #ddd;
  font-size: 14px;
  display: block;
  padding: 5px 0;
  text-decoration: none;
}

.mobile-subcategory-list li a:hover {
  color: #fff;
}
.navbar-brand svg {
    height: 40px; 
    width: auto;
    display: block;
    object-fit: cover;
}
  
   /* Mobile Fix */
   @media(max-width: 991px){
   .mega-menu {
      position: relative !important;
      box-shadow: none;
      padding: 15px;
   }
   }

   nav.navbar.navbar-expand-lg.navbar-dark.navbar-custom.fixed-top.scrolled {
    background: #000 !important;
}
/* ===== DARK GLASS MEGA MENU ===== */
.mega-menu {
  width: 85%;
  top: 100%;
  left: 10%;
  padding: 0;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);

  /* DARK GLASS */
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: 
    0 25px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Inner wrapper spacing */
.mega-wrapper {
  padding: 40px 35px;
  border-radius: 30px;
}



/* Category left side glass */
.mega-category {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  transition: 0.25s;
}

.mega-category:hover,
.mega-category.active {
  background: rgba(0,174,239,0.15);
  border-color: rgba(0,174,239,0.4);
}

/* List links */
.mega-list li a {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  transition: 0.25s;
}

.mega-list li a:hover {
  background: rgba(0,174,239,0.12);
}

.mobile-services-menu .accordion-button {
  background-color: #111;
  color: #00aeef;
  font-weight: 600;
  font-size: 16px;
}

.mobile-services-menu .accordion-button:not(.collapsed) {
  background-color: #222;
  color: #fff;
}

.mobile-services-menu .accordion-body {
  background-color: #1a1a1a;
  padding-left: 20px;
}

.mobile-subcategory-list li a {
  color: #ddd;
  font-size: 14px;
  display: block;
  padding: 5px 0;
  text-decoration: none;
}

.mobile-subcategory-list li a:hover {
  color: #fff;
}
.navbar-brand svg {
    height: 40px; 
    width: auto;
    display: block;
    object-fit: cover;
}

.mobile-services-menu .accordion-button:not(.collapsed) {
    color: #fff !important;
    background-color: #00aeef !important;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}
.mobile-services-menu .accordion-button::after {
    content: '+';
    font-size: 1.5rem;
    color: #fff;
    margin-left: auto;
    transition: transform 0.2s, content 0.2s;
}

















/* 
=============================================================
================================MEDIA======================
============================================================= */


