/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(78, 205, 196, 0.8);
    }
    100% {
        text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes scrollFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollSlideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scrollScaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

html {
    scroll-behavior: smooth;
}

/* Theme Variables */
:root {
    /* Light Theme (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f9f9f9;
    --text-primary: #333;
    --text-secondary: #666;
    --accent-color: #0056b3;
    --accent-hover: #003d82;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.95);
    
    --shadow-color: rgba(0, 0, 0, 0.1);
    --footer-bg: #003366;
    --footer-text: white;
}

[data-theme="dark"] {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #4ecdc4;
    --accent-hover: #45b7af;
    --card-bg: #2a2a2a;
    --nav-bg: rgba(18, 18, 18, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --footer-bg: #1a1a1a;
    --footer-text: #e0e0e0;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: var(--accent-hover);
}

/* Apply Theme Variables */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 70px;
}

.navbar.scrolled {
    background-color: var(--bg-primary);
    box-shadow: 0 2px 10px var(--shadow-color);
    backdrop-filter: blur(10px);
}

.logo {
    flex: 0 0 auto;
}

.logo h1 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    margin: 0;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar.scrolled .logo h1 {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
    flex: 1 1 0%;
    justify-content: center;
    min-width: 0;
}

.nav-links ul {
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}

.nav-links ul li {
    margin: 0 1.5rem;
    list-style: none;
}

.nav-links ul li a {
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    display: block;
    padding: 0.5rem 0;
    position: relative;
}

.navbar.scrolled .nav-links ul li a {
    color: var(--text-primary);
}

.nav-links ul li a:hover {
    color: var(--accent-color);
}

.nav-links ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-links ul li a:hover:after {
    width: 100%;
}

.support-btn {
    flex: 0 0 auto;
}

.support-btn button {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.navbar.scrolled .support-btn button {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    box-shadow: 0 2px 5px rgba(0, 86, 179, 0.3);
}

.support-btn button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 86, 179, 0.4);
}

/* Hide sidebar support on desktop */
.sidebar-support {
    display: none;
}

.sidebar-support button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-support button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 86, 179, 0.4);
}

/* Hide menu icons on desktop */
.fa-bars, .fa-times {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #0056b3;
}

/* Mobile Menu Styles */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0.5rem 4%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 70px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px var(--shadow-color);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }
    
    .nav-links ul li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links ul li a {
        color: var(--text-primary) !important;
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
        width: 100%;
        display: block;
        transition: all 0.3s ease;
    }
    
    .nav-links ul li a:hover {
        background-color: var(--bg-secondary);
        color: var(--accent-color) !important;
    }
    
    .fa-bars {
        display: block;
        color: #ffffff;
        font-size: 1.5rem;
        z-index: 1000;
        cursor: pointer;
        transition: color 0.3s ease;
    }
    
    .navbar.scrolled .fa-bars {
        color: var(--text-primary);
    }
    
    .fa-times {
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 1.5rem;
        color:#000000;
        cursor: pointer;
        transition: all 0.3s ease;
        animation: rotateIn 0.4s ease-out forwards;
        z-index: 1001;
    }
    
    .fa-times:hover {
        color: var(--accent-color);
        transform: rotate(90deg);
    }
    
    @keyframes rotateIn {
        from {
            transform: rotate(-90deg);
            opacity: 0;
        }
        to {
            transform: rotate(0);
            opacity: 1;
        }
    }
    
    .sidebar-support {
        display: block;
        margin: 2rem auto;
        width: 80%;
        text-align: center;
    }
    
    .sidebar-support button {
        background-color: var(--accent-color);
        color: var(--bg-primary);
        border: none;
        padding: 0.8rem 2rem;
        border-radius: 4px;
        width: 100%;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .sidebar-support button:hover {
        background-color: var(--accent-hover);
        transform: translateY(-2px);
    }
    
    .support-btn {
        display: none;
    }
}
  
/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://i.pinimg.com/736x/ce/4d/57/ce4d57dbcaa4f375eb7197e069e71772.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 0;
    padding-top: 60px; /* Add padding to account for fixed navbar */
}

