/* Layout Components */

/* Section - Full width container */
.section {
    width: 100%;
    padding: 0px 0px;
}

/* Block - Centered content container */
.block {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
}

.block-narrow{
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
    text-align: left;
}

.block-shadow {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    height: fit-content;
}

.space{
    height: 40px;
}


/* Footer - Centered footer container */
.footer {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 4rem 2rem 2rem;
    color: #ffffff;
    font-size: 12px;
}

.footer a{
    color: #ffffff;
}

/* Logo */
.logo img {
    height: 50px;
    width: auto;
}

/* Column Layouts */
.col-2 {
    display: flex;
    gap: 3rem;
}

.col-2 > * {
    flex: 1;
}

.col-3 {
    display: flex;
    gap: 2rem;
}

.col-3 > * {
    flex: 1;
}

.col-4 {
    display: flex;
    gap: 2rem;
}

.col-4 > * {
    flex: 1;
}

/* Typography Classes */

.headline {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.subheadline {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.subtitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


.smalltitle{
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.text-normal{
    font-weight: normal !important;
}

.text-xs{
    font-size: 14px !important;
}

.text-xxs{
    font-size: 12px !important;
}

.text-xxl{
    font-size: 24px !important;
}

.text-xl{
    font-size: 18px !important;
}

/* Alignment */
.center{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.left{
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.right{
    text-align: right;
    margin-left: auto;
    margin-right: 0;
}

.top{
    display: flex;
    align-items: flex-start;
}

.bottom{
    display: flex;
    align-items: flex-end;
}

.middle{
    display: flex;
    align-items: center;
}

/* Padding */
.p-10{
    padding: 10px;
}

.p-20{
    padding: 20px;
}

.p-40{
    padding: 40px;
}

/* List */
.tick-list {
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
  }
  
  .tick-list li {
    position: relative;
    margin: 8px 0;
    padding-left: 32px; /* space for tick image */
    line-height: 20px;
  }
  
  .tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: url('images/icon-tick.png') no-repeat center;
    background-size: contain; /* ensure image scales nicely */
  }


  .cross-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .cross-list li {
    position: relative;
    margin: 8px 0;
    padding-left: 32px; /* space for cross image */
    line-height: 24px;
  }
  
  .cross-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: url('images/icon-cross.png') no-repeat center;
    background-size: contain; /* scale icon */
  }
  
/* Numbered list with round badge (no wrapper needed) */
.number-list{
    --badge: 48px;      /* circle diameter (adjust to your design) */
    --gap: 20px;        /* space between badge and text */
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: item;
  }
  
  .number-list li{
    position: relative;
    margin: 22px 0;
    padding-left: calc(var(--badge) + var(--gap));
    line-height: 1.6;
    min-height: var(--badge);              /* row never shorter than the badge */
  }
  
  /* numbered badge */
  .number-list li::before{
    counter-increment: item;
    content: counter(item, decimal-leading-zero);
    position: absolute;
    left: 0;
    width: var(--badge);
    height: var(--badge);
    border-radius: 50%;
    background: #00aeff;                     /* Niagawan blue */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: calc(var(--badge) * 0.33);
    letter-spacing: .5px;
  }
  
  /* make <b> behave like normal inline text */
  .number-list li b{
    display: inline;
    font-weight: 800;
  }
  
  /* color variants */
  .number-list.orange li::before{ background:#F1A62B; }
  .number-list.green  li::before{ background:#44C962; }
  
  /* optional: compact on small screens */
  @media (max-width: 520px){
    .number-list{ --badge: 60px; --gap: 16px; }
  }
  
  
  /* small screens: tighten the left padding if needed */
  @media (max-width: 480px){
    .number-list li{ padding-left: 76px; }
  }
  
  
  
  /* Mobile tweaks */
  @media (max-width: 768px) {
    .number-list li { margin: 14px 0; gap: 12px; }
    .number-list li::before {
      width: 44px;
      height: 44px;
      font-size: 16px;
    }
  }
  

/* Text Colors */
.text-blue {
    color: #00aeff;
}

.text-green {
    color: #44c962;
}

.text-red {
    color: #ff0000;
}

.text-orange {
    color: #f1a62b;
}


/* Background Colors */
.bg-white {
    background-color: #ffffff;
}

.bg-grey {
    background-color: #efefef;
}

.bg-blue {
    background-color: #00aeff;
    color: #ffffff;
}

.bg-blue .title,
.bg-blue .subtitle,
.bg-blue .headline,
.bg-blue .subheadline,
.bg-blue h1,
.bg-blue h2,
.bg-blue h3,
.bg-blue h4,
.bg-blue h5,
.bg-blue h6 {
    color: #ffffff;
}

.bg-orange {
    background-color: #f1a62b;
    color: #ffffff;
}

.bg-orange .title,
.bg-orange .subtitle,
.bg-orange .headline,
.bg-orange .subheadline,
.bg-orange h1,
.bg-orange h2,
.bg-orange h3,
.bg-orange h4,
.bg-orange h5,
.bg-orange h6 {
    color: #ffffff;
}

.bg-gradient-blue-white {
    background: linear-gradient(to bottom, #f2f8ff, #ffffff);
}

/* Button */
.btn-green {
    background-color: #44c962;
    color: #ffffff;
}

.btn-orange {
    background-color: #f1a62b;
    color: #ffffff;
}

.btn-blue {
    background-color: #00aeff;
    color: #ffffff;
}

.btn-round {
    border-radius: 20px;
}

.btn-shadow {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}

.btn-whiteborder{
    border: 2px solid #ffffff;
}

/* Menu */
.menu {
    display: flex;
}

.menu nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.menu nav ul li a {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.menu nav ul li a:hover {
    background-color: #00aeff;
    color: #ffffff;
}

/* Desktop Header - Show desktop, hide mobile */
.header-desktop {
    display: flex;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 20px;
    justify-content: space-between;
    align-items: center;
}

.header-mobile {
    display: none;
}

/* Image */
.img-home {
    width: 50%;
    height: auto;
}

.img-main {
    width: 70%;
    height: auto;
}

.img-block {
    width: 80%;
    height: auto;
}

/* Higlight */
/* Brush-style oval highlight (auto-stretches with text) */
/* Brush-style oval highlight (thin, #F1A62B) */
.marker-orange{
    position: relative;
    display: inline-block;
    line-height: 1;
    padding: .12em .65em;
    z-index: 0;
  }
  
  .marker-orange::before{
    content: "";
    position: absolute;
    left: -.65em;
    right: -.65em;
    top: 50%;
    height: 1.30em;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M5,20 C5,9 22,4 50,4 C78,4 95,9 95,20 C95,31 78,36 50,36 C22,36 5,31 5,20 Z' fill='none' stroke='%23F1A62B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8,9 Q 20,6 33,8' fill='none' stroke='%23F1A62B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: -1;
  }
  
  
.marker-red{
    position: relative;
    display: inline-block;
    z-index: 0;
}

  /* curved brush underline */
.marker-red::after{
    content:"";
    position:absolute;
    left:-.35em;
    right:-.35em;
    bottom:-.08em;
    height:.55em;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C 35 9, 65 9, 97 12' fill='none' stroke='%23D63A1E' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M92 12 Q 96 13, 97 14' fill='none' stroke='%23D63A1E' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:center;
    background-size:100% 100%;
    pointer-events:none;
    z-index:-1;
}
    

/* Login */
.login {
    display: flex;
    align-items: center;
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 20px;
    color: #ffffff;
    font-size: 12px;
    border-top: 1px solid #efefef;
    margin-top: 20px
}

/* Optin Form */
.optin {
    display: flex;
    gap: 15px;
    margin: 0 auto;
    justify-content: center;
}

.optin input[type="text"] {
    padding: 12px 15px;
    width: 250px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}


.optin button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border:2px solid #ffffff;
}

.faq{
    --primary:#00AEFF;
    --q-bg:#f3f6fb;
    --a-bg:#fff;
    --radius:12px;
  }
  .faq .question{
    position:relative;
    cursor:pointer;
    padding:16px 44px 16px 20px;
    margin-bottom: 5px;
    background:var(--q-bg);
    border-radius:var(--radius);
    font-weight:500;
    line-height:1.5;
    transition:background .2s ease;
  }
  .faq .question:hover{ background:#eaf1fb; }
  .faq .question::after{
    content:"▸";
    position:absolute;
    right:16px;
    top:50%;
    transform:translateY(-50%) rotate(0deg);
    font-size:20px;
    color:var(--primary);
    transition:transform .2s ease;
  }
  .faq .question.open::after{ transform:translateY(-50%) rotate(90deg); }
  .faq .answer{
    overflow:hidden;
    max-height:0;
    opacity:0;
    margin:0 8px;
    background:var(--a-bg);
    border-radius:0 0 var(--radius) var(--radius);
    transition:max-height .3s ease, opacity .2s ease, margin-top .2s ease;
    padding:0 16px;
  }
  .faq .answer.show{
    opacity:1;
    padding-top:14px;
    padding-bottom:16px;
    margin-top:6px;
  }
  .faq .space{ display:none; }

  

/* Mobile Responsive - Media Query for screens up to 768px */
@media (max-width: 768px) {
    /* Layout Components */
    .section {
        width: 100%;
        padding: 20px 0px;
    }

    .block {
        padding: 20px;
        margin: 0 0px;
    }

    .block-narrow{
        padding: 20px;
        margin: 0 0px;
    }
    
    .block-shadow {
        padding: 20px;
        margin: 0 15px;
    }
    
    .space {
        height: 20px;
    }
    
    /* Mobile - Hide desktop header, show mobile header */
    .header-desktop {
        display: none;
    }
    
    .header-mobile {
        display: flex;
        padding: 0px 20px;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    /* Mobile Header - Left Menu Icon */
    .header-mobile .left {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .header-mobile .left i {
        font-size: 18px;
        color: #333333;
        transition: color 0.3s ease;
    }
    
    .header-mobile .left:hover i {
        color: #00aeff;
    }
    
    /* Mobile Header - Center Logo */
    .header-mobile .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .header-mobile .logo img {
        height: 35px;
    }
    
    /* Mobile Header - Right Login Icon */
    .header-mobile .right {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .header-mobile .right i {
        font-size: 18px;
        color: #333333;
        transition: color 0.3s ease;
    }
    
    .header-mobile .right:hover i {
        color: #00aeff;
    }
    
    /* Mobile Submenu Dropdown */
    .header-mobile .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 10px 10px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 9;
    }
    
    .header-mobile .submenu.active {
        max-height: 400px;
    }
    
    .header-mobile .submenu nav ul {
        list-style: none;
        margin: 0;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
    }
    
    .header-mobile .submenu nav ul li {
        border-bottom: 1px solid #f5f5f5;
    }
    
    .header-mobile .submenu nav ul li:last-child {
        border-bottom: none;
    }
    
    .header-mobile .submenu nav ul li a {
        padding: 10px;
        text-align: left;
        display: block;
        color: #333333;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .header-mobile .submenu nav ul li a:hover {
        background-color: #f8f9fa;
        color: #00aeff;
    }
    
    .footer {
        padding: 0px 40px;
        text-align: left;
    }
    
    /* Column Layouts - Stack on mobile */
    .col-2,
    .col-3,
    .col-4 {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Typography */
    .headline {
        font-size: 28px;
        margin-bottom: 15px;
        padding: 0 0px;
    }
    
    .subheadline {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 0px;
    }
    
    .title {
        font-size: 24px;
        margin-bottom: 15px;
        padding: 0 0px;
    }
    
    .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 0px;
    }
    
    .smalltitle {
        font-size: 18px;
        margin-bottom: 15px;
        padding: 0 0px;
    }

    
    /* Images */
    .img-home {
        width: 100%;
    }

    .img-main {
        width: 80%;
    }
    
    .img-block {
        width: 80%;
    }
    
    
    /* Padding adjustments */
    .p-40 {
        padding: 20px;
    }
    
    .p-20 {
        padding: 15px;
    }
    
    /* Optin Form - Mobile */
    .optin {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .optin input[type="text"],
    .optin button {
        width: 100%;
        text-align: center;
    }
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(2px);
}

.video-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-modal-body {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile responsive for video modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 0 2.5%;
    }
    
    .video-modal-close {
        top: -35px;
        font-size: 25px;
        width: 35px;
        height: 35px;
    }
}