/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  h1, h2, p {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  }
  
  
  /* Header Styling */
  header {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 15px 50px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    top: 0;
    z-index: 1000;
    border-radius: 10px;
  }
  
  /* Logo */
  .logo img {
    margin-right: auto;
    padding-right: 20px;
    position: relative;
    width: 180px;
    height: auto;
    filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.9)); /* Adds  glow-like effect */
    z-index: 2;
  }


  /* Logo with zoom effect */
.logo {
    transition: transform 0.5s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.5); /* Makes the logo 20% larger on hover */
}


/*welcome note*/
.welcome-note {
  font-family: 'Scheherazade New', serif;
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #b2d808;
  margin-top: 15px;
  text-align: justify;
}

.welcome-note br {
  line-height: 2; /* Optional: Add extra spacing between the lines */
}
.ceo-signature {
  font-family: 'Poppins', sans-serif;
  margin-top: 20px;
  font-size: 1rem;
  color: #f8f8f8;
  text-align: right;
}

/* Hero Section (Now Under Container) */
.hero {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .hero-btn {
    padding: 12px 25px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .hero-btn:hover {
    background: #e08900;
  }
  
 
  /* Search Bar */
  .search-bar {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .search-bar input {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
  }
  
  .search-bar button {
    padding: 6px 10px;
    border: none;
    background: #ff9800;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .search-bar button:hover {
    background: #e08900;
  }

  #search-result {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
  }

  /* Highlighted Word Styling */
.highlighted {
  background-color: yellow;
  color: black;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 3px;
}
  
  /* Body Styling */
body {
  background: url('pictures/GIRAFFE\ SKIN.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  /* Fallback background color */
  background-color: #f8e0b7;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay for contrast */
  z-index: -1;
}
  
  /* Main Container */
  .container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    /* height: 80vh; */
    height: auto; 
    /*Allow the height to adjust based on content */
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    z-index: 1;
  }
  
  /* Left Section */
  .left {
    width: 50%;
    background-size: contain;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    position: relative;
    height: 80vh; /* Set the height to fill the viewport */
    max-height: 100vh; /* Prevent overflow */
    transition: background 0.5s ease-in-out;
  }
  
  /* Hover Effect for Background on Left Section */
  .container:hover .left {
    background: url('pictures/CHEETAH\ -\ 2.png') no-repeat center center/cover;
  }
  
  /* Text Content */
  .content {
    z-index: 2;
  }
  
  h1 {
    font-size: 40px;
    letter-spacing: 2px;
  }
  
  .highlight {
    color: #ff9800;
  }
  
  h2 {
    font-size: 30px;
    font-weight: 400;
    margin-top: 10px;
  }
  
  p {
    font-size: 18px;
    margin: 20px 0;
    line-height: 1.5;
  }
  
  /* Button */
  .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #ff9800;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
  }
  
  .btn:hover {
    background: #e08900;
  }
  
  /* Right Section */
  .right {
    width: 50%;
    position: relative;
    overflow: hidden;
  }
  
  .right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #fff;
}
/* National Parks Cards Section */
/* National Parks Cards Section */
.national-parks {
  padding: 50px 20px;
  background: #fff;
  text-align: center;
}

@keyframes colorChange {
  0% { color: #ffcc00; }
  25% { color: #ff5733; }
  50% { color: #ffffff; }
  75% { color: #1e90ff; }
  100% { color: #ffcc00; }
}

.color-changing-text {
  font-size: 36px;
  animation: colorChange 5s infinite;
  font-weight: 900;
}

.national-parks h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
}

/* Cards Container */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Individual Card Styling */
.card {
  background: rgba(10, 9, 1, 0.849) !important;
  border-radius: 10px;
  padding: 15px 15px 50px;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
  position: relative;
  width: 275px;
  height: auto;
  overflow: hidden;
}

.card:hover {
  transform: scale(1.05);
}

/* Card Image */
.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Flag and Black Section Styling */
.card .flag-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  display: flex;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.card .flag-container .flag {
  width: 100%;
  height: 100%;
  background: url('pictures/TANZANIA\ FLAG\ -\ 1.png') no-repeat center center;
  background-size: cover;
  border-bottom-left-radius: 10px;
  position: relative;
  z-index: 1;
}

.card .flag-container .black-section {
  width: 0%;
  background-color: rgba(10, 9, 4, 0);
  border-bottom-right-radius: 10px;
  position: relative;
  z-index: 1;
}

/* Card Text Content */
.card h3 {
  margin: 10px 0;
  font-size: 1.5em;
  color: white;
}

.card p {
  font-size: 1em;
  color: white;
}

/* Call-to-Action Button */
.card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #ffcc00;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.card a:hover {
  background: #e6b800;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }
}

.main-menu {
  display: flex;
  gap: 30px; /* Adjust spacing between menu items */
  margin-left: auto; /* Push the menu to the right */
  padding: 10px 20px; /* Add padding for the box shadow */
  background: rgba(255, 255, 255, 0.1); /* Optional background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add box shadow */
  border-radius:  50px 0 0 50px; /* circular effect on the left */
  position: relative;
  z-index: 1;
}

  
.main-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: auto;
  display: flex;
  gap: 20px; /* Adjusts spacing */
}

.main-menu ul li a {
  text-decoration: none;
  color: rgb(27, 218, 100); /* Adjust color as needed */
  font-weight: 900; /* Makes text bold */
  font-size: 1.5rem; /* Increases text size */
  transition: color 0.3s ease;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9); 
}

.main-menu ul li a:hover {
  color: #f7cc11; /* Change color on hover */
}
  /* Responsive Design */
  @media (max-width: 768px) {
    header {
      flex-direction: column;
      gap: 10px;
    }
    

  
    
    .container {
      flex-direction: column;
      height: auto;
    }
    
    .left, .right {
      width: 100%;
      height: 50vh;
    }
    
    .content {
      padding: 20px;
    }
    
    h1 {
      font-size: 30px;
    }
    
    h2 {
      font-size: 24px;
    }
    
    p {
      font-size: 16px;
    }
  }

  /* National Parks Section */
.national-parks {
  padding: 40px 20px;
  background: #1e2a1f;
  color :white;
  text-align: center;
  border-radius: 10px;
}

.national-parks h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #333;
}

