:root {
  --primary-color: #0274be;
  --text-dark: #3a3a3a;
  --text-muted: #666666;
  --bg-light: #fafafa;
  --white: #ffffff;
  --border-color: #e5e5e5;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f7f7f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--text-dark);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Enlarge Logo in Header */
.logo-img {
  width: 80px; /* Scaled up from 50px */
  height: auto;
}

.site-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-link {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.nav-link.active,
.nav-link:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   Main Content Cards & Legacy Layout
   ========================================================================== */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.card-container {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.profile-card,
.legacy-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.profile-card {
  display: flex;
  gap: 40px;
  align-items: center;
}

.profile-image-wrap {
  flex-shrink: 0;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-details,
.legacy-details {
  flex: 1;
}

.profile-name {
  font-size: 1.8rem;
  color: var(--text-dark);
}

.legacy-details h2 {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.legacy-details p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.profile-role {
  font-size: 1.1rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.divider {
  border: none;
  border-top: 2px solid var(--primary-color);
  width: 50px;
  margin: 15px 0;
}

.profile-bio {
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.7;
}

.profile-actions {
  display: flex;
  gap: 15px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 1.2rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.action-btn:hover {
  background-color: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================================================
   Websites & Resources Additions
   ========================================================================== */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-family);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: var(--text-dark);
}

.resource-block {
  margin-bottom: 40px;
}

.resource-block h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.resource-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 15px;
}

.resource-list li {
  margin-bottom: 8px;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 40px 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive Queries */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .logo-img {
    width: 65px;
  }

  .profile-card {
    flex-direction: column;
    text-align: center;
  }

  .divider {
    margin: 15px auto;
  }

  .profile-actions {
    justify-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   B-Roll Video Styling
   ========================================================================== */
.broll-container {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: var(--text-dark); /* Fallback while loading */
}

.broll-video {
  width: 100%;
  height: 240px; /* Adjust height based on your preference */
  object-fit: cover; /* Prevents video distortion */
  display: block;
}

/* Optional: Slight opacity on hover to make it feel interactive */
.broll-video {
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.broll-container:hover .broll-video {
  opacity: 1;
}

@media (max-width: 768px) {
  .broll-video {
    height: 180px;
  }
}