/* --- CSS Variables --- */
:root {
  /* Brand Colors */
  --color-primary: #2B99FF;        /* Main blue (buttons, links, icons) */
  --color-primary-dark: #103F6A;   /* Dark blue (headings, active dots) */
  --color-primary-hover: #0057A8;  /* Hover state blue */
  
  /* Backgrounds */
  --color-bg-page: #f0f4f7;        /* Light grey-blue page background */
  --color-bg-card: #ffffff;        /* White card backgrounds */
  --color-bg-notice: #f9f9f9;      /* Subtle grey for data notice */
  
  /* Text Colors */
  --color-text-muted: #555555;     /* Descriptive text */
  --color-text-light: #777777;     /* Footer and contact details */
  --color-white: #ffffff;          /* Pure white text for buttons */
  
  /* Borders and UI Elements */
  --color-border: #eeeeee;         /* Dividers and borders */
  --color-dot-idle: #dddddd;       /* Inactive slideshow dots */
  --color-shadow: rgb(16, 63, 106,0.3);
}

/* --- Global Styles & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

    /* This adds the animated SVG as a fixed background layer */
    .animated-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1; /* Places it behind all content */
      background-image: url('https://home.schools-online.cloud/images/animated-gradient.svg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    /* Ensure the main page container is transparent so the background shows through */
    body, .page {
      background: transparent !important;
    }
    
body {
  font-family: "museo-sans-rounded", sans-serif;
  background-color: var(--color-bg-page);
  color: var(--color-primary-dark);
  line-height: 1.4;
  /* Vertical & Horizontal Centering */
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  align-items: center;     
  min-height: 100vh;       
  padding: 40px 20px;      
}

/* --- Layout Container --- */
.page {
  width: 100%;
  max-width: 1100px;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch; /* Forces equal height columns */
}

/* --- Left Column: Card Style --- */
.card {
  background: var(--color-bg-card);
  padding: 50px 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--color-shadow);
  text-align: center;

  /* Equal Height Logic */
  height: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
}

.logo {
  max-width: 350px;
  height: auto;
  margin-bottom: 30px;
}

h1 {
  font-size: 24px;
  color: var(--color-primary-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.description {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.btn-continue {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s ease;
  margin-bottom: 40px;
}

.btn-continue:hover {
  background-color: var(--color-primary-hover);
}

.card-contact {
  border-top: 1px solid var(--color-border);
  padding-top: 25px;
  font-size: 13px;
  color: var(--color-text-light);
  width: 100%;
}

.card-contact a {
  color: var(--color-primary);
  text-decoration: none;
}

/* --- Right Column: Info Sections --- */
.side-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-section {
  background: var(--color-bg-card);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--color-shadow);
  position: relative;
  flex: 1; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-section h2 {
  font-size: 20px;
  color: var(--color-primary-dark);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

/* Updated icon styling for Font Awesome 7 */
.icon {
  margin-right: 12px;
  color: var(--color-primary);
  width: 24px; /* Fixes alignment if icons vary in width */
  text-align: center;
}


.data-notice {
  margin-top: 20px;
  padding: 15px;
  background: var(--color-bg-notice);
  border-left: 4px solid var(--color-primary);
  font-size: 14px;
}

/* --- Slideshow Styling (Optional for this layout) --- */
.info-section.has-slider {
  overflow: hidden;
  padding-bottom: 60px;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slides-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.btn-training {
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--color-primary);
  padding: 8px 20px;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: 10px;
  align-self: flex-start;
}

.btn-training:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: var(--color-dot-idle);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active { 
  background-color: var(--color-primary-dark); 
}

/* --- Footer --- */
.footer {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
}

.footer-links { margin-top: 8px; }
.footer-links a { color: var(--color-primary); text-decoration: none; margin: 0 5px; }

/* --- Responsiveness --- */
@media (max-width: 850px) {
  .main-content {
    grid-template-columns: 1fr;
  }
  body {
    justify-content: flex-start;
  }
  .card {
    height: auto;
  }
}