
     @import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
     
     :root {
      --yellow-color : #f9b200;
      --light-orange : #ef7b2f;  
      --dark-organge : #eb6000;
      --light-gray   : #ccd9d9;
      --light-white  : #f0f3f1;
      --blue-color   : #257189;
      --light-blue-color : #c6dae08a;
      --red          : #e8421c;
      --light-black  : #2e2e2d;
      --dark-black   : #000000;
      --white-color  : #ffffff;
      --panel-width: 420px;
      --transition: 350ms cubic-bezier(.2,.9,.2,1);

      }

      h1, h2, h3, h4, h5, h6 {
        font-family: "Lora", serif;
      }

      p,a{
        font-family: "Open Sans", sans-serif;
      }
      .blue{
        color: var(--blue-color);
      }

      .bg-bluee{
        background-color: var(--blue-color);
      }

      .oranges{
        background-color: var(--dark-organge);
      }

      .orange:hover{
        background-color: var(--light-organge)!important;
      }

      .text-orange-600{
        color: var(--light-orange);
      }
      .bg-yellow-light{
        background-color: #f9b20050;
        color: var(--yellow-color);
      }


      /* Chrome, Safari, Edge */
          ::-webkit-scrollbar {
            width: 4px;        /* Thin width */
          }

          ::-webkit-scrollbar-track {
            background: transparent;
          }

          ::-webkit-scrollbar-thumb {
            background: #888;  /* Scrollbar color */
            border-radius: 10px;
          }

          ::-webkit-scrollbar-thumb:hover {
            background: #555;
          }

          /* Firefox */
          * {
            scrollbar-width: thin;        /* "auto" | "thin" */
            scrollbar-color: #888 transparent;
          }


      @keyframes fadeUp {
        0% {
          opacity: 0;
          transform: translateY(20px);
        }
        100% {
          opacity: 1;
          transform: translateY(0);
        }
     }
    .animate-fadeUp {
      animation: fadeUp 2s ease-out forwards;
    }

      
    /* Scroll Reveal Animation */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: 1s ease;
    }

    .reveal.active {
      opacity: 1;
      transform: translateY(0);
    }

    /* Gradient Overlay */
    .hero-overlay {
      background: linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
    }

    

    .mega-content,
  .dropdown-content {
      transition: opacity 0.3s ease, transform 0.3s ease;
  }


  /* FIX MEGA MENU SPACING */
      #mega-menu {
          padding-left: 0 !important;
          padding-right: 0 !important;
      }

      #mega-menu .max-w-screen-xl {
          max-width: 100% !important;
          padding-left: 0 !important;
          padding-right: 0 !important;
      }

      #mega-menu .grid {
          padding-left: 20px !important;
          padding-right: 20px !important;
      }

      

  /* New CSS to control mobile state via JavaScript */
       @media (max-width: 1023px) {

          #mega-menu {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #mega-menu .max-w-screen-xl {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #mega-menu .grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
            
        .mega-content {
        display: none !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        box-shadow: none !important;
    }

    .dropdown-content {
        display: none !important;
        position: relative !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        margin-top: 10px !important;
    }
            .mobile-active {
                display: block !important;
            }
        }


        /* 1. Define a Parent Container (The hover area) */
.profile-menu-container {
    position: relative;
    display: inline-block; /* Makes the hover area exactly the size of its content (the trigger) */
}

/* 2. Initial Hidden State */
.profile-dropdown-menu {
    /* Layout & Positioning */
    position: absolute; 
    right: 0; 
    
    /* Hiding the element with transition-friendly properties */
    visibility: hidden;  /* Prevents clicks/focus when hidden */
    opacity: 0;          /* Makes it fully transparent */
    top: 40px;           /* Starts lower for a smooth slide-down effect */
    
    /* Animation settings (Crucial to be here) */
    transition: top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    
    /* Ensure it doesn't take up space in the DOM when moving mouse */
    pointer-events: none; /* Prevents the menu from intercepting mouse events when hidden */
}

