@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Telex&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fenix&display=swap");

/* Modern CSS Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Properties */
:root {
  --primary: #ff6b6b;
  --secondary: #4ecdc4;
  --accent: #ffe66d;
  --dark: #2d3436;
  --light: #faebd7;
  --gradient: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base Styles */
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
  background-color: var(--light);
  
}

.container {
  max-width: 1465px;
  margin: 0 auto;
  padding: 0 2rem 0rem 2rem;
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1.2;
}

h3 {
  font-size: 20px;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 8rem;
  position: relative;
  opacity: 0;
  color: #099c9c;
  transform: translateY(20px);
  transition: var(--transition);
}

.contus {
  font-size: 2rem;
}

.section-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient);
  margin: 1rem auto;
  border-radius: 2px;
}

/* Navigation */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 999;
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  box-shadow: -10px 0 10 rgba(0, 0, 0, 0.1);
  align-items: center;
  justify-content: center;
}

.nav-links2 #sideb {
  display: none;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease-in-out;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  align-items: center;

  max-width: 1290px;
  gap: 7rem;
  margin-left: 4rem;
}
.nav-container.shrink{
  gap: 5rem;
}
.logo-img {
  height: 400px;
}

.nav-links ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: x-large;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.navbar {
  /* Your existing navbar styles */
  /* Example background */
  padding: 10rem 0;
  /* Example initial padding */
  position: sticky;
  /* Make it stick */
  top: 0;
 
  z-index: 100;
  transition: all 0.5s ease-in-out;
  /* Add transition */
}

.navbar.shrink {
  padding: 1rem 0;
  /* Reduced padding */
  transition: height 0.5s ease-in-out;
}

.tagl img{
  height:  8.5rem;
  transition: height .5s ease-in-out;
 }
.navbar.shrink .tagl img{
  height: 4.5rem;
  transition: all .5s ease-in-out;
}
.navbar.shrink .logo-img {
  height: 8rem;
  /* Shrink logo */
}

/* Your existing nav-container, mobile-menu-btn, nav-links styles */

.logo-img {
  height: 29rem;
  /* Example initial logo height */
  transition: height 0.5s ease-in-out;
  /* Transition for logo */
}

.navbar2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transition: all 0.5s ease-in-out;
}

.nav-container2 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1.3rem 0rem;
  max-width: 1290px;
  margin: 0 auto;
  gap: 0.1rem;
}

.logo-img {
  height: 400px;
}

.nav-links2 ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links2 a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: x-large;
  transition: var(--transition);
  position: relative;
}

.sidebar li a {
  color: black;
}

.nav-links2 a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

#show {
  display: none;
}

.nav-links2 a:hover::after {
  transform: scaleX(1);
}

.navbar2 {
  /* Your existing navbar styles */
  /* Example background */
  padding: 3\1rem 0;
  /* Example initial padding */
  position: fixed;
  /* Make it stick */
  top: 0;
  z-index: 100;
  transition: all 0.5s ease-in-out;
  /* Add transition */
}

.navbar.shrink {
  padding: 0rem 0;
  /* Reduced padding */
  transition: all 0.5s ease-in-out;
}

.tagl {
  z-index: 1000;
  color: var(--light);
}

.navbar.shrink .logo-img {
  height: 5rem;
  /* Shrink logo */
}

/* Your existing nav-container, mobile-menu-btn, nav-links styles */

