:root {
    --primary-color: #2a6df4;
    --secondary-color: #1e1e2c;
    --accent-color: #00f7ff;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --footer-bg: #1e1e2c;
    --footer-text: #ffffff;
    --header-height: 80px;
}

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

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    height: 100%;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.text-logo {
    font-family: "Poppins", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: -1px;
    background: linear-gradient(
        135deg,
        var(--secondary-color),
        var(--primary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.text-logo span {
    color: var(--primary-color);
    background: var(--primary-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: var(--header-height);
}

.slides {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev {
    left: 2rem;
}

.next {
    right: 2rem;
}

/* Register Options Styles */
.register-options {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 90%;
    max-width: 1000px;
}

.register-button {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.register-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.register-button img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    padding: 3px;
}

.register-button span {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* News Section Styles */
.news-section {
    padding: 5rem 5%;
    background: var(--light-bg);
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.news-content p {
    color: #666;
    font-size: 0.9rem;
}

/* News Detail Styles */
.news-detail {
    margin-top: calc(var(--header-height) + 2rem);
    padding: 2rem 5%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.news-detail-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.news-detail-header {
    position: relative;
}

.news-detail-header img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.news-detail-header h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin: 2rem;
}

.news-meta {
    margin: 0 2rem;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    gap: 1rem;
}

.news-detail-body {
    padding: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    border-top: 1px solid #eee;
}

.news-navigation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.news-navigation a:hover {
    color: var(--secondary-color);
}

.related-news {
    margin-top: 3rem;
}

.related-news h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

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

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .text-logo {
        font-size: 2rem;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .register-options {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .register-button {
        min-width: calc(50% - 0.5rem);
    }

    .news-detail-header h1 {
        font-size: 2rem;
        margin: 1rem;
    }

    .news-detail-header img {
        height: 250px;
    }

    .news-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
