html {
  scroll-behavior: smooth;
  padding: 0;
}

body {
  background-color: #f4f3f2;
  padding: 0;
}

/* title section */

.main-title {
  font-family: Roboto Slab, sans-serif;
  font-size: 1.5rem;
}
.title-ua-name {
  font-size: 2.25rem;
  font-family: Roboto Slab, sans-serif;
  word-spacing: 3px;
}
.title {
  position: absolute;
  margin: 120px 0 0 100px;
  text-shadow: 1px 1px 2px #232740;
  color: rgb(243, 247, 251);
}
@media screen and (max-width: 720px) {
  .title {
    margin: 30px 0 0 25px;
  }
  .title-ua-name {
    font-size: 1.6rem;
  }
  .main-title {
    font-size: 1.25rem;
  }
}
@media screen and (min-width: 1070px) {
  .title {
    margin: 220px 0 0 200px;
  }
}
.main-logo {
  max-width: 50px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

/*      CAROUSEL     */

.logodiv {
  max-height: 440px;
}
@media screen and (max-width: 530px) {
  .carousel-item img {
    height: 200px;
    object-fit: cover;
  }
}
.carousel {
  background-color: rgb(13, 13, 239);
}
.carousel-item img {
  width: 100%;
  max-height: 440px;
  opacity: 75%;
  animation: zoomIn 8s ease forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

/* navigation bar */

.nav-link {
  color: #2a5eea !important;
}
.nav-item:hover {
  background-color: #ffc21f;
  border-radius: 2%;
}

/*     MAIN DIV      */

.main-h2 {
  font-size: 26px;
  font-family: Montserrat, serif;
}
.main-h3 {
  font-size: 22px;
  font-family: Lora, sans-serif;
  color: #2a5eea;
}
.program-list {
  list-style: none;
  padding-left: 0;
}
.program-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  line-height: 1.4;
}
.program-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #2a5eea;
  font-weight: bold;
}

.main-middle {
  text-align: center;
}

.main-div-img {
  margin: 10px auto 15px;
  max-width: 300px;
  border-radius: 1%;
  transition: transform 0.6s ease;
}
.main-div-img:hover {
  transform: scale(0.95);
}
.main-div-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  color: #3c3fa6;
  padding: 12px 12px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.main-div-btn .arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

.main-div-btn:hover {
  transform: translateY(-4px);
  color: #222878;
  text-decoration: none;
}

.main-div-btn:hover .arrow {
  transform: translateX(6px);
}
.main-video {
  text-align: center;
}

.contact-btn {
  width: 200px;
  padding: 10px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  background-color: #0066cc;
  border: none;
  border-radius: 1%;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.contact-btn:hover {
  background-color: #004c99;
  transform: scale(1.05);
}


/*    FEATURES SECTION     */

.feature-box h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 15px;
  color: #333;
}

.feature-box p {
  font-size: 1rem;
  color: #333;
}

.feature-icon {
  font-size: 45px;
  color: #0056b3;
}
.features-section {
  margin-top: 15px;
}
.features-section h4 {
  color: #0056b3;
}
/*    GOOGLE DOC AND FORMS    */

.session-tittle {
  font-size: 1.4rem;
  color: #2a5eea;
}
.sessions-section {
  color: #2a5eea;
}
.google-doc-frame {
  width: 100%;
  height: 800px;
  border: none;
}

/*     COURSE CATALOG     */

.catalogue-section {
  margin-top: 20px;
}
.catalogue-h3 {
  color: #232740;
  font-size: 1.5rem;
}
.catalogue-section h4 {
  color: #232740;
}

/*    course card   */

.course-card h4 {
  color: #232740;
  font-size: 1.25rem;
}

.course-card {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
  overflow: hidden;
  border-radius: 10px;
}

.course-img {
  transition: transform 0.5s ease;
}

.course-card:hover .course-img {
  transform: scale(1.08);
}

.see-more {
  color: #0066ff;
  font-weight: 600;
  text-decoration: none;
}

