/* ==========================================================
   GOOGLE FONTS
========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@600;700;800&family=Poppins:wght@400;500;600&family=Roboto:wght@400;500;700&display=swap');

/* Root Config */
:root {
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --font-nav: 'Poppins', sans-serif;
    --font-alt: 'Roboto', sans-serif;

    --primary: #007aff;
    --dark: #111;
    --light: #fff;

    --section-padding: 70px 5vw;
    --radius: 12px;
}

/* ==========================================================
   GLOBAL STYLE
========================================================== */
body {
    margin: 0;
    font-family: var(--font-body);
    background: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* Universal Section Wrapper */
.section {
    padding: var(--section-padding);
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================
   HEADER
========================================================== */
.header {
    width: 100%;
    padding: 15px 5vw;
    border-bottom: 1px solid #eaeaea;
    background: #fff;
    box-sizing: border-box;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* DESKTOP MENU */
.nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
}

.nav ul li a {
    font-family: var(--font-nav);
    font-weight: 500;
    text-decoration: none;
    color: #222;
    transition: .25s;
}

.nav ul li a:hover { 
    color: var(--primary); 
}

/* =========================
   SEARCH BAR HEADER
========================= */
.header-search {
    width: 60%;
    padding: 12px 20px;
    background: #f7f7f7;
    border-top: 1px solid #e0e0e0;
}

.header-search form {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 700px;
    margin: 0 auto;
}

.header-search input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
}

.header-search button {
    padding: 10px 16px;
    border: none;
    background: #007bff;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.header-search button i {
    margin: 0;
}

/* MOBILE */
@media (max-width: 768px) {
    .header-search {
        padding: 10px 15px;
    }

    .header-search input {
        font-size: 14px;
    }

    .header-search button {
        padding: 9px 14px;
    }
}


/* MOBILE ICON */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

/* MOBILE MENU PANEL */
.mobile-menu {
    display: none;
    padding: 20px 5vw;
    background: #fff;
    border-top: 1px solid #eee;
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-menu ul li a {
    font-size: 18px;
    font-family: var(--font-nav);
    color: #222;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .nav { display: none; }
    .nav-toggle { display: block; }
}

/* ==========================================================
   HERO
========================================================== */
.hero {
	min-height: var(--hero-height);
    position: relative;
    text-align: center;
    padding: 70px 5vw;
    background-size: cover;
    background-position: center;
    min-height: 10vh;
    color: white;
}

h1.hero-title {
    line-height: 1.2;
	font-weight: 600;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(203deg, rgb(18 215 138 / 12%) 0%, rgb(0 0 0 / 72%) 50%, rgb(5 179 93 / 0%) 100%)
}

.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 700px;
    margin: auto;
}

.btn-primary {
    background: var(--primary);
    padding: 12px 30px;
    color: #fff;
    border-radius: 6px;
    display: inline-block;
}

/* ==========================================================
   FASTWORK GRID SECTION
========================================================== */
.fastwork-section { padding: var(--section-padding); }

.fw-title {
    font-family: var(--font-heading);
    font-size: 32px;
    text-align: center;
    margin-bottom: 25px;
}

.fw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    justify-content: center;
}

.fw-item {
    background: #fff;
    padding: 15px;
    border: 1px solid #2b19cd;
    border-radius: var(--radius);
    text-align: center;
    transition: .25s;
}

.fw-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.fw-icon { font-size: 32px; }

