* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #202124;
}

/* TOPBAR */
.topbar {
    padding: 20px 30px;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo-small img {
    width: 120px;
}

.menu {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.menu a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    transition: 0.2s;
}

.menu a:hover {
    color: #4285f4;
}

/* HERO SECTION */
.hero {
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.main-logo {
    width: 260px;
    max-width: 90%;
    margin-bottom: 40px;
}

/* SEARCH FORM - HOMEPAGE */
.search-form {
    width: 100%;
    max-width: 760px;
    position: relative;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 60px;
    padding: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.search-wrapper:hover,
.search-wrapper:focus-within {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
    border-color: rgba(223, 225, 229, 0);
}

.search-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 18px;
    padding: 16px;
}

.search-wrapper button {
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: #4285f4;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-wrapper button:hover {
    background: #3367d6;
}

/* SUGGESTIONS DROPDOWN */
#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 24px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e4e4e4;
    z-index: 1000;
    overflow: hidden;
    display: none;
}

.suggest-item {
    padding: 14px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    transition: background 0.2s;
}

.suggest-item:last-child {
    border-bottom: none;
}

.suggest-item:hover {
    background: #f8f9fa;
}

/* SEARCH PAGE LAYOUT */
.search-page {
    background: #f7f8fa;
}

.search-header {
    background: #fff;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-logo img {
    width: 100px;
    display: block;
}

.header-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 60px;
    padding: 6px;
    max-width: 850px;
    position: relative;
    transition: box-shadow 0.2s;
}

.header-search:hover,
.header-search:focus-within {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.header-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 17px;
    padding: 14px;
    background: transparent;
}

.header-search button {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: #4285f4;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.header-search button:hover {
    background: #3367d6;
}

/* RESULTS CONTAINER */
.results-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.result-count {
    margin-bottom: 24px;
    font-size: 14px;
    color: #70757a;
}

/* RESULT CARD */
.result-card {
    background: #fff;
    padding: 24px;
    border-radius: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
    transition: box-shadow 0.2s, transform 0.2s;
}

.result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.domain-link {
    display: inline-block;
    font-size: 13px;
    color: #1a73e8;
    text-decoration: none;
    margin-bottom: 6px;
}

.domain-link:hover {
    text-decoration: underline;
}

.result-card h2 {
    margin: 8px 0;
    font-size: 20px;
    font-weight: 500;
}

.result-card h2 a {
    text-decoration: none;
    color: #1a0dab;
    font-weight: 500;
}

.result-card h2 a:hover {
    text-decoration: underline;
}

.result-description {
    font-size: 14px;
    color: #4d5156;
    line-height: 1.5;
    margin-top: 6px;
}

.meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #70757a;
    margin-top: 12px;
}

/* CONTACT ICONS */
.contact-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.contact-icons a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.2s;
}

.phone-btn {
    background: #e8f5e9;
    color: #2e7d32;
}

.email-btn {
    background: #e3f2fd;
    color: #1565c0;
}

.map-btn {
    background: #f3e8ff;
    color: #7c3aed;
}

.contact-icons a:hover {
    transform: scale(1.08);
}

/* NO RESULTS */
.no-result {
    text-align: center;
    padding: 80px 20px;
}

.no-result h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #333;
}

.no-result p {
    color: #666;
    font-size: 16px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .topbar {
        padding: 15px;
    }
    
    .topbar-inner {
        justify-content: center;
    }
    
    .menu {
        justify-content: center;
        gap: 15px;
    }
    
    .main-logo {
        width: 180px;
    }
    
    .search-wrapper input {
        font-size: 16px;
        padding: 12px;
    }
    
    .search-wrapper button {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }
    
    .search-header {
        padding: 12px 15px;
    }
    
    .header-logo img {
        width: 80px;
    }
    
    .header-search input {
        font-size: 15px;
        padding: 12px;
    }
    
    .header-search button {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .results-container {
        padding: 20px 15px;
    }
    
    .result-card {
        padding: 18px;
    }
    
    .result-card h2 a {
        font-size: 18px;
    }
    
    .contact-icons a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .meta-info {
        gap: 12px;
        font-size: 12px;
    }
}

/* TABLET RESPONSIVE */
@media (min-width: 769px) and (max-width: 1024px) {
    .results-container {
        max-width: 750px;
    }
    
    .result-card {
        padding: 22px;
    }
}

/* UTILITY CLASSES */
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hidden {
    display: none;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#suggestions {
    animation: fadeIn 0.2s ease;
}