/*
Theme Name: Best Safaris Collection
Theme URI: https://metlifeafricasafaris.com
Author: MetLife Africa Safaris
Author URI: https://metlifeafricasafaris.com
Description: Luxury Kenya & Tanzania Safari Booking Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: best-safaris
Domain Path: /languages
Tags: safari, travel, booking, luxury, tourism
*/

/*==========================================
  TABLE OF CONTENTS
==========================================*/
/*
01. VARIABLES & RESET
02. TYPOGRAPHY
03. BUTTONS & UTILITIES
04. TOP BAR
05. HEADER & NAVIGATION
06. HERO SLIDER
07. ABOUT SECTION
08. SAFARI CARDS
09. PARTNERS SECTION
10. FOOTER
11. FLOATING UI ELEMENTS
12. MODALS
13. ANIMATIONS
14. WORDPRESS SPECIFIC
15. DROPDOWN MENU
16. RESPONSIVE
==========================================*/

/*==========================================
  01. VARIABLES & RESET
==========================================*/
:root {
    --primary-color: #C07D12; /* Brand Gold */
    --primary-hover: #a3660d;
    --dark-green: #050a1b; /* Jungle Green */
    --text-color: #333333;
    --light-bg: #fafaee; /* Cream/Beige */
    --white: #ffffff;
    --border-radius: 8px;
    --shadow: 0 8px 25px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Dancing Script', cursive;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: var(--transition); 
}

ul { 
    list-style: none; 
}

