﻿/* ================= GLOBAL ================= */
body {
    background: #f8fafc;
    font-family: 'Inter',sans-serif;
    font-size: 14px;
    color: #0f172a;
    overflow-x: hidden;
}

/* ================= HERO ================= */
.hero-section {
    position: relative;
    padding: 85px 20px 75px;
    text-align: center;
    background: linear-gradient(rgba(15,23,42,0.72), rgba(15,23,42,0.78)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
}

/* BADGE */
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.10);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* TITLE (REDUCED SIZE) */
.hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
}

    .hero-title span {
        color: #93c5fd;
    }

/* SUBTITLE (CLEAN SMALLER) */
.hero-subtitle {
    max-width: 820px;
    margin: auto;
    font-size: 15px;
    color: #e2e8f0;
    line-height: 1.7;
    margin-top: 12px;
}

/* ================= SEARCH WRAP ================= */
.search-wrap {
    max-width: 760px; /* SMALLER WIDTH (FIXED) */
    margin: 28px auto 0;
    position: relative;
}

/* SEARCH BOX (SMALL + CLEAN) */
.big-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 18px;
    padding: 8px 10px; /* REDUCED HEIGHT */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* ICON SMALL */
.search-icon {
    font-size: 18px;
    color: #64748b;
    padding: 0 10px;
}

/* INPUT SMALL */
.big-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px; /* SMALL TEXT */
    padding: 10px 6px;
}

/* BUTTON SMALL */
.big-search button {
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
    border: none;
    padding: 10px 18px; /* SMALL BUTTON */
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

    .big-search button:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(37,99,235,0.25);
    }

/* ================= SUGGEST BOX ================= */
/* ================= SUGGEST BOX ================= */
/* ================= SUGGEST BOX ================= */
#suggestBox {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    margin-top: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
    border: 1px solid #e2e8f0;
    display: none;
    z-index: 999999;
    overflow: hidden;
}

/* ITEM - FORCE LEFT ALIGN */
.s-item {
    width: 100%;
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    background: #fff;
    /* 🔥 IMPORTANT FIX */
    text-align: left !important;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.4;
    transition: 0.2s;
}

/* REMOVE CENTER BEHAVIOR FROM ANY PARENT */
#suggestBox * {
    text-align: left;
}

/* LAST ITEM BORDER REMOVE */
.s-item:last-child {
    border-bottom: none;
}

/* HOVER */
.s-item:hover {
    background: #f8fafc;
}

/* TITLE */
.s-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
    text-align: left;
}

/* SUB TEXT */
.s-sub {
    display: block;
    font-size: 12.5px;
    color: #64748b;
    margin-top: 3px;
    text-align: left;
}

/* ================= TRUST CARDS ================= */
.trust-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

    /* ICON */
    .trust-card i {
        font-size: 28px;
        color: #2563eb;
        margin-bottom: 10px;
    }

    /* TITLE */
    .trust-card h5 {
        font-size: 16px;
        font-weight: 700;
    }

/* ================= FEATURE ================= */
.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: 0.25s;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    }

    /* ICON */
    .feature-card i {
        font-size: 34px;
        color: #2563eb;
        margin-bottom: 12px;
    }

    /* TITLE */
    .feature-card h5 {
        font-size: 16px;
        font-weight: 700;
    }

/* ================= LAW CARDS ================= */
.law-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 220px;
    background-size: cover;
    background-position: center;
}

.law-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15,23,42,0.25), rgba(15,23,42,0.85));
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

/* ================= CTA ================= */
.cta-section {
    background: linear-gradient(135deg,#1d4ed8,#0f172a);
    border-radius: 22px;
    padding: 55px 20px;
    text-align: center;
    color: #fff;
}

.cta-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    background: #fff;
    color: #1d4ed8;
    text-decoration: none;
    margin-top: 15px;
}
.domain-card {
    height: 220px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

    .domain-card .overlay {
        position: absolute;
        bottom: 0;
        width: 100%;
        padding: 20px;
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        color: #fff;
    }
/* ================= MOBILE ================= */
@media(max-width:768px) {

    .hero-title {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .search-wrap {
        max-width: 100%;
        padding: 0 10px;
    }

    .big-search {
        flex-direction: column;
        padding: 10px;
    }

        .big-search button {
            width: 100%;
        }

    .search-icon {
        display: none;
    }
}
