html {
    scroll-behavior: smooth;
    height: auto;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: white;
    color: #8b949e;
    transition: background-color 0.3s ease, color 0.3s ease;
    scroll-behavior: smooth;
    height: auto;
    font-family: 'Roboto', sans-serif;
}




/* header */
header {
    width: 100%;
    padding: 15px 40px;
    background-color: #161b22;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #30363d;
}
header .logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}
.nav-links a {
    color: #f0f6fc;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #2f81f7;
}
.burger-btn {
    display: none;
    background: none;
    border: none;
    color: #f0f6fc;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.burger-btn:hover {
    color: #2f81f7;
}
@media screen and (max-width: 768px) {
    
    header {
        padding: 15px 20px;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0d1117;
        border-bottom: 1px solid #30363d;
        
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 40px 0;
        
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease-in-out;
        opacity: 0;
    }
    .nav-links.nav-active {
        transform: scaleY(1);
        opacity: 1;
    }
    .burger-btn {
        display: block;
    }
}



/* home */
#home {
    width: 100%;
    min-height: 100vh;
    padding: 120px 20px 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url(../img/city1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    gap: 40px;
}
#main-title {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}
#main-title img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}
#main-title h1 {
    width: 100%;
    font-size: 70px;
    color: #f0f6fc;
    text-transform: uppercase;
}
#main-title h4 {
    font-size: 24px;
    color: #bdc7d4;
}
#charter {
    max-width: 700px; 
    width: 90%;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    
    background-color: white;
    color: #141b24;
    gap: 15px;
    border-radius: 8px;
}
#charter h3 {
    font-size: 35px;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 10px;
    text-align: center;
}
#charter p {
    font-size: 20px;
    text-align: center;
}
@media screen and (max-width: 768px) {
    #home {
        padding-top: 100px;
    }
    #main-title img {
        width: 140px;
        height: 140px;
    }
    #main-title h1 {
        font-size: 40px;
    }
    #main-title h4 {
        font-size: 16px;
    }
    #charter {
        padding: 25px;
    }
    #charter h3 {
        font-size: 24px;
    }
    #charter p {
        font-size: 16px;
    }
}




/*services*/

#services {
    background-color: #141b24;
    padding: 120px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}
#services h2 {
    width: 100%; 
    font-size: 80px;
    color: #f0f6fc;
    text-align: center;
    margin: 0;
}
.card {
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 15px;
    padding: 40px 30px;
    width: 300px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: default;
}
.card:hover {
    transform: translateY(-10px);
    border-color: #2f81f7; 
}
.card i {
    font-size: 45px;
    color: #2f81f7;
    margin-bottom: 25px;
    display: block;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #f0f6fc;
    text-align: center;
}
.card p {
    color: #8b949e;
    font-size: 20px;
    text-align: center;
}





/* live feed */

.bureau-section {
    background-color: #0d1117;
    color: #f0f6fc;
    padding: 100px 20px;
    text-align: center;
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}
.section-header {
    margin-bottom: 40px;
}
.alert-icon {
    font-size: 40px;
    color: #f85149;
    margin-bottom: 15px;
}
.section-header h2 {
    font-size: 35px;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.section-header h4 {
    font-size: 20px;
    color: #8b949e;
    font-style: italic;
}
.feed-window {
    max-width: 700px;
    min-height: 150px;
    margin: 0 auto 50px auto;
    padding: 40px;
    background-color: #010409;
    border: 2px solid #f85149; 
    border-radius: 8px;
    box-shadow: 0 0 20px #f85149;
    display: flex;
    align-items: center;
    justify-content: center;
}
#advice-text {
    font-size: 25px;
    font-weight: bold;
    color: #f0f6fc;
}
.stamp-btn {
    max-width: 300px;
    min-height: 75px;
    background-color: transparent;
    border: 2px solid #2f81f7;
    color: #2f81f7;
    padding: 15px 30px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
}
.stamp-btn:hover {
    background-color: #2f81f7;
    color: #0d1117;
}






/* form */

.form-section {
    background-color: #141b24;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #30363d;
}
.form-section h2 {
    font-size: 36px;
    color: #f0f6fc;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}
.form-instruction {
    color: #8b949e;
    margin-bottom: 40px;
    text-align: center;
}
.bureau-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
label {
    color: #2f81f7;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
input, select {
    background-color: #010409;
    border: 1px solid #30363d;
    padding: 15px;
    color: #f0f6fc;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}
input:focus, select:focus {
    border-color: #f85149;
    box-shadow: 0 0 10px rgba(248, 81, 73, 0.2);
}
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.password-wrapper input {
    width: 100%;
}
#togglePassword {
    position: absolute;
    right: 15px;
    color: #8b949e;
    cursor: pointer;
    transition: color 0.3s;
}
#togglePassword:hover {
    color: #f0f6fc;
}
.error-msg {
    color: #f85149;
    font-size: 12px;
    display: none;
    margin-top: -5px;
}
.form-group.error input, 
.form-group.error select {
    border-color: #f85149;
}
.form-group.error .error-msg {
    display: block;
}
.submit-btn {
    background-color: #f85149;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #d03e38;
}





#bureau-footer {
    background-color: #000000;
    padding: 60px 20px;
    color: #ffffff;
    text-align: center;
}
.footer-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-logo {
    width: 50px;
    filter: grayscale(100%);
    border-radius: 50%;
}
.footer-brand h3 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: #8b949e;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #f85149;
}
.footer-social {
    display: flex;
    gap: 20px;
    font-size: 20px;
}
.footer-social a {
    color: #8b949e;
    transition: color 0.3s ease;
}
.footer-social a:hover {
    color: #ffffff;
}
.footer-copy {
    font-size: 12px;
    color: #484f58;
    margin-top: 20px;
}





#scrollTopBtn {
    background: transparent;
    border: 1px solid #30363d;
    color: #8b949e;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    border-color: #f85149;
    color: #f85149;
    box-shadow: 0 0 10px rgba(248, 81, 73, 0.2);
}





#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #21262d;
    padding: 15px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}
.cookie-banner-hidden {
    display: none !important;
}
#cookie-banner p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
}
#accept-cookies-btn {
    background-color: #f85149;
    color: white;
    border: none;
    padding: 8px 20px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

#accept-cookies-btn:hover {
    background-color: #d03e38;
}