/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #f9f9f9;
}

/* Sticky Top Header */
.site-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo and Account Links */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    max-height: 80px;  /* Prevent stretching */
    width: auto;
}

.account-links {
    font-size: 16px;
    color: #0077B3;
}

.account-links a {
    color: #0077B3;
    text-decoration: none;
    margin-left: 10px;
}

.account-links a:hover {
    text-decoration: underline;
}

/* Main Navigation Bar */
.main-nav {
    background: #0E395C;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links li {
    position: relative;
    margin: 0 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease-in-out;
}

.nav-links a:hover {
    background-color: #0077B3;
    color: #c5e9fc;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1A1A1A;
    display: none;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    min-width: 200px;
}
h2 {
    color: #0E395C;
    margin-bottom: 20px;
}
.nav-links li:hover .dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown li {
    padding: 10px 20px;
    list-style: none;
    white-space: nowrap;
}

.dropdown a {
    color: white;
    background: transparent;
    transition: background-color 0.3s ease-in-out;
}

.dropdown a:hover {
    background-color: #0077B3;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #666; /* Gray icon */
    cursor: pointer;
}

/* Slide-in Menu Animation */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        left: 15px;
        top: 15px;
        font-size: 28px;
        color: #666;
        cursor: pointer;
    }

    /* Logo Fix - Prevent Stretching */
    .logo {
        margin: 10px 0;
        text-align: center;
    }

    .logo img {
        max-height: 100px;
        max-width: 100px;
    }

    .account-links {
        margin-top: 10px;
        font-size: 14px;
    }

    /* Slide-in Mobile Navigation */
    .nav-links {
        display: none;
        flex-direction: column;
        background: #0E395C;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 10px 0;
        z-index: 999;
        animation: slideOut 0.3s forwards;
    }

    .nav-links.active {
        display: flex;
        animation: slideIn 0.3s forwards;
    }

    /* Compact Spacing for Mobile Menu */
    .nav-links li {
        margin: 5px 0;
        text-align: center;
        width: 100%;
    }

    /* Full-width Hover Highlight */
    .nav-links a {
        display: block;
        padding: 12px 0; /* Smaller padding for tighter spacing */
        color: white;
        text-decoration: none;
        font-size: 16px;
        transition: background-color 0.3s ease-in-out;
        width: 100%;
    }

    .nav-links a:hover {
        background-color: #0077B3;
        color: #c5e9fc;
    }

    /* Dropdown Consistency */
    .dropdown {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        background: #0E395C;
        box-shadow: none;
    }

    .dropdown li {
        padding: 8px 0;
    }
}

#footer {
    position: relative;
    width: 100%;
    background-color: #0E395C;
    color: white;
    padding: 20px 0;
    clear: both;
}

.footer-inner {
    display: flex;
	margin: 0 auto;
	padding: 40px 40px 0;
	flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    /*gap: 10px; */
}

.footer-left-part {
    flex: 1;
    min-width: 200px;
}

.footer-mid-part {
    flex: 2;
    min-width: 300px;
}

.footer-left-part .footer-left-heading {
	margin: 0 0 30px;
	padding: 0;
	float: left;
	width: 100%;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 22px;
}
.footer-left-part .footer-left-text {
	margin: 0 0 25px;
	padding: 0;
	float: left;
	width: 100%;
	color: #FFFFFF;
	font-size: 17px;
	line-height: 27px;
	font-weight: 500;
}
.footer-left-part .footer-left-text .info {
	color: #FFFFFF;
	text-decoration: none;
}
.footer-left-part .footer-left-text .info:hover {
	color: #C4E3FC;
	text-decoration: none;
}

.footer-mid-part {
    margin: 0;
    padding: 0;
    display: flex;
    /*gap: 20px;*/
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.footer-mid-part .footer-mid-link {
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 200px;
    line-height: 27px;
}

.footer-mid-part .footer-mid-heading {
    margin: 0 0 30px;
    padding: 0;
    width: 100%;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 22px;
}

@media (max-width: 768px) {
    .footer-mid-part {
        flex-direction: column;
        gap: 5px;
    }

    .footer-mid-part .footer-mid-link {
        flex: none;
        width: 100%;
    }
}

.footer-mid-part .footer-mid-link .footer-mid-link1 {
	margin: 0;
	padding: 0;
	float: left;
	width: 100%;
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 500;
	text-decoration: underline;
}
.footer-mid-part .footer-mid-link .footer-mid-link2 {
	margin: 0;
	padding: 0;
	float: left;
	width: 100%;
	color: #FFFFFF;
	font-size: 16px;
	text-decoration: none;
}
.footer-mid-part .footer-mid-link .footer-mid-link2:hover {
	color: #C4E3FC;
	text-decoration: none;
}
.footer-mid-part .footer-mid-link .active {
	color: #C4E3FC;
	text-decoration: none;
}
.footer-right-part {
	margin: 0;
	padding: 0;
	width: 33%;
	float: left;
}
.footer-right-part .footer-right-heading {
	margin: 0 0 30px;
	padding: 0;
	float: left;
	width: 100%;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 22px;
}
.footer-right-part .footer-right-text {
	margin: 0 0 20px;
	padding: 0;
	float: left;
	width: 100%;
	line-height: 27px;
	color: #FFFFFF;
}
.footer-right-part .linked {
	margin: 0 0 40px;
	padding: 0;
	float: left;
	width: 100%;
	line-height: 27px;
	color: #FFFFFF;
}
.footer-right-part .sign-link {
	margin: 0;
	padding: 0;
	float: left;
	width: 100%;
	font-style: normal;
}
.footer-right-part .sign-link .sign-link1 {
	margin: 0;
	padding: 0;
	float: left;
	color: #FFFFFF;
	background: #00659B;
	width: 265px;
	height: 95px;
	text-align: center;
	text-decoration: none;
	font-size: 25px;
	line-height: 85px;
}
.all-copy-right {
	margin: 30px 0 0;
	padding: 0;
	width: 100%;
	float: left;
}
.all-copy-right .copy-right {
	margin: 0;
	padding: 0;
	float: left;
	color: #FFFFFF;
	font-size: 13px;
}
.all-copy-right .website-name {
	margin: 0;
	padding: 0;
	float: right;
	font-size: 13px;
	color: #FFFFFF;
	width: 400px;
}
/*For hover effects*/
.dynamic {
    transition: transform 0.3s ease-in-out;
}
.dynamic:hover {
    transform: translateY(-10px) scale(1.02); /* Slight scale for depth */
}
/*for scroll effects*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial hidden state */
.scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Visible state triggered by observer */
.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.protected-email {
    color: #0077B3;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.protected-email:hover {
    color: #d94e00;
}
