@import url('https://fonts.googleapis.com/css?family=Montserrat:500&display=swap');
@import url('https://fonts.googleapis.com/css?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}
body {
	background: #FFF;
	font-family: 'Open Sans', sans-serif;
}


/*SCROLLBAR Styling*/
::-webkit-scrollbar {
    width: 5px;
  }
  ::-webkit-scrollbar-thumb {
    background: #FA4B37;
    border-radius: 5px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #9a51a0; 
  }
  
  /*NAVIGATION BAR*/
  
.black {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav
  {
      width: 100%;
      background-color: #fff;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      padding: 20px 2%;
      position: fixed;
      top: 0px;
      z-index: 10;
      box-shadow: 1px 1px 10px rgba(0,0,0,0.5);
  }
  
  .logohead{
      height:100px;
      width:100px;
  }
  
  #list-switch{
    margin-right: 27%;
  }

  .nav li, a, button
  {
      float: left;
      font-family: "Montserrat", sans-serif;
      font-weight: 500;
      font-size: 13px;
      color: #2E3D49;
      display: block;
      text-decoration: none;
      text-align: center;
  }
  
  .nav ul li img {
      width: 20px;
      margin-right: 10px;
      transform: translateY(5px);
      padding-top: 5px;
  }
  
  .nav ul li 
  {
      list-style: none;
      display: inline-block;
      padding: 0px 20px;
  }
  
  .nav ul li a
  {
      transition: all 0.3s ease 0s;
  }
  
  .nav ul li a:hover
  {
	color: #fff;
	border-radius: 5px;
	background: #9a51a0;
  }
  
  .nav button
  {
      padding: 9px 25px;
      background: linear-gradient(to right, #FA4B37, #9a51a0);
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      outline: none;
      transition: all 0.3s ease 0s;
  }
  #srchbtn {
      padding: 9px 20px;
  }
  #srchbtn img {
      width: 15px;
      filter: brightness(100);
  }
  .nav button:hover
  {
      opacity: .9;
  }
  .nav .search
  {
      float: right;
  }
  .nav .search .srch
  {
      font-size: 13px;
      width: 300px;
      border: none;
      outline: none;
      border-bottom: 2px solid #FA4B37;
      padding: 9px;
  }
  .nav .search button
  {
      margin-right: 5px;
      float: right;
      margin-left: 10px;
  }
  .nav .switch-tab {
      cursor: pointer;
      visibility: hidden;
  }
  .nav .switch-tab img {
      width: 20px;
  }
  .nav .check-box {
      cursor: pointer;
      visibility: hidden;
  }

.active {
	color: #fff;
	border-radius: 5px;
	background: #9a51a0;
}
.logo img{
	width: 100px;
	cursor: pointer;
	transition: all 1s;
}

  /*.nav*/
  /*{*/
  /*    width: 100%;*/
  /*    background-color: #fff;*/
  /*    display: flex;*/
  /*    flex-wrap: wrap;*/
  /*    justify-content: space-between;*/
  /*    align-items: center;*/
  /*    padding: 20px 2%;*/
  /*    position: fixed;*/
  /*    top: 0px;*/
  /*    z-index: 10;*/
  /*    box-shadow: 1px 1px 10px rgba(0,0,0,0.5);*/
  /*}*/
  
  /*#list-switch{*/
  /*     margin-right: 26%;*/
  /*}*/
  
  /*.nav li, a, button*/
  /*{*/
  /*    float: left;*/
  /*    font-family: "Montserrat", sans-serif;*/
  /*    font-weight: 500;*/
  /*    font-size: 13px;*/
  /*    color: #2E3D49;*/
  /*    display: block;*/
  /*    text-decoration: none;*/
  /*    text-align: center;*/
  /*}*/
  
  /*.nav ul li img {*/
  /*    width: 20px;*/
  /*    margin-right: 10px;*/
  /*    transform: translateY(5px);*/
  /*    padding-top: 5px;*/
  /*}*/
  
  /*.nav ul li */
  /*{*/
  /*    list-style: none;*/
  /*    display: inline-block;*/
  /*    padding: 0px 20px;*/
  /*}*/
  
  /*.nav ul li a*/
  /*{*/
  /*    transition: all 0.3s ease 0s;*/
  /*}*/
  
  /*.nav ul li a:hover*/
  /*{*/
  /*    color: #FA4B37;*/
  /*}*/
  
  /*.nav button*/
  /*{*/
  /*    padding: 9px 25px;*/
  /*    background: linear-gradient(to right, #FA4B37, #9a51a0);*/
  /*    color: #fff;*/
  /*    border: none;*/
  /*    border-radius: 5px;*/
  /*    cursor: pointer;*/
  /*    outline: none;*/
  /*    transition: all 0.3s ease 0s;*/
  /*}*/
  /*#srchbtn {*/
  /*    padding: 9px 20px;*/
  /*}*/
  /*#srchbtn img {*/
  /*    width: 15px;*/
  /*    filter: brightness(100);*/
  /*}*/
  /*.nav button:hover*/
  /*{*/
  /*    opacity: .9;*/
  /*}*/
  /*.nav .search*/
  /*{*/
  /*    float: right;*/
  /*}*/
  /*.nav .search .srch*/
  /*{*/
  /*    font-size: 13px;*/
  /*    width: 300px;*/
  /*    border: none;*/
  /*    outline: none;*/
  /*    border-bottom: 2px solid #FA4B37;*/
  /*    padding: 9px;*/
  /*}*/
  /*.nav .search button*/
  /*{*/
  /*    margin-right: 5px;*/
  /*    float: right;*/
  /*    margin-left: 10px;*/
  /*}*/
  /*.nav .switch-tab {*/
  /*    cursor: pointer;*/
  /*    visibility: hidden;*/
  /*}*/
  /*.nav .switch-tab img {*/
  /*    width: 20px;*/
  /*}*/
  /*.nav .check-box {*/
  /*    cursor: pointer;*/
  /*    visibility: hidden;*/
  /*}*/
  
  /*TITLE*/
  .title {
      margin-top: 150px;
      margin-left: 100px;
  }
  .title span{
      font-weight: 700;
      font-family: 'Open Sans', sans-serif;
      font-size: 60px;
      color: #2E3D49;
  }
  .title .shortdesc {
      padding: 10px;
      font-family: 'Open Sans', sans-serif;
      font-size: 20px;
      color: #2E3D49;
      margin-bottom: 50px;
  }  

