* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f7f9ff;
    color: #17213c;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: white;
}

.logo {
    font-size: 27px;
    font-weight: 900;
    color: #2455e8;
}

.logo span {
    color: #17213c;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: bold;
}

.nav-login {
    color: #2455e8;
}

.nav-register {
    background: #2455e8;
    color: white;
    padding: 13px 23px;
    border-radius: 8px;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 9%;
    min-height: 650px;
    background: linear-gradient(120deg, #eef3ff, #ffffff);
    gap: 50px;
}

.hero-content {
    max-width: 550px;
}

.badge {
    display: inline-block;
    background: #dfe8ff;
    color: #2455e8;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 62px;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #2455e8;
}

.hero-content > p {
    color: #68738a;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    padding: 16px 24px;
    text-decoration: none;
    border-radius: 9px;
    font-weight: bold;
}

.primary-btn {
    background: #2455e8;
    color: white;
}

.secondary-btn {
    background: white;
    color: #2455e8;
    border: 1px solid #d9e1f5;
}

.community {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.avatars {
    display: flex;
}

.avatars span {
    width: 38px;
    height: 38px;
    background: #dfe8ff;
    border: 2px solid white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-left: -7px;
}

.community p {
    color: #68738a;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    width: 430px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2455e8, #8aabff);
    display: grid;
    place-items: center;
    box-shadow: 0 25px 60px #2455e833;
}

.circle-inner {
    width: 220px;
    height: 220px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.circle-inner span {
    font-size: 100px;
    font-weight: 900;
    color: #2455e8;
}

.circle-inner p {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
}

.visual-card {
    position: absolute;
    z-index: 2;
    background: white;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 15px 35px #17213c18;
}

.visual-card span {
    font-size: 25px;
}

.visual-card h3 {
    font-size: 14px;
    margin: 10px 0 5px;
}

.visual-card p {
    font-size: 11px;
    color: #778198;
}

.card-one {
    top: 20px;
    left: -10px;
}

.card-two {
    bottom: 20px;
    right: -10px;
}

.features {
    padding: 80px 8%;
    text-align: center;
}

.features h2 {
    font-size: 32px;
    margin-bottom: 45px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature {
    background: white;
    padding: 35px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px #17213c08;
}

.feature span {
    font-size: 40px;
}

.feature h3 {
    margin: 20px 0 12px;
}

.feature p {
    color: #778198;
    line-height: 1.7;
    font-size: 13px;
}

footer {
    text-align: center;
    background: #17213c;
    color: white;
    padding: 45px 20px;
}

footer h2 {
    color: #8aabff;
    margin-bottom: 15px;
}

footer p {
    color: #c5cce0;
    margin-top: 10px;
    font-size: 13px;
}

@media (max-width: 850px) {

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 65px 6%;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-buttons,
    .community {
        justify-content: center;
    }

    .hero-visual {
        max-width: 100%;
        transform: scale(.85);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        gap: 12px;
    }
}

@media (max-width: 550px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-visual {
        transform: scale(.7);
        margin: -40px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}
/* VICKY WEB LOGIN AND REGISTRATION */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    padding: 50px 8%;
    background: linear-gradient(135deg, #edf2ff, #ffffff);
}

.auth-brand {
    max-width: 420px;
}

.auth-brand > a {
    text-decoration: none;
    font-size: 35px;
    font-weight: 900;
    color: #2455e8;
}

.auth-brand > a span {
    color: #17213c;
}

.auth-brand h1 {
    font-size: 48px;
    margin: 35px 0 15px;
}

.auth-brand p {
    color: #68738a;
    font-size: 17px;
    line-height: 1.8;
}

.auth-box {
    width: 100%;
    max-width: 450px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px #17213c12;
}

.auth-box h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #8490a5;
    margin-bottom: 25px;
    font-size: 14px;
}

.auth-box label {
    display: block;
    margin: 17px 0 8px;
    font-size: 14px;
    font-weight: bold;
}

.auth-box input {
    width: 100%;
    padding: 15px;
    border: 1px solid #dce2ee;
    border-radius: 9px;
    outline: none;
    font-size: 14px;
}

.auth-box input:focus {
    border-color: #2455e8;
}

.auth-button {
    width: 100%;
    padding: 16px;
    margin-top: 25px;
    background: #2455e8;
    color: white;
    border: none;
    border-radius: 9px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.auth-button:hover {
    background: #173fc0;
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #68738a;
}

.auth-switch a {
    color: #2455e8;
    font-weight: bold;
    text-decoration: none;
}

.back-home {
    display: block;
    text-align: center;
    margin-top: 25px;
    color: #2455e8;
    text-decoration: none;
    font-size: 14px;
}

@media(max-width: 850px) {
    .auth-container {
        flex-direction: column;
        gap: 35px;
    }

    .auth-brand {
        text-align: center;
    }

    .auth-brand h1 {
        font-size: 35px;
    }
}

@media(max-width: 500px) {
    .auth-container {
        padding: 30px 15px;
    }

    .auth-box {
        padding: 25px;
    }
}
/* VICKY WEB HOMEPAGE */

.social-body {
    background: #f0f2f5;
    margin: 0;
    font-family: Arial, sans-serif;
}

.social-header {
    background: white;
    padding: 15px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 2px 8px #ddd;
    flex-wrap: wrap;
}

.social-header h1 {
    color: #1877f2;
}

.social-header input {
    padding: 13px;
    border: none;
    background: #f0f2f5;
    border-radius: 25px;
    width: 260px;
}

.social-header nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-header a,
.social-sidebar a {
    text-decoration: none;
    color: #1877f2;
    font-weight: bold;
}

.social-header button,
.create-post button {
    background: #1877f2;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.social-layout {
    display: grid;
    grid-template-columns: 220px minmax(300px, 650px) 220px;
    justify-content: center;
    gap: 20px;
    padding: 25px 15px;
}

.social-sidebar,
.social-right,
.welcome-card,
.create-post,
.post-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px #ddd;
}

.social-sidebar a {
    display: block;
    margin: 20px 0;
}

.welcome-card h2 {
    color: #1877f2;
}

.create-post textarea {
    width: 100%;
    height: 90px;
    border: none;
    background: #f0f2f5;
    border-radius: 10px;
    padding: 12px;
    box-sizing: border-box;
    resize: vertical;
}

.create-post button {
    margin-top: 12px;
    width: 100%;
}

.post-card p {
    line-height: 1.7;
}

@media(max-width: 900px) {
    .social-layout {
        grid-template-columns: 1fr;
    }

    .social-sidebar,
    .social-right {
        display: none;
    }

    .social-header {
        justify-content: center;
    }
}
/* VICKY WEB PROFILE PAGE */

.profile-container {
    max-width: 850px;
    margin: 35px auto;
    padding: 15px;
}

.profile-cover {
    background: linear-gradient(135deg, #1877f2, #5a9cf5);
    color: white;
    padding: 65px 25px;
    border-radius: 15px 15px 0 0;
}

.profile-information {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 2px 10px #ddd;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e4e6eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 65px;
    margin: -80px auto 20px;
    border: 5px solid white;
}

.profile-information h2 {
    color: #1877f2;
}

.profile-information button {
    background: #1877f2;
    color: white;
    padding: 13px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.profile-picture {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    background: #e4e6eb;
    margin: -80px auto 20px;
    border: 5px solid white;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

#photoInput {
    display: block;
    margin: 20px auto;
    max-width: 100%;
}

#uploadPhotoBtn {
    background: #1877f2;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
#postsContainer {
    width: 100%;
}

#postsContainer .post-card {
    margin-top: 20px;
    overflow-wrap: anywhere;
}

#postsContainer .post-card img {
    margin-top: 12px;
    max-height: 600px;
    object-fit: contain;
}

.create-post input {
    display: block;
    margin-top: 15px;
    max-width: 100%;
}