:root {
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --color-navy-dark: #051034;
    --color-text-dark: #1a1a1a;
    --color-text-muted: #666666;
    --color-blue-accent: #10439F;
    --color-light-blue-bg: #F4F9FF;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
}

/* =========================================
   SECTION 1: HERO / HEADER
   ========================================= */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.navbar {
    z-index: 10;
    padding-top: 2rem;
}

.navbar-brand img {
    height: 40px; 
}

.btn-visit {
    background-color: #000;
    color: #fff;
    border-radius: 50px; 
    padding: 10px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-visit:hover {
    background-color: #333;
    color: #fff;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-bottom: 5rem;
    color: white;
}

.hero-title {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-weight: 400;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-apply {
    background-color: #fff;
    color: #000;
    border-radius: 50px; 
    padding: 12px 32px;
    font-weight: 700;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn-apply:hover {
    transform: scale(1.05);
    background-color: #f8f9fa;
    color: #000;
}

/* =========================================
   SECTION 2: ABOUT ORELY STUDIO
   ========================================= */

.about-section {
    background-color: var(--color-navy-dark);
    padding: 100px 0;
    color: #ffffff;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.125rem; 
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   SECTION 3: RANK AND ACHIEVEMENTS
   ========================================= */

.achievements-section {
    background-color: #ffffff;
    padding: 100px 0;
    color: var(--color-text-dark);
}

.achievements-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.achievements-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.achievement-item {
    padding: 0 1rem;
}

.achievement-icon {
    height: 140px;
    width: auto;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.achievement-item:hover .achievement-icon {
    transform: scale(1.05);
}

.achievement-label {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.achievement-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 250px;
    margin: 0 auto;
}

/* =========================================
   SECTION 4: CLIENTS MAP & STATS
   ========================================= */

.clients-section {
    /* background-color: #fafafa; */
    padding: 80px 0;
}

.map-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 3rem;
}

.clients-intro-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.stats-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 40px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-blue-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    font-weight: 500;
}

.stat-col {
    position: relative;
}

.stat-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #e5e5e5;
}

/* =========================================
   SECTION 5: COLLABORATION & INTERNSHIP (REVISED)
   ========================================= */

.collaboration-section {
    background-color: var(--color-navy-dark);
    padding: 100px 0;
    color: #ffffff;
    overflow: hidden;
    /* class 'text-center' dihapus dari section ini di HTML agar defaultnya rata kiri */
}

.collab-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.collab-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem; /* Jarak ke kotak putih */
    max-width: 600px;
}

/* Styling untuk Kotak Putih Baru */
.collab-box {
    background-color: #ffffff;
    border-radius: 24px; /* Sudut melengkung */
    padding: 32px;
    color: var(--color-text-dark); /* Teks di dalam kotak berwarna gelap */
    text-align: left; /* Teks di dalam kotak rata kiri */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Sedikit bayangan agar menonjol */
}

.collab-box-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.collab-box-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* Gambar di sebelah kanan */
.collab-image {
    max-width: 100%;
    height: auto;
    /* Menggunakan animasi float yang sama dengan section aplikasi agar konsisten */
    animation: float 6s ease-in-out infinite; 
}

/* Responsive Adjustments untuk Section ini */
@media (max-width: 991px) {
    /* Di tablet/mobile, kembalikan ke rata tengah agar rapi saat menumpuk */
    .collaboration-section {
        text-align: center;
    }
    
    .collab-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    /* Beri jarak antara kotak terakhir dan gambar di mobile */
    .collab-image {
        margin-top: 4rem;
        max-width: 80%; /* Sedikit mengecilkan gambar di mobile */
    }
}

/* =========================================
   SECTION 6: WHY JOIN US
   ========================================= */

.why-join-section {
    background-color: var(--color-navy-dark);
    padding: 80px 0 120px 0;
    color: #ffffff;
}

.why-join-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.benefits-grid {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.benefit-card {
    padding: 40px 20px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: background-color 0.3s ease;
}

.benefit-card:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.benefit-number-circle {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    color: var(--color-navy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.benefit-text {
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
    color: #ffffff;
}


/* =========================================
   SECTION 7: AVAILABLE ROLES
   ========================================= */

.roles-section {
    background-color: var(--color-navy-dark);
    padding: 0px 0 120px 0;
    color: #ffffff;
}

.roles-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.role-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
    color: var(--color-text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.role-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: block;
}

.role-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

.role-card-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.roles-btn-container {
    margin-top: 4rem;
    text-align: center;
}

.btn-pill-light {
    background-color: #dbeaff; 
    color: var(--color-navy-dark);
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-pill-light:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

/* =========================================
   SECTION 8: LIFE AT ORELY
   ========================================= */

.life-section {
    background-color: var(--color-navy-dark);
    padding: 0 0 120px 0;
    color: #ffffff;
}

.life-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.life-image {
    width: 100%;
    height: 400px; 
    border-radius: 24px;
    object-fit: cover; 
    object-position: center;
    transition: transform 0.3s ease;
}

.life-image:hover {
    transform: scale(1.02);
}

/* =========================================
   SECTION 9: APPLICATION FORM
   ========================================= */

.apply-section {
    background-color: var(--color-light-blue-bg);
    padding: 100px 0;
    overflow: hidden;
}

.apply-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

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

.application-form-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-blue-accent);
    box-shadow: 0 0 0 4px rgba(16, 67, 159, 0.1);
}

.input-group-text {
    background-color: #fff;
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #999;
}
.input-group .form-control {
    border-left: none;
    border-radius: 0 8px 8px 0;
}

/* Type Toggle Buttons */
.btn-check:checked + .btn-outline-custom {
    background-color: #E0EDFF; /* Warna biru muda sesuai desain */
    color: #000000; /* Warna teks hitam/gelap */
    border-color: #E0EDFF;
    font-weight: 700; /* Teks tebal saat dipilih */
    box-shadow: none;
}

.btn-outline-custom {
    color: #666666; /* Warna abu saat tidak dipilih */
    border: 1px solid #e0e0e0;
    background-color: #fff;
    width: 100%; /* Memastikan tombol memenuhi kotak 50% */
    border-radius: 8px;
    padding: 12px 10px; /* Padding atas-bawah ditambah sedikit */
    transition: all 0.2s;
    
    /* Memastikan teks rata tengah */
    text-align: center; 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Agar tinggi sama rata */
}

.btn-outline-custom:hover {
    background-color: #f8f9fa;
    color: #000;
}

.btn-attach {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    background-color: #fff;
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-attach:hover {
    background-color: #f1f1f1;
}

.btn-submit-form {
    background-color: var(--color-blue-accent);
    color: #fff;
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.btn-submit-form:hover {
    background-color: #0c3275;
}

/* =========================================
   SECTION 10: FOOTER (REVISED LAYOUT)
   ========================================= */

.footer-section {
    background-color: var(--color-navy-dark);
    color: #ffffff;
    padding: 80px 0 40px 0;
    font-size: 0.95rem;
}

.footer-slogan {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Label "Contact" */
.footer-label {
    font-size: 1rem;
    color: #ffffff; /* Warna putih sesuai gambar */
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-list i {
    font-size: 1.1rem;
    margin-top: 2px; /* Men sejajarkan icon dengan baris pertama teks */
}

/* Logo di kanan */
.footer-logo {
    height: 36px; /* Ukuran disesuaikan */
    /* Di desktop rata kanan, di mobile bisa kita atur nanti */
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 60px 0 30px 0; /* Jarak lebih lega */
}

.copyright-text {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.social-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: #ffffff;
    color: var(--color-navy-dark);
    transform: translateY(-3px);
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-slogan {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    /* Di Mobile, Contact & Logo menumpuk */
    .footer-logo {
        margin-bottom: 2rem; /* Logo pindah ke atas atau bawah tergantung urutan HTML */
        display: block;
    }

    /* Reset text alignment untuk mobile */
    .footer-section .text-md-end {
        text-align: left !important;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
}


/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 991px) {
    .stat-col:not(:last-child)::after { display: none; }
    .stats-card { padding: 20px; }
    .stat-col { margin-bottom: 2rem; }
    .stat-col:last-child { margin-bottom: 0; }
    
    .apply-section .row {
        flex-direction: column-reverse;
    }
    .apply-image {
        margin-top: 2rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title, .about-title, .achievements-title, .collab-title, .why-join-title, .roles-title, .life-title {
        font-size: 2rem;
    }
    
    .hero-section { height: auto; min-height: 100vh; }
    .navbar { padding-top: 1rem; }

    .about-section, .achievements-section, .clients-section, .collaboration-section, .why-join-section, .roles-section, .life-section, .apply-section {
        padding: 60px 0;
    }
    
    .achievement-item { margin-bottom: 3rem; }

    .life-image { height: 250px; }

    /* Footer Responsive */
    .footer-slogan {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .footer-section .text-md-end {
        text-align: left !important;
    }
    
    .social-links {
        justify-content: flex-start;
        margin-top: 1.5rem;
    }
    
    .footer-logo {
        margin-top: 2rem;
    }
}

/* =========================================
   CUSTOM DROPDOWN (Role Selection)
   ========================================= */

/* Tombol Trigger (yang terlihat seperti input) */
.custom-dropdown-toggle {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-dropdown-toggle:hover, .custom-dropdown-toggle.show {
    border-color: var(--color-blue-accent);
}

/* Bagian kiri tombol (Icon + Teks) */
.dropdown-label-content {
    display: flex;
    align-items: center;
    gap: 12px; /* Jarak antara icon tas dan teks */
}

/* Style untuk Menu Dropdown */
.custom-dropdown-menu {
    width: 100%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Shadow halus */
    padding: 8px;
    margin-top: 8px !important; /* Jarak dari tombol */
    max-height: 300px;
    overflow-y: auto; /* Scroll jika item terlalu banyak */
}

/* Item di dalam list */
.dropdown-item {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    font-weight: 500;
    transition: background-color 0.2s;
    margin-bottom: 2px;
}

/* Efek Hover (Biru Muda seperti di gambar) */
.dropdown-item:hover, .dropdown-item:focus {
    background-color: #E0EDFF; /* Warna biru muda sesuai desain role */
    color: var(--color-text-dark);
}

/* Icon chevron (panah) */
.toggle-chevron {
    transition: transform 0.2s ease;
    color: #666;
}

/* Putar panah saat dropdown terbuka */
.custom-dropdown-toggle.show .toggle-chevron {
    transform: rotate(180deg);
}

/* =========================================
   CUSTOM FILE UPLOAD CHIPS
   ========================================= */

/* Container untuk menampung chip file yang dipilih */
#file-list-display {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

/* Tampilan Chip File (Kotak Putih Melengkung) */
.file-chip {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px; /* Bentuk Pill */
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--color-text-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    animation: fadeIn 0.3s ease;
}

/* Animasi muncul halus */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Icon File di sebelah kiri nama */
.file-icon {
    font-size: 1.2rem;
    margin-right: 8px;
    display: flex;
    align-items: center;
}

/* Warna Icon sesuai tipe file */
.icon-pdf { color: #dc3545; }   /* Merah untuk PDF */
.icon-img { color: #0d6efd; }   /* Biru untuk Image (JPG/PNG) */
.icon-default { color: #6c757d; } /* Abu untuk file lain */

/* Tombol Silang (X) untuk menghapus */
.btn-remove-file {
    margin-left: 10px;
    color: #aaa;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.btn-remove-file:hover {
    color: #ff4d4d; /* Merah saat di-hover */
}

/* Styling tombol attach (sedikit diperbaiki agar background abu muda seperti desain) */
.btn-attach {
    background-color: #F3F4F6; /* Abu sangat muda */
    border: none;
    color: var(--color-text-dark);
    font-weight: 600;
}
.btn-attach:hover {
    background-color: #e2e4e8;
}

/* =========================================
   CUSTOM PHONE INPUT STYLE
   ========================================= */

/* Container utama yang terlihat seperti Input Box */
.phone-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 6px 16px; /* Padding agar terlihat lega */
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    height: 48px; /* Menyamakan tinggi dengan input lain (Bootstrap default ~40-50px) */
}

/* Efek saat input diklik/fokus (Border container jadi biru) */
.phone-input-group:focus-within {
    border-color: var(--color-blue-accent);
    box-shadow: 0 0 0 4px rgba(16, 67, 159, 0.1);
}

/* Teks "+62" */
.phone-prefix {
    font-size: 1rem;
    color: var(--color-text-dark);
    font-weight: 500;
    white-space: nowrap;
}

/* Garis Pembatas Vertikal */
.phone-divider {
    width: 1px;
    height: 24px; /* Tinggi garis */
    background-color: #e0e0e0;
    margin: 0 16px; /* Jarak kiri-kanan garis */
}

/* Input Field Asli (Border dihapus agar menyatu) */
.phone-input-field {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: transparent;
    padding: 0;
}

.phone-input-field::placeholder {
    color: #999;
}