/* Globalne style i resetowanie */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+Math&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@font-face {
    font-family: "Colfax"; /* Choose a name you'll use in CSS */
    src:
      url("./assets/fonts/colfax_regular.otf") format("otf"), /* Modern browsers */
      url("./assets/fonts/colfax_regular.ttf") format("truetype");
    font-weight: normal; /* Or 400 */
    font-style: normal;
    font-display: swap; /* Recommended: Shows fallback font while loading */
}
@font-face {
    font-family: "Colfax"; /* Choose a name you'll use in CSS */
    src:
      url("assets/fonts/colfax_italic.otf") format("otf"), /* Modern browsers */
      url("./assets/fonts/colfax_italic.ttf") format("truetype");
    font-weight: normal; /* Or 400 */
    font-style: italic;
    font-display: swap; /* Recommended: Shows fallback font while loading */
}
@font-face {
    font-family: "Colfax"; /* Choose a name you'll use in CSS */
    src:
      url("./assets/fonts/colfax_bold.otf") format("otf"), /* Modern browsers */
      url("./assets/fonts/colfax_bold.ttf") format("truetype");
    font-weight: medium; /* Or 400 */
    font-style: normal;
    font-display: swap; /* Recommended: Shows fallback font while loading */
}
@font-face {
    font-family: "General Sans Variable"; /* Choose your CSS name */
    src:
      url("assets/fonts/GeneralSans-Variable.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap; /* Highly recommended */
  }

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

  .header-mobile {
    display: none;
}

.divider {
    height: 1px;
    background-color: #e0e0e0; /* Light grey color */
    width: 100%;
    margin-bottom: 30px; /* Space ABOVE feature cards */
  }
  
  body {
    font-family: "Montserrat", "Colfax",  "General Sans Variable", "Segoe UI", "Helvetica Neue";
    line-height: 1.6;
    color: #333;
    /* Dodajemy padding-top równy wysokości navbara, aby treść nie chowała się pod nim */
    padding-top: 80px; /* Dostosuj tę wartość do faktycznej wysokości navbara */
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
  }
  
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background-color: #f8f9fa; */
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    z-index: 1000;
    height: 80px; /* Ustaw stałą wysokość dla navbara */
    display: flex;
    align-items: center; /* Wyśrodkowanie elementów w pionie */
    transition: all 150ms ease-in-out;
  }

  .navbar.scrolled {
    background-color: #F8F8F7; /* Or 'white' or your desired near-white */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: add shadow when scrolled */
  }
  
  .navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .logo {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.2;
    color: #333;
    text-align: center;
  }
  
  .logo-highlight {
    color: #00a9e0; /* Jasnoniebieski kolor z logo */
    font-weight: 600;
  }
  
  .navbar nav ul li {
    margin-left: 25px;
  }
  
  .navbar nav ul:not(.dropdown) {
    list-style: none;
    display: flex;
  }
  
  .navbar nav ul li:not(.dropdown li) {
    margin-left: 25px;
  }

    .no-deco {
    text-decoration: none;
  }

  .link-dropdown-content {
    display: none;
  }

  .link-dropdown-content ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    max-width: 100%;
    white-space: normal;       /* allow wrapping */
    word-wrap: break-word;
  }
  
  .navbar nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
  }
  
  .navbar nav ul li a:hover {
    color: #007bff;
  }

  /* Dropdown styles */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  background-color: #f0f0f0;
  min-width: 150px;
  display: none;    /* hidden by default */
  border-radius: 12px;
  padding: 10px 5px;
}

.dropdown-link {
  display: block;
  padding: 10px 15px;
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
}

.nav-item {
  position: relative;
}

.dropdown-link:hover {
  color: #555;
}

.faq-toggle {
  background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #212529;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 500; /* Slightly bolder */
    margin-bottom: 0.5rem; /* Space before content opens */
    transition: color 0.2s ease-in-out;
}

