@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
* {
  margin: 0;
  padding: 0;
  user-select: none;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  /* overflow: scroll;  */
}

body {
  background: #f2f2f2;
}

nav {
    position: absolute;
  background: rgb(27, 27, 27);
  transition: background-color 0.3s ease;
  
  width: 100%;
}

nav:after {
  content: '';
  clear: both;
  display: table;
}

nav .logo {
  float: left;
  color: white;
  font-size: 27px;
  font-weight: 600;
  line-height: 70px;
  padding-left: 60px;
  transition: color 0.3s ease;
}

nav ul {
  float: right;
  margin-right: 40px;
  list-style: none;
  position: relative;
}

nav ul li {
  float: left;
  
  background: rgb(27, 27, 27);
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

nav ul li a {
  color: white;
  line-height: 70px;
  text-decoration: none;
  font-size: 18px;
  padding: 8px 15px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

nav ul li a:hover {
  color: #33ffbb;
  border-radius: 5px;
  box-shadow: 0 0 5px #33ffbb, 0 0 10px #33ffbb;
}

nav ul ul li a:hover {
  box-shadow: none;
}

nav ul ul {
  position: absolute;
  top: 90px;
  border-top: 3px solid #33ffbb;
  opacity: 0;
  visibility: hidden;
  transition: top 0.3s ease, opacity 0.3s ease;
}

nav ul li:hover > ul {
  top: 70px;
  opacity: 1;
  visibility: visible;
}

nav ul ul li {
  position: relative;
  margin: 0px;
  width: 150px;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

nav ul ul li a {
  line-height: 50px;
}

.show, .icon, input {
  display: none;
}

.fa-plus {
  font-size: 15px;
  margin-left: 40px;
}

@media all and (max-width: 968px) {
  nav ul {
    margin-right: 0px;
    float: left;
  }

  nav .logo {
    padding-left: 30px;
    width: 100%;
  }

  .show + a, ul {
    display: none;
  }

  nav ul li, nav ul ul li {
    display: block;
    width: 100%;
  }

  nav ul li a:hover {
    box-shadow: none;
  }

  .show {
    display: block;
    color: white;
    font-size: 18px;
    padding: 0 20px;
    line-height: 70px;
    cursor: pointer;
  }

  .show:hover {
    color: #33ffbb;
  }

  .icon {
    display: block;
    color: white;
    position: absolute;
    top: 0;
    right: 40px;
    line-height: 70px;
    cursor: pointer;
    font-size: 25px;
  }

  nav ul ul {
    top: 70px;
    border-top: 0px;
    float: none;
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  nav ul ul a {
    padding-left: 40px;
  }

  nav ul ul ul a {
    padding-left: 80px;
  }

  nav ul ul ul li {
    position: static;
  }

  [id^=btn]:checked + ul {
    display: block;
  }

  nav ul ul li {
    border-bottom: 0px;
  }

  span.cancel:before {
    content: '\f00d';
  }
}

/* New Class for the First Page */
.first-page {
  background: url('index_page_photo.jpg') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #f2f2f2;
}

.first-page header {
  font-size: 44px;
  font-weight: 400;
  padding: 10px;
  transition: font-size 0.3s ease, color 0.3s ease;
}



@media all and (max-width: 968px) {
  .first-page header {
    font-size: 30px;
    font-weight: 400;
  }
}

.first-page button {
  padding: 10px 10px;
  font-weight: 500;
  outline: none;
  font-size: 19px;
  /* background: rgb(27, 27, 27); */
  /* color: #f2f2f2; */
  border-radius:10px ;
  border: none;
}
.first-page button:hover {
  background-color: rgb(27, 27, 27);
  color: #fff;
  border: 2px solid #fff;
}
.about-section {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 120px;
}

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.image-box {
  flex: 1;
  max-width: 100%;
  margin-right: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.image-box img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.image-box img:hover {
  transform: scale(1.05);
}

.text-box {
  flex: 1.5;
  position: relative;
  z-index: 2;
}

.overlay-text {
  position: absolute;
  top: 0px;
  left: 0px;
  /* background: rgba(0, 0, 0, 0.6); */
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 70%;
  z-index: 3;
  /* margin-bottom:20px ; */
  color: #333;
  text-align: center;
  
}

.overlay-text h1 {
  margin: 0;
  font-size: 4rem;
  
}



.main-text {
  padding-top: 150px; /* Adjust depending on overlay height */
}

.main-text p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: left;
}

@media (max-width: 768px) {
  .content-wrapper {
      flex-direction: column;
  }
  .image-box {
      max-width: 100%;
      margin-right: 0;
      margin-bottom: 20px;
  }
  .text-box {
      padding-top: 0;
  }
  .overlay-text {
      position: relative;
      top: auto;
      left: auto;
      max-width: 100%;
      /* background: rgba(0, 0, 0, 0.7); */
  }
  .overlay-text h1 {
    font-size: 2.2rem;
  }
  .main-text {
      padding-top: 20px;
      
  }
  .main-text p {
    text-align:center ;
  }
}
@media (max-width:1000px) {
 .overlay-text h1 {
  font-size: 2.0rem;
  margin-top: 50px;
 }
}
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  padding: 20px;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
}

.card-content p {
  color: #555;
}

@media (max-width: 768px) {
  .card-content h3 {
      font-size: 1.2em;
  }

  .card-content p {
      font-size: 0.9em;
  }
  .emission h1 {
    font-size: 28px;
  }
}
.emission {
  color: #333;
  text-align: center;
  font-size: 30px;
  margin-top: 50px;
  margin-bottom: 0px;
  
}

.layout-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  background-color: #f0f0f0; /* Optional: add background color */
}

.grid-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  padding: 20px;
}

.grid-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.image-holder img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.grid-card:hover .image-holder img {
  transform: scale(1.05);
}

.text-content {
  padding: 15px;
}

.text-content h3 {
  margin-bottom: 10px;
  font-size: 1.5em;
}

.text-content p {
  color: #555;
}

@media (max-width: 768px) {
  .text-content h3 {
      font-size: 1.2em;
  }

  .text-content p {
      font-size: 0.9em;
  }
}


.outerdiv
{
	width: 100%;
    min-height: 100vh;
    background: #EDF2F8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: scroll;
}
.innerdiv
{
	transform: scale(0.9);
	margin: 1rem;
	display: grid;
	grid-gap: 1.5rem;
	grid-template-rows: repeat(2,22rem);
	grid-template-columns: repeat(4,17rem);
  overflow: scroll;
}
.eachdiv
{
	padding: 1rem 2rem;
    border-radius: 0.8rem;
    box-shadow: 5px 5px 20px #6d6b6b6b;
    color: white;
    overflow: scroll;
}
.div1
{
	background: #733FC8;
    grid-column: 1/3;
    grid-row: 1/2;
    background-image: url(https://raw.githubusercontent.com/RahulSahOfficial/testimonials_grid_section/5532c958b7d3c9b910a216b198fdd21c73112d84/images/bg-pattern-quotation.svg);
    background-repeat: no-repeat;
    background-position-x: 25rem;
}
.div2
{
	background:#49556B;
    grid-column: 3/4;
    grid-row: 1/2;
}
.div3
{
	background: white;
    grid-column: 4/5;
    grid-row: 1/3;
    color: black;
}
.div4
{
	background: white;
	grid-column: 1/2;
    grid-row: 2/3;
    color: black;
}
.div5
{
	background: #18202D;
	grid-column: 2/4;
    grid-row: 2/3;
}
.userdetails
{
	display: flex;
}
.imgbox
{
	margin-right: 1rem;
}
.imgbox img
{
	border-radius: 50%;
	width: 2rem;
	border: 2px solid #cec5c5;
}
.detbox
{
	display: flex;
    flex-direction: column;
    justify-content: center;
}
.detbox p
{
	margin: 0;
}
.detbox .name
{
	color: hsl(0, 0%, 81%);
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    font-weight: 600;
}
.detbox .name.dark
{
	color: #49505A;
}
.detbox .designation
{
	color: hsl(0, 0%, 81%);
    opacity: 50%;
    font-size: 0.8rem;
}
.detbox .designation.dark
{
	color: #49505A;
}
.review h4
{
	font-size: 1.4rem;
	color: #F3DEFF;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}
.review.dark h4{
	color:#4B5258;
}
.review p
{
	font-size: 0.95rem;
    color: #F3DEFF;
    font-weight: 500;
    opacity: 50%;
    line-height: 1.5;
}
.review.dark p{
	color: #0e0e0e;
}
.attribution
{
	font-size: 1rem;
    line-height: 1.5;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    text-align: right;
}
.attribution a
{
	text-decoration: none;
}

@media only screen and (max-width: 1000px)
{
	.innerdiv
	{
		transform: scale(0.7);
	}
}
@media only screen and (max-width: 800px)
{
	.innerdiv
	{
		transform: scale(0.6);
	}
 
}
@media only screen and (max-width: 600px)
{
	.div1 {
		background-position-x: 10rem;
	}
	.innerdiv
	{
		display: flex; 
		flex-direction: column;
		transform: scale(1);
		margin: 2rem;
		margin-bottom: 5rem;
	}
	.attribution
	{
		position: relative;
	}
}

.testi {
  font-size: 30px;
  color: #333;
  text-align: center;
  margin-top: 50px;
}
.container-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  margin-bottom: 100px;
}

.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.text-section {
  flex: 1;
  padding: 20px;
}

.text-section h3 {
  font-size: 1.5em;
  color: #333;
}

.image-section {
  flex: 1;
  overflow: hidden;
}

.image-section img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.item:hover .image-section img {
  transform: scale(1.1);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .container-layout{
      grid-template-columns: 1fr;
  }
  .testi {
    font-size: 23px;
  }
  .text-section h3 {
      font-size: 1.2em;
      text-align: center;
  }
  .image-section img {
    display: none;
  }
  .item {
    display: block;
  }

}

.foot h1{
  text-align: center;
  background-color: rgb(27, 27, 27);
  color: #fff;
  font-size: 30px;
  padding: 30px 0;
  font-weight: 400;
}

@media (max-width: 800px) {
  .foot h1 {
    font-size: 15px;
  }
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.line {
  width: 100px;
  height: 5px;
  background-color: #333;
}
.circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #333;
  margin-right: 5px;
}