/* 3. Hover State */
.profile-menu-container:hover .profile-dropdown-menu {
    visibility: visible;   /* Make it visible */
    opacity: 1;            /* Fade in */
    top: 30px;              /* Moves it to the final desired position (from your HTML) */
    pointer-events: auto;  /* Allows the user to click buttons inside the menu */
}

  /* The progress container (grey background) */
    .progress-container {
      width: 100%;
      height: 3px;
      background: gainsboro;
      position: sticky;
      top: 63px;
      left: 0;
      z-index: 10;
    }

    /* The progress bar (scroll indicator) */
    .progress-bar {
      height: 3px;
      background: var(--blue-color);
      width: 0%;
    }

  /* Custom CSS to handle the background image, overlay, and animations */
        .slide-1 {
            background-image: url('../images/foam.webp'); /* Placeholder for your image */
        }
        .slide-2 {
            background-image: url('https://readymadeui.com/images/digital-img-2.webp'); /* Placeholder for your image */
        }
        .slide-3 {
            background-image: url('https://readymadeui.com/images/digital-img-3.webp'); /* Placeholder for your image */
        }

        .slide-bg {
            /* Ensures background covers and centers */
            background-size: cover;
            background-position: center;
        }

        /* --- KEYFRAMES FOR ANIMATIONS --- */

        /* Animation for text elements (pioneering, heading, description) */
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Animation for buttons (fades in) */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* --- ANIMATION CLASSES (Triggered by Swiper) --- */

        /* Base class for all elements: initially hidden */
        .animated-text {
            opacity: 0;
        }

        /* Apply slide-in animation when the slide is active */
        /* IMPORTANT: Swiper's active class (.swiper-slide-active) MUST be retained */
        .swiper-slide-active .animate-slide-in-up {
            animation: slideInUp 0.8s ease-out forwards;
        }

        /* Apply fade-in animation to buttons when the slide is active */
        .swiper-slide-active .animate-fade-in {
            animation: fadeIn 0.8s ease-out forwards;
        }
        
        /* Define delays for sequential animation */
        .swiper-slide-active .delay-1 { animation-delay: 0.1s; }
        .swiper-slide-active .delay-2 { animation-delay: 0.3s; }
        .swiper-slide-active .delay-3 { animation-delay: 0.5s; }
        .swiper-slide-active .delay-4 { animation-delay: 0.7s; }
        .swiper-slide-active .delay-5 { animation-delay: 0.9s; }

        .custom-hero-slider{
          overflow: hidden;
        }


        /* Target the built-in Swiper classes, but use our custom content */
    .swiper-button-next,
    .swiper-button-prev {
        /* Remove the default SVG icon used by Swiper */
        --swiper-navigation-size: 0; /* Ensures the default icon is hidden */
        
        /* Center your custom content */
        display: flex;
        align-items: center;
        justify-content: center;
        
        /* Optional: increase target size/background for better usability */
        width: 48px; 
        height: 48px;
        background-color: rgba(0, 0, 0, 0.4); /* Dark semi-transparent circle */
        border-radius: 50%;
    }

    /* Style the arrows when they are disabled */
    .swiper-button-disabled {
        opacity: 0.3 !important; /* Make disabled arrows look greyed out */
        pointer-events: none;
    }

    /* --- Custom Pagination Styles --- */
    
    /* * Target the container class to scope the styles, 
     * but the active styling is applied to the Swiper core classes.
     */
    .custom-pagination {
        /* Optional: Adjust position if needed, though Swiper usually positions it at the bottom center */
        bottom: 30px !important; 
    }
    
    /* Style for all indicators (the inactive state) */
    .custom-pagination .swiper-pagination-bullet {
        /* Core visual resets */
        width: 12px; 
        height: 4px; /* Line height */
        background: rgba(255, 255, 255, 0.5); /* Semi-transparent white line */
        opacity: 1; /* Keep them fully visible */
        border-radius: 2px; /* Slight curve for the line ends */
        margin: 0 4px; /* Spacing between indicators */
        transition: all 0.3s ease;
    }

    /* Style for the ACTIVE indicator (The currently viewed slide) */
    .custom-pagination .swiper-pagination-bullet-active {
        width: 30px; /* Make the active line longer */
        background: #ffffff; /* Solid white for prominence */
    }

    .products{
      overflow: hidden;
    }

    #logo-slider{
      overflow: hidden;
    }
    
    #testimonial-slider{
      overflow: hidden;
    }


    /* timeline slider */


    .tab-container{
    width: 100%;
}

