/* 
  styles.css 
  Dark tech theme with subtle technological elements
*/

/* BASE STYLES & RESET */
:root {
    --primary: #2a2a72;
    --primary-light: #3a3a82;
    --primary-dark: #1a1a62;
    --secondary: #00d4ff;
    --accent: #00ff9d;
    --dark: #121212;
    --darker: #0a0a0a;
    --light: #f5f7fa;
    --gray: #6c757d;
    --light-gray: #2a2a2a;
    --white: #ffffff;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --radius: 8px;
    --tech-glow: 0 0 10px rgba(0, 212, 255, 0.3);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 16px;
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* HEADERS & TITLES */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
    text-shadow: var(--tech-glow);
  }
  
  h1 {
    font-size: 2.8rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.5rem;
  }
  
  h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 50px;
    background: var(--accent);
    box-shadow: var(--tech-glow);
  }
  
  h3 {
    font-size: 1.6rem;
    color: var(--secondary);
  }
  
  p {
    margin-bottom: 1.2rem;
    color: var(--light);
  }
  
  a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
  }
  a:hover {
    color: var(--accent);
    text-shadow: var(--tech-glow);
  }
  
  /* LINKS THAT LOOK LIKE BUTTONS */
  .btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
  }
  
  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(0, 212, 255, 0.2),
      transparent
    );
    transition: 0.5s;
  }
  
  .btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
  }
  
  .btn:hover::before {
    left: 100%;
  }
  
  /* HEADER */
  header {
    background: linear-gradient(
      135deg,
      var(--darker) 0%,
      var(--dark) 50%,
      var(--primary-dark) 100%
    );
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem 2rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .header-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  header .logo {
    width: 120px;
    position: absolute;
    top: 15px;
    left: 30px;
    filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
    transition: transform 0.3s ease;
  }
  header .logo:hover {
    transform: scale(1.05);
  }
  
  header h1 {
    margin-bottom: 0.3rem;
    font-size: 3rem;
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0, 212, 255, 0.4);
  }
  
  header p {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.95;
    margin-top: 0.3rem;
  }
  
  /* NAVIGATION */
  nav {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  
  .nav-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  nav ul li {
    margin: 0;
  }
  
  nav ul li a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: background-color 0.3s ease;
    position: relative;
  }
  
  nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
  }
  
  nav ul li a:hover {
    background-color: rgba(0, 212, 255, 0.1);
  }
  
  nav ul li a:hover::after,
  nav ul li a.active::after {
    width: 70%;
    left: 50%;
  }
  
  /* HERO SECTION */
  .hero {
    background: linear-gradient(
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.7)
      ),
      url('images/tech-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      45deg,
      transparent 0%,
      rgba(0, 212, 255, 0.1) 50%,
      transparent 100%
    );
    animation: techScan 8s linear infinite;
  }
  
  @keyframes techScan {
    0% {
      transform: translateY(-100%);
    }
    100% {
      transform: translateY(100%);
    }
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
  }
  
  .hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
  }
  
  /* CONTAINER & SECTIONS */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
  }
  
  .card-section {
    background: var(--darker);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
  }
  
  .card-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
  }
  
  /* SCHEDULE TABLE STYLES */
  .schedule-container {
    width: 100%;
    overflow-x: auto;
    margin: 0 0;
    padding: 1rem;
    background: var(--darker);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 212, 255, 0.1);
  }
  
  .schedule-table {
    width: 100%;
    min-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Source Sans Pro', sans-serif;
  }
  
  .schedule-table th {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .schedule-table th:first-child {
    border-top-left-radius: var(--radius);
  }
  
  .schedule-table th:last-child {
    border-top-right-radius: var(--radius);
  }
  
  .schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    vertical-align: top;
    color: var(--light);
  }
  
  .schedule-table tr:last-child td {
    border-bottom: none;
  }
  
  .schedule-table tr:hover {
    background-color: rgba(0, 212, 255, 0.05);
  }
  
  .schedule-table td:first-child {
    font-weight: 600;
    color: var(--secondary);
    width: 10%;
  }

  /* Schedule Tabs */
.section-tabs .nav-tabs {
  border-bottom: none; /* Remove default Bootstrap border */
}

.section-tabs .nav-tabs .nav-link {
  color: var(--white) !important;
  background-color: var(--light-gray);
  border: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 8px 16px;
  margin-right: 4px;
  transition: var(--transition);
  font-family: 'Source Sans Pro', sans-serif !important;
}

.section-tabs .nav-tabs .nav-link:hover {
  background-color: var(--primary-light);
  color: var(--white) !important;
}

.section-tabs .nav-tabs .nav-link.active {
  background-color: var(--primary);
  color: var(--white) !important;
  border: none;
  box-shadow: var(--tech-glow);
}

