/* General Styles */
body {
  margin: 0;
  font-family: 'Artifakt Element', Segoe UI, Tahoma, Geneva, Verdana, sans-serif;
  color: #111111; /* Dark text color */
  line-height: 1.6;
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
}



/* Section 1: Flexeller’s Coffee Chat Connection */
.section-1 {
  /* Use relative path from css folder to images folder */
  background: url('../images/Block_1.jpg') no-repeat center center/cover;
  min-height: 100vh; /* Use min-height instead of height */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.section-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.6), rgba(17, 17, 17, 0.6)); /* Black coffee overlay */
  z-index: 1;
}

.section-1 .container {
  padding: 40px;
  border-radius: 15px;
  max-width: 1140px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.section-1 .first-paragraph {
  font-size: 1.5rem;
  font-weight: 900; /* Extra bold */
  color: #FFC000; /* Orange */
  margin-bottom: 20px;
}

.section-1 .second-paragraph {
  font-size: 4rem;
  font-weight: 900; /* Bold */
  color: #F4EEDC; /* Beige white */
  margin-bottom: 20px;
}

.section-1 .third-paragraph {
  font-size: 1.5rem;
  font-weight: 500; /* Medium */
  color: #F4EEDC; /* Beige white */
  line-height: 1.6;
}

.section-1 .cta-buttons {
  margin-top: 30px;
}

.section-1 .cta-buttons button {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.section-1 .cta-buttons .btn-primary {
  background: #CC5500; /* Burnt Orange */
  color: white;
  margin-right: 15px;
}

.section-1 .cta-buttons .btn-primary:hover {
  background: #B34A00; /* Darker Burnt Orange */
}

.section-1 .cta-buttons .btn-secondary {
  background: #C0C0C0; /* Silver */
  color: #333333; /* Charcoal Gray */
}

.section-1 .cta-buttons .btn-secondary:hover {
  background: #A9A9A9; /* Darker Silver */
}

/* Mobile Responsive Styles for Section 1 */
@media only screen and (max-width: 768px) {
.section-1 {
  min-height: 80vh; /* Reduce height for mobile */
  padding: 20px; /* Add padding to the section */
}

.section-1 .container {
  padding: 20px; /* Reduce padding for smaller screens */
  text-align: center; /* Center-align text on mobile */
}

.section-1 .first-paragraph {
  font-size: 1.2rem; /* Smaller font size for mobile */
  margin-bottom: 15px; /* Adjust spacing */
}

.section-1 .second-paragraph {
  font-size: 2.5rem; /* Smaller font size for mobile */
  margin-bottom: 15px; /* Adjust spacing */
}

.section-1 .third-paragraph {
  font-size: 1rem; /* Smaller font size for mobile */
  line-height: 1.5; /* Adjust line height */
}

.section-1 .cta-buttons {
  margin-top: 20px; /* Adjust spacing */
  display: flex;
  flex-direction: column; /* Stack buttons vertically */
  align-items: center; /* Center-align buttons */
}

.section-1 .cta-buttons button {
  width: 100%; /* Full-width buttons */
  margin: 10px 0; /* Add spacing between buttons */
}

.section-1 .cta-buttons .btn-primary {
  margin-right: 0; /* Remove right margin */
}
}




/* Section 2: Our Value */
.section-2 {
  display: flex;
  max-width: 1380px; /* Maximum width for the container */
  width: 100%;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 100px;
  background: #FFFFFF; /* White background for the container */
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.section-2 .left-column {
  flex: 1;
  padding: 40px;
  /*background: #D9D0B4;*/ /* Light brown background */
  background: #f9f9f9; /* Very Light gray background */
}

.section-2 .left-column .first-paragraph {
  font-size: 3rem;
  font-weight: 800;
  color: #111111; /* Dark text color */
  text-align: left;
  margin-bottom: 20px;
}

.section-2 .left-column .second-paragraph {
  font-size: 1.25rem;
  font-weight: 500;
  color: #111111; /* Dark text color */
  text-align: left;
  line-height: 1.6;
}

.section-2 .right-column {
  flex: 1;
  padding: 40px;
  background: #F5F5F5; /* Light gray background */
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-2 .right-column .our-value {
  font-size: 4rem;
  font-weight: 800;
  color: #111111; /* Dark text color */
  text-align: center;
}

/* Mobile Responsive Styles for Section 2 */
@media only screen and (max-width: 768px) {
.section-2 {
  flex-direction: column-reverse; /* Reverse the order of columns on mobile */
  margin-top: 50px;
  margin-bottom: 50px;
}

.section-2 .left-column,
.section-2 .right-column {
  flex: none; /* Reset flex to allow full width */
  width: 100%;
  padding: 20px; /* Reduce padding for smaller screens */
}

.section-2 .left-column .first-paragraph {
  font-size: 2rem; /* Smaller font size for mobile */
  text-align: center; /* Center text on mobile */
}

.section-2 .left-column .second-paragraph {
  font-size: 1rem; /* Smaller font size for mobile */
  text-align: left; /* Left text on mobile */
}

.section-2 .right-column .our-value {
  font-size: 2.5rem; /* Smaller font size for mobile */
}
}




/* Section 6: How Flexeller Works */
/* Font Import (Add this first) */
/* @font-face {
  font-family: 'Artifakt Element Heavy';
  src: url('path/to/ArtifaktElement-Heavy.woff2') format('woff2');
}
@font-face {
  font-family: 'Artifakt Element Medium';
  src: url('path/to/ArtifaktElement-Medium.woff2') format('woff2');
} */

.Section-6 {
  position: relative;
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /*background: linear-gradient(rgba(0, 40, 80, 0.4), rgba(15, 30, 45, 0.9)),
              url('images/How it works.jpg');*/
  background: #F5F5F5; /* Light gray background */
  background-size: cover;
  background-position: center;
  color: #111;
}

.section-content {
  max-width: 1200px;
  width: 100%;
  margin-top: 40px;
}

.title-row {
  text-align: center;
  margin-bottom: 40px;
}

.split-layout {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.headers-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.content-column {
  flex: 2;
  min-height: 500px;
  position: relative;
}

.section-header {
  cursor: pointer;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid transparent;
}

.section-header:hover {
  transform: translateX(10px);
  border-left-color: #0066CC;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-header.active {
  background: #ffffff;
  border-left-color: #0066CC;
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.2);
}

.content-item {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 1.0s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
}

.content-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cta-button {
  margin-top: 50px;
  padding: 16px 40px;
  background: #0066CC;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: #2575fc;
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

/* Typography */
.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: #111111; /* Dark text color */
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #111111; /* Dark text color */
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-header {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  text-align: left;
}

.content-item {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

.content-item ul,
.content-item ol {
  padding-left: 20px;
  margin: 15px 0;
  text-align: left;
}

.content-item li {
  margin-bottom: 8px;
  text-align: left;
}


/* Mobile Responsive Styles for Section 6 Only */
@media (max-width: 1200px) {
  .Section-6 {
    padding: 40px 20px;
    min-height: auto;
  }

  .Section-6 .split-layout {
    flex-direction: column;
    gap: 10px;
  }

  .Section-6 .content-column {
    display: none;
  }

  .Section-6 .mobile-content {
    display: none;
    padding: 20px;
    margin: 0 0 15px 0;
    background: white;
    border-radius: 0 0 5px 5px;
    border-left: 4px solid #0066CC;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
  }

  .Section-6 .mobile-content p,
  .Section-6 .mobile-content ul,
  .Section-6 .mobile-content li {
    text-align: left;
    margin-bottom: 10px;
  }

  .Section-6 .mobile-content ul {
    padding-left: 20px;
    margin: 15px 0;
  }

  .Section-6 .section-header.active + .mobile-content {
    display: block;
  }
}

/* Section 5: Explore Our Coffee Topics */
.Section-5 {
        position: relative;
        min-height: 1000px; /* Changed from height: 100vh to min-height: 1000px */
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 100px;
        margin-bottom: 100px;
        padding: 40px;
        /* Use relative path from css folder to images folder */
        background-image: linear-gradient(rgba(214, 175, 76, 0.2), rgba(22, 45, 67, 0.95)), url('../images/Explore coffee topics.jpg');
        background-size: cover;
        background-position: center;
        font-family: 'Artifakt Element', sans-serif;
        isolation: isolate; /* Prevents style conflicts with other sections */
    }

    .Section-5 .left-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 50%;
        height: 100%;
        justify-content: flex-end;
        align-items: flex-start;
        padding-bottom: 100px;
    }

    .Section-5 .heading-group {
        display: flex;
        flex-direction: column;
        gap: 5px; /* Specific gap between heading and sub-heading */
    }

    .Section-5 .right-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 40%;
        padding: 30px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 12px;
        margin-top: 20px;
    }

    .Section-5 .main-heading {
        font-size: 3rem;
        font-weight: 800;
        color: #ffffff;
        line-height: 1.2;
        text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    }

    .Section-5 .sub-heading {
        font-size: 1.25rem;
        font-weight: 500;
        color: #ffffff;
        max-width: 500px;
        text-align: left;
        line-height: 1.6;
    }

    .Section-5 .cta-button {
        padding: 12px 24px;
        background: #CC5500; /* Burnt Orange */
        color: #ffffff;
        border: none;
        border-radius: 30px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 100px;
        align-self: flex-start; /* Ensure button stays aligned to the left */
    }

    .Section-5 .cta-button:hover {
        background: #B34A00; /* Darker Burnt Orange */
        transform: translateY(-2px);
    }

    .Section-5 .topic-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .Section-5 .topic-item {
        position: relative;
        cursor: pointer;
        padding: 12px;
        border-left: 4px solid #CC5500; /* Burnt Orange */
        transition: all 0.3s ease;
        font-size: 1rem;
        font-weight: 500;
        color: #111111;
    }

    .Section-5 .info-window {
        display: none;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 20px;
        width: 220px;
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 2;
        font-size: 0.9rem;
        line-height: 1.6;
        color: #444;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .Section-5 .topic-item:hover .info-window {
        display: block;
        opacity: 1;
        transform: translateY(-50%) translateX(10px);
    }

    .Section-5 .info-window::before {
        content: "";
        position: absolute;
        right: 100%;
        top: 50%;
        transform: translateY(-50%);
        border-width: 10px;
        border-style: solid;
        border-color: transparent white transparent transparent;
    }

    /* Mobile Responsive Styles (Scoped to Section 5) */
    @media (max-width: 1200px) {
        .Section-5 {
            flex-direction: column;
            padding: 0;
            min-height: auto;
            background: none;
            margin-top: 50px;
            margin-bottom: 100px; /* Add sufficient margin-bottom to separate from footer */
            position: relative;
            z-index: 1;
        }

        .Section-5 .left-container {
            width: 100%;
            padding: 200px 20px; /* Increased top/bottom padding */
            height: auto;
            min-height: 800px; /* Increased min-height for taller image display */
            justify-content: center;
            align-items: center;
            /* Use relative path from css folder to images folder */
            background-image: linear-gradient(rgba(214, 175, 76, 0.3), rgba(22, 45, 67, 0.9)), url('../images/Explore coffee topics.jpg');
            background-size: cover;
            background-position: center;
            text-align: center;
            margin-bottom: 20px;
        }

        .Section-5 .heading-group {
            align-items: center;
            margin-bottom: 50px; /* Add space between title and button */
        }

        .Section-5 .main-heading {
            margin-bottom: 20px; /* Add space below main heading */
        }

        .Section-5 .sub-heading {
            text-align: center;
            max-width: 90%; /* Ensure subtitle doesn't stretch too wide */
        }

        .Section-5 .cta-button {
            align-self: center;
            margin-bottom: 20px;
            padding: 15px 30px; /* Larger button padding */
        }

        .Section-5 .right-container {
            width: 100%;
            padding: 0 20px 40px; /* Ensure bottom padding for content */
            background: transparent;
            margin-top: 0;
        }

        .Section-5 .topic-list {
            gap: 10px;
        }

        .Section-5 .topic-item {
            background: #ffffff;
            padding: 15px 20px;
            margin-bottom: 5px;
            border-radius: 8px;
            border-left: 4px solid #CC5500;
            font-weight: 600;
            font-size: 1.1rem;
            color: #333;
            position: relative;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .Section-5 .topic-item::after {
            content: '+';
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.2rem;
            color: #CC5500;
            transition: transform 0.3s ease;
        }

        .Section-5 .topic-item.active {
            background: #CC5500;
            color: white;
            border-radius: 8px 8px 0 0;
            border-left: none;
            margin-bottom: 0;
        }

        .Section-5 .topic-item.active::after {
            content: '−';
            color: white;
            transform: translateY(-50%);
        }

        .Section-5 .mobile-content {
            display: none;
            padding: 20px;
            margin: 0 0 15px 0;
            background: #f8f8f8;
            border-radius: 0 0 8px 8px;
            border: 1px solid #e0e0e0;
            border-top: none;
            color: #666;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .Section-5 .mobile-content br {
            content: '';
            display: block;
            margin: 8px 0;
        }

        .Section-5 .topic-item.active + .mobile-content {
            display: block;
            animation: fadeIn 0.3s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Hide desktop hover info windows on mobile */
        .Section-5 .info-window {
            display: none !important;
        }

        /* Add a spacer div to create separation between sections */
        .section-separator {
            display: block;
            height: 100px; /* Height of the separator */
            width: 100%;
            clear: both;
        }

        /* Fix footer positioning in mobile layout */
        .Section-7 {
            position: relative;
            z-index: 2;
            margin-top: 0; /* Remove unnecessary top margin */
            width: 100%;
            display: block;
            clear: both;
        }

        .Section-7 .footer {
            width: 100%;
            padding: 20px;
            background: #2c3e50;
            position: relative;
        }
    }


    /* Section 7: Footer */
    .Section-7 {
        width: 100%;
        margin: 0 auto;
    }


    @media (max-width: 1200px) {
        .Section-7 {
            position: static !important;
            clear: both; /* Ensures the footer appears below all content */
            margin-top: 800px;
        }
    }

    .Section-7 .footer {
       background: #2c3e50;
       color: white;
       text-align: center;
       padding: 20px;
    }


    .Section-7 .footer a {
      color: #ff9f43;
      transition: color 0.3s ease;
    }

   .Section-7 .footer a:hover {
     color: #ff7f00;
   }
