/* style.css */

/* Base Styles & Typography */
body {
    font-family: 'Google Sans', 'Rubik',sans-serif;
    color: #333;
    padding-top: 76px; /* Offset for fixed navbar */
    background-color: #F8F8F7;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Google Sans', 'Rubik',sans-serif;
}

.text-primary {
    color: #1a499e !important; /* DBL Blue */
}

.btn-primary {
    background-color: #1a499e;
    border-color: #1a499e;
}
.btn-primary:hover {
    background-color: #123370;
    border-color: #123370;
}

/* .container{
    max-width: 1200px;
    width: 100%;
} */

/* Navbar */
.navbar-logo {
    height: 71px;
    width: 150px;
    display: block;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: #000000 !important;
     font-size: 16px;
    margin: 0 10px;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-item.active .nav-link {
    color: #1a499e !important;
}

.nav-item {
     font-family: 'Google Sans';
     font-weight: 500;
}

.btn-register {
    font-size: 16px;
    background-color: #23469E;
    color: #FFFFFF;
    font-family: 'Google Sans';
    font-weight: 500;
    border-radius: 8px;
}

.btn-register:hover {
    background-color: #FFFFFF;
    color: #23469E;
    border-color: #23469E;
}

.btn-arrow {
    width: 16px; /* sesuaikan */
    height: auto;
}

/* Hero Section */

 .horizontal-line{
    display:flex;
    width:100%;
    height:10px;
}

.horizontal-line span{
    flex:1;
}

.horizontal-line span:nth-child(odd){
    background:#75B6E4;
}

.horizontal-line span:nth-child(even){
    background:#23469E;
}

.hero-section{
    position: relative;
    overflow: hidden;
    /* min-height: 100vh; */
    height: 729px;
    background: url('/img/super-teacher/header-super-teacher3.jpg') top center/cover no-repeat;

    
}

.overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1;
}

.hero-content{
    position: relative;
    z-index: 2;

    height:729px;
    /* min-height: 850px; */

    display: flex;
    align-items: flex-end;      /* ke bawah */
    justify-content: center;

    padding-bottom: 102px;       /* jarak dari bawah */
}

.hero-text{
    width: 100%;
}

.hero-top-title 
{
    font-family: 'Google Sans';
    font-weight: 400;
    font-size: 40px;
    letter-spacing: -4%;
    line-height: 100%;
}

.hero-bottom-title 
{
    font-family: 'Rubik';
    font-weight: 700;
    font-size: 96px;
    letter-spacing: -4%;
    line-height: 90px;
}


/* About Section */

.line-super-teacher
{
    height: 75px; 
    object-fit: cover;
}

.image-frame {
    background-color: #fff;
    padding: 10px 10px 40px 10px; /* Polaroid effect */
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: rotate(-2deg);
    display: inline-block;
    max-width: 90%;
}
.image-frame img {
    width: 100%;
    height: auto;
}

.title-about{
    font-family: 'Google Sans';
    font-weight: 400;
    font-size: 30px;
    /* line-height: 40px; */
    width: 550px;
    max-width: 100%;
    line-height: 1.4;
    color: #222;

    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent calc(1.4em - 1px),
        #BCBCBC calc(1.4em - 1px),
        #BCBCBC 1.4em
    );
}

.paragraph-about{
    font-family: 'Google Sans';
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
}

/* .custom-underline {
      display: inline;
    box-shadow: inset 0 -1px 0 #BCBCBC;
} */

/* .custom-underline::after {
    content: "";
    position: absolute;
    left: 0px;
    width: calc(100% + 40px);
    height: 1px;
    background: #BCBCBC;
    bottom: 1px;
} */




/* Section Titles */




.moving-bg {
    width: 100%;
    height: 100px;      
    background: url('/img/super-teacher/line-super-teacher2.png') ;
    /* background-image: url('img/super-teacher/line-super-teacher.png'); */
    background-repeat: repeat-x; /* Berulang horizontal */
    background-size: auto 100%;

    animation: moveBg 10s linear infinite;
}

@keyframes moveBg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -500px 0;
    }
}

.about-section
{
    background: url('/img/super-teacher/background-faq.png') center center/cover no-repeat;
    
}


