/* ===== Global Styles ===== logo-container*/
* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
} explore-button

body {
  background-color: #f4f1e9; /* beige */
  color: #333;
  line-height: 1.6;
}

/* ===== Video Background ===== */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Top Info Bar ===== */
.top-info {
  background: #44170e; /* green #6d2a1d*/
  color: #fff;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.top-info i {
  margin-right: 6px;
  color: #f49e3f; /* gold accent #f49e3f*/
}
.language-switcher button {
  background: transparent;
  border: none;
  color: white;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  cursor: pointer; 
  gap: 6px;
  padding: 4px 8px;
}
.language-switcher img {
  width: 20px;
  margin-right: 5px;
  border-radius: 4px;  
}

/* ===== Header ===== */
.header {
  background: #6d2a1d;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .logo {
  height: 60px;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 15px; /* space between logo and text */
}
.logo-container2 {
  display: flex;
  align-items: center;
  gap: 15px; /* space between logo and text */
  padding-left: 150px;
}

.logo{
     border-radius: 50px;
}
.header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}
.header nav a:hover {
  color: #f49e3f;
}
.branding h1 {
  font-size: 22px;
  color: #fff;
}
.branding p {
  font-size: 14px;
  color: #f4f1e9;
}


/**/
/* ===== Dropdown Styles ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  margin-left: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s ease;
}

.dropbtn:hover {
  color: #f49e3f;
}

.arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

/* Dropdown menu content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #6d2a1d;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  border-radius: 5px;
  z-index: 100;
  top: 28px;
  left: 0;
}

.dropdown-content a {
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background-color: #fff;
  color: #f49e3f;
}

/* Show dropdown on active */
.dropdown.show .dropdown-content {
  display: block;
}

/* Rotate arrow when open */
.dropdown.show .arrow {
  transform: rotate(180deg);
}
/**/


/* ===== Main Content ===== */
.main-content {
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}
.main-content h2 {
  font-size: 32px;
  color: rgb(190, 191, 192);
  margin-bottom: 10px;
}

/* ===== Experience Section ===== */
.dream-experiences {
  padding: 60px 20px;
  background: rgba(244, 241, 233, 0.9);
  text-align: center;
}
.experiences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.experience-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.experience-card:hover {
  transform: translateY(-5px);
}
.experience-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.experience-card a {
  text-decoration: none;  /* remove underline */
  color: inherit;         /* inherit normal text color */
 /* display: block;         /* make whole card clickable 
  padding: 0;*/
}
.experience-card h3 {
  margin: 12px;
  color: #6d2a1d;
}
.experience-card p {
  margin: 0 12px 16px;
  font-size: 14px;
}

/* ===== Divider ===== */
.section-divider {
  border: none;
  border-top: 2px solid #f49e3f;
  margin: 40px auto;
  width: 80%;
}

/* ===== Why Choose Us ===== */
.why-choose-us {
  padding: 50px 20px;
  background: #6d2a1d;
  color: #fff;
}
.why-choose-us h2{
  text-align: center;
}
.explanations h1{
  text-align: center;
}
.explanations h3{
  text-align: center;
}
.explanations p{
  padding-top: 10px;
  font-size: larger;
}
.content-wrapper p{
  padding-top: 10px;
  font-size: larger;
}
.p1 p{
  /*margin-bottom: 2em;*/
  padding-top: 10px;
  font-size: larger;
  text-align: justify;
}
.p2 p{
  /*margin-bottom: 2em;*/
  padding-top: 10px;
  text-align: center;
}
.lined-sentence {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: #f49e3f;
  text-decoration-thickness: 2px; 
  text-underline-offset: 3px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-box {
  flex: 1 1 250px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
}
.feature-box i {
  font-size: 28px;
  color: #f49e3f;
  margin-bottom: 10px;
}

/* ===== Packages Section ===== */
.safari-packages {
  padding: 60px 20px;
  text-align: center;
  background-color:rgb(190, 191, 192);
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.package-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.package-card:hover {
  transform: translateY(-5px);
}
.package-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.package-card h3 {
  color: #6d2a1d;
  margin: 15px;
}
/*.und{
  text-decoration: underline;
  text-underline-offset: 10px;
}*/
.package-card p {
  font-size: 14px;
  margin: 0 15px 10px;
}
.itinerary-button {
  display: inline-block;
  background: #f49e3f;
  color: #fff;
  padding: 8px 15px;
  margin: 15px;
  border-radius: 5px;
  text-decoration: none;
}
.itinerary-button:hover {
  background: #6d2a1d;
}

/* ===== Africa Tours Section ===== */
.africa-tours {
  padding: 60px 20px;
  background: #f4f1e9;
  text-align: center;
}
.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.destination-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  padding: 15px;
}
.destination-card img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}
.discover-button {
  display: inline-block;
  margin-top: 10px;
  background: #6d2a1d;
  color: #fff;
  padding: 6px 14px;
  border-radius: 5px;
  text-decoration: none;
}
.discover-button:hover {
  background: #f49e3f;
}

