html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

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

/* Custom navbar color */
.bg-navbar {
  background-color: #1e3a5f !important;
}

/* Custom hero background */
.bg-hero {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%) !important;
}

/* Sub-section headers */
.subsection-header {
  color: #1e3a5f !important;
}

.section {
  padding: 40px 0;
}

.bg-alt {
  background-color: #f6f7fa;
}

.section img.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section img.img-fluid {
    max-width: 500px;
  }
}

/* Hero section typography */
.pulse-title {
  font-size: 9rem;
}

.pulse-subtitle {
  font-size: 1.9rem;
}

/* Team section backgrounds */
.bg-penn-engineering {
  background-color: #e3f2fd;
}

.bg-penn-medicine {
  background-color: #e8f5e8;
}

/* Team section logo column styling */
#team .col-lg-3 {
  border-right: 2px solid #d0d0d0;
  padding-right: 2rem;
}

#team .col-lg-9 {
  padding-left: 2rem;
}

/* Convert vertical line to horizontal on mobile when layout becomes single column */
@media (max-width: 991px) {
  #team .col-lg-3 {
    border-right: none;
    border-bottom: 2px solid #d0d0d0;
    padding-right: 1rem;
    padding-bottom: 1.5rem;
    min-height: 120px !important;
    margin-bottom: 1rem !important;
  }
}

/* AI question box */
.ai-question {
  background: #f8fafc;
  border: 1px solid #e0e0e0;
  font-size: 1.1rem;
  color: #00897b;
}

/* Section headers */
.h3.fw-bold.mb-4.text-center,
.h3.fw-bold.mb-5.text-center {
  color: #2c3e50;
}

/* Sub-headers within sections */
.fw-bold.h5.d-block.mb-2 {
  color: #1976d2;
}

/* Responsive heading sizes for team members */
.h6.h5-lg {
  font-size: 1.25rem;
}

/* Large screens */
@media (min-width: 992px) {
  .ai-question {
    font-size: 1.6rem;
  }
  
  .h6.h5-lg {
    font-size: 1.5rem !important;
  }
}

/* Medium screens */
@media (max-width: 991px) {
  .pulse-title {
    font-size: 5rem;
  }
  
  .pulse-subtitle {
    font-size: 1.8rem;
  }
}

/* Small screens */
@media (max-width: 767px) {
  .pulse-title {
    font-size: 3.5rem;
  }
  
  .pulse-subtitle {
    font-size: 1.5rem;
  }
  
  .ai-question {
    font-size: 1rem;
    padding: 1.25rem 0.75rem;
  }
} 