.logo-img {
  height: 29rem;
  /* Example initial logo height */
  transition: height 0.5s ease-in-out;
  /* Transition for logo */
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-video {
  height: 110%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-container{
  position:relative;

}

.video-overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 115%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.hero-tagline {
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 0.3s forwards;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient);
  color: rgb(0, 0, 0);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s 0.6s forwards;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-section {
  padding: 7rem 0rem 3rem 0rem;
  background: white;
}

.absec {
  margin-bottom: 4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  padding: 2rem;
  background: #099c9c;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 0px;
}

.about-content p {
  color: white;
  text-align: center;
}

.sanskrit-text {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.2rem;
  color: white;
}

.quote {
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
  text-align: start;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2rem;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 18px;
}

.stat-card {
  background: #099c9c;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.stat-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  animation: count 2s;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  display: block;
}

.stat-label {
  font-size: 1.5rem;
  color: white;
  font-weight: 700;

  display: block;
}

.stat-label {
  width: 103%;
}

.odometer.plus {
  content: "+";
  position: absolute;
}

/* Sectors Section */
.sectors-section {
  padding: 11rem 0 0 0;
  background: white;
  margin-bottom: -8px;
  margin-top: -57px;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5rem;
}

.read-more {
  height: 70px;
  width: auto;
  background: #f0f0f0;
}

.sect {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.sector-card {
  height: 230px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.sector-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.sector-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  transition: var(--transition);
}

.sector-card:hover::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
}

.sector-content {
  position: absolute;

  bottom: 0;
  left: 0;
  right: 0;
  justify-content: flex-start;
  align-items: start;
  padding: 2rem;
  color: white;
  transform: translateY(20px);
  transition: var(--transition);
}

.benefit-card h3 {
  font-family: "Telex", sans-serif;
}

.rm {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sector-card:hover .sector-content {
  transform: translateY(0);
}

.sector-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

#read-more {
  height: 100px;
  width: 200px;
  border: none;
  background: none;
  display: block;
  color: white;
  backdrop-filter: blur(5px);
  border-radius: 50px;

  font-size: 1.5rem;
}

/* Why Exhibit Section */
.why-exhibit {
  padding: 11rem 0 0 0;
  background: white;
}

.whyto {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.hidden-sector {
  display: none;
  position: relative;
}

.read-more-card {
  cursor: pointer;
}

.container {
  position: relative;
}

.close-button {
  position: absolute;
  bottom: 20px;
  /* Adjust as needed */
  left: 50%;
  transform: translateX(-50%);
  /* Center the button */
  padding: 8px 15px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  cursor: pointer;
}

.benefit-card {
  padding: 2rem;
  background: #099c9c;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  color: #004d5c;
  transform: translateY(20px);
}

.benefit-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Contact Section */



.grid {
  height: 15rem;
  width: 25vw;
  align-items: center;
  justify-self: center;
}

#add1 img {
  height: 20px;
}

#add1 {
  display: flex;
  justify-content: center;
}

#refd1 {
  display: flex;
  justify-content: center;
}

.float {
  position: fixed;
  width: 45px;
  height: 45px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.text-blocks {
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  flex-direction: column;
}

.sectorcont {
  padding: 0 0 0 0;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 Cards Per Row */
  gap: 20px;
  max-width: 1370px;
  width: 90%;
  padding: 20px;
  justify-self: center;
  justify-items: center;
}

.card {
  width: 100%;
  height: 250px;
  perspective: 1200px;
  position: relative;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease-in-out;
}

.card:hover .card-inner {
  transform: rotateY(-180deg);
}

.card-front,
.card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.card-front {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(60, 60, 60, 0));
  color: white;
}

.card-back {
  transform: rotateY(180deg);
  color: white;
  font-size: 18px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;

}

/* Sector Backgrounds with Gradient */

.sector-2 {
  background: linear-gradient(45deg,
      rgba(255, 95, 109, 1),
      rgba(255, 195, 113, 1));
}

/* Initially Hidden Extra Cards */
.hidden {
  display: none;
}

/* Show More Button */
.show-more {
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(60, 60, 60, 0.7));
  cursor: pointer;
}

/* Hide "Show More" Button on Click */
.hidden-cards-visible .show-more {
  display: none;
}

/* Show Hidden Cards */
.hidden-cards-visible .hidden {
  display: flex;
  width: 100%;
}


#showminner {
  width: auto;
}

