/*************************************************
 * GLOBAL RESET & BASE
 *************************************************/
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/*************************************************
 * SHARED NAVBAR BASE (Bootstrap override)
 *************************************************/
.navbar {
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    font-weight: 500;
    position: relative;
}

.navbar-nav .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover:after {
    width: 100%;
}

/* Dropdown common */
.dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    transition: all 0.2s ease;
    padding: 10px 16px;
}

/* Toggler */
.navbar-light .navbar-toggler {
    border-color: #004080;
    padding: 8px;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23004080' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/*************************************************
 * FIRST NAV (Top white navbar)
 *************************************************/
.first_nav {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e8ecf1;
    padding: 12px 0 !important;
}

/* Brand + links */
.first_nav .navbar-brand,
.first_nav .nav-link {
    color: #1a5f9e !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.first_nav .nav-link:hover {
    color: #00a8a8 !important;
}

/* Portal title */
.first_nav .navbar-brand span {
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 12px;
    color: #1a5f9e !important;
    letter-spacing: -0.5px;
}

/* Dropdown */
.first_nav .dropdown-menu {
    background-color: #ffffff;
    border: none;
}

.first_nav .dropdown-item {
    color: #1a5f9e !important;
    font-weight: 500;
}

.first_nav .dropdown-item:hover {
    background-color: #f0f7fc;
    color: #00a8a8 !important;
    border-radius: 4px;
}

/*************************************************
 * SECOND NAV (Blue navbar)
 *************************************************/
.second_nav {
    background: linear-gradient(135deg, #004080 0%, #1a5f9e 100%) !important;
    padding: 10px 0 !important;
}

.second_nav .nav-link {
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 16px !important;
    border-radius: 4px;
}

.second_nav .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Dropdown */
.second_nav .dropdown-menu {
    background-color: #1a5f9e;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.second_nav .dropdown-item {
    color: #ffffff;
    transition: all 0.2s ease;
}

.second_nav .dropdown-item:hover {
    background-color: rgba(0, 168, 168, 0.2);
    color: #ffffff;
    padding-left: 20px;
}

/*************************************************
 * LOGO HELPERS
 *************************************************/
.logo-bold {
    width: 80px;
    padding: 6px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid #1a5f9e;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(26, 95, 158, 0.2);
    transition: all 0.3s ease;
}

.logo-bold:hover {
    box-shadow: 0 8px 24px rgba(26, 95, 158, 0.3);
    transform: translateY(-2px);
}

/*************************************************
 * MODERN UTILITIES & ANIMATIONS
 *************************************************/

/* Smooth transitions */
a {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
:focus-visible {
    outline: 2px solid #00a8a8;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Container padding */
.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-left: 20px;
    padding-right: 20px;
}

/* Section spacing */
section {
    padding: 60px 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #1a5f9e;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Text utilities */
.text-primary-dark {
    color: #1a5f9e;
}

.text-accent {
    color: #00a8a8;
}

/* Backgrounds */
.bg-primary-light {
    background-color: #f0f7fc;
}

.bg-accent-light {
    background-color: #f0fffe;
}

/* Input fields */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    border-radius: 6px;
    border: 1px solid #e8ecf1;
    transition: all 0.3s ease;
    font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: #00a8a8;
    box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.1);
    outline: none;
}

/* Lists */
ul, ol {
    list-style-position: inside;
}

li {
    line-height: 1.8;
}

/* Separator */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #e8ecf1, transparent);
    margin: 40px 0;
}

/*************************************************
 * BUTTONS
 *************************************************/
.btn-primary {
    background: linear-gradient(135deg, #1a5f9e 0%, #00a8a8 100%);
    border: none;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(26, 95, 158, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 95, 158, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

/* CTA Button */
.btn-cta {
    background: linear-gradient(135deg, #00a8a8 0%, #1a5f9e 100%);
    color: white !important;
    border: none;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 168, 168, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 168, 0.4);
    color: white !important;
}

/*************************************************
 * FOOTER
 *************************************************/
footer, .footer {
    background: linear-gradient(135deg, #004080 0%, #1a5f9e 100%);
    color: #ffffff;
    padding: 48px 0 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h5, .footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

footer .nav-link, .footer .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 6px 0 !important;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

footer .nav-link:hover, .footer .nav-link:hover {
    color: #00a8a8 !important;
    padding-left: 8px;
}

footer .form-control, .footer .form-control {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

footer .form-control:focus, .footer .form-control:focus {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border-color: #00a8a8 !important;
    box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.1) !important;
}

footer .form-control::placeholder, .footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

footer .btn, .footer .btn {
    background-color: #00a8a8;
    border: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

footer .btn:hover, .footer .btn:hover {
    background-color: #008b8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 168, 0.3);
}

footer .border-top, .footer .border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin-top: 30px;
    padding-top: 30px;
}

footer a, .footer a {
    color: #00a8a8;
    text-decoration: none;
    transition: all 0.2s ease;
}

footer a:hover, .footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}













/*************************************************
 * GLOBAL RESET & BASE
 *************************************************
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/*************************************************
 * SHARED NAVBAR BASE (Bootstrap override)
 *************************************************
.navbar {
    font-weight: 500;
}

.navbar-nav .nav-link {
    transition: color 0.2s ease;
}

/* Dropdown common *
.dropdown-menu {
    border-radius: 4px;
}

.dropdown-item {
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Toggler *
.navbar-light .navbar-toggler {
    border-color: #000;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/*************************************************
 * FIRST NAV (Top white navbar)
 ************************************************
.first_nav {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e5e5e5;
}

/* Brand + links *
.first_nav .navbar-brand,
.first_nav .nav-link {
    color: #51a0d4 !important;
    font-weight: 600;
}

/* Portal title *
.first_nav .navbar-brand span {
    font-size: 2rem;
    font-weight: 700;
    margin-left: 10px;
    color: #51a0d4 !important;
}

/* Dropdown *
.first_nav .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #ddd;
}

.first_nav .dropdown-item {
    color: #51a0d4 !important;  /*#51a0d4;*
}

.first_nav .dropdown-item:hover {
    background-color: #f2f2f2;
}

/*************************************************
 * SECOND NAV (Blue navbar)
 *************************************************
.second_nav {
    background-color: #004080 !important;
}

/* Links  ,
/*.second_nav .navbar-brand *

.second_nav .nav-link {
    color: #ffffff !important;
}

.second_nav .nav-link:hover {
    color: #ffcc00 !important;
}

/* Dropdown *
.second_nav .dropdown-menu {
    background-color: #004080;
    border: 1px solid #1c5a9e;
}

.second_nav .dropdown-item {
    color: #ffffff;
}

.second_nav .dropdown-item:hover {
    background-color: #51a0d4;
    color: #ffffff;
}

/*************************************************
 * LOGO HELPERS
 *************************************************
.logo-bold {
    width: 80px;
    padding: 6px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/*************************************************
 * BUTTONS
 *************************************************
.btn-primary {
    background-color: #0066cc;
    border: none;
}

.btn-primary:hover {
    background-color: #005bb5;
}

/*************************************************
 * FOOTER
 *************************************************
.footer {
    background-color: #004080;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