.hero-content {
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(1.9rem, 4vw, 3.0rem);
    margin-bottom: 1rem;
    animation: slideInLeft 1s ease-out 0.3s backwards; 
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    animation: slideInRight 1s ease-out 0.3s backwards;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.location-tag {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* About Section */
.about-section {
    display: flex;
    padding: 5rem 10%;
    align-items: center;
    background-color: var(--bg-secondary);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.about-section.active {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    flex: 1;
    padding-right: 4.6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    animation: fadeInUp 1s ease-out;
}

.about-section.animate .about-text {
    opacity: 1;
    transform: translateY(0);
}

.about-text p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-right: 4rem;
    animation: fadeInUp 1s ease-out;
}

.about-image {
    flex: 1;
    border-radius: 2px;
    overflow: hidden;
    max-width: 40%;
    margin-right: 2rem;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
    transition-delay: 0.3s;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.about-section.animate .about-image {
    opacity: 1;
    transform: scale(1);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Current Trip Section */
.current-trip {
    padding: 5rem 10%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.current-trip.active {
    opacity: 1;
    transform: translateY(0);
}

.current-trip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://live.staticflickr.com/8105/8535104839_1be88e0f39_b.jpg');
    opacity: 0.20;
    animation: patternMove 20s linear infinite;
}

.trip-content {
    position: relative;
    z-index: 1;

}

.trip-content p {
    margin-top: 10px;
    margin-bottom: 2.8rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #060606;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


.video-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    gap: 10px;
}

.mute-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mute-btn:hover {
    background: white;
    transform: scale(1.1);
}

.mute-btn i {
    color: #0056b3;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Experience Section */
.experience-section {
    margin-top: 0;
    display: flex;
    padding: 2rem 10%;
    background-color: var(--bg-secondary);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.experience-section.active {
    opacity: 1;
    transform: translateY(0);
}

.experience-images {
    flex: 0.7;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(40px, auto);
    gap: 15px;
    height: auto;
    width: 100%;
    margin-top: 1%;
}

.experience-images img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    display: block; 
}

.experience-images img:hover {
    transform: scale(1.02);
}

.experience-images img:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 80%;
}

.experience-images img:nth-child(3) {
   margin-top: -60px;
}

.experience-text {
    margin-top: 0;
    flex: 1.1;
    padding-left: 5rem;
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .experience-text {
        padding-left: 0;
        text-align: center;
        margin-bottom: 2rem;
    }
}

.experience-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 15px;
    animation: slideInLeft 1s ease-out;
    background: linear-gradient(45deg, var(--accent-color), #4ecdc4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.experience-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0056b3, #00a3ff);
    border-radius: 2px;
}

.experience-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    color: var(--text-primary);
}

/* Globe Section */
.globe-section {
    padding: 3rem 5%;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.globe-section .section-title {
    margin-bottom: 2rem;
}

.globe-section .section-title h2 {
    color: var(--text-primary);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.globe-section .section-title p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

#globe-container {
    height: 700px; /* Increased from 600px for even larger display */
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: visible; /* Allow globe to overflow its container */
}

/* Add responsive styles for the globe container */
@media screen and (max-width: 1200px) {
    #globe-container {
        height: 650px; /* Increased from 550px */
    }
}

@media screen and (max-width: 992px) {
    #globe-container {
        height: 600px; /* Increased from 500px */
        transform: scale(0.95);
        transform-origin: center center;
    }
}

@media screen and (max-width: 768px) {
    #globe-container {
        height: 550px; /* Increased from 450px */
        transform: scale(0.9);
        width: 120%; /* Slightly wider container */
        margin-left: -10%; /* Negative margin to center the wider container */
    }
    
    .globe-section {
        padding: 2rem 3%;
    }
}

@media screen and (max-width: 576px) {
    #globe-container {
        height: 500px; /* Increased from 400px */
        transform: scale(0.85);
        width: 140%; /* Wider container */
        margin-left: -20%; /* Negative margin to center the wider container */
    }
}

@media screen and (max-width: 480px) {
    #globe-container {
        height: 450px; /* Increased from 350px */
        transform: scale(0.8);
        width: 180%; /* Much wider container for smallest screens */
        margin-left: -40%; /* Adjusted negative margin */
    }
}

.globe-caption {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Country tooltip */
.country-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    pointer-events: none;
    display: none;
    z-index: 1000;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Flags Container - Updated to match reference */
.flags-container {
    padding: 1.5rem 0;
    background-color: var(--bg-secondary);
    overflow: hidden;
    border-top: 1px solid var(--shadow-color);
    border-bottom: 1px solid var(--shadow-color);
    position: relative;
    width: 100%;
}

.flags-container::before,
.flags-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.flags-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.flags-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.flags-marquee {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
    padding: 0;
    cursor: pointer;
    width: fit-content;
}

.flags-container:hover .flags-marquee {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.flag {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 30px;
}

.flag:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 0, 0, 0.05);
}

