/* ===================================
GLOBAL RESET
=================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ===================================
BASE BODY
=================================== */

body {
    font-family: 'Inter', sans-serif;
    background: #F9FAFB;
    color: #1F2933;
    line-height: 1.6;
}


/* ===================================
TYPOGRAPHY
=================================== */

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}


/* ===================================
LINKS
=================================== */

a {
    text-decoration: none;
    color: #2C7A7B;
    transition: 0.25s;
}

a:hover {
    opacity: 0.8;
}


/* ===================================
IMAGES
=================================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ===================================
LISTS
=================================== */

ul {
    list-style: none;
}


/* ===================================
CONTAINER
=================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ===================================
SECTION STRUCTURE
=================================== */

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-lg {
    padding: 120px 0;
}


/* ===================================
SECTION TITLE
=================================== */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: auto;
}


/* Golden underline */

.section-title h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #C9A227;
    margin: 15px auto 0;
}


/* ===================================
GRID SYSTEM
=================================== */

.grid {
    display: grid;
    gap: 30px;
}

/* 2 column grid */

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* 3 column grid */

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* 4 column grid */

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}


/* ===================================
FLEX HELPERS
=================================== */

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}


/* ===================================
CARD BASE STYLE
=================================== */

.card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}


/* ===================================
CARD IMAGE CONTROL
=================================== */

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}


/* ===================================
IMAGE WRAPPER
Prevents stretching or misalignment
=================================== */

.img-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ===================================
SPACING UTILITIES
=================================== */

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.pt-40 {
    padding-top: 40px;
}

.pb-40 {
    padding-bottom: 40px;
}


/* ===================================
TEXT ALIGNMENT
=================================== */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}


/* ===================================
RESPONSIVE GRID
=================================== */

@media(max-width:1024px) {

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:768px) {

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

}

/* ===================================
TOPBAR
=================================== */

.topbar {
    background: #2C7A7B;
    color: white;
    font-size: 14px;
}


/* container inside topbar */

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}


/* left side */

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* right side */

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* links */

.topbar a {
    color: white;
    font-size: 13px;
}

.topbar a:hover {
    text-decoration: underline;
}


/* icons spacing if used */

.topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}


/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px) {

    /* hide email & phone */

    .topbar-left {
        display: none;
    }

    .topbar-inner {
        justify-content: center;
    }

    .topbar-right {
        gap: 20px;
    }

}

/* ===================================
HEADER
=================================== */

header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
}


/* navbar container */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}


/* ===================================
LOGO
=================================== */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}


/* ===================================
NAVIGATION LINKS
=================================== */

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: #1F2933;
}

.nav-links a:hover {
    color: #2C7A7B;
}


/* ===================================
REQUEST BADGE
=================================== */

.request-link {
    position: relative;
}

.request-badge {
    background: #C9A227;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}


/* ===================================
USER SECTION
=================================== */

.nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* ===================================
USER DROPDOWN
=================================== */

.user-dropdown {
    position: relative;
}

.user-name {
    font-weight: 600;
    color: #2C7A7B;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
}

.user-name:hover {
    background: #F3F7F7;
}


/* dropdown menu */

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 110%;
    background: white;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    display: none;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #333;
}

.dropdown-menu a:hover {
    background: #F3F7F7;
}


/* show dropdown on hover */

.user-dropdown:hover .dropdown-menu {
    display: block;
}

/* ===================================
BUTTON BASE
=================================== */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
}


/* ===================================
PRIMARY BUTTON
Main action buttons
=================================== */

.btn-primary {
    background: #C9A227;
    color: white;
}

.btn-primary:hover {
    background: #b8931f;
}


/* ===================================
SECONDARY BUTTON
Outline style
=================================== */

.btn-secondary {
    border: 2px solid #2C7A7B;
    color: #2C7A7B;
    background: transparent;
}

.btn-secondary:hover {
    background: #2C7A7B;
    color: white;
}


/* ===================================
LOGIN BUTTON
=================================== */

.btn-login {
    border: 1px solid #2C7A7B;
    color: #2C7A7B;
    padding: 8px 16px;
    border-radius: 6px;
}

