/**
 * Ratings Section Styles
 *
 * @package Astra Child
 */

/* Ratings Section Container */
.footer-ratings-section {
    background: #1a1a1a;
    background-image: url('../../../uploads/2021/04/DSC_01681-1024x681-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 100px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: Georgia, 'Times New Roman', Times, serif;
    position: relative;
}

/* Dark overlay */
.footer-ratings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.ratings-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ratings-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 80px;
    color: #ffffff;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Ratings Grid */
.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    align-items: center;
}

/* Rating Item */
.rating-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0);
    border-radius: 12px;
    transition: all 1s ease;
    position: relative;
    z-index: 3;
}

.rating-item:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.9);
}

.rating-item a {
    text-decoration: none;
    color: #ffffff;
    display: block;
    transition: color 1s ease;
}

.rating-item:hover a {
    color: #333333;
}

/* Rating Logo */
.rating-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.rating-logo svg,
.rating-logo img {
    max-width: 100%;
    max-height: 78px;
    height: auto;
    width: auto;
    transform: scale(1.3);
}

/* Rating Stars */
.rating-stars {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items:center;
}

.rating-stars .stars {
    position: relative;
    display: inline-block;
    max-width:206px;
}

.rating-stars .stars .stars-background {
    display: inline-flex;
    gap: 4px;
    color: #ddd;
}

.rating-stars .stars .stars-filled {
    display: flex;
    gap: 4px;
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    color: #FFD700;
}

.star-icon {
    width: 2rem;
    height: 2rem;
}

.stars-filled .star-icon {
    flex-shrink: 0;
}

.hidden {
    display: none;
}

.rating-stars .rating-value {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
}

.rating-item:hover .rating-value {
    color: #333333;
}

/* Ratings Date */
.ratings-date {
    text-align: right;
    margin-top: 60px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.footer-ratings-section p{
    font-size: 24px;
    line-height: 2;
}
