html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;

    background-color: #2a2a35;

    font-family: "Oswald", sans-serif;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

main {
    flex: 1;


}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #1f1f2e;

}

.logo img {
    height: 30px;

}

nav {
    display: flex;
    align-items: center;

}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;

}

nav ul li {
    padding: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease-in-out;
    padding: 10px 15px;

    border-radius: 4px;

}

nav ul li a:hover,
nav ul li a:focus {
    color: #c792ea;

    background-color: #1e1e2f;

}


.nav-register-btn {
    background-color: #5d3478;

    color: #ffffff;
    border: none;

    padding: 10px 20px;

    border-radius: 4px;

    transition: background-color 0.3s;

}

.nav-register-btn:hover,
.nav-register-btn:active,
.nav-register-btn:focus {
    background-color: #a56de2;

    color: #ffffff;
    text-decoration: none;

}




@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        margin-bottom: 10px;

    }

    nav ul {
        flex-direction: column;

    }

    nav ul li {
        padding: 5px 0;

    }

    .nav-register-btn {
        width: 100%;

        margin-top: 10px;

    }
}


.hero {
    display: flex;
    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 50px 10%;
    text-align: center;

    color: #fff;
    border-radius: 8px;

    margin: 20px 0;

}


.hero-text h1 {
    margin-bottom: 20px;
    font-size: 2.5rem;

    color: #c792ea;

}

.hero-text p {
    margin-bottom: 20px;
    font-size: 1.2rem;

    color: #e6e6e6;

}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #c792ea;

    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;

    transition: background-color 0.3s ease;
}

.hero-btn:hover,
.hero-btn:focus {
    background-color: #a56de2;

}

.members-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 10%;
    color: #fff;
    background: linear-gradient(145deg, #302b6300, #242038);

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);

    border-radius: 8px;

    margin: 20px 0;

    transition: transform 0.3s ease;

}

.members-count:hover {
    transform: translateY(-5px);

}

.members-count .content h2 {
    color: #c792ea;

    margin-bottom: 15px;
}

.members-count .content p {
    max-width: 600px;

    line-height: 1.5;

}

.members-count .count {
    font-size: 3rem;

    display: flex;
    align-items: center;
}

.members-count .count i {
    margin-right: 20px;

    color: #c792ea;

}

.members-count .count span {
    font-weight: bold;

}


.stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 50px 10%;
    margin: 20px 0;
}

.stat-item {
    flex: 1;

    padding: 20px;
    color: #fff;
    background-color: #29283c;

    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);

    border-radius: 8px;

    margin: 0 10px;

    transition: transform 0.3s ease;

}

.stat-item:hover {
    transform: scale(1.05);

}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #c792ea;

}

.stat-item h3 {
    margin-bottom: 10px;
    color: #e6e6e6;

}

.stat-item span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #c792ea;

    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    color: #aaa;

}

.community-highlights {
    display: flex;
    justify-content: space-around;
    padding: 50px 10%;
    margin: 20px 0;
}

.column {
    flex: 1;
    margin: 0 10px;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    background-color: #252525;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.column h2 {
    font-size: 1.8rem;
    color: #f2f2f2;
    text-align: center;
    padding: 15px 0;
    margin: 0;
}

