/* General Reset and Font Import */

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

/* Splash Screen */
#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 1s ease, visibility 1s ease;
}

.splash-logo {
  text-align: center;
  position: relative;
}

.splash-logo img {
  width: 150px;
  animation: fadeIn 1s ease forwards;
}

.splash-line {
  height: 2px;
  width: 0;
  background: black;
  margin: 10px auto;
  animation: lineGrow 1s ease forwards 0.5s;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lineGrow {
  from {
    width: 0;
  }
  to {
    width: 100px;
  }
}

html,
body {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: white;
  color: #333;
  display: flex;
  flex-direction: column;
}

/* Container */

.container {
  width: 80%;
  margin: 0 auto;
  max-width: 1200px;
}

.content {
  height: 2000px;
  /* Just for demonstration to allow scrolling */
}

header {
  background: white;
  color: black;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

header.hidden {
  opacity: 0;
  transform: translateY(-100%);
}

header .headerMainDiv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  margin: 0 auto;
  
}

header .logo {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

header h1 {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 2em;
  text-align: left;
  white-space: nowrap;
  font-weight: bold;
}


nav {
  margin-left: 250px;
  white-space: nowrap;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: -20px;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  font-family: "Times New Roman", Times, serif;
  font-size: medium;
  color: black;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

nav ul li a:hover {
  font-family: "Times New Roman", Times, serif;
  font-size: medium;
  color: #412775;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

nav ul li a.active {
  font-family: "Times New Roman", Times, serif;
  font-size: medium;
  color: #77b13f !important;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
  -webkit-transition: background-color 0.3s ease;
  -moz-transition: background-color 0.3s ease;
  -ms-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
}

nav ul li a:active {
  font-family: "Times New Roman", Times, serif;
  font-size: medium;
  color: #77b13f !important;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.headerlogoWithText {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  
}

.navbarLinks {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  margin-left: auto;
  margin-top: 19px;
}

.close-btn {
  display: none;
}

/* Hamburger icon Responsive Design open*/

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
}

header .logo {
  height: 100px;
  width: 100px;
  object-fit: contain;
  margin-right: 3px !important;
}

header h1 {
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
  margin-top: 10px !important;
}

.navbarLinks ul.open {
  right: 0px;
  top: 2px;
  height: 100vh !important;
}

main {
  padding-top: 120px;
}

.hero-slider {
  background: url("bacckground1.jpg");
  background-size: cover; /* image screen ko pura cover karegi */
  background-position: center; /* center me set hogi */
  color: white;
  padding: 150px 0;
  text-align: center;
  height: 80vh;
  position: relative;
  overflow: hidden;

  opacity: 1;
}

.hero-slider:hover::before {
  background: rgba(0, 0, 0, 0);
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
  z-index: 2;
}

.hero-slider-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  position: relative;
  z-index: 5;
  animation: slideFromTop 2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideFromTop {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Common animation style */
#hero-heading h2,
#hero-heading p,
#hero-heading p1,
.read-more,
.horizontal-line {
  opacity: 0;
}

/* Jab splash hat jaye tab animate hoga */
.splash-removed #hero-heading h2 {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.5s;
}

.splash-removed #hero-heading p {
  animation: fadeUp 1s ease forwards;
  animation-delay: 1s;
}

.splash-removed #hero-heading p1 {
  animation: fadeUp 1s ease forwards;
  animation-delay: 1.5s;
}

.splash-removed .horizontal-line {
  animation: fadeUp 1s ease forwards;
  animation-delay: 2s;
}

.splash-removed .read-more {
  animation: fadeUp 1s ease forwards;
  animation-delay: 2s;
}

.hero-slider p1 {
  font-size: 1.1rem;
  color: #e0e0e0;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation-delay: 1s;
  width: 50%;
}

.hero-slider h2 {
  font-family: "Poppins", sans-serif; /* Modern clean font */
  font-size: 3rem; /* Balanced heading size */
  font-weight: 700; /* Bold & strong */
  margin: 0;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); /* Subtle shadow */
  letter-spacing: 1px; /* Spacing for elegance */

  animation-delay: 0.2s;
}

.hero-slider p {
  font-size: 1.25rem; /* Professional body text */
  color: #f0f0f0; /* Softer white shade */
  font-family: "Open Sans", sans-serif; /* Clean & readable */
  line-height: 1.6; /* Better readability */
  max-width: 700px; /* Prevents too-wide text */
  margin: 15px auto 0; /* Center aligned */
  animation-delay: 0.6s; /* ke baad aaye */
}