/* Cards Grid Layout */
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Ensures 3 columns per row */
  gap: 20px;
  margin-top: 20px;
  justify-content: center; /* Center grid in the container */
}

/* Individual Card Styling */
.card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 350px; /* Prevents cards from stretching */
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-description {
  padding: 20px;
}

.card-description p {
  font-size: 1.1em;
  color: #555;
}

.card-footer {
  padding: 15px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.card-footer h3 {
  font-size: 1.5em;
  color: #333;
}

.card-footer a {
  font-size: 1em;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.card-footer a:hover {
  color: #0056b3;
}

/* Hover effect for the card */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Tablets */
@media (max-width: 992px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr); /* Two columns */
  }
}

/* Responsive Design for Mobile Devices */
@media (max-width: 600px) {
  .card-container {
    grid-template-columns: 1fr; /* One column */
  }
}



/* Why Visit Tanzania Section */
.why-visit-tanzania {
  padding: 50px 20px;
  border-radius: 10px;
  background-color: #d4b28c;
  text-align: center;
  width: 89%;
}

.why-visit-tanzania h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1e2a1f;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); 
}
.why-visit-tanzania p {
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 1.6;
  color:#1b2b1d;
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 0 20px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
@media (max-width: 600px) {
  .why-visit-tanzania p {
    font-size: 1rem;
    padding: 0 10px;
  }
}

.features-list {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.feature {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 30%;
  transition: transform 0.3s ease;
}

.feature img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.feature h3 {
  font-size: 1.5rem;
  margin: 20px 0;
}

.feature p {
  font-size: 1rem;
  color: #000000;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Our Features Section */
.our-features {
  font-weight: bold;
  padding: 60px 20px;
  background-color: #bb8a51;
  text-align: center;
}

.our-features h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: black;
}

.features-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.feature-item {
  background: #3a4d2d;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 30%;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-item i {
  font-size: 3rem;
  color: #ff9800;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(255, 204, 0, 0.5);
}

.feature-item h3 {
  font-size: 1.5rem;
  margin: 10px 0;
}

.feature-item p {
  font-size: 1.2rem;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.feature-item:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  background: #ffcc00; /* Golden Yellow */
  color: #1e2a1f; /* Dark Green Text */
}

/* Responsive Design for Tablets */
@media (max-width: 992px) {
  .features-list {
    flex-direction: column;
    align-items: center;
  }
  .feature {
    width: 80%;
  }
  
  .features-container {
    flex-direction: column;
  }
  .feature-item {
    width: 80%;
    margin-bottom: 20px;
  }
}

/* Responsive Design for Mobile Devices */
@media (max-width: 600px) {
  .features-list {
    flex-direction: column;
    align-items: center;
  }
  .feature {
    width: 100%;
  }
  
  .features-container {
    flex-direction: column;
  }
  .feature-item {
    width: 100%;
    margin-bottom: 20px;
  }
}
/* Contact Section */
.contact-section {
  padding: 60px 30px; /* Increased padding for better spacing */
  background: linear-gradient(135deg, #ad7829, #ffcc00); /* Vibrant gradient background */
  text-align: center;
  color: white; /* Text color for contrast */
  border-radius: 15px; /* More rounded corners for a modern look */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow for depth */
  margin: 20px auto; /* Center the section */
  max-width: 90%; /* Ensure it fits within the viewport */
}

.contact-section h2 {
  font-size: 3rem; /* Larger heading for emphasis */
  margin-bottom: 25px;
  color: #fff; /* White text for the heading */
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6); /* Stronger shadow for emphasis */
}

.contact-section p {
  font-size: 1.3rem; /* Slightly larger text for readability */
  margin-bottom: 40px;
  color: #fefefe; /* Slightly off-white for better readability */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for text */
}

/* Contact Container */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95); /* Slightly more opaque white background */
  padding: 40px;
  border-radius: 15px; /* Rounded corners for a modern look */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow for the form container */
}