.column:first-child {
    background: linear-gradient(135deg, #39424e, #1f2833);
}

.column:last-child {
    background: linear-gradient(135deg, #3c2f2f, #191919);
}



.card {
    background-color: #29283c;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

    border-radius: 8px;

    display: flex;
    align-items: center;
    padding: 10px;
    margin: 10px;

}

.card img {
    width: 40px;

    height: 40px;

    border-radius: 50%;

    margin-right: 10px;

}

.info {
    text-align: left;

}

.info a {
    color: #c792ea;

    text-decoration: none;
    font-weight: bold;

    display: block;

}

.info p {
    color: #aaa;

    margin: 5px 0;

}

.sponsors {
    text-align: center;
    padding: 50px 10%;

    margin: 40px auto;

    border-radius: 8px;
}

.sponsors h2 {
    font-size: 2rem;
    color: #c792ea;

    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c792ea;

    display: inline-block;

    border-radius: 2px;

}

.sponsor-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    padding: 0 5%;

    max-width: 1200px;

    margin: 0 auto;

}

.sponsor-logos img {
    height: 60px;

    width: auto;

    object-fit: contain;
    background-color: #1e1e2f;
    padding: 5px;

    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.sponsor-logos img:hover {
    transform: scale(1.05);

}


@media (max-width: 1024px) {
    .sponsor-logos {
        grid-template-columns: repeat(3, 1fr);

    }
}

@media (max-width: 768px) {
    .sponsor-logos {
        grid-template-columns: repeat(2, 1fr);

    }
}

footer {
    background-color: #29283c;

    color: #ffffff;
    text-align: center;
    padding: 20px 10%;
}

.footer-content {
    margin: 0 auto;
    padding: 20px 0;
}

.social-icons a,
.legal-links a {
    color: #ffffff;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover,
.legal-links a:hover {
    color: #c792ea;

}

.legal-links {
    margin-top: 20px;
}

footer p {
    margin-top: 20px;
    font-size: 0.8rem;
}

.error {
    background-color: #f8d7da;

    color: #721c24;

    border-left: 6px solid #f44336;

    padding: 10px 20px;

    margin: 20px 0;

    border-radius: 4px;

    font-size: 1rem;

    font-weight: bold;

    display: block;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}


.success-message {
    background-color: #d4edda;

    color: #155724;

    border-left: 6px solid #21ad2a;

    padding: 10px 20px;

    margin: 20px 0;

    border-radius: 4px;

    font-size: 1rem;

    font-weight: bold;

    display: block;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.error-message-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 20px 0;

    background-color: #f8d7da;

    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    color: #721c24;

    max-width: 100%;

    text-align: center;
}

.error-icon {
    font-size: 48px;

    margin-bottom: 15px;

    color: #dc3545;

}

.error-text {
    font-size: 1rem;


}


.text-section {
    background-color: #2a2a2a;

    color: #f0f0f0;

    padding: 20px;

    font-family: 'Arial', sans-serif;

    line-height: 1.6;

}


.text-section .sub-heading {
    color: #ffffff;

    font-size: 1.5em;

    margin-top: 20px;

    margin-bottom: 10px;

    font-weight: bold;

    border-bottom: 2px solid #555555;

}

.dark-theme-button {
    background-color: #333;

    color: #fff;

    border: none;

    padding: 10px 20px;

    font-size: 16px;

    font-family: Arial, sans-serif;

    cursor: pointer;

    border-radius: 5px;

    transition: background-color 0.3s, transform 0.2s;

}

.dark-theme-button:hover {
    background-color: #555;

    transform: scale(1.05);

}


.page-detail-card {
    display: flex;
    background-color: #29293ec4;
    margin-bottom: 20px;
    padding: 5px;
    border-radius: 8px;
    overflow: hidden;
}

.page-image {
    width: 40%;

    height: 400px;

    object-fit: contain;

    display: block;

}


.page-info {
    padding: 20px;
    flex-grow: 1;

}

.page-date,
.page-description {
    margin-bottom: 10px;
}

.company-badge {
    display: inline-block;

    padding: 8px 16px;

    background-color: #007BFF;

    color: #FFFFFF;

    font-size: 0.9em;

    font-weight: bold;

    text-align: center;

    border-radius: 12px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);

    margin: 4px;

    transition: background-color 0.3s;

}

.company-badge:hover {
    background-color: #0056b3;

}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 10%;
    text-align: justify;
    color: #fff;
    border-radius: 8px;
    margin: 20px 0;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

.pagination-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.pagination-buttons {
    display: inline-flex;
    list-style: none;
}

.page-item {
    margin: 0 8px;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.875rem;
    color: #ddd;
    background: linear-gradient(135deg, #44475a, #343746);
    border: 1px solid #6272a4;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-item:hover {
    background: linear-gradient(135deg, #6272a4, #44475a);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    cursor: pointer;
}

.page-item.active {
    background: #44475a;
    color: #ffffff;
    cursor: default;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.page-item.disabled {
    background: #343746;
    color: #999;
    cursor: not-allowed;
    border-color: #44475a;
    box-shadow: none;
}

@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        align-items: center;
    }

    .pagination-buttons {
        flex-direction: column;
    }

    .page-item {
        margin-bottom: 10px;
    }
}