@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: aliceblue;
  padding: 0;
  margin: 0;
  color: rgb(101, 98, 98);
}

body a {
  text-decoration: none;
}

/*--------------------nav-bar css ----------------------------*/
.topnav .icon {
  display: none;

}

#contacts-open {
  background-color: steelblue;
  color: whitesmoke;
  height: 2.5vh;
}

#contacts-open:hover {
  border-bottom: none;
}

.navbar #logo {
  margin: 0 6%;
  display: inline-block;
}

.navbar #logo img {
  width: 200px;
  height: 25vh;
}

#logo {
  margin-top: 0.5%;
}

#logo img {
  width: 100px;
  height: 90px;
}

.row {
  width: 100%;
}

.column {
  display: inline-block;
  padding: 0 1px;
}

.topnav {
  overflow: hidden;
  height: 110px;

}

.topnav a {
  float: left;
  display: block;
  color: SteelBlue;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 15px;
  font-style: italic;
  font-weight: bold;
}

.active {
  border-bottom: 1.5px solid dodgerblue;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 15px;
  border: none;
  outline: none;
  color: SteelBlue;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  font-style: italic;
  font-weight: bold;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: aliceblue;
  min-width: 160px;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: SteelBlue;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
  border-bottom: 1.7px solid dodgerblue;
  color: SteelBlue;
}

.dropdown-content a:hover {
  color: rgb(1, 1, 74);
  border-bottom: 1.3px solid dodgerblue;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/*------------slider-show---------------------------*/
.first-alumnis {
  margin: 20% 0;
}

.first-alumnis h1 {
  padding: 10px 0;
}

.mySlides {
  display: none;
}

img {
  vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
  max-width: 99%;
  margin-left: 0.3%;
  position: relative;
}

.slideshow-container img {
  height: 80vh;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.activated {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: mymove;
  animation-duration: 1.9s;
}

@keyframes fade {
  from {
    opacity: .2
  }

  to {
    opacity: 1
  }
}

/*----------------------- about us---------------------*/
.gsobabout,
.gsobacademics,
.gsobhome,
.gsobgallery {
  box-shadow: 0px 15px 10px 0px Gainsboro;
}

.about {
  margin: 1% 0;
  overflow: hidden;
  height: 80vh;
  background-color: rgba(6, 6, 68, 0.7);
  background-image: url("../images/about2.JPG");
  background-size: cover;
  background-blend-mode: multiply;
}

.about-us {
  text-align: center;
  width: 95%;
  margin: 15% 0;
}

.about-us h5 {
  color: whitesmoke;
}

.history {
  height: fit-content;
}

.history #row {
  font-size: medium;
  line-height: 27px;
  width: 98%;
  margin: 0.5% 1%;
}

.history h1 {
  color: rgb(1, 1, 74);
  padding: 10px 0;
  font-size: 27px;
  text-align: center;
}

/*----------------------- circles---------------------*/
.missions {
  height: fit-content;
  padding: 3% 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

}

.cirwrap {
  height: fit-content;
  width: 60%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;

}

.cir {
  height: 250px;
  width: 250px;
  border-radius: 50%;
  background-color: rgb(197, 198, 198);
  padding: 40px 40px;


}

.cir p {
  direction: ltr;
  margin-left: 7%;
  margin-top: 10px;
  line-height: 22px;
  font-weight: lighter;
}

.cir h2 {
  text-align: center;
  font-weight: 150;

}

.cir:nth-child(1) {
  background-color: rgb(9, 2, 63);
  color: rgb(211, 205, 205);
}

.cir:nth-child(2) {
  margin-left: -50px;
  background-color: rgb(197, 198, 198);
  color: rgb(9, 2, 63);
  z-index: 1;

}

.cir:nth-child(3) {
  margin-right: -50px;
  z-index: 1;
  color: rgb(9, 2, 63);
  margin-top: -50px;
}

.cir:nth-child(4) {
  z-index: 1;
  margin-top: -50px;
  background-color: rgb(9, 2, 63);
  color: rgb(211, 205, 205);

}

@media screen and (max-width:1000px) {
  .cirwrap {
    width: 400px;
  }

  .cir {
    border-radius: 1%;
    width: 300px;
    height: 200px;
    box-shadow: 0 26px 58px 0 rgba(0, 0, 0, 0.22),
      0 5px 14px 0 rgba(0, 0, 0, 0.18);
  }

  .cir:nth-child(4) {
    margin-top: 25px;
    background-color: rgb(9, 2, 63);
    color: rgb(204, 209, 209);
  }

  .cir:nth-child(3) {
    margin-right: 0;
    background-color: rgb(204, 209, 209);
    color: rgb(1, 1, 74);
    margin-top: 25px;
  }

  .cir:nth-child(2) {
    margin-left: 0px;
    margin-top: 25px;
    background-color: rgb(9, 2, 63);
    color: rgb(204, 209, 209);

  }

  .cir:nth-child(1) {
    margin-left: 0px;
    margin-top: 25px;
    background-color: rgb(204, 209, 209);
    color: rgb(1, 1, 74);

  }

}

#vision {
  background-color: rgb(1, 1, 74);
  color: whitesmoke;

}