.see-more:hover {
  text-decoration: underline;
}

/* BACKED BY SECTION */

.backed-div {
  margin-top: 20px;
}
.based-p {
  font-size: 1.25rem;
  color: #1b49c5;
}
.backed-tittle {
  font-size: 2rem;
  color: #232740;
  letter-spacing: 2px;
}
.logo-loop {
  overflow: hidden;
  width: 100%;
  background: transparent;
}

.logo-track {
  display: flex;
  animation: scroll 50s linear infinite;
  width: max-content;
}

.logo {
  width: 120px;
  height: auto;
  margin: 0 30px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 1;
  filter: none;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* REVIEWS */

.reviews-div {
  margin: 20px auto 20px;
}

#reviews-widget-856 a[href*="reviewconnect.me"],
#reviews-widget-856 .rc-powered {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* TEAM SECTION */

.team-tittle {
  margin-top: 20px;
}
.team-tittle h3 {
  font-size: 2.25rem;
  color: #232740;
  letter-spacing: 2px;
}
.team-tittle p {
  font-size: 1.5rem;
  color: #1f37d0;
}
/* Title */
.team-title h3 {
  margin-bottom: 40px;
}

/* Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Card */
.team-card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.team-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: 0 auto 20px;
}

.team-img-wrapper img {
  width: 100%;
  border-radius: 0 0 120px 120px;
  object-fit: cover;
}

.linkedin-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #0077b5;
  color: white;
  padding: 7px 8px;
  border-radius: 25%;
  font-size: 18px;
  text-decoration: none;
  transition: 0.2s;
}

.linkedin-btn:hover {
  background: white;
}

.team-role {
  font-weight: bold;
  margin: 5px 0 10px;
  color: #1f37d0;
}

.team-desc {
  color: #555;
  font-size: 15px;
}

/*  EMPOWER SECTION */

.empower-section {
  background-image: url("img/diplom.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 25px;
  position: relative;
  margin: 0 0 30px;
}
.empower-section h4 {
  color: white;
}
/* Dark overlay for readability */
.empower-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.63);
}

.empower-section .container {
  position: relative;
  z-index: 2;
}

.empower-title {
  color: white;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 40px;
}

/* Cards */
.empower-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  color: white;
  transition: all 0.3s ease;
}

/* Icons */
.empower-card .empower-icon i {
  font-size: 42px;
  color: #ffcc33;
  margin-bottom: 20px;
}

/* Hover effect */
.empower-card:hover {
  background: #ffcc33;
  color: #003366;
  border-color: transparent;
}
.empower-card h3:hover {
  color: #003366;
}
.empower-card:hover .empower-icon i {
  color: #003366;
}

.empower-link {
  color: #ffcc33;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.empower-card:hover .empower-link {
  color: #003366;
}

/* CONTACT */

.contact-background {
  background-image: url("img/contact-back.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 25px;
  position: relative;
  margin: 0 0 30px;
  color: white;
  background-attachment: fixed;
  text-align: center;
}
.contact-section h2 {
  color: white;
  font-family: Lora, sans-serif;
}
/* Dark overlay for readability */

.contact-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.634);
}
.contact-background .container {
  position: relative;
  z-index: 2;
}
.cont-p {
  font-size: 1.5rem;
  letter-spacing: 2px;
  font-weight: 600;
}
.contact-btn {
  background: #ffc21f;
  color: #002147;
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin: 30px auto;
}

.contact-btn:hover {
  background: #ffd84d;
  color: #00172d;
}

.contact-section {
  padding: 30px 30px;
}

.get-in-touch {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #002147 !important;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.6;
}
.contact-info b {
  font-weight: 600;
}

#info-block {
  margin: 20px 0;
}
.map-container iframe {
  border-radius: 12px;
  width: 100%;
}
.wapp-chat-btn {
  background-color: #25d366;
  color: #ffffff;
  font-family: sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 1em;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0.3em 0.6em rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wapp-chat-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.25);
}
.wapp-chat-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* FOOTER */

