@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700&display=swap');

/* Global Styles */
body {
    font-family: 'Gabarito', sans-serif;
    background-color: #cfd2b7;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    background-color: #fff; /* keep original white */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.75rem 1rem;
}

/* Hide mobile menu button on desktop */
.navbar-toggler {
    display: none;
}

.navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #33443C; /* keep original text color */
}

.navbar .navbar-brand img {
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: #33443C; /* original nav link color */
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #33443C;
    text-decoration: underline;
}

.navbar-nav .nav-link.active {
    font-weight: 700;
}

/* Hero Section */
.hero {
    background-image: url('../images/Landing.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 100px;
    max-width: 1300px;
    margin: 60px auto;
    border-radius: 20px;
    color: #33443C;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 400px; /* Adjust height as needed */
}


/* Heading styles */
.hero-main-heading {
    background-color: rgba(245, 252, 248, 0.85);
    font-weight: 700;
    font-size: 2.5rem;
    padding: 14px 28px;
    border-radius: 20px;
    color: #33443C;
    max-width: fit-content;
    margin-bottom: 15px;
}

/* Subtitle under heading */
.hero-subtitle {
    background-color: rgba(245, 252, 248, 0.85);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 10px 24px;
    border-radius: 20px;
    color: #000;
    max-width: fit-content;
    margin-bottom: 5px;
}

/* Buttons container */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 400px;
}
.hero > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Buttons */
.hero-btn {
    background-color: white;
    color: #33443C;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 30px;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-btn:hover {
    background-color: #33443C;
    color: white;
    text-decoration: none;
}


.cta-btn a.btn {
    background-color: white;
    color: #33443C;
    border: none;
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 1rem;
    box-shadow: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}


.cta-btn a.btn-warning {
    background-color: #22382D;
    border: none;
    color: white;
}

.cta-btn a.btn-warning:hover {
    background-color: #33443C;
    color: white;
    text-decoration: none;
}

.cta-btn a.btn-outline-dark {
    border-color: #33443C;
    color: #33443C;
    background-color: transparent;
}

.cta-btn a.btn-outline-dark:hover {
    background-color: #33443C;
    color: white;
    border-color: #33443C;
}

/* Section Titles */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 50px 0 30px;
    color: #333;
    text-align: center;
    text-decoration: none;
    text-underline-offset: 8px;
    cursor: pointer;
}

/* Card Container */
.card-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: nowrap;
    padding: 0 0 50px;
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #22382D #f5fcf8;
}

.card-container::-webkit-scrollbar {
    height: 8px;
}

.card-container::-webkit-scrollbar-track {
    background: #f5fcf8;
    border-radius: 10px;
}

.card-container::-webkit-scrollbar-thumb {
    background-color: #22382D;
    border-radius: 10px;
}

.profile-card {
    width: 280px;           /* same width as .why-choose .card */
    height: 370x;          /* same height as .why-choose .card */
    background-color: #fff;
    border-radius: 20px;    /* match .why-choose card radius */
    box-shadow: 0 5px 25px rgba(0,0,0,0.15); /* same shadow */
    text-align: center;     /* center text like why-choose cards */
    padding: 15px 15px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.profile-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 10px;
    color: #33443C;
}

.profile-card p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}


/* Buttons below cards */
.text-center > a.btn-outline-dark {
    font-weight: 700;
    border-radius: 20px;
    padding: 10px 30px;
    font-size: 1rem;
    color: #33443C;
    border-color: #33443C;
    box-shadow: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.text-center > a.btn-outline-dark:hover {
    background-color: #33443C;
    color: white;
    border-color: #33443C;
}

/* Why Choose Gabay Karera Section */
.why-choose {
    margin-top: 20px;
    padding: 40px 20px;
    text-align: center;
}

.why-choose h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2E2E2E;
}

.why-choose .card {
    width: 280px;
    height: 370px;
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    text-align: center;
    padding: 15px 15px 25px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.why-choose .card:hover {
    transform: translateY(-10px);
}

.why-choose .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
}

.why-choose .card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 25px;
    color: #2E2E2E;
}

.why-choose .card p {
    font-size: 0.95rem;
    color: #2E2E2E;
    margin-top: 15px;
}