.btn-login:hover {
    background: #2C7A7B;
    color: white;
}


/* ===================================
REGISTER BUTTON
=================================== */

.btn-register {
    background: #C9A227;
    color: white;
    padding: 9px 18px;
    border-radius: 6px;
}

.btn-register:hover {
    background: #b8931f;
}


/* ===================================
DASHBOARD BUTTON
=================================== */

.btn-backtodashboard {
    border: 2px solid #2C7A7B;
    color: #2C7A7B;
    padding: 10px 18px;
    border-radius: 6px;
}

.btn-backtodashboard:hover {
    background: #2C7A7B;
    color: white;
}


/* ===================================
FULL WIDTH BUTTON
For forms
=================================== */

.btn-block {
    display: block;
    width: 100%;
}


/* ===================================
BUTTON GROUP
=================================== */

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/* ===================================
RESPONSIVE BUTTONS
=================================== */

@media(max-width:768px) {

    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

}

/* ===================================
HERO SECTION
=================================== */

.hero {
    background: linear-gradient(120deg, #2C7A7B, #3FA3A5);
    color: white;
    padding: 120px 0;
}


/* hero container */

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* ===================================
HERO CONTENT
=================================== */

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #E6F2F2;
}


/* ===================================
HERO BUTTONS
=================================== */

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons a {
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 600;
}


/* ===================================
HERO IMAGE
=================================== */

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 450px;
    width: 100%;
}


/* ===================================
CENTERED HERO (HOME PAGE)
=================================== */

.hero-center {
    text-align: center;
}

.hero-center .hero-content {
    margin: auto;
}

.hero-center .hero-buttons {
    justify-content: center;
}


/* ===================================
RESPONSIVE
=================================== */

@media(max-width:1024px) {

    .hero h1 {
        font-size: 38px;
    }

}

@media(max-width:768px) {

    .hero {
        padding: 80px 0;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image img {
        max-width: 300px;
    }

}

/* ===================================
GENERIC SECTION STRUCTURE
=================================== */

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-lg {
    padding: 120px 0;
}


/* ===================================
SECTION TITLE
=================================== */

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #1F2933;
}

.section-title p {
    max-width: 650px;
    margin: auto;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}


/* ===================================
GOLDEN UNDERLINE
=================================== */

.section-title h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #C9A227;
    margin: 15px auto 0;
}


/* ===================================
LEFT ALIGNED TITLE OPTION
=================================== */

.section-title-left {
    text-align: left;
}

.section-title-left h2::after {
    margin: 15px 0 0 0;
}


/* ===================================
DARK SECTION (for contrast areas)
=================================== */

.section-dark {
    background: #F3F7F7;
}


/* ===================================
LIGHT SECTION
=================================== */

.section-light {
    background: #FFFFFF;
}


/* ===================================
CONTENT WRAPPER
=================================== */

.section-content {
    max-width: 1000px;
    margin: auto;
}


/* ===================================
SECTION DIVIDER
=================================== */

.section-divider {
    width: 100%;
    height: 1px;
    background: #E5E7EB;
    margin: 60px 0;
}


/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px) {

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title p {
        font-size: 15px;
    }

}

/* ===================================
CARD BASE
=================================== */

.card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}


/* ===================================
CARD IMAGE WRAPPER
=================================== */

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 15px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ===================================
CARD CONTENT
=================================== */

.card-content {
    text-align: center;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.card-content p {
    font-size: 14px;
    color: #666;
}


/* ===================================
PROFILE CARD
=================================== */

.profile-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.profile-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.profile-card-body {
    padding: 18px;
}

.profile-card h4 {
    margin-bottom: 5px;
}

.profile-card p {
    font-size: 14px;
    color: #666;
}


/* ===================================
SERVICE CARD
=================================== */

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card img {
    height: 60px;
    margin: auto;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}


/* ===================================
DASHBOARD CARD
=================================== */

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.dashboard-card h3 {
    font-size: 26px;
    margin-bottom: 5px;
    color: #2C7A7B;
}

.dashboard-card p {
    color: #666;
    font-size: 14px;
}


/* ===================================
CARD ACTION AREA
=================================== */

.card-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px) {

    .card {
        padding: 20px;
    }

    .profile-card img {
        height: 200px;
    }

}

