/* Global Styles */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: #f9f9f9;
    color: #333;
}

h1, h2, h3 {
    font-weight: 600;
    margin: 10px 0;
}

/* Container (for forms, boxes, etc.) */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Forms */
form {
    margin-top: 10px;
}
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
    border-color: #007bff;
    outline: none;
}
button {
    padding: 12px;
    width: 100%;
    background: #007bff;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}
button:hover {
    background: #0056b3;
}

/* Messages */
.error { color: red; font-size: 14px; margin: 5px 0; }
.success { color: green; font-size: 14px; margin: 5px 0; }

/* Homepage - Stats Boxes */
.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    flex-wrap: wrap;
}
.stat-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    width: 250px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.stat-box h2 {
    font-size: 28px;
    margin: 0;
    color: #007bff;
}
.stat-box p {
    margin-top: 6px;
    color: #666;
}

/* Ads Section */
.ads {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.ads h3 {
    margin-bottom: 20px;
    color: #007bff;
}

/* Navigation */
header {
    background: #fff;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    text-align: center;
}
header h1 {
    margin: 0;
    color: #007bff;
}
nav {
    margin-top: 10px;
}
nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}
nav a:hover {
    color: #0056b3;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 0 0 20px 20px;
}
.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}
.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #343a40;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-top: 50px;
}

/* Sticky Ads */
.sticky-ad {
    position: fixed;
    top: 100px; /* distance from top */
    z-index: 999;
}
.left-ad {
    left: 10px; /* left margin */
}
.right-ad {
    right: 10px; /* right margin */
}
.sticky-ad img {
    width: 160px;
    height: 600px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.sticky-ad img:hover {
    transform: scale(1.05);
}