/* How It Works Section */
.how-it-works {
    margin-top: 70px;
    padding: 60px 20px 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.how-it-works .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #33443C;
}

.how-it-works-container {
    background-color: #33443C;
    border-radius: 30px;
    padding: 40px 30px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f5fcf8;
}

.step-content p {
    font-size: 1rem;
    color: #d3d7d1;
    margin-top: 15px;
}

.step-content {
    padding: 20px;
    text-align: left;
}

.how-it-works img {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.how-it-works .row {
    margin-bottom: 40px;
}

.how-it-works .col-md-6 {
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .how-it-works img {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Success Stories Section */
.success-stories {
    padding: 60px 20px 80px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.success-stories .section-title {
    text-align: center;
    color: #2E2E2E;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-stories .section-description {
    text-align: center;
    color: #2E2E2E;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Stories Container */
.stories-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Stories Scroll Container */
.stories-scroll-container {
    padding: 12px 4px;
    scroll-behavior: smooth;
}

.stories-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.stories-scroll-container::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 8px;
}

/* Individual Story Card */
.story-card {
    background-color: #fff;
    border: none;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s ease;
    margin: 0;
    height: auto;
    min-height: 220px;
}

.story-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.story-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 25px;
}

.story-text {
    flex: 1;
    margin-left: 25px;
}

.story-name {
    color: #2E2E2E;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
}

.story-quote {
    color: #2E2E2E;
    font-size: 1rem;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .story-card {
        flex-direction: column;
        text-align: center;
    }

    .story-img {
        margin-bottom: 15px;
    }

    .story-text {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Footer */
footer#footer {
    background-color: #33443C;
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
    font-size: 0.95rem;
}

footer#footer h6 {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #f5fcf8;
}

footer#footer p {
    margin-bottom: 0.5rem;
    color: #d3d7d1;
}

footer#footer .text-center.p-4 {
    background-color: rgba(255, 255, 255, 0.15);
    margin-top: 20px;
    color: #f5fcf8;
}

/* Floating Chat Icon */
#floating-chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: #fff !important;
    border: 2px solid #e6f0ed !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
    transition: box-shadow 0.2s;
    cursor: pointer;
}

#floating-chat-icon:hover {
    box-shadow: 0 8px 32px rgba(32,83,74,0.18) !important;
}

#floating-chat-icon img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Mentos Chat Widget */
#mentos-widget .card {
    border-radius: 18px !important;
    box-shadow: 0 8px 32px rgba(32,83,74,0.13) !important;
    border: 1.5px solid #e6f0ed !important;
    background: #fff !important;
    font-family: 'Gabarito', sans-serif;
    font-weight: 700;
    text-align: center;
}

#mentos-widget .card-header {
    background: #222 !important;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    border-top-left-radius: 18px !important;
    border-top-right-radius: 18px !important;
}

#mentos-widget .card-footer {
    border-bottom-left-radius: 18px !important;
    border-bottom-right-radius: 18px !important;
    background: #f4f7fa !important;
}

#mentos-widget .form-control {
    border-radius: 10px !important;
    font-size: 0.97rem !important;
}

#mentos-widget .btn-primary {
    background-color: #22382D !important;
    border-color: #22382D !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

#mentos-widget .btn-primary:hover {
    background-color: #ff9a6d !important;
    border-color: #ff9a6d !important;
}

#mentos-widget #chatBox div {
    margin-bottom: 10px !important;
    font-size: 0.97rem !important;
    color: #333 !important;
}

#mentos-widget .user-message {
    background: #e6f0ed;
    color: #20534a;
    border-radius: 12px 12px 4px 12px;
    padding: 8px 14px;
    margin-bottom: 6px;
    max-width: 80%;
    align-self: flex-end;
    box-shadow: 0 2px 8px rgba(32,83,74,0.06);
}

#mentos-widget .bot-message {
    background: #fff;
    color: #33443C;
    border-radius: 12px 12px 12px 4px;
    padding: 8px 14px;
    margin-bottom: 6px;
    max-width: 80%;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(32,83,74,0.06);
}

