body{
font-family:Inter;
margin:0;
background:#0f172a;
color:white;
}

.navbar{
display:flex;
justify-content:space-between;
padding:20px 60px;
background:rgba(0,0,0,0.3);
backdrop-filter:blur(10px);
}

a:link, a:visited, a:active{
    color:white;
}
a:hover{
    color:#3b82f6;
}

.hero{

height:90vh;

display:flex;
align-items:center;
justify-content:center;

text-align:center;

background:linear-gradient(
270deg,
#0f172a,
#1e293b,
#1e40af,
#0ea5e9
);

background-size:800% 800%;

animation:gradient 20s ease infinite;

}

@keyframes gradient {

0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}

}

.hero h1{
font-size:56px;
width:70%;
max-width:900px;
margin:auto;
}

.hero p{
margin:20px auto 0;
font-size:20px;
opacity:0.9;
width:90%;
max-width:1400px;
justify-content:center;
}

.email-capture{
margin-top:40px;
display:flex;
justify-content:center;
gap:10px;
}

.email-capture input{

padding:14px;
width:260px;
border-radius:6px;
border:none;

}

.email-capture button{

padding:14px 20px;
border:none;
background:#3b82f6;
color:white;
border-radius:6px;

}

.credibility{
padding:100px 20px;
background:white;
color:black;
text-align:center;
}

.credibility-grid{

display:flex;
gap:40px;
justify-content:center;
flex-wrap:wrap;
margin-top:40px;

}

.cred-card{

background:#f8fafc;
padding:30px;
border-radius:10px;
width:260px;

box-shadow:0 10px 25px rgba(0,0,0,0.08);

}

.mission{
padding:100px 20px;
max-width:1200px;
margin:auto;
text-align:center;
}

.mission-cards{
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
margin-top:40px;
max-width:700px;
margin-left:auto;
margin-right:auto;
}

.mission-grid{
background:rgba(255,255,255,0.05);
padding:30px;
border-radius:10px;
width:260px;
min-height:200px;
box-shadow:0 10px 25px rgba(0,0,0,0.3);
text-align:center;
display:flex;
flex-direction:column;
transition:all 0.3s ease;
}

.mission-grid:hover{
transform:translateY(-5px);
background:rgba(255,255,255,0.08);
box-shadow:0 15px 35px rgba(0,0,0,0.4);
}

.mission-grid i{
font-size:36px;
color:#3b82f6;
display:block;
margin-bottom:15px;
}

.mission-grid h4{
font-size:18px;
margin:0 0 12px 0;
color:#f1f5f9;
}

.mission-grid p{
font-size:14px;
line-height:1.6;
opacity:0.85;
margin:0;
}

.mission-grid p.detail{
margin-top:12px;
padding-top:12px;
border-top:1px solid rgba(255,255,255,0.1);
max-height:0;
overflow:hidden;
opacity:0;
transition:all 0.4s ease;
}

.mission-grid:hover p.detail{
max-height:150px;
opacity:0.85;
}

.mission-grid p i{
display:inline;
font-size:inherit;
vertical-align:middle;
margin-right:4px;
}

/* Team Section */
.team{
padding:100px 20px;
text-align:center;
background:white;
color:black;
}

.team h2{
margin-bottom:60px;
}

.team-grid{
max-width:900px;
margin:0 auto;
display:flex;
flex-direction:column;
gap:50px;
}

.team-member{
display:flex;
align-items:center;
gap:40px;
text-align:left;
padding:30px;
background:#f8fafc;
border-radius:16px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:all 0.3s ease;
}

