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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E4F9E;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a i {
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: #E63946;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: #495057;
    border-radius: 3px;
    transition: 0.3s;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #2E4F9E 0%, #4A6CB8 100%);
    color: white;
    text-align: center;
    padding: 3.5rem 2rem;
    margin-bottom: 2.5rem;
    border-bottom: 4px solid #E63946;
}

.banner-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: white;
    font-weight: 700;
}

.banner p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 3px solid #2E4F9E;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(46, 79, 158, 0.15);
}

.stat-card i {
    font-size: 2.5rem;
    color: #E63946;
    margin-bottom: 0.8rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: #2E4F9E;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.stat-card p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.filters {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #2E4F9E;
}

.filters-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.filters-header i {
    font-size: 1.5rem;
    color: #E63946;
}

.filters-header h2 {
    color: #2E4F9E;
    font-size: 1.3rem;
    font-weight: 600;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.filter-item {
    position: relative;
}

.filter-item i {
    position: absolute;
    left: 12px;
    top: 39px;
    color: #6c757d;
    font-size: 0.95rem;
}

label {
    display: block;
    color: #2E4F9E;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

select,
input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: #f8f9fa;
}

select:focus,
input:focus {
    outline: none;
    border-color: #2E4F9E;
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 79, 158, 0.1);
}

/* Results Header */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #E63946;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2E4F9E;
    font-weight: 600;
}

.results-count i {
    color: #E63946;
    font-size: 1.2rem;
}

/* School Cards */
.school {
    background: white;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #2E4F9E;
    transition: transform 0.2s, box-shadow 0.2s;
}

.school:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 79, 158, 0.15);
}

.school-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.2rem;
}

.school-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.school-title i {
    font-size: 1.8rem;
    color: #E63946;
}

.school strong {
    font-size: 1.3rem;
    color: #2E4F9E;
    font-weight: 700;
}

.school-badge {
    background: linear-gradient(135deg, #2E4F9E 0%, #4A6CB8 100%);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.school-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #495057;
    font-size: 0.95rem;
}

.info-item i {
    color: #E63946;
    font-size: 1.1rem;
    width: 20px;
}

.school-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e9ecef;
}

.school a {
    color: white;
    background: linear-gradient(135deg, #E63946 0%, #D62839 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.school a:hover {
    background: linear-gradient(135deg, #D62839 0%, #C71F2F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.no-results i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-results p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Group Cards (WhatsApp) */
.group {
    background: white;
    padding: 1.8rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #25D366;
    transition: transform 0.2s, box-shadow 0.2s;
}

.group:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.2rem;
}

.group-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.group-title i {
    font-size: 1.8rem;
    color: #25D366;
}

.group strong {
    font-size: 1.3rem;
    color: #2E4F9E;
    font-weight: 700;
}

.group-badge {
    background: #d4f4dd;
    color: #25D366;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.group-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.group-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.95rem;
}

.group-footer {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e9ecef;
}

.group a {
    color: white;
    background: #25D366;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.group a:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-info-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #2E4F9E;
}

.contact-info-section h2 {
    color: #2E4F9E;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
}

.contact-info-section h2 i {
    color: #E63946;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: transform 0.2s;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #E63946;
    width: 30px;
    text-align: center;
}

.contact-item-content h3 {
    color: #2E4F9E;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-item-content a {
    color: #E63946;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-content a:hover {
    color: #D62839;
}

.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #E63946;
}

.contact-form-section h2 {
    color: #2E4F9E;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
}

.contact-form-section h2 i {
    color: #E63946;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #2E4F9E;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: #f8f9fa;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E4F9E;
    background: white;
    box-shadow: 0 0 0 3px rgba(46, 79, 158, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: linear-gradient(135deg, #E63946 0%, #D62839 100%);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #D62839 0%, #C71F2F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.social-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    border-top: 4px solid #2E4F9E;
}

.social-section h2 {
    color: #2E4F9E;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E63946;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #E63946 0%, #D62839 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.success-message.show {
    display: block;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2E4F9E 0%, #1e3567 100%);
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: #E63946;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.5rem;
}

.footer-column p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul li a:hover {
    color: #E63946;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: #E63946;
    width: 20px;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(230, 57, 70, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-links a:hover {
    background: #E63946;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #E63946;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.4);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
        padding-left: 20px;
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .banner h1 {
        font-size: 1.8rem;
    }

    .banner p {
        font-size: 1rem;
    }

    .stats {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .school-info,
    .group-info {
        grid-template-columns: 1fr;
    }

    .school-header,
    .group-header {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        padding: 0 1rem 1rem;
    }

    .results-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links span {
        display: none;
    }
}