/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}


/* Header */
.header {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.app-title i {
    font-size: 20px;
}

/* Main Content */
.main-content {
    padding: 0 16px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    margin: 20px 0;
}

.hero-text {
    text-align: center;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.president {
    font-size: 16px;
    color: #7f8c8d;
    text-align: right;
}

.promo-banner {
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.banner-text h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.features {
    list-style: none;
    font-size: 14px;
}

.features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}

.banner-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-k {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    position: relative;
}

.logo-k::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #fff;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kammillige {
    font-size: 12px;
    font-weight: 600;
}

.english {
    font-size: 18px;
    font-weight: 700;
}

/* Section Titles */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 32px 0 16px;
    text-align: center;
}

/* Support Cards */
.support-section, .contact-section, .faq-section {
    margin: 32px 0;
}

.support-cards, .contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-card, .contact-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

a.support-card {
    text-decoration: none;
    color: inherit;
}

.support-card:hover, .contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card-icon, .contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.support-card .card-icon {
    background-color: #4A90E2;
    color: #fff;
}

.contact-card .contact-icon {
    background-color: #27AE60;
    color: #fff;
}

.card-content, .contact-content {
    flex: 1;
}

.card-content h3, .contact-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.card-content p, .contact-content p {
    font-size: 14px;
    color: #7f8c8d;
}

.support-card i:last-child, .contact-card i:last-child {
    color: #bdc3c7;
    font-size: 14px;
}

/* FAQ Section */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.faq-question i {
    color: #7f8c8d;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
    padding: 0 16px 16px;
    max-height: 200px;
}

.faq-answer p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
}


/* Responsive Design */
@media (min-width: 768px) {
    .main-content {
        padding: 0 32px 32px;
    }
    
    .banner-content {
        flex-wrap: nowrap;
    }
    
    .support-cards, .contact-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .main-content {
        padding: 0 64px 32px;
    }
    
    .support-cards, .contact-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .promo-banner {
        padding: 32px;
    }
    
    .banner-text h2 {
        font-size: 24px;
    }
    
    .features {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 12px 32px;
    }
    
    .header {
        padding: 12px;
    }
    
    .app-title {
        font-size: 16px;
    }
    
    .promo-banner {
        padding: 16px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-logo {
        justify-content: center;
    }
    
    .hero-text h1 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .support-card, .contact-card {
        padding: 12px;
    }
    
    .card-content h3, .contact-content h3 {
        font-size: 14px;
    }
    
    .card-content p, .contact-content p {
        font-size: 12px;
    }
}

/* Animation for FAQ */
@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 200px;
        opacity: 1;
    }
}

.faq-item.active .faq-answer {
    animation: slideDown 0.3s ease;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.support-card:focus, .contact-card:focus, .faq-question:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content > section {
    animation: fadeIn 0.6s ease;
}