.mentos-card {
  width: 340px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(32,83,74,0.13);
  border: 1.5px solid #e6f0ed;
  display: flex;
  flex-direction: column;
  font-family: 'Gabarito', 'Roboto', Arial, sans-serif;
}
.mentos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 10px 18px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.mentos-title {
  font-weight: 700;
  font-size: 1.1em;
  color: #222;
}
.mentos-status {
  display: flex;
  align-items: center;
  font-size: 0.97em;
  color: #4ecb71;
  margin-left: auto;
  margin-right: 16px;
}
.mentos-dot {
  width: 9px;
  height: 9px;
  background: #4ecb71;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 4px #4ecb71;
}
.mentos-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.5em;
  cursor: pointer;
  transition: color 0.2s;
}
.mentos-close:hover {
  color: #22382D;
}
.mentos-body {
  flex: 1;
  padding: 18px 18px 0 18px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mentos-placeholder {
  color: #bbb;
  font-size: 1em;
  text-align: center;
  margin-top: 30px;
}
.mentos-message-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 6px;
}
.mentos-message-row.mentos-user {
  flex-direction: row-reverse;
}
.mentos-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  /* background: none; */
  background: transparent !important;
}
.mentos-message-row.mentos-user .mentos-avatar {
  margin: 0 8px 0 0;
}
.mentos-message-bubble {
  background: #f4f7fa;
  color: #222;
  border-radius: 18px 18px 6px 18px;
  padding: 12px 18px;
  font-size: 1em;
  max-width: 80%;
  min-width: 40px;
  display: inline-block;
  word-break: break-word;
  text-align: left;
}
.mentos-message-row.mentos-user .mentos-message-bubble {
  background: #e6f0ed;
  color: #22382D;
  border-radius: 18px 18px 18px 6px;
}
.mentos-message-meta {
  font-size: 0.92em;
  color: #888;
  margin-bottom: 2px;
  font-weight: 600;
}
.mentos-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 18px 10px 18px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
}
.mentos-input {
  flex: 1;
  border-radius: 18px;
  border: 1px solid #22382D;
  padding: 0.7rem 1.2rem;
  font-size: 1em;
  background: #f4f7fa;
  color: #222;
  outline: none;
  transition: border 0.2s;
}
.mentos-input:focus {
  border: 1.5px solid #22382D !important;
}
.mentos-send {
  background: none;
  border: none;
  padding: 0 0 0 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.mentos-send svg {
  stroke: #22382D !important;
}
.mentos-footer {
  text-align: center;
  font-size: 0.92em;
  color: #bbb;
  padding: 6px 0 12px 0;
  background: #fff;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  /* Navbar mobile adjustments */
  .navbar {
    padding: 0.5rem 0.75rem;
    position: relative;
  }
  
  .navbar .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar .navbar-brand img {
    height: 30px;
    margin-right: 8px;
  }
  
  /* Mobile menu button */
  .navbar-toggler {
    display: block !important;
    border: none;
    background: transparent;
    padding: 0.5rem;
    font-size: 1.25rem;
    color: #ffffff;
    cursor: pointer;
    margin-right: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
  }
  
  /* Mobile navbar layout */
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar .navbar-brand {
    flex: 1;
  }
  
  .navbar .mobile-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: row-reverse;
  }
  
  /* Hide regular nav on mobile */
  .navbar-nav.d-lg-none {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #003169;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 0 0 10px 10px;
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 1000;
    min-width: 200px;
    left: auto;
  }
  
  .navbar-nav.d-lg-none.show {
    display: flex !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
  
  /* Separate Sign In button */
  .navbar .sign-in-btn {
    display: block;
    background: #1a5f3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .navbar .sign-in-btn:hover {
    background: #144a2f;
    color: white;
    text-decoration: none;
  }

  /* Hero section mobile adjustments */
  .hero {
    padding: 40px 20px;
    margin: 30px 30px;
    min-height: 300px;
    border-radius: 15px;
    max-width: calc(100vw - 60px);
  }

  .hero-main-heading {
    font-size: 1.8rem;
    padding: 12px 20px;
    border-radius: 15px;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 8px 18px;
    border-radius: 15px;
    margin-bottom: 4px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    max-width: 200px;
    align-items: center;
    justify-content: center;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 20px;
    width: auto !important;
    min-width: 100px !important;
    max-width: 120px !important;
  }

  /* Section titles mobile */
  .section-title {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    padding: 0 10px;
  }

  /* Top Mentors/Mentees sections mobile */
  section {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .scroll-wrapper {
    max-width: 100%;
    margin: 0 auto 20px;
  }

  /* Card container mobile */
  .card-container {
    gap: 12px;
    padding: 0 10px 25px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #22382D transparent;
  }

  .card-container::-webkit-scrollbar {
    height: 4px;
  }

  .card-container::-webkit-scrollbar-track {
    background: transparent;
  }

  .card-container::-webkit-scrollbar-thumb {
    background-color: #22382D;
    border-radius: 2px;
  }

  .profile-card {
    width: 120px;
    height: 160px;
    padding: 8px 6px 10px;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .profile-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  }

  .profile-card img {
    height: 50px;
    border-radius: 8px;
    margin-bottom: 6px;
    object-fit: cover;
  }

  .profile-card h5 {
    font-size: 0.75rem;
    margin-bottom: 4px;
    line-height: 1.1;
  }

  .profile-card p {
    font-size: 0.65rem;
    margin-bottom: 3px;
  }

  /* Scroll buttons mobile */
  .scroll-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: #22382D;
    color: #fff;
    border: none;
  }

  .scroll-btn.left {
    left: 8px;
  }

  .scroll-btn.right {
    right: 8px;
  }

  /* Why Choose section mobile */
  .why-choose {
    padding: 15px 10px;
    margin-top: 8px;
  }

  .why-choose h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .why-choose .d-flex {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    justify-content: center !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .why-choose .card {
    width: calc(50% - 5px) !important;
    max-width: none !important;
    height: auto;
    min-height: 140px;
    padding: 10px 8px 12px;
    border-radius: 10px;
    flex: 0 0 calc(50% - 5px) !important;
    margin-bottom: 10px !important;
  }

  .why-choose .card i {
    font-size: 1.8rem;
    margin-top: 8px;
  }

  .why-choose .card h5 {
    font-size: 0.85rem;
    margin-top: 8px;
    margin-bottom: 5px;
  }

  .why-choose .card p {
    font-size: 0.75rem;
    margin-top: 5px;
    line-height: 1.3;
  }

  /* How It Works section mobile */
  .how-it-works {
    margin-top: 40px;
    padding: 40px 15px 60px;
  }

  .how-it-works .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .how-it-works-container {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .step-content h4 {
    font-size: 1.1rem;
  }

  .step-content p {
    font-size: 0.9rem;
    margin-top: 10px;
  }

  .step-content {
    padding: 15px;
  }

  .how-it-works .row {
    margin-bottom: 30px;
  }

  /* Success Stories mobile */
  .success-stories {
    padding: 40px 15px 60px;
  }

  .success-stories .section-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .success-stories .section-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .story-card {
    padding: 15px;
    border-radius: 20px;
    flex-direction: column;
    text-align: center;
  }

  .story-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 15px;
  }

  .story-text {
    margin-left: 0;
    margin-top: 0;
  }

  .story-name {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .story-quote {
    font-size: 0.9rem;
  }

  /* Footer mobile */
  footer#footer {
    padding: 20px 15px 10px;
    font-size: 0.85rem;
  }

  footer#footer h6 {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  footer#footer p {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }

  footer#footer .text-center.p-4 {
    padding: 15px !important;
    margin-top: 15px;
    font-size: 0.8rem;
  }

  /* Chat widget mobile */
  .mentos-card {
    width: 300px;
    border-radius: 15px;
  }

  .mentos-header {
    padding: 15px 15px 8px 15px;
  }

  .mentos-title {
    font-size: 1rem;
  }

  .mentos-body {
    padding: 15px 15px 0 15px;
    max-height: 280px;
  }

  .mentos-input-row {
    padding: 12px 15px 8px 15px;
  }

  .mentos-input {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }

  #floating-chat-icon {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }

  #floating-chat-icon img {
    width: 40px;
    height: 40px;
  }
}

