/* Here is the loaded font types */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap');

/*
font-family: "Lato", sans-serif; 100,200,300,400,500,600,700,800,900 (Ital)
font-family: "Cabin", sans-serif; 400,500,600,700 (Ital)
font-family: "Inter", sans-serif; 100,200,300,400,500,600,700,800,900
font-family: "Inter Tight", sans-serif; 100,200,300,400,500,600,700,800,900 (ital)

*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* === Back to Top Button === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.back-to-top:active {
  transform: translateY(-1px);
}

/* === Scroll Progress Indicator === */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    width: 0%;
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* === JoCanvas Minimal Preloader === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0e0e0e 0%, #1a1a1a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: opacity 1s ease, visibility 1s ease;
}

/* Minimal elegant loading progress bar */
.preloader-progress {
  width: 300px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.preloader-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
  transform: translateX(-100%);
  animation: loadProgress 2s ease-out forwards;
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
}

@keyframes loadProgress {
  to { transform: translateX(0); }
}

/* Custom cursor removed - using default browser cursor for better usability */

/* Prevent double-tap zoom / jump on mobile globally */
html, body {
    touch-action: pan-x pan-y pinch-zoom; /* Allow pinch-zoom on iPhone/iPad */
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%; /* Prevent iOS auto-sizing */
    text-size-adjust: 100%;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* Enhanced typography for better readability */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    line-height: 1.7;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved focus states for accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}


.header {
  position: relative;
  width: 100%;
  height: 100vh;  /* Fallback for browsers that don't support dvh */
  height: 100dvh;  /* Modern browsers - matches video height */
  min-height: 100dvh;
  overflow: hidden;
  border-radius: 15px;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

/* Enhanced hero overlay with gradient */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
  z-index: 2;
}

#bgVideo {
  width: 100%;
  height: 100dvh;
  object-fit: cover;
}

  .logo {
    width: 10rem;
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: block;
    margin: auto;
    box-shadow: 0 0 15px 5px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.4);
}

.ad {
    
    color: white;
    width: 100%;
    font-family: 'inter',sans-serif;
    font-weight: 200;
    font-size: 1rem;
    text-align: center;
    position: absolute;
    bottom: 1rem ;
    opacity: 80%;
    background-color: rgba(0, 0, 0, .4);
    border-radius:inherit;

}

