* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f2f5;
    background-image: linear-gradient(135deg, #f0f2f5, #e5e8eb);
}

/* Header Section */
.header {
    position: relative;
    padding: 40px 20px;
    background-color: #6a4fa2;
    color: #fff;
    text-align: center;
}

.header .logo {
    margin-top: 0px;  
    width: 160px;
    height: auto;
    border: 4px solid #fff;
    border-radius: 10px;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect for Logo */
.header .logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Header Content */
.header-content {
    text-align: center;
}

.header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.header-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Button Styles */
.btn-primary {
    background-color: #be88e2;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
}

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    margin-top: 20px;
}

.nav-links {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #6a4fa2;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f1c40f;
}

/* Section */
.section {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    margin: 40px auto;
    max-width: 1200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.section h2 {
    font-size: 2rem;
    color: #6a4fa2;
    margin-bottom: 20px;
    text-align: center;
}

/* Feature Card Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    font-size: 1.8rem;
    color: #6a4fa2;
    margin-bottom: 15px;
}

.feature-card p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Feature Image Styling */
.feature-image, .feature-video {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    max-width: 400px;
    max-height: 225px;
    border-radius: 10px;
    margin-top: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

/* Hover Effect for Media */
.feature-image:hover, .feature-video:hover {
    transform: scale(1.05);
}

/* First Image */
.feature-image.first, .feature-video.first {
    height: 300px;
}

/* Second Image */
.feature-image.second, .feature-video.second {
    height: 300px;
}

/* Video Styling */
.feature-video {
    max-width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
    margin-top: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

/* Hover Effect for Video (More Zoomed In) */
.feature-video:hover {
    transform: scale(1.1);
}

/* Invite Section */
.invite .btn-primary {
    background-color: #6a4fa2;
    color: #fff;
}

/* Footer */
.footer {
    padding: 20px 0;
    background-color: #6a4fa2;
    color: #fff;
    text-align: center;
    margin-top: 40px;
}

.footer p {
    margin-bottom: 10px;
}

.footer-nav {
    margin-top: 10px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

.footer-nav a:hover {
    color: #f1c40f;
}

/* Privacy Policy & Terms of Service Styles */
.policy-header {
    background: linear-gradient(135deg, #6a4fa2, #8e5fad);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    border-bottom: 5px solid #f1c40f;
}

.policy-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.policy-container {
    padding: 50px 30px;
    max-width: 1000px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    line-height: 1.8;
}

.policy-container h2 {
    font-size: 2.2rem;
    color: #6a4fa2;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid #f1c40f;
    padding-bottom: 5px;
}

.policy-container p {
    margin-bottom: 20px;
    color: #555555;
}

.policy-container ul {
    padding-left: 20px;
    list-style: disc;
    margin-bottom: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
    color: #555555;
}

.policy-container a {
    color: #6a4fa2;
    text-decoration: underline;
}

.policy-container a:hover {
    color: #8e5fad;
}

/* Footer Links in Policy Pages */
.policy-footer {
    text-align: center;
    margin-top: 30px;
}

.policy-footer a {
    color: #6a4fa2;
    text-decoration: none;
    font-weight: bold;
}

.policy-footer a:hover {
    text-decoration: underline;
}

.policy-header .logo {
    margin-top: 0px;
    width: 160px;
    height: auto;
    border: 4px solid #fff;
    border-radius: 10px;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect for Logo */
.policy-header .logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Responsive Adjustments for Privacy Policy & ToS Pages */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2.2rem;
    }

    .policy-container {
        padding: 30px 15px;
    }

    .policy-container h2 {
        font-size: 2rem;
    }

    .policy-container p {
        font-size: 0.95rem;
    }
}

/* Docs Page */
.docs-page {
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 40px auto;
    font-size: 1rem;
    line-height: 1.8;
    display: flex;
    gap: 20px;
}

/* Sidebar */
.docs-sidebar {
    flex: 0 0 250px;
    background: #6a4fa2;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.docs-sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f1c40f;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Sidebar Buttons (Replacing links with buttons) */
.sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-buttons button {
    background-color: #8e5fad;
    color: white;
    font-weight: bold;
    padding: 12px;
    text-align: left;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.sidebar-buttons button:hover {
    background-color: #7c4e8d;  /* Lighter shade for hover effect */
    transform: translateX(10px); /* Pulls the button to the right on hover */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth; /* Enables smooth scrolling when clicking on links */
}

/* Main Content */
.docs-content {
    flex: 1;
}

.docs-content h1 {
    font-size: 2.5rem;
    color: #6a4fa2;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.docs-content h2 {
    font-size: 2rem;
    color: #6a4fa2;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1c40f;
    padding-bottom: 5px;
}

.docs-content p {
    margin-bottom: 20px;
    color: #555555;
}

.docs-content ul {
    padding-left: 20px;
    list-style: disc;
    margin-bottom: 20px;
}

.docs-content ul li {
    margin-bottom: 10px;
    color: #555555;
}

.docs-content a {
    color: #6a4fa2;
    text-decoration: underline;
}

.docs-content a:hover {
    color: #8e5fad;
}

.docs-content .highlight {
    background: #f9f5c5;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .docs-page {
        flex-direction: column;
    }

    .docs-sidebar {
        margin-bottom: 20px;
    }
}

/* Styling for the Back to Home Button */
.back-home-btn {
    background-color: #007bff; /* Button color */
    color: white; /* Text color */
    padding: 10px 20px; /* Button padding */
    border: none;
    border-radius: 5px; /* Rounded corners */
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px; /* Space from logo */
    transition: background-color 0.3s ease;
}

.back-home-btn:hover {
    background-color: #0056b3; /* Darker shade on hover */
}