/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #265f9d !important; /* More business-like blue */
    --secondary-color: #593ae5;
    --text-color: #333;
    --background-color: #f2f7d9;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
     background: linear-gradient(135deg, #fdfef3 0%, #f7f7f2 100%);
	   padding-top: 76px; /* Adjust this value based on your header height */
	
}

.navbar {
    min-height: 60px; /* Set a minimum height for the navbar */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}
.profile-header-link {
    display: inline-block;
    margin-left: 10px;
    text-decoration: none;
}

.profile-header-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;

}

.profile-header-img:hover {
    border-color: #007bff;
}

/* Hero Section */
.hero {
margin-top: -76px; /* This will offset the body padding for the hero section */
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
	 
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button .btn {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.duration {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 15px;
    background-color: var(--background-color);
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact input,
.contact select,
.contact textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact textarea {
    height: 150px;
    resize: vertical;
}

.contact .btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact .btn:hover {
    background-color: #2980b9;
}

/* Search Box */
.search-box {
    max-width: 600px;
    margin: 0 auto;
}

.search-box .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 5px;
}

.search-box .form-control {
    border: none;
    border-radius: 25px;
    padding: 15px 25px;
    background: white;
}

.search-box .search-btn {
    border-radius: 25px;
    padding: 10px 30px;
    margin-left: 5px;
    background: var(--bs-secondary);
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-box .search-btn:hover {
    background: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Additional Styles for joinchat.org */
.search-box {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.search-box input {
    padding: 15px 20px;
    width: 60%;
    max-width: 500px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.btn-small {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.btn-small:hover {
    background-color: var(--secondary-color);
}

.members {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 15px;
    background-color: var(--background-color);
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.room-list {
    margin-top: 20px;
}

.room-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.room-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.room-item p {
    color: #666;
    font-size: 0.9rem;
}

.profile-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card p {
    color: #666;
}

#room-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Animations */
.revealed {
    animation: reveal 0.8s ease-out;
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
    
    .hero-section h1 {
        margin-top: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
    }
}


@media (max-width: 768px) {
    .search-box input {
        width: 80%;
    }
    
    .profile-stats {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.tags .badge {
    padding: 8px 12px;
    margin: 2px;
    font-size: 0.9em;
    font-weight: normal;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tags .badge:hover {
    background-color: #5a6268;
    text-decoration: none;
}

.post-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    animation: fadeIn 0.5s;
}

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

.like-btn {
    transition: all 0.3s;
}

.like-btn.liked {
    background: var(--primary-color);
    color: white !important;
}

.replies {
    margin-top: 10px;
    transition: all 0.3s;
}

.permalink {
    font-size: 0.8em;
    color: #666;
    text-decoration: none;
}

.permalink:hover {
    text-decoration: underline;
}

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