@import url("https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400..700;1,400..700&family=Lexend:wght@100..900&family=Oswald:wght@200..700&display=swap");

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

:root {
  --primary: #003842;
  --primary-dark: #012127;
  --green: #2eca7f;
  --secondary: #ffe153;
  --secondary-light: #ffe6e7;
  --dark: #212529;
  --grey: #444444;
  --light: #e4f2f4;
      --animation-duration: 15s;

}

* {
  box-sizing: border-box;
}

::selection {
  background-color: var(--primary);
  color: #ffffff;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Lexend", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  color: var(--dark);
  overflow-x: hidden;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-optical-sizing: auto;
  font-style: normal;
  /* font-family: "Gelasio", serif; */
  /* font-family: "Oswald", sans-serif; */
}

a {
  text-decoration: none;
}

p {
  line-height: 28px;
  color: #666;
}

.full-img {
  width: 100%;
}

.f20 {
  font-size: 20px;
}

.f18 {
  font-size: 18px;
}

.f16 {
  font-size: 16px;
}

.f14 {
  font-size: 14px;
}

.f12 {
  font-size: 12px;
}

.light-bg {
  background-color: var(--light);
}

#banner {
  width: 100%;
  height: 100vh;
  position: relative;
  background-color: #ccc;
}

header {
  padding: 10px 0;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
}

.header-bg-color {
  background-color: #fff;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);
  animation: headerSlideDown 0.95s ease forwards;
  padding: 5px 0;
}

@keyframes headerSlideDown {
  0% {
    margin-top: -100px;
  }

  100% {
    margin-top: 0;
  }
}

.logo img {
  width: 100%;
  max-width: 120px;
  transition: all 0.4s;
}

.header-bg-color .logo img {
  max-width: 70px;
}

.menu {
  width: 100%;
  text-align: right;
  margin-top: 20px;
}

.menu li {
  display: inline;
  margin: 0 10px;
  position: relative;
}

.menu li a {
  color: #fff;
  transition: all 0.4s;
  font-weight: 500;
  padding: 5px;
  font-size: 16px;
  line-height: 40px;
}

.menu li a:hover {
  color: var(--secondary);
}

