/* tinglo.css - Friendly Design for Tinglo Landing Page */

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

body {
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0077ff;
}

.navbar ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #0077ff;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    color: #fff;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background: #0077ff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, background 0.3s;
}

.btn-primary:hover {
    background: #005dc1;
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0077ff;
}

.section p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: #555;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

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

.feature-card i {
    color: #0077ff;
    margin-bottom: 15px;
}

/* Chat Section */
.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    background: #fff;
    color: #0077ff;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #0077ff;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #0077ff;
    color: #fff;
}

/* Footer */
footer {
    background: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* Floating Background Icons */
body::before,
body::after {
    content: "\f075";
    /* fa-comments icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    animation: float 8s infinite ease-in-out;
}

body::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

body::after {
    bottom: 20%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .navbar ul {
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        display: none;
    }
}