img { 
    max-width: 100%; 
    display: block; 
    object-fit: cover; 
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: #d66310;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*==========================================
  02. TYPOGRAPHY
==========================================*/
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .subtitle {
    font-family: var(--font-script);
    color: #f8942a;
    font-size: 2rem;
    display: block;
    margin-bottom: -10px;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

/*==========================================
  03. BUTTONS & UTILITIES
==========================================*/
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: #f8942a;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(192, 125, 18, 0.3);
}

.btn:hover {
    background-color: #d66310;
    transform: translateY(-3px);
}

.section-padding { 
    padding: 80px 0; 
}

.text-center { 
    text-align: center; 
}

/*==========================================
  04. TOP BAR
==========================================*/
.top-bar {
    background-color: #d66310;
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: #f8942a;
}

.top-social {
    display: flex;
    align-items: center;
}

.top-social a {
    margin-left: 15px;
    color: rgba(255,255,255,0.8);
    transition: 0.3s ease;
}

.top-social a:hover {
    color: var(--white);
}

/*==========================================
  05. HEADER & NAVIGATION
==========================================*/
.site-header,
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo */
.site-branding img,
.custom-logo {
    height: 55px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu li {
    list-style: none;
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #d66310;
    padding: 10px 0;
    display: inline-block;
    transition: var(--transition);
}

/* Underline animation */
.nav-menu > li > a::after {
    content: "";
    display: block;
    height: 2px;
    width: 0;
    background: #f8942a;
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #f8942a;
}

/* Remove dropdown arrows from navbar */
.nav-links .menu-item-has-children > a::after,
.nav-links .dropdown-toggle::after,
.nav-links .dropdown-arrow,
.nav-links .submenu-indicator,
.nav-links .dropdown-icon,
.nav-links .fa-chevron-down,
.nav-links .arrow-down {
    display: none !important;
}

/*==========================================
  06. HERO SLIDER
==========================================*/
.hero-slider {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active { 
    opacity: 1; 
}

.slide::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 80%, rgba(0,0,0,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 20px;
    padding-bottom: 92px; /* Adjusted to move content lower */
    
    animation: fadeInUp 1s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.hero-tagline {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: #fa952d;
    margin-bottom: 5px;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 700;
}

.slider-controls {
    position: absolute;
    bottom: 120px; /* Increased to match content position */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 15px;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active { 
    background: #f8942a; 
    border-color: var(--white); 
    transform: scale(1.2); 
}

/* Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s ease;
    font-size: 1.2rem;
}

.slider-nav-btn.prev { 
    left: 20px; 
}

.slider-nav-btn.next { 
    right: 20px; 
}

.slider-nav-btn:hover {
    background: #f8942a;
    border-color: #f8942a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(192, 125, 18, 0.4);
}

/* Scroll Down Arrow */
.scroll-to-discover {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    color: var(--white);
    animation: bounceArrow 2.5s infinite;
}

.arrow-circle {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.scroll-to-discover:hover .arrow-circle {
    background: #f8942a;
    border-color: #f8942a;
    box-shadow: 0 0 20px rgba(192, 125, 18, 0.6);
}

.arrow-text {
    margin-top: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    opacity: 0.8;
}

@keyframes bounceArrow {
    0% { transform: translate(-50%, 0); }
    20% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    50% { transform: translate(-50%, 0); }
    60% { transform: translate(-50%, -5px); }
    80% { transform: translate(-50%, 0); }
    100% { transform: translate(-50%, 0); }
}

/*==========================================
  07. ABOUT SECTION
==========================================*/
.about-section {
    background-color: var(--light-bg);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.about-img-wrapper:hover { 
    transform: rotate(0deg) scale(1.02); 
}

.about-text-box {
    background: var(--white);
    padding: 45px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 6px solid #f8942a;
}

.about-text-box p { 
    margin-bottom: 15px; 
    color: #555; 
    font-size: 1.05rem; 
}

.about-text-box strong { 
    color: #d66310; 
}

/*==========================================
  08. SAFARI CARDS
==========================================*/
.safari-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.safari-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.safari-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.safari-card:hover .card-img img { 
    transform: scale(1.15); 
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--light-bg);
    margin-top: 0;
    position: relative;
}

.card-body::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 4px;
    background: #f8942a;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.safari-card:hover .card-body::before { 
    transform: scaleX(1); 
}

.card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #d66310;
    line-height: 1.3;
}

.card-body p { 
    font-size: 0.95rem; 
    color: #666; 
    margin-bottom: 20px; 
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.card-link {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    color: #d66310;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover { 
    color: #f8942a; 
    gap: 12px; 
}

.book-btn {
    background: #d66310 !important;
    color: #ffff !important;
    border: 2px solid #f8942a;
    padding: 8px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.book-btn:hover {
    background: #000b1f !important;
    color: var(--white);
}

/*==========================================
  09. PARTNERS SECTION
==========================================*/
.partners-section {
    background-color: var(--white);
    padding: 70px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px 20px;
    align-items: center;
    justify-items: center;
}

.partner-logo-container {
    width: 100%;
    max-width: 180px;
    text-align: center;
    transition: var(--transition);
}

.partner-logo-img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s ease;
    border-radius: 4px;
    padding: 10px;
    box-sizing: border-box;
    background: transparent;
}

.partner-logo-container:hover .partner-logo-img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
    background-color: #fdfdfd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/*==========================================
  10. FOOTER
==========================================*/
footer {
    background-color: #d66310;
    color: #ccc;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    border-bottom: 2px solid #f8942a;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.footer-links li { 
    margin-bottom: 12px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    padding-bottom: 5px;
}

.footer-links a { 
    font-size: 0.9rem; 
    color: #bbb; 
}

.footer-links a:hover { 
    color: #f8942a; 
    padding-left: 8px; 
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #bbb;
}

.contact-info i { 
    color: #f8942a; 
    margin-top: 4px; 
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 0.85rem;
}

/*==========================================
  11. FLOATING UI ELEMENTS
==========================================*/
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover { 
    transform: scale(1.1) rotate(10deg); 
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #d66310;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.scroll-top.visible { 
    opacity: 1; 
    pointer-events: all; 
}

/*==========================================
  12. MODALS
==========================================*/
.modal-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-box {
    background: white;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius);
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 5px solid #f8942a;
}

@keyframes slideUp { 
    from {
        transform: translateY(50px) scale(0.9); 
        opacity: 0;
    } 
    to {
        transform: translateY(0) scale(1); 
        opacity: 1;
    } 
}

.close-modal { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    cursor: pointer; 
    font-size: 1.5rem; 
    color: #999; 
    transition: 0.3s; 
}

.close-modal:hover { 
    color: #333; 
}

.modal-body input, 
.modal-body textarea, 
.modal-body select {
    width: 100%; 
    padding: 12px; 
    margin-bottom: 15px;
    border: 1px solid #ddd; 
    border-radius: 6px;
    font-family: var(--font-body);
    background: #fdfdfd;
}

.modal-body input:focus, 
.modal-body textarea:focus { 
    outline: none; 
    border-color: #f8942a; 
}

/* Search Modal */
#searchModal .modal-box {
    max-width: 600px;
    text-align: center;
}

#searchModal .search-icon-large {
    font-size: 3rem;
    color: #f8942a;
    margin-bottom: 20px;
}

/*==========================================
  13. ANIMATIONS
==========================================*/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

.entry-header {
    position: relative;
    z-index: 2;
    background: transparent !important;
}

/*==========================================
  14. WORDPRESS SPECIFIC
==========================================*/
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

.wp-block-image img {
    height: auto;
    max-width: 100%;
}

/* Content styles */
.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2em;
    margin-bottom: 1em;
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 2em;
    padding: 1.5em;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 15px;
}

.comment-metadata {
    font-size: 0.85em;
    color: #666;
}

.comment-content {
    margin-top: 1em;
}

.comment-reply-link {
    display: inline-block;
    padding: 5px 15px;
    background: #f8942a;
    color: var(--white);
    border-radius: 4px;
    font-size: 0.85em;
    margin-top: 1em;
}

.comment-reply-link:hover {
    background: var(--primary-hover);
}

/* Search form */
.search-form {
    display: flex;
    margin: 2em 0;
}

.search-form label {
    flex: 1;
}

.search-form .search-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.search-form .search-submit {
    padding: 12px 25px;
    background: #f8942a;
    color: var(--white);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-form .search-submit:hover {
    background: var(--primary-hover);
}

/*==========================================
  15. DROPDOWN MENU
==========================================*/
.nav-menu .menu-item-has-children {
    position: relative;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
}

.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

/*==========================================
  PAGE HERO
==========================================*/
.page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 60px;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: Add a subtle overlay if you want (commented out by default) */
/*
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.page-hero > * {
    position: relative;
    z-index: 2;
}
*/

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 40px;
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 0 30px;
        min-height: 200px;
    }
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    width: 100%;
    padding: 0;
}

