/* --- Aethelred Equity Partners | style.css --- */

/* --- Google Font & Global Setup --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

/* Add FontAwesome for icons */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css");

:root {
    --primary-color: #1a3b5d; /* Deep, authoritative navy */
    --secondary-color: #4a6b8a; /* Softer, complementary blue */
    --accent-color: #d4af37; /* Muted gold for highlights */
    --bg-color: #ffffff;
    --light-bg-color: #f7f9fb;
    --text-color: #333333;
    --light-text-color: #666666;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}
h1 { font-size: 3.5rem; margin-top: 25px; margin-bottom: 20px; text-align: center; }
h2 { font-size: 2.5rem; margin-top: 20px; margin-bottom: 40px; text-align: center; }
h3 { font-size: 1.75rem; margin-top: 10px; margin-bottom: 15px; text-align: center; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--light-text-color);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* --- Header & Navigation --- */
.header {
    background: var(--bg-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 35px;
}

.nav-links a {
    font-weight: 400;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.btn-login {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    margin-left: 35px;
}
.btn-login:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* --- Page Header --- */
.page-header {
    background: var(--light-bg-color);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 3rem;
}

/* --- Main Content Section --- */
main {
    padding: 80px 0;
}

/* --- Footer --- */
.footer {
    background: var(--primary-color);
    color: #a9b4c2;
    padding: 50px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p, .footer-col ul li {
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #a9b4c2;
}
.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-disclaimer {
    border-top: 1px solid var(--secondary-color);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-disclaimer p {
    max-width: 900px;
    margin: 0 auto 10px auto;
    color: #8a9ab0;
}

/* --- Specific Page Styles --- */

/* Home Page */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: calc(100vh - 85px); /* Full height minus header */
    background: linear-gradient(rgba(26, 59, 93, 0.7), rgba(26, 59, 93, 0.7)), url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&q=80&w=2070') no-repeat center center/cover;
    color: #fff;
}

.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.25rem; font-weight: 300; max-width: 700px; margin: 0 auto 30px auto;}
.btn-primary {
    background: var(--accent-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
}
.btn-primary:hover { color: #fff; background: #c5a132; }

.home-section { padding: 80px 0; }
.home-section.bg-light { background: var(--light-bg-color); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* Strategy Page */
.strategy-card {
    background: var(--light-bg-color);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    margin-bottom: 30px;
    border-radius: 0 5px 5px 0;
}
.strategy-card h3 {
    display: flex;
    align-items: center;
}
.strategy-card i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--secondary-color);
}

/* Pricing Page */
.pricing-member {
    background: var(--light-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: left;
    padding: 50px 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card .popular-badge {
    background-color: var(--popular-card-border);
    color: var(--background-dark);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 0 0 10px 10px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}


/* Team Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.team-member {
    background: var(--light-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.team-member img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.team-member h4 { margin-bottom: 5px; }
.team-member p.title {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
}
.team-member p.bio { font-size: 0.9rem; }


/* Insights Page */
.insight-post {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.insight-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.insight-meta {
    font-size: 0.9rem;
    color: var(--light-text-color);
    margin-bottom: 10px;
}
.insight-meta span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: #fff;
    padding: 50px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
.contact-info ul { list-style: none; }
.contact-info li { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-info i { font-size: 1.2rem; color: var(--primary-color); margin-right: 20px; margin-top: 5px; width: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 700; }
.form-control {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}
.btn-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
}
.btn-submit:hover { background: var(--secondary-color); }

/* Login Page */
.login-container {
    max-width: 450px;
    margin: 40px auto;
    padding: 40px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.results-container {
    //max-width: 1550px;
    max-width: 80%;
    margin: 80px auto;
    padding: 40px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}




        /* Basic CSS for the submenu */
        .nav-links {
            // background-color: #333;
            padding: 10px 0;
        //    font-family: Arial, sans-serif;
        }
        .nav-links ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
        }
        .nav-links li {
            position: relative;
            margin: 0 20px;
        }
        .nav-links a {
         //   color: white;
            text-decoration: none;
            padding: 10px 15px;
            display: block;
        }
        .nav-links a:hover {
            background-color: #555;
        }
        .dropdown {
            display: none;
            position: absolute;
            background-color: #444;
            min-width: 160px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
            z-index: 1;
        }
        .nav-links li:hover .dropdown {
            display: block;
        }
        .dropdown a {
            color: white;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }
        .dropdown a:hover {
            background-color: #666;
        }


      .table-container {
        display: flex;
        justify-content: center; /* Centers horizontally */
        align-items: center; /* Centers vertically (if the container has a defined height) */
        /* Add a height to the container if you want vertical centering */
        min-height: 1vh; /* Example: to center in the viewport */
      }

      table {
        width: 80%;
        margin-left: auto;
        margin-right: auto; /* Center the table */
        border-collapse: collapse; /* Optional: improve table appearance */
      }

      th,
      td {
        border: 1px solid black;
      }

      th {
        text-align: center; /* Center-align the text in table headers */
      }

      td {
        text-align: left; /* Left-align the text in table data cells */
      }

      select {
        width: 30%;
        padding: 10px;
        margin-top: 0px;
        margin-bottom: 0px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
      }
 
.radio-label {
    text-align: left;
}


.radio-container {
    display: flex;               /* Makes the container a flex container */
    justify-content: flex-start; /* Aligns flex items to the start (left) of the container */
    gap: 20px;                   /* Adds space between the buttons */
}