.hero-slide {
  display: none;
}

.hero-text {
  position: relative;
}

.hero-slide.active {
  display: block;
}

.read-more-container {
  margin-top: 15px;
  display: flex;
  align-items: center;
}

.horizontal-line {
  display: inline-block;
  width: 90px;
  height: 2px;
  background-color: white;
  vertical-align: middle;
}

.read-more {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  background-color: transparent;
  font-weight: bold;
  transition: color 0.3s;
  animation-delay: 1.4s; /* sabse baad me aaye */
}

.read-more:hover {
  color: #2b83e0;
  /* Adjust the hover color as needed */
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4); /* thoda softer */
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  z-index: 5;
  border-radius: 50%; /* round button look */
  transition: all 0.3s ease; /* smooth hover effect */
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7); /* hover pe thoda dark */
  transform: translateY(-50%) scale(1.1); /* thoda zoom effect */
}

.arrow-left {
  left: 15px;
}

.arrow-right {
  right: 15px;
}

#viewMoreBtn,
#viewLessBtn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #319e52, #412775);
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

#viewMoreBtn:hover,
#viewLessBtn:hover {
  background: linear-gradient(135deg, #319e52, #77b13f);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#viewMoreBtn:active,
#viewLessBtn:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* Sections */

section {
  padding: 60px 0;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

section h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

section p {
  font-size: 1.2em;
  line-height: 1.6;
  text-align: center;
  max-width: 2000px;
 
}
/* About Section */





/* Parent li */
.dropdown {
  position: relative;
}

/* Hide submenu by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 200px;
  z-index: 1000;
}

/* Submenu items */
.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu li a {
  text-decoration: none;
  color: #333;
  display: block;
}

.dropdown-menu li a:hover {
  background: #f2f2f2;
  color: #77b13f;
}

/* Show on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}



#about {
  background-image: url("about.jpeg");
  background-color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 20px;
  margin-top: -10px;
}


#about .info-box {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 40px;
  margin: 0 auto 50px auto; /* center horizontally + bottom margin */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);

  max-width: 1200px; /* adjust width as per need */
  width: 90%;       /* responsive width for smaller screens */
}


#about .info-box::before {
  content: "";
  position: absolute;
  top: 5px;
  /* Slight offset from the edges */
  left: 5px;
  right: 5px;
  bottom: 5px;
  background-color: #f5f5f5;
  /* Lighter background for contrast */
  border: 1px solid #e0e0e0;
  /* Light border to match modern aesthetics */
  border-radius: 10px;
  z-index: -1;
}

#about .info-box-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
  font-family: "Arial", sans-serif;
  /* Clean and professional font */
}

#about .info-box-item.left {
  margin-right: auto;
}

#about .info-box-item.right {
  margin-left: auto;
}

#about .info-box-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  /* Thinner separator for a refined look */
  background-color: #e0e0e0;
  /* Light color to blend subtly */
}

/* Default state (hidden & left side) */
#about .info-box-item h3 {
  border-bottom: 2px solid black;
  padding-bottom: 12px;
  margin-bottom: 20px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;

  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s ease-out;
}

/* Active state (animate into view) */
#about .info-box-item h3.animate {
  opacity: 1;
  transform: translateX(0);
}






#about .info-box-item p {
  color: #666;
  /* Subtle color for professional text */
  font-size: 16px;
  /* Optimal font size for readability */
  margin-top: 20px;
  text-align: center;
  line-height: 1.8;
  /* Improved line height for easier reading */
  font-family: "Arial", sans-serif;
  /* Consistent font for a clean look */
}


#about h2 {
  color: #222;             /* black se thora soft shade */
  font-size: 2.2em;
  font-weight: 600;        /* bold but clean */
  text-align: center;      /* heading center ho */
  margin-bottom: 20px;     
  position: relative;
}


#about h4 {
  font-family: "Georgia", serif;   /* Times se thoda modern look */
  text-align: center;             /* paragraph justify */
  font-size: 1.2em;
  color: #1b1b1b;
  font-weight: 400;
}

#about h3 {
  font-family: "Times New Roman", Times, serif;
  color: black;
  font-size: 1.5em;
}

#about p b {
  font-weight: bold;
}