/* Hero CTA Buttons */
.hero-cta {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 60px;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cta-button:first-child {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-button:first-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.navbutton {
    position: absolute;
    top: 50px;
    right: 40px;
    width: 60px;
    z-index: 200;
    display: none;
}


.navigate {
    width: 100%;
    display: flex;
    justify-content:space-evenly;
    position: absolute;
    top: 1rem;
    z-index: 100;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sticky navigation state */
.navigate.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

a {
    color: white;
    text-decoration: none;
    font-family: 'inter',sans-serif;
    font-weight: 300;
    
}

.hover {
    position: relative;
    padding: 0.75rem 1rem;
}

.hover::after {
    content:'';
    width: 0%;
    text-align: center;
    height: 2px;
    background-color: white;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.hover:hover::after {
    width: 100%;
    transition: 1s;
}

/* Active section indicator */
.hover.active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.hover.active::after {
    width: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    height: 3px;
}


.title {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size:30px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 40px;
    font-family: 'inter',sans-serif;
    letter-spacing: 10px;
    text-align: center;
    letter-spacing: 2px;
    position: relative;
    border-bottom: 1px solid black;
    font-weight: 300;
    padding-bottom: 15px;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #000, transparent);
}


.about {
    min-width: 500px;
    max-width: 800px;
    display: block;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    color: rgba(50, 50, 50, 0.65);
    font-family: 'inter',sans-serif;
    font-weight: 300;
    
    
  }

  

  .aboutsubtitle {

     min-width: 500px;
    max-width: 800px;
    display: block;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    color: rgb(43, 40, 40);
    font-family: 'inter',sans-serif;
    font-weight: 250;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 2.5px;

  }

  .meetfounder {
    position: relative;
    min-width: 500px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
   
  }

  .saying {
    text-align: justify;
    color: rgb(43, 40, 40);
    font-family: 'inter',sans-serif;
    font-weight: 300;
    position:absolute;
    top: 20%;
    right: 10%;
    width: 30%;
    display: block;
    text-align: left;
    


  }


  .pictureofislam {
    width: 100%;
    display: block;
    text-align: justify;
     box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
   

    
  }

  
.jocanvascontainer {
  color: black;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.jocanvas {
    
    width: 100%;
    height:50vh;
    background-image: url(./islamomari_conceptual_architectural_illustration_showing_a_hand_f01f4ca6-0112-4c81-a6fc-391c5565b7a2.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: center;
    margin-top: 50px;
    animation: zoomInOut 6s ease-in-out infinite alternate;
   
}

.marketing  {
        font-size: 20px;
        color: black;
        width:100%;
        position: absolute;
        top: 5% ;
        text-align: left;
        padding-left: 40px;
        font-family:'inter',sans-serif;
        font-weight: 250;
        background-color: rgb(255, 255, 255, .8);
        box-shadow: 0 3px ;
        
    }


.jocanvastext {

    font-size: 25px;

}



.jocanvasparagraph {
    font-family: 'inter',sans-serif;
    font-weight: 300;
    color: rgb(0, 0, 0);
    width: 20%;
    position: absolute;
    bottom: 15% ;
    padding-left: 40px;
    text-align: justify;
    border-radius: 15px;

}

@keyframes zoomInOut {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.1);
    }
  }
  



.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 40px;
    width: 100%;
    min-height: 60%;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    margin-bottom: 100px;
    padding-bottom: 50px;
}

.grid-item1, .grid-item2, .grid-item3,.grid-item4 {
    position: relative;
    
}







.band   {
    width: 100%;
    padding: 0px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, .2);
    border: 1px solid white;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.band:hover {
    transform: scale(1.02);
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.3);
}

.rights {
  font-family: 'inter',sans-serif;
    font-weight: 200;
    text-justify: center;
    text-align: center;
    color: #444;

}


.grid-container h1 {
    font-family: 'inter',sans-serif;
    font-weight: 400;
    margin: 20px 0;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 15px;
}

.grid-container h1::before,
.grid-container h1::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #000;
}

.grid-container p {
    margin: 20px 20px 20px 0;
    font-family: 'inter',sans-serif;
    font-weight: 200;
    text-align: justify;
}

    .projects {
      width: 100%;
      position: relative;
    }
.architecture {
  width: 80%;
  display: flex;
  justify-content: space-evenly;
  justify-items: center;

}


/* ================================
   ARCHITECTURE PROJECTS SLIDER
   ================================ */

.architectureprojects {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 100px auto 0;
  padding: 40px 0;
  font-family: 'inter',sans-serif;
  overflow: hidden;
  box-sizing: border-box;
}

/* === Slider Track (cards move inside this) === */
.architectureprojects .card-slider {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* === Individual Card === */
.architectureprojects .card-slide {
  flex: 0 0 300px;
  margin: 0 15px;
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}

.architectureprojects .card-slide::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.architectureprojects .card-slide:hover::before {
  opacity: 1;
}

.architectureprojects .card-slide:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* === Image === */
.architectureprojects .card-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background-position-y:center ;
  background-repeat: no-repeat;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.architectureprojects .card-slide:hover img {
  transform: scale(1.03);
}

/* === Text Content === */
.architectureprojects .card-slide h2 {
  margin: 20px 0 10px;
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  font-family: 'inter',sans-serif;
  letter-spacing: -0.01em;
}

.architectureprojects .card-slide p {
  padding: 0 20px;
  font-size: 0.85rem;
  color: #6e6e73;
  margin-bottom: 15px;
  font-family: 'inter',sans-serif;
  line-height: 1.4;
}

/* === "View More" Button === */
.architectureprojects .architecturebutton {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 12px 20px;
  margin-bottom: 18px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
  font-family: 'inter',sans-serif;
  letter-spacing: -0.01em;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.architectureprojects .architecturebutton:hover {
  background-color: #1d1d1f;
}

/* === Category Filtering (Apple-Style) === */
.architectureprojects .card-slide {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Non-matching cards when filter active */
.architectureprojects .card-slide.filtered-out {
  filter: grayscale(100%) brightness(0.85) !important;
  opacity: 0.35 !important;
  transform: scale(0.96) !important;
}

/* Matching cards when filter active */
.architectureprojects .card-slide.filtered-in {
  filter: grayscale(0%) brightness(1.05) !important;
  opacity: 1 !important;
  transform: scale(1.02) !important;
}

/* Clear Filter Button */
.filter-clear-btn {
  padding: 12px 24px;
  margin: 30px auto 20px;
  display: block;
  background-color: #333;
  color: white;
  border: 2px solid #555;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: 'inter', sans-serif;
  transition: all 0.3s ease;
}

.filter-clear-btn:hover {
  background-color: #444;
  border-color: #777;
  transform: translateY(-2px);
}

.filter-clear-btn:active {
  transform: translateY(0);
}

/* === Navigation Buttons (outside the slider) === */
.architectureprojects .card-slider-btn-prev,
.architectureprojects .card-slider-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: #1d1d1f;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.architectureprojects .card-slider-btn-prev:hover,
.architectureprojects .card-slider-btn-next:hover {
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}


/* === Button Positions === */
.architectureprojects .card-slider-btn-prev {
  left: 10px;
}

.architectureprojects .card-slider-btn-next {
  right: 10px;
}



/* === Responsive Layout === */
@media (max-width: 992px) {
  .architectureprojects .card-slide {
    flex: 0 0 45%;
  }
}

@media (max-width: 600px) {
  .architectureprojects .card-slide {
    flex: 0 0 90%;
  }

  .architectureprojects .card-slider-btn-prev {
    left: 5px;
  }

  .architectureprojects .card-slider-btn-next {
    right: 5px;
  }

  .architectureprojects .card-slider-btn-prev,
  .architectureprojects .card-slider-btn-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ================================
   PROJECT VIEWER OVERLAY
   ================================ */

/* Lock body scroll when viewer is active */
body.viewer-active {
  overflow: hidden !important;
  position: fixed;
  top: var(--scroll-position, 0); /* Maintain scroll position visually */
  left: 0; /* Explicit positioning for iPad */
  right: 0; /* Explicit positioning for iPad */
  width: 100%;
  height: 100%;
  touch-action: pan-x pan-y pinch-zoom; /* Allow pinch-zoom while preventing background scroll */
}

.project-viewer {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
  overflow: hidden; /* Prevent scrolling on overlay */
  touch-action: auto; /* Allow all touch gestures including pinch-zoom */
}

.project-viewer.active {
  display: flex;
}

.project-viewer-content {
  background: #fff;
  border-radius: 16px;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  font-family: 'Inter', sans-serif;
  touch-action: auto; /* Allow all touch gestures including pinch-zoom */
}

.viewer-image-wrapper img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 12px;
}

.viewer-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s;
}

.viewer-close:hover {
  color: #000;
}

.project-viewer h2 {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}

/* Thumbnails row (placeholder for now) */
.viewer-thumbnails {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.thumb-img {
  display: none;
}




/* ================================
   PROJECT VIEWER THUMBNAILS
   ================================ */
.thumb-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 80%;
  scroll-behavior: smooth;
  padding: 5px 0;
}

.thumb-container::-webkit-scrollbar {
  display: none;
}

.thumb-container img {
  width: 90px;
  height: 65px;
  object-fit: cover;
  
  border-radius: 12px;
  cursor: pointer;
  opacity: 0.6;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s;
}

.thumb-container img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.thumb-container img.active {
  opacity: 1;
  border: 2px solid #000;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

/* Thumbnail prev/next buttons */
.thumb-prev,
.thumb-next {
  background: rgba(255,255,255,0.8);
  border: none;
  padding: 8px 12px;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.thumb-prev:hover,
.thumb-next:hover {
  background: #000;
  color: #fff;
}


.thumb-prev:hover,
.thumb-next:hover {
  background: #000;
  color: #fff;
}







  .careers {
    width: 100%;
    height: auto;
    position: relative;
  }


  .cc {

    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;

  }

  .sora {
    width: 50%;
    border-radius: 15px;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, .2);
    margin: 40px;
    margin-left: 80px;
  }

  .fastgrowing {
    font-family:'inter',sans-serif;
    font-weight: 200;
    margin: 64px;
    margin-right: 100px;
  }


 .review-bar {
  width: 100%;
  overflow: hidden;
  background: #f9f9f9;
  padding: 2rem 0;
  font-family: 'Lato', sans-serif;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.review-bar:active {
  cursor: grabbing;
}

.review-bar.dragging {
  cursor: grabbing;
}

.review-track {
  display: flex;
  gap: 2rem;
  animation: slide 35s linear infinite;
  transition: transform 0.3s ease-out;
}

/* Pause animation on hover */
.review-bar:hover .review-track {
  animation-play-state: paused;
}

.review-track.no-animation {
  animation: none;
}

.review {
  flex: 0 0 300px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
  text-align: center;
  pointer-events: none;
}

.review p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.stars {
  color: #FFD700;
  margin-bottom: 0.5rem;
}

.review span {
  display: block;
  font-size: 0.8rem;
  color: #777;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

  

  


/* === Apple-Inspired Contact Form === */
.contact-form {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  max-width: 550px;
  width: 100%;
  margin: 0;
  padding: 40px 32px;
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border-radius: 16px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 0 0 0.5px rgba(0, 0, 0, 0.04);
  border: none;
  transition: box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contact-form:hover {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 0 0 0.5px rgba(0, 0, 0, 0.04);
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter Tight', sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
  line-height: 1.2;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}

.form-group:last-of-type {
  margin-bottom: 32px;
}

.form-group label {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1d1d1f;
  background-color: #ffffff;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #86868b;
  opacity: 1;
  font-weight: 400;
}

/* Focus state - Apple's signature blue glow */
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #0071e3;
  background-color: #ffffff;
  box-shadow:
    0 0 0 4px rgba(0, 113, 227, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* Hover state */
.form-group input[type="text"]:hover:not(:focus),
.form-group input[type="email"]:hover:not(:focus),
.form-group input[type="number"]:hover:not(:focus),
.form-group textarea:hover:not(:focus),
.form-group select:hover:not(:focus) {
  border-color: #86868b;
  background-color: #fafafa;
}

.form-group textarea {
  min-height: 120px;
  max-height: 240px;
  resize: vertical;
  padding-top: 14px;
  line-height: 1.5;
}

.form-group select {
  height: 48px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2386868b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select:focus {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230071e3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Character counter */
.char-count {
  display: block;
  font-size: 12px;
  color: #86868b;
  margin-top: 6px;
  text-align: right;
}

/* Error messages */
.form-group .error-message {
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 12px;
  color: #ff3b30;
  margin-top: 6px;
  font-weight: 400;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #ff3b30;
  background-color: rgba(255, 59, 48, 0.04);
}

.form-group.error input:focus,
.form-group.error textarea:focus,
.form-group.error select:focus {
  box-shadow:
    0 0 0 4px rgba(255, 59, 48, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group.error .error-message {
  display: block;
  animation: slideDown 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Success state for form validation */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: #34c759;
  background-color: rgba(52, 199, 89, 0.04);
}

.form-group.success input:focus,
.form-group.success textarea:focus,
.form-group.success select:focus {
  box-shadow:
    0 0 0 4px rgba(52, 199, 89, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-group.success::after {
  content: '✓';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #34c759;
  font-size: 18px;
  font-weight: bold;
  pointer-events: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Math CAPTCHA styling */
.captcha-group {
  background: #f5f5f7;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 28px;
}

.captcha-question {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  text-align: center;
}

.captcha-group input {
  background-color: white !important;
}

/* Submit button - Apple primary CTA style */
button[type="submit"] {
  width: 100%;
  max-width: none;
  padding: 16px 24px;
  margin-top: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ffffff;
  background: linear-gradient(180deg, #0071e3 0%, #0077ed 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
  box-shadow:
    0 2px 8px rgba(0, 113, 227, 0.2),
    0 4px 16px rgba(0, 113, 227, 0.15);
  position: relative;
  overflow: hidden;
}

button[type="submit"]:hover:not(:disabled) {
  background: linear-gradient(180deg, #0077ed 0%, #0071e3 100%);
  box-shadow:
    0 4px 12px rgba(0, 113, 227, 0.3),
    0 8px 24px rgba(0, 113, 227, 0.2);
  transform: translateY(-2px);
}

button[type="submit"]:active:not(:disabled) {
  transform: translateY(0);
  box-shadow:
    0 1px 4px rgba(0, 113, 227, 0.2),
    0 2px 8px rgba(0, 113, 227, 0.15);
}

button[type="submit"]:disabled {
  background: #d2d2d7;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.6;
}

/* Button loader/spinner */
.button-loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.spinner {
  width: 18px;
  height: 18px;
  animation: rotate 1s linear infinite;
}

.spinner circle {
  stroke-dasharray: 90, 150;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/* === Success Modal Overlay === */
.form-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.form-success-overlay.active {
  display: flex;
  animation: fadeIn 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.success-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 400px;
  text-align: center;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 16px 64px rgba(0, 0, 0, 0.16);
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.checkmark-svg {
  width: 100%;
  height: 100%;
}

.checkmark-circle {
  stroke: #34c759;
  stroke-width: 2;
  fill: rgba(52, 199, 89, 0.1);
  animation: checkmarkCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  stroke: #34c759;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: checkmarkCheck 0.4s 0.3s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes checkmarkCircle {
  0% {
    stroke-dasharray: 0, 157;
  }
  100% {
    stroke-dasharray: 157, 157;
  }
}

@keyframes checkmarkCheck {
  0% {
    stroke-dashoffset: 48;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.success-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter Tight', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.success-message {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 15px;
  color: #86868b;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.success-close-btn {
  width: 100%;
  padding: 14px 24px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0071e3;
  background: rgba(0, 113, 227, 0.1);
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.success-close-btn:hover {
  background: rgba(0, 113, 227, 0.15);
  border-color: rgba(0, 113, 227, 0.3);
  transform: translateY(-1px);
}

.success-close-btn:active {
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}



.map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 60px;
  align-items: center;
  margin-top: 100px;
  justify-content: center;
  justify-self: center;
  max-width: 1280px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
}

.business-card {
  grid-column: 1 / span 1;
  grid-row: 1 / span 1;
  width: 100%;
  max-width: 550px;
  border-radius: 16px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.business-card:hover {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.08);
}

.contact-form {
  grid-column: 2 / span 1;
  grid-row: 1 / span 1;

}


.footer {
    position: relative;
    height: 30vh;
    background-image: url(./islamomari_website_footer_made_of_wood_horizontal_module_30cm_m_e0a66aca-fe13-4d6a-8638-1007c206737f.webp);
    margin-top: 80px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 0;
}


.footer .texty {
    width: 40%;
    position: absolute;
    top: 10%;
    z-index: 1;
    color: rgb(255, 255, 255);
    font-family: 'inter',sans-serif;
    font-weight: 400;
    text-align: left;
    padding-left: 30px;
}

.backhome a {
    position: absolute;
    display: block;
    width: 100%;
    color: white !important;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    bottom: 50px;
    font-weight: 500;
    font-family: 'inter',sans-serif;
    z-index: 1;
  }

  .good {
    color: black!important;
    font-weight: 300;
  }
  
  .socialmedia {
      position:absolute;
      top:  0;
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      display:flex;
      z-index: 1;
      justify-content: center;
      background-color:rgb(0, 0, 0);
      padding: 3px;
  }
  
/* Social Media Icons - SVG Styling */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 22px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  cursor: pointer;
}

.social-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
  transition: fill 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon:hover svg {
  fill: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}
  

  .adress {
    font-size: 16px;
    font-weight: 500;
  }

  .amman {
    font-size: 16px;
    font-weight: 400;
    color: white;
    font-family:'inter',sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.6;
  }

  .allrights {
    justify-content: right;
    position: absolute;
    right: 10px;
    font-size: 14px;
    bottom: 5%;
    font-family:'inter',sans-serif;
    z-index: 1;
  }

   .amman1 {
    font-size: 14px;
    font-weight: 400;
    color: white;
    font-family:'inter',sans-serif;
    letter-spacing: 0.02em;
  }

  /* Footer Legal Links */
  .footer-links {
    position: absolute;
    right: 10px;
    bottom: 10%;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1;
  }

  .footer-link {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
  }

  .footer-link:hover {
    color: #667eea;
    text-decoration: underline;
  }

  .footer-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
  }


























































  @media only screen and (max-width: 767px) {


    .videoentry {
      height: 100%;
      position: relative;
      
    }
    


    .header {
        overflow: hidden;
        background-position-x: 0;
        background-size:cover;
        height: 100dvh;
        min-height: 100dvh;
    }

    #bgVideo {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .video-container {
        height: 100%;
    }

    

     * {
        font-size: 13.5px;
     }

     .about {
        min-width: 40%;
        padding: 0 30px 0 30px;
     }

     .aboutsubtitle {

        min-width: 40%;
        padding: 0 30px 0 30px;

  }

   
      
    
   .meetfounder {
    position: relative;
    min-width: 280px;
    margin-left: 5%;
    margin-right:  5%;
   
  }

  .saying {
    font-size: 12px;
    top: 10%;
    min-width: 150px;
    max-width: 250px;
    right: 5px;
  }

     .ad {
        font-size: 12px;
     }

     /* Mobile CTA Buttons */
     .hero-cta {
        top: 70%;
        margin-top: 20px;
        padding: 0 20px;
        width: 100%;
     }

     .cta-button {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
        max-width: 280px;
     }

     .jocanvasparagraph {
      
        width: 60%;
        top: 25%;
        font-size:13.5px;
        text-align: left;
        padding-left: 40px;
    
    }

    .marketing  {
        
        width:100%;
        top: 5%;
        text-align: left;
        padding-left: 40px;
        font-family:'inter',sans-serif;
        font-weight: 250;
        background-color: rgb(255, 255, 255, .8);
        box-shadow: 0 3px ;
        
    }




  

    .grid-container {
        margin-bottom: 10px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
        grid-gap: 20px;
        width: 100%;
        height: fit-content;
        justify-content: space-around;
        overflow: visible;
        padding-left: 3%;
        padding-right: 3%;
        
    }

    .rights {
      position: relative;
      top: 30px;
    }

    

    .title {
        font-weight: 100;
        font-size: 20px;
        font-weight: 200;
      
    }
    

    

      .navigate {
        flex-direction: column;
        text-align: left;
        letter-spacing: 0;
        position: absolute;
        right: 0; /* Initially set to 0 */
        top: 0;
        width: 0; /* Set initial width to 0 */
        max-width: 150px; /* Limit the maximum width */
        height: 100vh;
        overflow: hidden; /* Hide any overflow content */
        transition: width 0.5s ease, right 0.5s ease; /* Transition width and right properties */
      }

      
      .navbutton {
        display: block;
        cursor: pointer;
        
        
        
        
     }

     .viewer-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

     .map {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 40px;
  margin-top: 60px;
  padding: 0 20px;
}


.business-card {
  max-width: 100%;
  grid-column: 1;
}

/* Mobile Contact Form Styles */
.contact-form {
  max-width: 100%;
  margin: 20px 0;
  padding: 32px 24px;
  border-radius: 12px;
  grid-column: 1;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  font-size: 16px;
  border-radius: 10px;
}

.form-group textarea {
  min-height: 100px;
}

button[type="submit"] {
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 10px;
}

.captcha-group {
  padding: 16px;
}

.success-card {
  max-width: 90%;
  padding: 36px 28px;
  margin: 0 20px;
}

     .video-grid {
        flex-direction: column;
     }

   


  .cc {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
}

.sora {
  width: 90%;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2); /* change to only vertical offset */
  margin: 0 auto 20px auto;
  display: block;
  margin-top: 50px;
  padding: 5px;
}

.fastgrowing {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  margin: 0 auto 20px auto;
  width: 90%;
  max-width: 600px;
  text-align: center;
  display: block;
  text-align: left;
  padding: 10px;
}
.footer {
    height: auto;
    background-position: center;
    padding-bottom: 60px;
  }

  .socialmedia {
    position: relative;
    top: 0;
    width: 100%;
    padding: 10px 0;
  }

  .social-icon {
    margin: 0 18px;
  }

  .social-icon svg {
    width: 24px;
    height: 24px;
  }

  .footer .texty {
    position: relative;
    width: 90%;
    top: 0;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
  }

  .adress {
    font-size: 14px;
    font-weight: 400;
    margin-top: 10px;
  }

  .amman {
    font-size: 13px;
    line-height: 1.5;
  }

  .allrights {
    position: relative !important;
    text-align: center;
    right: auto !important;
    bottom: auto !important;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .amman1 {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Mobile: Footer Legal Links */
  .footer-links {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .footer-link {
    font-size: 12px;
  }

  .footer-separator {
    font-size: 12px;
  }

  /* Center the Back Home link */
  .backhome {
    position: relative !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 20px;
  }

  .backhome a {
    position: relative !important;
    display: inline-block;
    text-align: center;
    color: white !important; /* changed to white */
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    bottom: auto !important;
  }

  /* iPhone Landscape Fix - Inside Mobile Query */
  @media (orientation: landscape) {
    .viewer-image-wrapper img,
    #viewerImage {
      max-height: 65vh !important;
      max-width: 70vw !important;
      width: auto !important;
      height: auto !important;
      object-fit: contain !important;
    }

    .project-viewer-content {
      max-height: 85vh !important;
      max-width: 75vw !important;
      width: 75vw !important;
      padding: 10px !important;
    }

    .project-viewer {
      overflow-y: auto !important;
    }
  }

}




  @media (min-width: 767px) and (max-width: 1023px) {

    /* Map Grid - Tablet (Stack Vertically) */
    .map {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      gap: 40px;
      margin-top: 80px;
      padding: 0 40px;
      max-width: 680px;
      width: 90%;
      margin-left: auto;
      margin-right: auto;
    }

    /* Business Card - Tablet */
    .business-card {
      grid-column: 1;
      grid-row: 1;
      max-width: 100%;
      width: 100%;
      margin: 0 auto;
    }

    /* Contact Form - Tablet */
    .contact-form {
      grid-column: 1;
      grid-row: 2;
      max-width: 100%;
      width: 100%;
      padding: 44px 36px;
      margin: 0 auto;
    }

    .header {
      position: relative;
      height: 100dvh;
      min-height: 100dvh;
    }

    #bgVideo {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .video-container {
      height: 100%;
    }


    .videoentry {
      height: 100%;
      
      
      
      

    }

     .grid-container {
        margin-bottom: 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 40px;
        width: 100%;
        max-width: 900px;
        height: fit-content;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        overflow: visible;
        padding-left: 40px;
        padding-right: 40px;
        font-size: 15px;

    }

    .grid-container h1 {
      font-size: 16px;
    }

    .rights {
      position: relative;
      top: 30px;
    }

    .about {
      min-width: 150px;
      padding: 0 30px 0 30px;;
   }

      .aboutsubtitle {

        min-width: 40%;
        padding: 0 30px 0 30px;

  }

  .meetfounder {
    margin-left: auto;
    margin-right: auto;
    max-width: 715px;
  }


   

    .jocanvasparagraph {
      
        width: 40%;
        top: 40%;
        font-size:15px;
        text-align: left;
        padding-left: 40px;
    
    }

    .marketing  {
        
        width:100%;
        top: 5%;
        text-align: left;
        padding-left: 40px;
        font-family:'inter',sans-serif;
        font-weight: 250;
        background-color: rgb(255, 255, 255, .8);
        box-shadow: 0 3px ;
        
    }


    .viewer-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}
  


   

      .navigate {
        flex-direction: column;
        text-align: left;
        letter-spacing: 0;
        position: absolute;
        right: 0; /* Initially set to 0 */
        top: 0;
        width: 0; /* Set initial width to 0 */
        max-width: 200px; /* Limit the maximum width */
        height: 100vh;
        overflow: hidden; /* Hide any overflow content */
        transition: width 0.5s ease, right 0.5s ease; /* Transition width and right properties */
      }


      .navbutton {
        display: block;
        cursor: pointer;




     }

     .video-grid {
        flex-direction: column;
     }
     
      .cc {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
}

.sora {
  width: 90%;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2); /* change to only vertical offset */
  margin: 0 auto 20px auto;
  display: block;
  margin-top: 50px;
  padding: 5px;
}

.fastgrowing {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  margin: 0 auto 20px auto;
  width: 90%;
  max-width: 600px;
  text-align: center;
  display: block;
  text-align: left;
  padding: 10px;
}
   .footer {
    height: auto;
    background-position: center;
    padding-bottom: 60px;
  }

  .socialmedia {
    position: relative;
    top: 0;
    width: 100%;
    padding: 10px 0;
  }

  .social-icon {
    margin: 0 20px;
  }

  .social-icon svg {
    width: 30px; /* slightly bigger for tablets */
    height: 30px;
  }

  .footer .texty {
    position: relative;
    width: 80%;
    top: 0;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
  }

  .adress {
    font-size: 15px;
    font-weight: 400;
    margin-top: 10px;
  }

  .amman {
    font-size: 14px;
    line-height: 1.5;
  }

  .allrights {
    position: relative !important;
    text-align: center;
    right: auto !important;
    bottom: auto !important;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .amman1 {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Tablet: Footer Legal Links */
  .footer-links {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .footer-link {
    font-size: 13px;
  }

  .footer-separator {
    font-size: 13px;
  }

  /* Center the Back Home link */
  .backhome {
    position: relative !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 20px;
  }

  .backhome a {
    position: relative !important;
    display: inline-block;
    text-align: center;
    color: white !important;
    font-weight: 400;
    font-size: 15px;
    text-decoration: none;
    bottom: auto !important;
  }

}






  @media (min-width: 1024px) and (max-width: 1366px) {

    .videoentry {
      height: 100%;
    }

    /* Map Grid - Medium Desktop */
    .map {
      max-width: 1280px;
      gap: 60px;
      padding: 0 40px;
    }

    /* Contact Form - Medium Desktop */
    .contact-form {
      max-width: 550px;
      padding: 40px 36px;
    }

     .grid-container {
        margin-bottom: 10px;
        display: grid;
        grid-template-columns: repeat(auto-fit, 250px);
        grid-gap: 25px;
        width: 100%;
        height: fit-content;
        overflow: visible;
        padding-left: 50px;
        padding-right: 50px;
        font-size: 15px;
        
    }

     .grid-container h1 {
      font-size: 15px;
    }

     .grid-container p {
      font-size: 14px;
      text-align: left;
    }

    .jocanvasparagraph {
      
        width: 40%;
        top: 40%;
        font-size:16px;
        text-align: left;
        padding-left: 40px;
    
    }

    .marketing  {
        
        width:100%;
        top: 5%;
        text-align: left;
        padding-left: 40px;
        font-family:'inter',sans-serif;
        font-weight: 250;
        background-color: rgb(255, 255, 255, .8);
        box-shadow: 0 3px ;
        
    }

    .slider {
        position: relative;
        width: 100%;
        height:auto;
        overflow: hidden;
        padding: 0;
        
        
      }

      .video-grid {
        flex-direction: column;
     }

        .aboutsubtitle {

        min-width: 40%;
        padding: 0 0 0 0;

  }




  }

  @media (min-width: 1366px) and (max-width: 1920px) {

    .videoentry {
      height: 100%;
    }

    /* Map Grid - Large Desktop */
    .map {
      max-width: 1280px;
      gap: 60px;
      padding: 0 40px;
    }

    /* Contact Form - Large Desktop */
    .contact-form {
      max-width: 550px;
      padding: 44px 40px;
    }



   .jocanvasparagraph {
      
        width: 30%;
        top: 40%;
        font-size:16px;
        text-align: left;
        padding-left: 40px;
    
    }

    .marketing  {
        
        width:100%;
        top: 5%;
        text-align: left;
        padding-left: 40px;
        font-family:'inter',sans-serif;
        font-weight: 250;
        background-color: rgb(255, 255, 255, .8);
        box-shadow: 0 3px ;
        
    }

       .aboutsubtitle {

        min-width: 40%;
        padding: 0 0 0 0;

  }

    
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, 300px);
        grid-gap: 10px;
        width: 100%;
        justify-content: center;
        overflow: hidden;
        width: 100%;
        align-items: start;
        
    }

    .grid-container h1 {
        font-size: 18px;
    }
    
        .architectureprojects {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0;
  font-family: 'inter',sans-serif;
  overflow: hidden;
  box-sizing: border-box;
}



  }



  /* Slide-in animation from the left */
@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Slide-in animation from the right */
@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Apply the animation to your About text */
.aboutsection h2,
.aboutsection p {
  animation-duration: 0.5s; /* super fast */
  animation-fill-mode: forwards; /* stays in final position */
}

/* Optional: different directions */
.aboutsection h2 {
  animation-name: slideInLeft;
}

.aboutsection p {
  animation-name: slideInRight;
}

/* === Scroll-Triggered Bottom-Up Animation with Blur === */
.scroll-animate {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  filter: blur(10px);
  transition: none;
}

.scroll-animate.visible {
  animation: slideInUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInUpBlur {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Removed duplicate - using enhanced version above with blur effect */

/* Stagger delays for grid items */
.grid-item1.scroll-animate.visible {
  animation-delay: 0s;
}

.grid-item2.scroll-animate.visible {
  animation-delay: 0.1s;
}

.grid-item3.scroll-animate.visible {
  animation-delay: 0.2s;
}

.grid-item4.scroll-animate.visible {
  animation-delay: 0.3s;
}

/* Stagger delays for work gallery cards */
.architectureprojects .card-slide.scroll-animate.visible:nth-child(1) {
  animation-delay: 0s;
}

.architectureprojects .card-slide.scroll-animate.visible:nth-child(2) {
  animation-delay: 0.1s;
}

.architectureprojects .card-slide.scroll-animate.visible:nth-child(3) {
  animation-delay: 0.2s;
}

.architectureprojects .card-slide.scroll-animate.visible:nth-child(4) {
  animation-delay: 0.3s;
}

.architectureprojects .card-slide.scroll-animate.visible:nth-child(5) {
  animation-delay: 0.4s;
}

/* === Skeleton Loading Animation === */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 20%,
    #f0f0f0 40%,
    #f0f0f0 100%
  );
  background-size: 1000px 100%;
  border-radius: 8px;
}

/* Image loading skeleton */
img.loading {
  background: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 20%,
    #f0f0f0 40%,
    #f0f0f0 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

img.loaded {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Enhanced content loading animation */
.content-loading {
  opacity: 0;
  animation: contentFadeIn 0.6s ease-out forwards;
}

@keyframes contentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

 @media (min-width: 1921px) {

     /* Map Grid - Extra Large Desktop */
     .map {
       max-width: 1280px;
       gap: 60px;
       padding: 0 40px;
     }

     /* Contact Form - Extra Large Desktop */
     .contact-form {
       max-width: 550px;
       padding: 48px 44px;
     }

       .grid-container {
        margin-bottom: 10px;
        display: grid;
        grid-template-columns: repeat(auto-fit, 350px);
        grid-gap: 25px;
        width: 100%;
        height: fit-content;
        overflow: visible;
        padding-left: 50px;
        padding-right: 50px;
        font-size: 15px;
        
    }

     .grid-container h1 {
      font-size: 15px;
    }

     .grid-container p {
      font-size: 14px;
      text-align: left;
    }
    
    .architectureprojects {
  position: relative;
  width: 100%;
  max-width: 2100px;
  margin: 0 auto;
  padding: 40px 0;
  font-family: 'inter',sans-serif;
  overflow: hidden;
  box-sizing: border-box;
}

 }

/* === ALL Devices Landscape - Prevent Overflow === */
@media (orientation: landscape) and (max-width: 926px) {
  .viewer-image-wrapper img {
    max-height: 65vh !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  .project-viewer-content {
    max-height: 90vh !important;
    max-width: 80vw !important;
    padding: 10px !important;
    overflow-y: auto !important;
  }
}

/* === iPad Landscape - Square Format === */
@media (min-width: 768px) and (orientation: landscape) {
  .viewer-image-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
  }

  .project-viewer-content {
    max-width: 750px;
    width: 80%;
  }
}

  .project-viewer h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.2rem;
  }

  .viewer-thumbnails {
    margin-top: 10px;
    gap: 5px;
  }

  .thumb-container img {
    width: 60px !important;
    height: 45px !important;
  }

  /* Video Header Fixes */
  .header {
    height: 100dvh;
    min-height: 100dvh;
  }

  #bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-container {
    height: 100%;
  }

/* === Additional fix for very short landscape devices (phones) === */
@media (orientation: landscape) and (max-height: 800px) {
  .header {
    height: 100dvh;
    min-height: 100dvh;
  }

  #bgVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-container {
    height: 100%;
  }
}

/* Smaller laptop screens - ensure tagline is visible */
@media (max-height: 700px) {
  .ad {
    bottom: 0.5rem;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
  }
}

/* ============================
   Cookie Consent Banner
   ============================ */

.cookie-banner {
  display: none; /* Hidden by default, shown via JavaScript */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  padding: 20px 30px;
  align-items: center;
  justify-content: center;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
  min-width: 300px;
}

.cookie-content strong {
  font-weight: 600;
  font-size: 16px;
}

.cookie-content a {
  color: white;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.cookie-content a:hover {
  opacity: 0.8;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

.cookie-accept,
.cookie-decline {
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.cookie-accept {
  background: white;
  color: #667eea;
}

.cookie-accept:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-decline {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Mobile Responsiveness for Cookie Banner */
@media (max-width: 767px) {
  .cookie-banner {
    padding: 20px;
  }

  .cookie-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .cookie-content p {
    min-width: 100%;
    font-size: 14px;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-accept,
  .cookie-decline {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* Tablet Responsiveness for Cookie Banner */
@media (min-width: 768px) and (max-width: 1023px) {
  .cookie-banner {
    padding: 20px 25px;
  }

  .cookie-content p {
    font-size: 14px;
  }

  .cookie-accept,
  .cookie-decline {
    padding: 10px 24px;
    font-size: 14px;
  }
}
