/* 
===============================================================
=                   Intro section                             =
===============================================================
 */

.intro-section .intro-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    gap: 2rem;
    padding: 2rem 4rem;
 
}

.intro-section .intro-text {
    flex: 1;
    
    display: flex;
    flex-direction: column;
}


.intro-section .intro-text h2 {
  
    font-style: bold;
    font-weight: 500 ;
    font-size: 3rem;   
    line-height: 2;
    margin-top: 0;
    margin-left: 1rem;
    color: #000000;
    margin-bottom: 1rem;
    max-width: 100%;
    word-break: break-word;
}



.intro-section .intro-text span {
    display: block;
    font-family: 'Clash Grotesk', 'Segoe UI', Arial, sans-serif !important;
    margin-top: 0.2rem;
    font-weight: 500 ;
    font-size: 2.5rem; 
}

.intro-section .intro-images {
    flex: 1;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.intro-section .intro-img {
    max-width: 90%;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


.intro-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    object-fit: unset;
    
}



.logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    background: #8E77F8;     
    border-radius: 50%;       
    padding: 8px;             
    box-sizing: border-box;
}

.logo-label {
    font-size: 1.1rem;
    color: #000000;
    margin-top: 0.1rem;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-family: 'Segoe UI', Arial, sans-serif !important;
}

.logo-arrow {
    font-size: 2rem;
    color: #000000;
    margin: 3rem 0.5rem;
    font-weight: bold;
    letter-spacing: 0.5rem;
    transform: scaleX(3);
    display: flex;
    align-items: center;      
    height: 48px;             
    align-self: center;       
    line-height: 48px;        
}



/* 
====================================
=       key features section       =
====================================
 */


.key-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; 
}

.key-feature-img {
    width: 80rem;       
     height: 30rem;  
    object-fit: contain; 
    display: block;
    margin: 0 auto;
}

.intro-buttons {
    display: flex;
    gap: 3rem;
    margin-top: 4rem; 
    justify-content: flex-start;
}
.intro-btn {
    padding: 0.7rem 2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-family: 'Clash Grotesk', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border 0.2s;
    cursor: pointer;
    border: none;
    display: inline-block;
    text-align: center;
}

.primary-btn {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.primary-btn:hover {
    background: #000000;
    border-color: #000000;
    box-shadow:  0 0 0 1px #000000; 
}

.secondary-btn {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.secondary-btn:hover {
    background: #f3f0fd;
    color: #000000;
    border-color: #000000;
}

/* 
======================================
=   teachassist_section              =
======================================

*/

.why-section {
  background-color: #8E77F8; 
  padding: 2rem 4rem;
  color: #ffffff !important;
  text-align: left;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  
  
}

.why-section h2 {
    font-size: 2.5rem;
    font-weight: 500;
  margin-bottom: 3rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: left;
}

.card {
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-style: normal;
    font-weight: 500 !important;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff;
    font-family: 'Clash Grotesk', 'Segoe UI', Arial, sans-serif;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.card-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 32px;
  border: 1px solid #ffffffff;
  border-radius: 16px;   
  color: #ffffff;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease;
  padding: 0;
  background: transparent;
}


.card-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 32px;
  border: 1px solid #ffffff;
  border-radius: 16px;
  color: #ffffff;
  font-size: 1.5rem; 
  text-decoration: none;
  transition: transform 0.2s ease;
  padding: 0;
  background: transparent;
  font-family: 'Clash Grotesk', sans-serif;
}

.card-btn::after,
.card-btn > span,
.card-btn > svg {
  transform: scaleX(2); 
  display: inline-block;
}


/*
 =======================================
 =       success_section               =
 =======================================

 */

.success-tools-section {
    background: #ffffff;
    padding: 3rem 0;
}

.success-tools-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.success-tools-container h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 2rem;
    font-weight: 500;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.success-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.success-tools-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: left;
    border: 1px solid #000000;
    transition: box-shadow 0.2s;
    font-family: 'Clash Grotesk', 'Segoe UI', Arial, sans-serif !important;
}

.success-tools-card img {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
}