/* Show dropdown on hover */
.nav-item:hover .dropdown {
  display: block;
}

  .main {
    position: relative;
    top: -80px;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .bg {
    background-image: url('assets/backgrounds/bg_main.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 110vh;
    width: 100vw;
    z-index: -10;
  }

  .hero-section {
    width: 100%;
    padding: 4rem 2rem; /* Adjust padding as needed */
    position: relative;
    overflow: hidden; /* Hide parts of lines extending beyond padding */
  }
  
  .hero-content {
    /* max-width: 900px; */
    margin: 0 auto; /* Center the content block */
    position: relative; /* Needed for pseudo-element positioning */
    z-index: 1; /* Ensure content is above pseudo-elements */
  }
  
  /* Vertical Decorative Lines */
  .hero-content::before,
  .hero-content::after {
    content: "";
    position: absolute;
    top: -1rem; /* Start above the top padding */
    bottom: -1rem; /* Extend below the bottom padding */
    width: 1px;
    background-color: #A5A5A5; /* Light grey color for lines */
    z-index: 0; /* Place behind content */
  }
  
  .hero-content::before {
    left: -2rem; /* Position left line (adjust offset) */
  }
  
  .hero-content::after {
    right: -2rem; /* Position right line (adjust offset) */
  }

  .hero-content-inner {
    width: 85%;
  }
  
  .hero-content h1 {
    /* Use 'Colfax' font if available, otherwise fall back */
    font-size: 3.2rem; /* Duży rozmiar czcionki */
    font-weight: 500;
    line-height: 1.12;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
    color: #212529; /* Ciemny kolor nagłówka */
    font-family: 'Colfax', "Segoe UI", "Helvetica Neue";
  }
  
  .highlight-dark {
    background-image: linear-gradient(
        90deg,
        #00ADD0,
        #1A606E
    ); /* Your desired text gradient */
    color: #1A606E; /* Example fallback color */
    -webkit-background-clip: text;
    background-clip: text;

    /* 3. Make the actual text color transparent */
    /* This allows the clipped gradient background to show through */
    -webkit-text-fill-color: transparent;
    /* For browsers that support standard property: */
    color: transparent;
    background-size: 100%;
    background-repeat: repeat;
  }
  
  .hero-content p {
    font-size: 1.1rem; /* Paragraph text size using rem */
    color: #6c757d; /* Grey text color */
    margin-bottom: 1.5rem;
  }
  
  .hero-content p:last-child {
    margin-bottom: 0; /* Remove margin from the last paragraph */
  }
  
  .hero-content p a {
    color: #6c757d; /* Link color same as paragraph */
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
  }
  
  .hero-content p a:hover {
    color: #087990; /* Teal color on hover */
    text-decoration: none;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2.8rem; /* Slightly smaller heading on smaller screens */
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  
    /* Hide decorative lines on smaller screens if they cause layout issues */
    .hero-content::before,
    .hero-content::after {
      display: none;
    }
  
    .hero-section {
      padding: 4rem 1rem;
    }
  }

  /* --- Course Section --- */
.course-section {
    padding: 4rem 0; /* Vertical padding */
    background-color: #ffffff; /* White background for this section */
  }

  
  .section-title {
    font-family: 'Colfax', sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
    color: #000;
}

.title-underline {
    display: block;
    width: 12.5rem;
    height: 0.25rem;
    background-image: linear-gradient(90deg, #00ADD0, #1A606E);
    margin-top: 1rem;
}

.course-left {
    width: 55%;
    display: flex;
    flex-direction: row;
}
  
  .course-details-grid {
    display: flex;
    flex-direction: row;
    margin-top: 3.5rem;
    align-items: stretch; /* Make columns equal height if needed */
  }
  
  /* Column 1: Card */
  .course-card {
    height: 300px;
    width: 200px;
    margin-right: 20px;
    padding: 1.5rem 1rem;
    border-radius: 15px; /* Rounded corners */
    background: linear-gradient(
      to bottom,
      #63e5f8,
      #f8d88e
    ); /* Gradient from image */
    color: #ffffff;
    text-align: center;
    display: flex;
    justify-content: center; /* Push content apart */
    align-items: center;
  }
  
  .card-logo {
    font-size: 0.75rem; /* Small text */
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
  }
  
  .card-title {
    font-size: 1.65rem; /* Large text */
    font-weight: 600;
    line-height: 1.2;
  }
  
  /* Column 2: Info & Link */
  .course-info {
    flex: 1 1 auto; /* Allow this column to grow */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Vertically center content */
    padding: 1rem 0; /* Add some vertical padding */
  }
  
  .course-info-title {
    font-size: 1.4rem;
    font-weight: 400;
    color: #000000;
    font-family: 'General Sans Variable';
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }
  
  .course-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0B0B0B;
    margin-bottom: 0.4rem;
  }

  .rabat-link {
    text-decoration: underline;
    color: black;
    margin-bottom: 1.8rem;
  }

  .promo-info{
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 1.8rem;
    margin-top: 1.3rem;
    width: 75%;
  }
  
.promo-info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 4px;
  background-image: linear-gradient(
      90deg,
      #00ADD0,
      #1A606E
  );
  border-radius: 2px;
}

.promo-info p {
  font-size: 1.1rem;
}

.promo-info a {
  font-weight: 600;
  color: #000000;
  text-decoration: underline;
  letter-spacing: 0.5px;
  transition: color 0.2s ease-in-out;
}

.promo-info a:hover {
  color: #08a0b8;
}
  
  .course-pdf-link {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    border: 2px solid #37dcfc; /* Light teal border */
    border-radius: 50px; /* Pill shape */
    color: #1b1f23;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition:
      background-color 0.2s ease-in-out,
      border-color 0.2s ease-in-out;
    align-self: flex-start; /* Prevent stretching full width */
    background-color: #f7fdff;
  }
  
  .course-pdf-link:hover {
    background-color: #e0f8fc; /* Light teal background on hover */
    border-color: #63e5f8;
  }
  
  /* Column 3: Features */
  .course-features {
    flex: 1 1 auto; /* Allow this column to grow */
    padding: 1rem 1.5rem; /* Match info column padding */
    border-left: 1px solid #7a7a7a;
    width: 50%;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 2rem 1.5rem; /* Row and column gap */
    height: 100%;
    align-content: center; /* Vertically center grid items if space */
  }
  
  .feature-item {
    display: flex;
    flex-direction: column; /* Stack icon above text */
    gap: 0.6rem; /* Space between icon and text */
  }
  
  .feature-icon {
    color: #495057; /* Icon color */
    line-height: 1; /* Prevent extra space */
    /* If using actual SVGs/images, you might set width/height here */
    /* width: 24px; */
    /* height: 24px; */
  }
  
  .feature-icon svg {
    display: block; /* Remove potential bottom space */
  }
  
  .feature-text {
    font-size: 1.4rem;
    font-family: 'General Sans Variable';
    color: #495057;
    line-height: 1.5;
  }

  .materials-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 35px;
}