.tab_box {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 600;
    position: relative;
    overflow-x: auto; /* Allow horizontal scrolling */
    white-space: nowrap; /* Prevent tabs from wrapping to a new line */
  }
  
  .tab_box .tab_btn {
    font-size: 18px;
    font-weight: 600;
    color: var(--light-black);
    background: none;
    border: none;
    padding: 18px;
    cursor: pointer;
    white-space: nowrap;/* Prevent tabs from wrapping to a new line */
  }
  
  .tab_box .line {
    position: absolute;
    width: 90px;
    height: 3px;
    top: 65px;
    left: 0;
    background-color: var(--light-orange);
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .tab_box .line::before{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    content: '';
    background-color: var(--dark-organge);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  /* Hide scrollbar in WebKit-based browsers (Chrome, Safari) */
.tab_box::-webkit-scrollbar {
  display: none; /* Hide scrollbar */
}

/* Hide scrollbar in Firefox */
.tab_box {
  scrollbar-width: none; /* Hide scrollbar in Firefox */
}

  
  .tab_box .tab_btn.active {
    color: var(--dark-organge);
  }
  

  
  .content_box {
    padding: 20px;
  }
  
  .content_box .content {
    display: none;
    animation: moving 0.5s ease;
  }
  
  @keyframes moving {
    from {
      transform: translateY(50px);
      opacity: 0;
    }
  
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .content_box .content.active {
    display: block;
  }

  .arrowcontrols{
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .arrowcontrols .arrow{
   width: 50px;
   height: 50px;
   background-color: var(--dark-organge);
   border-radius: 50%;

  }


  .arrowcontrols .arrow img{
    border-radius: 50%;
  }


  /* Youtube Gallery */

   .mainVideoSec iframe {
      width: 100%;
      height: 400px;
      border-radius: 10px;
    }
    .videoThumbSec {
      background: #f8f9fa;
      max-height: 500px;
      overflow-y: auto;
      padding: 15px;
    }
    .videoThumbSec::-webkit-scrollbar {
      width: 6px;
    }
    .videoThumbSec::-webkit-scrollbar-thumb {
      background: #ccc;
      border-radius: 5px;
    }
    .videoB {
      padding: 10px;
      margin-bottom: 10px;
      background: #f8f9fa;
      border-radius: 10px;
      cursor: pointer;
      transition: 0.3s;
      overflow: hidden;
    }
    .videoB:hover {
      background: #e9ecef;
    }
    .videoB.active {
      background: #dee2e6;
      border-left: 4px solid #dc3545;
    }
    .thumbImg img {
      border-radius: 6px;
    }
    @media (max-width: 768px) {
      .mainVideoSec iframe {
        height: 250px;
      }
      .videoThumbSec {
        max-height: 300px;
      }
    }


    /* multilevel accordion */

    .cd-accordion {
    background: hsl(218, 7%, 32%);
    background: var(--cd-color-1);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .1), 0 16px 48px rgba(0, 0, 0, .1), 0 24px 60px rgba(0, 0, 0, .1);
    box-shadow: var(--shadow-lg)
}

.cd-accordion--animated .cd-accordion__label::before {
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s
}

.cd-accordion__sub {
    display: none;
    overflow: hidden
}

.cd-accordion__sub--is-visible {
    display: block
}

.cd-accordion__item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.cd-accordion__input {
    position: absolute;
    opacity: 0
}

.cd-accordion__label {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.75em 1.25em;
    padding: var(--space-sm) var(--space-md);
    background: hsl(218, 7%, 32%);
    background: var(--cd-color-1);
    --color-shadow: lightness(hsl(218, 7%, 32%), 1.2);
    --color-shadow: lightness(var(--cd-color-1), 1.2);
    box-shadow: inset 0 -1px lightness(hsl(218, 7%, 32%), 1.2);
    box-shadow: inset 0 -1px var(--color-shadow);
    color: hsl(0, 0%, 100%);
    color: var(--color-white)
}

.cd-accordion__label span {
    -ms-flex-order: 3;
    order: 3
}

.cd-accordion__label:hover {
    background: hsl(218, 7%, 35.2%);
    background: hsl(var(--cd-color-1-h), var(--cd-color-1-s), calc(var(--cd-color-1-l)*1.1))
}

.cd-accordion__label::after,
.cd-accordion__label--icon-folder::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("../img/cd-icons.svg");
    background-repeat: no-repeat;
    margin-right: 0.25em;
    margin-right: var(--space-xxxs)
}

.cd-accordion__label--icon-folder::before {
    -ms-flex-order: 1;
    order: 1
}

.cd-accordion__label::after {
    -ms-flex-order: 2;
    order: 2
}

.cd-accordion__label--icon-folder::before {
    background-position: 0 0;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg)
}

.cd-accordion__label--icon-folder::after {
    background-position: -16px 0
}

.cd-accordion__label--icon-img::after {
    background-position: -48px 0
}

.cd-accordion__input:checked+.cd-accordion__label::before {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0)
}