.success-tools-card h3 {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 600 !important;
    opacity: 0.8;
    letter-spacing: 2px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.success-tools-card p {
    font-size: 0.97rem;
    color: #000000;
    text-align: left;
    margin: 0;
    font-family: 'Clash Grotesk',  !important;
}


.success-tools-card p {
    font-size: 0.97rem;
    color: #000000;
    text-align: left;
    margin: 0;
    font-family: 'Clash Grotesk',  !important;
}



/*
 =============================== 
 =       Connected Learning    =
 ===============================
 
 */

.connected-learning-modern {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.connected-learning-modern-title {
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  letter-spacing: 3px;
}

.connected-learning-modern h1
{
  font-family: 'Segoe UI', Arial, sans-serif;
    color: #000000;
}
.connected-learning-modern-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}

.connected-learning-modern-card {
  flex: 1 1 0;
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
  min-width: 260px;
  min-height: 240px;
  box-sizing: border-box;
  font-family: 'Clash Grotesk', 'Segoe UI', Arial, sans-serif;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}


.card-left {
  background: #ffffff;
  color: #000000;
  border-top-left-radius: 24px;      
  border-bottom-left-radius: 0;      
  border-top-right-radius: 0;        
  border-bottom-right-radius: 24px;  
  border: 1.5px solid #000000;      
  box-shadow: none;                  
}

.card-middle {
  background: #000000;
  color: #ffffff;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top: 2px solid #ffffffff;
  border-bottom: 2px solid #ffffffff;
  border-right: none;
  border-left: none;
}
.card-right {
  background: #8E77F8;
  color: #ffffff;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border: 2px solid #8E77F8;
  border-left: none;
}


.connected-learning-modern-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem; 
}



.card-middle::before {
  content: '';
  position: absolute;
  right: -9px;   
  left: auto;
  top: 28px;
  width: 26px;
  height: 18px;
  background: #ffffff; 
  border-radius: 50%;
  z-index: 2;
  box-shadow:
    0 0    0 0 #ffffff,
    0 48px 0 0 #ffffff,
    0 96px 0 0 #ffffff,
    0 144px 0 0 #ffffff,
    0 192px 0 0 #ffffff;
}
.card-middle::after {
  display: none;
}


.card-right::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 28px;
  width: 26px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 2;
  box-shadow:
    0 0    0 0 #ffffff,
    0 48px 0 0 #ffffff,
    0 96px 0 0 #ffffff,
    0 144px 0 0 #ffffff,
    0 192px 0 0 #ffffff;
}
.card-right::after {
  display: none;
}


.connected-learning-modern-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-family: 'Clash Display', Arial, sans-serif;
  font-weight: 300 !important;
}

.connected-learning-modern-card p {
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Clash Grotesk', 'Segoe UI', Arial, sans-serif;
  font-weight: 400 !important;
}


/* 
========================================
=         tusted by section            =
========================================
*/

.trusted-section {
  background: #ffffff;
  padding: 3rem 0 2rem 0;
}

.trusted-container h2{
    color: #000000;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: xx-large;
}

.trusted-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.trusted-title {
  font-size: 2rem;
  font-weight: 600;
  text-align: left;
  margin-bottom: 1rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.01em;
}

.trusted-desc {
  font-size: 1.2rem;
  color: #00000000;
  margin-bottom: 2.5rem;
  font-family: 'Clash Grotesk', 'Segoe UI', Arial, sans-serif !important;
  text-align: left;
}

.trusted-logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding : 0 4rem;
  margin-top: 4.5rem;
}

.trusted-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 80px;
}

.trusted-logo img {
  max-height: 8rem;
  object-fit: contain;
  display: block;
}

