body {
    padding: 0;
    background-color: #f8f9fa;
}

/* Domain Search Section Styles */
#section-domain-search {
    position: relative;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    padding: 75px 0;
}

#section-domain-search .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, #F8F7FF 0%, #FFFFFF 70%);
}

#section-domain-search .container-special-width {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

#section-domain-search h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1E1E2F;
    margin-bottom: 20px;
    line-height: 1.2;
}

#section-domain-search h1 .highlight {
    color: #6039F6;
}

#section-domain-search p.lead {
    font-size: 18px;
    color: #5A5A6D;
    max-width: 550px;
    margin: 0 auto 15px;
    font-weight: 400;
}

#section-domain-search p.example-domain {
    color: #6039F6;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 30px;
}

#section-domain-search .domain-search-form {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

#section-domain-search .form-inner-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(96, 57, 246, 0.15);
    transition: all 0.4s ease;
}

#section-domain-search .form-inner-wrapper .domain-input-wrapper {
    display: flex;
    flex-grow: 1;
}

#section-domain-search .form-inner-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 55px rgba(96, 57, 246, 0.2);
}

#section-domain-search .domain-input {
    flex-grow: 1;
    border: none;
    box-shadow: none;
    background: transparent;
    height: 50px;
    font-size: 16px;
    color: #5A5A6D;
    padding-left: 15px;
}

#section-domain-search .domain-input:focus {
    box-shadow: none;
}

#section-domain-search .tld-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    box-shadow: none;
    height: 50px;
    font-weight: 600;
    color: #1E1E2F;
    font-size: 16px;
    padding-right: 25px;
    cursor: pointer;
    border-radius: 20px;
}

#section-domain-search .tld-select:focus {
    box-shadow: none;
    outline: none;
}

#section-domain-search .tld-select option {
    background: #FFFFFF;
    color: #1E1E2F;
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 20px;
    margin: 2px 0;
}

#section-domain-search .tld-select option:hover {
    background: #6039F6;
    color: #FFFFFF;
}

#section-domain-search .tld-select option:checked {
    background: #6039F6;
    color: #FFFFFF;
}

#section-domain-search .tld-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #EAEAEA;
    border-radius: 20px;
}

#section-domain-search .tld-select-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    border-radius: 20px;
    pointer-events: none;
}

#section-domain-search .btn-search {
    background-color: #6039F6;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    transition: all 0.4s ease;
    margin-left: 10px;
    white-space: nowrap;
}

#section-domain-search .btn-search:hover {
    background-color: #502edb;
    transform: scale(1.05);
    color: #FFFFFF;
}

#section-domain-search .suggestions {
    color: #8C8C9B;
    margin-top: 25px;
    font-size: 14px;
}

#section-domain-search .features {
    margin-top: 40px;
}

#section-domain-search .feature-item {
    color: #5A5A6D;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

#section-domain-search .feature-item i {
    margin-right: 8px;
    color: #5A5A6D;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#section-domain-search .title-anim,
#section-domain-search .lead-anim,
#section-domain-search .example-anim,
#section-domain-search .form-anim,
#section-domain-search .suggestions-anim,
#section-domain-search .features-anim {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

#section-domain-search .features-anim .features-wrapper {
    display: flex;
}

#section-domain-search .lead-anim {
    animation-delay: 0.1s;
}

#section-domain-search .example-anim {
    animation-delay: 0.2s;
}

#section-domain-search .form-anim {
    animation-delay: 0.3s;
}

#section-domain-search .suggestions-anim {
    animation-delay: 0.4s;
}

#section-domain-search .features-anim {
    animation-delay: 0.5s;
}

/* Results section padding */
.results-section {
    padding: 0 15px 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #section-domain-search h1 {
        font-size: 32px;
    }

    #section-domain-search .form-inner-wrapper {
        flex-wrap: wrap;
        padding: 15px;
    }

    #section-domain-search .domain-input {
        flex-basis: 100%;
        padding-left: 0;
    }

    #section-domain-search .tld-select-wrapper {
        flex-grow: 1;
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }

    #section-domain-search .btn-search {
        flex-grow: 1;
        margin-top: 10px;
        margin-left: 0;
    }


}

@media (max-width: 480px) {
    #section-domain-search h1 {
        font-size: 28px;
    }

    #section-domain-search p.lead {
        font-size: 15px;
    }
}
/* Styles pour donner l'apparence d'un popup à la section */
#section-domain-search {
    position: relative; /* Nécessaire pour positionner le bouton 'X' et le logo */
    background-color: #ffffff; /* Fond blanc comme un popup */
    padding: 40px 30px; /* Plus de padding pour l'espace intérieur */
    border-radius: 15px; /* Coins arrondis */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Ombre pour l'effet "flottant" */
    max-width: 800px; /* Largeur maximale, comme un popup */
    margin: 50px auto; /* Centre la section sur la page et donne un peu d'espace */
    box-sizing: border-box; /* S'assure que padding et border sont inclus dans la largeur */
}

/* Ajustements si votre .bg crée des problèmes visuels avec le nouveau fond blanc */
#section-domain-search .bg {
    display: none; /* Cache l'arrière-plan précédent si la section a maintenant un fond blanc */
}

/* Style du conteneur du logo dans la section */
.section-header-visual {
    text-align: center;
    margin-bottom: 25px; /* Espace sous le logo */
}

/* Style du logo */
.section-logo {
    max-width: 160px; /* Taille du logo */
    height: auto;
}

/* Style du bouton "X" */
.close-section-btn {
    position: absolute;
    top: 20px; /* Distance du haut */
    right: 25px; /* Distance de la droite */
    font-size: 32px; /* Grande taille pour le "X" */
    color: #888; /* Couleur du "X" */
    text-decoration: none;
    line-height: 1; /* Aligne bien le "X" */
    transition: color 0.2s ease-in-out;
}

.close-section-btn:hover {
    color: #f00; /* Rouge au survol */
}

/* Ajustements pour les éléments de texte et de formulaire dans la section */
#section-domain-search h1,
#section-domain-search p {
    color: #333; /* Assurez-vous que le texte est lisible sur fond blanc */
}

/* Assurez-vous que le wrapper de contenu s'adapte bien */
#section-domain-search .content-wrapper {
    padding-top: 20px; /* Ajoute un peu d'espace si le logo et le bouton 'X' sont proches du contenu */
}

/* Responsive design pour les petits écrans */
@media (max-width: 768px) {
    #section-domain-search {
        padding: 30px 15px; /* Réduit le padding sur mobile */
        margin: 20px auto; /* Réduit la marge */
    }

    .section-logo {
        max-width: 120px; /* Plus petit logo sur mobile */
    }

    .close-section-btn {
        font-size: 28px;
        top: 15px;
        right: 15px;
    }
}