/* Form Group */
.contact-form .form-group {
  margin-bottom: 25px; /* Increased spacing between fields */
  text-align: left;
}

.contact-form label {
  display: block;
  font-size: 1.1rem; /* Slightly larger labels */
  margin-bottom: 8px;
  color: #333; /* Dark text for labels */
}

/* Input and Textarea Styling */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1); /* Light border for a clean look */
  border-radius: 8px; /* Rounded corners for inputs */
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  color: #333; /* Dark text for inputs */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Inner shadow for depth */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.5); /* Subtle placeholder text */
}

.contact-form textarea {
  resize: none;
  height: 120px; /* Set a default height for the textarea */
}

/* Submit Button */
.contact-form .btn {
  display: inline-block;
  padding: 15px 30px; /* Larger button for better visibility */
  background: #ff9800; /* Vibrant orange button */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px; /* Rounded corners for the button */
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Add shadow to the button */
}

.contact-form .btn:hover {
  background: #e08900; /* Slightly darker orange on hover */
  transform: scale(1.1); /* Slight zoom effect on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Phone Contact Styling */
.phone-contact {
  font-size: 1.8rem; /* Larger font size for emphasis */
  font-weight: bold;
  color: #fff;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; /* Increased spacing between icon and text */
}

.phone-contact i {
  font-size: 2rem; /* Larger phone icon */
  color: #ffcc00; /* Highlight the phone icon */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.phone-contact span {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Footer Styling */
footer {
  background-color: #1d1d1d;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  width: 100%; /* Ensures full width */
}

.footer-container {
  /* Remove max-width and margin to make it stretch full width */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-social {
  margin-bottom: 15px;
}

.footer-social a {
  color: #fff;
  margin: 0 10px;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #f9b233;
}

.footer-text {
  font-size: 14px;
  color: #ccc;
}

        /* Scroll to top button styles */
        .scroll-btn {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.3);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .scroll-btn:hover {
            background-color: #0056b3;
            transform: translateY(-2px);
        }

        .scroll-btn.show {
            opacity: 1;
            visibility: visible;
        }

        /* Arrow icon */
        .scroll-btn::before {
            content: '↑';
            font-size: 20px;
            font-weight: bold;
        }
/* Custom Navbar Background */
.custom-navbar {
  background: rgba(0, 0, 0, 0.7) !important; /* Same as About Us: dark transparent */
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  padding: 10px 30px;
}

/* Large Logo with Hover Effect */
.custom-logo {
  width: 200px;
  height: auto;
  transition: transform 0.4s;
  filter: drop-shadow(2px 2px 8px #000);
}
.custom-logo:hover {
  transform: scale(1.2);
}

/* Brand Text Styling */
.brand-text {
  color: #ffe066;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 2px 2px 8px #000;
}

/* Custom Navbar Links */
.custom-link {
  color: #b2d808 !important;
  font-weight: bold;
  font-size: 1.2rem;
  transition: color 0.2s;
  text-shadow: 1px 1px 4px #000;
}
.custom-link:hover, .custom-link.active {
  color: #ffe066 !important;
}

/* Hamburger (navbar-toggler) icon and border color */
.navbar-toggler {
  border-color: #b2d808!important; 
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(178,216,8,1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Shadow Box Header Container */
.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0;
  background: rgba(0, 0, 0, 0.7); /* Match About Us */
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
}

.custom-navbar {
  background: transparent !important;
  border-radius: 10px;
  padding: 10px 30px;
  box-shadow: none;
  margin-bottom: 0 !important; /* Remove extra bottom margin */
  width: 100%;
}

/* Increase font size of navbar links */
.custom-navbar .nav-link,
.custom-navbar .navbar-brand,
.custom-navbar .brand-text {
  font-size: 1.8rem !important;
  color: #b2d808 !important;
  font-weight: bold;
  font-size: 1.8rem !important;   /* Match About Us */
  transition: color 0.2s;
  text-shadow: 1px 1px 4px #000;
}

@media (max-width: 991.98px) {
  .custom-navbar .nav-link,
  .custom-navbar .navbar-brand,
  .custom-navbar .brand-text {
    font-size: 1rem !important;
  }
  .custom-logo {
    width: 100px;
  }
}

/* Ensure left section text fits and wraps inside the carousel area */
.left .content {
  max-width: 95%;
  margin: 0 auto;
  word-break: break-word;
}

.welcome-note-container {
  max-width: 100%;
  overflow-wrap: break-word;
}

.welcome-note {
  font-size: 1.15rem;
  word-break: break-word;
  line-height: 1.6;
  max-width: 100%;
}

/* On mobile, make sure text wraps and fits */
@media (max-width: 768px) {
  .left {
    padding: 20px;
    height: auto;
  }
  .left .content {
    max-width: 100%;
  }
  .welcome-note {
    font-size: 1rem;
  }
}