/* ===== Why Tanzania Section ===== */
.why-tanzania {
  background-color:rgb(190, 191, 192);
  padding: 60px 20px;
}
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.content-wrapper {
  flex: 1 1 55%;
}
.plan-box {
  flex: 1 1 35%;
  background: #6d2a1d;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}
.plan-box .plan-button {
  display: inline-block;
  margin-top: 10px;
  background: #f49e3f;
  color: #fff;
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
}
.plan-box .plan-button:hover {
  background: #fff;
  color: #6d2a1d;
}

/* ===== Safari Options ===== */
.safari-options {
  padding: 50px 20px;
  background: #6d2a1d;
  color: #fff;
}
.options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.option-card {
  flex: 1 1 280px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.option-card img.logo {
  height: 70px;
  margin-bottom: 15px;
}
.transparent-card {
  background-size: cover;
  background-position: center;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay {
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 20px;
  text-align: center;
}
.option-button {
  display: inline-block;
  background: #f49e3f;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  margin-top: 10px;
  text-decoration: none;
}
.option-button:hover {
  background: #fff;
  color: #6d2a1d;
}
.footer-note {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
}

/* Explore More Button */
.explore-more {
  margin-top: 40px;
}

.explore-button {
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid #6d2a1d;
  color: #f49e3f;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
}

.explore-button:hover {
  background-color: #6d2a1d;
  border: 2px solid #6d2a1d;
  color: black;
}
/****/

.packages-link {
  padding: 10px 20px;
  background-color: transparent;
  border: 2px solid #6d2a1d;
  color: #f49e3f;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  margin-left: 50%;
}
.packages-link:hover {
  background-color: #6d2a1d;
  border: 2px solid #6d2a1d;
  color: black;
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 18px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
}
.whatsapp-float:hover {
  background: #128c7e;
}

/* ===== Comment Preview ===== */
.comment-preview {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 10px;
  width: 260px;
  cursor: pointer;
  display: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.dp {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6d2a1d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 10px;
}
.stars span.filled {
  color: #f49e3f;
}

/* ===== Modals ===== */
.comment-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.comment-modal .modal-content {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
}
.comment-modal .close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  cursor: pointer;
}
.comment-form input, 
.comment-form textarea,
.comment-form select {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.comment-form button {
  background: #6d2a1d;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}
.comment-form button:hover {
  background: #f49e3f;
}
.add-comment-btn {
  background: #f49e3f;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.add-comment-btn:hover {
  background: #6d2a1d;
}

/* ===== Comment Modal Navigation Arrows ===== */
.nav-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.nav-arrows span {
  font-size: 22px;         /* ndogo kuliko mwanzo */
  font-weight: bold;
  color: #6d2a1d;          /* safari green */
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-arrows span:hover {
  color: #f49e3f;          /* safari gold on hover */
  transform: scale(1.2);   /* effect ndogo */
}

/* ===== Add Comment Button Center ===== */
.add-comment-btn {
  display: block;
  margin: 20px auto 0;     /* auto → iwe katikati */
  background: #f49e3f;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.add-comment-btn:hover {
  background: #6d2a1d;
}

/* ===== Comment Text Box ===== */
.modal-comment-text {
  max-height: 150px;      /* urefu wa juu (limit) */
  overflow-y: auto;       /* scroll kwa vertical */
  padding-right: 6px;     /* nafasi kwa scroll bar */
  margin: 10px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  background: #f9f9f9;
}


.intro {
  background-color:rgb(190, 191, 192);
  color: white;
  padding: 10px 5px;
  text-align: center;
}
.intro h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

.intro p {
  font-size: 1em;
  margin-bottom: 40px;
}
.hero-section {margin: 0; padding: 0;}
.hero-title {background-color: rgb(190, 191, 192); padding: 10px 20px;}
.hero-title p, .hero-title h2 {margin: 0; line-height: 1.2;}
.hero-title p {font-size: 17px;}
.hero-title h2 {font-size: 1.7em;}
.custom-strike{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.travel-guide-section {
  background-color: #f9f7f4;
  padding: 60px 20px;
  font-family: 'Open Sans', sans-serif;
  color: #333;
}

.guide-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.guide-container h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-family: 'Georgia', serif;
  color: #2c2c2c;
}

.guide-container h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 400;
  color: #fff;
}

.guide-container p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.guide-image {
  display: block;
  width: 100%;
  max-width: 600px;
  /*padding-right: 400px;*/
  height: auto;
  /*margin: 30px auto 0;*/
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* FAQ Box */
.faq-box {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 15px 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Header */
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  background: #6d2a1d;
  font-weight: bold;
}

.faq-header:hover {
  background: #6d2a1d;
}

.toggle-icon {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
}

/* Content (hidden by default) */
.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-content p {
  margin: 15px 0;
  line-height: 1.5;
}

/* Active (when open) */
.faq-box.active .faq-content {
  max-height: 500px; /* enough to show paragraphs */
  padding: 15px 20px;
}

.faq-box.active .toggle-icon {
  content: "-";
}
 /* ===== Safari Packages (Zanzibar Section) ===== */
.safari-packages {
  padding: 80px 20px;
  text-align: center;
  background: #f4f1e9;
}

.safari-packages h2 {
  font-size: 28px;
  font-weight: 700;
  color: #6d2a1d;
  margin-bottom: 20px;
}

.safari-packages p {
  max-width: 700px;
  margin: 0 auto 15px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* Paragraph container p2 */
.p2 {
  margin-top: 20px;
}

/* ===== Buttons Row ===== */
.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.button-row a {
  display: inline-block;
  padding: 10px 18px;
  background: #6d2a1d;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.button-row a:hover {
  background: #f49e3f;
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .safari-packages h2 {
    font-size: 22px;
  }
  .safari-packages p {
    font-size: 14px;
  }
  .button-row {
    flex-direction: column;
    gap: 12px;
  }
}













/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header nav {
    margin-top: 10px;
  }
  .flex-container {
    flex-direction: column;
  }
  .options-grid {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .top-info {
    flex-direction: column;
    text-align: center;
  }
  .header {
    padding: 10px 20px;
  }
  .main-content h2 {
    font-size: 24px;
  }
  .comment-preview {
    width: 200px;
  }
}




/* ============================= */
/* Responsive Design (max-width: 770px) */
/* ============================= */
@media screen and (max-width: 770px) {

  /* Top Info */
  .top-info {
    flex-direction: column;
    text-align: center;
    font-size: 13px;
    gap: 8px;
  }

  /* Header */
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .header nav {
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .logo-container2 {
    padding-left: 0;
  }

  /* Main Content */
  .main-content {
    padding: 50px 15px;
  }
  .main-content h2 {
    font-size: 26px;
  }

  /* Dream Experiences */
  .experiences-grid {
    grid-template-columns: 1fr;
  }

  /* Why Choose Us */
  .feature-list {
    flex-direction: column;
  }

  /* Safari Packages */
  .package-grid {
    grid-template-columns: 1fr;
  }

  /* Africa Tours */
  .destination-grid {
    grid-template-columns: 1fr;
  }

  /* Why Tanzania */
  .flex-container {
    flex-direction: column;
  }
  .plan-box {
    margin-top: 20px;
  }

  /* Safari Options */
  .options-grid {
    flex-direction: column;
    gap: 20px;
  }

  /* Buttons */
  .button-row {
    flex-direction: column;
    gap: 15px;
  }

  /* WhatsApp */
  .whatsapp-float {
    bottom: 15px;
    left: 15px;
    font-size: 16px;
    padding: 8px 12px;
  }

  /* Comment Preview */
  .comment-preview {
    width: 220px;
    bottom: 15px;
    right: 15px;
  }

  /* Modal */
  .comment-modal .modal-content {
    width: 95%;
    padding: 15px;
  }

  /* Travel Guide */
  .guide-container h2 {
    font-size: 1.8rem;
  }
  .guide-container h3 {
    font-size: 1.2rem;
  }
  .guide-container p {
    font-size: 1rem;
  }
  .guide-image {
    max-width: 100%;
  }
}


/* ============================= */
/* Responsive Design (max-width: 480px) */
/* ============================= */
@media screen and (max-width: 480px) {

  /* Top Info */
  .top-info {
    flex-direction: column;
    text-align: center;
    padding: 6px 10px;
    font-size: 12px;
  }

  /* Header */
  .header {
    padding: 10px 15px;
  }
  .header nav a {
    font-size: 0.9em;
  }
  .branding h1 {
    font-size: 18px;
  }
  .branding p {
    font-size: 12px;
  }

  /* Main Content */
  .main-content h2 {
    font-size: 22px;
  }

  /* Dream Experiences */
  .experience-card img {
    height: 140px;
  }
  .experience-card p {
    font-size: 13px;
  }

  /* Why Choose Us */
  .feature-box {
    padding: 15px;
  }

  /* Safari Packages */
  .safari-packages h2 {
    font-size: 22px;
  }
  .safari-packages p {
    font-size: 14px;
  }
  .package-card img {
    height: 150px;
  }

  /* Africa Tours */
  .destination-card img {
    height: 120px;
  }

  /* Why Tanzania */
  .plan-box {
    padding: 15px;
  }

  /* Safari Options */
  .option-card {
    min-height: 180px;
  }
  .overlay {
    padding: 12px;
  }

  /* Buttons */
  .button-row {
    flex-direction: column;
    gap: 12px;
  }

  /* WhatsApp */
  .whatsapp-float {
    font-size: 14px;
    padding: 6px 10px;
  }

  /* Comment Preview */
  .comment-preview {
    width: 200px;
    font-size: 13px;
  }

  /* Modal */
  .comment-modal .modal-content {
    width: 90%;
    padding: 12px;
  }
  .modal-comment-text {
    max-height: 120px;
    font-size: 14px;
  }

  /* Travel Guide */
  .guide-container h2 {
    font-size: 1.4rem;
  }
  .guide-container h3 {
    font-size: 1.1rem;
  }
  .guide-container p {
    font-size: 0.9rem;
  }

  /* FAQ */
  .faq-header {
    font-size: 0.9rem;
    padding: 12px 15px;
  }
  .faq-content {
    font-size: 0.9rem;
  }
}
