* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #222222;
}

.navbar {
    background-color: #0b6ec7;
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

.navbar a:hover {
    text-decoration: underline;
}

.logo-container {
    text-align: center;
    margin-top: 50px;
}

.logo-container img {
    width: 100%;
    max-width: 1200px;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

footer {
    background-color: white;
    color: #222222;
    text-align: center;
    padding: 1rem;
    margin-top: 20px;
}

.under-construction {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    color: #0b6ec7;
}

.content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.6;
    font-size: 18px;
}


form {
    max-width: 600px;     /* good size on desktop */
    width: 90%;           /* shrink nicely on mobile */
    margin: 40px auto;    /* auto centers horizontally */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input,
form textarea {
    width: 100%;          /* takes up the full width inside form */
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box; /* ensures padding + border fit inside width */
}

form button {
    background-color: #0b6ec7;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;          /* full width button looks nice on mobile */
}

form button:hover {
    background-color: #095aa1;
}


.associate {
    display: flex;
    align-items: flex-start;
    margin: 40px auto;
    max-width: 1000px;
    gap: 20px;
    flex-wrap: wrap; /* allows stacking on small screens */
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.associate:last-child {
    border-bottom: none; /* no divider after last block */
}

.associate img {
    width: 220px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

.associate-content {
    flex: 1;
    min-width: 250px;
}

.associate h2 {
    margin-top: 0;
    color: #0b6ec7;
}

/* Alternating background shading */
.associate:nth-child(even) {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
}


/* Alternating layouts */
.associate:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .associate,
    .associate:nth-child(even) {
        flex-direction: column; /* stack on mobile */
        text-align: left;
    }

    .associate img {
        width: 220px;
        height: 293px;        /* professional headshot ratio */
        object-fit: cover;    /* crops edges without distortion */
        border-radius: 10px;
        flex-shrink: 0;

        /* new polish */
        border: 2px solid #ddd;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    }
}


.accordion {
  max-width: 900px;
  margin: auto;
}

.accordion-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 15px 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #0b6ec7;
  background: #f9f9f9;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #eef6fc;
}

.accordion-header.active {
  background: #e1f0fa;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
  padding: 0 20px;
}

.accordion-content ul {
  margin: 15px 0;
  padding-left: 20px;
  list-style: disc;
}

.accordion-content li {
  margin-bottom: 8px;
}


/* Navbar container */
.navbar {
    background-color: #0b6ec7;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

/* Navbar links */
.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Hamburger menu button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #0b6ec7;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}


.page-title {
  text-align: center;
  margin: 40px 0 20px;
  color: #0b6ec7;
}

.news-block {
  max-width: 900px;
  margin: 40px auto;
  padding: 25px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.news-block h2 {
  margin-top: 0;
  color: #0b6ec7;
}

.news-block ul {
  margin: 15px 0;
  padding-left: 20px;
}

.news-block li {
  margin-bottom: 8px;
}

.news-block .btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #0b6ec7;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.news-block .btn:hover {
  background-color: #095aa1;
}

/* Alternating background shading for news blocks */
.news-block:nth-child(even) {
  background: #f5f5f5;
}


.news-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.news-tag {
  background-color: #0b6ec7;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