#goals {
  background-color: rgb(1, 1, 74);
  color: whitesmoke;
}

#values {
  background-color: dodgerblue;
  color: rgb(1, 1, 74);
}

.footer {
  width: 100%;
  height: 5vh;
  border-top: 1px solid rgb(1, 1, 74);
}

/*-----------------------Alumni page css---------------------*/

.alumni {
  background-image: url('../img/as.JPG');
  background-size: cover;
  background-blend-mode: multiply;
  background-color: rgba(15, 15, 170, 0.6);
  width: 100%;
  height: 90vh;
  text-align: center;
  margin: 1% 0;
}

.gsobalumni {
  box-shadow: 0px 15px 10px 0px Gainsboro;
}

.alumni-home {
  color: whitesmoke;
  padding: 20% 0;
  display: none;
}

.alumni-home h2 {
  color: whitesmoke;
  font-size: 25px;
}

/*----------------------------------------------------------------*/
.wrapper {
  height: 460px;
  width: 100%;
  display: flex;
  padding: 15px 0;
  margin: 0;
}

.wrapper .big {
  height: 460px;
  width: 50%;
  padding: 18px 3px;
  margin-top: 1.4%;
  margin-left: .2%;
  background-image: url(../img/alumni1.JPG);
  background-size: cover;
}

.wrapper .rightbig {
  height: 58vh;
  width: 40%;
  float: right;
  margin: 0 1%;
}

.wrapper .small {
  height: 43vh;
  width: 500px;
  padding: 0px 0;
  margin: 2px 0;

}

.wrapper .small img {
  height: 43vh;
  width: 500px;
}

.first-alumnis hr {
  width: 18%;
  margin-left: 41%;
  border: 1.5px solid rgb(1, 1, 74);
}

/*---------------------alumni beggining  texts---------------------*/

.alumin-text {
  height: fit-content;
}

.alumin-text #row {
  font-size: large;
  line-height: 27px;
  width: 98%;
  margin: -2% 1%;
}

#column {
  width: 45%;
  display: inline-block;
  height: 65vh;
  padding: 5px 5px;
  font-size: smaller;
  line-height: 27px;
}

.paragraph {
  line-height: 27px;
}

.alumin-text h1 {
  color: rgb(1, 1, 74);
  padding: 10px 0;
  text-align: center;
  cursor: pointer;
}

.column1 img {
  float: right;
  height: 60vh;
  margin-top: 12%;
}

/*-------------- footer of alumni--------------*/

.alumni1 {
  width: 100%;
  height: 430px;
  position: absolute;
  background-color: #0b0b48;
}

.alumni1 .row {
  width: 100%;
  height: fit-content;
}

.alumni1 .column {
  width: 15%;
  height: fit-content;
  margin: 1% 1%;
}

.alumni1 .column h3 {
  color: whitesmoke;
  padding: 8px 0;
  transition: 0.3s;
}

