@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --hero-gradient-start: #a3d9ff; 
    --hero-gradient-end: #e0f2f7; 
    --hero-title-color: #2e8b57; 
    --dark-text: #333; 
    --light-text: #fff;


    --primary-green: #2e8b57;
    --btn-color: #3b9e9b;
    --btn-gradient: linear-gradient(135deg, #5dc9c9, #3b9e9b); 
    --fact-card-gradient: linear-gradient(135deg, #FF9966, #FF6633); 
    --orange-background: #FF7F50; 
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in-element.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
    padding-top: 0;
}

.container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    box-shadow: none;
    border: none;
    background: transparent;
    overflow: visible;
    pointer-events: auto;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar nav:not(#mobile-menu) {
    display: block;
}

#mobile-menu {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.navbar nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 5px;
}

.navbar nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #75E4A3, #3598F1);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar nav a:hover {
    transform: translateY(-2px);
}

.navbar nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    pointer-events: auto;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.menu-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navbar.bg-hero {
    background: transparent;
    box-shadow: none;
}

.navbar.bg-hero .logo,
.navbar.bg-hero nav a {
    color: var(--light-text);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar.bg-hero .menu-toggle span {
    background: white;
}

.navbar.bg-facts {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: none;
}

.navbar.bg-facts .logo,
.navbar.bg-facts nav a {
    color: var(--dark-text);
    text-shadow: none;
}

.navbar.bg-facts .menu-toggle span {
    background: var(--dark-text);
}

.hero-section {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    height: 100vh;
    min-height: 0;
    width: 100%;
    gap: 0;
}

.hero-content {
    max-width: 520px;
    text-align: left;
    padding: 0 0 0 5vw;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    z-index: 2;
}

.hero-content h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.hero-content h1 {
    font-size: clamp(65px, 90px, 110px); 
    font-weight: 800;   
    background-image: linear-gradient(
        to bottom right, 
        #264C61 8%, 
        #264C61 34%,
        #427E49 62%, 
        #427E49 93%  
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 0.9;
    margin-bottom: 10px;
}
.hero-content p {
    font-size: 18px;
    font-weight: 500;
    color: #666;
    margin-bottom: 40px; 
}

.btn-jelajah {
    display: inline-block;
    background: var(--btn-gradient);
    color: var(--light-text);
    padding: 12px 32px;
    border-radius: 40px; 
    font-size: 16px; 
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    width: auto;
    max-width: 180px;
}

.btn-jelajah:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-img-right {
    position: absolute;
    right: 0vw; 
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 65vw; 
    max-width: 900px; 
    height: auto;
    animation: float 6s ease-in-out infinite; 
}

@keyframes float {
	0% {
		transform: translateY(-50%) translate(0,  0px);
	}
	50% {
		transform: translateY(-50%) translate(0, 15px);
	}
	100% {
		transform: translateY(-50%) translate(0, -0px);
	}
}

.facts-section {
    min-height: 100vh;
    padding: 100px 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.facts-container {
    text-align: center;
    width: 100%;
}

.facts-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.facts-header .subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
}

.fact-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.track {
    display: flex;
    gap: 40px;
    animation: loop 35s linear infinite;
    width: calc((380px * 14) + (40px * 13)); 
}

.card {
    background: #FFE799;
    background: linear-gradient(149deg, rgba(255, 231, 153, 1) 0%, rgba(255, 160, 92, 1) 35%);
    border-radius: 25px;
    padding: 40px;
    width: 380px;
    height: 420px;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.card p {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.4;
}

.card:hover {
    box-shadow: 0 22px 40px rgba(0,0,0,0.25);
}

@keyframes loop {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-380px * 7 - 40px * 6)); }
}

.btn-learn-more {
    display: inline-block;
    background: linear-gradient(90deg, #4EB5CF, #33A8C9, #2B96A4);
    color: white;
    padding: 14px 60px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 50px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}
.btn-learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.5);
}

.btn-learn-more {
    display: inline-block;
    background: linear-gradient(90deg, #4EB5CF 0%, #33A8C9 50%, #2B96A4 100%);
    color: white;
    padding: 14px 60px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    margin-top: 50px;
}

.btn-learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.5);
}

.btn-learn-more:active {
    transform: translateY(0);
}


