/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
  /* ===============================
     Primary Brand Colors (Logo-based)
     =============================== */
  --primary-color: #0B5D3B;      /* Deep forest green – brand authority */
  --secondary-color: #F2C94C;    /* Safari sun gold – warmth & luxury */
  --accent-color: #1E7F55;       /* Safari green – nature & hills */

  /* ===============================
     Background Colors
     =============================== */
  --light-bg: #0B5D3B;           /* Soft off-white – main pages */
  --section-bg: #EFE9DC;         /* Safari sand – alternating sections */
  --soft-bg: #E3EAD9;            /* Soft olive – cards & highlights */
  --dark-bg: #1F4D3A;            /* Deep green – hero & footer */

  /* ===============================
     Borders & Dividers
     =============================== */
  --border-color: #D6D9D2;       /* Soft neutral border */

  /* ===============================
     Text Colors
     =============================== */
  --dark-text: #1F2D27;          /* Primary text */
  --gray-text: #4A5C55;          /* Secondary text */
  --light-text: #FFFFFF;         /* Text on dark backgrounds */

  /* ===============================
     Motion
     =============================== */
  --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}
 h2 {
    color : #fff7f7;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #2a3d32;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Alert Bar */
.alert-bar {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-icon {
    font-size: 18px;
}

.alert-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
}

.newsletter-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: #b89954;
}

/* Navigation */


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-sub {
    font-size: 12px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}


.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-text);
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    list-style: none;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown a:hover {
    background-color: var(--light-bg);
}


/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Fix for video zoom on mobile */
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* For very small screens, adjust video positioning */
@media (max-width: 480px) {
    .video-container video {
        object-position: 75% center;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.highligt {
    color: #FFD700;
    position: relative;
    display: inline-block;
}

.highligt::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FFD700;
    transform: scaleX(0);
    transform-origin: right;
    animation: underlineGrow 0.8s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons .btn {
    min-width: 160px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}



/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0.8;
    animation: fadeIn 1s ease-out 1s both;
}

.hero-scroll span {
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.8; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes underlineGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .hero-buttons {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        min-width: 140px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .hero-scroll {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-scroll {
        bottom: 15px;
    }
}

/* Fix for very tall screens */
@media (min-height: 800px) {
    .hero-content {
        padding-top: 60px;
    }
}
/* Animated Text Section */
.animated-text-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--light-bg);
}

.animated-text {
    font-size: 24px;
    margin-bottom: 10px;
    display: inline-block;
}

.rotating-words {
    display: inline-block;
    height: 40px;
    overflow: hidden;
    vertical-align: bottom;
    margin: 0 10px;
}

.word {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    animation: rotateWords 12s infinite;
}

@keyframes rotateWords {
    0%, 20% { transform: translateY(0); opacity: 1; }
    25%, 45% { transform: translateY(-40px); opacity: 0; }
    50%, 70% { transform: translateY(-80px); opacity: 0; }
    75%, 95% { transform: translateY(-120px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: 
        linear-gradient(rgba(31, 77, 58, 0), rgba(31, 77, 58, 0)),
        url('images/elephants-eating.jpg') center/cover no-repeat;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.underline-decoration {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 20px auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
    height: 300px;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-card:hover img {
    transform: scale(1.1);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--light-text);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-content h3 {
    font-size: 24px;
}

.card-arrow {
    font-size: 24px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.featured-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Seasons Section */
.seasons-section {
    padding: 80px 0;
    background: 
        linear-gradient(rgba(7, 16, 12, 0.207), rgba(5, 15, 11, 0.9)),
        url('images/dry-season2.jpg') center/cover no-repeat;
}

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.season-large {
    grid-column: span 2;
    grid-row: span 2;
}

.season-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

.season-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.season-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--light-text);
    padding: 20px;
}

.season-months {
    color: var(--secondary-color);
    font-weight: 600;
    margin: 10px 0;
}

.season-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: 
        linear-gradient(rgba(31, 77, 58, 0.747), rgba(31, 77, 58, 0.642)),
        url('images/calving season.jpg') center/cover no-repeat;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 40px 20px;
    border-radius: 8px;
    color: var(--light-text);
    text-align: center;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
}

.stat-card h3 {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
    opacity: 0.7;
}

/* Trips Section */
.trips-section {
    padding: 80px 0;
   background: linear-gradient(135deg, #eef6ee 0%, #ebedf1 100%);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-btn:hover {
    background-color: #2a3d32;
}

.trips-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.trips-carousel::-webkit-scrollbar {
    display: none;
}

.trip-card {
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--light-text);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.trip-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.trip-content {
    padding: 20px;
}

.trip-content h3 {
    margin-bottom: 10px;
}

.trip-content p {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Community Banner */
.community-banner {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.banner-text {
    flex: 1;
    min-width: 300px;
}

.banner-text h2 {
    margin-bottom: 20px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
  background: linear-gradient(135deg, #eef6ee 0%, #ebedf1 100%);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    margin-bottom: 30px;
    color:black;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--light-text);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-trees {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.footer-trees svg {
    width: 100%;
    height: 100%;
}

/* Page Header */
.page-header {
    padding: 100px 0 60px;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Content Sections */
.content-section {
    padding: 70px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: start;
}

.content-image {
    border-radius: 8px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-text h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.content-text p {
    margin-bottom: 20px;
}

/* Safari Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.package-card {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.package-image {
    height: 200px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

.package-content {
    padding: 30px;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.package-header h3 {
    margin-right: 20px;
}

.package-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 24px;
    white-space: nowrap;
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
}

.package-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: bold;
}

/* Car Rental Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.car-card {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.car-image {
    height: 200px;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-content {
    padding: 20px;
}

.car-content h3 {
    margin-bottom: 10px;
}

/* Contact Form */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.blog-card {
    background-color: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: var(--secondary-color);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .alert-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    .seasons-grid {
        grid-template-columns: 1fr;
    }
    
    .season-large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        min-width: 100%;
    }
}

