﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f7fb;
    color: #222;
}

.container {
    width: 90%;
    margin: auto;
}

/* TOP BAR */

.topbar {
    background: white;
    color: #000;
    font-size: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

    .topbar a {
        color: black;
        text-decoration: none;
        margin-left: 15px;
    }

    .topbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

/* HEADER */

.header {
    background: #fff;
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
}

    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .logo-section img {
        width: 60px;
    }

.site-title h1 {
    font-size: 30px;
    color: #003b8e;
}

.site-title p {
    font-size: 14px;
}

/* NAVBAR */

.navbar {
    background: #003b8e;
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

    .navbar .container {
        display: flex;
        justify-content: center;
        gap: 35px;
    }

    .navbar a {
        text-decoration: none;
        color: white !important;
        font-weight: 600;
        transition: 0.3s;
    }

        .navbar a:hover {
            color: #0066ff;
        }

/* HERO */

.hero {
    position: relative;
    height: 600px;
    background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
    background: rgba(0,27,70,0.6);
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
    width: 50%;
}

    .hero-content h1 {
        font-size: 70px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 22px;
        line-height: 1.6;
        margin-bottom: 35px;
    }

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 28px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #006400;
}

/* ABOUT */

.about {
    background: #fff;
    padding: 70px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 30px;
    text-align: center;
}

.about-card {
    padding: 20px;
}

    .about-card i {
        font-size: 45px;
        color: #0a7cff;
        margin-bottom: 20px;
    }

    .about-card h3 {
        margin-bottom: 15px;
        color: #003b8e;
    }

/* HIGHLIGHTS */

.highlights {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #003b8e;
    margin-bottom: 40px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.highlight-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

    .highlight-card i {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .highlight-card h2 {
        font-size: 34px;
        margin-bottom: 10px;
    }

.blue {
    color: #007bff;
}

.green {
    color: #28a745;
}

.orange {
    color: #ff9800;
}

/* DASHBOARD */

.dashboard-section {
    padding: 40px 0 70px;
}

.dashboard-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-box,
.login-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .dashboard-box img {
        width: 100%;
        border-radius: 8px;
    }

.login-box h2 {
    margin-bottom: 25px;
    color: #003b8e;
}

.login-box .alert-danger {
    display: block;
    padding: 12px 14px;
    margin-bottom: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    color: #991b1b;
    font-size: 0.875rem;
    line-height: 1.45;
    border-radius: 6px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group input {
        width: 100%;
        padding: 14px;
        border: 1px solid #ccc;
        border-radius: 8px;
    }

.login-btn {
    width: 100%;
    padding: 14px;
    background: #0056d2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    cursor: pointer;
}

.captcha-box {
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    border: 1px solid #d0d7e2;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 59, 142, 0.08);
    margin-bottom: 6px;
}

.captcha-box .cap {
    display: block;
    height: 40px;
    width: auto;
    border: none;
    border-radius: 0;
    background: #fff;
    vertical-align: middle;
}

/*.captcha-refresh-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: none;
    border-left: 1px solid #e8ecf2;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%);
    color: #003b8e;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}*/
.captcha-refresh-icon {
    width: auto;
    min-width: 100px;
    padding: 0 12px;
    gap: 6px;
    color: #003b8e;
    font-size: 14px;
    font-weight: 600;
}

.captcha-refresh-icon:hover,
.captcha-refresh-icon:focus {
    background: #003b8e;
    color: #fff;
    outline: none;
}

.captcha-refresh-icon i {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.4s ease;
}

.captcha-refresh-icon:hover i,
.captcha-refresh-icon:focus i {
    transform: rotate(-180deg);
}

.captcha-hint {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.4;
}

.captcha-hint-icon {
    font-size: 11px;
    color: #003b8e;
    vertical-align: middle;
}

/* QUICK LINKS */

.quick-links {
    padding-bottom: 70px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.quick-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

    .quick-card i {
        font-size: 35px;
        margin-bottom: 15px;
        color: #007bff;
    }

/* FOOTER */

.footer {
    background: #002b66;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    margin-bottom: 20px;
}

.footer p,
.footer li {
    line-height: 1.8;
    font-size: 15px;
}

.footer ul {
    list-style: none;
}

.footer a {
    color: white;
    text-decoration: none;
}

    .footer a:hover {
        text-decoration: none;
    }

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

    .social-icons i {
        font-size: 22px;
        cursor: pointer;
    }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 14px;
}

/* RESPONSIVE */

@media(max-width:992px) {

    .about-grid,
    .highlight-grid,
    .quick-grid,
    .footer-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .dashboard-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-content {
        width: 100%;
    }

        .hero-content h1 {
            font-size: 48px;
        }
}

@media(max-width:768px) {

    .navbar .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .about-grid,
    .highlight-grid,
    .quick-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: auto;
        padding: 100px 0;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
