* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}
li {
    list-style: none;
}

.logo h1 {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav-links li a {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover, .nav-links li a.active {
    color: #4a6bff;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.auth-buttons button {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn {
    background: transparent;
    border: 1px solid #ddd;
}

.login-btn:hover {
    border-color: #4a6bff;
    color: #4a6bff;
}

.join-btn {
    background: #4a6bff;
    color: white;
    border: none;
}

.join-btn:hover {
    background: #3a5bef;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 140px 20px;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(74, 107, 255, 0.1), rgba(74, 107, 255, 0.05));
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #f9f9f9);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2c3e50, #4a6bff);
    background-clip: text;
    color: transparent;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.contact-hero p {
    font-size: 1.25rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.contact-hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.contact-hero .btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-hero .btn-primary {
    background: linear-gradient(135deg, #4a6bff, #3a5bef);
    color: white;
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

.contact-hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 107, 255, 0.4);
}

.contact-hero .btn-secondary {
    background: white;
    color: #4a6bff;
    border: 1px solid #4a6bff;
}

.contact-hero .btn-secondary:hover {
    background: #f5f7ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-content {
    display: flex;
    gap: 3rem;
    max-width: 1200px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h2, .contact-form h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.contact-info h2::after, .contact-form h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4a6bff, transparent);
    border-radius: 3px;
}

.info-card {
    padding: 2rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(74, 107, 255, 0.2);
}

.info-card i {
    font-size: 2rem;
    color: #4a6bff;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.info-card h3 {
    color: #2c3e50;
    margin: 1rem 0;
    font-size: 1.3rem;
}

.info-card p {
    margin: 0.5rem 0;
    color: #555;
    line-height: 1.7;
}

.social-links {
    margin-top: 3rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4a6bff, #3a5bef);
    z-index: -1;
}

.social-icons a:hover {
    transform: translateY(-5px);
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.contact-form-container:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4a6bff;
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
    outline: none;
    background: white;
}

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

.submit-btn {
    background: #58585a;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

.submit-btn:hover::before {
    left: 100%;
}

footer {
    background: #2c3e50;
    color: white;
    padding: 5rem 0 0;
    position: relative;
}

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

.footer-section {
    padding: 0 1rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #4a6bff;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #4a6bff;
}

.footer-section p, .footer-section a {
    color: #ecf0f1;
    line-height: 1.8;
    transition: all 0.3s;
}

.footer-section a {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.footer-section a:hover {
    color: #4a6bff;
    transform: translateX(5px);
}

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

.auth-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.auth-content {
    background: #ffffff;
    width: 450px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.close-auth {
    position: absolute;
    top: 15px; 
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}
.close-auth:hover {
    color: #666;
}

.auth-tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: #777;
    width: 100%;
    text-align: center;
}
.tab-btn:hover {
    color: #313233;
}
.tab-btn.active {
    border-bottom: 3px solid #625e5e;
    color: #000000;
    font-weight: 500;
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    background: #f9f9f9;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}
input:focus {
    border-color: #3d3d3d;
    outline: none;
    background: #fff;
}

button[type="submit"] {
    background: #404142;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
}
button[type="submit"]:hover {
    background: #292929;
}