* {
    font-family: "Inter", sans-serif;
}

.bg-primary {
    background-color: #d97757 !important;
}

.bg-secondary {
    background-color: #fde429;
}

.text-primary {
    color: #d97757;
}

.text-secondary {
    color: #fff6ef !important;
}

.navbar-nav .nav-link {
            color: #d97757;
            font-size: 16px;
/*            font-weight: bold;*/
/*            text-transform: uppercase;*/
        }
        .navbar-brand {
            display: flex;
            align-items: center;
/*            font-weight: bold;*/
        }
        .navbar-brand img {
            height: 80px;
/*            margin-right: 10px;*/
        }
        .auth-buttons .btn {
            border-radius: 20px;
            padding: 8px 20px;
            font-size: 14px;
        }
        .join-btn {
/*            border: 2px solid #d97757;*/
            background-color: #d97757;
            color: #fff;
        }
        .join-btn:hover {
            background-color: #d97757;
            color: white;
        }
        /* Align buttons properly in mobile */
        @media (max-width: 991px) {
            .auth-buttons {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }
        }

        .text-primary {
    color: #d97757 !important;
}
.podcast-section {
            padding: 50px 0;
            position: relative;
        }
        .podcast-text h2 {
            font-size: 42px;
            font-weight: bold;
        }
        .podcast-text h2 span {
            font-style: italic;
            color: #d97757;
        }
        /*.podcast-text p {
            font-size: 18px;
            color: #555;
        }*/
        .btn-listen {
            background-color: #d97757;
            color: white;
            border-radius: 25px;
            padding: 10px 25px;
        }
        .btn-listen:hover {
            background-color: #d97757;
            color: white;
        }
        .btn-browse {
            border: 2px solid #d97757;
            color: #d97757;
            border-radius: 25px;
            padding: 10px 25px;
        }
        .btn-browse:hover {
            background-color: #d97757;
            color: white;
        }
        .podcast-stats {
            font-size: 20px;
            font-weight: bold;
            margin-top: 20px;
        }
        .podcast-image {
            max-width: 100%;
        }

        /* Mobile view: Set background image with dark overlay */
        @media (max-width: 767px) {
            .podcast-section {
                position: relative;
                background: url('../images/hero-bg.jpg') no-repeat center center / cover;
                padding: 0px 0px;
            }
            /* Dark overlay */
            .podcast-section::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.4); /* Light black overlay */
            }
            .podcast-text {
                position: relative;
                background: rgba(255, 255, 255, 0.8);
                padding: 20px;
/*                border-radius: 10px;*/
            }
            .podcast-image {
                display: none;
            }

            .btn-listen,.btn-browse {
              width: 100%;
              margin-top: 10px;
            }
        }


        .search-section {
            text-align: center;
            padding: 80px 20px;
        }
        .search-section-heading {
            font-size: 32px;
            font-weight: bold;
        }
        .search-section p {
            font-size: 14px;
            color: #555;
            margin-bottom: 18px;
        }
        .search-box {
            max-width: 600px;
            margin: 0 auto;
            position: relative;
        }
        .search-box input {
            width: 100%;
            padding: 12px 20px;
            border-radius: 50px;
            border: 1px solid #e9e9e9;
            font-size: 12px;
        }
        .search-box button {
            position: absolute;
            right: 0px;
            top: 50%;
            transform: translateY(-50%);
            background-color: #d97757;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 50%;
            cursor: pointer;
        }
        .search-box button:hover {
            background-color: #d97757;
        }
        .popular-searches {
            margin-top: 15px;
            color: #777;
            font-size: 14px;
        }
        .popular-searches span {
            font-weight: bold;
            color: black;
        }

        .about-section {
            position: relative;
/*            height: 550px;*/
height: auto;
            background: url('../images/welcome-bg.jpg') top/cover no-repeat;
            clip-path: polygon(0 9%, 100% 0%, 100% 91%, 0 100%);
        }

        /* Black Overlay */
        .about-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5); /* Adjust opacity for darker/lighter effect */
        }

        /* Content */
        .about-content {
            position: relative;
            z-index: 2;
            color: white;
            text-align: center;
            padding: 200px 10px;
        }

        .about-content-title {
            font-size: 32px;
            font-weight: bold;
        }

        .about-content p {
            font-size: 18px;
            max-width: 1000px;
            margin: auto;
        }

        .education-platform {
      background-color: #fff6ef;
      padding: 80px 0;
      position: relative;
    }
    
    .platform-heading {
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 60px;
      color: #d97757;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .platform-tabs {
      display: flex;
      justify-content: space-between;
      margin-bottom: 40px;
      position: relative;
      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .platform-tab {
      flex: 1;
      text-align: center;
      padding: 15px;
      color: #666;
      font-weight: 500;
      font-size: 1.25rem;
      cursor: pointer;
      transition: all 0.3s ease;
      border-bottom: 2px solid transparent;
    }
    
    .platform-tab.active {
      color: #d97757;
      border-bottom: 2px solid #d97757;
    }
    
    .platform-indicator {
      position: absolute;
      height: 2px;
      background-color: #d97757;
      bottom: 0;
      transition: all 0.3s ease;
    }
    
    .platform-content {
      padding: 20px 0;
      display: none;
    }
    
    .platform-content.active {
      display: block;
    }
    
    .platform-features {
      margin-top: 40px;
    }
    
    .feature-item {
      display: flex;
      align-items: flex-start;
      margin-bottom: 30px;
    }
    
    .feature-icon {
      color: #d97757;
      font-size: 24px;
      margin-right: 15px;
      flex-shrink: 0;
    }
    
    .feature-text {
      flex: 1;
      color: #d97757;
    }
    
    .feature-text h4 {
      margin-bottom: 10px;
    }
    
    .platform-cta {
      display: inline-flex;
      align-items: center;
      color: #d97757;
      text-decoration: none;
      font-weight: 500;
      margin-top: 20px;
      transition: all 0.3s ease;
    }
    
    .platform-cta:hover {
      color: #2980b9;
    }
    
    .platform-cta svg {
      margin-left: 5px;
      transition: all 0.3s ease;
    }
    
    .platform-cta:hover svg {
      transform: translateX(5px);
    }
    
    .platform-image {
      max-width: 100%;
      border-radius: 10px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .feature-check {
      color: #d97757;
      margin-right: 15px;
      font-size: 1.25rem;
    }
    
    /* Add to your existing CSS */
@media (max-width: 768px) {
  .platform-heading {
    font-size: 1.8rem;
}

  .platform-tabs {
    flex-direction: row; /* Change from column back to row */
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping */
    padding-bottom: 15px; /* Add space for scrollbar */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: thin; /* For Firefox */
    margin-bottom: 0px;
  }
  
  .platform-tab {
    flex: 0 0 auto; /* Don't grow or shrink */
    padding: 10px 20px; /* Add more horizontal padding */
    margin-right: 10px; /* Space between tabs */
    border-bottom: 2px solid transparent; /* Restore bottom border */
    border-left: none; /* Remove left border */
    white-space: nowrap; /* Prevent text wrapping */
  }
  
  .platform-tab.active {
    border-bottom: 2px solid #d97757; /* Restore bottom border for active */
    border-left: none; /* Remove left border */
  }
  
  /* Hide scrollbar for Chrome, Safari and Opera */
  .platform-tabs::-webkit-scrollbar {
    display: none;
  }
  
  /* Optional: Add visual indicator that there's more to scroll */
  .platform-tabs::after {
    content: '';
    flex: 0 0 20px;
    height: 1px;
  }
}