*,
*::after,
*::before {
  box-sizing: border-box;
}
:root {
  --gap-xxs: 0.3rem;
  --gap-xs: 0.5rem;
  --gap-s: 0.8rem;
  --gap-md: 1rem;
  --gap-lg: 1.2rem;
  --gap-xl: 1.5rem;
  --gap-xxl: 2rem;
  --gap-xxxl: 3rem;

  --font-xs: 0.5rem;
  --font-s: 0.8rem;
  --font-md: 1rem;
  --font-l: 1.5rem;
  --font-xl: 2rem;
  --font-xxl: 2.5rem;
  --font-xxxl: 3rem;

  --main-color: #645dd7;
  --secondry-color: #ffc40c;
  --black-color: #000000;
  --white-color: #ffffff;
  --tertiary-color: #048071;

  --full-value: 100%;
  --sd-fraction: 1fr;
}
@media (width >= 600px) {
  :root {
    --gap-xxs: 0.3rem;
    --gap-xs: 0.5rem;
    --gap-s: 0.8rem;
    --gap-md: 1rem;
    --gap-lg: 1.2rem;
    --gap-xl: 1.5rem;
    --gap-xxl: 2rem;
    --gap-xxxl: 3rem;

    --font-xs: 0.5rem;
    --font-s: 0.8rem;
    --font-md: 1rem;
    --font-l: 1.5rem;
    --font-xl: 2rem;
    --font-xxl: 2.5rem;
    --font-xxxl: 3rem;

    --main-color: #645dd7;
    --secondry-color: #ffc40c;
    --tertiary-color: #048071;
    --black-color: #000000;
    --white-color: #ffffff;

    --full-value: 100%;
    --sd-fraction: 1fr;
  }
}
html,
body {
  width: var(--full-value);
  margin: 0;
  padding: 0;
}
body {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Poppins, sans-serif;
  font-size: var(--font-s);
}
body h1,
h2,
h3,
h4,
p {
  margin: 0px;
}
.l-header {
  flex: 1 0 auto;
  animation: flyin 1s ease-in-out;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100vw;
}
.l-main {
  flex: 2 1 auto;
}
.l-footer {
  padding-top: 30px;
  animation: slide-in-up 1s cubic-bezier(0, -0.03, 0.15, 1.11);
}
@keyframes flyin {
  0% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes slide-in-up {
  0% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* Header */

.c-nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--main-color);
  padding: 0px 50px;
}
.logo-image {
  width: 64px;
  height: 65px;
}
@media (width <= 768px) {
  .c-nav-bar {
    padding: 0px 20px;
  }
} /* Hamburger menu */
nav,
.manu-checkbox,
.c-nav-bar-list,
label .close {
  display: none;
}
.manu-checkbox:checked ~ nav {
  display: block;
  position: absolute;
  cursor: pointer;
  width: 150px;

  transition: 3s ease-in-out;
  z-index: 10;
  top: 68px;
  right: 0;
  background-color: var(--main-color);
}
.manu-checkbox:checked ~ label .hamburger {
  display: none;
}
.manu-checkbox:checked ~ label .close {
  display: block;
}
nav a {
  display: block;
  color: var(--white-color);
  text-decoration: none;
  padding: 10px 20px;
}
.hamburger {
  color: var(--white-color);
}
@media (width >= 630px) {
  nav,
  .c-nav-bar-list {
    display: flex;
    gap: var(--gap-md);
  }
  .hamburger-icon {
    display: none;
  }

  nav a {
    display: inline;
    margin: 0%;
    padding: 5px;
  }
}
.hamburger,
.close {
  font-size: 1.5rem;
}
nav a:hover {
  color: var(--white-color);
  background-color: var(--black-color);
  text-decoration: underline;
  border-radius: 0.5rem;
}
.active {
  background-color: var(--secondry-color);
  border-radius: 0.5rem;
  color: var(--black-color);
}

