@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;
    }
  }

  @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
      {
        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;
      }
}

/* --- Olympiad Info Section --- */
.olympiad-info-section {
    background-color: #ffffff; /* Or inherit */
  }
  
  /* Assuming .container class exists */
  
  .section-main-title {
    /* Use 'Colfax' font if available, otherwise fall back */
    font-family: "Colfax", sans-serif;
    font-size: 2.5rem; /* Adjust size as needed */
    font-weight: 500; /* Specified weight */
    color: #212529;
    line-height: 1.3;
    margin-bottom: 0.75rem; /* Space before underline */
    max-width: 700px; /* Prevent title from becoming too wide */
  }
  
  .title-underline {
    display: block;
    width: 12.5rem;
    height: 0.25rem;
    background-image: linear-gradient(90deg, #00ADD0, #1A606E);
    margin-bottom: 2rem;
}
  
  .intro-paragraph {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 3rem; /* Space before benefits subtitle */
    max-width: 800px; /* Limit paragraph width */
  }

  label input {
    margin-right: 8px;
  }
  
  .benefits-subtitle {
    font-size: 1.1rem;
    font-weight: 500; /* Bold subtitle */
    color: #1f1f1f;
    font-family: 'Colfax';
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem; /* Space before benefit boxes */
  }
  
  .benefits-grid {
    display: flex;
    gap: 1.5rem; /* Space between boxes */
    margin-bottom: 3rem; /* Space after benefit boxes */
  }
  
  .benefit-box {
    flex: 1; /* Each box takes equal space */
    padding: 1.4rem 1.2rem; /* Padding inside box */
    border: 1px solid #a0eaf8; /* Light teal border */
    border-radius: 15px; /* Rounded corners */
    background-color: #ffffff;
  }
  
  .benefit-title {
    font-family: "Colfax", "Poppins", sans-serif; /* Colfax requested, Poppins as fallback */
    font-size: 1.65rem; /* Adjust size */
    color: #333;
    line-height: 1.3;
    margin: 0;
    margin-bottom: 15px;
    font-weight: 500; /* Make text slightly bolder */
    text-align: left;
  }
  
  .highlight-dark {
    /* This class was defined before, ensure it has the correct color */
    color: #08a0b8; /* Teal color */
    /* If it was gradient before, adjust if needed:
    background: linear-gradient(to right, #10a1b8, #087990); 
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; 
    */
  }
  
  .benefit-box p {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
  }
  
  .final-cta {
    position: relative;
    padding-left: 1.25rem; /* Space for the vertical line */
    margin-top: 2rem; /* Add some space above if needed */
  }
  
  .final-cta::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1rem; /* Align vertically with text */
    bottom: 0.1rem; /* Align vertically with text */
    width: 4px; /* Thickness of the line */
    background-color: #08a0b8; /* Teal color */
    border-radius: 2px;
  }
  
  .final-cta p {
    font-size: 1.2rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
  }
  
  .final-cta p a {
    color: #232628;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease-in-out;
  }
  
  .final-cta p a:hover {
    color: #08a0b8; /* Teal hover */
  }
  
  /* --- Responsive Adjustments --- */
  @media (max-width: 992px) {
    .section-main-title {
      font-size: 2.1rem;
    }
  
    .benefits-grid {
      flex-direction: column; /* Stack boxes */
      gap: 1.5rem; /* Keep gap for vertical spacing */
    }
  }
  
  @media (max-width: 576px) {
    .olympiad-info-section {
      padding: 3rem 0;
    }
    .section-main-title {
      font-size: 1.8rem;
    }
    .intro-paragraph {
      font-size: 0.95rem;
    }
    .benefit-title {
      font-size: 1.45rem;
    }
    .benefit-box p {
      font-size: 0.85rem;
    }
    .final-cta p {
      font-size: 0.95rem;
    }
  }
  
  /* --- Details/FAQ Section --- */
