/* Global Styles */
:root {

    --white: #ffffff;

    --primary-navy:#162447;
    --navy-muted:#1e315c;
    --light-blue:#b0c4de;
    --primary-teal:#0F766E;
    --teal-soft:#D1FAE5;
    --text-primary:#1d2434;
    --text-secondary:#425170;
    --light-background:#f3f7fa;
    
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    background-color: var(--light-background);
    line-height: 1.6;
    font-size: 1.2em;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

input {
    font-size: 1.5rem; 
    width:100%; 
    max-width: 380px; 
    padding:10px;

}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-green {
    background-color: #2c825f;
    color: var(--white);
}

.btn-blue {
    background-color: var(--navy-muted);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--navy-muted);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}

/* Header / Navigation */
header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--navy-muted);
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(21, 50, 90, 0.95) 40%, rgba(21, 50, 90, 0.4) 100%), url('https://via.placeholder.com/1920x800/e0e0e0/666666?text=Background+Image+of+Clinicians') no-repeat center center/cover;
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-roles {
    font-size:1.1rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.next-up-card {
    background-color: rgba(21, 50, 90, 0.9);
    padding: 30px;
    border-radius: 5px;
    width: 300px;
}

.next-up-card h3 {
    margin-top: 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

.next-item {
    margin-top: 20px;
}

.next-item h4 { margin: 0 0 5px 0; }
.next-item p { font-size: 0.8rem; margin: 0; opacity: 0.8; }
.next-item a { font-size: 0.8rem; color: #a9c6e2; display: inline-block; margin-top: 5px;}

/* Programs Section */
.programs-section {
    padding: 80px 0;
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--navy-muted);
    margin-bottom: 10px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.program-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.tag {
    background-color: #247d80;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
    align-self: flex-start;
}

.program-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.program-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex-grow: 1;
}

.program-card ul {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: 20px;
    margin-bottom: 25px;
}

.program-card .btn {
    width: 100%;
    box-sizing: border-box;
}

/* Resource Library Section */
.resource-section {
    background-color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab {
    padding: 8px 20px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
}

.tab.active {
    background-color: var(--navy-muted);
    color: var(--white);
    border-color: var(--navy-muted);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.resource-card {
    text-align: left;
}

.resource-img {
    background-color: #ddd;
    height: 150px;
    border-radius: 5px 5px 0 0;
    background-size: cover;
    background-position: center;
}

.resource-info {
    background-color: var(--navy-muted);
    color: var(--white);
    padding: 15px;
    border-radius: 0 0 5px 5px;
}

.resource-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.resource-info p {
    margin: 5px 0 0 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.view-resources {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Community Section */
.community-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--light-background);
}

.community-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* OVBC Video Library */
.video-library {
    background: radial-gradient(circle,rgba(69, 106, 193, 1) 0%, rgba(26, 53, 110, 1) 100%);
    color: var(--white);
    padding: 60px 0;
}

.video-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.video-text {
    max-width: 400px;
}

.video-text h2 {
    font-size: 2rem;
    margin-top: 0;
}

.video-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 700px;
}

.video-thumb {
    width: 220px;
    height: 120px;
    background-color: #333;
    border-radius: 5px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.video-year {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
}

.lock-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #fbbc04;
    color: black;
    padding: 5px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Browse by Topic */
.browse-topic {
    background-color: var(--light-background);
    padding: 60px 0;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.topic-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.topic-card h3 {
    color: var(--navy-muted);
    margin: 15px 0;
}

.topic-card .stats {
    text-align: left;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #0f2a51;
    color: #fff;
    padding: 50px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #b0c4de;
}

.footer-bottom {
    background-color: #0b1f3d;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #b0c4de;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


h2 {
    width: 100%; 
    text-align: center; 
    border-bottom: 2px solid #eae7f2; 
    line-height: 0.1em;
    margin: 10px 0 20px; 
 } 
 
 h2 span { 
     padding:0 20px; 
 }



 .library-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin:0 auto;
  }

  /* Top Section */
  .top-section {
    display: flex;
    gap: 20px;
    align-items: stretch;
  }

  .info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
  }

  .info-box h1 {
    font-size: 24px;
    margin: 0 0 15px 0;
    font-weight: 700;
  }

  .info-box h1 span {
    font-weight: 400;
    font-size: 18px;
    opacity: 0.9;
  }

  .info-box p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px 0;
    opacity: 0.9;
    max-width: 90%;
  }

  .action-buttons {
    display: flex;
    gap: 10px;
  }



  .btn-browse {
    background-color: var(--btn-green);
    color: var(--text-white);
  }

  .btn-year {
    background-color: var(--btn-gray);
    color: #1a2b4c;
  }

  /* Video Cards */
  .video-card {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #4a6fa5, #1e3c72); /* Placeholder for image */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  }

  .featured-card {
    flex: 1;
    min-height: 200px;
  }

  .card-footer {
    margin-top: auto;
    background-color: var(--card-bottom-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
  }

  .year-label {
    padding-left: 15px;
    font-weight: bold;
    font-size: 16px;
  }

  /* Buttons and Icons */
  .btn-login {
    background-color: var(--accent-yellow);
    color: #000;
    border: none;
    height: 100%;
    padding: 0 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top-left-radius: 4px;
  }

  .lock-icon-wrapper {
    background-color: var(--accent-yellow);
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    position: absolute;
    bottom: 0;
    right: 15px;
  }

  .lock-icon {
    width: 14px;
    height: 18px;
    border: 2px solid #000;
    border-radius: 4px 4px 0 0;
    position: relative;
    display: inline-block;
  }
  .lock-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: -2px;
    width: 14px;
    height: 10px;
    background-color: #000;
    border-radius: 2px;
  }

  /* Bottom Grid */
  .bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .small-card {
    height: 130px;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .top-section {
      flex-direction: column;
    }
    .bottom-grid {
      grid-template-columns: 1fr;
    }
    .featured-card {
      min-height: 250px;
    }
  }