.dropdown {
  position: absolute;
  top: 40px;
  left: -20px;
  background-color: #fff;
  width: 200px;
  text-align: left;
  z-index: 999;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.menu li:hover ul {
 visibility:visible;
 opacity: 1;
 top:28px;
}

.dropdown li {
  display: block;
  /* margin-bottom: 20px; */
  /* padding-left: 20px; */
  margin-left: 0;
}

.dropdown li a {
  color: var(--grey);
  line-height: 20px;
  border-bottom: dashed 1px #e8e8e8;
  display: block;
  padding: 15px 20px;
}

.dropdown li a:hover {
  color: var(--primary);
}
.dropdown li:last-child a {
  border: none;
}

.header-bg-color .menu li a {
  color: var(--dark);
}

.contact-link {
  padding: 15px 30px !important;
  border-radius: 30px;
  background-color: var(--primary);
  color: #fff;
}

.contact-link:hover {
  background-color: var(--secondary);
  color: var(--dark) !important;
}

.header-bg-color .contact-link {
  color: #fff !important;
}

.header-right {
  display: none;
}

.inner-sec {
  padding: 80px 0;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-cont {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  /* background-color: rgba(1, 33, 39, 0.2); */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.banner-cont::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  top: 0;
  right: 0;
  background: #120f2d;
  opacity: 0.5;
  z-index: 1;
}

.banner-cont-inner { 
  position: relative;
  z-index: 10;
  color: #fff; 
}

.banner-cont-inner h1 {
  font-size: 60px;
  font-weight: 800;
  text-align: center;
  /* font-family: "Gelasio", serif; */
}

.banner-cont-inner h2 {
  color: #fff;
  position: relative;
  z-index: 10;
  font-size: 24px;
  text-align: center;
  font-weight: 400;
}

.banner-link {
  padding: 15px 35px;
  background-color: var(--secondary);
  color: var(--dark);
  font-size: 20px;
  border-radius: 40px;
  transition: all 0.4s;
}

.banner-link:hover {
  color: #fff;
  background-color: var(--primary);
}

.title {
  font-size: 38px;
  font-weight: 700;
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}

.title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  width: 50%;
  background-color: var(--primary);
  left: 0;
  right: 0;
  margin: auto;
  height: 3px;
}


.link-btn {
  padding: 15px 30px;
  background-color: var(--primary);
  color: #fff;
  transition: all 0.4s;
  border-radius: 30px;
}

.link-btn:hover {
  background-color: var(--secondary);
  color: var(--dark);
}

.course-box {
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  min-height: 470px;
  margin-top: 20px;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
  position: relative;
}

.course-box h4 i {
  color: var(--green);
}

.course-list {
  margin-top: 20px;
}

.course-list li {
  font-size: 18px;
}

.course-list li a {
  position: relative;
  color: var(--dark);
  padding: 10px;
  display: block;
  border-bottom: dashed 1px #a1a1a1;
  transition: all 0.4s;
}

.course-list li a:hover {
  color: var(--primary);
  padding-left: 15px;
}

/* .course-list li a i {
  position: absolute;
  left: 0;
} */

.course-list li:last-child a {
  border:none
}

.book-icon {
  position: absolute;
  right: 20px;
  bottom: 20px;
  opacity: 0.3;
  display: none;
}

.book-icon img {
  width: 100px;
  transform: rotate(-45deg);
  opacity: 0.1;
}

.c1 {
  background: url(../images/c2.jpg) no-repeat center;
  background-size: cover;
}

.c2 {
  background: url(../images/c1.jpg) no-repeat center;
  background-size: cover;
}

.c3 {
  background: url(../images/c3.jpg) no-repeat center;
  background-size: cover;
}

.course-box-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: rgba(255,255,255,0.9);
  padding: 20px;
}

.message-sec {
  background-color: var(--primary-dark);
}

.msg-box {
  text-align: justify;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  border: solid 1px #f0f0f0;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.link-btn-static {
  color: var(--primary);
  transition: all 0.4s;
}

.link-btn-static:hover {
  color: var(--dark);
}

/*=== INNER PAGE CSSS===*/

.inner-header .menu li a {
  color: var(--dark);
}

.inner-banner {
  width: 100%;
  height: 400px;
  position: relative;
}

