* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.button {
    display: inline-block;
    background-color: #00c2ff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #00a8e0;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 30px;
}

.nav ul {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #333;
    font-weight: 500;
}

.phone-button {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-button i {
    color: #333;
}


.hero {
    padding: 50px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/dots-bg.svg');
    background-repeat: no-repeat;
    background-position: left center;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    flex: 1;
    max-width: 50%;
}

.hero-text {
    flex: 1;
    padding-left: 50px;
}

.hero h1 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
}


.search-box {
    position: relative;
    max-width: 450px;
}

.search-box form {
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #3182ce;
}


.popular-domains {
    padding: 60px 0;
}

.popular-domains h2 {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 30px;
    text-align: center;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.domain-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.domain-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.domain-logo img {
    max-height: 100%;
    max-width: 80%;
}

.domain-info h3 {
    font-size: 1.2rem;
    color: #1a202c;
    margin-bottom: 10px;
}

.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}

.view-all {
    text-align: center;
    margin-top: 20px;
}


.newest-domains {
    padding: 60px 0;
    background-color: #4c6ef5;
    color: white;
}

.newest-domains h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 30px;
    text-align: center;
}

.newest-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.new-domain-card {
    background-color: white;
    border-radius: 10px;
}

.new-domain-card .domain-info h3 {
    color: #1a202c;
}


.categories {
    padding: 60px 0;
    background-color: #f0f4ff;
}

.categories h2 {
    font-size: 1.8rem;
    color: #1a202c;
    margin-bottom: 15px;
    text-align: center;
}

.categories-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #4a5568;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-icon img {
    max-height: 100%;
}

.category-card h3 {
    font-size: 1.1rem;
    color: #1a202c;
}


.footer {
    padding: 60px 0 30px;
    background-color: #f8f9fa;
}

.footer-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.footer-category-title {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.footer-category-title h3 {
    font-size: 1.3rem;
    color: #1a202c;
    font-weight: 600;
}

.footer-category h4 {
    font-size: 1rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-category ul li {
    margin-bottom: 8px;
}

.footer-category ul li a {
    color: #4a5568;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-category ul li a:hover {
    color: #3182ce;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.powered-by {
    color: #718096;
    font-size: 0.9rem;
}

.trustpilot {
    text-align: center;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.rating-text {
    color: #38b2ac;
    font-weight: 600;
}

.stars {
    color: #38b2ac;
}

.rating-score {
    color: #1a202c;
    font-weight: 600;
}

.trustpilot p {
    color: #718096;
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #4a5568;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3182ce;
}


@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .hero-text {
        padding-left: 0;
    }
    
    .footer-categories {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .domains-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .newest-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .domains-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .newest-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-categories {
        grid-template-columns: 1fr 1fr;
    }
}
