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

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;
    padding: 10px 30px;
    background-image: url('africandesign.png');
    color: white;
    top: 0;
    font-weight: bolder;
    position: fixed;
    width: 100%;
    z-index: 100;
}

.topnav h4 {
    font-size: 0.9rem;
}

/* 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:400px) {
    .brand img {
        height:80px;
        width:80px;
    }
}
.hamburger {
    display: none;
}

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

/* 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: 20px;
    }

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

    .nav-item {
        margin: 10px 0;
    }

    .nav-link {
        color: white;
    }
}

/* For screens smaller than 400px */
@media (max-width: 400px) {
    .navbar {
        top:48px;
    }
}

@media (max-width: 400px) {
    .topnav {
        text-align: center;
        color: white;
        font-size: 0.5rem;
        background-color: white;
    }
    .navbar {
        top:42px;
    }
    .topportion {
        margin-top: 180px;
    }
}

@media (max-width: 320px) {
    .navbar {
        top: 60px;
    }   
}

@media (max-width:350px) {
    .navbar {
        top:60px;
    }
}

.topportion {
    display: flex;
    margin-top: 150px;
    padding: 30px;
} 

.left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap:20px;
    font-size: 20px;
}

.left img {
    max-width:80%;
    margin: auto;
}

.left p {
    max-width: 100%;
    text-align: center;
}

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

.left h1 {
    text-align: center;  
}

.leftwords {
    display: flex;
    flex-direction: column;
    gap:20px;
}

@media(max-width:768px) {
    .topportion {
        flex-direction: column;
        gap:30px;
    }
    .left img {
        max-width: 100%;
    }
    .left p {
        max-width: 100%;
    }
    .left a {
        margin: auto;
    }
    .leftwords {
        flex-direction: column-reverse;
    }
    .vehiclesintroduction {
        flex-direction: column-reverse;
    }
    .vehiclesintroduction img {
        max-width: 100% !important;
    }

}

.vehicles {
    display:flex;
    flex-direction: column;
    padding: 30px;
    font-size: 20px;
    gap:20px;
}

.vehiclesintroduction {
    display: flex;    
    gap:40px;
    margin:0 auto !important;
    justify-content: space-around;
    align-items: center;
    padding: 30px;
    font-size: 20px;
}

.first {
    max-width: 50rem;
}

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

.fleet {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    padding: 30px;
}

.fleet h3 {
    text-align: center;
}

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

@media(max-width:950px) {
    .ourfleet {
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .vehicles img {
        max-width: 100% !important;
    }
}

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

.vehicles img {
   max-width:300px;
   height: 200px;
}

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

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

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

.camping {
    display: flex;
    flex-direction: column;
    padding: 30px;
    font-size: 20px;
    gap:20px;
    background-color: #ca7733;
    color:white;
}

.camping h3 {
    text-align: center;
}

.camping a {
    display: flex;
    justify-content: center;
    align-items: center;
    color:white;
    background-color: #472101;
    max-width:100px;
    margin: auto;
    padding:10px 10px;
    border-radius: 10px;
}

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

@media(max-width:768px) {
    .itinerary {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .type1 {
        flex-direction: column;
    }
    .type1 img {
        max-width: 100% !important;
    }
}

.checks {
    display: flex;
    gap:20px;
}

.checks i {
    color: #472101;
}

.checks h5 {
    font-size: 20px;
}

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

.types h3 {
    text-align: center;
}

.types p {
    text-align: center;
}

.safaritypes {
    display: flex;
    padding:30px;
}

.type1 {
    display:flex;
    justify-content: center;
    align-items: center;
}

.type1 img {
    max-width:40%;
    padding:20px;
    border-radius: 40% 60% 70%;
}

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

.popular {
    display: flex;
    flex-direction: column;
    padding:30px;
    font-size: 20px;
    gap:20px;
}

.popular h3 {
    text-align: center;
}

.largediv {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap:40px;
    grid-auto-flow: row;
    margin: auto;
}

.largediv h5 {
    text-align: center;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width:200px;
}

.bottomdiv h5 {
    text-align: center;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width:200px;
}

.smallportions {
    display:flex;
    flex-direction: column;
    max-width:400px;
}

.smallportions img {
    max-width: 100%;
    border-radius: 25%;
}

@media (max-width:768px) {
    .largediv {
        display: flex;
        flex-direction: column;     
    }
    .largediv h5 {
        margin: auto;
    }
    .middlediv {
        flex-direction: column;
    }
    .middlediv h5 {
        margin:auto
    }
    .bottomdiv {
        flex-direction: column;
    }
    .bottomdiv h5 {
        margin: auto;
    }
}

.popular h3 {
    text-align: center;
}

.middlediv {
    display: flex;
    margin: auto;
    gap:40px;
    justify-content: center;
    align-items: center;
}

.middlediv .smallportions {
    display: flex;
    gap:20px;
}

.middlediv .smallportions img {
    max-width:300px;
    height:200px;
}

.middlediv h5 {
    font-size: 20px;
    text-align: center;
}

@media(max-width:350px) {
    .middlediv .smallportions img {
        max-width:100% !important;
        height:150px;
    }
    .middlediv .smallportions h5 {
        max-width:200px;
    }
    .bottomdiv .smallportions img {
        max-width:100% !important;
        height:150px;
    }
    .bottomdiv .smallportions h5 {
        max-width:200px;
    }
}

.bottomdiv {
    display: flex;
    margin: auto;
    gap:40px;
    justify-content: center;
    align-items: center;
}

.bottomdiv .smallportions {
    display: flex;
    gap:20px;
}

.bottomdiv .smallportions img {
    max-width:300px;
    height:200px;
}

.bottomdiv h5 {
    font-size: 20px;
    text-align: center;
}

#advisors {
    display: flex;
    flex-direction: column;
    gap:30px;
    padding: 30px;
    font-size:20px;
}

#advisors p {
    text-align: center;
}

#advisors h3 {
    text-align: center;
}

#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;
}
#advisors .links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:30px;
}

/*Inquiry Form*/
.maindiv {
	display: grid;
	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;
    }
    #advisors .links {
        flex-direction: column;
    } 
}

@media(max-width:768px) {
    .maindiv .form .group:nth-child(-n+16) {
        grid-column-start: 1;
        grid-column-end: 3;
    }
}

.maindiv .maindivright {
	background-color: #ca7733;
	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;
    color:white;
}

/*.maindiv .form .group:nth-child(-n+3) {
	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;
    line-height: 2.5rem;
    padding-left: 10px;
    padding-right: 10px;
}


.contactinfo {
    display: flex;
    flex-direction: column;
    padding: 30px;
}



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

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

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

#mail {
    background-color: transparent;
    color:black;
}

.contactinfo p #tels{
    background-color: transparent;
    color:black;
}

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

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

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

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

/*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: 1000;
    font-size: 20px;
}

/* Modal Styling */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); justify-content: center; align-items: center;z-index:1005; }
    .modal-content { background: white; padding: 20px; border-radius: 8px; width: 80%; max-width: 500px; position:relative; padding: 20px; }
    .close { position: absolute; right:10px; top:10px; cursor:pointer; font-size:24px; color :#472101; z-index:1006; }

.modalTitle {
        display: inline-block;
    }

.modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    