/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", Helvetica, sans-serif;
  color: var(--dark-blue);
  line-height: 1.5;
}

.element-homepage {
  width: 100%;
  overflow-x: hidden;
}

/* Container styles */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}




.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 32px;
  margin-right: 10px;
}







/* Header styles */
.main-header {
  background-image: url(https://www.colorhexa.com/1c1e53.png);
  background-size: cover;
  background-position: center;
  padding: 150px 0 80px;
  color: #ffffff;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  max-width: 600px;
}
.subheadline {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
  opacity: 0.9;
  font-size: 32px;
}
.main-heading {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 20px;
  margin-top: -200px;
}

.join-interactive {
  text-align: justify;      /* aligns text left + right */
  text-justify: inter-word; /* distributes spacing between words */
  line-height: 1.8; 
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #fcd980;
  border-radius: 5px;
  color: #282938;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ffcb45;
}

.consultation-cta {
  display: flex;
  align-items: center;
}

.consultation-link {
  color: #ffffff;
  text-decoration: none;
  margin-right: 10px;
  white-space: nowrap;
}

.arrow-icon {  /* arrow icon*/
  width: 24px;   
  height: auto;  
}

.icon-wrapper {
  display: flex;
  align-items: center;
}

.header-image-container {
  flex: 0 0 50%;
  justify-content: center;
}

.header-image {
  max-width: 110%;
  height: auto;
  margin-left: -30px;
}



/* About Us section */
.about-us {
  padding: 100px 0;
  background-color: #ffffff;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 50px;
}

.about-content {
  flex: 0 0 50%;
}

.about-heading {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-description {
  opacity: 0.7;
  font-size: 16px;
}

.about-image {
  flex: 0 0 45%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Courses section */
.courses {
  padding: 100px 0;
  background-color: #ffffff;
}

.courses-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.courses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.courses-heading {
  font-size: 38px;
  font-weight: 600;
}

.courses-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.category-button {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 500;
  color: #282938;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.category-button::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 8px;
  background-image: url('https://cdn-icons-png.flaticon.com/128/32/32195.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 8px;
}

.see-all-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #fcd980;
  border-radius: 5px;
  color: #282938;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.see-all-button:hover {
  background-color: #ffcb45;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.course-card {
  border: 1px solid #e9e9e9;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course-image-container {
  position: relative;
}

.course-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.course-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #fcd980;
  color: #2405f2;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.course-content {
  padding: 20px;
}

.course-provider {
  color: #555555;
  font-size: 16px;
  margin-bottom: 10px;
}

.course-provider span {
  color: #000000;
  font-weight: 500;
}

.course-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.3;
}

/*.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 14px;
  color: #555555;
}*/

.course-meta {
  display: flex;
  gap: 10px; 
  align-items: center;
  margin-bottom: 17px; 
  font-size: 14px;
  color: #555555;
}

.course-duration, .course-students {
  display: flex;
  align-items: center;
}

.course-duration::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8C16 3.58172 12.4183 0 8 0ZM8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5Z" fill="%23555555"/><path d="M8.75 3.75H7.25V8.31L10.4697 11.5303L11.5303 10.4697L8.75 7.69V3.75Z" fill="%23555555"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
}

.course-students::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M8 0C5.79086 0 4 1.79086 4 4C4 6.20914 5.79086 8 8 8C10.2091 8 12 6.20914 12 4C12 1.79086 10.2091 0 8 0ZM5.5 4C5.5 2.61929 6.61929 1.5 8 1.5C9.38071 1.5 10.5 2.61929 10.5 4C10.5 5.38071 9.38071 6.5 8 6.5C6.61929 6.5 5.5 5.38071 5.5 4Z" fill="%23555555"/><path d="M8 9C3.58172 9 0 12.5817 0 17H1.5C1.5 13.4101 4.41015 10.5 8 10.5C11.5899 10.5 14.5 13.4101 14.5 17H16C16 12.5817 12.4183 9 8 9Z" fill="%23555555"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e9e9e9;
}

.course-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
}

.original-price {
  color: #9d9d9d;
  text-decoration: line-through;
  font-size: 16px;
}

.discounted-price {
  color: #55be23;
  font-weight: 500;
  font-size: 18px;
}

