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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-select: none;
    pointer-events: none;
}

input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* --- PRELOADER --- */
.preloader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #12304a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader img {
    width: 120px;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    margin-left: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d4a6e;
    white-space: nowrap;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #1d4a6e;
}

.lang-selector {
    font-weight: bold;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    font-weight: 800;
}

.hero-content p {
    max-width: 500px;
    font-size: 1.1rem;
}

/* --- VALUES SECTION --- */
.values-section {
    background-color: #1d4a6e;
    padding: 100px 8%;
    color: white;
    position: relative;
    overflow: hidden;
}

.values-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.values-header p {
    opacity: 0.8;
    margin-bottom: 60px;
}

.values-grid {
    display: flex;
    gap: 25px;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.value-card {
    background: whitesmoke;
    color: #333;
    padding: 40px 30px;
    border-radius: 15px;
    flex: 1;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.35s ease !important;
    pointer-events: auto !important;
}

.value-card:hover {
    transform: translateY(-12px) !important;
}

.value-letter {
    font-size: 4rem;
    font-weight: 800;
    color: #1d4a6e;
}

.value-card h3 {
    margin: 10px 0;
    color: #1d4a6e;
    font-weight: 700;
}

.value-card p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
}

/* --- VISION & MISSION --- */
.vision-mission {
    padding: 100px 8%;
    background-color: #f4f4f4;
}

.section-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.vm-content {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 60px;
}

.vm-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vm-box h2 {
    color: #1d4a6e;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.vm-divider {
    width: 1px;
    height: 150px;
    background-color: #ddd;
    align-self: stretch;
}

.mission ul {
    list-style: none;
}

.mission li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.mission li::before {
    content: "-";
    position: absolute;
    left: 0;
}

/* --- LOCATIONS --- */
.locations-section {
    background-color: #1d4a6e;
    padding: 100px 8%;
    color: white;
    position: relative;
    overflow: hidden;
}

.locations-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.locations-header p {
    max-width: 500px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.locations-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 50px;
}

.location-card {
    flex: 1;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s ease !important;
    pointer-events: auto !important;
}

.location-card:hover {
    transform: translateY(-12px) !important;
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9) 70%);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-overlay h3 {
    margin: 0;
}

.card-overlay p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.85;
}

.map-btn {
    display: inline-block;
    margin-top: 8px;
    border: 1px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    transition: 0.3s;
    pointer-events: auto !important;
}

.map-btn:hover {
    background: white;
    color: #1d4a6e;
}

/* --- SUSTAINABILITY --- */
.sustainability-info {
    padding: 80px 8%;
    background-color: #1d4a6e;
    color: white;
    position: relative;
    overflow: hidden;
}

.sust-card {
    display: flex;
    gap: 60px;
    color: white;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.sust-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 60px;
}

.sust-left h3 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.sust-left p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.7;
}

.sust-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sust-images {
    display: flex;
    gap: 15px;
}

.sust-images img {
    width: 50%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
}

.sust-right p {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.7;
}

/* --- SDG SECTION --- */
.sdg-section {
    padding: 100px 8%;
    background-color: #f4f4f4;
    position: relative;
    overflow: hidden;
}

.sdg-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #1d4a6e;
}

.sdg-header p {
    font-size: 0.9rem;
    color: #555;
}

.sdg-icons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.sdg-card {
    flex: 1;
    transition: transform 0.35s ease !important;
    pointer-events: auto !important;
}

.sdg-card:hover {
    transform: translateY(-12px) !important;
}

.sdg-card img {
    width: 100%;
    border-radius: 4px;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: #f4f4f4;
}

.contact-container {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.contact-content {
    flex: 1;
    padding: 80px 8%;
}

.contact-content h2 {
    color: #1d4a6e;
    font-size: 2.2rem;
    margin-bottom: 40px;
    line-height: 1.2;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1d4a6e;
    margin-bottom: 8px;
}

.form-group input, .form-group textarea {
    padding: 14px;
    border: none;
    border-radius: 6px;
    background-color: #e8e8e8;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
}

.send-btn {
    background-color: #1d4a6e;
    color: white;
    border: none;
    padding: 14px 45px;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    font-weight: 800;
    transition: 0.3s;
    pointer-events: auto !important;
}

.send-btn:hover {
    background-color: #14334d;
}

.contact-image {
    flex: 1;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- KAWUNG PATTERN --- */
.pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-repeat: repeat;
}

.pattern-tr {
    background-image: url('kawung-white.svg');
    background-size: 100px;
    background-position: top right;
    opacity: 0.2;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at top right, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 60% at top right, black 30%, transparent 70%);
}

.pattern-bl {
    background-image: url('kawung-white.svg');
    background-size: 70px;
    background-position: bottom left;
    opacity: 0.15;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at bottom left, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 60% at bottom left, black 30%, transparent 70%);
}

.pattern-tr-light {
    background-image: url('kawung-dark.svg');
    background-size: 90px;
    background-position: top right;
    opacity: 0.15;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at top right, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 60% at top right, black 30%, transparent 70%);
}

.pattern-bl-light {
    background-image: url('kawung-dark.svg');
    background-size: 65px;
    background-position: bottom left;
    opacity: 0.12;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at bottom left, black 30%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 60% at bottom left, black 30%, transparent 70%);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }

    .values-grid, .vm-content, .locations-grid, .sust-card, .contact-container, .form-row, .sdg-icons {
        flex-direction: column;
    }

    .value-card, .location-card, .sdg-card {
        max-width: 100%;
    }

    .vm-divider {
        width: 60px;
        height: 1px;
        margin: 30px 0;
        align-self: auto;
    }

    .contact-image {
        height: 400px;
    }

    .sust-images {
        flex-direction: column;
    }

    .sust-images img {
        width: 100%;
    }

    .location-card {
        height: 300px;
    }

    .sdg-icons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    }

    .sdg-card {
    flex: 0 0 calc(33.33% - 10px);
    max-width: calc(33.33% - 10px);
    }
}
/* --- FOOTER --- */
.footer {
    background-color: #12304a;
    color: white;
    padding: 60px 8% 0;
}

.footer-container {
    display: flex;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-left p {
    font-size: 0.85rem;
    opacity: 0.7;
    max-width: 300px;
    line-height: 1.7;
}

.footer-left .logo-text {
    color: white;
}

.footer-middle, .footer-right {
    flex: 1;
}

.footer-middle h4, .footer-right h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-middle ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-middle ul a {
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: 0.3s;
}

.footer-middle ul a:hover {
    opacity: 1;
}

.footer-right p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-map-link {
    color: white;
    opacity: 0.7;
    font-size: 0.85rem;
    text-decoration: underline;
    transition: 0.3s;
    pointer-events: auto !important;
}

.footer-map-link:hover {
    opacity: 1;
}

@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero {
        background-attachment: scroll;
    }
}