/* Hero section */
.image-container-2 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url(../media/images/hero-pics.png);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.heading-hero-2 {
  position: absolute;
  color: var(--white-color);
  font-size: var(--font-xxl);
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.cta-btn {
  position: absolute;
  left: 40px;
  bottom: 40px;
  text-decoration: none;
  font-size: var(--font-md);
  font-weight: 500;
  background-color: var(--secondry-color);
  padding: 10px 20px;
  border-radius: 5px;
}
.cta-btn:focus {
  outline: 2px solid var(--white-color);
}
.cta-btn:hover {
  background-color: var(--main-color);
  scale: 1.1;
}

/* display-section */
.display-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: var(--gap-md);
  padding: 10px 40px;
}
@media (width <= 768px) {
  .display-section {
    grid-template-columns: repeat(2, 1fr);
  }
}
.display-section img {
  width: 100%;
  height: 80%;
}

/* feature-section */
.feature-container {
  background-color: #cad3d4;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  width: 100%;
  padding: 20px;
}

.cols-feature {
  display: flex;
  padding: 20;
  gap: var(--gap-xxl);
  width: 450px;
}

.image-feature {
  width: 100%;
}
.left-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
  gap: var(--gap-md);
}
.right-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
  gap: var(--gap-md);
}
@media (width <= 768px) {
  .left-col,
  .right-col {
    max-width: 100%;
    padding: 20px;
  }
}

/* image-section */

.mathematical-image {
  width: 100%;
  padding-top: 20px;
}
/* Explore-section */
.explore-container {
  background-color: #096971;
  color: var(--white-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 20px;
  gap: var(--gap-xxl);
}
.col-left-explore {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 300px;
  align-items: center;
  gap: var(--gap-md);
}
.col-left-explore p {
  text-align: justify;
}
.inner-col-left-explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-s);
}
.image-explore {
  width: 100%;
  height: 279px;
}
@media (width <= 600px) {
  .col-left-explore {
    max-width: 100%;
  }
}
.inner-col-left-explore h3 {
  color: var(--black-color);
}
.letter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
  gap: var(--gap-xxl);
  width: 100%;
  background-color: #cad3d4;
}
.inner-letter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-xs);
}
.inner-letter-container p {
  font-size: var(--font-md);
  text-align: center;
}
.subcribe-email-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.email-input {
  flex: 1;
  padding: 10px 30px;
  border-radius: 0.3rem 0 0 0.3rem;
}
.email-input :focus {
  outline: 2px solid var(--black-color);
}

.subcribe-btn {
  text-align: center;
  background-color: var(--secondry-color);
  color: var(--white-color);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 0 0.3rem 0.3rem 0;
}
.subcribe-btn:hover {
  background-color: var(--main-color);
}
@media (width <= 440px) {
  .email-input {
    padding: 5px;
    flex-wrap: nowrap;
  }
  .subcribe-btn {
    padding: 5px;
  }
}
/* Exhibition-Section */

.sub-heading-exhib {
  display: flex;
  justify-content: center;
  padding: 20px 40px;
}
.sub-heading-exhib p {
  text-align: center;
  font-size: var(--font-l);
}
.exhibition-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: var(--gap-md);
}
.draw-line {
  width: 90px;
  height: 4px;
  background-color: var(--tertiary-color);
  margin: 0px;
}
.descrition {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: var(--tertiary-color);
  color: var(--white-color);
  padding: 20px;
}
.descrition p {
  padding: 0px 10px;
  text-align: justify;
}
.pic-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* display: flex; */
  gap: var(--gap-md);
  width: 100%;
  padding: 10px;
}
.pictures {
  width: 100%;
}
@media (width <= 600px) {
  .pic-section {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width <= 490px) {
  .pic-section {
    grid-template-columns: repeat(1, 1fr);
  }
}
.descrition-1 {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: var(--white-color);
  background-color: #b25084;
  padding: 10px;
  gap: var(--gap-md);
}
.descrition-1 p {
  padding: 0px 10px;
  text-align: justify;
}

.descrition-2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  color: var(--white-color);
  background-color: #479ac7;
  padding: 10px;
  gap: var(--gap-md);
}
.descrition-2 p {
  padding: 0px 10px;
  text-align: justify;
}
/* Explore-page */
.image-container-1 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url(../media/images/hero-explore.png);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.heading-hero-1 {
  position: absolute;
  color: var(--white-color);
  font-size: var(--font-xxl);
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.explore-feature-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: var(--gap-md);
}
.descrition-explore-together {
  background-color: #096971;
  color: var(--white-color);
  display: flex;
  padding: 20px 40px;
  gap: var(--gap-xxl);
}
.col-left-explore-together {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 300px;
}
.col-left-explore-together p {
  font-size: var(--font-s);
  text-align: justify;
}
.col-right-explore-together {
  flex: 1;
  min-width: 300px;
}
@media (width <= 768px) {
  .descrition-explore-together {
    flex-direction: column;
    padding: 20px;
  }
}
/* Events-page */
.event-feature-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-lg);
  padding: 20px;
}
.event-sub-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event-sub-heading p {
  font-size: var(--font-l);
  text-align: center;
}
.events-container {
  display: flex;
  gap: var(--gap-xxl);
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}
.col-left-event {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-xs);
}
.inner-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #9c1a5f;
  padding: 10px;
  max-width: 300px;
  color: var(--white-color);
}
.inner-col p {
  text-align: justify;
}
.inner-col-1 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--tertiary-color);
  padding: 10px;
  max-width: 300px;
  color: var(--white-color);
}
.inner-col-1 p {
  text-align: justify;
}
.inner-col-2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #479ac7;
  padding: 10px;
  max-width: 300px;
  color: var(--white-color);
}
.inner-col-2 p {
  text-align: justify;
}
.image-events {
  width: 100%;
}
.btn-container-read-more {
  display: flex;
  justify-content: end;
}
.btn-read-more {
  text-align: center;
  background-color: var(--secondry-color);
  color: var(--black-color);
  text-decoration: none;
  padding: 5px;
  border-radius: 0.3rem;
}

