/* Banner section start */


.animated-banner {
  position: relative;
  width: 100%;
   min-height: 86vh;
  height: auto; 
  overflow: hidden;
  display: flex;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: top 30px;
  background: rgba(14, 13, 13, 0.5);
  z-index: 0;
}

.animated-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 13, 13, 0.3);
  z-index: 1;
}

/* Banner sections */
.banner-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  color: white;
}

/* Black overlay on each banner-image */
.banner-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1); /* semi-transparent black */
  z-index: 1;
}

/* Images setup */
.banner-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation-duration: 2s;            /* faster animation */
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  top: 0;
  left: 0;
  opacity: 0;
  animation-fill-mode: forwards;
  z-index: 0;
}

/* Animations and delays for banner-img-1 */
.banner-img-1 img:nth-child(2) {
  animation-name: slideFadeDown;
  animation-delay: 0s;
}
.banner-img-1 img:nth-child(3) {
  animation-name: slideFadeDown;
  animation-delay: 0.67s;
}
.banner-img-1 img:nth-child(4) {
  animation-name: slideFadeDown;
  animation-delay: 1.33s;
}

/* Animations and delays for banner-img-2 */
.banner-img-2 img:nth-child(2) {
  animation-name: slideFadeRight;
  animation-delay: 0s;
}
.banner-img-2 img:nth-child(3) {
  animation-name: slideFadeRight;
  animation-delay: 0.67s;
}
.banner-img-2 img:nth-child(4) {
  animation-name: slideFadeRight;
  animation-delay: 1.33s;
}

/* Animations and delays for banner-img-3 */
.banner-img-3 img:nth-child(2) {
  animation-name: slideFadeUp;
  animation-delay: 0s;
}
.banner-img-3 img:nth-child(3) {
  animation-name: slideFadeUp;
  animation-delay: 0.67s;
}
.banner-img-3 img:nth-child(4) {
  animation-name: slideFadeUp;
  animation-delay: 1.33s;
}

/* Keyframes with opacity and translate */

/* Slide down with fade */
@keyframes slideFadeDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  20% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Slide right with fade */
@keyframes slideFadeRight {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  20% {
    transform: translateX(0);
    opacity: 1;
  }
  60% {
    transform: translateX(0);
    opacity: 1;
  }
  80% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Slide up with fade */
@keyframes slideFadeUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  20% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.banner-container {
  position: relative;
  width: 100%;
  height: 60vh;  
}

.banner-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  white-space: nowrap;
}


.main-heading {
  font-size: 35px;
  font-weight: 600;
  color: #ffffff;
  text-transform: capitalize;
  letter-spacing: 3px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
  /* Temporarily disable typing effect */
  width: auto;
  animation: none;
}


@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  0%, 100% { border-color: transparent }
  50% { border-color: #fff }
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .main-heading {
    font-size: 28px;
    letter-spacing: 1px;
  }
}

@media (max-width: 480px) {
  .main-heading {
    font-size: 22px;
    line-height: 1.3;
  }
}


/* 📱 Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .animated-banner {
    height: 250px;     
    min-height: 250px;
    margin-top: 80px;
  }

  .banner-image {
    position: relative;
    padding: 0 10px;
    height: 100%;      
  }

  .banner-image img {
    position: absolute;
    width: 100%;
    height: 100%;       
    object-fit: cover;
    top: 0;
    left: 0;
  }

  .banner-heading {
    top: 50%;          
    transform: translateY(-50%) translateX(-50%);
  }

  .main-heading {
    font-size: 18px;    /* text chhota ho jaaye */
    letter-spacing: 1px;
  }
}


/* 💻 Small Laptops (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .animated-banner {
    height: 380px;
    margin-top: 50px;
  }

  .banner-image {
    padding: 12px;
    height: 100%;
  }

  .banner-image img {
    height: 100%;
  }

  .banner-heading {
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
  }

  .main-heading {
    font-size: 28px;
  }
}

/* 🖥️ Large Screens (1025px and above) */
@media (min-width: 1025px) {
  .animated-banner {
    height: 410px;
    margin-top: 60px;
  }

  .banner-image {
    padding: 15px;
    height: 100%;
  }

  .banner-image img {
    height: 100%;
  }

  .banner-heading {
    top: 170px;
    transform: translateX(-50%);
  }

  .main-heading {
    font-size: 35px;
  }
}

/* Banar part End*/







/* Intro Part start*/

.catalogue-intro {
  background-color: white;
  padding: 30px 20px;
  text-align: center;
}

.catalogue-intro .container {
  max-width: 900px;
  margin: auto;
}

.catalogue-intro p {
  font-size: 1.8rem;
  font-weight: 600;
  width: 100%;
  color: #00a0e3;
  line-height: 1.6;
}


