/* FAQ Section Styles */
.faq {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
}
.faq-header {
    text-align: center;
    margin-bottom: 40px;
}
.faq-header .section-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #4ade80);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}
.faq-header .section-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.faq-container {
    max-width: 700px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.faq-item.active {
    background: rgba(255,255,255,0.08);
    border-color: #4ade80;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    flex-grow: 1;
    margin-right: 16px;
}
.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #4ade80;
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-toggle {
    background: #4ade80;
    color: white;
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 24px;
}
.faq-answer p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}
@media (max-width: 600px) {
    .faq-header .section-title {
        font-size: 1.5rem;
    }
    .faq-question {
        padding: 16px;
    }
    .faq-item.active .faq-answer {
        padding: 0 16px 16px;
    }
}
/* Text to Emoji Converter Styles */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/desktop Bg image.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    margin: 0;
}

@media (max-width: 768px) {
    body {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/mobile Bg image.webp');
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
    }
}
.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
/* Header */
.page-header {
    text-align: center;
    padding: 80px 0 40px;
}
.page-header .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}
.breadcrumb a {
    color: #4ade80;
    text-decoration: none;
}
.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
/* Tool Section */
.tool-section {
    margin-bottom: 60px;
}
.tool-section .container {
    max-width: 600px;
    margin: 32px auto;
    padding: 0 20px;
}
.converter-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
textarea#inputText {
    width: 100%;
    min-height: 100px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    color: white;
    font-size: 1.1rem;
    padding: 16px;
    resize: vertical;
    margin-bottom: 10px;
    font-family: inherit;
    transition: border 0.2s;
}
textarea#inputText:focus {
    outline: none;
    border-color: #4ade80;
}
button#convertBtn {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: black;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    padding: 14px 0;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-bottom: 10px;
}
button#convertBtn:hover {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    transform: translateY(-2px) scale(1.01);
}
.output-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #4ade80;
}
.output-box {
    min-height: 60px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px;
    font-size: 1.2rem;
    color: #fff;
    word-break: break-word;
    margin-bottom: 10px;
}
.emoji-legend {
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 50px 0 30px;
}
.emoji-legend .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}
.emoji-legend h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #fff;
}
.legend-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 16px;
    padding: 18px 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 60px;
}
.legend-card:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: #4ade80;
    box-shadow: 0 8px 24px rgba(74,222,128,0.10);
}
@media (max-width: 600px) {
    .converter-card {
        padding: 25px 10px;
    }
    .legend-grid {
        grid-template-columns: 1fr 1fr;
        font-size: 1rem;
        gap: 10px;
    }
    .legend-card {
        padding: 14px 6px;
        font-size: 0.98rem;
    }
    .page-header {
        padding: 60px 0 30px;
    }
    .back-button {
        top: 15px;
        left: 15px;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}
