/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost';
    overflow-x: hidden;
}

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

li {
    list-style: none;
}

/* Header */
header {
    background-color: white;
}

/* Top Navigation */
.topnav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:30px;
    padding: 10px 30px;
    background-image: url('africandesign.png');
    color: white;
    top: 0;
    font-weight: bolder;
    position: fixed;
    width: 100%;
    z-index: 100;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    background-color: white;
    position: fixed;
    top: 38px;
    width: 100%;
    z-index: 99;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link:hover {
    color: black;
}

.brand {
    display:flex;
    justify-content: center;
    align-items: center;
    padding:10px;
}

.brand img {
    height:90px;
    width:90px;
    border-radius: 50%;
    display:flex;
    justify-content: center;
    align-items: center;
    
}
@media(max-width:350px) {
    .brand img {
        height:50px;
        width:50px;
    }
}
.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: black;
}

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    background-color: #fff;
    list-style-type: none;
    padding: 0;
    margin: 0;
    /*border: 1px solid #ccc;*/
    top: 100%; /* Position the dropdown just below the HOME link */
    left: 0;
    width: 100px;
    z-index: 1;
}

/*.dropdown li {
   border-bottom: 1px solid #ccc;
}*/

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown-link {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-link:hover {
    background-color: #f1f1f1;
}

/* Initially Hidden */
.hidden {
    display: none;
}


/* Slider */
.slider-wrapper {
    position: relative;
    max-width: 100%;
    height: 85vh;
    overflow-y: hidden;
}

.slider {
    display: none;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.slider.active {
    display: block;
}

#slide-1 {
    background-image: url("rhino.jpg");
}

#slide-2 {
    background-image: url("buff2.jpg");
    
}

#slide-3 {
    background-image: url("flamingoes.jpg");
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: rgba(#ca7733,0.5);
    opacity: 0.75;
    transition: opacity 250ms ease;
}

.slider-nav a:hover {
    opacity: 1;
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        flex-direction: column;
        background-color: #ca7733;
        width: 100%;
        text-align: center;
        position: fixed;
        left: -100%;
        top: 120px;
        transition: 0.3s;
        gap: 10px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 10px 0;
       /* position:relative; /*Push other links further below*/
    }

    .nav-link {
        color: white;
    }

   /*Dropdown Home link Menu*/
   .dropdown {
    display: none; /* Initially hidden */
    flex-direction: column;
    background-color: #ca7733;
    padding: 0;
    list-style-type: none;
    width: 100%;
   }

    .nav-item.active .dropdown {
    display: flex; /* Reveal when home link is active */
   }

    .dropdown li {
    margin: 0;
    padding: 10px 0;
   }

    .dropdown-link {
    color: white;
    text-decoration: none;
   }

    .dropdown-link:hover {
    color: #472101;
   }

   /* Reset the margin when dropdown is hidden */
   .nav-item:not(.active) ~ .nav-item {
    margin-top: 20px;
   }

   /* Prevent dropdown from overlapping other links */
   .nav-item.active .dropdown {
    position: relative;
    z-index: 1; /* Keep dropdown on top */
   }

    /* Adjust spacing for dropdown */
    .nav-item.active ~ .nav-item {
        margin-top: 20px; /* Adjust this to push other links down when the dropdown is visible */
        transition: margin 0.3s; /* Smooth transition */
    }

    /* Adjust spacing for hidden links so they don't overlap */
    .dropdown {
        margin-bottom: 0px; /* Add space below the dropdown to push content */
    }

    .catchphrase h2 {
        margin-top: 50px;
    }

    #toph4 {
        display: none;
    }

}

/* Hero Content */
.hero-content {
    display: flex;
    /*justify-content: space-between;*/
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 28%;
    gap:30px;
    left: 10%;
    right: 5%;
    padding: 20px;
    color: white;
    z-index: 10; /* Increase z-index */
}

/* Booking Form */
.booking-form {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 10px;
    color: #472101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-width: 400px;
}

.booking-form h2 {
    margin-bottom: 15px;
    color: #472101;
    text-align: center;
}

