:root {
  --primary: #67bc7c;
  --primary-pressed: #5aa86b;
  --primary-hover-color: #f5fdfc;
  --third-color: #616a75;
  --primary-text-color: #ffffff;
  --secondary-text-color: rgba(255, 255, 255, 0.8);
  --background-color: #000000;
  --accent-green: #00ff73;
  --accent-pink: #ff0095;
  --accent-orange: #e06247;
  --accent-purple: #a595ff;
}

body#educator {
  
  color: white;
  font-family: 'SF Pro Display', sans-serif;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Teacher Guides Link Styling */
.teacher-guides-link {
  color: var(--accent-green) !important;
  text-decoration: none;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
  background: rgba(0, 255, 115, 0.1);
  border: 1px solid rgba(0, 255, 115, 0.3);
}

.teacher-guides-link:hover {
  background: rgba(0, 255, 115, 0.2);
  border-color: var(--accent-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 255, 115, 0.2);
}

/* Hero Section */
.hero-section {
  margin-top: 150px;
  padding: 50px 0 60px 0;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  min-height: 600px;
  max-width: 1200px;
  margin: 150px auto 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero-content {
  flex: 1;
  max-width: 700px;
  z-index: 2;
}

.troutwood-logo {
  font-family: 'Troutwood', sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: white;
  margin-bottom: 30px;
  line-height: 1;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: 'Cal Sans', sans-serif;
  font-size: 72px;
  font-weight: 400;
  color: white;
  margin-bottom: 20px;

}

.hero-subtitle {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: white;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

body#educator .btn-primary,
#educator .btn-primary,
.btn-primary {
  background: #e06247 !important;
  color: white !important;
  border: none !important;
  padding: 12px 16px !important;
  border-radius: 6px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  font-family: 'SF Pro Display', sans-serif !important;
  box-shadow: 0 2px 8px rgba(224, 98, 71, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
  justify-content: center !important;
}

body#educator .btn-primary:hover,
#educator .btn-primary:hover,
.btn-primary:hover {
  background: #D45236 !important;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}



body#educator .btn-primary.large,
#educator .btn-primary.large,
.btn-primary.large {
  padding: 18px 20px !important;
  font-size: 24px !important;
  box-shadow: 0 4px 15px rgba(224, 98, 71, 0.3) !important;
}


.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero-image {
  flex: 0 0 auto;
  max-width: 650px;
  min-width: 500px;
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: -150px;
}

/* Educator Image Layers Container */
.educator-image-layers {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
  overflow: hidden;
  border-radius: 12px;
}

/* Educator Image Layer - Base layer */
.educator-image-layer-1 {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  flex-shrink: 0;
}

.educator-image-layer-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: color-dodge;
}

/* Color Gradient Overlay - Applied directly to image */
.educator-image-layer-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 0.3;
  background-position: center;
  background-size: 100%;
  mix-blend-mode: overlay;
  filter: none;
  z-index: 2;
  /* Circular container with feathered edges */
  border-radius: 50%;
  overflow: hidden;

}

/* Quote Section */
.quote-section {
  padding: 80px 0 60px 0;
  text-align: left;
  position: relative;
  z-index: 2;
}

.quote-text {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 48px;
  color: white;
  margin: 0;
}

.highlight {
  color: #e06247;
}

.troutwood-text {
  font-family: 'Troutwood', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Section Badge */
.section-badge {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 30px;
}

/* How We Help Section */
.how-we-help-section {
  padding: 100px 100px 0px 100px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: 'Cal Sans', sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: white;
  margin-bottom: 30px;
}

.section-description {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 991px;
  margin: 0 auto 60px auto;
}

/* Image Gallery */
.image-gallery {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 0px;
  margin-top: 60px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.main-item {
  width: 750px;
  height: 430px;
  z-index: 2;
  position: relative;
}

.side-item {
  width: 400px;
  height: 350px;
  z-index: 1;
  position: relative;
  margin: 20px -140px 0 -140px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* Below Gallery Image */
.below-gallery-image {
  margin-top: 100px;
  display: flex
;
  text-align: center;
  justify-content: center;
}

.below-gallery-image img {
  max-width: 50%;
  height: auto;
  border-radius: 12px;
}

/* How It Works Section */
.how-it-works-section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(7500%) hue-rotate(250deg) brightness(102%) contrast(101%);
}

/* Override for exact #A595FF color */
.feature-icon {
  filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(7500%) hue-rotate(250deg) brightness(140%) contrast(80%) !important;
}

.feature-content h3 {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.feature-content p {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* What You Get Section */
.what-you-get-section {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.features-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.features-column {
  background: linear-gradient(135deg, rgba(9, 6, 25, 1) 0%, rgba(16, 12, 37, 1) 100%);
  border: 1px solid #1b134a;
  border-radius: 12px;
  padding: 40px;
}

.features-column h3 {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 30px;
}

.features-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-column li {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  color: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.resource-link {
  color: #67bc7c;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.resource-link:hover {
  color: #5f8ee8;
  border-bottom-color: #5f8ee8;
  transform: translateY(-1px);
}

/* Video Library Link Section */
.video-library-link-section {
  text-align: center;
  margin-top: 50px;
  padding: 0 20px;
}

.video-library-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px 40px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.video-library-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #67bc7c, #5f8ee8);
  z-index: 1;
}

.video-library-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.link-content {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  z-index: 2;
}

.link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px;
  transition: all 0.3s ease;
}

.video-library-link:hover .link-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Teacher Guides Link Styling */
.teacher-guides-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 184, 110, 0.1);
  border: 2px solid rgba(30, 184, 110, 0.3);
  border-radius: 12px;
  padding: 20px 40px;
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-green);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  margin-left: 20px;
  overflow: hidden;
}

.teacher-guides-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1eb86e, #00ff73);
  z-index: 1;
}

.teacher-guides-link:hover {
  transform: translateY(-3px);
  background: rgba(30, 184, 110, 0.2);
  border-color: var(--accent-green);
  box-shadow: 0 15px 40px rgba(30, 184, 110, 0.2);
  color: var(--accent-green);
  text-decoration: none;
}

.teacher-guides-link:hover .link-icon {
  background: rgba(30, 184, 110, 0.2);
  transform: scale(1.1);
}

/* Responsive styling for both links */
@media (max-width: 768px) {
  .video-library-link-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .teacher-guides-link {
    margin-left: 0;
    width: 100%;
    max-width: 300px;
  }
  
  .video-library-link {
    width: 100%;
    max-width: 300px;
  }
}

/* Trusted By Section */
.trusted-by-section {
  padding: 100px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Responsive Design */
@media (max-width: 1200px) {
  .hero-image {
    max-width: 550px;
    min-width: 400px;
    margin-right: -100px;
  }
  
  /* Ensure image gallery stays in row format for large tablets */
  .image-gallery {
    flex-direction: row;
  }
}

@media (max-width: 1024px) {
  .hero-image {
    max-width: 500px;
    min-width: 350px;
    margin-right: -80px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  /* Ensure image gallery stays in row format for tablets */
  .image-gallery {
    flex-direction: row;
  }
}

/* iPad Pro (12.9") */
@media (max-width: 1024px) and (min-width: 890px) {
  .hero-image {
    max-width: 480px;
    min-width: 380px;
    margin-right: -70px;
  }

  .hero-section {
    padding: 100px 40px 0px 40px;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 19px;
  }
  
  .section-title {
    font-size: 42px;
  }
  
  .section-description {
    font-size: 18px;
  }
  
  /* Ensure image gallery stays in row format for iPad Pro */
  .image-gallery {
    flex-direction: row;
  }
  
  .main-item {
    flex: 0 0 60%;
  }
  
  .side-items {
    flex: 0 0 35%;
    gap: 15px;
  }
}

/* iPad Pro (11") and iPad (10.2") */
@media (max-width: 834px) and (min-width: 768px) {
  .hero-image {
    max-width: 450px;
    min-width: 350px;
    margin-right: -60px;
  }

  .hero-content {
    padding: 100px 40px 0px 40px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 38px;
  }
  
  .section-description {
    font-size: 17px;
  }
  
  /* Ensure image gallery stays in row format for smaller iPads */
  .image-gallery {
    flex-direction: row;
  }
  
  .main-item {
    flex: 0 0 65%;
  }
  
  .side-items {
    flex: 0 0 30%;
    gap: 12px;
  }
}

@media (max-width: 768px) {

  .section-badge {
    margin-bottom: 0 !important;
  }

  .quote-section {
    padding: 0 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px !important;
  }

  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 100px 0 40px 0;
    margin-top: 0;
  }

  .hero-buttons {
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  
  .hero-image {
    max-width: 100%;
    min-width: auto;
    width: 80%;
    margin: 40px auto 0;
    margin-right: auto;
  }
  
  .hero-title {
    font-size: 38px;
    margin: 20px  !important;
    margin-top: 50px !important;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .section-description {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    margin-top: 0;
    padding: 80px 0 20px 0;
  }
  
  .hero-image {
    width: 90%;
    margin: 30px auto 0;
  }
  
  .hero-content {
    padding-left: 0;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-description {
    font-size: 16px;
  }
  
  .how-it-works-section,
  .what-you-get-section {
    padding: 40px 0;
  }
  
  .container {
    padding: 0 15px;
    padding-top: 0 !important;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .features-comparison {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0;
  }
  
  .image-gallery {
    flex-direction: column;
    align-items: center;
  }
  
  .main-item {
    width: 100%;
    max-width: 400px;
    height: 250px;
  }
  
  .side-item {
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin: 0 !important;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .features-comparison {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .trusted-by-section .section-title {
    font-size: 36px;
  }
}

/* Testimonial Section */
.testimonial-section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(103, 188, 124, 0.05) 0%, rgba(95, 142, 232, 0.05) 100%);
  overflow: visible;
}


.testimonial-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 40px;
  overflow: visible;
}


.testimonial-quote {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 32px;
  font-weight: 300;
  color: white;
  margin: 0 0 30px 0;
  font-style: italic;
  position: relative;
  letter-spacing: -0.3px;
  padding: 50px 30px;
  overflow: visible;
}

.testimonial-quote::before {
  content: '"';
  font-family: 'Times New Roman', serif;
  font-size: 100px;
  font-weight: 400;
  color: rgba(103, 188, 124, 0.3);
  font-style: italic;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  pointer-events: none;
  line-height: 1;
}

.testimonial-quote::after {
  content: '"';
  font-family: 'Times New Roman', serif;
  font-size: 100px;
  font-weight: 400;
  color: rgba(103, 188, 124, 0.3);
  font-style: italic;
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 1;
  pointer-events: none;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.author-name {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, #67BC7C 0%, #5f8ee8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.author-title {
  font-family: 'SF Pro Display', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
  .how-it-works-section,
  .what-you-get-section {
    padding: 30px 0;
  }
  
  
  .features-grid {
    gap: 20px;
  }
  
  .features-comparison {
    gap: 30px;
  }
}

/* Responsive adjustments for testimonial */
@media (max-width: 768px) {

  .hero-content {
   display:flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .testimonial-section {
    padding: 80px 0;
  }

  .main-item {
    width: 100%;
    max-width: 450px;
    height: 250px;
  }

    .side-item {
      width: 314px;
      height: 219px;
      z-index: 1;
      position: relative;
      margin: 20px -140px 0 -140px;
  }

  .below-gallery-image img{
    max-width: 90%;
  }

  .how-we-help-section {
    padding: 50px 20px 0 20px;
  }

  .how-it-works-section {
    padding: 50px 20px 0 20px;
  }

  .features-grid {  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .features-comparison {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .testimonial-section {
    padding: 50px 20px 0 20px;
  }
  
  .quote-text {
    font-size: 40px;
    padding: 0 20px;
  }
  .testimonial-container {
    padding: 0 20px;
  }
  
  .testimonial-quote::before,
  .testimonial-quote::after {
    font-size: 80px;
  }
  
  .testimonial-quote::before {
    top: 8px;
    left: 8px;
  }
  
  .testimonial-quote::after {
    bottom: 8px;
    right: 8px;
  }
  
  .testimonial-quote {
    padding: 40px 50px;
  }
  
  .testimonial-quote {
    font-size: 24px;
    margin-bottom: 40px;
  }
  
  .author-name {
    font-size: 16px;
  }
  
  .author-title {
    font-size: 15px;
    max-width: 350px;
  }
}
