@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html, body {
  overflow-x: hidden;
}

:root {
  /* Spacing */
  /* --gutter: 30px; */
  --gutter: 24px;
  --radius: calc(var(--gutter) / 4);

  /* Colors */
  --penn-blue: #111857;
  --medium-blue: #1005CC;
  --turquoise: #00D8B2;
  --majorelle-blue: #5649EB;
  --electric-blue: #25E1FA;
  --aqua: #27F7FE;
  --screamin-green: #51FA60;
  --white: #FFFFFF;

  /* Typography families */
  --font-sans: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Type scale (sizes) */
  --h1-size: 4.44rem;
  --h2-size: 2.89rem;
  --h3-size: 1.89rem;
  --h4-size: 1rem;
  --body-size: 1rem;
  --caption-size: 0.75rem;

  /* Line heights & margins */
  --body-lh: 26px;
  --caption-mb: 12px;
  --h1-mb: 50px;
  --h2-mb: 30px;
  --h3-mb: 30px;
  --h4-mb: 20px;
  --body-mb: 16px;

  /* Layout calculations */
  --page-padding-left: calc(var(--gutter) * 8); /* 240px */
  --page-padding-right: calc(var(--gutter) * 5); /* 150px */
  
  /* Sidebar width: 18% of screen width */
  --sidebar-width: 18%;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, h1, h2, h3, h4, p, a, blockquote, strong, .caption {
  line-height: 1.2;
}

body {
  color: var(--penn-blue);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--body-size);
  line-height: var(--body-lh);
  transition: transform 0.3s ease;
}

/* Typography */
h1 {
  font-weight: 700;
  font-size: var(--h1-size);
  margin-bottom: var(--h1-mb);
  color: var(--penn-blue);
}

h2 {
  font-weight: 700;
  font-size: var(--h2-size);
  margin-bottom: var(--h2-mb);
  color: var(--penn-blue);
}

h3 {
  font-weight: 700;
  font-size: var(--h3-size);
  margin-bottom: var(--h3-mb);
  color: var(--penn-blue);
}

h4 {
  font-weight: 700;
  font-size: var(--h4-size);
  margin-bottom: var(--h4-mb);
  text-transform: uppercase;
  color: var(--penn-blue);
}

p {
  font-size: var(--body-size);
  line-height: var(--body-lh);
  margin-bottom: var(--body-mb);
  color: var(--penn-blue);
}

.caption {
  font-size: var(--caption-size);
  margin-bottom: var(--caption-mb);
  color: var(--penn-blue);
}

blockquote {
  font-size: 30px;
  line-height: 36px;
  margin-left: 20px;
  padding-right: 40px;
  border-left: 3px solid var(--penn-blue);
  color: var(--penn-blue);
}

strong {
  font-weight: 700;
}

.highlight {
  color: var(--medium-blue);
}

a {
  text-decoration: underline;
  color: var(--screamin-green);
}

button {
  background-color: var(--screamin-green);
  color: var(--penn-blue);
  border: none;
  border-radius: var(--radius);
  padding: 5px;
  cursor: pointer;
}
.large-button {
  width: 100%;

}

button > h1, button > h2, button > h3, button > h4, button > p {
  color: var(--penn-blue);
  margin-bottom: 0px;
  padding: 1px 12px 1px 10px;
  text-decoration: none;
}

.center {
  text-align: center;
  align-items: center;
}

.blue {
  color: var(--medium-blue);
}

img {
  max-width: 100%;
  border-radius: var(--radius);
}

img.profile-picture {
  width: 100%;
}

.video {
  max-width: 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}

.icon {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 120px;
}

.socials-icon {
  width: 60px;
  height: 60px;
  padding-right: 10px;
}
.horizontal {
  display: flex;
}

.box {
  background-color: white;
  padding-top: 30px;
  padding-right: 20px;
  padding-bottom: 15px;
  border-radius: var(--radius);
}
.box img {
  display: block;
  width: 160px;
  margin-left: auto;
  align-self: right;
}

/* Main content area */
.main-content {
  margin-top: 120px; /* Account for fixed header */
  min-height: calc(100vh - 120px);
}

/* When sidebar is open, content shifts left */
/* body.sidebar-open .main-content {
  transform: translateX(-18%);
  width: 82%;
} */

/* Section blocks */
.section {
  scroll-margin-top: calc(var(--gutter) * 5);
  padding-top: calc(var(--gutter) * 3);
  padding-bottom: calc(var(--gutter) * 5);
  margin: 0;
}

.section.condensed-bottom {
  padding-bottom: var(--gutter);
}
.section.condensed-top {
  padding-top: var(--gutter);
}

.section.penn-blue {
  background-color: var(--penn-blue);
}

.section.penn-blue h1, 
.section.penn-blue h2, 
.section.penn-blue h3, 
.section.penn-blue h4, 
.section.penn-blue p {
  color: var(--white);
}

.section.penn-blue a {
  color: var(--electric-blue);
}

.section.medium-blue {
  background-color: var(--medium-blue);
}

.section.medium-blue h1, 
.section.medium-blue h2, 
.section.medium-blue h3, 
.section.medium-blue h4, 
.section.medium-blue p {
  color: var(--white);
}

.section.medium-blue a {
  color: var(--electric-blue);
}

.section.turquiose {
  background-color: var(--turquoise);
}
.section.section.turquiose a {
  color: var(--penn-blue);
}

.section.turquiose h1, 
.section.turquiose h2, 
.section.turquiose h3, 
.section.turquiose h4, 
.section.turquiose p,
.section.turquiose li  {
  color: var(--white);
}

.section.turquiose a {
  color: var(--electric-blue);
}

.section.penn-blue button h4,
.section.medium-blue button h4,
.section.section.turquiose button h4 {
  color: var(--penn-blue);
}

/* .section.turquiose button < */

/* Grid container within sections */
.grid-container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--page-padding-left);
  padding-right: var(--page-padding-right);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

/* Sidebar - fixed to right side, 18% width */
.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--medium-blue);
  z-index: 200;
  padding: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar-nav {
  text-align: center;
}

.sidebar-nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--h4-size);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--h4-mb);
}

/* Grid column spans */
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }

/* Mobile responsive - all columns become full width */
@media (max-width: 768px) {
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-9,
  .col-12 {
    grid-column: span 12;
  }

  .mob-4 {
    grid-column: span 4;
  }
  .mob-6 {
    grid-column: span 6;
  }
  
  /* Adjust padding for mobile */
  :root {
    --page-padding-left: var(--gutter);
    --page-padding-right: var(--gutter);
  }
  
  /* Mobile sidebar takes full width */
  .sidebar {
    width: 100%;
  }
  
  body.sidebar-open .main-content {
    transform: translateX(-100%);
    width: 100%;
  }
}

/* Utility classes */
.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Header Styles */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--page-padding-left) 0 var(--page-padding-right);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--penn-blue);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger animation when sidebar is open */
.sidebar-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.sidebar-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.sidebar-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Footer Styles */
.main-footer {
  background-color: var(--penn-blue);
  color: var(--white);
  padding: calc(var(--gutter) * 2) 0 var(--gutter) 0;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--page-padding-left) 0 var(--page-padding-right);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gutter);
  margin-bottom: var(--gutter);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.footer-section a:hover {
  color: var(--electric-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  color: var(--white);
  margin-bottom: 0;
  font-size: var(--caption-size);
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  .header-container {
    padding: 0 var(--gutter);
  }
  
  .logo img {
    height: 45px;
  }
}