/* Removes weird Bootstrap outline */
.section-tabs .nav-tabs .nav-link:focus {
  box-shadow: none;
}

  
  /* DOCUMENTS SECTION STYLES */
  .documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1px;
  }
  
  .document-card {
    background: var(--darker);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--secondary);
    border: 1px solid rgba(0, 212, 255, 0.1);
  }
  
  .document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
  }
  
  .document-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: var(--tech-glow);
  }
  
  .document-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .document-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
  }
  
  .document-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
  }
  
  .document-content .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    font-size: 0.9rem;
  }

.btn-row {
  display: flex;
  gap: 0.5rem; 
  align-items: center;
  margin-top: auto;
}

.btn-row .btn {
  flex: 1; 
  margin-top: 0; 
  width: auto; 
}

.disabled-link {
  pointer-events: none; 
  color: gray;           
  text-decoration: none;
  opacity: 0.6;
}

.document-card-disabled {
    background: var(--darker);
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--secondary);
    border: 1px solid rgba(255, 0, 0, 0.25);
  }

.document-card-disabled:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.2);
  }

.document-content-disabled {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .document-content-disabled h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: lightgray;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }
  
  .document-content-disabled p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
  }
  
  .document-content-disabled .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
    font-size: 0.9rem;
    background: linear-gradient(135deg, white 0%, lightgray 100%);
    color: black;
  }

.document-icon-disabled {
    font-size: 2.5rem;
    color: gray;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }

  /* FOOTER */
  footer {
    background: linear-gradient(90deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 2rem;
  }
  
  .footer-logo {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-logo-img {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
    transition: var(--transition);
    display: block;
    background: transparent;
  }
  
  .footer-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.5));
  }
  
  .footer-logo p {
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 0;
  }
  
  .footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 2rem;
  }
  
  .footer-links h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
  }
  
  .footer-links ul {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.5rem;
  }
  
  .footer-links a {
    color: var(--light);
    transition: color 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--secondary);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    margin-top: 2rem;
  }
  
  .footer-bottom p {
    color: var(--gray);
  }
  
  /* Responsive adjustments */
  @media (max-width: 992px) {
    html {
      font-size: 15px;
    }
    
    .container {
      padding: 1.5rem;
    }
    
    .documents-grid {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 1rem;
    }
  }
  
  @media (max-width: 768px) {
    html {
      font-size: 14px;
    }
    
    nav ul {
      flex-direction: column;
    }
    
    nav ul li {
      width: 100%;
    }
    
    .hero {
      height: auto;
      padding: 4rem 2rem;
    }
    
    .documents-grid {
      grid-template-columns: 1fr;
    }
    
    .document-card {
      padding: 1.2rem;
    }
    
    .document-icon {
      font-size: 2rem;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-logo-img {
        width: 100px;
    }
  }
  
  @media (max-width: 576px) {
    html {
      font-size: 13px;
    }
    
    header h1 {
      font-size: 2.2rem;
    }
    
    .hero {
      padding: 3rem 1rem;
    }
    
    .hero-content h2 {
      font-size: 2rem;
    }
    
    .footer-content {
      flex-direction: column;
    }
  }
  
  /* Animation for sections */
  section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  section.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* TEAM MEMBER CARDS */
  .team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
  }

  .team-member {
    background: var(--darker);
    border-radius: var(--radius);
    padding: 2rem;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--secondary));
  }

  .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
  }

  .team-member .headshot-container {
    width: 120px;
    height: 120px;
    margin-right: 2rem;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .team-member .headshot {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .team-member:hover .headshot {
    transform: translate(-50%, -50%) scale(1.05);
  }

  .team-member .info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    overflow-y: auto;
    padding-right: 1rem;
  }

  .team-member h3 {
    color: var(--secondary);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-shadow: var(--tech-glow);
  }

  .team-member .role {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
  }

  .team-member p {
    color: var(--light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 600px;
  }

  .team-member .social-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
  }

  .team-member .social-link {
    color: var(--light);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .team-member .social-link:hover {
    color: var(--secondary);
    transform: translateY(-2px);
    text-shadow: var(--tech-glow);
  }

  /* Responsive adjustments for team cards */
  @media (max-width: 768px) {
    .team-member {
      height: auto;
      min-height: 250px;
      flex-direction: column;
      text-align: center;
      padding: 1.5rem;
    }
    
    .team-member .headshot-container {
      width: 120px;
      height: 120px;
      margin: 0 auto 1.5rem;
    }
    
    .team-member .headshot {
      width: 120px;
      height: 120px;
    }
    
    .team-member .info {
      align-items: center;
      padding-right: 0;
    }
    
    .team-member p {
      max-width: 100%;
    }
    
    .team-member .social-links {
      justify-content: center;
    }
  }