/* main galary */
  .gallery {
        overflow-x: scroll;
        white-space: nowrap;
        width: 100%;
/* 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around; */
    width: 100%;
    padding: 20px;
     scrollbar-color: grey; 
   /* margin: 20px 40px 40px 40px; top right buttom left */
}

.gallery1 {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
padding: 20px;
 margin: 20px 40px 40px 40px; 
}

h2 {
    color: #333;
    text-align: center;
    width: 100%;
}

.card {
    width: 250px;
    display: inline-block;
    margin: 20px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card1{
    width: 300px;
    height: 430px;
    display: grid;
    margin: 20px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.abc{
    height:300px;
    width: 250px;
}

.abc1{
    height:300px;
    width: 300px;
}

.card1:hover {
    transform: scale(1.05);
}

.gallery::-webkit-scrollbar {
    width: 12px; 
}

.gallery::-webkit-scrollbar-thumb {
    background-color: grey; 
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    transition: transform 0.3s ease-in-out;
}

.card:hover img {
    transform: scale(1.1);
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    color: #333;
}

.card-info p {
    color: #666;
}

.slogan {
    font-style: italic;
    color: #FF4500;
}

/*Footer*/

footer {
	color: #E5E8EF;
	background: #000D;
	padding: 50px 0; 
}

footer .footer-container {
	max-width: 1300px;
	margin: auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap-reverse;
}

footer .social-media img{
	width: 22px;
}

footer .logo {
	width: 180px;
	color: #fff;
	font-family: 'Montserrat', cursive;
}
footer .social-media{
	margin: 20px 0;
}

footer .social-media a{
	color: #001a21;
	margin-right: 10px;
	font-size: 22px;
	text-decoration: none;
}

footer .right-col h1{
	font-size: 26px;
}
footer .border{
	width: 100px;
	height: 4px;
	background: linear-gradient(to right, #FA4B37, #9a51a0);
	margin: 2px;
}

footer .newsletter-form {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
footer input::placeholder {
  color: white !important;
}
footer .txtb {
	flex: 1;
	padding: 18px 40px;
	font-size: 16px;
	background: #343A40;
	border: none;
	font-weight: 700;
	outline: none;
	border-radius: 5px;
	min-width: 260px;
	margin-top: 20px;
	color: white;
}

footer .btn {
	margin-top: 20px;
	padding: 18px 40px;
	font-size: 16px;
	color: #f1f1f1;
	background: linear-gradient(to right, #FA4B37, #9a51a0);
	border: none;
	font-weight: 700;
	outline: none;
	border-radius: 5px;
	margin-left: 20px;
	cursor: pointer;
	transition: opacity .3s linear;	
}

footer .btn:hover {
	opacity: .7;
}


/*For Responsive Website*/
@media screen and (max-width: 960px) {
	.footer-container {
		max-width: 600px;
	}
	.right-col {
		width: 100%;
		margin-bottom: 60px;
	}
	.left-col {
		width: 100%;
		text-align: center;
	}
	.social-media {
		display: flex;
		justify-content: center;
	}
}

@media screen and (max-width: 700px) {
	footer .btn{
		margin: 0;
		width: 100%;
		margin-top: 20px;
	}
}
@media screen and (max-width: 1366px) {
	.search {
		display: none;
		margin-bottom: 10px;
	}
	#list-switch {
    margin-right: 17%;
}
}

@media screen and (max-width: 768px) {
	 .nav {
    padding: 15px 2%; 
    height: 60px; 
  }
  
  .logohead{
      height:35px;
      width:35px;
  }
  #learned-logo{
      height:35px;
      width:35px;
  }
  
  #list-switch {
    margin-right: 17%;
}
  .nav a{
    font-size: 10px;
    /*margin-left:-5px;*/
  }
 
	.nav ul li{
		/*width: 100%;*/
		 padding:0px 1px;
		 margin:0px 6px;
		margin-bottom: 5px;
	}
}