/* ===================================
GENERIC GRID
=================================== */

.grid {
    display: grid;
    gap: 30px;
}


/* ===================================
PROFILE GRID
Featured profiles / search results
=================================== */

.profiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


/* ===================================
STEPS GRID
How it works section
=================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-card img {
    height: 60px;
    margin: auto;
    margin-bottom: 15px;
}


/* ===================================
SERVICE GRID
Homepage services
=================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


/* ===================================
TRUST GRID
Trust / Safety section
=================================== */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}


/* ===================================
DASHBOARD GRID
=================================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}


/* ===================================
FILTER BOX
(Search / profile filters)
=================================== */

.filter-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-box input,
.filter-box select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}


/* ===================================
RESPONSIVE GRID
=================================== */

@media(max-width:1024px) {

    .profiles,
    .steps,
    .service-grid,
    .trust-grid,
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ===================================
MOBILE GRID
=================================== */

@media(max-width:768px) {

    .profiles,
    .steps,
    .service-grid,
    .trust-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 25px;
    }

}

/* ===================================
FORM CONTAINER
=================================== */

.form-container {
    max-width: 420px;
    margin: auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
}


/* ===================================
FORM GROUP
=================================== */

.form-group {
    margin-bottom: 18px;
}


/* ===================================
LABELS
=================================== */

label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}


/* ===================================
INPUTS
=================================== */

input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: 0.2s;
}

textarea {
    min-height: 100px;
    resize: vertical;
}


/* focus state */

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2C7A7B;
}


/* ===================================
FORM BUTTON AREA
=================================== */

.form-actions {
    margin-top: 20px;
}


/* ===================================
FORM LINKS
=================================== */

.form-link {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}


/* ===================================
ERROR MESSAGE
=================================== */

.error {
    color: #c0392b;
    font-size: 13px;
    margin-bottom: 10px;
}


/* ===================================
SUCCESS MESSAGE
=================================== */

.success-msg {
    background: #e6f7f0;
    border: 1px solid #2C7A7B;
    padding: 12px;
    border-radius: 6px;
    color: #2C7A7B;
    margin-bottom: 20px;
    text-align: center;
}


/* ===================================
FILTER FORM (SEARCH PAGE)
=================================== */

.filter-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-box input,
.filter-box select {
    min-width: 180px;
}


/* ===================================
RESPONSIVE FORMS
=================================== */

@media(max-width:768px) {

    .form-container {
        padding: 25px;
    }

    input,
    select,
    textarea {
        font-size: 14px;
    }

}

/* ===================================
PROFILE COMPLETION BOX
=================================== */

.profile-completion {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.profile-completion h3 {
    font-size: 18px;
    margin-bottom: 8px;
}


/* ===================================
PROGRESS BAR
=================================== */

.progress-bar {
    background: #eee;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    background: #2C7A7B;
    height: 100%;
    transition: 0.4s;
}


/* ===================================
DASHBOARD CARD
=================================== */

.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.dashboard-card h3 {
    font-size: 28px;
    margin-bottom: 6px;
    color: #2C7A7B;
}

.dashboard-card p {
    font-size: 14px;
    color: #666;
}


/* ===================================
QUICK ACTIONS
=================================== */

.quick-actions {
    margin-top: 30px;
}

.quick-actions h3 {
    margin-bottom: 15px;
}


/* ===================================
ACTION BUTTON GRID
=================================== */

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.action-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.25s;
}

.action-card:hover {
    transform: translateY(-3px);
}

.action-card h4 {
    margin-top: 10px;
    font-size: 16px;
}


/* ===================================
NOTIFICATION BOX
=================================== */

.notification-box {
    background: #F3F7F7;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.notification-item {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.notification-item:last-child {
    border-bottom: none;
}


/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px) {

    .action-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card h3 {
        font-size: 24px;
    }

}