#about h3 {
  text-align: center;
}



#about h5 {
  font-size: 1.5em;
  color: black;
  text-align: center;
  font-weight: 50;
}

#about p {
  font-family: "Times New Roman", Times, serif;
  font-weight: 200;
  color: black;
}

#about p2 {
  color: black;
  font-size: large;
  text-align: center;
}

#about ul {
  list-style: none;
  padding: 0;
}

#about ul li {
  margin-bottom: 10px;
  color: black;
}

.button-container {
  text-align: center;
  margin-top: 20px;
}

.button-container button {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  outline: 2px solid #004794;
  background-color: white;
  border: none;
  border-radius: 5px;
}

.button-container button:focus {
  outline-color: #da4c2c;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;   /* divider line between members */
}

.team-member img {
  border-radius: 50%;
  width: 260px;   /* bigger */
  height: 260px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);  /* thoda deeper shadow */
  transition: transform 0.3s ease;
}

.team-member img:hover {
  transform: scale(1.05);
}

.team-member h3 {
  font-size: 1.5em;
  margin: 0;
  color: #0a66c2;          /* professional blue accent */
  font-weight: 600;
}

.team-member h3 span {
  display: block;
  font-size: 1.5em;
  font-weight: 600;
  color: #444444;
  margin-top: 4px;
}

.team-member p {
  font-size: 1.2em;
  color: #444;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 650px;        /* paragraph limit */
  text-align: justify;
}


#ideology {
  background-color: #d4d3d3;
  /* Light grey background color */
  padding: 40px 20px;
  /* Padding for spacing */
  text-align: center;
  /* Center-align text */
}

#ideology .container {
  max-width: 1200px;
  /* Limit container width */
  margin: 0 auto;
  /* Center container horizontally */
}

#ideology h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: 2em;
  /* Larger font size for the heading */
  color: #333;
  /* Dark color for the heading text */
  margin-bottom: 20px;
  /* Space below the heading */
}
#ideology p {
  font-size: 1.2em; /* Slightly larger font size for the paragraph */
  color: black;
  line-height: 1.6; /* Line height for better readability */
  width: 100%; /* ya 1100px agar fixed chahiye, lekin percentage better hai */
  
  margin: 0 auto; /* Center-align horizontally */
  text-align: center; /* Agar text bhi center karna ho */
}

section #history .container p {
  font-weight: 100;
  width: 1000px;
  margin: 0 auto; /* Center-align horizontally */
}
#history p b {
  font-weight: bold;
}


/* Fade Up Animation */
.fade-ups {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-ups.show {
  opacity: 1;
  transform: translateY(0);
}


#products {
  padding: 40px 0;
  background-color: white;
  text-align: center;
}
#products p {
  width: 80%;       /* Paragraph width */
  margin: 0 auto;   /* Horizontally center */
  text-align: center; /* Optional: agar text bhi center chahiye */
}


#products .container {
  text-align: center;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.product-item {
  opacity: 0;
  transform: translateY(50px); /* neeche se upar aayega */
  transition: all 0.8s ease-out;
}

.product-item.show {
  opacity: 1;
  transform: translateY(0);
}


.product-item img {
  width: 260px !important;
  height: 150px !important;
  box-shadow: 0px 0px 10px #d4d3d3;
  border-radius: 15px;
  object-fit: contain;
  border: 5px solid #004794;
}

#products .product-item {
  background: #fff;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

/* Hover effect */
#products .product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Image styling */
#products .product-item img {
  max-width: 100%;
  max-height: 100%;

  transition: transform 0.3s ease;
}

/* Zoom on hover */
#products .product-item:hover img {
  transform: scale(1.02);
}

.product-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.product-item p {
  color: #555;
}

/* Popup Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000 !important;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  border-radius: 50px !important;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#events .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

#events h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

#events p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

#events p1 {
  font-size: 1.5em;
  margin-bottom: 30px;
  font-family: "Times New Roman", Times, serif;
}

#inauguration .image-gallery p,
#malaysia .image-gallery p,
#thailand .image-gallery p,
#asiapacific .image-gallery p,
#biennial .image-gallery p {
  font-size: 1.2em;
  color: #333;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: justify;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  padding-left: 40px;
  /* Add space on the left */
  padding-right: 40px;
  /* Add space on the right */
  text-align: center;
}