.trusted-logo-box {
  border: 1.2px solid #000000;
  font-size: 1.2rem;
  color: #000000;
  background: #ffffff;
  padding: 1.2rem 2rem;
  border-radius: 0.2rem;
  text-align: left;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600 !important;
  min-width: 150px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* 
================================================================
=         our client section  or testimonials-section          =
================================================================


*/



.testimonials-section {
  background: #ffffff;
  padding: 5rem 0 4rem 0;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.testimonials-container h2 {
  color: #000000;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: xx-large;
  letter-spacing: 2px;
}

.testimonials-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.01em;
}

.testimonials-cards {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #ffffff;
  border: 1.5px solid #8E77F8;
  border-radius: 24px;
  padding: 2rem 2rem 1.5rem 2rem;
  min-width: 320px;
  max-width: 370px;
  flex: 1 1 320px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Arial, sans-serif;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.testimonial-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffffff;
}

.testimonial-name {
  font-size: 1.3rem;  
  color: #000000;
  font-family: 'Segoe UI', Arial, sans-serif !important;
}

.testimonial-role {
  font-size: 0.98rem;
  color: #555;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.testimonial-body p {
  font-size: 0.9rem;
  color: #000000;
  margin-bottom: 0.7rem;
  line-height: 1.5;
  font-family: 'Clash Grotesk', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}





/* ========================= */
/* Responsive Enhancements   */
/* ========================= */

/* For tablets and below */
@media (max-width: 900px) {
  .intro-section .intro-content {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }
  .intro-section .intro-images {
    justify-content: center;
    margin-top: 2rem;
  }
  .why-section {
    padding: 2rem 1rem;
  }
  .trusted-logos {
    padding: 0 1rem;
  }
  .success-tools-container {
    padding: 0 1rem;
  }
  .testimonials-section {
    padding: 3rem 0 2rem 0;
  }
  .testimonials-container {
    padding: 0 1rem;
  }

   .connected-learning-modern {
    padding: 2rem 0.5rem;
  }
  .connected-learning-modern-cards {
    flex-direction: column;
    gap: 1.5rem;
  }
  .connected-learning-modern-card {
    min-width: 0;
    width: 100%;
    padding: 2rem 1rem 1.5rem 2rem;
  }
}

/* For small tablets and large phones */
@media (max-width: 700px) {
  .intro-section .intro-text h2 {
    font-size: 2.5rem;
    line-height: 1.3;
  }
  .intro-section .intro-text span {
    font-size: 1.5rem;
  }
  .key-feature-img {
    width: 100%;
    height: auto;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .intro-buttons {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }
  .why-section h2 {
    font-size: 1.5rem;
  }
  .trusted-title {
    font-size: 1.3rem;
  }
  .trusted-desc {
    font-size: 1rem;
  }
  .success-tools-container h1 {
    font-size: 2rem;
  }
  .testimonials-title {
    font-size: 1.5rem;
  }

   .connected-learning-modern-title {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  .connected-learning-modern-card h2 {
    font-size: 1.1rem;
  }
  .connected-learning-modern-card p {
    font-size: 0.95rem;
  }
}

/* For mobile phones */
@media (max-width: 480px) {
  .intro-section .intro-content {
    padding: 1rem 0.5rem;
    gap: 1rem;
    
  }
  .intro-section .intro-text h2 {
    font-size: 2rem;
    line-height: 2;
  }
  .intro-section .intro-text span {
    font-size: 1.5rem;
  }
  .key-features {
    flex-direction: column;
    gap: 1rem;
  }
  .cards {
    gap: 1rem;
  }
  .success-tools-container {
    padding: 0 0.5rem;
  }
  .trusted-logos {
    padding: 0;
    gap: 0.7rem;
  }
  .trusted-logo-box {
    font-size: 1rem;
    padding: 0.7rem 0.5rem;
    min-width: 90px;
    min-height: 40px;
  }
  .testimonials-section {
    padding: 2rem 0 1rem 0;
  }
  .testimonials-container {
    padding: 0 0.5rem;
  }
  .testimonial-card {
    padding: 1rem 0.5rem;
    min-width: 0;
    max-width: 100vw;
  }
  .testimonials-title {
    font-size: 1.1rem;
  }


   .connected-learning-modern {
    padding: 1rem 0.2rem;
  }
  .connected-learning-modern-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .connected-learning-modern-card {
    padding: 2rem 0.5rem 1rem 2rem;
    min-width: 0;
  }
  .connected-learning-modern-card h2 {
    font-size: 2rem;
  }
  .connected-learning-modern-card p {
    font-size: 0.9rem;
  }
}

/* Make images and videos always scale down */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}