.flag img {
    width: clamp(30px, 5vw, 40px);
    height: clamp(30px, 5vw, 40px);
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.8rem;
    border: 1px solid var(--shadow-color);
    box-shadow: 0 2px 5px var(--shadow-color);
    transition: all 0.3s ease;
}

.flag:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.flag span {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.flag:hover span {
    color: var(--accent-color);
}

/* News Section */
.news-section {
    padding: 5rem 10%;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.news-section.active {
    opacity: 1;
    transform: translateY(0);
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://i.postimg.cc/qq8KGn60/2-F8-A1-EE4-4-D9-D-407-A-8-EB2-50-B5-AD367-D03-1.jpg') repeat;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.50;
    animation: patternMove 20s linear infinite;
    cursor: pointer;
}

.news-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    padding: clamp(0.5rem, 1vw, 1rem);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    width: 100%;
}

.news-section .section-title:hover {
    transform: scale(1.02);
}

.news-section .section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0;
    font-weight: 700;
    letter-spacing: clamp(0.2px, 0.2vw, 0.5px);
    font-family: 'Quicksand', sans-serif;
    position: relative;
    text-transform: capitalize;
    background: linear-gradient(45deg, var(--accent-color), #4ecdc4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFloat 3s ease-in-out infinite;
    padding: 0 clamp(0.3rem, 1vw, 1rem);
    line-height: clamp(2rem, 5vw, 3rem);
}

.news-section .section-title h2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #004d00, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-section .section-title:hover h2::before {
    opacity: 1;
}

.news-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #004d00, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-section .section-title:hover h2::after {
    opacity: 1;
}

.travel-icon {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--accent-color);
    animation: globeSpin 8s linear infinite;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.travel-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 100, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
}

.news-section .section-title:hover .travel-icon {
    transform: scale(1.1);
    color: #006400;
}

.news-section .section-title:hover .travel-icon::before {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(0, 100, 0, 0.2) 0%, transparent 70%);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .news-section .section-title {
        gap: clamp(0.5rem, 1.5vw, 0.8rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }
}