.inner-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-banner-cont {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  background: rgb(18, 15, 45, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-banner-cont h1 {
  font-weight: 700;
  margin-top: 100px;
  font-size: 34px;
  text-align: center;
}

.list {
  margin-left: 20px;
  margin-top: 15px;
  margin-bottom: 25px;
}

.list li {
  padding-left: 15px;
  position: relative;
  margin-bottom: 5px;
  color: var(--grey);
}

.list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  background-color: var(--primary);
}

.mh-720 {
  min-height: 720px;
}

.gallery {
  width: 100%;
  height: 250px;
  padding: 5px;
  border: solid 1px #e8e8e8;
  border-radius: 5px;
  margin-bottom: 20px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.contact-box {
  width: 100%;
  border-radius: 10px;
  padding: 20px 30px;
  background-color: #fff;
  min-height: 100px;
  border:solid 1px #ccc;
  margin-bottom: 15px;
}

.contact-icon i {
  font-size: 30px;
  color: var(--secondary);
}

.contact-box h3 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 15px;
  margin-bottom: 12px;
}

.contact-box h3 a {
  color: var(--dark);
}

.contact-box p {
  font-size: 16px;
  color: var(--dark) !important;
}

.contact-btn {
  padding: 7px 12px;
  border-radius: 10px;
  color: #fff;
  background-color: var(--primary);
  font-weight: 500;
  transition: all 0.5s;
}

.contact-btn:hover {
  background-color: var(--light);
  color: #000;
}

.contact-form {
  width: 100%;
  padding: 10px 30px 10px 30px;
  border:solid 1px #ccc;
  border-radius: 10px;
}

.contact-form .form-group, .enquiry-form .form-group{
 margin-bottom: 12px;
}


.contact-form .form-control, .enquiry-form .form-control {
  min-height: 40px;
}

.contact-form .form-control:focus, .enquiry-form .form-control:focus {
  box-shadow: none!important;
  border:solid 1px var(--primary);
}

.btn-submit {
  color: #fff;
  font-weight: 500;
  background-color: var(--primary);
  border-radius: 4px;
  padding: 10px 30px;
  display: inline-block;
  transition: all 0.4s;
  border:solid 1px var(--primary);
  outline: none;
}

.btn-submit:hover {
  background-color:var(--secondary);
  color: var(--dark);
  border:solid 1px var(--secondary);
  box-shadow: none;
}

.map {
  margin-bottom: -20px;
  padding: 0;
}

.course-sidebar {
  width: 100%;
  border:solid 1px #e8e8e8;
  border-radius: 10px;
  background-color: var(--light);
  min-height: 300px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}

.course-sidebar h5 {
  padding: 15px;
  color: #fff;
  background-color: var(--primary);
  border-radius: 10px 10px 0 0;
}

.course-sidebar ul {
  padding: 5px 20px 20px 20px;
}

.course-sidebar ul li a {
   padding: 10px;
   display: block;
   border-bottom: dashed 1px #a1a1a1;
   color: var(--dark);
   transition: all 0.4s;
}

.course-sidebar ul li a:hover {
  padding-left: 13px;
}


.course-sidebar ul li:last-child a {
  border-bottom: none;
}

.course-details {
  margin-bottom: 100px;
}

/* ====== Footer CSS ====== */

footer {
  background: var(--primary-dark);
  padding: 30px 0px;
  position: relative;
  color: #fff;
}

footer p {
  color: #fff;
  font-weight: 300;
}

.footer-logo {
  position: absolute;
  top: -50px;
  width: 100%;
  left: 0;
  text-align: center;
}

.footer-logo img {
  width: 100%;
  max-width: 110px;
  border: solid 3px #fff;
  border-radius: 100%;
}
.home-char {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid #878787;
    padding: 2px;
}
.about-char {
    max-width:300px;
    border-radius:12px;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin: 10px 12px 20px;
}
.e-logo {
        background: white;
    border-radius: 50%;
    margin-right: 10px;
}
.header-bg-color .e-logo{
    margin-right:5px;
}
.news-ticker {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-color: #fff;
  position: relative;
}

.news-wrap {
  position: absolute;
  /* bottom: -100%; */
  animation: scroll-up var(--animation-duration) linear infinite;
}

.news-item {
  /* padding: 10px; */
  text-align: left;
  /* border-bottom: 1px solid #aba0a0; */
}

@keyframes scroll-up {
  0% {
      transform: translateY(100%);
  }
  100% {
      transform: translateY(-100%);
  }
}
.news-item-container {
  padding-bottom: 7px;
  position: relative;
  border-bottom: 1px solid #aba0a0;
  display: flex;
  align-items: flex-start; /* Align the "Read More" button with the text */
}

.news-item {

/* margin-bottom: -43px; */

overflow: hidden;

display: -webkit-box; /* Required for line clamping */

-webkit-line-clamp: 3; /* Limit to 3 lines */

-webkit-box-orient: vertical; /* Required for line clamping */

margin-right: 10px; /* Space between text and "Read More" button */

flex: 1; /* Allow the text to take up available space */
}

.read-more {
  display: inline-block;
  font-size: 0.9em;
  color: #003842;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 10px;
  align-self: end; /* Vertically center the "Read More" button */
}
.news-ticker:hover .news-wrap {
  animation-play-state: paused; /* Pauses the animation when hovering */
  cursor: pointer;
}