/* Responsive for small devices (0 - 480px) */
@media (max-width: 480px) {
  .catalogue-intro {
    padding: 20px 15px;
  }

  .catalogue-intro .container {
    max-width: 100%;
    padding: 0 10px;
  }

  .catalogue-intro p {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
  }
}
/* Intro Part End*/



/* Catlog image parts starts*/
.catalogue-gallery {
  padding: 10px 20px;
  background-color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.image-box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: default; 
}

.image-box img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: block;
}

.image-box:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

/* Sliding overlay */
.image-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 51, 0, 0.5);
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.image-box:hover::before {
  transform: translateY(0);
}

/* Container for icon + text */
.image-box .overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease 0.4s;
  pointer-events: none; 
  text-align: center;
}

.image-box:hover .overlay-content {
  opacity: 1;
}
/* Eye icon styles */
.overlay-content .eye-icon {
  font-size: 36px;
  margin-bottom: 6px;
  cursor: pointer;
  pointer-events: auto; 
  user-select: none;
  color: white; 
  transition: color 0.3s ease;
}

.overlay-content .eye-icon:hover {
  color: rgb(0, 0, 0); 
}


.overlay-content .see-text {
  font-size: 16px;
  font-weight: 600;
  user-select: none;
}

.image-box::after {
  display: none;
}

/*  Modal container */
#imageModal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

/* Modal image */
#modalImage {
  max-width: 90%;
  max-height: 90%;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Navigation arrows */
.modal-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background-color: rgba(0,0,0,0.4);
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
  border-radius: 4px;
}

.modal-arrow.left {
  left: 20px;
}

.modal-arrow.right {
  right: 20px;
}
.see-text {
  color: white !important;
}


/* Close button */
.modal-close {
  position: fixed;
  top: 100px !important;
  right: 190px !important;
  font-size: 20px;
  color: black !important;
  background:white !important;
  padding: 5px 15px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10001;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: magenta !important;
}




/* 📱 Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .catalogue-gallery {
    padding: 10px 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr; /* single column */
    gap: 15px;
  }

  .overlay-content .eye-icon {
    font-size: 28px;
  }

  .overlay-content .see-text {
    font-size: 14px;
  }

  #modalImage {
    max-width: 95%;
    max-height: 70%;
  }

  .modal-arrow {
    font-size: 28px;
    padding: 6px 10px;
  }

  .modal-close {
    top: 20px !important;
    right: 20px !important;
    font-size: 16px;
    padding: 4px 10px;
  }
}

/*  Tablets (481px – 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .catalogue-gallery {
    padding: 30px 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 18px;
  }

  .overlay-content .eye-icon {
    font-size: 32px;
  }

  .overlay-content .see-text {
    font-size: 15px;
  }

  #modalImage {
    max-width: 90%;
    max-height: 80%;
  }

  .modal-arrow {
    font-size: 34px;
  }

  .modal-close {
    top: 30px !important;
    right: 30px !important;
  }
}

/*  Small Laptops (769px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px;
  }

  #modalImage {
    max-width: 85%;
    max-height: 85%;
  }
}

/*  Large Screens (1025px and above) */
@media (min-width: 1025px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Catlog image parts End*/



/* Brochure parts heading and para start */
.brochure-section {
  padding: 40px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
 
}

.brochure-heading {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #00a0e3;
}

.brochure-intro {
  font-size: 1.4rem;
  color: rgb(82, 81, 81);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}


@media (max-width: 480px) {
  .brochure-section {
    padding: 20px 15px;
    max-width: 100%;
  }

  .brochure-heading {
    font-size: 1.6rem; 
    margin-bottom: 10px;
  }

  .brochure-intro {
    font-size: 1rem;
    max-width: 100%;
    line-height: 1.7;
    padding: 0 10px; 
  }
}
/* Brochure parts heading and paragra start */




/* Brochure parts images start */

.flip-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  background-color: white;
}

.flip-card {
  background: transparent;
  width: 300px;
  height: 280px;
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 1.6s;
  transform-style: preserve-3d;
}

/* comment hatega flip section start ho jayega 

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}
 */


.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-back {
  background: rgba(24, 24, 24, 0.2)!important;
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-wrapper {
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.eye-icon {
  font-size: 36px;
  color: black;
  transition: color 0.3s ease;
}

.eye-icon:hover {
  color: magenta;
}

.see-text {
  font-size: 16px;
  font-weight: 600;
  color: black !important;
}

/* Modal */
#imageModal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

#imageModal img {
  max-width: 90%;
  max-height: 90%;
}

.modal-close {
  position: fixed;
  top: 40px;
  right: 60px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  background: rgba(255,0,255,0.5);
  padding: 5px 10px;
  border-radius: 5px;
}
