/* ==========================
   Home
========================== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Manrope",sans-serif;
    line-height:1.7;
    color:#333;
    background:#f8f9fb;
}

h1,h2,h3,nav a{
    font-family:"Manrope",sans-serif;
    font-weight:700;
}

/* ==========================
   Navigation
========================== */
header{
    background:white;
    box-shadow:0 8px 25px rgba(0,0,0,.18);
    position:sticky;
    top:0;
    z-index:1000;
}

.call-box{
    text-align:right;
    padding:10px 6% 15px 8%;
	font-family:"Manrope",sans-serif;
    line-height:1.1;
}

.call-box span{
    display:inline;
    color:#555;
    font-size:13px;
    font-weight:700;
    margin-right:8px;
}

.call-box a{
    color:#c1121f;
    font-size:15px;
    font-weight:700;
    text-decoration:none;
}

.nav-wrapper{
    padding:5px 6% 12px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
}

.logo_name{
    display:flex;
    align-items:center;
    gap:15px;
    flex-shrink:0;
	text-transform:uppercase;
	transform:translateY(-12px);
}

.logo_name h2{
    font-family:"Montserrat",sans-serif;
    font-size:22px;
    line-height:1.2;
    color:#222;
    width:260px;
    white-space:nowrap;
}

nav ul{
    display:flex;
    gap:32px;
    align-items:center;
    list-style:none;
}

nav a{
    color:#222;
    font-size:17.5px;
    font-weight:700;
    text-decoration:none;
	text-transform:uppercase;
}

nav a:hover,
nav .active{
    color:#c1121f;
}


.dropdown{
    position:relative;
}

