* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: black;
  color: white;
  min-height: 100vh;
  padding: 40px 20px;
}

.schoolcoreos-main-wrapper-div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1150px;
  width: 100%;
  background: linear-gradient(180deg, #511539 0%, #002144 50%, #004873 100%);
}

.schoolcoreos-main-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.schoolcoreos-hero-section {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-top: 150px;
}

.schoolcoreos-hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 420;
  margin-bottom: 25px;
  color: rgba(250, 251, 251, 0.999);
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.6s forwards;
  line-height: 1.3;
}

.schoolcoreos-hero-description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-out 0.9s forwards;
  margin-bottom: 0;
}

.schoolcoreos-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.schoolcoreos-feature-card {
  position: relative;
  cursor: pointer;
  opacity: 1;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.schoolcoreos-feature-visual {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s ease, filter 0.3s ease;

}

.schoolcoreos-feature-visual::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   background-color: #a6cd19;
  z-index: 1;
}

/* Background images for each feature visual */
.schoolcoreos-feature-card:nth-child(1) .schoolcoreos-feature-visual {
  background-color: #1a2040;
}

.schoolcoreos-feature-card:nth-child(2) .schoolcoreos-feature-visual {
  background-color: #2d1b69;
}

.schoolcoreos-feature-card:nth-child(3) .schoolcoreos-feature-visual {
  background-color: #0f3460;
}

.schoolcoreos-feature-preview-image {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  object-fit: contain;
  border-radius: 8px;
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
}

.schoolcoreos-feature-card.animate .schoolcoreos-feature-preview-image {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.1s;
}

.schoolcoreos-feature-details {
  height: 340px;
  margin-top: 25px;
  padding: 25px;
  background-color: #002848ff;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.schoolcoreos-feature-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #fefeff;
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.schoolcoreos-feature-card.animate .schoolcoreos-feature-title {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.3s;
}

.schoolcoreos-feature-description {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.schoolcoreos-feature-card.animate .schoolcoreos-feature-description {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.5s;
}

.schoolcoreos-feature-benefits-list {
  list-style: none;
}

.schoolcoreos-feature-benefits-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.8);
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.schoolcoreos-feature-benefits-list li:nth-child(1) {
  transition-delay: 0.7s;
}
.schoolcoreos-feature-benefits-list li:nth-child(2) {
  transition-delay: 0.8s;
}
.schoolcoreos-feature-benefits-list li:nth-child(3) {
  transition-delay: 0.9s;
}
.schoolcoreos-feature-benefits-list li:nth-child(4) {
  transition-delay: 1s;
}

.schoolcoreos-feature-card.animate .schoolcoreos-feature-benefits-list li {
  transform: translateX(0);
  opacity: 1;
}

.schoolcoreos-feature-benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4fc3f7;
  font-weight: bold;
}

/* Keyframe animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll animation trigger */
.schoolcoreos-scroll-animate {
  opacity: 0;
  transform: translateY(100px);
}

.schoolcoreos-scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading animation */
.schoolcoreos-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2040 0%, #2d1b69 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.schoolcoreos-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.schoolcoreos-loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(100, 181, 246, 0.3);
  border-top: 3px solid #64b5f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* RESPONSIVE MEDIA QUERIES */

/* Extra-large screens (1441px and above) */
@media (min-width: 1441px) {
  .schoolcoreos-main-wrapper {
    max-width: 1600px;
  }

  .schoolcoreos-features-grid {
    gap: 40px;
  }

  .schoolcoreos-feature-visual {
    height: 450px;
  }

  .schoolcoreos-feature-preview-image {
    width: 350px;
    height: 350px;
  }

  .schoolcoreos-feature-details {
    height: 380px;
    padding: 30px;
  }
}