.nav-menu .sub-menu .nav-link {
    padding: 12px 20px;
    display: block;
    color: #d66310;
    font-weight: 500;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.nav-menu .sub-menu .nav-link:hover {
    background-color: rgba(192, 125, 18, 0.1);
    color: #f8942a;
    border-left-color: #f8942a;
    padding-left: 25px;
}

.nav-menu .sub-menu .nav-link::after {
    display: none;
}

/* Dropdown arrow for desktop */
.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-menu li:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mobile dropdown toggle button */
.dropdown-toggle {
    display: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #d66310;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.dropdown-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown-toggle.active i {
    transform: rotate(180deg);
}

/*==========================================
  16. RESPONSIVE
==========================================*/
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .top-social {
        justify-content: center;
    }

    /* Navigation */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 25px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
        gap: 15px;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        color: #d66310;
    }

    /* Dropdown */
    .dropdown-toggle {
        display: flex;
    }
    
    .dropdown-arrow {
        display: none;
    }
    
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.02);
        border-radius: 0;
        padding: 0;
        margin-left: 15px;
        border-left: 2px solid #f8942a;
        display: none;
    }
    
    .nav-menu .sub-menu.active {
        display: block;
    }
    
    .nav-menu .sub-menu .sub-menu {
        margin-left: 15px;
    }

    .nav-menu .search-toggle-btn {
        margin-top: 10px;
        width: 100%;
        border-radius: 4px;
        padding: 10px;
    }

    /* Hero Slider */
    .hero-content {
        padding-bottom: 100px;
    }
    
    .slider-controls {
        bottom: 100px;
    }
    
    .hero-title { 
        font-size: 2.2rem; 
    }
    .hero-tagline { 
        font-size: 1.8rem; 
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .slider-nav-btn.prev { 
        left: 10px; 
    }
    .slider-nav-btn.next { 
        right: 10px; 
    }

    /* About Section */
    .about-grid { 
        grid-template-columns: 1fr; 
    }

    /* Section Headers */
    .section-header h2 { 
        font-size: 1.6rem; 
    }
    .section-header .subtitle { 
        font-size: 1.5rem; 
    }

    /* Partners */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/*==========================================
  10. FOOTER - OPTIMIZED FOR YOUR STRUCTURE
==========================================*/
footer,
.site-footer {
    background-color: var(--dark-green);
    color: #f0f0f0; /* Lighter color for better contrast */
    padding: 70px 0 30px;
    position: relative;
    width: 100%;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 40px;
    margin-bottom: 50px;
}

/* Footer columns styling */
.footer-col {
    width: 100%;
    min-width: 0; /* Prevents overflow issues */
}

.footer-col h4 {
    color: var(--white);
    border-bottom: 2px solid #f8942a;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Footer lists styling */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #f0f0f0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    transition: var(--transition);
}

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

.footer-col li:hover {
    padding-left: 5px;
    border-bottom-color: #f8942a;
}

/* Footer links styling */
.footer-links a {
    color: #f0f0f0;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    transition: var(--transition);
    font-weight: 400;
}

.footer-links a:hover {
    color: #f8942a;
    transform: translateX(5px);
}

/* Contact info specific styling */
.contact-info {
    margin-bottom: 25px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #f0f0f0;
    border-bottom: none;
    padding-bottom: 0;
    line-height: 1.6;
}

.contact-info li:hover {
    padding-left: 0;
    border-bottom: none;
}

.contact-info i { 
    color: #f8942a; 
    margin-top: 4px;
    font-size: 1.1rem;
    min-width: 20px;
}

/* Address styling */
.contact-info li:first-child {
    word-break: break-word;
}

/* Phone and email */
.contact-info li:nth-child(2),
.contact-info li:nth-child(3) {
    font-weight: 500;
}

/* Footer bottom */
.footer-bottom {
    border-top: 2px solid rgba(248, 148, 42, 0.3);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    color: #f0f0f0;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.6;
}



.footer-bottom a {
    color: #f8942a;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .footer-grid {
        gap: 30px;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
    }
    
    .footer-col li {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 40px;
    }
    
    .container-fluid {
        padding: 0 20px;
    }
    
    .footer-col {
        text-align: left;
    }
}