#inauguration .image-gallery h3,
#malaysia .image-gallery h3,
#thailand .image-gallery h3,
#asiapacific .image-gallery h3,
#biennial .image-gallery h3 {
  font-family: "Times New Roman", Times, serif;
  font-size: 1.7em;
}

.albums {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.album {
  width: 350px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.album img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.album p,
.album p1 {
  margin-top: 10px;
  font-size: 1.1em;
  font-weight: bold;
}
/* Hover effect */

.album:hover {
  transform: scale(1.05);
}
/* Hidden Album Images */

.album-images {
  display: none;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
  /* Added margin to create space between images and footer */
}

.album-images .image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.album-images img {
  width: 200px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.album-images img:hover {
  transform: scale(1.1);
}
/* Lightbox container */

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.8);
  /* Dark overlay */
}
/* Lightbox content */

.lightbox-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%;
  max-height: 80%;
  margin: auto;
  margin-top: 30px;
  z-index: 10000;
  /* Ensure it's on top of other elements */
}
/* Close button */

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
/* Navigation arrows */

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 36px;
  transition: background-color 0.6s ease;
  user-select: none;
}

.prev {
  left: 0;
  border-radius: 0 3px 3px 0;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover */

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  /* Darker background on hover */
}
/* Modal styles */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#policies .container {
  padding: 20px;
}

#policies .section {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
}

#policies .section h2 {
  margin-top: 0;
  color: #333;
}

#policies h1 {
  margin-top: 0;
  color: #333;
  text-align: center;
  font-size: 2em;
  font-family: "Times New Roman", Times, serif;
}

#policies .section p {
  color: #555;
  line-height: 1.6;
}

#map {
  height: 400px;
  width: 100%;
  margin-top: 20px;
  position: relative;
}

#contact .container .leaflet-control-zoom {
  z-index: 100;
  /* Ensure zoom controls are on top */
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#special-paragraph {
  font-size: 1.2em !important;
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  margin-top: -20px;
}

#contact .container p {
  font-size: 0.9em;
  text-align: center;
}

.contact-info .address,
.contact-info .phone,
.contact-info .email {
  font-size: 1rem;
}

.contact-info a {
  color: #007bff;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: -10px;
  border-radius: 10px;
}

.contact-form-section h3 {
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 2em;
  color: #000;
  margin-bottom: 30px;
}

.contact-form-section .form-group {
  margin-bottom: 20px;
}

.contact-form-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
  font-family: "Roboto", sans-serif;
}

.contact-form-section input,
.contact-form-section textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
  outline: none;
  border-color: #77b13f;
}

.contact-form-section .btn {
  display: inline-block;
  background-color: #319e52;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-family: "Times New Roman", Times, serif;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form-section .btn:hover {
  outline: 2px solid #77b13f; /* Green outline */
  border: 2px solid 77b13f; /* Green border */
  background-color: white; /* White background */
  color: #77b13f;
}

footer {
  background-color: #444242;
  color: white;
  padding: 20px 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 100%;
  bottom: 0;
  margin-top: -20px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 20px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  max-width: 60%;
  margin: 0 auto;
  /* Center the content in the middle */
}

.footer-info p {
  text-align: left;
  margin: 0;
  padding: 10px 0;
}

.footer-info i {
  margin-right: 8px;
  color: #d3d0d0;
}