@media (max-width: 1200px) {
    .container {
        max-width: 98vw;
        padding: 0 10px;
    }
    .hero-content h1 {
        font-size: clamp(48px, 8vw, 80px);
    }
    .hero-img-right {
        width: 60vw;
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    body {
        overflow-x: hidden;
    }

    .container {
        overflow-x: hidden;
    }

    .hero-section, .facts-section {
        min-height: 100vh;
        height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
        overflow-x: hidden;
    }

    .hero-section {
        padding-top: 80px;
    }

    .hero-container {
        flex-direction: column;
        height: auto;
        justify-content: center;
        align-items: center;
        gap: 20px;
        overflow-x: hidden;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 20px;
        text-align: center;
        padding: 0 20px;
        height: auto;
        padding-top: 60px;
    }
    
    .sun1,
    .hero-img-right {
        position: relative;
        margin-top: 50px;
        right: auto;
        top: auto;
        transform: none;
        width: 85vw;
        max-width: 550px;
        animation: float 6s ease-in-out infinite;
    }

    .hero-content h1 {
        font-size: clamp(38px, 10vw, 60px);
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }
    
    .facts-container {
        overflow: hidden;
        max-width: 100%;
    }

    .track {
        gap: 20px;
        width: calc((300px * 14) + (20px * 13));
        animation: loopMobile 25s linear infinite;
    }

    .card {
        width: 300px;
        height: 350px;
        padding: 28px;
    }

    .card img {
        width: 80px;
        height: 80px;
    }
    
    .card p {
        font-size: 1em;
    }

    @keyframes loopMobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-300px * 7 - 20px * 6)); }
    }
}

@media (max-width: 600px) {
    body {
        overflow-x: hidden;
    }

    .container {
        overflow-x: hidden;
        padding: 0 15px;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .navbar {
        padding: 15px 0;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .navbar .logo {
        font-size: 24px;
        order: 1;
    }

    .navbar nav:not(#mobile-menu) {
        order: 4;
        width: 100%;
        display: none !important;
        position: static;
        background: rgba(0, 0, 0, 0.95);
        padding: 0;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    #mobile-menu {
        order: 4;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        opacity: 0;
        display: block;
        pointer-events: none;
        background: rgba(50, 50, 50, 0.85);
        padding: 0;
        margin: 0;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    #mobile-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

    .navbar.bg-hero #mobile-menu,
    .navbar.bg-facts #mobile-menu {
        background: rgba(50, 50, 50, 0.85);
    }

    #mobile-menu ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: transparent;
        height: 100%;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #mobile-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        animation: slideInMenuItem 0.4s ease-out backwards;
        width: 100%;
    }

    #mobile-menu li:nth-child(1) { animation-delay: 0.05s; }
    #mobile-menu li:nth-child(2) { animation-delay: 0.1s; }
    #mobile-menu li:nth-child(3) { animation-delay: 0.15s; }
    #mobile-menu li:nth-child(4) { animation-delay: 0.2s; }

    #mobile-menu a {
        display: block;
        padding: 30px 40px;
        font-size: 32px;
        font-weight: 700;
        color: white;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    #mobile-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #FFD700;
    }

    @keyframes slideInMenuItem {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-section {
        padding-top: 70px;
        min-height: 100vh;
        height: auto;
        overflow-x: hidden;
    }

    .hero-container {
        padding-top: 20px;
        padding-bottom: 40px;
        overflow-x: hidden;
        min-height: 100vh;
    }

    .hero-content {
        padding: 0 20px;
        padding-top: 20px;
        margin-bottom: 10px;
        margin-top: -180px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .hero-content h1 {
        font-size: clamp(32px, 12vw, 48px);
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .btn-jelajah {
        padding: 12px 28px;
        font-size: 15px;
        margin-bottom: 40px;
        display: inline-block;
    }

    .sun1,
    .hero-img-right {
        width: 120%;
        max-width: 120%;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: -10%;
        padding: 0;
    }

    .facts-section {
        padding-top: 60px;
        padding-bottom: 60px;
        overflow-x: hidden;
    }

    .facts-section h2 {
        font-size: 32px;
        margin-bottom: 8px;
    }

    .facts-section .subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .track {
        gap: 15px;
        width: calc((260px * 14) + (15px * 13));
    }

    .card {
        width: 260px;
        height: 300px;
        padding: 25px;
        border-radius: 20px;
    }

    .card img {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .card p {
        font-size: 0.95em;
        line-height: 1.3;
    }

    @keyframes loopMobile {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-260px * 7 - 15px * 6)); }
    }

    .btn-learn-more {
        padding: 12px 40px;
        font-size: 15px;
        margin-top: 40px;
    }
}

body {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}


.page-fade-out {
    opacity: 0!important; 
}

.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-left {
    flex: 1;
    max-width: 500px;
}

.footer-brand {
    color: #5dc9c9;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 12px 24px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.footer-badge p {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav a:hover {
    color: #5dc9c9;
    transform: translateX(-5px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left {
        max-width: 100%;
    }

    .footer-right {
        justify-content: flex-start;
    }

    .footer-nav {
        text-align: left;
    }

    .footer-nav a:hover {
        transform: translateX(5px);
    }

    .footer-brand {
        font-size: 28px;
    }

    .site-footer {
        margin-top: 60px;
        padding: 40px 0 0;
    }
}