* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* change */
header {
    background: linear-gradient(to right, #93c5fd, #1e3a8a);
    color: white;
    position: relative;
    padding: 5px 60px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	display: flex;
    flex-direction: column;
	gap: 18px;
}
/**change**/
.header-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
	padding-top: 8px;   /* space above logo/nav row */
    padding-bottom: 8px; /* space below logo/nav row */
	padding-right: 15px;
}
/**change**/
.logo {
    height: 70px;
    width: auto;
    flex-shrink: 0;
}

nav ul li:nth-child(4) {
    margin-right: 0;
	padding-right: 0;
}

/**change**/
.logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 12px;
    line-height: 1;
}
/**change**/
.logo-title {
	font-size: 2.6rem;
    font-weight: 800;

    font-family: "Poppins", system-ui, sans-serif;

    color: #111827;

    letter-spacing: 0.3px;
    line-height: 1;
}
/**change**/
.logo-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
}


.call-us {
    position: absolute;
    top: 10px;
    right: 80px;
    font-style: italic;
    font-size: 0.95rem;
	padding-top: 10px;
	opacity: 0.7;
}

.signIn-btn {
	background: rgba(255,255,255,0.15);
    border: 2px solid white;
    border-radius: 25px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.signIn-btn:hover {
    background: white;
    color: #1e3a8a;
}

/* if it's active (current page), keep styling */
.signIn-btn.active {
    background: white;
    color: #1e3a8a;
}
/**change**/
nav {
    margin-top: 20px;
    padding-top: 20px;
    flex: 1;
}
/**change**/
nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* pushes nav to right */
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap; /* keeps it horizontal */
}
/**change**/
nav ul li {
    white-space: nowrap;
}
/**change**/
nav ul li a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    padding: 8px 5px; /* gives all tabs equal height */
}


/**CHANGE**/
nav a {
    color: white;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;          /* locks weight */
    padding: 8px 5px;          /* same on normal + hover */
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
    color: #050b1a;
}


