* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #bc9679;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1000px;
    width: 90%;
    margin: 40px auto;
    text-align: center;
    border: 10px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    z-index: 10;
    background-color: rgba(188, 150, 121, 0.9);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.logo {
    margin-bottom: 40px;
}

.logo img {
    max-width: 200px;
    height: auto;
}

/* Content styling */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.tagline {
    font-size: 1.4rem;
    line-height: 1.6;
    max-width: 80%;
    margin: 0 auto;
}

/* Button styling */
.contact-btn {
    background-color: #ffffff;
    color: #bc9679;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #bc9679;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup {
    background-color: #ffffff;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.overlay.active .popup {
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.popup-header h3 {
    color: #bc9679;
    font-size: 1.5rem;
}

.close-btn {
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #bc9679;
}

/* Form styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #bc9679;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #a98569;
}

.login-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    background-color: #ffffff;
    color: #bc9679;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.user-section {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
}

.welcome-text {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.logout-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: #ffffff;
    color: #bc9679;
}

.news-section {
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding: 30px;
    border-radius: 15px;
    text-align: left;
    max-height: 500px;
    overflow-y: auto;
}

.news-section::-webkit-scrollbar {
    width: 8px;
}

.news-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.news-section::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.news-section::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ffffff;
}

.news-item h4 {
    margin-bottom: 8px;
    color: #ffffff;
}

.news-item p {
    line-height: 1.5;
    margin-bottom: 5px;
}

.news-date {
    font-size: 0.9rem;
    opacity: 0.8;
}

.form-switch {
    text-align: center;
    margin-top: 15px;
    color: #666;
}

.form-switch span {
    color: #bc9679;
    cursor: pointer;
    text-decoration: underline;
}

.form-switch span:hover {
    color: #a98569;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding: 20px 0;
    }
    
    .container {
        margin: 20px auto;
    }
    
    .tagline {
        font-size: 1.2rem;
        max-width: 95%;
    }
    
    .container {
        padding: 25px;
        border-width: 6px;
    }
    
    .news-section {
        max-height: 400px;
    }
}
