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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background-color: #003087;
  color: white;
  border-color: #003087;
}

.btn--primary:hover {
  background-color: #001f5c;
  border-color: #001f5c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 48, 135, 0.3);
}

.btn--secondary {
  background-color: #6b46c1;
  color: white;
  border-color: #6b46c1;
}

.btn--secondary:hover {
  background-color: #553c9a;
  border-color: #553c9a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 70, 193, 0.3);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  position: relative;
  z-index: 2;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 48, 135, 0.1);
}

.nav {
  padding: 1rem 0;
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav__logo-img {
  height: 60px;
  width: auto;
}

.nav__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 768px) {
  .nav__container {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
  }
  
  .nav__logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    flex-shrink: 0;
  }
  
  .nav__actions {
    flex-direction: row;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
  }
  
  .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    flex: 1;
    text-align: center;
    justify-content: center;
    min-width: 0;
  }
  
  .btn--large {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  /* Mobile sticky nav offset */
  .hero {
    padding-top: 80px; 
  }
  
  .intro {
    padding-top: 2rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero__image {
  position: relative;
  width: 100%;
  height: auto;
}

.hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Hero responsive adjustments */
@media (max-width: 768px) {
  .hero {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
  }
  
  .hero__image {
    width: 100vw;
  }
  
  .hero__img {
    min-height: 300px;
    object-fit: contain;
    width: 100vw;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero__img {
    min-height: 250px;
    object-fit: contain;
  }
}


/* Introduction Section */
.intro {
  padding: 4rem 0;
  background-color: white;
  position: relative;
}

.intro__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.intro__laurel {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 132%;
  object-fit: cover;
  overflow: hidden;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

.intro__lead {
  font-size: 1.5rem;
  font-weight: 600;
  color: #003087;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.intro__text {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .intro {
    padding: .16rem 0 3rem;
  }
  
  .intro__lead {
    font-size: 1.25rem;
  }
  
  .intro__text {
    font-size: 1rem;
  }
  
  /* Disable animations on mobile to prevent flashing */
  .fade-in-up {
    animation: none !important;
  }
  
  /* Keep card hover effects but disable other animations */
  *:not(.priority-card):not(.priority-card *):not(.btn):not(.btn *) {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

@media (max-width: 480px) {
  .intro__laurel {
    opacity: 0.03;
  }
  
  /* Disable animations on mobile to prevent flashing */
  .fade-in-up {
    animation: none !important;
  }
  
  /* Keep card hover effects but disable other animations */
  *:not(.priority-card):not(.priority-card *):not(.btn):not(.btn *) {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* Priorities Section */
.priorities {
  padding: 4rem 0;
  background-color: #f7fafc;
}

.priorities__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #003087;
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.priorities__title-img {
  height: 5rem;
  width: auto;
  vertical-align: middle;
  margin-right: .5rem;
}

.priorities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.priority-card {
  background-color: #f7fafc;
  border-radius: 0px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}


.priority-card__image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.priority-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.3s ease;
}

.priority-card:hover .priority-card__img {
  transform: scale(1.05);
}


.priority-card__icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background-color: #6b46c1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
}

.priority-card__content {
  padding: 1.5rem;
}

.priority-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #003087;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.priority-card__description {
  color: #4a5568;
  line-height: 1.6;
}

.priorities__cta {
  text-align: center;
}

@media (max-width: 768px) {
  .priorities {
    padding: 3rem 0;
  }
  
  .priorities__title {
    font-size: 2rem;
    margin-bottom: 2rem;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .priorities__title-img {
    height: 5rem;
    margin-bottom: 1rem;
  }
  
  .priorities__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .priority-card__image {
    height: 320px;
  }
}

/* Contact Section Heading */
.contact__heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 2rem;
}

/* Contact Section */
.contact {
  padding: 2rem 0 1rem;
  background-color: #003087;
  color: white;
}

.contact__content {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.contact__person {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.contact__photo {
  position: relative;
}

.contact__img {
  width: 120px;
  height: auto;
  border-radius: 0%;
  object-fit: contain;
}

.contact__icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background-color: #6b46c1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  border: 3px solid white;
}

.contact__info {
  text-align: left;
}

.contact__name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact__title {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.contact__text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.contact__email {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
}

.contact__email:hover {
  color: #0072ce;
  text-decoration-color: #0072ce;
}

@media (max-width: 768px) {
  .contact__heading {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .contact {
    padding: 3rem 0 .16rem;
  }
  
  .contact__content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .contact__person {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact__info {
    text-align: center;
  }
}

/* Footer */
.footer {
  padding: 1rem 0;
  background-color: #003087;
  color: white;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 40px;
}

.footer__links a {
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
  text-decoration: underline;
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__divider {
  color: #4a5568;
  margin: 0 0.5rem;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: right;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.footer__social p {
  text-align: right;
  margin: 0;
  width: 100%;
}

@media (min-width: 769px) {
  .footer__content {
    justify-content: space-between;
    align-items: center;
  }
  
  .footer__links {
    flex: 1;
  }
  
  .footer__social {
    text-align: right;
    flex-shrink: 0;
  }
  
  .footer__social p {
    text-align: right;
  }
}

.footer__social a {
  color: #003087;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer__social a:hover {
  color: #0072ce;
}

@media (max-width: 768px) {
  .footer__content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer__links {
    font-size: 0.875rem;
  }
  
  .footer {
    padding-bottom: 3rem;
  }
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Focus Styles for Accessibility */
.btn:focus,
a:focus {
  outline: 2px solid #0072ce;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn {
    display: none;
  }
  
  .hero {
    height: auto;
    min-height: auto;
  }
  
  .hero__overlay {
    background: #003087;
  }
}
