
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee+Spice&display=swap');

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

:root {
  --primary-color: #fff;
  --bg-color: #f0f0f0;
  --second-bg-color: #ffffff;
  --text-color: #000000;
  /* --main-color: rgb(255, 0, 0); */
  --main-color: #a50303;
  --flash-color: #f5ff69;
  --head-color: #7f01c9;
  --hover-color: #272832;
  --accent-color: #0e0c0c;
}

html {
  font-family: 'Segoe UI';
  color: var(--text-color);
  scroll-behavior: smooth;
  /*For bookmark links*/
  font-size: 62.5%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--primary-color);
}

main {
  padding: min(5rem, 7%);
  min-height: 80vh;
}

p {
  color: var(--text-color);
  font-weight: 500;
  font-size: clamp(0.4rem, calc(2vw + 0.1rem), 1.8rem);
}



.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background: var(--main-color);
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-size: 1.6rem;
  color: var(--second-bg-color);
  letter-spacing: .1rem;
  font-weight: 600;
}

.btn:hover {
  box-shadow: none;
}


.link_Btn {
  padding: 0.4rem 1rem;
  border-bottom: 2px solid var(--hover-color);
  color: var(--head-color);
  font-size: 1.6rem;
  display: block;
  font-weight: 600;
  transition: all 1s ease;
  width: 90%;
  margin-bottom: 2rem;
}

.link_Btn:hover {
  border-color: var(--main-color);
  transform: translateX(20px);
}

.link_s {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid var(--head-color);
  border-radius: 1rem;
  box-shadow: 0 0 1rem var(--head-color);
  font-size: 1.2rem;
  color: var(--head-color);
  letter-spacing: .1rem;
  font-weight: 600;
  margin: 1rem;
  transition: all 0.3s ease;

}

.link_s:hover {
  box-shadow: none;
  background-color: var(--head-color);
  color: var(--primary-color);
}

.main-heading {
  text-decoration-line: underline;
  text-decoration-color: #ff5722;
  line-height: 1.4;
  text-underline-offset: 0.6rem;
  text-decoration-thickness: 0.3rem;
  border-bottom: 1px solid goldenrod;
  margin-bottom: 2rem;
  font-size: clamp(0.3rem, (3vw + 1rem), 2rem);
  color: var(--main-color);
}

.sub-heading {
  text-decoration-line: underline;
  text-decoration-color: #50d105;
  line-height: 1.4;
  text-underline-offset: 0.6rem;
  text-decoration-thickness: 0.2rem;
  border-bottom: 1px solid lightgreen;
  margin-bottom: 2rem;
  font-size: clamp(0.3rem, (3vw + 1rem), 1.7rem);
}

.myImage {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: fill;
}


.myHr {
  height: 2px;
  border-radius: 100px;
  color: #495aff;
  background-color: #495aff;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* heading section csss */

.title-bar {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr;
  padding: 0 2rem;
  margin-top: 1rem;
  align-items: center;

}

.main-title {
  padding: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.main-title h1 {
  font-size: clamp(1.4rem, calc(3vw + 1rem), 5rem);
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px lightblue;
  font-family: 'Maven', 'san-serif';
  line-height: 1.2;
}

.main-title h2 {
  /* font-size: 2rem; */
  font-size: clamp(0.8rem, calc(3vw + 0.6rem), 2rem);
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px lightblue;
}



.logo_img {
  text-align: center;
}

.logo_img img {
  width: clamp(2rem, calc(10vw + 1rem), 15rem);
  height: auto;
  aspect-ratio: 1/ 1;
  object-fit: cover;
}


.main_subhead {
  text-align: center;
}

.main_subhead img {
  max-width: 7rem;
  height: auto;
  aspect-ratio: 1/ 1;
  object-fit: cover;
}


/* menubar */



nav {
  background-color: var(--main-color);
  border-bottom: 1px solid var(--hover-color);

}

nav ul {
  list-style: none;
  display: flex;
}

nav .home-li {
  margin-right: auto;
}

nav li {
  display: flex;
}

nav a {
  display: flex;
  text-decoration: none;
  color: var(--bg-color);
  padding: 1rem 2rem;
  transition: background-color 150ms ease;
  font-size: 1.6rem;
}

nav a:hover {
  background-color: var(--hover-color);
}

nav a.active-link {
  border-bottom: 2px solid var(--main-color);
}

nav a.accent-link {
  background-color: var(--accent-color);
}

#open-sidebar-button {
  display: none;
  background: none;
  border: none;
  padding: 1rem;
  margin-left: auto;
  cursor: pointer;
}

#close-sidebar-button {
  display: none;
  background: none;
  border: none;
  padding: 1rem;
  cursor: pointer;
}

#overlay {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  inset: 0;
  z-index: 9;
  display: none;
}

.skip-link {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background-color: var(--accent-color);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  outline: 3px solid #ffffff;
}

.r_highlight {
  color: var(--main-color);
}

/* main body */

.card {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 1rem;
}

