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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(to bottom, #f8fbff, #eaf4fb);
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(18, 38, 63, 0.06);
    border-bottom: 1px solid rgba(18, 38, 63, 0.04);
}

.navbar-container {
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.6rem;        /* increase size */
    font-weight: 700;
    color: #0f2130;
    letter-spacing: 0.5px;
}

.navbar-logo a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.navbar-logo a:hover {
    opacity: 0.95;
}

.logo-img {
    height: 52px;
    width: 52px;              /* equal width & height */
    border-radius: 50%;       /* makes it circular */
    object-fit: cover;        /* keeps image nicely cropped */
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #0f2130;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.22s ease, border-color 0.22s ease;
    padding: 0.45rem 0.9rem;
}

.nav-link:hover {
    color: #0077b6;
    border-bottom: 2px solid rgba(0,119,182,0.15);
}

/* Active nav link styling */
.nav-link.active {
    color: #005f8a;
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -6px;
    height: 3px;
    background: linear-gradient(90deg, #00a8e8, #0077b6);
    border-radius: 2px;
}

/* Auth Button */
.nav-auth {
    display: flex;
    align-items: center;
}

.auth-button {
    padding: 0.6rem 1.5rem;
    background-color: #00a8e8;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.auth-button:hover {
    background-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.4);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(180deg, rgba(34,49,63,0.28), rgba(10,10,10,0.28)),
                url('../images/botsforstuff.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-logo {
    font-size: 260px;
    line-height: 1;
    animation: fadeInUp 0.8s ease;
    color: rgba(255,255,255,0.98);
    text-shadow: 4px 4px 20px rgba(0,0,0,0.45);
}

.hero-content {
    flex: 1;
    max-width: 900px;
    padding: 3rem 4rem;
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
    background: linear-gradient(180deg, rgba(0,0,0,0.36), rgba(0,0,0,0.12));
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.45);
    text-align: left;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35);
    line-height: 1.9;
    text-align: left;
    color: rgba(255,255,255,0.95);
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    background-color: #00a8e8;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
}

.cta-button:hover {
    background-color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.6);
}

/* Hero Section Variants */
.hero-contact {
    background: linear-gradient(180deg, rgba(255,107,107,0.18), rgba(201,42,42,0.18)),
                url('../images/botsforstuff.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section-page {
    background: linear-gradient(180deg, rgba(78,205,196,0.16), rgba(68,160,141,0.16)),
                url('../images/botsforstuff.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    min-height: 400px;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .hero-logo {
        font-size: 120px;
        margin-top: 2rem;
    }

    .hero-content {
        padding: 2rem 1.25rem;
        background: linear-gradient(180deg, rgba(0,0,0,0.38), rgba(0,0,0,0.18));
        margin: 1rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .navbar-container {
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: auto;
    }

    .hero-logo {
        font-size: 80px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .navbar-logo a {
        font-size: 1.2rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.3rem 0.7rem;
    }
}

/* Contact Captcha */
.contact-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.captcha-images {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    overflow-x: auto;
}

.captcha-option {
    flex: 0 0 auto;
    display: inline-flex;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 10px;
    padding: 5px;
    transition: all 0.3s ease;
}

.captcha-label {
    display: inline-flex;
}

.captcha-option img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    display: inline-block;
}

.captcha-option.selected {
    border-color: #00a8e8;
    box-shadow: 0 0 12px rgba(0, 168, 232, 0.7);
}

/* Messages/Alerts */
.messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    max-width: 420px;
}

.alert {
    background-color: #e8f7ee;
    border: 1px solid #2e7d32;
    color: #1b5e20;
    padding: 0.9rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    animation: slideIn 0.25s ease-out;
}

.alert.alert-error,
.alert.alert-danger {
    background-color: #fdecea;
    border-color: #d32f2f;
    color: #b71c1c;
}

.alert.alert-warning {
    background-color: #fff4e5;
    border-color: #f57c00;
    color: #e65100;
}

.alert.alert-info {
    background-color: #e8f4fd;
    border-color: #1976d2;
    color: #0d47a1;
}

.alert-close {
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.alert-close:hover {
    opacity: 1;
}

.alert.is-closing {
    animation: slideOut 0.25s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(30px);
        opacity: 0;
    }
}
