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

:root {
    --primary-orange: #D2691E;
    --secondary-orange: #E89B3C;
    --dark-brown: #5C4033;
    --light-brown: #8B6F47;
    --blue: #4A90E2;
    --dark-blue: #2C5F8D;
    --cream: #F5F5DC;
    --white: #FFFFFF;
    --dark-gray: #333333;
    --light-gray: #F8F8F8;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 80px;
    width: auto;
    animation: fadeInLeft 0.8s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-brown);
    font-style: italic;
}

.logo-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-brown);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.dropdown {
    position: relative;
}

.dropdown > .nav-link::before {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > .nav-link::before {
    transform: rotate(180deg);
}

.dropdown > span.nav-link {
    cursor: pointer;
}

.dropdown-nested {
    position: relative;
}

.has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-left: 0.2rem;
    z-index: 1001;
}

.dropdown-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: -0.2rem;
    bottom: 0;
    width: 0.2rem;
    background: transparent;
}

.dropdown-nested:hover .dropdown-submenu {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.2rem;
    animation: fadeInDown 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -0.2rem;
    left: 0;
    right: 0;
    height: 0.2rem;
    background: transparent;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: var(--light-gray);
    color: var(--primary-orange);
    padding-left: 2rem;
}

.join-btn {
    background: var(--primary-orange);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.join-btn::after {
    display: none;
}

.join-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 105, 30, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-brown);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--secondary-orange) 100%);
    padding: 4rem 2rem;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 901px) {
    .hero-content {
        grid-template-columns: 1fr 1fr !important;
    }
}

.hero-text {
    animation: fadeInLeft 1s ease;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    background: var(--white);
    color: var(--primary-orange);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background: var(--cream);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
    position: relative;
    overflow: visible;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    animation: fadeSlide 0.5s ease;
}

.slide.active {
    display: flex;
}

.slide-link {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-link::after {
    content: 'Click To View';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.slide-link:hover {
    transform: scale(1.05);
}

.slide-link:hover::after {
    opacity: 1;
}

.tree-image {
    width: 100%;
    max-width: 600px;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.slide-prev:hover,
.slide-next:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slide-prev {
    left: -60px;
}

.slide-next {
    right: -60px;
}

.slide-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* IDIL Section */
.idil-section {
    background: var(--secondary-orange);
    padding: 5rem 2rem;
    position: relative;
}

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

.idil-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.idil-text {
    animation: fadeInUp 1s ease;
}

.idil-text h2 {
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.idil-text p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.inline-link {
    color: var(--dark-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: var(--blue);
}

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

.floating-logo {
    max-width: 300px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

/* Objective Section */
.objective-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.objective-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.objective-image {
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: fadeInLeft 1s ease;
}

.section-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.section-image:hover {
    transform: scale(1.05);
}

.objective-text {
    animation: fadeInRight 1s ease;
}

.objective-text h2 {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 1.5rem;
}

.objective-text p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Action Plan Section */
.action-plan-section {
    background: var(--light-gray);
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-brown);
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease;
}

.action-plan-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.action-plan-image {
    height: 500px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    animation: fadeInLeft 1s ease;
}

.action-plan-text {
    animation: fadeInRight 1s ease;
}

.action-plan-text p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-orange);
}

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon.facebook {
    background: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.social-icon.twitter {
    background: #1DA1F2;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

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

.footer-logo {
    max-width: 200px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .idil-content,
    .objective-content,
    .action-plan-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 140px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        width: 100%;
        padding: 0.5rem 0;
        background: rgba(0, 0, 0, 0.02);
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 0.75rem 1.5rem;
        display: block;
    }
    
    .dropdown-nested {
        position: static;
    }
    
    .dropdown-submenu {
        position: static;
        display: none;
        box-shadow: none;
        padding: 0.5rem 0 0.5rem 1rem;
        background: rgba(0, 0, 0, 0.03);
    }
    
    .dropdown-nested.active .dropdown-submenu {
        display: block;
    }
    
    .dropdown-submenu a {
        padding: 0.75rem 1.5rem;
        display: block;
    }
    
    .has-submenu {
        display: block;
        padding: 0.75rem 1.5rem;
    }
    
    .hero {
        margin-top: 140px;
        padding: 3rem 1.5rem;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .logo {
        height: 70px;
    }
    
    .logo-title,
    .logo-subtitle {
        font-size: 0.85rem;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .slideshow-container {
        width: 100%;
        height: 400px;
    }
    
    .tree-image {
        width: 100%;
        max-width: 400px;
    }
    
    .slide-prev {
        left: 10px;
    }
    
    .slide-next {
        right: 10px;
    }
}