.team-member:hover{
transform:translateY(-5px);
box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.team-headshot{
flex-shrink:0;
}

.team-headshot img{
width:150px;
height:150px;
border-radius:50%;
object-fit:cover;
border:0px solid #3b82f6;
box-shadow:0 8px 20px rgba(59,130,246,0.3);
}

.team-bio h3{
margin:0 0 5px 0;
font-size:24px;
color:#0f172a;
}

.team-bio h4{
margin:0 0 15px 0;
font-size:16px;
color:#3b82f6;
font-weight:500;
}

.team-bio p{
margin:0;
font-size:15px;
line-height:1.7;
color:#475569;
}

@media (max-width:600px){
.team-member{
flex-direction:column;
text-align:center;
}
}

/* UK flag emoji icon */
.icon-uk::before {
content: '🇬🇧';
font-family: inherit;
font-size: 36px;
line-height: 1;
display: block;
}
/* Animation initial state */

.cred-card, .mission-grid{
transform:translateY(40px);
opacity:0;
transition:all 0.8s ease;
}

footer{
text-align:center;
padding:40px;
}

/* Page Hero (for internal pages) */
.page-hero {
    padding: 120px 20px 80px;
    text-align: center;
    background: linear-gradient(
        270deg,
        #0f172a,
        #1e293b,
        #1e40af,
        #0ea5e9
    );
    background-size: 800% 800%;
    animation: gradient 20s ease infinite;
}

.page-hero h1 {
    font-size: 48px;
    margin: 0 0 15px 0;
    animation: fadeInUp 0.8s ease;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.85;
    margin: 0;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Banner */
.trust-banner {
    padding: 60px 20px;
    background: #f8fafc;
    text-align: center;
}

.trust-banner p {
    color: #64748b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 30px 0;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

.trust-logo.visible {
    transform: translateY(0);
    opacity: 1;
}

.trust-name {
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    padding: 15px 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.trust-name:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    background: #f8fafc;
}

/* Team Bios Section */
.team-bios {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member-full {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    color: #0f172a;
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.8s ease;
}

.team-member-full.visible {
    transform: translateY(0);
    opacity: 1;
}

.team-member-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.team-member-full.visible:hover {
    transform: translateY(-5px);
}

.member-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.member-photo img,
.photo-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 0px solid #3b82f6;
    box-shadow: 0 8px 25px rgba(59,130,246,0.25);
    transition: all 0.4s ease;
}

.team-member-full:hover .member-photo img,
.team-member-full:hover .photo-placeholder {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(59,130,246,0.35);
}

.photo-placeholder {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: 600;
}

.member-intro h2 {
    margin: 0 0 5px 0;
    font-size: 32px;
    color: #0f172a;
}

.member-intro h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #3b82f6;
    font-weight: 500;
}

.member-orgs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.org-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.org-tag:hover {
    background: #e0f2fe;
    color: #1e40af;
    transform: translateY(-2px);
}

.member-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 20px 0;
}

.member-content blockquote {
    margin: 30px 0 0 0;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-left: 4px solid #3b82f6;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
    color: #1e40af;
    transition: all 0.3s ease;
}

.member-content blockquote:hover {
    border-left-width: 6px;
    padding-left: 28px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

/* Join CTA Section */
.join-cta {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(
        270deg,
        #1e40af,
        #3b82f6,
        #0ea5e9,
        #1e40af
    );
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

.join-cta h2 {
    font-size: 36px;
    margin: 0 0 20px 0;
}

.join-cta p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: #1e40af;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
}

.join-cta a:link,
.join-cta a:visited {
    color: navy;
}

.join-cta a:hover{
    color:#3b82f6;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transform: translateY(40px);
    opacity: 0;
    transition: all 0.8s ease;
}

.contact-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #0f172a;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .cta-button {
    width: 100%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
}

.contact-form .cta-button:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
}

/* Responsive adjustments */
@media (max-width: 700px) {
    .member-header {
        flex-direction: column;
        text-align: center;
    }
    
    .member-orgs {
        justify-content: center;
    }
    
    .team-member-full {
        padding: 30px;
    }
    
    .page-hero h1 {
        font-size: 36px;
    }
    
    .contact-card {
        padding: 30px;
    }
}

/* Toast notifications */
#toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

.toast {
    padding: 16px 24px;
    border-radius: 8px;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 4s forwards;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.toast-success {
    background: linear-gradient(135deg, #059669, #10b981);
}

.toast-error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

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

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}