.form-group {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-field label {
    margin-bottom: 5px;
}

.booking-form input,
.booking-form select,
.booking-form button {
    padding: 10px;
    border: 1px solid #ca7733;
    border-radius: 5px;
}

.booking-form button {
    background-color: #ca7733;
    color: white;
    cursor: pointer;
}

.booking-form button:hover {
    background-color: #472101;
}

/* For screens larger than 900px*/
@media(min-width:950px) {
    .booking-form2 {
        display: none;
    }
}

@media(min-width:950px) and (max-width:1200px) {
    .booking-form {
        min-width:300px;
    }

    .booking-form2 input,
    .booking-form2 select,
    .booking-form2 button {
        padding: 10px;
        border: 1px solid #ca7733;
        border-radius: 5px;
        min-width:150px;
    }

    .catchphrase {
        max-width:20rem;
        gap:20px;
    }
}

/* For screens smaller than 900px */
@media (max-width: 950px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 20px;
        max-width: 100%;
        height: auto;
    }

    .booking-form {
        display: none;
    }

    .booking-form2 {
        background-color: #ca7733;
        padding: 30px;
        color: white;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 20px;
        min-width: 390px;
    }

    .form-group {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }
    
    .form-field {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .form-field label {
        margin-bottom: 5px;
    }
    
    .booking-form2 input,
    .booking-form2 select,
    .booking-form2 button {
        padding: 10px;
        border: 1px solid #ca7733;
        border-radius: 5px;
        min-width:200px;
    }
    
    .booking-form2 button {
        background-color: #472101;
       /*background:url('trynew.png');*/
        color: white;
        cursor: pointer;
    }
    
    .booking-form button:hover {
        background-color: #472101;
    }
    
    .catchphrase h1 {
       margin-top: 40px;
        font-size: 2rem;
    }

    .topnav {
        z-index: 99;
    }

    .slider-wrapper {
        height: 60vh;
    }

}

/* For screens smaller than 600px less than 400px */
@media (max-width:600px) {
    .slider-wrapper {
        height: 70vh;
    }
    .booking-form2 input,
    .booking-form2 select,
    .booking-form2 button {
        padding: 10px;
        border: 1px solid #ca7733;
        border-radius: 5px;
        min-width:90px;
    }

    .catchphrase h1{
        margin-top: 30px;
    }

}

/* For screens smaller than 400px */
@media (max-width: 400px) {
    .booking-form2 {
        padding: 15px;
        min-width:250px;
    }

    .catchphrase h1{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px auto;
        text-align: center;
        font-size: 1.3rem;
    }

    .catchphrase h1 {
        font-size: 10px;
        text-align: center;
        font-size: 1.3rem;
        margin-top: 20px;
    }

    .topnav {
        text-align: center;
        color: white;
        font-weight: bolder;
        font-size: 0.5rem;
        background-color: white;
    }

    .slider-wrapper {
        height:80vh;
    }

    .booking-form2 input,
    .booking-form2 select,
    .booking-form2 button {
        padding: 10px;
        border: 1px solid #ca7733;
        border-radius: 5px;
        min-width:55px;
    }
}

@media (max-width: 320px) {
    .navbar {
        top: 55px;
    }
    .catchphrase h1 {
        text-align: center;
        font-size : 0.9rem !important;
        top:20px !important;
    }
    .catchphrase h2 {
        text-align: center;
        font-size: 0.7rem !important;
    }
    .slider-wrapper {
        height:90vh;
    }

    .booking-form2 input,
    .booking-form2 select,
    .booking-form2 button {
        padding: 10px;
        border: 1px solid #ca7733;
        border-radius: 5px;
        max-width:110px;
    }
   
}

.catchphrase-wrapper {
    position: absolute;
    left: 5%;
    top: 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: white;
    max-width: 30rem;
}

.catchphrase {
    font-weight: bold;
    margin-bottom: 20px;
    max-width: 30rem;
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.learn-more-btn {
    background-color: #ca7733;
    padding: 10px 20px;
    color: white;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    max-width: 150px;
}

.learn-more-btn:hover {
    background-color: #472101;
}

.catchphrase h1 {
    font-size: 2.5rem;
    text-align: center;
}

.servicesoffered {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    padding:30px;
}

.introduction {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    max-width: 60rem;
    margin: auto;
}

.introduction p {
    line-height:2rem;
}

.servicesoffered h2 {
    text-align: center;
    margin-top: 20px;
    font-size: 32px;
}

h3 {
    margin: 20px 0;
    text-align: center;
    font-weight: 900;
    font-size: 22px;
}

section#safari{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap:40px;
    text-align: center;
    font-size: 20px;
    line-height: 2rem;
}

#safari p {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#safari img {
    max-width:40%;
    border-radius: 50% 50% 70%;
}

.safaris {
    display: flex;
    gap:50px;
}

.safariimages {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap:30px;
    padding:30px;
}

.cubeimage img {
    max-width: 100%;
    border-radius: 50% 20%;
}

