/*
Theme Name: MyAppZone Support
Author: Sujoy & Jerome
Description: MyAppZone Support Theme with Use Cases
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

html,body{
    font-size: 16px;
}

/* WordPress Core Styles */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}
.container{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
}
.header{
    position: sticky;
    left: 0;
    top: 0;
    z-index: 999;
    background: #fff;
    border: none;
    box-shadow: 0 2px 10px -1px rgba(87, 97, 100, .35);
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-style: italic;
    margin-top: 0.5rem;
}

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
}

/* Custom Logo Styles */
.custom-logo {
    max-height: 3rem;
    width: auto;
}

.custom-logo-link {
    display: inline-block;
}

/* Pagination Styles */
.navigation.pagination {
    text-align: center;
    margin: 2rem 0;
}

.navigation.pagination .nav-links {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.navigation.pagination .nav-links a,
.navigation.pagination .nav-links .current {
    padding: 0.5rem 1rem;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
}

.navigation.pagination .nav-links .current {
    background-color: #31B5F8;
    color: white;
    border-color: #31B5F8;
}

.navigation.pagination .nav-links a:hover {
    background-color: #f5f5f5;
}

/* Menu Styles for WordPress */
.menu-items {
    display: flex;
    gap: 1.875rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-items li {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-items a {
    text-decoration: none;
    color: inherit;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    padding: 1.875rem 0;
}

.menu-items li:not(.menu-items-signup):hover a {
    color: #36B6F7;
}

.menu-items-signup a{
    background-color: #31B5F8;
    padding: 0 1rem;
    border-radius: 1.5625rem;
    color: #fff;
    height: 3rem;
    display: flex;
    align-items: center;
    border-radius: 1.5rem;
}

.menu-items-signup a:hover {
    background-color: #36B6F7;
    border-radius: 1.5rem;
}

/* Sub-menu styles (if needed for dropdown menus) */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    min-width: 200px;
    display: none;
}

.menu-items li:hover .sub-menu {
    display: block;
}

.sub-menu li {
    width: 100%;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eee;
}

/* Archive and Single Post Improvements */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.no-posts p {
    font-size: 1.2rem;
    color: #666;
}

/* WordPress Editor Styles */
.wp-block-image {
    margin: 1rem 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-quote {
    border-left: 4px solid #31B5F8;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
}

/* Responsive Menu Improvements */
@media (max-width: 1366px) {
   html,body{
        font-size: 14px;
    } 
}
@media (max-width: 48rem) {
    html,body{
        font-size: 13px;
    }
    .container{
        padding: 0 1.5rem;
    }
    .menu-items {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 5rem;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 0.4rem 0.6rem rgba(0, 0, 0, 0.1);
        z-index: 1000;
        width: 100%;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-items li {
        font-size: 1.125rem;
        text-align: center;
        border-top: 1px solid #a5a5a53b;
        height: 4rem;
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* .menu-items-signup {
        width: 98%;
        height: 3rem;
        background-color: #31B5F8;
        text-align: center;
        padding: 0.7rem;
        border-radius: 1rem;
        color: #fff;
        margin: 0.5rem 1%;
    } */

    .menu-items li:not(.menu-items-signup):hover {
        background-color: #D1E9F7;
    }

    .menu-items li:not(.menu-items-signup):active {
        background-color: #36B6F7;
    }
}

/* Ensure the main theme styles are loaded */
body {
    font-family: 'Lato', 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

/* Import all the existing styles from the CSS files */
/* The actual CSS from usecaseslist.css, usecasesingle.css, header.css, and footer.css should be included here */

.support-intro {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px 0;
}

.support-hero-img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.support-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9em;
    color: #7f8c8d;
}

.support-quick-actions {
    display: flex;
    gap: 20px;
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.quick-action-card {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.quick-action-card:hover {
    transform: translateY(-5px);
}

.quick-action-card.urgent {
    border-left: 5px solid #e74c3c;
}

.quick-action-card.chat {
    border-left: 5px solid #3498db;
}

.quick-action-card.docs {
    border-left: 5px solid #27ae60;
}

.action-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.btn-urgent, .btn-chat, .btn-docs {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-urgent {
    background: #e74c3c;
    color: white;
}

.btn-chat {
    background: #3498db;
    color: white;
}

.btn-docs {
    background: #27ae60;
    color: white;
}

.support-section-title {
    text-align: center;
    margin: 60px 0 40px 0;
}

.support-section-title h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.support-categories .card {
    position: relative;
}

.support-icon {
    font-size: 3em;
    text-align: center;
    margin-bottom: 20px;
}

.support-card-link {
    display: block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-card-link:hover {
    color: #2980b9;
}

.faq-section {
    background: #f8f9fa;
    padding: 60px 20px;
    margin-top: 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f2f6;
}

.faq-question h3 {
    margin: 0;
    color: #2c3e50;
}

.faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #3498db;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

.contact-support-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
}

.contact-support-section .support-section-title h2 {
    color: white;
}

.contact-options {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    justify-content: center;
}

.contact-method {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    flex: 1;
    max-width: 300px;
}

.contact-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.contact-detail {
    font-weight: bold;
    font-size: 1.1em;
    margin: 10px 0;
}

.response-time {
    font-size: 0.9em;
    opacity: 0.8;
}

.contact-action {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 10px 0;
}

.support-resources {
    padding: 60px 20px;
    background: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.resource-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.resource-link {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #3498db;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: #3498db;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .support-quick-actions {
        flex-direction: column;
    }
    
    .contact-options {
        flex-direction: column;
        gap: 20px;
    }
    
    .support-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
}