/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Watermark */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    font-size: 100px;
    font-family: 'Times New Roman', Times, serif;
    color: rgba(255, 255, 255, 0.05);
    pointer-events: none;
    white-space: nowrap;
    z-index: 0;
}

.watermark .name {
    user-select: none;
}

/* Navbar */
.navbar {
    background-color: rgba(30, 60, 114, 0.95);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    padding: 0.5rem;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: orangered;
    bottom: -4px;
    left: 0;
    transition: 0.3s;
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    width: 100%;
}

.navbar ul li a.active {
    color: orangered;
}

/* Main Container */
.container {
    max-width: 1200px;
    width: 90%;
    margin: 6rem auto 4rem;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.section {
    margin-bottom: 8rem;
    padding: 4rem 2rem;
    background-color: #1e3c72;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
}

.section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.section p {
    font-size: 1.1rem;
    color: #ddd;
}

/* Modal */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.custom-modal.show {
    display: flex;
}

.custom-modal-content {
    background: #ffffff;
    color: #1e3c72;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeInModal 0.8s ease forwards;
}

.modal-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.modal-actions button {
    background-color: #1e3c72;
    color: #fff;
    border: none;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-actions button:hover {
    background-color: #274b8a;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: orangered;
    padding: 10px 14px;
    border-top-left-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    z-index: 3;
}

.footer a {
    color: orangered;
    text-decoration: none;
}

/* Smooth Modal Animation */
@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        gap: 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section h1 {
        font-size: 2rem;
    }

    .watermark {
        font-size: 70px;
    }
}

@media (max-width: 480px) {
    .section h1 {
        font-size: 1.7rem;
    }

    .footer {
        font-size: 0.8rem;
        padding: 0.6rem;
        right: 10px;
        bottom: 8px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions button {
        width: 100%;
    }
}