.dropdown-box{
    position:absolute;
    top:100%;
    left:-20px;
    min-width:220px;
	margin-top:10px;  

    background:#fff;
    border-top:4px solid #c1121f;
    box-shadow:0 15px 35px rgba(0,0,0,.15);

    opacity:0;
    visibility:hidden;
    transform:translateY(10px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s;
}

.dropdown-box a{
    display:block;
    padding:12px 20px;
    color:#333;
    font-weight:600;
}

.dropdown-box a:hover{
    background:#f5f5f5;
    color:#c1121f;
}

.dropdown:hover .dropdown-box{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.nav-arrow{
    display:inline-block;
    width:7px;
    height:7px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
    margin-left:8px;
    margin-bottom:3px;
    transition:transform .25s ease;
}

.dropdown:hover .nav-arrow{
    transform:rotate(225deg);
}

/* ==========================
   Login Section
========================== */

.login-section{
    min-height:547px;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:50px 20px;
    background:#f8f9fb;
}


.login-container{
    background:white;
    padding:40px;
    width:100%;
    max-width:450px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    text-align:center;
}


.login-container h1{
    color:#c1121f;
    text-transform:uppercase;
    font-size:28px;
    margin-bottom:25px;
}


.login-form{
    display:flex;
    flex-direction:column;
    gap:15px;
}


.login-form input{
    padding:14px;
    border:1px solid #ccc;
    border-radius:8px;
    font-family:"Manrope",sans-serif;
    font-size:15px;
}


.login-form input:focus{
    outline:none;
    border-color:#c1121f;
    box-shadow:0 0 5px rgba(193,18,31,.25);
}


.login-form button{
    background:#c1121f;
    color:white;
    border:none;
    padding:14px;
    border-radius:8px;
    cursor:pointer;
    font-family:"Manrope",sans-serif;
    font-size:15px;
    font-weight:700;
    text-transform:uppercase;
    transition:.3s ease;
}


.login-form button:hover{
    background:#8f0d17;
}


.forgot-password{
    text-align:center;
    color:#c1121f;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    margin-top:-5px;
}


.forgot-password:hover{
    text-decoration:underline;
}

/* Client Dashboard */

.client-dashboard{
    max-width:1000px;
    margin:auto;
    padding:70px 30px 90px;
}

.dashboard-header{
    text-align:center;
    margin-bottom:70px;
}

.dashboard-label{
    display:block;
    color:#c1121f;
    font-size:12px;
    font-weight:800;
    letter-spacing:3px;
    margin-bottom:10px;
}

.dashboard-header h1{
    font-size:44px;
    color:#202020;
    margin-bottom:12px;
}

.dashboard-header p{
    max-width:650px;
    margin:auto;
    color:#666;
}

.dashboard-section{
    margin-bottom:55px;
}

.dashboard-section-heading{
    margin-bottom:18px;
}

.dashboard-section-heading span{
    color:#c1121f;
    font-size:11px;
    font-weight:800;
    letter-spacing:2px;
}

.dashboard-section-heading h2{
    font-size:28px;
    color:#222;
    margin-top:6px;
}

.dashboard-links{
    background:#fff;
    border:1px solid #e4e4e4;
    border-radius:12px;
    overflow:hidden;
}

.dashboard-link{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:24px 28px;
    text-decoration:none;
    color:#222;
    transition:.25s;
}

.dashboard-link:not(:last-child){
    border-bottom:1px solid #ececec;
}

.dashboard-link:hover{
    background:#fafafa;
}

.dashboard-link h3{
    font-size:20px;
    margin-bottom:4px;
}

.dashboard-link p{
    color:#666;
    font-size:15px;
}

.dashboard-link span{
    color:#c1121f;
    font-weight:700;
    white-space:nowrap;
}

.logout-link span{
    color:#666;
}


.admin-back{

    max-width:1100px;
    margin:40px auto 0;
    padding:0 20px;

}


.admin-back a{

    display:inline-block;

    background:#b91c1c;

    color:white;

    text-decoration:none;

    padding:12px 22px;

    border-radius:6px;

    font-weight:600;

}


.admin-back a:hover{

    background:#7f1d1d;

}
/* ==========================
   MY DOCUMENTS
========================== */

.documents-page{

    padding:80px 20px;
    background:#f8f9fb;

}

.documents-container{

    max-width:1100px;
    margin:auto;

}

.documents-header{

    margin-bottom:35px;

}

.documents-header h1{

    color:#202020;
    font-size:42px;
    margin-bottom:10px;

}

.documents-header p{

    color:#666;
    font-size:17px;

}


/* Document Card */

.document-card{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:30px;

    background:#fff;

    border-left:5px solid #b91c1c;

    border-radius:12px;

    padding:28px;

    margin-bottom:25px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.document-info{

    flex:1;

}


.document-info h2{

    color:#202020;

    font-size:24px;

    margin-bottom:18px;

}


.document-info p{

    color:#555;

    line-height:1.8;

    margin-bottom:22px;

}


.document-meta{

    display:flex;

    flex-wrap:wrap;

    gap:25px;

    color:#666;

    font-size:15px;

}


.document-meta span{

    display:block;

}


/* Buttons */

.document-actions{

    display:flex;

    flex-direction:column;

    gap:15px;

    min-width:170px;

}


.document-actions a{

    display:block;

    text-align:center;

    text-decoration:none;

    background:#b91c1c;

    color:#fff;

    padding:13px 20px;

    border-radius:6px;

    font-weight:700;

    transition:.25s;

}


.document-actions a:hover{

    background:#7f1d1d;

}


/* Empty State */

.no-documents{

    background:#fff;

    border-radius:12px;

    padding:50px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.no-documents h2{

    color:#202020;

    margin-bottom:12px;

}


.no-documents p{

    color:#666;

    font-size:16px;

}


/* Responsive */

@media(max-width:850px){

    .document-card{

        flex-direction:column;

    }

    .document-actions{

        width:100%;

        flex-direction:row;

    }

    .document-actions a{

        flex:1;

    }

}


@media(max-width:600px){

    .documents-page{

        padding:60px 20px;

    }

    .documents-header h1{

        font-size:34px;

    }

    .document-card{

        padding:22px;

    }

    .document-info h2{

        font-size:20px;

    }

    .document-meta{

        flex-direction:column;

        gap:10px;

    }

    .document-actions{

        flex-direction:column;

    }

}

/* ==========================
   Footer
========================== */
.back-top{
    display:inline-block;
    margin-top:15px;
    font-weight:bold;
}

footer{
    background:#202020;
    color:white;
    padding:30px 10px;
}

.footer-container{
    max-width:1350px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:60px;
    flex-wrap:wrap;
}

.footer-column{
    flex:1;
    min-width:220px;
}

.footer-column h3{
    margin-bottom:18px;
    font-size:22px;
}

.footer-column ul{
    list-style:none;
}

.footer-column li{
    margin-bottom:12px;
}

.footer-column a{
    color:#ddd;
    text-decoration:none;
    transition:color .3s ease;
}

.footer-column a:hover{
    color:#c1121f;
}

.footer-center{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    min-height:65px;
}

.footer-center p,
.footer-right p{
    margin-bottom:8px;
}

.footer-right{
    text-align:right;
}

/* ==========================
   Responsive
========================== */
@media (max-width:900px){
    header{
        flex-direction:column;
        gap:20px;
    }

    nav ul{
        flex-direction:column;
        gap:15px;
        text-align:center;
    }

    .hero h1{
        font-size:38px;
    }

    .content h2{
        font-size:28px;
    }

    .footer-container{
        flex-direction:column;
        text-align:center;
        gap:40px;
    }

    .footer-center,
    .footer-right{
        text-align:center;
        align-items:center;
        min-height:auto;
    }

    .footer-right{
        text-align:center;
    }
}