.card-left {
  /* border: 2px groove var(--head-color); */
  padding: 3rem;
  margin-top: 2rem;
  /* box-shadow: 0 8px 16px 3px rgba(0, 0, 0, 0.2); */
  border-radius: 3rem;
  min-height: 70vh;
}


.card-right {
  padding: 3rem;
  margin-top: 2rem;
  /* box-shadow: 0 8px 16px 3px rgba(0, 0, 0, 0.2); */
  border-radius: 3rem;
  min-height: 70vh;
}


/* main links */

.container-links {
  margin: 5rem 7%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  /* box-shadow: 0 8px 16px 3px rgba(0, 0, 0, 0.2); */
}


.box-test {
  position: relative;
  box-shadow: 0 8px 8px 3px rgba(0, 0, 0, 0.2);
  background: var(--bg-color);
  overflow: hidden;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-test::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 280%;
  background: linear-gradient(rgb(43, 195, 255), rgb(241, 76, 85));
  /* background-image: conic-gradient(#04b0ee 20deg, transparent 120deg); */
  animation: spin 10s linear infinite;
}

.box-test::after {
  content: '';
  position: absolute;
  inset: 2px;
  background-color: var(--bg-color);
  border-radius: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }


  100% {
    transform: rotate(360deg);
  }
}

.link-cards {
  padding: 2rem 2rem 4rem 2rem;
  border-radius: 1rem;
  text-align: center;
  z-index: 2;
}

.link-cards h2 {
  letter-spacing: 2px;
  font-size: clamp(0.5rem, (3vw + 1rem), 2rem);
  color: var(--main-color);
  margin-bottom: 1rem;
  z-index: 2;
  text-transform: uppercase;
}

.link-text {
  font-weight: normal;
  color: var(--head-color);
  line-height: 1.5;
  z-index: 2;
}

.link-cards .btn {
  margin-top: 1rem;
  width: 90%;
}

.mySlides img {
  width: 100%;
  height: 70vh;
  aspect-ratio: 1 / 1;
  object-fit: fill;
}

.card-right marquee {
  min-height: 50vh;
}

.card-right .news {
  margin-top: 2rem;
  float: inline-end;
}

/* directore section  */
.director-container {
  display: grid;
  grid-template-columns: 3fr 1fr;
  padding: 2rem;
}

.dir-text p {
  text-align: justify;
}

.dir-text h3 {
  margin-top: 3rem;
  text-align: end;
  color: var(--main-color);
}

.dir-text h6 {
  text-align: end;
  font-size: 1.4rem;
  color: var(--main-color);
}

.dir-image img {
  border-radius: 50%;
}

/* quick links */


.news-heading {
  display: grid;
  grid-template-columns: 10% 90%;
}


/* course container */
.course-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-wrap: wrap;
}

.card-course {
  /* background-image: repeating-linear-gradient(45deg, red, red 10px, blue 10px, blue 20px); */
  /* background-image: linear-gradient(to right, rgba(183, 0, 255, 0.705), rgba(0, 0, 255, 0.171)); */
  background-color: var(--primary-color);
  padding: 1.8rem;
  margin-top: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.6s ease;
}

.card-course:hover {
  transform: translateY(-5px);
  box-shadow: none;
}




/* gallery */

.gallery-container {
  margin-top: 10rem;

}

.pic-ctn img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: fill;
  height: 400px;
  border: 4px solid var(--bg-color);
}


/* footer */



.endnote {
  background-color: var(--head-color);
  color: var(--bg-color);
  padding: 1rem;
  text-align: center;
  font-size: 1.7rem;
}

.endnote a {
  color: var(--bg-color);
}

.container-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background-color: var(--text-color);
  color: var(--bg-color);
  padding: 3rem;
  font-size: 1.8rem;
  gap: 3rem;
  min-height: 40vh;
}

.container-footer p {
  color: var(--bg-color);
}

.container-footer .box h3 {
  color: var(--bg-colorr);
}

.container-footer .box li {
  margin-top: 1rem;
}

.container-footer .box .post-wrap h5 {
  margin-top: 1rem;
  font-size: clamp(0.6rem, calc(2vw + 0.3rem), 2rem);
  color: var(--primary-color);
}


/* contacts */

.register-box,
.register-box2 {
  margin: auto;
  margin-top: 3rem;
  padding: 2rem 1rem;
  box-shadow: 0 8px 16px 3px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--head-color);
  border-radius: 1rem;
}

.register-box2 li {
  font-size: 1.5rem;
}


/* form */

.edit {
  padding: 1rem;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
}

.form-container {
  max-width: 40%;
  margin: 5rem auto;
  background-color: rgba(255, 255, 255, 0.651);
  padding: 3rem;
  border-radius: 1rem;
  opacity: 1;
}

.form-container .form-label {
  font-weight: 600;
  font-size: 1.6rem;
}

.form-title {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--main-color);
}

.form-session {
  text-align: center;

}




input,
select,
textarea {
  width: 100%;
  padding: 1.2rem;
  margin: 0.8rem 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: .4rem;
  box-sizing: border-box;
}

button[type=submit] {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 1.4rem;
  margin: 0.8rem 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type=submit]:hover {
  background-color: #45a049;
}

.k-box {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}