.visitmore {
    display: flex;
    justify-content: center;
    gap:40px;
    align-items: center;
    margin-bottom: 30px;
}

.visitmore a {
    font-size: 20px;
    background-color: #472101;
    color:white;
    padding:10px 10px;
    border-radius: 10px;
}

section#cars{
    margin-top: 20px;
    display: flex;
    gap:40px;
    text-align: center;
    font-size: 20px;
    line-height: 2rem;
}

#cars p {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#cars img {
    max-width:40%;
    border-radius: 40% 70% 70%;
}

@media (max-width:768px) {
    section#cars {
        flex-direction: column-reverse;
    }
    section#safari {
        flex-direction: column;
    }
    #cars img {
        max-width: 100%;
        height: auto;
    }
    #safari img {
        max-width: 100%;
        height:auto;
    }
    .safaris {
        flex-direction: column;
    }
    .camps {
        flex-direction: column;
    }
    .camps img {
        max-width: 100% !important;
        height:auto
    }
    .chaeffeurs {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .chaeffeurs img {
        max-width: 100% !important;
    }
    .safariimages {
        flex-direction: column;
    }
    .visitmore {
        flex-direction: column;
    }
}

.subsection {
    margin-top: 50px;
}

.subsection2 {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.subsection h3 {
    font-size: 24px;
}

.subsection2 h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.camps {
    margin-top: 20px;
    display: flex;
    gap:40px;
    text-align: center;
    font-size: 20px;
    line-height: 2rem;
}

.chaeffeurs {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:40px;
    text-align: center;
    font-size: 20px;
    line-height: 2rem;
}

.camps img {
    max-width:40%;
    border-radius: 20% 50% 70%;
}

.chaeffeurs img {
    max-width:30%;
    border-radius: 50% 50% 70%;
}

.chaeffeurs p {
    max-width: 30rem;
}

.camps p {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.customize {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:10px;
    margin-top: 20px;
}

.customize a {
    font-size: 20px;
    background-color: #472101;
    color:white;
    padding:10px 10px;
    border-radius: 10px;
}

.advantages h2 {
    text-align: center;
    font-size: 20px;
}

.advantages {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background-color: #ca7733;
    color:white;
}

section#advantages{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap:40px;
    text-align: center;
    font-size: 20px;
    line-height: 2rem;
}

.checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    gap:20px;
    font-size: 20px;
    max-width: 60rem;
    margin: auto;
}

@media(max-width:768px) {
    .checks {
        display: flex;
        flex-direction: column;
    }
    .btn {
        flex-direction: column;
    }
    .tripadvisor img {
        max-width: 100%;
    }
}

.check1 {
    display: flex;
    gap:30px;
    margin-top: 20px;
}

.check1 i {
    color:#472101;
    font-size: 40px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:40px;
    font-size: 20px;
    margin-top: 40px;
}

.btn a {
    border:1px solid #472101;
    border-radius: 5px;
    padding:10px 20px;
    color:white;
    background-color: #472101;
}


.traveladvisory {
    display: flex;
    flex-direction: column;
    padding: 30px;
    text-align: center;
    font-size:20px;
    gap:30px;
}

.traveladvisory h3 {
    margin-bottom: 20px;
}

.terms {
    margin-top: 20px;
}

.terms a {
    background-color: #472101;
    color:white;
    padding:10px 10px;
    border-radius: 10px;
}

.regions {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    margin: 20px auto;
    gap:60px;
}

@media(max-width:900px) {
    .regions {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: auto;
    }
    .spot {
        justify-content: center;
        align-items: center;
        margin: auto;
    }
}

@media(max-width:1200px) and (min-width:901px) {
    .regions {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-auto-flow: row;
    }
}

.spot {
    display: flex;
    flex-direction: column;
    max-width:350px;
}

.spot img {
    max-width:350px;
}

@media(max-width:400px) {
    .spot img {
        max-width:300px;
    }
    .spot {
        justify-content: center;
        align-items: center;
        margin: auto;
        gap:20px;
    }
}

@media(max-width:350px) {
    .spot img {
        max-width: 250px;
    }
}

@media(max-width:300px) {
    .spot img {
        max-width: 200px;
    }
}

@media(max-width:200px) {
    .spot img {
        max-width: 150px;
    }
}

.spot a {
    color:#472101
}

.tourguides {
    display: flex;
    flex-direction: column;
    padding: 30px;
    text-align: center;
    font-size:20px;
}

#advisors {
    display: flex;
    flex-direction: column;
    gap:30px;
}

#advisors img {
    max-width: 180px;
    max-height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