.alumni11,
.alumni12 {
  margin-top: -1%;
}

.alumni1 .column h4 {
  padding: 10px;
  font-size: 14px;
}

.alumni1 .column p a:hover {
  color: dodgerblue;
  transition: 0.3s;
}

.alumni1 .column p {
  color: darkgray;
  display: block;
  line-height: 33px;
  margin: 0;
}

.alumni1 .column a {
  color: darkgray;
}

.alumni1 .column input[type="text"] {
  width: 60%;
  height: 6vh;
  border: none;
  border-radius: 3px;
  margin: 0 5px;
}

.alumni1 .column label {
  color: whitesmoke;
  font-size: 18px;
}

.alumni1 .column input[type="submit"] {
  width: 15%;
  height: 5.5vh;
  cursor: pointer;
  border: none;
  border-radius: 3px;
  background-color: dodgerblue;
  font-size: medium;
  transition: 0.5s;
}

.alumni1 .column input[type="submit"]:hover {
  background-color: #f9f9f9;
  color: black;
  transition: 0.5s;
}

#column-sub {
  width: 40%;
}

#column-sub h5 {
  cursor: pointer;
}

.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip .row {
  display: inline-block;
}

.tooltip .row a {
  color: aliceblue;
}

.tooltip .row a:hover {
  color: rgb(1, 1, 74);
}

.tooltip {
  visibility: hidden;
  width: 150px;
  background-color: dodgerblue;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 5px;
  position: absolute;
  z-index: 1;
  bottom: 120%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container button {
  border: 0;
  background-color: #0b0b48;
  font-size: large;
  color: rgb(132, 118, 118);
}

.tooltip-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.copyright center {
  margin: 13% 0;
  font-size: 17px;
}

.copyright a {
  font-size: 18px;
  color: aqua;
}

/*----------alumni last--------------*/
.alumni-last {
  margin: 1% 0;
  height: fit-content;
}

.alumni-last .row {
  width: 85%;
  height: fit-content;
  text-align: center;
  display: flex;
  margin: 0 7%;
  padding: 30px 0;
}

.alumni-last .column {
  margin: 0 2%;
  width: 330px;
  display: inline-block;
  height: fit-content;
  border: 2px solid dodgerblue;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  border-top: none;
  border-left: none;
  border-right: none;
}

.alumni-last .column img {
  width: 100%;
  height: 55vh;
  margin: 0;
  padding: 0;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.alumni-last .column p {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 19px;
}

.alumni-last .column h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 19px;
  margin: 2% 0;
  color: dodgerblue;
}

.alumni-last center h1 {
  width: 40%;
  color: rgb(1, 1, 74);
}

.alumni-last .row:hover {
  box-shadow: 0px 3px 15px 0px rgb(163, 151, 151);
  transition: 0.5em;
  z-index: 0;
}

/*--------------- dialog of contacts----------------*/

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

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 2px;
  border: 1px solid #888;
  width: 50%;
  height: 87vh;
  border-radius: 7px;
}

.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-right: 2%;

}

.close:hover,
.close:focus {
  color: rgb(1, 1, 74);
  text-decoration: none;
  cursor: pointer;
}

.modal .row {
  width: 100%;
}

.modal .column {
  width: 98%;
  height: fit-content;
  display: block;
}

.modal form {
  width: 59%;
  height: fit-content;
}

.modal input[type="submit"] {
  width: 33%;
  height: 6vh;
  border-radius: 6px;
  background-color: #00CED1;
  border-style: none;
  cursor: pointer;
}

.modal input[type="submit"]:hover {
  box-shadow: 3px 3px 3px 3px #00CED1;
}

.modal input[type="text"],
input[type="email"],
textarea {
  margin: 1% 0;
  width: 65%;
  height: 7vh;
  font-size: 17px;
  font-family: Arial, Helvetica, sans-serif;
  margin: 1% 1%;
  border: 1px solid #aaaaaa;
  border-radius: 4px;
}

.modal textarea {
  height: 12vh;
  border-radius: 4px;
}