.course-link {
  color: #000000;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.course-link:hover {
  color: #2405f2;
}

/* Testimonials section */
.testimonials {
  padding: 100px 0;
  background-image: url(https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcRKdMiS48YmSDqF6Ybgr5BNFQgrVYNRYjodv_Vbh90KmDfCC3z8);
  background-size: cover;
  background-position: center;
}

.testimonial-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
}

.testimonial-intro {
  flex: 0 0 30%;
}

.testimonial-heading {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  max-width: 300px;
}

.testimonial-subheading {
  opacity: 0.7;
  margin-bottom: 40px;
  max-width: 270px;
}

.testimonial-content {
  display: none;
  flex: 0 0 60%;      
  max-width: 700px;   
  width: 100%;        
  margin-left: 40px;  
}

.testimonial-content.active {
  display: block;
}

.testimonial-quote {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 40px;
  position: relative;
  padding-left: 25px;
}

.testimonial-quote::before {
  content: "";
  position: absolute;
  left: -10px;
  top: -20px;
  font-size: 60px;
  color: #2405f2;
  opacity: 0.2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  margin-left: 25px;
}

.author-image {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-right: 15px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 18px;
  font-weight: 500;
}

.author-title {
  font-size: 12px;
  color: var(--dark-blue);
  opacity: 0.8;
}

.testimonial-nav {
  display: flex;
  gap: 10px;
  margin-left: 0;         
  margin-top: 170px;       
  justify-content: center;
}

.nav-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(36, 5, 242, 0.4);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-dot.active {
  background-color: #2405f2;
}

/* FAQ section */
.faq {
  padding: 100px 0;
  background-color: #ffffff;
}

.faq-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 50px;
}

.faq-heading {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  flex: 0 0 30%;
}

.faq-subheading {
  opacity: 0.7;
  margin-bottom: 40px;
}

.faq-list {
  flex: 0 0 65%;
}

.faq-item {
  border-bottom: 2px solid #eeeeee;
  margin-bottom: 20px;
}

.faq-question {
  font-size: 24px;
  font-weight: 500;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 24px;
  color: #282938;
  opacity: 0.6;
}

.faq-item[open] .faq-question::after {
  content: "-";
}

.faq-answer {
  padding-bottom: 20px;
  opacity: 0.7;
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
}

/* Blog section */
.blog {
  padding: 100px 0;
  background-color: #ffffff;
}

.blog-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.blog-heading {
  font-size: 38px;
  font-weight: 600;
}

.see-all-link {
  display: flex;
  align-items: center;
  color: #282938;
  text-decoration: none;
  font-size: 16px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.see-all-link:hover {
  opacity: 1;
}

.see-all-link::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 11px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="17" height="11" viewBox="0 0 17 11" fill="none"><path d="M12 9.39905L15.2929 6.10615C15.6834 5.71563 15.6834 5.08246 15.2929 4.69194L12 1.39905M15 5.39905L1 5.39905" stroke="%23282938" stroke-width="1.5" stroke-linecap="round"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 10px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-post {
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.post-image {
  width: 100%;
  height: 285px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.post-date {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark-blue);
  opacity: 0.7;
  margin-bottom: 10px;
}


.post-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
  line-height: 1.4;
}

.post-excerpt {
  opacity: 0.7;
  margin-bottom: 20px;
  font-size: 16px;
}

.read-more {
  display: flex;
  align-items: center;
  color: #282938;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #2405f2;
}

.read-more::after {
  content: "";
  display: inline-block;
  width: 25px;
  height: 11px;
  /*background-image: url('https://img.icons8.com/?size=100&id=39969&format=png&color=FFFFFF');*/
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 10px;
}

/* Registration section */
.registration {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  margin-bottom: 100px;
  background-color: #1c1e53;
  border-radius: 10px;
  overflow: hidden;
}

.registration-content {
  flex: 1;
  padding: 60px;
  color: #ffffff;
  background-image: url(https://www.addingvalue.nu/_next/image?url=https://cdn.sanity.io/images/o4uw3mgf/production/ebbb3a56a89fae825b33755ce612b8eb4e1497c8-7890x5263.jpg?fit=max&auto=format&w=1920&q=75);
  background-size: cover;
  background-position: center;
  position: relative;
}

.registration-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 30, 83, 0.8);
}