/* Extra small devices (phones in portrait) */
@media (max-width: 480px) {
  /* Navbar extra small */
  .navbar {
    padding: 0.4rem 0.6rem;
  }
  
  .navbar .navbar-brand {
    font-size: 0.9rem;
  }
  
  .navbar .navbar-brand img {
    height: 25px;
    margin-right: 6px;
  }
  
  .navbar-nav {
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column !important;
    gap: 0.5rem;
    min-width: 200px;
  }
  
  .navbar-nav .nav-link {
    padding: 0.25rem 0.4rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* Hero section extra small */
  .hero {
    padding: 30px 15px;
    margin: 20px auto;
    min-height: 250px;
  }

  .hero-main-heading {
    font-size: 1.5rem;
    padding: 10px 16px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    padding: 6px 14px;
  }

  .hero-buttons {
    max-width: 180px;
    gap: 8px;
  }

  .hero-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 18px;
  }

  /* Section titles extra small */
  .section-title {
    font-size: 1.2rem;
    margin: 25px 0 15px;
  }

  /* Cards extra small */
  .card-container {
    gap: 10px;
    padding: 0 8px 20px;
  }

  .profile-card {
    width: 100px;
    height: 130px;
    padding: 6px 4px 8px;
    border-radius: 8px;
  }

  .profile-card img {
    height: 40px;
    border-radius: 6px;
    margin-bottom: 4px;
  }

  .profile-card h5 {
    font-size: 0.7rem;
    margin-bottom: 3px;
    line-height: 1.0;
  }

  .profile-card p {
    font-size: 0.6rem;
    margin-bottom: 2px;
  }

  /* Scroll buttons extra small */
  .scroll-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    background: #22382D;
    color: #fff;
    border: none;
  }

  .scroll-btn.left {
    left: 4px;
  }

  .scroll-btn.right {
    right: 4px;
  }

  /* Why Choose extra small */
  .why-choose {
    padding: 12px 8px;
  }

  .why-choose h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .why-choose .d-flex {
    gap: 8px !important;
  }

  .why-choose .card {
    width: calc(50% - 4px) !important;
    max-width: none !important;
    min-height: 100px;
    padding: 6px 4px 8px;
    flex: 0 0 calc(50% - 4px) !important;
    margin-bottom: 8px !important;
  }

  .why-choose .card i {
    font-size: 1.5rem;
    margin-top: 6px;
  }

  .why-choose .card h5 {
    font-size: 0.8rem;
    margin-top: 6px;
    margin-bottom: 4px;
  }

  .why-choose .card p {
    font-size: 0.7rem;
    margin-top: 4px;
    line-height: 1.2;
  }

  /* How It Works extra small */
  .how-it-works {
    margin-top: 30px;
    padding: 30px 10px 50px;
  }

  .how-it-works .section-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }

  .how-it-works-container {
    padding: 25px 15px;
    border-radius: 15px;
  }

  .step-content h4 {
    font-size: 1rem;
  }

  .step-content p {
    font-size: 0.85rem;
  }

  .step-content {
    padding: 12px;
  }

  /* Success Stories extra small */
  .success-stories {
    padding: 30px 10px 50px;
  }

  .success-stories .section-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .success-stories .section-description {
    font-size: 0.85rem;
    margin-bottom: 25px;
  }

  .story-card {
    padding: 12px;
    border-radius: 15px;
  }

  .story-img {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    margin-bottom: 12px;
  }

  .story-name {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .story-quote {
    font-size: 0.85rem;
  }

  /* Footer extra small */
  footer#footer {
    padding: 15px 10px 8px;
    font-size: 0.8rem;
  }

  footer#footer h6 {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  footer#footer p {
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
  }

  footer#footer .text-center.p-4 {
    padding: 12px !important;
    margin-top: 12px;
    font-size: 0.75rem;
  }

  /* Chat widget extra small */
  .mentos-card {
    width: 280px;
    border-radius: 12px;
  }

  .mentos-header {
    padding: 12px 12px 6px 12px;
  }

  .mentos-title {
    font-size: 0.95rem;
  }

  .mentos-body {
    padding: 12px 12px 0 12px;
    max-height: 250px;
  }

  .mentos-input-row {
    padding: 10px 12px 6px 12px;
  }

  .mentos-input {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  #floating-chat-icon {
    bottom: 12px;
    right: 12px;
    padding: 6px;
  }

  #floating-chat-icon img {
    width: 35px;
    height: 35px;
  }
}