.submit-btn {
  text-align: center;
  background-color: var(--secondry-color);
  color: var(--black-color);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 0.3rem;
}
.submit-btn:focus {
  outline: 2px solid var(--black-color);
}
.more-events {
  display: flex;
  justify-content: center;
}
.upcoming-events {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--gap-lg);
  padding: 20px;
  justify-content: center;
}
@media (width <= 600px) {
  .upcoming-events {
    grid-template-columns: repeat(2, 1fr);
  }
}
.upcoming-event-col {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  align-items: center;
}
.announce-event-time {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* visit-us-page */

.visit-sub-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
.visit-sub-heading p {
  color: var(--tertiary-color);
  font-size: var(--font-l);
  text-align: center;
}
.c-about {
  display: flex;
  justify-content: center;
  padding: 20px;
}
.visit-cols-container {
  color: var(--white-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  padding: 20px;
  gap: var(--gap-xxl);
}
.draw-line-visit {
  width: 90px;
  height: 4px;
  background-color: var(--white-color);
  margin: 0px;
}
.col-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-xs);
}
.col-heading p {
  margin: 0px;
  color: var(--secondry-color);
}

.col-sec-visit {
  display: flex;
  flex-direction: column;
  background-color: var(--tertiary-color);
  justify-content: space-between;
  max-width: 300px;
  padding: 20px;
  gap: var(--gap-md);
}
.opening-timing {
  display: flex;
  justify-content: space-between;
  gap: 7rem;
}
.day-time {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}

.admission-details {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  align-items: center;
}
.admission-details div p {
  text-align: justify;
}
.details {
  display: flex;
  /* justify-content: space-between; */
  gap: var(--gap-xxl);
}
.fa-solid {
  color: var(--secondry-color);
}
.map-container {
  display: flex;
  justify-content: center;
  width: 100%;
}
.c-map-ifram {
  padding: 20px;
  width: 100%;
}
/* facilities section */
.facilities-cols-container {
  display: flex;
  flex-wrap: wrap;
  color: var(--white-color);
  justify-content: center;
  width: 100%;
  padding: 20px;
  gap: var(--gap-xxl);
}
.col-sec-facility {
  display: flex;
  flex-direction: column;
  background-color: #a22869;
  /* justify-content: space-between; */
  max-width: 300px;
  padding: 20px;
  gap: var(--gap-xxl);
}
.accessibility-disc {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  align-items: center;
}
.accessibility-disc p {
  text-align: center;
}

