/*

TemplateMo 590 topic listing

https://templatemo.com/tm-590-topic-listing

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
* {
  box-sizing: border-box;
}
:root {
  --white-color:                  #ffffff;
  --primary-color:                #053754;
  --secondary-color:              #80d0c7;
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #80d0c7;
  --custom-btn-bg-hover-color:    #13547a;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #7fffd4;
  --link-hover-color:             #13547a;

  --body-font-family:             'Open Sans', sans-serif;
  --title-font-family:            'Montserrat', sans-serif;

  --h1-font-size:                 58px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  20px;
  --menu-font-size:               14px;
  --btn-font-size:                18px;
  --copyright-font-size:          16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
}


/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font-family);
  font-weight: var(--font-weight-semibold);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  color: var(--dark-color);
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION
-----------------------------------------*/
.section-padding {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-overlay + .container {
  position: relative;
}

/*---------------------------------------
  CUSTOM BUTTON
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
  NAVIGATION
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: var(--secondary-color);
}

.navbar {
  background: transparent;
  border-bottom: 1px solid rgba(128, 208, 199, 0.35);
  z-index: 9;
 padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: 40px;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: calc(var(--h3-font-size) * 0.75);
  font-weight: var(--font-weight-bold);
  display: block;
}

.navbar-brand span {
  font-family: var(--title-font-family);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 5px;
  padding: 8px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: calc(var(--menu-font-size) * 1.1);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
   padding: 0.25rem 0.5rem !important; /* tighten links */
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-icon {
  background: var(--white-color);
  border-radius: var(--border-radius-large);
  display: inline-block;
  font-size: calc(var(--h5-font-size) * 0.75);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
}

.navbar-icon:hover {
  background: var(--primary-color);
  color: var(--white-color);
}
.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
  HERO
-----------------------------------------*/
.hero-section {
  background-image: linear-gradient(0deg, #13547a 0%, #80d0c7 100%);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 100px;
}

.hero-section .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}

.hero-section .input-group-text {
  background-color: transparent;
  border: 0;
}

.hero-section input[type="search"] {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding-left: 0;
}

.hero-section button[type="submit"] {
  background-color: var(--primary-color);
  border: 0;
  border-radius: var(--border-radius-large) !important;
  color: var(--white-color);
  max-width: 150px;
}
/*---------------------------------------
   CUSTOM FORM
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  outline: none;
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
  width: 100%;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}

/*---------------------------------------
  SITE FOOTER
-----------------------------------------*/
.site-footer {
  /* background-image: linear-gradient(15deg, #783ee3 -10%, #69e6c9 100%); */
  background-color: #13547a;
  border-bottom: 10px solid var(--secondary-color);
  position: relative;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 200px 200px;
  border-color: transparent transparent var(--secondary-color) transparent;
  pointer-events: none;
}
.site-footer-title {
    color: white;
}

.site-footer .dropdown-menu {
  padding: 0;
}

.site-footer .dropdown-item {
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  padding: 4px 18px;
}

.site-footer .dropdown-item:hover {
  background-color: transparent;
  color: var(--dark-color);
}

.site-footer .dropdown-menu li:first-child .dropdown-item {
  padding-top: 10px;
}

.site-footer .dropdown-menu li:last-child .dropdown-item {
  padding-bottom: 12px;
}
.site-footer .dropdown-toggle {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.site-footer .dropdown-toggle:hover {
  background-color: var(--dark-color);
  border-color: transparent;
}
.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  display: block;
  list-style: none;
  line-height: normal;
}

.site-footer-link {
  color: var(--white-color);
  font-size: calc(var(--copyright-font-size) * 0.85);
  font-weight: var(--font-weight-medium);
  line-height: normal;
}
.copyright-text {
  color: var(--white-color);
  font-size: calc(var(--copyright-font-size) * 0.85);
}
.form-control {
  border-radius: 8px;
}
.new-line-button {
 display: block;
 width: 100%; /* ensures the button takes up full available width*/
  margin-top: 10px; /* creates some vertical spacing*/
}
.lang-dropdown {
margin-right: 15px; /*Adjust to your preference*/
}
textarea {
resize: none;
 padding: 10px;/* Adjust as needed*/
 display: flex;
 align-items: center;
 justify-content: center; /* vertically align and horizontally align center text*/
 text-align: center;
  border: 1px solid #ccc; /* Custom border color and style*/
  background-color: #f9f9f9; /* Custom background color*/
 border-radius: 0.5rem;
}
.custom-form {
 display: flex;
 flex-direction: column;
 align-items: center; /* horizontally center form elements */
}
.new-line-button {
  background-color: #53d1b6;
   color: white;
   border-radius: 0.25rem;
 border:none;
}
.about-text {
  color: black; /* This is an example color. You can change this to any color you like */
}
.contact-text {
  color: black; /* This is an example color. You can change this to any color you like */
}
.analytics-text {
  color: white; /* This is an example color. You can change this to any color you like */
}

/* --------------------- VIDEO SECTION ------------------------ */
/* --------------------- VIDEO SECTION ------------------------ */
/* --------------------- VIDEO SECTION ------------------------ */

.video-section {
  /* background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%); */
  /*Adjust to fit one frame*/
  background-color: #13547a;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-left: -15px;
  margin-right: -15px;
  display: flex;
  flex-direction: column;
  justify-content: center; /*Center content vertically*/
  align-items: center; /* Center content horizontally*/
}
.video-container {
  position: relative;
   width: 90%; /*Keep size adaptive for different screens*/
    padding-bottom: 50.625%; /* Maintain 16:9 aspect ratio*/
     height: 0;
    overflow: hidden;
   margin-bottom: 1rem; /* Add spacing below iframe*/
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
 .video-carousel-indicators {
        position: relative;
        margin-top: 10px;
        display: flex;
        justify-content: center;
}

.video-carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  border: 1px solid #fff;
   margin: 0 5px;
}
.video-carousel-indicators .active {
    background-color: #13547a; /* Change to your preferred active color */
     border: 1px solid #13547a;
}

/*Center title and description*/
.video-section h2,
.video-section h6 {
 text-align:center;
}

/*Center Carousel*/
#videoCarousel {
    max-width: 800px; /* adjust based on your layout need*/
    margin: 0 auto; /* Center the carousel horizontally*/
}

.rounded-input {
  border-radius: 18px; /* Adjust the value to control the roundness */
}
.about-text {
  color: black;
}
.learn-card {
    background: #f0f8ff;
    color: #000000; /* Example text color */
     border-radius: 15px;
    width: 200px;
    margin-bottom:10px;
    border: 1px solid #ccc;
}
.learn-card p{
 color: #000;
}
.section-padding p{
  color: black;
}
/*---------------------------------------
    RESPONSIVE STYLES
-----------------------------------------*/

@media (max-width: 767px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }

  p, ul li {
    font-size: 16px;
  }

  .section-padding {
    padding-top: 40px;
    padding-bottom: 40px;
  }
   .navbar-brand,
.navbar-brand:hover {
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  display: block;
}
  .custom-btn {
    font-size: 16px;
  }
  .learn-card {
 width:100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
   .learn-card {
 width:48%;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 28px;
  }

  .custom-btn {
    font-size: 17px;
  }
}
@media (max-width: 768px) {
.hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
.contact-container {
 display: flex;
 flex-direction: column;
  align-items: center;
}
.contact-text {
 text-align:center;
}
}
@media (min-width: 992px) and (max-width: 1199px) {
 h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 40px;
  }
 .contact-container {
 display: flex;
 flex-direction: column;
  align-items: center;
}
.contact-text {
 text-align:center;
}
}

