/* General Styles */
#savingtipps {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}



.container {
    max-width: 800px;
    width: 90%;
    margin: 20px;
    padding: 30px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.platform-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    position: relative;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.platform-item h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #007BFF;
    font-weight: 600;
    transition: color 0.3s ease;
}

.platform-item:hover h2 {
    color: #0056b3;
}

.platform-item .description {
    display: none;
    margin-top: 15px;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.platform-item.active .description {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.arrow {
    transition: transform 0.3s ease;
}
.active .arrow{
    transform: rotate(180deg);
        color: rgb(24, 194, 78);
}
/* Add a subtle animation for the description */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-item.active .description {
    animation: fadeIn 0.5s ease forwards;
}

/* Add a decorative line under the heading */
h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #007BFF;
    margin: 10px auto;
    border-radius: 2px;
}

/* Add a hover effect for the container */
.container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .platform-item h2 {
        font-size: 1.3rem;
    }

    .platform-item .description {
        font-size: 0.9rem;
    }
}

.iframe-container {
    position: relative;
    width: 100%; /* Full width */
    max-width: 100%; /* Prevents overflow */
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* Removes unwanted border */
}