/* 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-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;
}

/* 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: 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 circular badges */
.number-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: item;
}

.number-list li {
  display: flex;
  align-items: flex-start;         /* keep long titles aligned to the top of the badge */
  gap: 16px;
  margin: 18px 0;
  line-height: 1.5;
}

.number-list li a {
  color: #333333;	
}

.number-list li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00aeff;             /* Niagawan blue */
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* Optional color variants */
.number-list.orange li::before { background: #f1a62b; }
.number-list.green  li::before { background: #44c962; }



/* 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-main {
    width: 50%;
    height: auto;
}

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

/* Higlight */
.circle-orange {
    position: relative;
    display: inline-block;
    padding: 4px 14px; /* top/bottom, left/right space around text */
    z-index: 1;
  }
  
  .circle-orange::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/circle-orange.svg') no-repeat center;
    background-size: 100% 100%; /* stretch to match span */
    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;
}


/* 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-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-main {
        width: 100%;
    }
    
    .img-block {
        width: 100%;
    }
    
    
    /* 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;
    }
}