.details-faq-section {
    padding: 2rem 0;
    background-color: #ffffff; /* Or inherit */
  }
  
  .two-column-layout {
    display: flex;
    gap: 3rem; /* Gap between columns */
  }
  
  .column-left,
  .column-right {
    flex: 1; /* Equal width columns */
    max-width: 50%;
  }
  
  .column-left {
    padding-right: 3rem; /* Space before the divider */
    border-right: 1px solid #dee2e6; /* Vertical divider */
  }
  
  .column-title {
    /* Use 'Colfax' font if available, otherwise fall back */
    font-family: "Colfax", sans-serif;
    font-size: 2.3rem; /* Adjust size */
    font-weight: 500; /* Specified weight */
    color: #212529;
    margin-bottom: 0.75rem;
  }
  
  /* Reuse title-underline style if defined globally, otherwise: */
  .title-underline {
    height: 4px;
    width: 80px;
    background-color: #08a0b8; /* Teal color */
    border-radius: 2px;
    margin-bottom: 2.5rem; /* Space after underline */
  }
  
  /* Lists */
  .stages-list,
  .faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .stage-item,
  .faq-item {
    position: relative;
    padding-left: 1.75rem; /* Space for the dot */
    margin-bottom: 1.5rem; /* Space between items */
  }
  
  /* Custom Bullets (Dots) */
  .stage-item::before,
  .faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem; /* Adjust vertical alignment */
    width: 0.6rem; /* Dot size */
    height: 0.6rem; /* Dot size */
    background-color: #ced4da; /* Light grey dot */
    border-radius: 50%;
    z-index: 1; /* Ensure dot is above the line */
  }
  
  /* Connecting Line (Left Column Only) */
  .stage-item::after {
    content: "";
    position: absolute;
    left: 0.25rem; /* Center align with dot (width/2 - line_width/2) */
    top: 1rem; /* Start below the dot */
    bottom: -1.5rem; /* Extend down towards next item's dot (negative margin) */
    width: 1px; /* Line thickness */
    background-color: #e9ecef; /* Very light grey line */
  }
  
  /* Hide line for the last stage item */
  .stage-item:last-child::after {
    display: none;
  }
  
  /* Toggle Buttons */
  .stage-toggle,
  .faq-toggle {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #212529;
    cursor: pointer;
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 500; /* Slightly bolder */
    margin-bottom: 0.5rem; /* Space before content opens */
    transition: color 0.2s ease-in-out;
  }
  
  .stage-toggle:hover,
  .faq-toggle:hover {
    color: #08a0b8; /* Teal hover */
  }
  
  .arrow {
    font-size: 0.8em; /* Make arrow slightly smaller */
    color: #495057;
    transition: transform 0.3s ease;
  }
  
  /* Arrow rotation when expanded */
  .stage-toggle[aria-expanded="true"] .arrow,
  .faq-toggle[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
  }
  
  /* .stage-content,
  .faq-content {
    display: none; 
    padding-left: 0; 
    padding-top: 0.25rem; 
    padding-bottom: 0.5rem; 
  }
  
  .stage-content p,
  .faq-content p {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
    margin: 0;
  } */

  .stage-content,
.faq-content {
  display: none; /* Hidden by default */
  padding-left: 0; /* Align with button text */
  padding-top: 0.25rem; /* Small space above paragraph/list */
  padding-bottom: 0.5rem; /* Space below paragraph/list */
  /* Ensure content respects container width */
  overflow: hidden; /* Prevents potential overflow issues */
}

.stage-content p,
.faq-content p {
  font-size: 1.1rem;
  color: #495057;
  line-height: 1.6;
  margin: 0 0 0.75rem 0; /* Add bottom margin if text is followed by list or just for spacing */
  /* Ensure text wrapping */
  white-space: normal; /* Explicitly allow wrapping */
  overflow-wrap: break-word; /* Break long words if necessary */
  word-wrap: break-word; /* Legacy support */
}

/* Styling for the bulleted list inside stage-content */
.stage-content ul {
  list-style: disc; /* Use standard disc bullets */
  padding-left: 1.25rem; /* Indent the list */
  margin: 0; /* Reset default ul margin */
  font-size: 1.05rem; /* Match paragraph font size */
  color: #495057; /* Match paragraph text color */
  line-height: 1.6; /* Match paragraph line height */
}

.stage-content ul li {
  margin-bottom: 0.5rem; /* Space between list items */
  /* Reset position/pseudo-elements if inherited */
  position: static;
  padding-left: 0;
}
.stage-content ul li::before,
.stage-content ul li::after {
  display: none; /* Ensure no custom bullets/lines are inherited */
}

/* --- Responsive Adjustments --- */
/* ... (rest of the CSS) ... */
  
  /* --- Responsive Adjustments --- */
  @media (max-width: 992px) {
    .column-left,
    .column-right {
        max-width: 100%;
    }
    .two-column-layout {
      flex-direction: column;
      gap: 0; /* Remove gap when stacked */
    }
  
    .column-left {
      border-right: none; /* Remove vertical divider */
      padding-right: 0; /* Remove padding for divider */
      margin-bottom: 3rem; /* Add space between stacked columns */
    }
  
    .column-right {
      padding-left: 0; /* Remove padding for divider */
    }
  }
  
  @media (max-width: 576px) {
    .details-faq-section {
      padding: 3rem 0;
    }
    .column-title {
      font-size: 1.8rem;
    }
    .stage-toggle,
    .faq-toggle {
      font-size: 0.95rem;
    }
    .stage-content p,
    .faq-content p {
      font-size: 0.85rem;
    }
  }
  
  .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: 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;
    }
}

.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;
}

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) {

  .hero-content {
    padding: 0px;
  }

  .hero-content-inner {
    width: 100%;
  }
  .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;
  }
}
.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);
}