.registration-content > * {
  position: relative;
  z-index: 1;
}

.registration-description {
  margin-top: 20px;
  opacity: 0.9;
}

.registration-form {
  flex: 1;
  padding: 60px;
  background-color: #1c1e53;
}

.form-heading {
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
}

.form-description {
  color: #ffffff;
  opacity: 0.7;
  margin-bottom: 40px;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.form-fields input {
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: transparent;
  color: #ffffff;
}

.form-fields input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.login-link {
  text-align: center;
  margin-top: 20px;
  color: #ffffff;
}

.login-link a {
  color: #ffffff;
  text-decoration: underline;
}

/* Footer styles */
.main-footer {
  background-color: #1c1e53;
  color: #ffffff;
  padding-top: 80px;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding: 0 20px 60px;
}

.footer-branding {
  max-width: 300px;
}

.footer-logo {
  width: 54px;
  height: auto;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}


.footer-logo-tagline {
  display: flex;
  align-items: center;
  gap: 12px; 
}

.footer-tagline {
  margin-bottom: 0; 
}


.footer-description {
  opacity: 0.9;
}

.footer-contact h3,
.footer-social h3,
.footer-legal h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-social ul,
.footer-legal ul {
  list-style: none;
}

.footer-social li,
.footer-legal li {
  margin-bottom: 15px;
}

.footer-social a,
.footer-legal a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-social a:hover,
.footer-legal a:hover {
  opacity: 0.8;
}

.footer-bottom {
  background-color: #ffffff;
  padding: 20px 0;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

.copyright {
  color: var(--dark-blue);
  font-size: 18px;
  font-weight: 500;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.footer-nav a {
  color: #282938;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #2405f2;
}



/* Scroll to Top Button */
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 100;
  font-size: 20px;
  background-color: #eceef3;
  color: rgb(83, 82, 82);
  border: none;
  border-radius: 50%;
  padding: 9px 14px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

#scrollToTopBtn:hover {
  background-color: #aeb0e3;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}



/* Responsive styles */
@media (max-width: 1200px) {
  .benefits-grid,
  .courses-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-container,
  .about-container,
  .registration-container {
    flex-direction: column;
    
  }
  
  .header-image-container {
    margin-top: 40px;
    text-align: center;
  }
  
  .header-image {
     max-width: 80%;
  }
  
  .about-content,
  .about-image {
    flex: 0 0 100%;
  }
  
  .about-image {
    margin-top: 40px;
  }
  
  .registration-image,
  .registration-form {
    flex: 0 0 100%;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    justify-content: space-between;
    width: 100%;
  }
}

@media (max-width: 768px) {
    .register-button {
        padding: 16px;
        font-size: 1rem;
    }
  .main-heading {
    font-size: 32px;
  }
  
  .benefits-grid,
  .courses-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .courses-header,
  .blog-header {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .faq-container {
    flex-direction: column;
  }
  .faq-answer {
  text-align: left;
}
  .footer-bottom-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .main-header {
    padding: 120px 0 60px;
      /*display: flex;
      align-items: center;
      min-height: 80vh;*/
  }
  
  .section-heading,
  .courses-heading,
  .blog-heading,
  .registration-heading {
    font-size: 28px;
  }
  
  .testimonial-quote {
    font-size: 20px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}


/* Hamburger button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
}

/* Overlay menu styles */
.overlay-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #1c1e53;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: left 0.4s ease;
  z-index: 2000;
}

.overlay-menu.active {
  left: 0;
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

.overlay-links {
  list-style: none;
  text-align: center;
  margin-bottom: 40px;
}

.overlay-links li {
  margin: 20px 0;
}

.overlay-links a {
  font-size: 22px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.overlay-links a:hover {
  color: #fcd980;
}

.overlay-login {
  padding: 12px 30px;
  border: 1px solid #fff;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.overlay-login:hover {
  background: #fff;
  color: #1c1e53;
}

/* Responsive rules */
@media (max-width: 992px) {
  
  .menu-toggle {
    display: flex;
  }
}
