/* =========================
   GLOBAL STYLES
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',sans-serif;
scroll-behavior:smooth;
}

body{
background:
linear-gradient(
rgba(250,252,255,.95),
rgba(250,252,255,.95)
),
url("https://images.unsplash.com/photo-1507842217343-583bb7270b66");
background-size:cover;
background-position:center;
background-attachment:fixed;
color:#222;
line-height:1.7;
}

/* =========================
   HERO SECTION
========================= */

.hero{
background:
linear-gradient(
rgba(0,33,71,.85),
rgba(0,33,71,.85)
),
url("https://images.unsplash.com/photo-1455390582262-044cdead277a");
background-size:cover;
background-position:center;
background-attachment:fixed;
min-height:90vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:40px;
color:white;
}

.hero-content{
max-width:900px;
}

.hero h1{
font-size:52px;
margin-bottom:20px;
font-weight:700;
}

.hero p{
font-size:20px;
margin-bottom:30px;
}
.logo-container{
    text-align:center;
    margin:20px 0;
}

.logo{
    width:180px;
    height:auto;
}
/* =========================
   BUTTON
========================= */

.btn{
display:inline-block;
background:#ff9800;
color:white;
padding:15px 35px;
border-radius:8px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn:hover{
background:#e68900;
transform:translateY(-3px);
}

/* =========================
   NAVBAR
========================= */

nav{
background:#002147;
padding:18px;
position:sticky;
top:0;
z-index:1000;
}

.nav-container{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:20px;
}

nav a{
color:white;
text-decoration:none;
font-weight:600;
transition:.3s;
}

nav a:hover{
color:#ffc107;
}

/* =========================
   SECTIONS
========================= */

.section{
padding:80px 10%;
}

.section h2{
text-align:center;
color:#002147;
margin-bottom:30px;
font-size:36px;
}

.section-text{
max-width:900px;
margin:auto;
text-align:center;
font-size:18px;
}

/* =========================
   CARDS
========================= */

.cards{
display:grid;
grid-template-columns:
repeat(auto-fit,minmax(250px,1fr));
gap:25px;
margin-top:30px;
}

.card{
background:rgba(255,255,255,.92);
backdrop-filter:blur(10px);
padding:25px;
border-radius:15px;
box-shadow:
0 8px 20px rgba(0,0,0,.08);
transition:.3s;
text-align:center;
}

.card:hover{
transform:translateY(-5px);
}

.card i{
font-size:40px;
color:#002147;
margin-bottom:15px;
}

.card h3{
margin-bottom:10px;
color:#002147;
}

/* =========================
   FORMS
========================= */

form{
background:white;
padding:30px;
border-radius:15px;
box-shadow:
0 5px 15px rgba(0,0,0,.08);
}

input,
textarea{
width:100%;
padding:14px;
margin:10px 0;
border:1px solid #ddd;
border-radius:8px;
font-size:15px;
}

textarea{
height:140px;
resize:none;
}

button{
background:#002147;
color:white;
padding:14px 25px;
border:none;
border-radius:8px;
cursor:pointer;
font-size:15px;
font-weight:600;
transition:.3s;
}

button:hover{
background:#003d7a;
}

/* =========================
   LOGIN GRID
========================= */

.form-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:25px;
}

/* =========================
   ETHICS LIST
========================= */

.ethics{
max-width:900px;
margin:auto;
padding-left:20px;
}

.ethics li{
margin-bottom:12px;
font-size:16px;
}

/* =========================
   FOOTER
========================= */

footer{
background:#00152d;
color:white;
text-align:center;
padding:40px 20px;
}

footer h3{
margin-bottom:10px;
font-size:24px;
}

footer p{
margin-top:5px;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-track{
background:#f1f1f1;
}

::-webkit-scrollbar-thumb{
background:#002147;
border-radius:10px;
}

/* =========================
   DARK MODE
========================= */

.dark-mode{
background:#121212 !important;
color:white;
}

.dark-mode .card{
background:#1f1f1f;
color:white;
}

.dark-mode form{
background:#1f1f1f;
}

.dark-mode input,
.dark-mode textarea{
background:#2a2a2a;
color:white;
border:1px solid #444;
}

.dark-mode nav{
background:#000;
}

.dark-mode footer{
background:#000;
}

/* =========================
   ANIMATION
========================= */

.loaded{
animation:fadeIn 1s ease;
}

@keyframes fadeIn{

from{
opacity:0;
}

to{
opacity:1;
}

}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

.hero h1{
font-size:32px;
}

.hero p{
font-size:16px;
}

.form-grid{
grid-template-columns:1fr;
}

.section{
padding:60px 5%;
}

.section h2{
font-size:28px;
}

.nav-container{
flex-direction:column;
align-items:center;
gap:10px;
}

}