/* form-section */
.draw-line-form {
  width: 90px;
  height: 4px;
  background-color: #479ac7;
  margin: 0px;
}
.form-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 20px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  background-color: #479ac7;
  max-width: 600px;
  padding: 20px 30px;
}
.c-form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  align-items: center;
  justify-content: center;
  width: 100%;
}
.c-sec1-form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  justify-content: center;
  width: 100%;
}
.c-name-form {
  display: flex;
  gap: var(--gap-xs);
}
.c-email-phone {
  display: flex;
  gap: var(--gap-xs);
}
.c-input-label {
  display: flex;
  flex-direction: column;
  gap: var(--font-xs);
}
.c-input {
  display: block;
  padding: 5px;
}
.c-radio {
  display: flex;
  flex-direction: column;
}
@media (width <= 400px) {
  .c-name-form,
  .c-email-phone {
    flex-wrap: wrap;
  }
  .form {
    justify-content: center;
  }
}
textarea {
  width: 100%;
  height: 150px;
}
/* Get Involved */

.image-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url(../media/images/exhibition-.png);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.heading-hero {
  position: absolute;
  color: var(--main-color);
  /* color: var(--white-color); */
  font-size: var(--font-xxl);
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.donation-sec-container {
  background-color: var(--tertiary-color);
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 20px;
}
.donation-col-left {
  color: var(--white-color);
  padding-left: 20px;
}
.donation-col-right {
  color: var(--white-color);
  display: flex;
  flex-wrap: wrap;
  padding: 20px 40px;
  gap: var(--gap-xxl);
}
.volunteer-sec-container {
  background-color: #479ac7;
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 40px;
}
.internship-sec-container {
  background-color: #9c1a5f;
  display: grid;
  grid-template-columns: auto 1fr;
  padding: 40px;
}
.heading-line-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-xs);
}

/* footer-section */
.c-footer {
  display: flex;
  justify-content: space-between;
  background-color: #645dd7;
  padding: 20px 50px;
}

.c-footer p {
  margin: 0px;
  color: var(--white-color);
}
.left-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.name-museum:hover {
  color: var(--secondry-color) !important;
}

.middle-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-md);
  text-align: center;
}
@media (width <= 768px) {
  .middle-footer {
    gap: var(--gap-xs);
  }
  .c-footer {
    padding: 20px 30px;
  }
}
@media (width <= 490px) {
  .c-footer {
    font-size: var(--font-xs);
    padding: 10px;
  }
  .social-icon {
    font-size: var(--font-md);
  }
}
.c-social-links {
  display: flex;
  gap: var(--gap-lg);
  font-size: var(--font-xl);
}
.social-icon {
  color: var(--secondry-color);
}
.social-icon:hover {
  color: var(--tertiary-color);
  scale: 1.3;
}
.c-terms-policy {
  display: flex;
  gap: var(--gap-xs);
}
.c-terms-policy a {
  color: var(--white-color);
}
.c-terms-policy a:hover {
  color: var(--secondry-color);
  scale: 1.1;
}
.right-footer {
  display: flex;
  flex-direction: column;
}
& a {
  color: var(--white-color);
}
.right-footer a:hover {
  color: var(--secondry-color);
  scale: 1.1;
}
/* Utilities */

.u-sec-gutter {
  padding-top: 50px;
}

.draw-line {
  width: 90px;
  height: 4px;
  background-color: var(--tertiary-color);
  margin: 0px;
}

.draw-line-2 {
  width: 90px;
  height: 4px;
  background-color: #479ac7;
  margin: 0;
}
.draw-line-1 {
  width: 90px;
  height: 4px;
  background-color: #b25084;
  margin: 0;
}

@media (width <= 768px) {
  .heading-hero,
  .heading-hero-1,
  .heading-hero-2 {
    font-size: var(--font-xl);
  }
  .image-container,
  .image-container-1,
  .image-container-2 {
    height: 500px;
  }
}
@media (width <= 600px) {
  .donation-sec-container {
    grid-template-columns: auto;
    padding: 20px;
  }
  .volunteer-sec-container {
    grid-template-columns: auto;
    padding: 20px;
  }
  .internship-sec-container {
    grid-template-columns: auto;
    padding: 20px;
  }
}
@media (width <= 440px) {
  .donation-col-left {
    padding-left: 0px;
  }
  .donation-col-right {
    padding: 0px;
  }
  .heading-hero,
  .heading-hero-1,
  .heading-hero-2 {
    font-size: var(--font-l);
  }

  .image-container,
  .image-container-1,
  .image-container-2 {
    height: 400px;
  }
  .form {
    padding: 10px;
  }
}
