/* --- General & Body Styles --- */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

html { scroll-behavior: smooth; }

body.mobile-menu-active { overflow: hidden; }

/* --- Header & Desktop Navigation --- */
.header { background-color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); position: sticky; top: 0; width: 100%; z-index: 999; }
.header-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 80px; }
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 102px; /* bisa kamu atur */
  width: auto;
  display: block;
}

.desktop-nav a { margin: 0 15px; text-decoration: none; color: #0b213b;; font-weight: 700; position: relative; padding-bottom: 5px; transition: color 0.3s; }
.desktop-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 50%; background-color: #11406c; transition: all 0.3s ease-in-out; transform: translateX(-50%); }
.desktop-nav a:hover, .desktop-nav a.active { color: #0b213b; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 100%; }
.hamburger { display: none; }

/* --- Mobile Side Menu & Overlay --- */
#mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.mobile-side-menu { position: fixed; top: 0; left: 0; width: 280px; height: 100%; background-color: #000; z-index: 1001; padding-top: 60px; box-sizing: border-box; transform: translateX(-100%); transition: transform 0.4s ease; }
#side-menu-close-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; color: white; font-size: 28px; cursor: pointer; }
.mobile-side-menu a { display: block; color: white; font-size: 1.2rem; text-decoration: none; padding: 15px 30px; position: relative; }
.mobile-side-menu a::after { content: ''; position: absolute; bottom: 8px; left: 30px; width: 0; height: 2px; background-color: #378ee1; transition: width 0.3s ease; }
.mobile-side-menu a:hover::after, .mobile-side-menu a.active::after { width: 50px; }
body.mobile-menu-active #mobile-menu-overlay { opacity: 1; visibility: visible; }
body.mobile-menu-active .mobile-side-menu { transform: translateX(0); }

/* --- Hero Section & Text Styling --- */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  background-image: url('../img/wallpaper/EpicBanner.png');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); }

.hero-text { position: relative; color: #fff; transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.hero-text > * { opacity: 0; /* Initially hidden for load animation */ }

/* Text Design */
.hero-text h1 {
    font-family: 'Brygada 1918', serif;
    font-size: 4rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-text .quote {
    font-style: italic;
    font-size: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin: 20px 0;
    line-height: 1.5;
}

.job-interests {
    margin-top: 40px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 25px 35px;
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.job-interests h3 { color: #fff; margin: 0 0 15px 0; font-size: 1.3rem; }
.job-interests p { font-size: 1.1rem; margin: 0; letter-spacing: 1px; }

/* --- About Section --- */
/* --- ABOUT SECTION (NEW DESIGN - PROFESSIONAL & CLEAN) --- */
.about-section {
    padding: clamp(80px, 12vw, 150px) 20px;
    background-color: #e9e9e9; /* Light grey background from reference */
}

.about-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
    max-width: 1100px;
    margin: 0 auto;
}

.about-visuals {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.about-visuals .background-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 100%;
    background-color: #171343; /* Vibrant purple from reference */
    border-radius: 16px;
    transform: rotate(-8deg); /* Slight rotation for dynamic feel */
    z-index: 1;
    transition: transform 0.4s ease;
}

.about-visuals:hover .background-shape {
    transform: rotate(-12deg) scale(1.02);
}

.about-visuals .profile-image {
    position: relative;
    width: 85%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    z-index: 2;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-visuals:hover .profile-image {
    transform: scale(1.05);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4);
}

.about-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 20px 0;
    line-height: 1.3;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 35px;
    max-width: 450px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.about-consultation-button {
    display: inline-block;
    text-decoration: none;
    background-color: #11053f;
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.about-consultation-button:hover {
    background-color: #190b49;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(106, 68, 255, 0.5);
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 70% 30% 40%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}


/* --- Animations --- */

/* Fade-in Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }

/* Scroll Animation */
.float-out { opacity: 0; transform: translateY(-50px); }

.footer { text-align: center; padding: 20px; background-color: #fff; }

/* --- Blog Section --- */
.blog-section {
    padding: 60px 20px;
    background-color: #0F172A; /* Dark blue background */
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 50px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: #E2E8F0; /* Light grey card background */
    color: #1E293B; /* Dark text color for card */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.card-content .meta {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 15px;
}

.card-content p {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.learn-more {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: #0F172A;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #378ee1;
    padding-bottom: 3px;
    transition: color 0.3s, border-bottom-color 0.3s;
    align-self: flex-start;
}

.learn-more:hover {
    color: #378ee1;
}  
 
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    background-color: #eef5ff;
    color: #378ee1;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #378ee1;
    color: #fff;
    border-color: #378ee1;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 80px 20px;
    background-color: #f0f2f5;
}

.faq-title {
    color: #333;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: #fff;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #dcdcdc;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #5A67D8;
    color: #fff;
    font-weight: 600;
    transition: background-color 0.3s;
}

.faq-item.active .faq-question {
    background-color: #434190;
}

.faq-question span {
    font-size: 1.1rem;
}

.faq-icon {
    font-size: 1.8rem;
    font-weight: 300;
    transition: transform 0.3s ease-in-out;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    background-color: #f9f9f9;
    color: #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), padding 0.5s ease;
    padding: 0 25px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
}

.faq-answer ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
}

.faq-answer li {
    line-height: 1.7;
    margin-bottom: 8px;
}

/* --- Responsive Breakpoint --- */
@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-image-container {
        margin-top: 50px;
        max-width: 350px;
        height: 350px;
    }
    .about-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; background: none; border: none; cursor: pointer; font-size: 24px; color: #333; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-text .quote { font-size: 1.2rem; }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title, .faq-title {
        font-size: 1.8rem;
    }
    
    .faq-question span {
        font-size: 1rem;
    }

    .about-title {
        font-size: 2rem;
    }
}
/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .about-content {
        text-align: center;
    }
    .about-visuals {
        min-height: 400px;
    }
}