/* Large screens / Desktops (1025px to 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
  .schoolcoreos-main-wrapper {
    max-width: 1200px;
  }

  .schoolcoreos-features-grid {
    gap: 25px;
  }

  .schoolcoreos-feature-visual {
    height: 380px;
  }

  .schoolcoreos-feature-preview-image {
    width: 280px;
    height: 280px;
  }

  .schoolcoreos-feature-details {
    height: 320px;
    padding: 22px;
  }
}

/* Medium screens / Laptops (769px to 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .schoolcoreos-main-wrapper-div {
    height: auto;
    min-height: 100vh;
    padding: 20px 0;
  }

  body {
    padding: 30px 15px;
  }

  .schoolcoreos-hero-section {
    margin-top: 60px;
    margin-bottom: 50px;
  }

  .schoolcoreos-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
  }

  .schoolcoreos-feature-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .schoolcoreos-feature-visual {
    height: 300px;
  }

  .schoolcoreos-feature-preview-image {
    width: 220px;
    height: 220px;
  }

  .schoolcoreos-feature-details {
    height: 280px;
    padding: 20px;
    margin-top: 20px;
  }
}

/* Tablets (577px to 768px) */
@media (max-width: 768px) and (min-width: 577px) {
  .schoolcoreos-main-wrapper-div {
    height: auto;
    min-height: 100vh;
    padding: 15px 0;
  }

  body {
    padding: 20px 10px;
  }

  .schoolcoreos-hero-section {
    margin-top: 40px;
    margin-bottom: 40px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

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

  .schoolcoreos-feature-visual {
    height: 280px;
  }

  .schoolcoreos-feature-preview-image {
    width: 200px;
    height: 200px;
  }

  .schoolcoreos-feature-details {
    height: auto;
    min-height: 260px;
    padding: 20px;
    margin-top: 20px;
  }

  .schoolcoreos-feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .schoolcoreos-feature-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .schoolcoreos-feature-benefits-list li {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }
}

/* Small mobile devices (480px to 576px) */
@media (max-width: 576px) and (min-width: 480px) {
  .schoolcoreos-main-wrapper-div {
    height: auto;
    min-height: 100vh;
    padding: 10px 0;
  }

  body {
    padding: 15px 10px;
  }

  .schoolcoreos-hero-section {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 95%;
  }

  .schoolcoreos-hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .schoolcoreos-hero-description {
    font-size: 0.95rem;
  }

  .schoolcoreos-features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 25px;
  }

  .schoolcoreos-feature-visual {
    height: 250px;
  }

  .schoolcoreos-feature-preview-image {
    width: 180px;
    height: 180px;
  }

  .schoolcoreos-feature-details {
    height: auto;
    min-height: 240px;
    padding: 18px;
    margin-top: 18px;
  }

  .schoolcoreos-feature-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .schoolcoreos-feature-description {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }

  .schoolcoreos-feature-benefits-list li {
    font-size: 0.8rem;
    margin-bottom: 5px;
    padding-left: 18px;
  }
}

/* Very small mobile devices (less than 480px) */
@media (max-width: 480px) {
  .schoolcoreos-main-wrapper-div {
    height: auto;
    min-height: 100vh;
    padding: 5px 0;
  }

  body {
    padding: 10px 8px;
  }

  .schoolcoreos-hero-section {
    margin-top: 20px;
    margin-bottom: 25px;
    max-width: 100%;
    padding: 0 5px;
  }

  .schoolcoreos-hero-subtitle {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
  }

  .schoolcoreos-hero-description {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .schoolcoreos-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }

  .schoolcoreos-feature-visual {
    height: 220px;
    width: 320px;
    border-radius: 15px;
    left: 9%;
  }

  .schoolcoreos-feature-visual::after {
    background-color: #fefeff;
  }

  .schoolcoreos-feature-preview-image {
    width: 220px;
    height: 190px;
  }

  .schoolcoreos-feature-details {
    height: auto;
    width: 360px;
    min-height: 200px;
    padding: 15px;
    margin-top: 15px;
    border-radius: 12px;
    margin-left: 15px;
  }

  .schoolcoreos-feature-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .schoolcoreos-feature-description {
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .schoolcoreos-feature-benefits-list li {
    font-size: 0.75rem;
    margin-bottom: 4px;
    padding-left: 16px;
  }

  .schoolcoreos-feature-benefits-list li::before {
    font-size: 0.8rem;
  }
}