#advisors a {
    background-color: #472101;
    padding:10px 10px;
    color:white;
    max-width:150px;
    border-radius:10px;
    margin: auto;
}

.maindiv {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
	gap:30px;
	padding: 30px;
    margin-left: 50px;
}

@media(max-width:950px) {
    .maindiv {
        display:grid;
        grid-template-columns: repeat(1, 1fr);
        margin-left: 0;
    }
    .mailsummary {
        text-align: center;
    }
    .contactinfo {
        display: flex;
        flex-direction:column;
        justify-content: center;
        align-items: center;
    }
    #contactlinks {
        flex-direction: column;
    }
    .maindiv .form textarea{
        background-color: #fff;
        color:black;
        display: grid;
        /*grid-template-columns: repeat(2,1fr);
        grid-column-start: 1;
        grid-column-end: 3;*/
        padding:10px;
        margin:10px 0;
        font-size: 18px;
    }
}

.maindiv .maindivright {
	background-color: #ca7733;
    display: grid !important;
	border-radius: 10px;
	padding: 40px;
	color:#472101;
}

.maindiv .list {
	height:auto;
} 

.maindiv .maindivright .form {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap:10px;
	border-bottom: 2px solid #472101;
	padding-bottom: 20px;
}

.maindiv .form .group:nth-child(-n+5) {
	grid-column-start: 1;
	grid-column-end: 3;
}
 
.maindiv .form input,
.maindiv .form select,
.maindiv .form textarea {
	width:100%;
	padding:10px 10px;
	box-sizing:border-box;
	border-radius: 10px;
	margin-top: 0px;
	border:none;
	background-color: #fff;
	color:black;
}

.maindivright h3 {
	margin-bottom: 20px;
}

.maindiv .row div:nth-child(2) {
	font-weight: bold;
	font-size: large;
	
}

 h2 {
    text-align: center;
}

.buttonsend {
	width:100%;
	height:40px;
	border:none;
	border-radius: 10px;
	margin-top: 20px;
	font-weight:bold;
	background-color: #472101;
    color:white;
}

.buttonsend:hover {
    background-color: #fff;
    color:#472101;
    cursor:pointer;
}

.maindiv .form textarea{
	background-color: #fff;
	color:black;
    display: grid;
    /*grid-template-columns: repeat(2,1fr);
    grid-column-start: 1;
	grid-column-end: 3;*/
    padding:10px;
    margin:10px 0;
    font-size: 18px;
}

.mailsummary {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/*.contact {
    display: flex;
    flex-direction: column;
}*/

.contactinfo h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.contactinfo p {
    font-size: 20px;
    text-align: left; 
    overflow-y: hidden;  
}

@media(max-width:400px) {
    .contact {
        padding: 10px;
    }
    .contactinfo p {
        line-height: 2rem;
    }
    #mails {
        font-size: 18px;
    }
}

@media(max-width:300px) {
    .contact {
        padding: 10px;
    }
    #mails {
        font-size: 14px;
    }
}

.contactinfo {
    display: flex;
    flex-direction: column;
}

#contactlinks {
    display: flex;
    gap:30px;
    cursor: pointer;
}

.contactinfo a:hover {
    background-color: #ca7733;
}

.contactinfo a {
    background-color: #472101;
    color:white;
    padding:10px 10px;
    border-radius: 10px;
    width: 120px;
    font-size: 20px;
}

#mails,#phoneno {
    background-color: transparent;
    color:black;
}

/*WhatsApp*/
.whatsapp-icon {
    position: fixed;
    right:20px;
    bottom: 160px;
    z-index:1000;
}

.whatsapp-icon img {
    width:60px;
    height:60px;
}

@media(max-width:600px) {
    .whatsapp-icon img {
        width:50px;
        height: 50px;
    }
}

/*FAQs section*/
.faq-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.faq-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}
.faq-item {
    margin-bottom: 20px;
}
.faq-item h3 {
    cursor: pointer;
    background-color: #ca7733;
    color: white;
    padding: 15px;
    border-radius: 5px;
    margin: 0;
}
.faq-item p {
    display: none;
    padding: 15px;
    background-color: #f4f4f4;
    border-left: 5px solid #ca7733;
}
.faq-item.active p {
    display: block;
}

footer {
    background-color: #ca7733;
    color:white;
    text-align: center;
    padding:20px;
}

footer p {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 40px;
}

  /*Cookie Banner*/
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ca7733;
    color: #fff;
    padding: 15px;
    text-align: center;
    display: none;
    z-index: 2000;
    font-size: 20px;
  
}

.consent {
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:20px;
}