@media (max-width: 768px) {
    footer,
    .site-footer {
        padding: 50px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 40px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4 {
        display: block;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .contact-info li {
        justify-content: center;
        text-align: center;
    }
    
    .footer-col li {
        text-align: center;
    }
    
    .footer-links a:hover {
        transform: translateX(0);
        color: #f8942a;
    }
    
    .footer-bottom {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container-fluid {
        padding: 0 15px;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
    
    .footer-col li {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .contact-info li {
        font-size: 0.85rem;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .contact-info i {
        margin-top: 0;
    }
    
    .footer-bottom {
        font-size: 0.8rem;
    }
}

/* Ensure text is visible on dark background */
.footer-col p,
.footer-col address,
.footer-col .text {
    color: #f0f0f0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Safari package names emphasis */
.footer-col li strong,
.footer-col li b {
    color: #f8942a;
    font-weight: 600;
}

/* First and last column specific adjustments */
.footer-col:first-child ul li,
.footer-col:last-child ul li {
    /* Ensure these are extra visible */
    border-bottom-color: rgba(248, 148, 42, 0.2);
}

.footer-col:first-child ul li:hover,
.footer-col:last-child ul li:hover {
    border-bottom-color: #f8942a;
}

/* Customizer footer menu */
.footer-col .footer-links:last-child {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-col .footer-links:last-child li {
    border-bottom: none;
    margin-bottom: 10px;
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-tagline {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .section-header .subtitle {
        font-size: 1.2rem;
    }
}