.footer-info a {
  color: inherit;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-divider {
  border: 0;
  height: 1px;
  background: #ddd;
  /* Line color */
  margin: 10px 0;
  /* Space above and below the line */
  width: 80%;
  /* Adjust this percentage to change the width of the line */
  max-width: 500px;
  /* Optional: Set a maximum width for larger screens */
  margin-right: -50px;
  /* Center the line horizontally */
}

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icon {
  font-size: 32px;
  color: #d3d0d0;
  text-decoration: none;
}

.social-icon:hover {
  color: #319e52;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: white;
  border-top: 1px solid #ddd;
  margin-bottom: -20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: black;
  margin-left: 380px;
}

.footer-bottom img {
  margin-right: 400px;
}

.footer-logo {
  height: 50px;
}

.footer-left {
  font-size: 1em;
  flex: 1;
  text-align: left;
  margin-right: 60px;
}
footer .footer-left {
  margin-top: 10px;
}

.footer-center {
  flex: 2;
  text-align: center;
  margin-right: -50px;
}

.footer-right {
  flex: 1;
  text-align: right;
  margin-left: 100px;
}

.footer-section.social-connect {
  text-align: center;
  /* Center-aligns the text and icons */
  padding: 20px;
  /* Adjust as needed */
}

.footer-section.social-connect p {
  font-size: 16px;
  /* Adjust font size as needed */
  margin-bottom: 10px;
  /* Space between text and line */
}

.divider-line {
  border: 0;
  height: 1px;
  background: #ddd;
  /* Line color */
  margin: 10px 0;
  /* Space above and below the line */
}

.social-media-icons {
  display: flex;
  justify-content: center;
  /* Centers icons horizontally */
}

.social-icon {
  margin: 0 10px;
  font-size: 24px;
  color: #d3d0d0;
  text-decoration: none;
}

.social-icon:hover {
  color: #007bff;
}

.bottom {
  position: relative;
}

.bottom-arrow {
  position: absolute;
  right: 20px;
  /* Adjust as needed */
  bottom: 20px;
  /* Adjust as needed */
  font-size: 24px;
  /* Adjust size as needed */
  cursor: pointer;
  background-color: #fff;
  /* Adjust background color as needed */
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  /* Optional shadow for better visibility */
  transition: background-color 0.3s;
}

.bottom-arrow:hover {
  background-color: #f0f0f0;
  /* Adjust hover background color as needed */
}

.mobile-only,
.cta-btn {
  display: none;
}
.navbarLinks img {
  display: none;
}
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  h2 {
    font-size: 1.5rem;
  }
  p {
    font-size: 1rem;
  }

  /* Show Hamburger */
  .hamburger {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1001;
  }

header .logo {
  height: 60px;
  width: 60px;
 
}

  /* Hide nav menu initially */
  .navbarLinks ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70vw; /* better than 50% for modern design */
    height: 100vh; /* full screen height for consistent size */
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    transition: right 0.3s ease-in-out;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 0 0 0 10px;
    padding-top: 100px;
    overflow: hidden; /* 💡 add this */
    border-radius: 10px 0 0 10px; /* Rounded corners for modern look */
  }
  .navbarLinks img {
    display: block !important;
  }

  /* When menu is open */
  .navbarLinks ul.open {
    right: 0;
  }
  /* Hide hamburger when menu is open */
  .navbarLinks ul.open ~ .hamburger {
    display: none;
  }

  .navbarLinks ul li a {
    font-size: 14px;
  }

  .navbarLinks ul li a:hover {
    background-color: #f0f0f0;
  }

  .navbarLinks ul li {
    padding: 10px 0;
  }

  .navbarLinks ul li:last-child {
    border-top: 1px solid #ccc;
    margin-top: 20px;
  }

  .mobile-only,
  .cta-btn {
    display: block;
  }

  .cta-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .cta-btn {
    color: #77b13f;
    padding-top: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    font-size: 14px;
    margin-left: 25px;
  }

  .mobile-contact {
    padding: 20px;
    font-size: 14px;
    color: #333;
    margin-left: 5px;
  }

  .mobile-contact p {
    margin: 5px 0;
    font-size: 12px;
  }
  .mobile-only .mobile-contacts img,
  p8 {
    margin-left: 25px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    font-family: "Times New Roman", Times, serif;
  }

  .mobile-social {
    display: flex;
    gap: 15px;
    padding: 0 20px 20px 20px;
    margin-left: 5px;
  }

  .mobile-social a {
    color: #333;
    font-size: 15px;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px); /* Blur effect */
    background-color: rgba(0, 0, 0, 0.3); /* Optional: dark transparent layer */
    z-index: 5;
    display: none; /* Hidden by default */
  }

  #overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
  }
  #overlay.active {
    display: block;
  }

  /* Close button */
  .close-btn {
    display: block;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
  }

  /* Hide default nav on desktop */
  .navbarLinks ul li {
    width: 100%;
    text-align: left;
    padding-left: 20px;
    margin: -5px 0;
  }

  .navbarLinks ul li a {
    display: block;
    padding: 5px;
    width: 100%;
    color: #333;
    text-decoration: none;
  }

  .navbarLinks ul li a.active {
    font-size: 14px;
    background: rgba(202, 201, 201, 0.3);

    border-left: 4px solid #77b13f;
    border-bottom: 1px solid #77b13f;
  }

  .headerMainDiv {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }

  .headerlogoWithText h1 {
    font-size: 15px;
    font-weight: bold;
  }
  .headerlogoWithText h1 {
    display: none;
  }
