﻿/* Domain Hero Section */
.domain-hero {
    background: linear-gradient(to right, #e3f2fd, #ffffff);
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-title {
    font-size: 2.5rem;
    color: #0d47a1;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.domain-search-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto 30px;
    gap: 10px;
}

    .domain-search-form input {
        flex: 1 1 60%;
        padding: 14px;
        font-size: 1rem;
        border: 1px solid #bbb;
        border-radius: 6px;
        transition: border-color 0.3s;
    }

        .domain-search-form input:focus {
            border-color: #1e88e5;
            outline: none;
        }

    .domain-search-form button {
        background-color: #1e88e5;
        color: #fff;
        padding: 14px 24px;
        border: none;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

        .domain-search-form button:hover {
            background-color: #1565c0;
            transform: scale(1.05);
        }

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.95rem;
    color: #333;
    flex-wrap: wrap;
}

/* ----------Search Results------- */
.search-results {
    padding: 60px 20px;
    background-color: #f5faff;
}

.results-title {
    text-align: center;
    font-size: 1.8rem;
    color: #0d47a1;
    margin-bottom: 40px;
}

.domain-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.domain-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

    .domain-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

.domain-name {
    font-weight: 600;
    color: #263238;
}

.domain-status {
    font-size: 0.95rem;
    color: #2e7d32;
}

.domain-item.taken .domain-status {
    color: #d32f2f;
}

.domain-price {
    font-size: 1rem;
    font-weight: 500;
    color: #1565c0;
}

.add-cart-btn {
    background-color: #1e88e5;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .add-cart-btn:hover:not(:disabled) {
        background-color: #0d47a1;
    }

    .add-cart-btn:disabled {
        background-color: #ccc;
        cursor: not-allowed;
    }
/*================= Why Register With Us ================*/
.why-register {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2rem;
    color: #0d47a1;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background-color: #f4f8fc;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1976d2;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #0d47a1;
}

.feature-card p {
    font-size: 1rem;
    color: #444;
    line-height: 1.5;
}

/*=========== Domain FAQ Section ==================*/
.domain-faq {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    color: #0d47a1;
    margin-bottom: 40px;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 15px;
    border-bottom: 1px solid #ddd;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px;
    cursor: pointer;
    color: #1565c0;
    transition: color 0.3s ease;
}

    .faq-question:hover {
        color: #0d47a1;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    background-color: #eef5fb;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

    .faq-answer p {
        margin: 15px 0;
        font-size: 0.95rem;
        color: #444;
    }

/* Active Class */
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 10px 15px 15px;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #0d47a1, #1976d2);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-heading {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-subtext {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: #e3f2fd;
}

.cta-button {
    display: inline-block;
    margin: 10px;
    background-color: #ffffff;
    color: #0d47a1;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .cta-button:hover {
        background-color: #e3f2fd;
        transform: scale(1.05);
    }

    .cta-button.secondary {
        background-color: transparent;
        border: 2px solid white;
        color: #ffffff;
    }

        .cta-button.secondary:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