.footer {
  background: #1b49c5;
  color: white;
  padding: 20px 0 5px;
  margin-top: 10px;
  bottom:0;
}

.footer .footer-logo {
  max-width: 60px;
}

.footer span {
  margin: 5px 0;
}
.footer-name {
  text-shadow: 1px 1px 1px #232740;
}
.all-rights {
  font-size: 0.75rem;
}


/*         COURSE CATALOGUE PAGE      */


.catalogue-page {
  max-width: 95%;
  margin: 20px auto;
  }
  .catalogue-page h1 {
    letter-spacing: 2px;
    font-size: 2rem;
    color: #ffc21f;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px #1b49c5;
    
    }
  .course-catalogue {
    padding-top: 40px;
    padding-bottom: 40px;
    }
  
  .catalogue-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1b49c5;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px #ffc21f;
    
  }
  .cat-description {
    font-weight: 600;
    font-size: 1rem;
    margin-top: 20px;
    margin-bottom: 25px;
  }
  .catalogue-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .catalogue-list li {
    margin-bottom: 8px;
  }
  
  .catalogue-list a {
    text-decoration:#1b49c5 underline;
    font-size: 0.95rem;
    color: #333;
    font-weight: 400;
  }
  
  .catalogue-list a:hover {
    color: #1b49c5;
    text-decoration: #ffc21f  underline;
    font-size: 1.05rem;
  }
  
  .course-list {
    display: block; 
    padding: 4px 6px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
  }
   
  .course-list.highlight::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      radial-gradient(
        circle at top right,
        rgba(255, 215, 80, 0.5),
        transparent 60%
      );
  }
  .course-search {
    position: relative;
    max-width: 400px;
  }
  
  .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    z-index: 10;
    display: none;
    overflow: hidden;
  }
  
  .search-results div {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
  }
  
  .search-results div:hover {
    background: #f5f7ff;
  }
  
  

/*         ENROLMENT CONDITIONS      */


.enrolment-main {
  padding: 30px 15px 30px;
  }
.enrolment-main h2 {
  color: #1b49c5;
  letter-spacing: 2px;
  font-family: Lora; Sans-sarif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 30px;
}
.enrolment-main h3 {
  color: #1b49c5;
  font-weight: 500;
  font-size: 1.5rem;
  }


  /*         COURSE PAGES      */
  
  .course-page h3 {
    color: #232740;
    font-family: sans-serif;
    letter-spacing: 1px;  
  }
  .course-page b, strong {
    font-weight: 600;
  }
  .course-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 25px auto 10px;
    color: #1b49c5;
    text-shadow: 1px 1px 2px #232740;
  }
.teaser {
  margin-top:7px;
}

.underline {
  text-decoration: underline;
}
.course-page-description {
  position: relative;
}
.course-page-img {
  float: right;
  max-width: 200px;
  margin: 0 20px 5px 0;
}
@media (max-width: 768px) {
  .course-page-img {
    position: absolute;
    top: 50%;
    left: 80%;
    transform: translate(-50%, -50%);
    width: 70%;
    opacity: 0.22;
    z-index: 0;
    float: right;
  }
  .course-page-description p {
    position: relative;
    z-index: 1;
  }
}


  /*        MATERIALS PAGE      */


  .materials-page h1 {
    font-size: 2rem;
  }
  .materials-page h3 {
    font-size: 1.75rem;
  }


   /*      SESSIONS PAGE      */

   .sessions-page h1 {
    font-size: 2rem;
    color: #1b49c5;
    text-shadow: 1px 1px 2px #232740;
    font-family: Lora, sans-serif;
   }

   /*        BLOG PAGE      */


  .blog-page h1 {
    font-size: 2rem;
  }
  .blog-page h3 {
    font-size: 1.75rem;
  }

  /*        BLOG PAGE      */

  .funding-page h1 {
    font-size: 2rem;
  }
  .funding-page h3 {
    font-size: 1.75rem;
  }