.cd-accordion__input:checked+.cd-accordion__label::after {
    background-position: -32px 0
}

.cd-accordion__input:checked~.cd-accordion__sub {
    display: block
}

.cd-accordion__sub--l1 .cd-accordion__label {
    background: hsl(218, 7%, 20.8%);
    background: hsl(var(--cd-color-1-h), var(--cd-color-1-s), calc(var(--cd-color-1-l)*0.65));
    --color-shadow: lightness(hsl(218, 7%, 32%), 0.85);
    --color-shadow: lightness(var(--cd-color-1), 0.85);
    box-shadow: inset 0 -1px lightness(hsl(218, 7%, 32%), 0.85);
    box-shadow: inset 0 -1px var(--color-shadow);
    padding-left: calc(1.25em + 16px);
    padding-left: calc(var(--space-md) + 16px)
}

.cd-accordion__sub--l1 .cd-accordion__label:hover {
    background: hsl(218, 7%, 24%);
    background: hsl(var(--cd-color-1-h), var(--cd-color-1-s), calc(var(--cd-color-1-l)*0.75))
}

.cd-accordion__item:last-child .cd-accordion__label {
    box-shadow: none
}

.cd-accordion__sub--l2 .cd-accordion__label {
    padding-left: calc(1.5em + 32px);
    padding-left: calc(var(--space-md) + var(--space-xxxs) + 32px)
}

.cd-accordion__sub--l3 .cd-accordion__label {
    padding-left: calc(1.5em + 48px);
    padding-left: calc(var(--space-md) + var(--space-xxxs) + 48px)
}

.enquiryBtn{
  position: fixed!important;
  background-color: #257189;
  bottom:50px;
  right:50px;
}

 
 /* ----------------- Sidebar submenu ----------------- */


    .submenu {
      overflow: hidden;
      transition: max-height 0.4s ease;
    }

    /* Make iframe container clean */
    #flipbookContainer {
        width: 100%;
        height: calc(100% / 1.5 *2);
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff !important; /* remove black */
        padding: 0;
        margin: 0;
    }

  /* Ensure iframe never overflows */
  #flipbookContainer iframe {
      width: 100% !important;
      max-height: 550px;
      max-width: 900px; /* limit width for desktop */
      border: none !important;
      overflow: hidden !important;
      scrollbar-width: none !important;
  }

#flipbookContainer iframe::-webkit-scrollbar {
    display: none !important;
}


.pdf-floating-icon {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 999999 !important;
    background: white;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}


.folder {
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  transition: .2s;
}
.folder:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  width: 95%;
  height: 95%;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
}

#flipbookContainer {
  width: 100%;
  height: 100%;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  z-index: 10;
  background: rgba(255,255,255,.2);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 18px;
}