.grad {
  background: linear-gradient(45deg,
      rgb(0, 0, 0, 0.405),
      rgba(111, 111, 111, 0.405));
}

video {
  object-fit: cover;
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
}

.refbox {
  display: inline-flex;
  flex-direction: column;
  align-items: start;
  justify-self: start;
}
#contact{
  position: relative;
  background-color: white;
  height: 32rem;
}


#image1 {
  background: linear-gradient(45deg,
      rgb(0, 0, 0, 0.1),
      rgba(111, 111, 111, 0.1)),
    url(IMG_8130.JPG);
  background-size: 125%;
  background-position: center;
}

#image2 {
  background-image: url(IMG_8132.JPG);
  background-size: 110%;
  background-position: center;

}

#image3 {
  background-image: url(IMG_8133.JPG);
  background-size: 110%;
  background-position: center;
}

#image4 {
  background-image: url("https://images.unsplash.com/photo-1550583724-b2692b85b150?auto=format&fit=crop&q=80");
  background-size: 110%;
  background-position: center;
}

#image5 {
  background-image: url(IMG_8137.JPG);
  background-size: 110%;
  background-position: center;
}

#image6 {
  background-image: url(top-view-table-full-food.jpg);
  background-size: 110%;
  background-position: center;
}

#image7 {
  background-image: url(rm.jpg);
  background-size: 110%;
  background-position: center;
}

#image8 {
  background-image: url(pack.jpg);
  background-size: 110%;
  background-position: center;
}

#image9 {
  background-image: url(ss.jpg);
  background-size: 110%;
  background-position: center;
}

#image10 {
  background-image: url(auto.jpg);
  background-size: 110%;
  background-position: center;
}

#image11 {
  background-image: url(dt.jpg);
  background-size: 110%;
  background-position: center;
}

#image12 {
  background-image: url(ci.jpg);
  background-size: 110%;
  background-position: center;
}

#image13 {
  background-image: url(qc.jpg);
  background-size: 110%;
  background-position: center;
}

#image14 {
  background-image: url(id.jpg);
  background-size: 110%;
  background-position: center;
}

#image15 {
  background-image: url(du.jpg);
  background-size: 110%;
  background-position: center;
}
#showm{
  background-image: url(sm.jpg);
  background-size: 100%;
  background-position: center;
}
.contact-box {
  width: 100vw;
  color: blue;
  height: 20rem;
}
video{
  position:absolute;
}
#contus {
  margin-bottom: 0;
  color: #004d5c;
}

.comname {
  color: #004d5c;
}

.mobadd {
  display: inline-flex;
  gap: 1.2rem;
}

.num img {
  height: 25px;
}

.numbers p {
  font-size: 20px;
  color: #004d5c;
  text-decoration: none;
}

.address img {
  height: 20px;
}

.address {
  font-size: 20px;
  color: #004d5c;
}

.header {
  background: linear-gradient(to right, #0097b2, #48e3ff);
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 24px;
  width: 100vw;
  display: inline-flex;
  justify-content: space-evenly;
}

#orby img {
  justify-content: center;
  display: flex;
  height: 5.5rem;
}

.logos {
  display: inline-flex;
  align-items: center;
  gap: 23px;
}

.logo1 img {
  height: 5rem;
}

.logo2 img {
  height: 7.5rem;
  width: auto;
}

.map-section {
  text-align: center;

  width: 100vw;
}

.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: -8px;
  width: 100vw;
}

iframe {
  width: 100vw;
  height: 15rem;
  border: none;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .image-logo {
    display: flex;
    justify-content: end;
  }

  .hideOnmobile {
    display: none;
  }

  #hide {
    display: none;
  }

  .sidebar {
    display: none;
  }

  #show {
    display: block;
  }

  .tagl {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  #rfd2 {
    justify-content: space-evenly;
  }
}