.material-card {
    flex: 1;
    border: 2px solid transparent; /* Create space, make transparent */
    background:
      /* 1. Inner background (white), clipped to padding box */
      linear-gradient(white, white) padding-box,
      /* 2. Outer background (gradient border), clipped to border box */
      linear-gradient(135deg, #20cae076, #ffffff, #ffffff, #20cae076) border-box;
    border-radius: 1rem;
    padding: 1.5rem;
    padding-top: 1.35rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;

}

.materials-box {
  background-color: white;
  border-radius: 0.75rem;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #e0e0e0;
}

.materials-box li {
  margin-left: 20px;
}

.materials-box a {
  text-decoration: none;
  color: #333;
}

.materials-title {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.materials-note {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 15px;
}

.material-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.card-content {
    width: 100%;
}

.materials-card-title {
    font-size: 1.45rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #2c2c2c;
    font-family: 'Colfax';
}

.materials-card-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #555;
}

.course-second-left {
    width: 55%;
    padding-right: 80px;
}
.course-second-left h2 {
    font-family: 'Colfax';
    font-weight: 500;
    font-size: 2rem;
    margin-bottom: 20px;
}
.course-second-right {
    width: 50%;
}

/* --- Features List Section --- */
.features-list-section {
    padding: 3rem 0; /* Adjust padding as needed */
    background-color: #ffffff; /* Or inherit from body */
  }
  
  /* Assuming you have a .container class from previous examples */
  /* If not, add:
  .container {
    max-width: 1140px; 
    margin: 0 auto;
    padding: 0 1rem; 
  }
  */
  
  .styled-features-list {
    list-style: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
    margin: 0;
  }
  
  .styled-features-list li {
    position: relative; /* Needed for absolute positioning of the pseudo-element */
    padding-left: 2rem; /* Space for the custom bullet */
    margin-bottom: 2rem; /* Space between list items */
  }
  
  .styled-features-list li::before {
    content: ""; /* Required for pseudo-elements */
    position: absolute;
    left: 0;
    top: 0.4rem; /* Adjust vertical alignment of the bullet */
    width: 0.75rem; /* Bullet size */
    height: 0.75rem; /* Bullet size */
    background-color: #4dbac7; /* Teal color from image */
    border-radius: 50%; /* Make it a circle */
  }
  
  .feature-title {
    font-size: 1.10rem; /* Heading size */
    font-weight: 600; /* Semi-bold */
    color: #212529; /* Dark text color */
    line-height: 1.4;
    margin-bottom: 0.5rem; /* Space below title */
  }
  
  .feature-description {
    font-size: 0.9rem; /* Description text size */
    color: #495057; /* Slightly lighter text color */
    line-height: 1.6;
    margin: 0; /* Reset default paragraph margin */
  }
  
  .feature-description a {
    color: #495057; /* Link color matches text */
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
  }
  
  .feature-description a:hover {
    color: #08a0b8; /* Teal hover color */
  }
  
  /* Responsive adjustments if needed */
  @media (max-width: 576px) {
    .styled-features-list li {
      padding-left: 1.75rem; /* Slightly less padding on small screens */
      margin-bottom: 1.5rem;
    }
  
    .feature-title {
      font-size: 1.15rem;
    }
  
    .feature-description {
      font-size: 0.95rem;
    }
  }
  
  
  @media (max-width: 800px)  {
    .course-details-grid {
        flex-direction: column;
        align-items: flex-start;
    }
    .course-left {
        width: 95%;
        margin-bottom: 30px;
    }
    .course-features {
        width: 100%;
        padding: 0;
        border: none;
    }
    .course-second-left {
        margin-bottom: 30px;
        width: 95%;
        padding-right: 0px;
    }
    .course-second-right {
        width: 95%;
    }
  }

  .gradient-blue-purple {
    background: linear-gradient(135deg, #00ADD0 0%, #80AEE2 55%, #FFAFF4 100%);
}

  /* --- Features Grid Section --- */
.features-grid-section {
    background-color: #ffffff; /* Assuming white background */
    /* Add padding if needed around the whole grid */
    /* padding: 4rem 0; */
  }
  
  .features-grid-container {
    display: grid;
    /* Create 3 equal columns */
    grid-template-columns: repeat(3, 1fr);
    width: 100%; /* Take full available width */
    margin-top: 50px;
  }
  
  .feature-box {
    padding: 2rem 1.5rem; /* Padding inside each box */
    /* Border between columns (except last) */
    border-right: 1px solid #dee2e6;
    /* Border between rows (applied to all initially) */
    border-bottom: 1px solid #dee2e6;
  }
  
  /* Remove right border from the last box in each row (3rd, 6th, etc.) */
  .feature-box:nth-child(3n) {
    border-right: none;
  }
  
  /* Remove bottom border from boxes in the last row (boxes 4, 5, 6) */
  /* This selector assumes exactly 6 boxes / 2 rows */
  .feature-box:nth-child(n + 4) {
    border-bottom: none;
  }
  
  .feature-box-title {
    /* Use 'Colfax' font if available, otherwise fall back */
    font-family: "Colfax", sans-serif;
    font-size: 1.25rem; /* Title size */
    font-weight: 700; /* Bold */
    color: #212529; /* Dark text */
    margin-bottom: 1rem; /* Space below title */
    line-height: 1.4;
  }
  
  .feature-box p {
    font-size: 0.95rem; /* Paragraph text size */
    color: #495057; /* Slightly lighter text */
    line-height: 1.6;
    margin: 0; /* Remove default paragraph margin */
  }
  
  /* --- Responsive Adjustments --- */
  @media (max-width: 992px) {
    .features-grid-container {
      /* Stack to 2 columns on medium screens */
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* Adjust borders for 2-column layout */
    /* Re-apply right border to 3rd item (now end of row 2) */
    .feature-box:nth-child(3n) {
      border-right: 1px solid #dee2e6;
    }
    /* Remove right border from every 2nd item (end of rows) */
    .feature-box:nth-child(2n) {
      border-right: none;
    }
  
    /* Re-apply bottom border to items 4, 5 (now not necessarily last row) */
    .feature-box:nth-child(n + 4) {
      border-bottom: 1px solid #dee2e6;
    }
    /* Remove bottom border from the actual last row (items 5, 6) */
    .feature-box:nth-child(n + 5) {
      border-bottom: none;
    }
  }
  
  @media (max-width: 768px) {
    .features-grid-container {
      /* Stack to 1 column on small screens */
      grid-template-columns: 1fr;
      border-top: none; /* Remove container top border */
    }
  
    .feature-box {
      border-right: none; /* No right borders needed in single column */
      border-left: none; /* Ensure no left border either */
      border-top: 1px solid #dee2e6; /* Use top border for separation */
      border-bottom: none; /* Remove bottom border */
      padding: 1.5rem 1rem; /* Adjust padding */
    }
  
    /* Remove top border from the very first box */
    .feature-box:first-child {
      border-top: none;
    }
  
    /* Reset nth-child border overrides from larger screens */
    .feature-box:nth-child(3n),
    .feature-box:nth-child(2n),
    .feature-box:nth-child(n + 4),
    .feature-box:nth-child(n + 5) {
      border: none; /* Clear previous rules */
      border-top: 1px solid #dee2e6; /* Re-apply standard top border */
    }
    .feature-box:first-child {
      border-top: none; /* Ensure first still has no top border */
    }
  }
  
  .guarantee-box {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid transparent; /* Create space, make transparent */
    background:
      /* 1. Inner background (white), clipped to padding box */
      linear-gradient(white, white) padding-box,
      /* 2. Outer background (gradient border), clipped to border box */
      linear-gradient(135deg, #20cae0bb, #ffffff, #ffffff, #20cae0bb) border-box;
}

.guarantee-box li {
    margin-left: 20px;
}

.guarantee-box a {
    text-decoration: none;
    color: #333;
}

.guarantee-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.guarantee-note {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.learn-more-link {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.home-section-review-scroller {
    overflow-x: scroll;
    white-space: nowrap;
    margin-bottom: 60px;
    margin-top: 30px;
    /* display: flex;
    flex-direction: row; */
}

.home-section-review-card {
    padding: 20px;
    /* box-sizing: border-box; */
    border-radius: 16px;
    background-color: #faf7f7;
    border: 0.5px grey solid;
    width: 35vw;
    margin-right: 20px;
    display: inline-block;
    white-space: normal;
    margin-bottom: 5px;
    /* min-height: 200px; */
}
.home-section-review-card-content {
    display: flex;
    flex-direction: column;
}
.home-section-review-card a {
    text-decoration: none;
}
.home-section-review-card h3 {
    font-size: 21px;
    font-weight: 400;
    color: black;
    margin: 0px;
}
.home-section-review-card p {
    font-size: 15px;
    font-weight: 400;
    color: rgb(40, 40, 40);
    margin: 0px;
    margin-top: 10px;
}

.home-section-review-card-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.home-section-review-card-pic {
    height: 32px;
    width: 32px;
    background-size: cover;
    border-radius: 50%;
    margin-right: 10px;
}

.team-card {
    display: inline-block;
    white-space: normal;
    width: 27vw;
    background-color: #fff;
    border-radius: 24px;
    padding: 15px;
    border: 1px solid #D5D5D5;
    margin-right: 15px;
}

.profile1 {
  background-image: url('assets/profilepics/sulek.jpg');
}
.profile2 {
  background-image: url('assets/profilepics/sosnowski.jpg');
}
.profile3 {
  background-image: url('assets/profilepics/drozd.png');
}
.profile4 {
  background-image: url('assets/profilepics/cwierz.jpg');
}
.profile5 {
  background-image: url('assets/profilepics/adaszewski.png');
}

.avatar-container {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  /* background-color: #2c7da0; */
  /* overflow: hidden; */
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.avatar-img {
width: 62px;
height: 62px;
}
.team-card-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
}

.team-member-name {
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 400;
    margin-left: 15px;
    color: #000;
}

.team-member-bio {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

@media (max-width: 800px) {
    .home-section-review {
        padding: 30px 40px;
    }
    .team-card {
        width: 60vw;
        min-height: 260px;
    }
}

.cta-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.cta-content {
    width: calc(50% - 1px);
}

.cta-title {
    font-family: 'Colfax';
    font-size: 3rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    color: #000;
}

.cta-title.accent {
    color: #3498db;
}

.contact-form-container {
    width: calc(50% - 1px);
    padding: 2rem;
    border-left: 1px solid #c4c4c4;
}

.form-title {
    font-family: 'Colfax';
    font-size: 2.1rem;
    font-weight: 500;
    color: #000;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    width: 100%;
}

.form-input, 
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: #fff;
}

.form-input:focus, 
.form-textarea:focus {
    outline: none;
    border-color: #3498db;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    position: relative;
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    background-color: #8eda8e;
    border-radius: 0.25rem;
    margin-right: 0.5rem
}

.home-section7-name {
    font-size: 14px;
    border-radius: 8px;
    line-height: 1.5;
    padding: 5px 10px;
    transition: box-shadow 100ms ease-in, border 100ms ease-in, background-color 100ms ease-in;
    border: 2px solid #ececec;
    color: rgb(14, 14, 16);
    background: #f8f8f8;
    display: block;
    height: 32px;
    width: 85%;
    margin-top: 15px;
    :hover {
        border-color: #ccc;
    }
    :focus{
        border-color: #9147ff;
        background: #fff;
    }
}

.home-section7-name:nth-child(2) {
    margin-top: 0px;
}

.home-section7-name:nth-child(4) {
    min-height: 96px;
    resize: none;
    font-family: 'Montserrat';
}


.home-section7-button {
    background-color: #5bb0ffbd;
    height: 40px;
    width: 230px;
    border-radius: 8px;
    color: white;
    font-family: 'General Sans Variable';
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.home-section7-button:hover {
    background-color: #33aaff;
}

.home-section7-button:active {
    background-color: #29a6ff;
}


.form-divider {
    background-color: #999;
    height: 100%;
    width: 2px;
}

@media (max-width: 992px) {
    .header-mobile {
        display: flex;
        width: 100vw;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 12;
        /* flex-flow: row wrap;
        justify-content: space-around;
        
        padding-top: 16px;
        padding-left: 8px;
        padding-right: 8px; */
        transition: all 1000ms ease-in-out;
        -webkit-transition: all 1000ms ease-in-out;
        background-color: white;
      }

      .header-mobile .logo {
        position: absolute;
        top: 15px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%)
    }
    
      nav {
        background-color: transparent;
        height: 65px;
      }
      
      
      #menuToggle {
        display: flex;
        flex-direction: column;
        position: relative;
        top: 25px;
        left: 25px;
        z-index: 10;
        -webkit-user-select: none;
        user-select: none;
      }
      
      #menuToggle input
      {
        display: flex;
        width: 40px;
        height: 32px;
        position: absolute;
        cursor: pointer;
        opacity: 0;
        z-index: 11;
      }
      
      #menuToggle span:not(.arrow)
      {
        display: flex;
        width: 29px;
        height: 2px;
        margin-bottom: 5px;
        position: relative;
        background: rgb(0, 0, 0);
        border-radius: 3px;
        z-index: 10;
        transform-origin: 5px 0px;
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
      }
      
      #menuToggle span:first-child
      {
        transform-origin: 0% 0%;
      }
      
      #menuToggle span:nth-last-child(2)
      {
        transform-origin: 0% 100%;
      }
      
      #menuToggle input:checked ~ span
      {
        opacity: 1;
        transform: rotate(45deg) translate(-3px, -1px);
        background: #2c2c2e;
      }
      #menuToggle input:checked ~ span:nth-last-child(3)
      {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
      }
      
      #menuToggle input:checked ~ span:nth-last-child(2)
      {
        transform: rotate(-45deg) translate(0, -1px);
      }
      
      #menu
      {
        position: absolute;
        width: 70vw;
        height: 100vh;
        box-shadow: 0 0 5px #85888C;
        margin: -50px 0 0 -50px;
        padding: 50px;
        padding-top: 125px;
        background: rgb(165, 182, 232);
        -webkit-font-smoothing: antialiased;
        transform-origin: -100% -100%;
        transform: translate(-100%, 0);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        border-radius: 32px;
        overflow-y: auto;    /* vertical scroll when content overflows */
        overflow-x: hidden;
      }
      
      #menu li:not(.link-dropdown-content ul li)
      {
        padding: 10px 0;
      }
      
      #menuToggle input:checked ~ ul
      {
        transform: none;
      }
    
      ul {
        padding: 0;
        list-style-type: none;
      }
    
      .header-mobile a {
        text-decoration: none;
        color: #3a3a3a;
        opacity:1;
        font-size: 2em;
        font-weight: 400;
        transition: 200ms;
      }
      .header-mobile a:hover {
        opacity:0.5;
      }

      .navbar {
        display: none;
      }
}

@media (max-width: 720px) {
    .cta-container {
        flex-direction: column;
    }
    .cta-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    .cta-content {
        width: 100%;
    }
    .contact-form-container {
        margin-top: 35px;
        width: 100%;
        padding: 0;
        border: none;
    }
}

label input {
  margin-right: 8px;
}

footer {
  background-color: #2c3e50; /* Dark, elegant background */
  color: #ecf0f1; /* Light text color for contrast */
  padding: 40px 0 20px 0; /* Generous padding */
}

.footer-content {
  max-width: 1100px; /* Max width for content */
  margin: 0 auto; /* Center content */
  padding: 0 20px; /* Padding on sides */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  gap: 20px; /* Spacing between items when they wrap */
}

/* Logo Styling */
.footer-logo a {
  font-size: 1.8em;
  font-weight: bold;
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-logo a:hover {
  color: #3498db; /* Accent color on hover */
}

/* Navigation Links Styling */
.footer-nav a {
  color: #bdc3c7; /* Slightly muted link color */
  text-decoration: none;
  margin: 0 15px; /* Spacing between links */
  font-size: 1em;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
  text-decoration: underline;
  text-decoration-color: transparent; /* Hide underline initially */
}

.footer-nav a:hover {
  color: #ecf0f1; /* Brighter on hover */
  text-decoration-color: #ecf0f1; /* Show underline on hover */
}

/* Social Icon Link Styling */
.footer-social a {
  color: #bdc3c7; /* Initial color for the icon */
  text-decoration: none;
  display: inline-block; /* For proper alignment and sizing */
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ecf0f1; /* Brighter icon color on hover */
}

.footer-social a svg {
  width: 24px;
  height: 24px;
  fill: currentColor; /* SVG inherits color from parent 'a' tag */
  vertical-align: middle; /* Aligns icon nicely */
}

/* Footer Bottom Bar */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #34495e; /* Subtle separator line */
  font-size: 0.85em;
  color: #95a5a6; /* Muted text color for copyright */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items */
    text-align: center;
  }

  .footer-nav {
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column; /* Stack nav links vertically */
    gap: 10px; /* Space between stacked nav links */
    height: auto;
  }

  .footer-nav a {
    margin: 5px 0; /* Adjust margin for vertical layout */
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .hero-content {
    padding: 0px;
  }

  .hero-content-inner {
    width: 100%;
  }

  .course-pdf-link {
    border-radius: 24px
  }
}

.home-enlist-dialog {
    z-index: 22;
    border: 1px #d2d2d2 solid;
    border-radius: 8px;
    min-width: 50vw;
    padding: 20px;
    box-sizing: border-box;
    margin: auto auto;
}

@media (max-width: 768px) {
  .home-enlist-dialog {
    margin: 10px 20px;
  }
}

.home-enlist-dialog h1 {
    font-size: 36px;
    font-weight: 400;
    color: #1D1D1D;
    margin-top: 0px;
    margin-bottom: 0px;
}

.home-enlist-dialog p {
    margin-top: 15px;
    margin-bottom: 20px;
}

.home-enlist-dialog-name {
    font-size: 14px;
    border-radius: 8px;
    line-height: 1.5;
    padding: 5px 10px;
    transition: box-shadow 100ms ease-in, border 100ms ease-in, background-color 100ms ease-in;
    border: 2px solid #ececec;
    color: rgb(14, 14, 16);
    background: #f8f8f8;
    display: block;
    height: 32px;
    width: 85%;
    margin-top: 15px;
    :hover {
        border-color: #ccc;
    }
    :focus{
        border-color: #9147ff;
        background: #fff;
    }
}

.home-enlist-dialog-name:nth-child(3) {
    margin-top: 0px;
}

.home-enlist-dialog-name:nth-child(6) {
    min-height: 96px;
    resize: none;
    font-family: 'Colfax';
}


.home-enlist-dialog-button {
    background-color: #5bb0ffbd;
    height: 40px;
    width: 40%;
    border-radius: 8px;
    color: white;
    font-family: 'General Sans Variable';
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.home-enlist-dialog-button:hover {
    background-color: #33aaff;
}

.home-enlist-dialog-button:active {
    background-color: #29a6ff;
}

.home-enlist-dialog-button:nth-child(2) {
    background-color: #fff;
    border: 1px solid #5CBBFF;
    color: #5CBBFF;;
}

.home-enlist-dialog-button:hover {
    background-color: #33aaff;
}

.home-enlist-dialog-button:active {
    background-color: #29a6ff;
}

.home-enlist-dialog-button:nth-child(2):hover {
    background-color: #e9e9e9;
}

.home-enlist-dialog-button:nth-child(2):active {
    background-color: #d2d2d2;
}

.home-dialog-row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.home-enlist-dialog input {
    margin-top: 15px;
    margin-right: 10px;
}

.home-enlist-dialog label {
    color: #2a2a2a;
    font-size: 14px;
    font-weight: 300;
}

.home-enlist-dialog-comment {
    color: #0e0e0e;
    font-size: 16px;
    font-weight: 500;
    display: none;
}

.dialog-overlay {
    z-index: 21;
    background-color: #3636368e;
    backdrop-filter: blur(3px);
    height: 100vh;
    width: 100vw;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
}

.home-section6-button {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    border: 2px solid #00b1d4; /* Light teal border */
    border-radius: 50px; /* Pill shape */
    color: #1b1f23;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition:
      background-color 0.2s ease-in-out,
      border-color 0.2s ease-in-out;
    align-self: flex-start; /* Prevent stretching full width */
    background-color: #ffffff;
    margin-top: 12px;
  }
  
.home-section6-button:hover {
    background-color: #e0f8fc; /* Light teal background on hover */
    border-color: #63e5f8;
  }

  .home-enlist-dialog {
    z-index: 22;
    border: 1px #d2d2d2 solid;
    border-radius: 8px;
    min-width: 50vw;
    padding: 20px;
    box-sizing: border-box;
}

.home-enlist-dialog h1 {
    font-size: 36px;
    font-weight: 400;
    color: #1D1D1D;
    margin-top: 0px;
    margin-bottom: 0px;
}

.home-enlist-dialog p {
    margin-top: 15px;
    margin-bottom: 20px;
}

.home-enlist-dialog-name {
    font-size: 14px;
    border-radius: 8px;
    line-height: 1.5;
    padding: 5px 10px;
    transition: box-shadow 100ms ease-in, border 100ms ease-in, background-color 100ms ease-in;
    border: 2px solid #ececec;
    color: rgb(14, 14, 16);
    background: #f8f8f8;
    display: block;
    height: 32px;
    width: 85%;
    margin-top: 15px;
    :hover {
        border-color: #ccc;
    }
    :focus{
        border-color: #9147ff;
        background: #fff;
    }
    .home-enlist-dialog {
        z-index: 22;
        border: 1px #d2d2d2 solid;
        border-radius: 8px;
        width: 95vw;
        padding: 20px;
    }
}

.home-enlist-dialog-name:nth-child(3) {
    margin-top: 0px;
}

.home-enlist-dialog-name:nth-child(6) {
    min-height: 96px;
    resize: none;
    font-family: 'Montserrat';
}


.home-enlist-dialog-button {
    background-color: #5bb0ffbd;
    height: 40px;
    width: 40%;
    border-radius: 8px;
    color: white;
    font-family: 'General Sans Variable';
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.home-enlist-dialog-button:hover {
    background-color: #33aaff;
}

.home-enlist-dialog-button:active {
    background-color: #29a6ff;
}

.home-enlist-dialog-button:nth-child(2) {
    background-color: #fff;
    border: 1px solid #5CBBFF;
    color: #5CBBFF;;
}

.home-enlist-dialog-button:hover {
    background-color: #33aaff;
}

.home-enlist-dialog-button:active {
    background-color: #29a6ff;
}

.home-enlist-dialog-button:nth-child(2):hover {
    background-color: #e9e9e9;
}

.home-enlist-dialog-button:nth-child(2):active {
    background-color: #d2d2d2;
}

.home-dialog-row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.home-enlist-dialog input {
    margin-top: 15px;
    margin-right: 10px;
}

.home-enlist-dialog label {
    color: #2a2a2a;
    font-size: 14px;
    font-weight: 300;
}

.home-enlist-dialog-comment {
    color: #0e0e0e;
    font-size: 16px;
    font-weight: 500;
    display: none;
}

.dialog-overlay {
    z-index: 21;
    background-color: #3636368e;
    backdrop-filter: blur(3px);
    height: 100vh;
    width: 100vw;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
}
.section-animate {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.section-animate.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.section-animate.from-right {
    transform: translateX(80px);
}

.section-animate.from-right.is-visible {
    transform: translateX(0);
}