.modal h2 {
  font-size: 30px;
  color: rgb(9, 2, 63);
}

.modal h2 img {
  width: 40px;
  height: 40px;
}

.modal p {
  margin: 1% 1%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-style: inherit;
}

.modal h3 {
  font-size: 25px;
  margin: 0 1%;
  color: rgb(1, 1, 74);
}

.src {
  width: 20px;
  height: 20px;
  padding: 15px 10px;
  margin: 0 1.6%;
}

.column-last center {
  padding: 20px 0;
}

.column-last-one {
  text-align: center;
  justify-content: center;
}

.column-last .img {
  display: inline;
  width: 20px;
  padding: 10px;
}

.column-last .img:hover {
  border-radius: 7px;
  border: 1px solid rgb(1, 1, 74);
  cursor: pointer;
  box-shadow: 0px 3px 5px 0px rgb(1, 1, 74);
}

.column-last h4 {
  font-size: 20px;
}

/* -----------reveal css codes-------------------- */
.reveal {
  transform: translateY(90px);
  opacity: 0;
  transition: 1s all ease;
  border: none;
  position: relative;
}

.reveal.active {
  z-index: -1;
  position: relative;
  transform: translateY(0);
  opacity: 1;
}

/* -------------nav-bar of responsive------------ */

#menu-button {
  display: none;
  margin-left: 3px;
  margin-top: 20%;
  width: 30px;
  height: 30px;
  z-index: 1;
  cursor: pointer;
}

/* Style for the wrapper div */
#menuwrapper {
  background-color: rgb(2, 2, 92);
  /* Blue background color */
  padding: 10px;
  /* Add some padding for spacing */
  height: 110vh;
  width: 160px;
  position: fixed;
  margin-left: -20px;
  display: none;
}

#menu-list {
  display: block;
  /* Initially visible */
  position: relative;
  list-style: none;
  padding: 0;
  z-index: 1;
  margin: 0 5%;
}

#menu-list li {
  padding: 15px;

}

#menu-list li:hover {
  transition: 0.2s linear;
  border-bottom: 1.5px solid dodgerblue;
}

#menu-list li a {
  color: #abacad;
  transition: 0.2s linear;
  text-decoration: none;
}

#menu-list li:hover a,
#menu-list li:hover .submenu li a {
  transition: 0.2s linear;
  color: white;
}

.submenu {
  display: none;
  position: absolute;
  background-color: rgb(3, 3, 145);
  list-style: none;
  padding: 0;
  margin-left: 15px;
}

.submenu li {
  padding: 5px;
}

#menu-list li:hover .submenu {
  display: block;
}

@media screen and (max-width:987px) {
  #menu-button {
    display: block;
    margin: 3% 3%;
    z-index: 1;
  }

  #contacts-open {
    display: none;
  }

  .topnav #logo {
    margin-left: 30%;
  }

  .navbar {
    display: none;
  }

  /* .dropdown {
    display: none;
  } */
}

@media screen and (max-width:410px) {
  .topnav #logo {
    margin-left: 17%;
  }

  #menu-button {
    margin: 7% 3%;
  }

  .alumni-home h2 {
    font-size: 0.1rem;
  }
}

.aboutwrapper,
.academicswrapper,
.homewrapper,
.alumniwrapper,
.extracurwrapper {
  padding-top: 1%;
}

.dropdown-item {
  color: steelblue;
}

/* Make dropdown menus visible and operable on large screens (>= 992px) */
@media (min-width: 992px) {

  /* Keep dropdown open on hover */
  .dropdown:hover>.dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    z-index: 1050;
    /* Ensure on top */
  }

  /* Remove any conflicting display rule */
  .dropdown-menu {
    display: none;
  }

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

/* Style your links with a pale blue for a professional look */
.navbar-nav .nav-link,
.dropdown-toggle {
  color: steelblue;
  /* Pale blue */
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.dropdown-toggle:hover,
.navbar-nav .nav-link:focus,
.dropdown-toggle:focus {
  color: steelblue;
  /* Lighter blue on hover/focus */
}