/* LOGIN PAGE */
/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* FOOTER BASE */
footer {
    background: linear-gradient(to right, #93c5fd, #1e3a8a);
    color: white;
    padding: 40px 70px;
}

/* 3-COLUMN LAYOUT */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* LEFT NAV */
.footer-left h4 {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-left ul {
    list-style: none;
    padding: 0;
}

.footer-left ul li {
    margin-bottom: 8px;
}

.footer-left ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.footer-left ul li a:hover {
    opacity: 1;
    color: #475569;
}

/* CENTER */
.footer-center {
    text-align: center;
    flex: 1;
    font-size: 14px;
    opacity: 0.9;
	padding-left: 120px;
}

.footer-center p {
    margin: 5px 0;
}

/* RIGHT SIDE */
.footer-right {
    text-align: right;
    font-size: 14px;
    opacity: 0.85;
    max-width: 220px;
}

/* BACK TO TOP BUTTON */
.back-to-top {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #93c5fd;
    text-decoration: none;
    transition: 0.2s ease;
}

.back-to-top:hover {
    color: white;
    text-decoration: underline;
}

.field-error {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: -5px;
    margin-bottom: 12px;
    text-align: left;
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;

    background: white;
    width: 320px;

    list-style: none;
    padding: 10px 0;
    margin: 0;

    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);

    z-index: 1000;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;

    color: #1e3a8a;
    text-decoration: none;
    font-size: 14px;
	white-space: normal;
}

.dropdown-menu li a:hover {
    background: #eff6ff;
    color: #1e3a8a;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* LOGIN PAGE */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: #f8fafc;
}

.login-container {
    background: white;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    text-align: center;
}

.login-container h1 {
    color: #1e3a8a;
    margin-bottom: 25px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-form input {
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
}

.login-form input:focus {
    outline: none;
    border-color: #3b82f6;
}

.login-form button {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.login-form button:hover {
    background: #2563eb;
}

.success-message{

    background:#dcfce7;
    color:#166534;
    border:1px solid #86efac;
    padding:12px;
    border-radius:8px;
    margin-bottom:18px;
    text-align:center;
    font-weight:600;

}

.signup-text {
    margin-top: 20px;
    color: #475569;
}

.signup-text a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
}

.signup-text a:hover {
    text-decoration: underline;
}

.nav-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;

    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;

    transform: rotate(45deg);

    margin-left: 6px;
    margin-bottom: 4.5px;

    transition: transform 0.3s ease, color 0.3s ease;
}

.dropdown:hover .nav-arrow {
    transform: rotate(-135deg);
}
/* =========================
   my-documents page
   ========================= */
.portal-main {
    background: #f5f7fb;
    flex: 1;
    padding: 50px 8%;
}

.portal-hero {
    background: linear-gradient(
        135deg,
        #0d1b2a,
        #1e3a5f
    );
    color: white;
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.portal-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.portal-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.portal-username {
    color: #6cb4ff;
}

.portal-description {
    max-width: 700px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.portal-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.portal-action-card {
    text-decoration: none;
    background: white;
    border-radius: 18px;
    padding: 30px;
    color: inherit;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: .3s ease;
}

.portal-action-card:hover {
    transform: translateY(-6px);
}

.portal-action-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.portal-action-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #0d1b2a;
}

.portal-action-text {
    color: #64748b;
    line-height: 1.6;
}

.portal-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.portal-section-header {
    margin-bottom: 25px;
}

.portal-section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #0d1b2a;
}

.portal-section-subtitle {
    color: #64748b;
}

.portal-empty-state {
    text-align: center;
    padding: 50px 20px;
}

.portal-empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.portal-empty-title {
    margin-bottom: 10px;
    color: #0d1b2a;
}

.portal-empty-text {
    color: #64748b;
}

.portal-support-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portal-input,
.portal-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.portal-textarea {
    resize: vertical;
}

.portal-submit-btn {
    width: fit-content;
    background: #eff6ff;
    border-radius: 6px;
    background-color: #475569;
    color: white;
    padding: 14px 22px;
    cursor: pointer;
    font-size: 1rem;
	box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.portal-submit-btn:hover {
    transform: translateY(-2px);
}

.portal-account-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.portal-account-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
}

.portal-account-label {
    display: block;
    color: #64748b;
    font-size: .9rem;
    margin-bottom: 8px;
}

.portal-account-value {
    display: block;
    color: #0d1b2a;
    font-weight: 700;
    font-size: 1.1rem;
}
.portal-main {
    display: block !important;
    width: 100%;
}

.portal-hero,
.portal-actions,
.portal-section {
    width: 100%;
}

.portal-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.portal-section {
    clear: both;
}

.portal-action-card {
    min-height: 220px;
}

.document-list{

    display:flex;

    flex-direction:column;

    gap:20px;

    margin-top:30px;

}

.document-card{

    display:flex;

    align-items:center;

    justify-content:space-between;

    background:white;

    border-radius:16px;

    padding:22px;

    border:1px solid #e5e7eb;

    box-shadow:0 10px 20px rgba(0,0,0,.05);

}

.document-icon{

    font-size:2rem;

    margin-right:20px;

}

.document-info{

    flex:1;

}

.document-info h3{

    color:#1e3a8a;

    margin-bottom:8px;

}

.document-description{

    color:#475569;

    margin-bottom:10px;

}

.document-date{

    color:#94a3b8;

    font-size:.9rem;

}

.download-btn{

    background:#1e3a8a;

    color:white;

    padding:12px 22px;

    border-radius:8px;

    text-decoration:none;

    transition:.3s;

}

.download-btn:hover{

    background:#2563eb;

}
.support-card{
    background:#f8fafc;
    border:1px solid #dbe2ea;
    border-radius:14px;
    padding:25px;
    margin-bottom:20px;
}

.support-card h3{
    color:#1e3a8a;
    margin-bottom:15px;
}

.support-card p{
    line-height:1.7;
    margin-bottom:15px;
}

.support-card hr{
    margin:20px 0;
    border:none;
    border-top:1px solid #dbe2ea;
}

.waiting-reply{
    color:#f59e0b;
    font-weight:600;
}

.document-actions{
    display:flex;
    gap:10px;
    align-items:center;
}

.view-btn,
.download-btn{
    display:inline-block;
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

.view-btn{
    background:#1e3a8a;
    color:#fff;
}

.view-btn:hover{
    background:#2563eb;
}

.download-btn{
    background:#16a34a;
    color:#fff;
}

.download-btn:hover{
    background:#15803d;
}

@media(max-width:768px){

.document-card{

    flex-direction:column;

    align-items:flex-start;

    gap:15px;

}

.download-btn{

    width:100%;

    text-align:center;

}

.forgot-password {
    margin-top: 18px;
    text-align: center;
}

.forgot-password a {
    color: #1e3a8a;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {

    .portal-title {
        font-size: 2rem;
    }

    .portal-actions,
    .portal-account-grid {
        grid-template-columns: 1fr;
    }

    .portal-hero {
        padding: 40px 30px;
    }

    .portal-section {
        padding: 30px 20px;
    }
}






/* =========================
   RESPONSIVE OVERRIDES
   ========================= */
@media (max-width: 1350px) {
	.nav-arrow {
        display: none;
    }
	
    header {
        padding: 10px 30px;
    }
	.logo {
		padding-left: 20px;
	}

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-right {
        text-align: center;
    }

    .content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-center {
        padding-left: 0;
    }
	nav ul li:nth-child(4) {
		margin-right: 15px; 
	}
}
	
	
	
	
/* tablets + small laptops */
@media (max-width: 1024px) {
	
	.nav-arrow {
        display: none;
    }
	
    header {
        padding: 10px 30px;
    }
	.logo {
		padding-left: 20px;
	}

    nav ul {
        gap: 15px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-right {
        text-align: center;
    }

    .content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-center {
        padding-left: 0;
    }

}

    /* tablets */
@media (max-width: 768px) {

    header {
        padding: 15px;
    }
	
	.hero-left {
        text-align: center;
    }

    .hero-btn,
    .hero-link {
        display: block;
        margin: 12px auto 0 auto;
        width: fit-content;
    }
	.nav-arrow {
        display: none;
    }

    .call-us {
        top: 10px;
        right: 15px;
        font-size: 0.75rem;
		white-space: nowrap;
    }

    nav ul {
        justify-content: center;
        gap: 12px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .hero-left p {
        font-size: 14px;
    }

    .services-showcase {
        flex-direction: column;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-points {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        padding-left: 0;
        max-width: none;
        width: 100%;
    }

    .footer-left ul {
        padding: 0;
    }

    .footer-left ul li {
        text-align: center;
    }
	
}

@media (max-width: 1100px) {

    header {
        position: relative;
        padding: 15px 20px;
    }
	.services-showcase {
        flex-direction: column;
    }

    .call-us {
        position: absolute;
        top: 3px;
        right: 12px;
        margin: 0;
        text-align: right;
        font-size: 0.85rem;
		white-space: nowrap;
    }

    /* logo + text stay together */
    .header-brand {
		padding-top: 40px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .logo {
        height: 60px;
        padding-left: 0;
    }
	
	.logo-title {
        font-size: 2.2rem; 
    }

    .logo-subtitle {
        font-size: 0.8rem; 
    }

    .logo-text {
        text-align: left;
    }

    /* FORCE NAV TO NEXT LINE */
    nav {
        flex-basis: 100%;
        width: 100%;
        margin-top: 15px;
		padding-top: 0;
    }
	
	.nav-arrow {
        display: none;
    }

    nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;   /* DON'T WRAP */
        gap: 10px;
    }

    nav a {
        font-size: 0.75rem;
    }

    nav ul li:nth-child(3),
    nav ul li:nth-child(4) {
        margin-right: 0 !important;
    }
	.footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        padding-left: 0;
        max-width: none;
        width: 100%;
    }

    .footer-left ul {
        padding: 0;
    }

    .footer-left ul li {
        text-align: center;
    }
	.dropdown-menu {
		display: none !important;
	}
}

@media (max-width: 480px) {

    .call-us {
        position: absolute;
        top: 3px;
        right: 12px;
        margin: 0;
        text-align: right;
        font-size: 0.7rem;
		white-space: nowrap;
    }

    .logo-title {
        font-size: 1.9rem;
    }

    .logo-subtitle {
        font-size: 0.70rem;
    }

   

    nav a {
        font-size: 0.75rem;
    }

    .nav-arrow {
        display: none;
    }

	.footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
        padding-left: 0;
        max-width: none;
        width: 100%;
    }

    .footer-left ul {
        padding: 0;
    }

    .footer-left ul li {
        text-align: center;
    }
	.services-showcase {
        flex-direction: column;
    }
	nav ul {
        display: grid !important;
        grid-template-columns: repeat(4, auto);
        justify-content: center;
        gap: 8px 12px;
		flex-wrap: wrap;   /* IMPORTANT FIX */
    }
	
	nav ul li {
		text-align: center;
	}

    nav ul li:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }
	.dropdown-menu {
		display: none !important;
	}

    nav ul li:nth-child(6) {
        grid-column: 3;
        grid-row: 2;
    }
	
	
}