@media screen and (max-width: 480px) {
    .news-section .section-title {
        flex-direction: column;
        gap: clamp(0.3rem, 1vw, 0.5rem);
    }
    
    .news-section .section-title h2::before,
    .news-section .section-title h2::after {
        width: clamp(60%, 70%, 80%);
        left: 50%;
        transform: translateX(-50%);
    }
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 2.5rem;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: var(--card-bg);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 20px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s ease-out;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.news-card.active {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay {
    opacity: 1;
}

.location-tag {
    background: rgba(255, 255, 255, 0.95);
    color: #0056b3;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.news-card:hover .location-tag {
    transform: translateY(0);
}

.news-content {
    padding: 1.5rem;
    background: var(--card-bg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-date i {
    color: #0056b3;
}

.news-content h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    line-height: 1.4;
    animation: slideInLeft 0.8s ease-out;
}

.news-card:hover .news-content h3 {
    color: var(--accent-color);
}

.news-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s ease;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.read-more i {
    transition: transform 0.3s ease;
}

.news-card:hover .read-more {
    gap: 0.8rem;
}

.news-card:hover .read-more i {
    transform: translateX(5px);
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Subscriber Count */
.subscriber-count {
    text-align: center;
    padding: 3rem 0;
    background-color: var(--bg-secondary);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.subscriber-count.active {
    opacity: 1;
    transform: translateY(0);
}

.subscriber-count p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.view-trips-btn {
    background-color: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.view-trips-btn:hover {
    background-color: var(--accent-hover);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 10% 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

footer.active {
    opacity: 1;
    transform: translateY(0);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-logo img {
    width: 150px;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    animation: slideInLeft 1s ease-out;
}

.footer-links ul li, .footer-contact p {
    margin-bottom: 0.8rem;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: backwards;
}

.footer-links ul li:nth-child(1) { animation-delay: 0.1s; }
.footer-links ul li:nth-child(2) { animation-delay: 0.2s; }
.footer-links ul li:nth-child(3) { animation-delay: 0.3s; }
.footer-links ul li:nth-child(4) { animation-delay: 0.4s; }

.footer-contact i {
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Tablet Styles */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        padding: 0.6rem 5%;
    }

    .nav-links ul li {
        margin: 0 1rem;
    }

    .nav-links ul li a {
        font-size: 0.95rem;
    }

    .support-btn button {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Tablet flag adjustments */
    .flag {
        margin: 0 1.5rem;
    }
    
    .flag img {
        width: 35px;
        height: 35px;
    }
    
    .flags-marquee {
        animation-duration: 25s;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-section, .experience-section {
        flex-direction: column;
        padding: 4rem 8%;
    }
    
    .about-text, .experience-text {
        padding: 0;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 1.0rem;
        margin-right: 1rem;
        text-align: center;
    }
    
    .about-image {
        max-width: 80%;
        margin: 2rem auto 0;
    }
    
    .experience-images {
        order: 2;
        margin-top: 2rem;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 10px;
        aspect-ratio: 16/9;
    }
    
    .experience-images img {
        width: 100%;
        height: 250px;
    }
    
    .experience-images img:first-child {
        height: 250px;
    }
    
    .experience-images img:nth-child(2) {
        margin-top: -5px;
    }
    
    .experience-images img:nth-child(3) {
        margin-top: -10px;
    }
    
    .experience-text {
        order: 1;
        width: 100%;
    }
    
    .experience-text h2 {
        font-size: 2.2rem;
        margin: 0 auto 1.5rem;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 5%;
        height: 60px;
    }
    
    
    .about-text p {
        font-size: 1.2rem;
        margin-right: 0;
    }
    
    .experience-text p {
        font-size: 1.1rem;
    }
    
    .experience-images {
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-images img {
        height: 200px;
    }
    
    .experience-images img:first-child {
        height: 200px;
    }
    
    /* Show menu icons on mobile */
    .fa-bars {
        display: block;
    }
    
    .fa-times {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 1002
    }
    
    /* Hide support button in navbar on mobile */
    .navbar .support-btn {
        display: none;
    }
    
    /* Show support button in sidebar */
    .sidebar-support {
        display: block;
        margin-top: 2rem;
        text-align: center;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-primary);
        z-index: 1001;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px var(--shadow-color);
        display: block;
        align-items: initial;
        justify-content: flex-start;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        padding: 4rem 2rem 2rem;
        justify-content: flex-start;
    }
    
    .nav-links ul li {
        margin: 1.5rem 0;
        text-align: left;
    }
    
    .nav-links ul li a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }
    
    /* Remove underline animation on mobile */
    .nav-links ul li a:after {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        animation: slideInLeft 0.8s ease-out;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        animation: slideInRight 0.8s ease-out 0.2s backwards;
    }
    
    .footer-content > div {
        flex-basis: 100%;
        margin-bottom: 2rem;
    }
    
    .news-section {
        padding: 3rem 5%;
    }
    
    .news-section .section-title h2 {
        font-size: 2rem;
    }
    
    .news-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .news-image {
        height: 200px;
    }
    
    .current-trip {
        padding: 3rem 5%;
    }
    
    .trip-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .video-container {
        margin: 0 1rem;
    }
    
    .video-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .mute-btn {
        width: 35px;
        height: 35px;
    }
    
    .mute-btn i {
        font-size: 1rem;
    }
    
    .experience-text h2 {
        font-size: 2rem;
        padding-bottom: 12px;
    }
    
    .experience-text h2::after {
        width: 50px;
        height: 2px;
    }
    
    .news-section .section-title h2 {
        font-size: 2.2rem;
    }
    
    .travel-icon {
        font-size: 1.8rem;
    }
    
    .scroll-fade-in,
    .scroll-slide-left,
    .scroll-slide-right,
    .scroll-scale-in {
        transition-duration: 0.6s;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .about-section {
        padding: 3rem 5%;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-right: 0;
        text-align: center;
    }
    
    .about-image {
        margin: 2rem auto;
        max-width: 90%;
        width: 100%;
        max-height: 300px;
    }
    
    .about-image img {
        height: 50%;
        object-fit: cover;
        border-radius: 8px;
    }
    
    .experience-images {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 2rem;
    }
    
    .experience-images img {
        height: 200px;
        width: 100%;
    }
    
    .experience-images img:first-child {
        grid-column: 1;
        grid-row: auto;
        height: 200px;
    }
    
    .experience-images img:nth-child(2),
    .experience-images img:nth-child(3) {
        margin-top: 0;
    }
    
    
    .experience-text h2 {
        font-size: 1.8rem;
        padding-bottom: 10px;
    }
    
    .experience-text h2::after {
        width: 40px;
    }
    
    .experience-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .flag {
        margin: 0 0.8rem;
    }
    
    .flags-marquee {
        animation-duration: 15s; /* Speed up slightly on mobile */
    }
    
    .news-section .section-title h2 {
        font-size: 1.6rem;
    }
    
    .travel-icon {
        font-size: 1.6rem;
    }
}

/* Scroll Animation Base Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Slide Animations */
.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-left.active,
.slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Animations */
.scale-up {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-up.active {
    opacity: 1;
    transform: scale(1);
}

/* Animation Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Scroll Animation Classes */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease-out;
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}

.scroll-scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

/* Active Animation Classes */
.scroll-fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Apply Scroll Animations to Elements */
.about-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.about-section.active {
    opacity: 1;
    transform: translateY(0);
}

.current-trip {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.current-trip.active {
    opacity: 1;
    transform: translateY(0);
}

.experience-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.experience-section.active {
    opacity: 1;
    transform: translateY(0);
}

.news-section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.news-section.active {
    opacity: 1;
    transform: translateY(0);
}

.news-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.news-card.active {
    opacity: 1;
    transform: translateY(0);
}

.news-card:nth-child(2) {
    transition-delay: 0.2s;
}

.news-card:nth-child(3) {
    transition-delay: 0.4s;
}

.subscriber-count {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.subscriber-count.active {
    opacity: 1;
    transform: translateY(0);
}

footer {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

footer.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Scroll Animations */
@media (max-width: 768px) {
    .scroll-fade-in,
    .scroll-slide-left,
    .scroll-slide-right,
    .scroll-scale-in {
        transition-duration: 0.6s;
    }
}

/* Small Screen Adjustments */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .navbar {
        padding: 0.4rem 3%;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .fa-bars, .fa-times {
        font-size: 1.2rem;
    }
    
    .about-text p, .experience-text p {
        font-size: 0.9rem;
    }
    
    .news-card {
        margin: 0 0.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links, .footer-contact {
        margin-top: 2rem;
    }
    
    /* Improved flag display for very small screens */
    .flag {
        margin: 0 0.5rem;
    }
    
    .flag img {
        width: 25px;
        height: 25px;
        margin-right: 0.5rem;
    }
    
    .flag span {
        font-size: 0.8rem;
    }
    
    .flags-container {
        padding: 1rem 0;
    }
    
    .flags-marquee {
        animation-duration: 12s;
    }
}

/* Latest Adventures Title Animation */
@keyframes titleGlow {
    0% {
        text-shadow: 0 0 10px rgba(0, 100, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 100, 0, 0.5);
    }
    100% {
        text-shadow: 0 0 10px rgba(0, 100, 0, 0.3);
    }
}

@keyframes globeSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.news-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.8rem, 2vw, 1.5rem);
    padding: clamp(0.5rem, 1vw, 1rem);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    width: 100%;
}

.news-section .section-title:hover {
    transform: scale(1.02);
}

.news-section .section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0;
    font-weight: 700;
    letter-spacing: clamp(0.2px, 0.2vw, 0.5px);
    font-family: 'Quicksand', sans-serif;
    position: relative;
    text-transform: capitalize;
    background: linear-gradient(45deg, var(--accent-color), #4ecdc4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFloat 3s ease-in-out infinite;
    padding: 0 clamp(0.3rem, 1vw, 1rem);
    line-height: clamp(2rem, 5vw, 3rem);
}

.news-section .section-title h2::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #004d00, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-section .section-title:hover h2::before {
    opacity: 1;
}

.news-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #004d00, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-section .section-title:hover h2::after {
    opacity: 1;
}

.travel-icon {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--accent-color);
    animation: globeSpin 8s linear infinite;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.travel-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 100, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
}

.news-section .section-title:hover .travel-icon {
    transform: scale(1.1);
    color: #006400;
}

.news-section .section-title:hover .travel-icon::before {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(0, 100, 0, 0.2) 0%, transparent 70%);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .news-section .section-title {
        gap: clamp(0.5rem, 1.5vw, 0.8rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }
}

@media screen and (max-width: 480px) {
    .news-section .section-title {
        flex-direction: column;
        gap: clamp(0.3rem, 1vw, 0.5rem);
    }
    
    .news-section .section-title h2::before,
    .news-section .section-title h2::after {
        width: clamp(60%, 70%, 80%);
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .news-section .section-title {
        gap: clamp(0.5rem, 1.5vw, 0.8rem);
        margin-bottom: clamp(1.5rem, 3vw, 2rem);
    }
}

@media screen and (max-width: 480px) {
    .news-section .section-title {
        flex-direction: column;
        gap: clamp(0.3rem, 1vw, 0.5rem);
    }
    
    .news-section .section-title h2::before,
    .news-section .section-title h2::after {
        width: clamp(60%, 70%, 80%);
        left: 50%;
        transform: translateX(-50%);
    }
}