/* ===================================
CHAT CONTAINER
=================================== */

.chat-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}


/* ===================================
CONVERSATION LIST
=================================== */

.conversation-list {
    width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}


/* conversation item */

.conversation-item {
    display: flex;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #333;
    gap: 12px;
    transition: all 0.2s ease;
}

.conversation-item:hover {
    background: #F3F7F7;
}

/* active conversation */

.conversation-item.active {
    background: #E6F4F4;
}

.conversation-item img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.conversation-info {
    flex: 1;
}

.conversation-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.conversation-info p {
    font-size: 13px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ===================================
CHAT AREA
=================================== */

.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* ===================================
MESSAGE BOX
=================================== */

.chat-box {
    background: #f9fbfb;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-height: 450px;
    overflow-y: auto;
    margin-bottom: 15px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* ===================================
MESSAGE BUBBLES
=================================== */

.chat-message {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;

    animation: fadeIn 0.2s ease;
}

/* my message */

.chat-me {
    background: #2C7A7B;
    color: white;
    margin-left: auto;
    text-align: right;
    border-bottom-right-radius: 4px;
}

/* received message */

.chat-them {
    background: #ffffff;
    color: #333;
    border: 1px solid #eee;
    border-bottom-left-radius: 4px;
}


/* ===================================
MESSAGE TIME
=================================== */

.chat-time {
    font-size: 11px;
    margin-top: 5px;
    opacity: 0.7;
}


/* ===================================
CHAT INPUT
=================================== */

.chat-input {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.chat-input textarea {
    flex: 1;
    height: 70px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    resize: none;
    font-family: inherit;
}

.chat-input textarea:focus {
    outline: none;
    border-color: #2C7A7B;
    box-shadow: 0 0 0 2px rgba(44,122,123,0.1);
}

.chat-input button {
    height: 42px;
}


/* ===================================
SCROLLBAR (PREMIUM TOUCH)
=================================== */

.chat-box::-webkit-scrollbar {
    width: 6px;
}

.chat-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.chat-box::-webkit-scrollbar-thumb:hover {
    background: #999;
}


/* ===================================
ANIMATION
=================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===================================
RESPONSIVE CHAT
=================================== */

@media(max-width:768px) {

    .chat-container {
        flex-direction: column;
    }

    .conversation-list {
        width: 100%;
    }

    .chat-box {
        max-height: 350px;
    }

    .chat-message {
        max-width: 85%;
    }
}

/* ===================================
PHOTO GRID
=================================== */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}


/* ===================================
PHOTO CARD
=================================== */

.photo-card {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}


/* ===================================
PHOTO IMAGE
=================================== */

.photo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}


/* ===================================
DELETE BUTTON
=================================== */

.delete-btn {
    display: block;
    margin-top: 10px;
    color: #c0392b;
    font-size: 14px;
    text-decoration: none;
}

.delete-btn:hover {
    text-decoration: underline;
}


/* ===================================
UPLOAD CARD
=================================== */

.upload-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #777;
    background: #fafafa;
}

.upload-card:hover {
    border-color: #2C7A7B;
    color: #2C7A7B;
}


/* ===================================
UPLOAD INPUT (hidden)
=================================== */

.upload-input {
    display: none;
}


/* ===================================
RESPONSIVE PHOTO GRID
=================================== */

@media(max-width:768px) {

    .photo-grid {
        gap: 15px;
    }

    .photo-card img {
        height: 180px;
    }

}

/* ===================================
SETTINGS BOX
=================================== */

.settings-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 700px;
}


/* ===================================
SETTINGS TITLE
=================================== */

.settings-box h3 {
    margin-bottom: 20px;
}


/* ===================================
SETTING ROW
=================================== */

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.setting-row:last-child {
    border-bottom: none;
}


/* ===================================
SETTING INFO
=================================== */

.setting-info {
    flex: 1;
}

.setting-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.setting-info p {
    font-size: 14px;
    color: #666;
}


/* ===================================
SETTING ACTION
=================================== */

.setting-action {
    margin-left: 20px;
}