/* Regulasi */

.regulasi-section {
    margin-top: 0px;
}

.regulasi-area-background
{
    background: url('/img/super-teacher/background-regulasi1.png') center center/cover no-repeat;
    padding: 100px 0;
}
 
/* Benefits Section */



.benefit-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.benefit-card img {
    display: block;
    width: 100%;
}

.benefit-overlay {
    position: absolute;
    inset: 0;
    padding: 21px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Atas */
    align-items: flex-start;     /* Kiri */

    color: #FFFFFF;

    background: transparent
}

.benefit-title {
    margin: 0 0 5px;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Google Sans';
    letter-spacing: -0.04em;
    line-height: 32px;
}

.benefit-text {
    font-family: 'Google Sans';
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.benefit-section
{
    margin-top: 80px;
}

.benefit-section .col-lg-4{
    display:flex;
}

.benefit-section .col-lg-4 .benefit-card{
    width:100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.benefit-container {
    width: 100%;
    margin: 0 auto;
}

/* Journey Section */

.journey-section{
    /* display: flex;
    justify-content: center;
    padding-top: 75px;
    padding-bottom: 75px;
    margin-top: 50px; */
    min-height: 95vh; /* atau tinggi sesuai kebutuhan */
     padding: 80px 0;
    display: flex;
    align-items: center;      /* Tengah vertikal */
    justify-content: center;  /* Tengah horizontal */
    background: url('/img/super-teacher/background-journey.png') center center/cover no-repeat;
    margin-top: 100px;
}



.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px; /* Berfungsi sebagai garis pemisah antar card */
    background-color: #eaecf0; /* Warna garis batas */
    border: 1px solid #eaecf0;
    width: 100%;
    /* max-width: 1050px; */
    font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 20px 20px 20px 20px;
  }

  /* Pengaturan dasar untuk setiap kotak (Card) */
  .card-journey {
    background-color: #ffffff;
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 250px;
    box-sizing: border-box;
    
  }

  .title-base-card-journey
  {
    font-family: 'Rubik';
    font-weight: 600;
    font-size: 48px;
    letter-spacing: -4%;
    line-height: 100%;
  }

  .title-card-journey
  {
    font-family: 'Google Sans';
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.04em;
    line-height: 100%;
    color: #222222;
  }

  .text-card-journey
  {
    font-family: 'Google Sans';
    font-weight: 400;
    font-size: 14px;
    letter-spacing: -0.02em;
    line-height: 20px;
    min-height: 50px;
    color: #969696;
    margin-bottom: 0px;
    
  }
  
  

  .span-card-journey
  {
    font-family: 'Google Sans';
    font-weight: 400;
    font-size: 12px;
    letter-spacing: -0.04em;
    color: #969696;
    line-height: 1.2;
    margin-bottom: 0px;
    margin-top: 5px;
    
  }

  .date-card-journey
  {
    font-family: 'Google Sans';
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.04em;
    line-height: 100%;
    color: #222222;
  }

  /* Styling khusus Kotak Judul Utama */
  .title-card {
    justify-content: flex-start;
    border-radius: 20px 0px 0px 0px;
  }
  

  .top-left-card-journey
  {
    border-radius: 20px 0px 0px 0px;
  }

  .top-right-card-journey
  {
    border-radius: 0px 20px 0px 0px;
  }

  .bottom-left-card-journey
  {
        border-radius: 0px 0px 20px 0px;
  }

  .bottom-right-card-journey
  {
        border-radius: 0px 0px 0px 20px;
  }
  .title-card h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.5px;
  }

  /* Dekorasi Titik-titik (Dots Pattern) di kotak pertama */
  .dot-pattern {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
  }

  .dot-row {
    display: flex;
    gap: 7px;
  }

  .dot-pattern span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
  }

  .dot-blue { background-color: #5ea4e0; }
  .dot-light { background-color: #c4dffa; }

  /* Header untuk nomor urut dan indikator titik di pojok kanan */
  .card-header-journey {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .step-number {
    background-color: #23469E; /* Warna biru gelap */
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    font-family: 'Rubik';
  }

  /* Indikator titik kecil di sudut kanan atas tiap step */
  .step-dots {
    display: flex;
    gap: 5px;
    margin-top: 5px;
  }

  .step-dots span {
    width: 12px;
    height: 12px;
    background-color: #75B6E4;
    border-radius: 50%;
  }

  .step-dots-light{
    background-color: rgba(117, 182, 228, 0.4)!important;

  } 

  /* Konten teks (Judul dan Deskripsi Step) */
  .card-content-journey {
    margin-top: auto; /* Mendorong teks ke bagian bawah card */
    padding-top: 30px;
  }

/* Mobile adjustments for timeline */
@media (max-width: 991px) {
    .timeline-line {
        display: none !important;
    }
    .journey-step {
        margin-bottom: 30px;
    }
}

/* FAQ Section */
/* ==========================================
   FAQ SECTION (DESKTOP)
========================================== */

.faq-section {
    position: relative;
    background-color: #F8F8F7;
    padding: 5px 0px;
    overflow: visible;

}

.container-faq {
    /* background: url('/img/super-teacher/back-ask.png') center/cover no-repeat; */
    background: url('/img/super-teacher/background-faq.png') center no-repeat;;
    width: 100%;
}

/* ==========================================
   PAPER
========================================== */

.faq-paper {
    position: relative;
    max-width: 1200px;
    min-height: 450px;
    margin: 105px auto;
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    overflow: visible;
    z-index: 2;
}

.faq-content {
    padding: 0;
}

.faq-content .col-lg-4 {
    margin-bottom: 35px !important;
}

/* ==========================================
   TAPE DECORATION
========================================== */

.faq-paper::before,
.faq-paper::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 42px;
    background: #d9d9d9;
    transform: rotate(-30deg);
    z-index: 10;
}

.faq-paper::before {
    top: -18px;
    left: -30px;
}

.faq-paper::after {
    right: -30px;
    bottom: -18px;
}

/* ==========================================
   BACKGROUND DECORATION
========================================== */

.faq-decoration-bottom-left {
    position: absolute;
    left: 0;
    bottom: 70px;
    width: 450px;
    height: 470px;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================
   HEADING
========================================== */

.section-title {
    color: #222222;
    font-size: 45px;
    font-family: 'Rubik';
    letter-spacing: -4%;
    font-weight: 600;
    line-height: 100%;
    text-align: center;
}

.horizontal-line {
    height: 16px;
    margin-top: 5px;
}

/* ==========================================
   ACCORDION
========================================== */

.accordion .card {
    margin-bottom: 12px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion .card-header {
    padding: 0;
}

.accordion .btn-link {
    display: block;
    width: 100%;
    padding: 16px 18px;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
}

.accordion .btn-link:hover,
.accordion .btn-link:focus {
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.accordion .card-body {
    padding: 0 18px 18px;
    font-size: 14px;
}

/* ==========================================
   FAQ TEXT
========================================== */

.faq-title {
    font-family: "Google Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.02em;
    color: #1A1A1A;
}

.faq-answer {
    font-family: "Google Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: #7B7E7D;
}

/* ==========================================
   ICON
========================================== */

.faq-icon::before {
    content: "+";
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    transition: .3s;
    font-style: normal;
}

.fa-chevron-down {
    color: #1A499E;
    transition: transform .3s ease;
}


/* Saat accordion terbuka */
.btn-link[aria-expanded="true"] .faq-icon::before{
    content: "-";
}



/* Footer */
.footer-logo{
    max-width: 280px;   /* sesuaikan */
    width: 100%;
    height: auto;
    display: block;
}

.footer-top{
    background: url('/img/super-teacher/footer-super-teacher.png') center center/cover no-repeat;
}

footer h6 {
    letter-spacing: 1px;
}

    @media (max-width: 1168px) {
        .btn-register {
            font-size: 14px;
            background-color: #23469E;
            margin: 1px 0px;
        }
    }
    /* ===========================
    TABLET
    =========================== */
    @media (max-width: 991.98px) {

        /* Navbar */
        .navbar .container-fluid{
            padding: 0 20px !important;
        }
        .navbar{
            min-height: 80px;
        }

        .navbar .container-fluid{
            position: relative;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-left: 15px !important;
            padding-right: 15px !important;
        }

        /* Logo tetap di tengah */
        .navbar-brand{
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            margin: 0;
            z-index: 1031;
        }

        .navbar-logo{
            height: 71  px;
            width: auto;
        }

        /* Hamburger di kanan */
        .navbar-toggler{
            margin-left: auto;
            border: 0;
            outline: none;
            box-shadow: none !important;
            z-index: 1032;
        }

        /* Menu turun di bawah navbar */
        .navbar-collapse{
            margin-top: 20px;
            width: 100%;
            text-align: center;
        }

        .navbar-nav{
            width: 100%;
            align-items: center;
        }

        .navbar-nav .nav-item{
            width: 100%;
        }

        .navbar-nav .nav-link{
            padding: 12px 0;
            text-align: center;
        }

        .navbar-collapse{
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;

            background: #fff;
            z-index: 1030;

            padding: 15px 0;

            box-shadow: 0 8px 16px rgba(0,0,0,.08);
        }

        .section-title {
            color: #222222;
            font-size: 30px;
            font-family: 'Rubik';
            letter-spacing: -4%;
            font-weight: 600;
            line-height: 100%;
        }

        /* Hero */
        /* .hero-section{
            min-height: 70vh;
            margin: 0px;
            background: url('/img/super-teacher/header-super-teacher-mobile6.jpg') top center/contain no-repeat;

        } */
        
        .hero-section{
            height: 500px;
            margin: 0px;
            background: url('/img/super-teacher/header-super-teacher-mobile6.jpg') top center/cover no-repeat;

        }

        .hero-content{
            padding-top:90px !important;
            padding-bottom:70px;
            height:500px;
        }

        .hero-title{
            font-size: 42px;
            line-height: 1.2;
        }

        .hero-top-title 
        {
            font-family: 'Google Sans';
            font-weight: 400;
            font-size: 25px;
            letter-spacing: -2%;
            line-height: 100%;
        }

        .hero-bottom-title 
        {
            font-family: 'Rubik';
            font-weight: 700;
            font-size: 48px;
            line-height: 48px;
            letter-spacing: -4%;
        }

        /* About */
        .about-section .row{
            text-align:center;
        }

        .about-section img{
            margin-bottom:30px;
        }

        .line-super-teacher
        {
            height: 70px; 
        }

        .about-content{
            padding:0 15px;
            text-align:left;
        }

        .title-about{
            font-size:24px;
            text-align:left;

            /* line-height:100%; */
            letter-spacing: -2%;
        }

        .paragraph-about{
            text-align:left;
            margin-bottom:24px;
            line-height:20px;
            letter-spacing: -2%;
        }

        .custom-underline{
        }

        .about-image
        {
            background: url('/img/super-teacher/dot-pattern-spt.png') center center/cover no-repeat;
            /* background-size: 100% 300px; */
            
        }

        .about-section
        {
            background: transparent;
            
        }

        /* Benefit */
        .benefit-overlay {
        
            padding: 14px;

        }

        /* Benefit */
        /* .benefit-container{
            width:92%;
            margin:auto;
        } */

        .benefit-card{
            margin-bottom:20px;
            overflow:hidden;
            border-radius:20px;
            background:transparent;
            transition:.3s ease;
        }

    
        .benefit-card:hover{
            transform:translateY(-6px);
        }

        .benefit-title {
            font-size: 14px;
            line-height: 100%;
        }

        .benefit-text {
            font-size: 10px;
        }

        /* Journey */
        .text-card-journey
        {       
            font-size: 13px;  
        }
	
	.date-card-journey
        {       
            font-size: 11px;  
        }

        /* Footer */
   
        footer .col-md-6{
            text-align:center !important;
        }

        footer .footer-logo{
            margin:0 auto 30px;
        }

        
        .footer-info{
            text-align: left;
            margin-top: 20px;
        }

        .footer-info h6,
        .footer-info p{
            text-align: left;
        }
    }

    

    /* ===========================
    MOBILE
    =========================== */
    @media (max-width: 767.98px){

        body {
            padding-top: 61px; /* Offset for fixed navbar */
        }

        section{
            padding-top:30px !important;
            padding-bottom:60px !important;
        }

        /* Hero */
        /* .hero-section{
            min-height:55vh;
            margin:0px;
        } */

        .hero-section{
            height: 300px;
            margin: 0px;

        }

        .hero-content{
            padding-top:90px !important;
            padding-bottom:15px;
            height:300px;
        }

        .hero-top-title 
        {
            font-family: 'Google Sans';
            font-weight: 400;
            font-size: 20px;
            letter-spacing: -2%;
            line-height: 100%;
        }

        .hero-bottom-title 
        {
            font-family: 'Rubik';
            font-weight: 700;
            font-size: 48px;
            line-height: 48px;
            letter-spacing: -4%;
        }

        .hero-title{
            font-size:32px;
            line-height:1.25;
        }

        /* About */

        
        .line-super-teacher
        {
            height: 40px; 
        }

        .about-section .lead{
            font-size:22px;
            text-align:left;
        }

        .about-section p{
            text-align:left;
        }

        .about-content{
            padding:0;
        }

        .title-about{
            font-size:30px;
            /* line-height:100%; */
            letter-spacing: -2%;
        }

        .paragraph-about{
            font-size:16px;
            line-height:1.8;
        }

        .custom-underline{
            overflow: hidden;
        }

        .moving-bg {
            height: 70px;      
        }

        /* Regulasi */
        .regulasi-section {
            margin-top: 0px;
        }

        .regulasi-area-background
        {
            background: url('/img/super-teacher/background-regulasi.png') center center/cover no-repeat;
            height: 100%;
            width: 100%;
            padding: 0;
        }

        /* Benefit */
        .benefit-container{
            /* width:95%;
            margin:auto; */
        }

        .benefit-card{
            margin-bottom:18px;
        }

        .benefit-card img{
            border-radius:18px;
        }

        .benefit-title {
            font-size: 18px;
            line-height: 32px;
        }

        .benefit-text {
            font-size: 14px;
        }

        .benefit-section
        {
            margin-top: 30px;
        }

        /* Journey */

        .journey-section
        {
            margin-top: 20px;
        }
        .journey-section img{
            border-radius:15px;
        }

        .grid-container {
        grid-template-columns: 1fr;
        }

        .top-left-card-journey
        {
            border-radius: 20px 0px 0px 0px;
        }

        .top-right-card-journey
        {
            border-radius: 0px 0px 0px 0px;
        }

         .top-card-journey2
        {
                border-radius: 20px 20px 0px 0px;
        }

        .bottom-left-card-journey
        {
                border-radius: 0px 0px 20px 0px;
        }


        .bottom-right-card-journey
        {
                border-radius: 0px 0px 0px 0px;
        }

        .bottom-card-journey2
        {
                border-radius: 0px 0px 20px 20px;
        }

        /* FAQ */
        .faq-section .section-title{
            text-align:center !important;
            font-size:32px;
            margin-bottom:30px;
        }

        .card-header button{
            font-size:15px;
        }

        .faq-decoration-bottom-left{
            width: 220px;
            height: 230px;

            left: -40px;
            bottom: 20px;
        }

        .faq-paper::before {
        left: -10px;
        }

        .faq-paper::after {
            right: -10px;
        }

        /* Footer */
        footer{
            text-align:center;
        }

        .footer-logo{
            width:330px;
            margin:0 auto 25px;
            display:block;
        }

        footer h6{
            margin-top:10px;
        }

        footer p{
            margin-bottom:8px;
        }

        .horizontal-line{
            height:16px;
            margin-top: 5px;
        }
        .footer-info{
            text-align: left;
            padding-left: 70px;
        }
       
    }

    @media (min-width: 1200px){
        .container
        {
            max-width: 1200px;
        }
    }


    @media (max-width: 450px){
        section{
                padding-top:0px !important;
                padding-bottom:30px !important;
            }
    }

     @media (max-width: 350px){
        .hero-top-title 
        {
          
            font-size: 14px;
           
        }

        .hero-title{
            font-size:23px;
            line-height:1;
        }
    }