.fw-thumb {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.fw-item span {
    font-family: var(--font-alt);
    font-weight: 600;
    color: #222;
    font-size: 16px;
}

/* Mobile Grid */
@media (max-width: 600px) {
    .fw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
    .fw-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   BANNER 2 COLUMN
========================================================== */
.banner-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: var(--section-padding);
}

.banner-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .banner-2col {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   FOUR BUTTON GRID
========================================================== */
.four-buttons {
    padding: var(--section-padding);
    text-align: center;
}

.four-buttons-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

a.btn-box {
    border: 2px solid #3730c1;
    padding: 12px 18px;
    border-radius: 8px;
    font-family: var(--font-nav);
    font-weight: 600;
}

/* ==========================================================
   TWO COLUMN SECTION
========================================================== */
.two-col-section { padding: var(--section-padding); }

.two-col-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.two-col-image img {
    width: 100%;
    border-radius: var(--radius);
}

.two-col-title {
    font-size: 28px;
    font-family: var(--font-heading);
}

.two-col-title-underline {
    width: 90px;
    height: 4px;
    background: linear-gradient(135deg, #157051, #8add0b, #00b0ff);
    border-radius: 4px;
    margin: -10px 0 25px;
}

.two-col-desc {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.two-col-desc li {
    font-family: var(--font-alt);
    font-size: 16px;
    display: flex;
}

.two-col-desc .icon {
    background: var(--primary);
    color: white;
    font-size: 14px;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    text-align: center;
    margin-right: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .two-col-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* ===================== PRICING SECTION ===================== */
.pricing-section {
    padding: 60px 5vw;
    background: #f8f9ff;
}

.pricing-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* GRID DEFAULT – DESKTOP */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: auto;
}

/* CARD */
.price-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    transition: 0.25s;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

/* BEST SELLER */
.price-card.highlight {
    border: 2px solid #007bff;
    transform: translateY(-8px);
}

.badge-best {
    background: #007bff;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

.price-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.price-value {
    font-size: 32px;
    font-weight: 700;
    color: #222;
}

.price-value span {
    font-size: 16px;
    color: #666;
}

.price-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.price-features li {
    margin-bottom: 10px;
    font-size: 15px;
}

.price-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #007bff;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
}

.price-btn:hover {
    background: #005fcc;
}

/* ===================== RESPONSIVE ===================== */

/* TABLET – 2 kolom */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .price-card.highlight {
        transform: none;
    }
}

/* MOBILE – tetap 2 kolom */
@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px;
    }

    .price-card {
        padding: 25px;
    }

    .pricing-title {
        font-size: 28px;
    }

    .price-value {
        font-size: 26px;
    }
}

/* EXTRA SMALL – 1 kolom (HP kecil banget) */
@media (max-width: 380px) {
    .pricing-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* ==== WRAPPER ==== */
.counter-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(121deg, rgb(0 60 255 / 47%) 0%, rgb(255 255 255) 100%);
}

/* ==== GRID LAYOUT (Image + Content) ==== */
.counter-grid {
    display: grid;
    grid-template-columns: 1fr;      /* MOBILE 1 kolom */
    gap: 30px;
    align-items: center;
}

@media (min-width: 768px) {
    .counter-grid {
        grid-template-columns: 1fr 1fr;  /* DESKTOP 2 kolom */
    }
}

/* ==== IMAGE ==== */
.counter-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

/* ==== CONTENT TEXT ==== */
.counter-content h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.counter-content p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* ==== COUNTERS ==== */
.counter-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* SELALU 2 KOLOM */
    gap: 20px;
}

/* Counter item */
.counter-box {
    background: #f7f8fa;
    padding: 10px 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #08227a;
}

.counter-number {
    font-size: 25px;
    font-weight: 700;
    color: #1e88e5;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ==== MOBILE SMALL ==== */
@media (max-width: 480px) {
    .counter-content h2 {
        font-size: 26px;
    }
}


/* ==========================
   READING PAGE STYLE
========================== */

.read-container {
    max-width: 850px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Title Section */
.read-hero {
    margin-bottom: 25px;
}

.read-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.35;
}

.read-meta {
    display: flex;
    gap: 20px;
    opacity: 0.7;
    font-size: 14px;
}

.read-meta i {
    margin-right: 4px;
}

/* Featured Image */
.read-featured img {
    width: 100%;
    border-radius: 14px;
    margin: 25px 0;
}

/* Content Typography */
.read-content {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1.75;
}

.read-content p {
    margin-bottom: 20px;
}

.read-content h2,
.read-content h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Share Section */
.share-section {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.share-buttons {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.share-buttons .sh {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.sh.fb { background: #1877f2; }
.sh.tw { background: #000; }
.sh.wa { background: #25D366; }

/* Author Box */
.author-box {
    margin-top: 40px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 12px;
}

.author-info h4 {
    margin: 0 0 5px;
    font-weight: 700;
}

/* Related Posts */
.related-posts {
    margin-top: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-card {
    text-decoration: none;
    color: inherit;
}

.related-card img {
    width: 100%;
    border-radius: 10px;
}

.related-card h4 {
    font-size: 16px;
    margin-top: 10px;
    font-weight: 600;
}

/* Mobile Fix */
@media (max-width: 600px) {
    .read-title { font-size: 28px; }
    .read-meta { flex-direction: column; gap: 5px; }
}