/* ===================================
VERIFICATION BADGES
=================================== */

.verified-badge {
    color: #2C7A7B;
    font-weight: 600;
    font-size: 14px;
    margin-left: 8px;
}

.unverified-badge {
    color: #c0392b;
    font-weight: 600;
    font-size: 14px;
    margin-left: 8px;
}


/* ===================================
VERIFY BUTTON
=================================== */

.verify-btn {
    font-size: 13px;
    padding: 6px 12px;
}


/* ===================================
SECURITY SECTION
=================================== */

.security-section {
    margin-top: 30px;
}

.security-section h3 {
    margin-bottom: 15px;
}


/* ===================================
RESPONSIVE SETTINGS
=================================== */

@media(max-width:768px) {

    .setting-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .setting-action {
        margin-left: 0;
    }

    .settings-box {
        padding: 25px;
    }

}

/* ===================================
PRIVACY / TRUST SECTION
=================================== */

.privacy {
    background: #F3F7F7;
}


/* layout */

.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


/* text area */

.privacy-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.privacy-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}


/* golden underline */

.privacy-content h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #C9A227;
    margin: 15px 0 0 0;
}


/* illustration */

.privacy-image {
    text-align: center;
}

.privacy-image img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* ===================================
TRUST POINTS
=================================== */

.trust-points {
    margin-top: 25px;
}

.trust-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.trust-point span {
    color: #2C7A7B;
    font-weight: 600;
}


/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px) {

    .privacy-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .privacy-content h2::after {
        margin: 15px auto 0;
    }

    .privacy-image img {
        max-width: 260px;
    }

}

/* ===================================
POSITIVE MESSAGE SECTION
=================================== */

.positive-section {
    text-align: center;
    padding: 80px 20px;
    background: #F3F7F7;
}


/* heading */

.positive-section h2 {
    font-size: 34px;
    margin-bottom: 15px;
    color: #2C7A7B;
}


/* golden underline */

.positive-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #C9A227;
    margin: 15px auto 0;
}


/* text */

.positive-section p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 20px auto 30px auto;
    line-height: 1.7;
}


/* illustration */

.positive-section img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* ===================================
RESPONSIVE
=================================== */

@media(max-width:768px) {

    .positive-section {
        padding: 60px 20px;
    }

    .positive-section h2 {
        font-size: 28px;
    }

    .positive-section p {
        font-size: 16px;
    }

    .positive-section img {
        max-width: 260px;
    }

}

/* ===================================
FOOTER
=================================== */

footer {
    background: #2C7A7B;
    color: white;
    padding: 60px 0 30px 0;
}


/* footer grid */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}


/* footer logo */

.footer-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 10px;
}

.footer-logo h3 {
    margin-bottom: 5px;
}

.footer-logo p {
    font-size: 14px;
    color: #E6F2F2;
}


/* footer headings */

.footer-grid h4 {
    margin-bottom: 12px;
    font-size: 16px;
}


/* footer links */

.footer-grid a {
    display: block;
    color: #E6F2F2;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-grid a:hover {
    text-decoration: underline;
}


/* footer bottom */

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.footer-bottom a {
    color: #E6F2F2;
}


/* ===================================
RESPONSIVE FOOTER
=================================== */

@media(max-width:1024px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media(max-width:768px) {

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo img {
        margin: auto;
    }

}

/* ============================
HAMBURGER MENU
============================ */

.nav-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}


/* Mobile Navigation */

@media(max-width:768px) {

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        display: none;
        border-top: 1px solid #eee;
    }

    .nav-links a {
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

}

/* PROFILE LAYOUT FIX */

.profile-view {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* IMAGE SECTION */

.photo-viewer {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.profile-photo {
    display: none;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.profile-photo.active {
    display: block;
}

/* ARROWS */

.photo-prev,
.photo-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.photo-prev {
    left: 10px;
}

.photo-next {
    right: 10px;
}

/* DETAILS */

.profile-details {
    flex: 1;
    min-width: 280px;
}

/* ACTION BUTTONS */

.profile-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-actions form {
    margin: 0;
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}