/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', 'SiyamRupali', 'Bangla', 'Arial', sans-serif;
    line-height: 1.8;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    position: relative;
    font-size: 16px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.9) 0%, rgba(138, 43, 226, 0.9) 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

header h1 {
    margin-bottom: 15px;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    word-wrap: break-word;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    padding: 0 10px;
}

/* Intro Section */
.intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #b0b0b0;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.8;
}

/* FAQ Videos Section */
.faq-videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.video-container {
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.8) 0%, rgba(20, 20, 40, 0.9) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(15px);
    position: relative;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.8), transparent);
}

.video-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(26, 115, 232, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.video-container h2 {
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.2) 0%, rgba(138, 43, 226, 0.2) 100%);
    color: #4fc3f7;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.4;
    word-wrap: break-word;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    padding: 20px;
    color: #d0d0d0;
}

.video-description p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.video-description ul {
    list-style: none;
    margin-left: 0;
    padding: 0 10px;
}

.video-description li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.video-description li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #4fc3f7;
    font-size: 0.9rem;
    top: 2px;
}

/* Still Need Help Section */
.still-need-help {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(145deg, rgba(30, 30, 50, 0.8) 0%, rgba(20, 20, 40, 0.9) 100%);
    border-radius: 15px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.still-need-help::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.8), transparent);
}

.still-need-help h2 {
    color: #4fc3f7;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    word-wrap: break-word;
}

.still-need-help p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.7;
    padding: 0 10px;
}

/* Captcha Section */
.captcha-section {
    margin: 25px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 100%;
    overflow: hidden;
}

.captcha-text {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #b0b0b0;
    font-weight: 500;
    padding: 0 10px;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    transform-origin: center;
    transform: scale(0.9);
}

.captcha-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 10px;
    min-height: 20px;
    font-weight: 500;
    padding: 0 10px;
}

.support-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0088cc 0%, #00aaff 50%, #0088cc 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 136, 204, 0.3);
    margin: 10px auto;
    word-wrap: break-word;
    max-width: 90%;
}

.support-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.support-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.support-button:hover:not(.disabled) {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(0, 136, 204, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.support-button:hover:not(.disabled)::before {
    left: 100%;
}

.support-button i {
    margin-right: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 20px;
    color: #888;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    word-wrap: break-word;
}

/* Responsive Design */
@media (min-width: 768px) {
    .faq-videos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    header h1 {
        font-size: 2rem;
    }
    
    .video-container h2 {
        font-size: 1.4rem;
    }
    
    .support-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .container {
        padding: 15px;
    }
    
    .intro {
        font-size: 1.2rem;
        padding: 20px;
    }
    
    .video-description {
        padding: 20px;
    }
    
    .video-description p {
        font-size: 1rem;
    }
    
    .video-description li {
        font-size: 0.95rem;
    }
    
    .captcha-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .captcha-text {
        font-size: 1rem;
    }
}

/* Dark theme specific adjustments */
.dark-theme {
    color-scheme: dark;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4fc3f7, #26a69a);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #29b6f6, #26c6da);
}

/* Bengali text optimization */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', 'SiyamRupali', 'Bangla', sans-serif;
    font-weight: 600;
}

p, li, span, div {
    font-family: 'Noto Sans Bengali', 'SolaimanLipi', 'SiyamRupali', 'Bangla', sans-serif;
} 

/* Mobile Responsive Design */
@media screen and (max-width: 480px) {
    .container {
        padding: 15px;
    }

    header {
        padding: 30px 15px;
        margin-bottom: 25px;
    }

    header h1 {
        font-size: 1.8rem;
        padding: 0 5px;
    }

    header p {
        font-size: 1rem;
    }

    .intro {
        font-size: 1rem;
        padding: 20px 15px;
        margin-bottom: 25px;
    }

    .video-container h2 {
        font-size: 1.2rem;
        padding: 15px;
    }

    .video-description {
        padding: 15px;
    }

    .video-description p {
        font-size: 1rem;
    }

    .video-description li {
        font-size: 0.95rem;
        padding-left: 20px;
    }

    .still-need-help {
        padding: 30px 15px;
    }

    .still-need-help h2 {
        font-size: 1.5rem;
    }

    .still-need-help p {
        font-size: 1rem;
    }

    .captcha-section {
        padding: 15px;
        margin: 20px auto;
    }

    .captcha-text {
        font-size: 1rem;
    }

    .g-recaptcha {
        transform: scale(0.77);
        margin-left: -20px;
    }

    .support-button {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    footer {
        padding: 20px 15px;
        font-size: 0.85rem;
    }
}

/* Tablet Responsive Design */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 20px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .video-container h2 {
        font-size: 1.3rem;
    }

    .g-recaptcha {
        transform: scale(0.85);
    }

    .support-button {
        width: auto;
        min-width: 250px;
    }
}

/* Larger Screens */
@media screen and (min-width: 769px) {
    .faq-videos {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-button {
        min-width: 300px;
    }
}

/* Fix for reCAPTCHA on very small screens */
@media screen and (max-width: 350px) {
    .g-recaptcha {
        transform: scale(0.7);
        margin-left: -30px;
    }
}

/* Ensure text doesn't overflow on small screens */
* {
    word-break: break-word;
    hyphens: auto;
} 