:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --bg-color: #f4f7f6;
    --text-color: #333;
    --white: #ffffff;
}

body {
    font-family: 'Tahoma', 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

header h1 {
    color: var(--primary-color);
    font-size: 2rem;
}

/* Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.faq-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-top-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.faq-item .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.faq-item h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--white);
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 15px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-btn {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
}

.close-btn:hover { color: #000; }

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content { width: 95%; margin: 20% auto; }
    header h1 { font-size: 1.5rem; }
}