@media (max-width: 768px) {
  .hideOnmobile {
    display: none;
  }

  #hide {
    display: none;
  }


  .sidebar {
    display: none;
  }

  .navbar {
    padding: 11rem 0px;
    width: 100vw;
  }

  .logo-img {
    height: 10rem;
  }

  .nav-container {
    margin-left: 2rem;
    gap: 0rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  #show {
    display: block;
  }

  .numbers {
    font-size: 1rem;
    align-items: end;
  }

  #num {
    justify-content: start;
    margin-top: 2rem;
  }

  .nav-links.active {
    display: block;
  }

  .nav-links2 ul {
    flex-direction: row;
    gap: 1rem;
  }

  .nav-links2 ul {
    display: flex;
    gap: 1rem;
    font-size: 1rem;
    list-style: none;
    flex-direction: row;
  }
  .sector-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }

  .nav-links2>#sideb {
    display: flex;
    flex-direction: column;
  }

  .header {
    display: flex;
    flex-direction: row;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.5rem;
  }

  .hero-video {
    width: 100vw;
  }

  .sty {
    margin-right: -12rem;
  }

  .info-item {
    margin-left: 1em;
    margin-top: 1em;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .navbar2 {
    width: 100%;
  }

  .mobadd {
    flex-direction: column;
    gap: 0;
    justify-content: space-evenly;
  }

  .header {
    flex-direction: column;
  }

  .logos {
    align-items: center;
    flex-direction: column;
  }

  #orby img {
    position: relative;
    left: 15px;
    height: 3rem;
  }

  #contus {
    font-size: 18px;
  }

  .comname {
    font-size: 17px;
  }

  .numbers p {
    font-size: 15px;
  }

  .address {
    font-size: 15px;
  }

  .logo2 img {
    height: 5rem;
  }
  .tagl img{
      height: 2.5rem;
  }
  .navbar.shrink .tagl img{
    height: 1.5rem;
  }
  .nav-container{
    gap: 2rem;
    flex-direction: cro;
  }

}
.numbers{
  text-decoration: none;
}
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .footer{
    font-size:8PX ;
  }
  .sanskrit-text {
    margin-bottom: 2px;
    font-size: 1rem;
  }

  .sidebar {
    width: 100%;
  }

  .about-content {
    padding: 1rem;
  }

  .nav-container {
    max-width: 100vw;
    margin-left: 26px;
  }


  .absec {
    margin-bottom: 5rem;
  }

  .sect {
    margin: 2rem 0 2rem 0;
  }

  .tagl {
    padding: 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-video {
    max-width: 100%;
    height: 100vh;
  }

  .video-overlay {
    height: 100vh;
    max-width: 24rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .navbar {
    padding: 40vh 0;
    position: sticky;
    display: inline-flex;
    flex-direction: column;
  }

  #show {
    display: block;
  }

  .tagl {
    font-size: 1rem;
  }

  .navbar .logo-img {
    height: 180px;
  }

  .navbar2 {
    max-width: 100vw;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .sectors-section {
    padding: 5rem 0 0 0;
  }

  .about-content p {
    font-size: 15px;
  }

  .quote p {
    font-size: 16px;
  }

}


@media (max-width: 768px) {
  .contacts-section {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .why-exhibit{
    padding: 1rem 0 0 0;
  }
  .navbar.shrink .logo-img {
    height: 3rem;
  }

  .nav-container2 {
    padding: 1.2rem 0;
  }

  .map {
    padding: 75px 101px 0 0;
    width: 94vw;
  }

  .sector-section {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .sanskrit-text {
    font-size: 1.3rem;

  }
  .absec{
    margin-bottom: 2.5rem;

  }
  .about-section{
    padding: 3rem 0 3rem 0;
  }
  .nav-container{
    flex-direction: row;

  }

  .quote p{
    font-size: 16px;
    margin-bottom: 31px;
  }

  .card {
    max-width: 90%;
    /* Makes the card responsive */
  }

  #image1,
  #image2,
  #image3,
  #image4,
  #image5,
  #image6,
  #image7,
  #image8,
  #image9,
  #image10,
  #image11,
  #image12,
  #image13,
  #image14,
  #image15,
  #showm {
    background-size: 125%;
  
    
  
    /* Adjust for smaller screens */
  }
 .card-container{
  justify-items: center;
  justify-self: center;

 }
 
}

.rmap {
  margin-top: 50px;
}

/* Ensure the sidebar is hidden by default */
.sidebar {
  position: fixed;
  left: -250px;
  /* Move it off-screen initially */
  width: 250px;
  height: 100%;
  background: transparent;
  backdrop-filter: blur(10px) !important;
  transition: left 0.3s ease-in-out;
}

/* When sidebar has 'open' class, slide it into view */
.sidebar.open {
  left: 0;
}
@media (max-width: 768px) {
  .sector-section {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      width: 100%;
      margin: 0 auto;
      min-height: 100vh;
      
      /* Ensuring proper centering in Safari */
      -webkit-box-pack: center;  /* Old Safari */
      -webkit-box-align: center; /* Old Safari */
      -ms-flex-pack: center;     /* IE */
      -ms-flex-align: center;    /* IE */
      
      /* Fix potential positioning issues */
      position: relative;
  }
}
@supports (-webkit-touch-callout: none) {
  .card-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }

  .card-container > *:not(.flip-card-container) { /* Target non-flip card containers */
    margin: 10px;
    box-sizing: border-box;
    flex: 0 0 auto;
  }

  .card-container > .flip-card-container{
    margin: 10px;
    box-sizing: border-box;
  }
}
.card-front, .card-back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.card-inner {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.card {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.card:hover .card-inner {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.show-more {
  width: 100%;
  height: 250px;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(60, 60, 60, 0.7));
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 600;
  color: white;
  text-align: center;
}


.hidden-cards-visible .show-more {
  display: none;
}

/* Ensure .card styles don’t interfere */
.card {
  width: 100%;
  height: 250px;
  perspective: 1200px;
  position: relative;
  cursor: pointer;
}

/* No changes needed for .hidden or .hidden-cards-visible rules */

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1370px;
  width: 90%;
  padding: 20px;
  margin: 0 auto;
  justify-items: center;
}

.card {
  width: 100%;
  height: 250px;
  perspective: 1200px;
  position: relative;
  cursor: pointer;
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.7s ease-in-out;
  -webkit-transition: -webkit-transform 0.7s ease-in-out;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}

.hidden {
  display: none;
}

.hidden-cards-visible .hidden {
  display: flex;
  width: 100%;
}

.hidden-cards-visible .show-more {
  display: none;
}

@supports (-webkit-touch-callout: none) {
  .card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    width: 90%;
    max-width: 1370px;
    margin: 0 auto;
  }

  .card-container > .card {
    margin: 10px;
    box-sizing: border-box;
    flex: 0 0 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
  }

  @media (max-width: 1024px) {
    .card-container > .card {
      flex: 0 0 calc(50% - 20px);
      max-width: calc(50% - 20px);
    }
  }

  @media (max-width: 768px) {
    .card-container > .card {
      flex: 0 0 calc(100% - 20px);
      max-width: calc(100% - 20px);
    }
  }
}

@media (max-width: 1024px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(1, 1fr);
  }
}
#showminner{
  width: 100%;
}
.sidebar {
  position: fixed;
  left: -250px; /* Standardized to left */
  width: 250px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1); /* Fallback for older browsers */
  -webkit-backdrop-filter: blur(10px); /* WebKit prefix for iOS */
  backdrop-filter: blur(10px); /* Standard */
  transition: left 0.3s ease-in-out;
  will-change: left; /* Optimize transitions */
  transform: translateZ(0); /* Force hardware acceleration */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.sidebar.open {
  left: 0;
}
