.thanks-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

.thanks-section {
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.thanks-title {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: 700;
}

.thanks-message {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.thanks-image {
    max-width: 200px;
    margin: 30px auto;
    display: block;
}

.social-linksg {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.social-title {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 15px 25px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
}

.social-link span {
    font-weight: 500;
    color: #333;
    font-size: medium;
}

.social-link:hover span {
    font-weight: 500;
    color: darkred;
    font-size: medium;
}

/* Responsive Design */
@media (max-width: 768px) {
    .thanks-container {
        padding: 15px;
    }

    .thanks-section {
        padding: 30px 20px;
    }

    .thanks-title {
        font-size: 2em;
    }

    .thanks-message {
        font-size: 1.1em;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-link {
        padding: 12px 20px;
    }
}

/* Print Styles */
@media print {
    .thanks-container {
        max-width: 100%;
        padding: 0;
    }

    .thanks-section {
        box-shadow: none;
        padding: 20px 0;
    }

    .social-links {
        display: none;
    }
}