#home{
  margin-top: -20px;
}

  #home h2 {
    font-size: 1.5rem;
  }
  #home p {
    font-size: 1rem;
    width: 90%;
  }
  #home p1 {
    font-size: 0.8rem;
  }

  .hero-text a {
    font-size: 0.9rem;
  }
  .hero-slider {
    height: 80vh;
  }

  .read-more {
    padding: 5px 15px;
    border: 0.5px solid white;
    border-radius: 3px;
  }

  .arrow {
    margin-top: 20px;
    padding: 2px; /* chhota button */
    font-size: 14px; /* arrow icon ya text chhota */
    background: rgba(0, 0, 0, 0.3); /* halka background */
  }

  .arrow-left {
    left: 5px; /* side se thoda andar */
  }

  .arrow-right {
    right: 5px;
  }

.navbarLinks .dropdown-menu {
    display: none !important; /* force hide */
    position: absolute;
    top: 100%;
height: 300px;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 250px !important;
margin-left: 20px;
    padding: 10px 0;
  
    z-index: 1000;
  border-radius: 5px;
  }

  /* Click se active hone par show ho */
  .dropdown.active .dropdown-menu {
    display: block !important;
  }

  
  
 
  
  #about .team-member h3 {
    font-size: 1rem;
  }
  #about .info-box h5 {
    font-size: 1rem;
  }
  #about .info-box p2 {
    font-size: 1rem;
  }

  #about .info-box h3 {
    font-size: 1rem;
  }

  #ideology h2 {
    font-size: 1.5rem;
  }
  #ideology p {
    font-size: 1rem;
  }

  #products h2 {
    font-size: 1.5rem;
  }
  #products p {
    font-size: 1rem;
  }

  /* Container for products */
  .products-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 10px; /* Space between items */
    padding: 10px;
  }

  /* Each product card */
  .product-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
  }

  /* Product image inside card */
  .product-item img {
    width: 100px !important;
    height: 50px !important;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 5px;
    border: 2px solid #004794;
  }
  /* Hover effect */
  #products .product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  /* Zoom on hover */
  #products .product-item:hover img {
    transform: scale(1.05);
  }

  #viewMoreBtn,
  #viewLessBtn {
    padding: 5px 12px;
    font-size: 15px;
    border-radius: 5px;
  }

  .albums {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .album {
    flex: 0 0 45%;
    box-sizing: border-box; /* include padding/margin in width */
    margin-bottom: 10px;
    text-align: center;
    width: 48%; /* 2 columns side by side */
    margin-bottom: 10px;
  }

  .album img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
  }

  #events p1 {
    font-size: 10px !important;
  
  }
  .album{
 line-height: 0.5 !important; /* line height adjust karne ke liye */
 
  }

  #map {
    height: 200px;
    width: 100%;
    margin-top: 20px;
    position: relative;
  }

  .contact-form-section {
    padding: 40px 15px;
    margin-top: 30px;
  }

  .contact-form-section h3 {
    font-size: 1.5em;
  }

  .contact-form-section input,
  .contact-form-section textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .contact-form-section .btn {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%; /* Full width button on small screens */
  }

  /* === Footer Main Container === */
  .footer-container {
    display: flex;
    flex-direction: column; /* Stack everything vertically */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }

  /* === Footer Content Section === */
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  /* Remove flex here for clean text centering */
  .footer-left,
  .footer-center,
  .footer-info {
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    text-align: center;
  }

  /* === Footer Info === */
  .footer-info {
    max-width: 100%;
    margin: 10px auto;
    text-align: center;
  }
  .footer-divider {
    margin: 10px auto;
    width: 80%;
    border: 0;
    height: 1px;
    background-color: #ccc;
  }

  .footer-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    text-align: center;
  }

  /* === Footer Bottom Section === */
  .footer-bottom {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    text-align: center;
  }

  /* === Footer Bottom Elements === */
  .footer-bottom p,
  .footer-bottom img {
    margin: 0 auto;
    text-align: center;
  }

  #about h2 {
    font-size: 1.5rem;
  }
  #about p {
    font-size: 1rem;
  }

  #about .info-box-item.left {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  #about .info-box-item.right {
    margin-left: 0px !important;
  }
  #about .info-box-item {
    flex: 1;
    text-align: center;
    padding: 0px;
    position: unset;
  }

  .team-member {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column !important;
    align-items: center;
  }

  .team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 10px;
  }

  .team-member h3 {
    font-weight: bold;
    font-size: 1rem;
    width: 100%;
  }
  #about h4 {
    font-size: 1rem;
  }

  #history h2 {
    font-size: 1.5rem;
  }

  #history p {
    font-size: 1rem;
  }

  #events h2 {
    font-size: 1.5rem;
  }
  #events p {
    font-size: 1rem;
  }

  #events p1 {
    font-size: 1rem;
  }

  #inauguration .image-gallery h3,
  #malaysia .image-gallery h3,
  #thailand .image-gallery h3,
  #asiapacific .image-gallery h3,
  #biennial .image-gallery h3 {
    font-size: 1.5rem;
  }

  #inauguration .image-gallery p,
  #malaysia .image-gallery p,
  #thailand .image-gallery p,
  #asiapacific .image-gallery p,
  #biennial .image-gallery p {
    font-size: 1rem;
  }

  #policies h1 {
    font-size: 1.5rem;
  }
  #policies p {
    font-size: 1rem;
  }

  #policies .container h2,
  #contact h2 {
    font-size: 1.5rem;
  }

  #policies .container p,
  #contact p {
    font-size: 1rem;
  }
  #special-paragraph {
    font-size: 1rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  body {
    overflow-x: hidden;
    margin-top: 20px !important;
  }

  h2 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1.1rem;
  }

  /* Hide hamburger in this range */
  .hamburger {
    display: none !important;
  }

  /* Header wrapper */
  header {
    text-align: center;
  }

  /* Header main div to stack logo and nav vertically */
  .headerMainDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
  }

  /* Logo + Text */
  .headerlogoWithText {
    text-align: center;
  }

  .headerlogoWithText h1 {
    font-size: 20px;
    font-weight: bold;
  }

  /* Navbar wrapper */
  .navbarLinks {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Nav menu ul */
  #navMenu {
    display: flex;
    justify-content: center;
    gap: 20px; /* optional spacing between links */
    list-style: none;
    padding: 0;
    margin: 0;
  }

  /* Nav links */
  .navbarLinks ul li a {
    font-size: 18px;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #000; /* optional */
  }

  .hero-slider {
    height: auto;
    max-height: 600px;
  }
  #home h2 {
    font-size: 2.2rem;
  }

  #home p {
    font-size: 1.6rem;
    width: 80%;
  }

  #about .info-box h3,
  #about .info-box h5,
  #about .info-box p2,
  #about h4,
  #about p,
  #history p,
  #events p,
  #events p1,
  #policies h1,
  #policies p,
  #policies .container h2,
  #policies .container p,
  #contact p,
  #ideology p,
  #products p {
    font-size: 1.1rem;
  }
  #contact h2,
  #policies h1,
  #ideology h2,
  #products h2,
  #about h2,
  #history h2,
  #events h2 {
    font-size: 1.5rem;
  }

  #product .product-item {
    width: 180px;
    height: 60px;
    padding: 10px;
  }

  .team-member img {
    width: 220px;
    height: 220px;
  }

  .team-member h3 {
    font-size: 1.2rem;
  }

  #inauguration .image-gallery h3,
  #malaysia .image-gallery h3,
  #thailand .image-gallery h3,
  #asiapacific .image-gallery h3,
  #biennial .image-gallery h3 {
    font-size: 1.5rem;
  }

  #inauguration .image-gallery p,
  #malaysia .image-gallery p,
  #thailand .image-gallery p,
  #asiapacific .image-gallery p,
  #biennial .image-gallery p {
    font-size: 1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .footer-info {
    max-width: 100%;
    font-size: 13px;
  }
  footer .footer-content .footer-divider {
    width: 900px;
    align-self: center;
  }

  .footer-info p {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    margin-bottom: 0;
  }

  .footer-bottom p {
    margin-left: 0;
    font-size: 13px;
  }

  .footer-bottom img {
    margin-right: 0;
    margin-top: 10px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
    margin: 10px 0;
    flex: 1 1 100%;
  }

  .footer-section.social-connect p {
    font-size: 14px;
  }

  .social-media-icons {
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-icon {
    font-size: 20px;
  }

  .bottom-arrow {
    bottom: 10px;
    right: 10px;
    font-size: 20px;
    padding: 4px;
  }
}
