/* ============================================
   COMBINED STYLESHEET - FIXED VERSION
   ============================================ */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy-dark: #0d2d5e;
  --navy: #134f81;
  --navy-light: #1a679b;
  --accent: #ad3e00;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --error: #dc2626;
  --success: #16a34a;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

body.menu-open {
  overflow: hidden;
}

/* ============================================
   NAVIGATION (Shared across all pages)
   ============================================ */

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.navbar {
  background: var(--white);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 20px 20px 40px -4px rgba(0, 0, 0, 0.9) !important;
  height: 75px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.logo {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.logo img {
  height: 82px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  position: relative;
  top: 16px;
  z-index: 100;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
  position: relative;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.arrow {
  font-size: 10px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* Desktop Navigation */
@media (min-width: 769px) {
  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    flex-direction: row;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .nav-links {
    display: flex;
    flex-direction: row;
    gap: 8px;
    list-style: none;
    width: auto;
  }
  
  .nav-links li {
    border-bottom: none;
    width: auto;
  }
  
  .nav-links > li > a {
    padding: 20px 16px;
    font-size: 14px;
    color: var(--navy-dark);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
  }
  
  .nav-links > li > a:hover {
    color: var(--navy-dark);
  }
  
  .nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    width: auto;
    margin-top: 0;
    margin-left: 16px;
  }
  
  .nav-cta:hover {
    background: #c06210;
  }
  
  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    padding: 8px 0;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 101;
    list-style: none;
  }
  
  .has-dropdown {
    position: relative;
  }
  
  .has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .has-dropdown:hover .arrow {
    transform: rotate(180deg);
  }
  
  .dropdown-menu li {
    width: 100%;
  }
  
  .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s;
  }
  
  .dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--navy);
    padding-left: 24px;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .menu-overlay {
    display: none !important;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: var(--navy-dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 101;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    display: flex;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-links {
    list-style: none;
    width: 100%;
  }
  
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav-links > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 20px 0;
    width: 100%;
  }
  
  .nav-links > li > a:hover {
    color: var(--white);
  }
  
  .nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 14px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    width: 100%;
    text-align: center;
  }
  
  .has-dropdown.active .arrow {
    transform: rotate(180deg);
  }
  
  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    list-style: none;
    padding-left: 16px;
  }
  
  .has-dropdown.active > .dropdown-menu {
    max-height: 500px;
  }
  
  .dropdown-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .dropdown-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
  }
  
  .dropdown-menu a:hover {
    color: var(--white);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mega Menu - Desktop */
@media (min-width: 769px) {
  .mega-menu {
    position: static;
  }
  
  .mega-menu .dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: var(--white);
    border-radius: 0 0 8px 8px;
    min-width: auto;
  }
  
  .mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .mega-column h4 {
    color: var(--navy-dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
  }
  
  .mega-column ul {
    list-style: none;
  }
  
  .mega-column li {
    margin-bottom: 8px;
    border-bottom: none;
  }
  
  .mega-column a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    padding: 0;
  }
  
  .mega-column a:hover {
    color: var(--navy);
    padding-left: 5px;
    background: transparent;
  }
}

/* Mega Menu - Mobile */
@media (max-width: 768px) {
  .mega-grid {
    display: block;
    padding-left: 15px;
  }
  
  .mega-column {
    margin-bottom: 20px;
  }
  
  .mega-column h4 {
    cursor: pointer;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 0;
  }
  
  .mega-column ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .mega-column.active ul {
    max-height: 500px;
  }
  
  .mega-column a {
    color: rgba(255,255,255,0.7);
    padding: 8px 0;
    display: block;
  }
}

/* ============================================
   HERO SECTIONS (Page-Specific Variants)
   ============================================ */

/* Base Hero Styles */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.85) 0%,
    rgba(26, 54, 93, 0.7) 50%,
    rgba(44, 74, 110, 0.6) 100%
  );
  z-index: 1;
}

/* Home Page Hero (was styles.css) - using BEM style modifier */
.hero--home {
  height: 700px;
  background-image: url('analexheadera2.jpg');
}


.hero--page {
  height: 250px;
}

/* Image-only classes */
.hero-img-default { background-image: url('atomicbomb2b.jpg'); }
.hero-img-experimental2 { background-image: url('experimentalheader.jpg'); }
.hero-img-theoretical { background-image: url('theoreticaltopper3.jpg'); }
.hero-img-history { background-image: url('historytopper2.jpg'); }
.hero-img-physics { background-image: url('physicsheader2.jpg'); }
.hero-img-chemistry { background-image: url('chemistryheader.jpg'); }
.hero-img-biology { background-image: url('biologyheader.jpg'); }
.hero-img-geology { background-image: url('geologyheader.jpg'); }
.hero-img-meteorology { background-image: url('meteorologyheader.jpg'); }
.hero-img-mathematics { background-image: url('mathematicsheader.jpg'); }
.hero-img-archaeology { background-image: url('archaeologyheader.jpg'); }
.hero-img-aerospace { background-image: url('aerospacetechheader.jpg'); }
.hero-img-automotive { background-image: url('automotivetechheader.jpg'); }
.hero-img-energy { background-image: url('energytechheader.jpg'); }
.hero-img-marine { background-image: url('marinetechheader.jpg'); }
.hero-img-ithardware { background-image: url('ithardwaretechheader.jpg'); }
.hero-img-itsoftware { background-image: url('itsoftwaretechheader.jpg'); }
.hero-img-medical { background-image: url('medicaltechheader.jpg'); }
.hero-img-pharmaceuticals { background-image: url('pharmaceuticaltechheader.jpg'); }
.hero-img-telecom { background-image: url('telecomtechheader.jpg'); }
.hero-img-foundation { background-image: url('dehoffmannfoundationheader.jpg'); }
/* Add as many as you need */




.hero--page h1 {
  font-size: 36px;
}

/* Contact Page Header (was contact.css) - Alternative to Hero */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 24px;
  text-align: justify;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.page-header h1 em {
  color: rgba(255,255,255,0.7);
  font-style: normal;
}

.page-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Content Container (the inner div) */
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero h1 em {
  color: rgba(255,255,255,0.7);
  font-style: normal;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #c06210;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
  text-align: justify;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 5px;
}

.section-header h2 em {
  color: var(--accent);
  font-style: normal;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   CONTENT PAGE STYLES
   ============================================ */

.content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px 15px;
}

.page-header-content {
  margin-bottom: 0px;
  padding-bottom: 0px;
  border-bottom: 2px solid var(--navy);
}

.page-header-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.2;
  margin-bottom: 0px;
}

.page-header-content .subtitle {
  font-size: 20px;
  color: var(--text-muted);
  font-weight: 400;
}

.page-meta {
  display: flex;
  gap: 24px;
  margin-top: 5px;
  font-size: 14px;
  color: var(--text-muted);
}

.page-meta span {
  display: flex;
  align-items: justify;
  gap: 6px;
}

/* Content Body Typography */
.content-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
}

.content-body h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 0px 0 10px;
  padding-bottom: 0px;
  border-bottom: 1px solid var(--bg-light);
}

.content-body h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin: 10px 0 10px;
}

.content-body h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-dark);
  margin: 10px 0 10px;
}

.content-body p {
  margin-bottom: 24px;
}

.content-body strong {
  color: var(--navy-dark);
  font-weight: 600;
}

.content-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.content-body a:hover {
  color: var(--navy);
}

.content-body ul,
.content-body ol {
  margin-bottom: 24px;
  padding-left: 28px;
}

.content-body li {
  margin-bottom: 12px;
}

.content-body ul li {
  list-style-type: disc;
}

.content-body ul li::marker {
  color: var(--accent);
}

.content-body blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 20px;
}

/* Content Images */
.content-image {
  margin: 0px 0;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0,0,0,0);
}

.content-image .caption {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 0px;
  text-align: center;
  font-style: italic;
}

.content-image.center {
  text-align: center;
}

.content-image.center img {
  max-width: 100%;
  width: auto;
  margin: 0px;
}

.content-image.left {
  float: left;
  margin: 0 32px 24px 0;
  max-width: 45%;
}

.content-image.right {
  float: right;
  margin: 0 0 24px 32px;
  max-width: 45%;
}

.content-image.wide {
  margin: 40px -24px;
  max-width: calc(100% + 48px);
}

.content-image.wide img {
  border-radius: 0;
}

.content-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.content-image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* Callout Boxes */
.callout {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: 5px 15px 5px 15px;
  margin: 15px 0px 25px 0px;
  border-radius: 0 15px 15px 0;
  box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.25);
}

.callout h1 {
  margin-top: 0;
  color: var(--navy-dark);
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout.info {
  border-left-color: var(--navy);
  background: rgba(26, 54, 93, 0.05);
}

.highlight-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 15px;
  border-radius: 0 15px 15px 0;
  margin: 15px 0;
}

.highlight-box h2 {
  color: var(--white);
  margin-top: 0;
}

.highlight-box p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}

/* Tables */
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 16px;
}

.content-table th {
  background: var(--navy-dark);
  color: var(--white);
  padding: 16px;
  text-align: justify;
  font-weight: 600;
}

.content-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bg-light);
}

.content-table tr:nth-child(even) {
  background: var(--bg-light);
}

.content-table tr:hover {
  background: rgba(196, 30, 58, 0.05);
}

/* Resource Links */
.resource-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-light);
  border-radius: 8px;
  margin: 16px 0;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s;
}

.resource-link:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateX(4px);
}

.resource-link .icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

.resource-link:hover .icon {
  background: var(--white);
  color: var(--navy-dark);
}


/* List Links */
a.list-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-light);
  border-radius: 8px;
  margin: 16px 0;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s;
}

a.list-link:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateX(4px);
}

a.list-link .icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
}

a.list-link:hover .icon {
  background: var(--white);
  color: var(--navy-dark);
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--navy);
  transform: translateY(-4px);
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-section {
  max-width: 800px;
  margin: -40px auto 80px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.contact-form-container {
  background: var(--white);
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-intro {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bg-light);
}

.form-intro h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.form-intro p {
  color: var(--text-muted);
  font-size: 16px;
}

.required-note {
  color: var(--accent);
  font-size: 14px;
  margin-top: 8px;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.required label::after {
  content: " *";
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.error-message {
  color: var(--error);
  font-size: 13px;
  margin-top: 6px;
  display: none;
}

.error-message.visible {
  display: block;
}

/* File Upload */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px dashed #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.file-upload:hover .file-upload-label {
  border-color: var(--navy);
  background: var(--bg-light);
}

.file-upload-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 18px;
}

.file-upload-text {
  flex: 1;
}

.file-upload-text strong {
  display: block;
  color: var(--navy-dark);
  font-weight: 600;
}

.file-upload-text span {
  font-size: 13px;
  color: var(--text-muted);
}

.file-name {
  margin-top: 8px;
  font-size: 14px;
  color: var(--navy);
  display: none;
}

.file-name.visible {
  display: block;
}

/* Submit Button */
.form-submit {
  margin-top: 32px;
  text-align: center;
}

.btn-submit {
  background: var(--accent);
  color: var(--white);
  padding: 16px 48px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit:hover {
  background: #a01830;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-submit:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: none;
}

.btn-submit.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Messages */
.form-message {
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 24px;
  display: none;
}

.form-message.visible {
  display: block;
}

.form-message.success {
  background: #dcfce7;
  color: var(--success);
  border: 1px solid #86efac;
}

.form-message.error {
  background: #fee2e2;
  color: var(--error);
  border: 1px solid #fecaca;
}

/* Contact Info Cards */
.contact-info {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

.info-card {
  background: var(--white);
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.info-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--navy);
  font-size: 24px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.info-card a {
  color: var(--accent);
  text-decoration: none;
}

.info-card a:hover {
  text-decoration: underline;
}

/* ============================================
   HOME PAGE SECTIONS
   ============================================ */

/* Mission Section */
.mission {
  padding: 20px 24px;
  background: var(--white);
}

.mission-container {
  max-width: 1200px;
  margin: 0 auto;
}

.mission-text {
  font-size: 22px;
  line-height: 1.7;
  color: var(--text-dark);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.mission-text strong {
  color: var(--navy);
}

.mission-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Focus Areas */
.focus-areas {
  padding: 20px 24px;
  background: var(--bg-light);
}

.focus-container {
  max-width: 1200px;
  margin: 0 auto;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.focus-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.focus-image {
  height: 150px;
  position: relative;
  overflow: hidden;
}

.focus-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10,22,40,0.4) 100%);
}

.focus-image.empirical { 
  height: 280px;
  width: 100%;
  background-image: url('empiricaltopper2b2.jpg');
  background-position: center;
  background-repeat: no-repeat;
}

.focus-image.experimental { 
  height: 280px;
  width: 100%;
  background-image: url('experimentaltopper2.jpg');
  background-position: center;
  background-repeat: no-repeat;
}

.focus-image.theoretical { 
  height: 280px;
  width: 100%;
  background-image: url('theoreticaltopper2b.jpg');
  background-position: center;
  background-repeat: no-repeat;
}

.focus-image.applied { 
  height: 280px;
  width: 100%;
  background-image: url('appliedtopper.jpg');
  background-position: center;
  background-repeat: no-repeat;
}


.focus-content {
  padding: 24px;
}

.focus-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.focus-content .subtitle {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.focus-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.focus-links {
  display: flex;
  gap: 16px;
}

.focus-links a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.focus-links a:hover {
  color: var(--accent);
}

.focus-links a.secondary {
  color: var(--text-muted);
}

/* Impact Section */
.impact {
  padding: 80px 24px;
  background: var(--white);
}

.impact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.impact-card {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 8px;
  transition: all 0.2s;
}

.impact-card:hover {
  background: #f1f5f9;
}

.impact-image {
  width: 160px;
  height: 120px;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-radius: 6px;
  flex-shrink: 0;
}

.impact-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.impact-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.impact-content a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.impact-content a:hover {
  color: var(--accent);
}

/* News Section */
.news {
  padding: 80px 24px;
  background: var(--bg-light);
}

.news-container {
  max-width: 1200px;
  margin: 0 auto;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.news-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy-dark);
}

.news-header h2 em {
  color: var(--accent);
  font-style: normal;
}

.view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.view-all:hover {
  color: var(--accent);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.news-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.2s;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.news-image {
  height: 140px;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
}

.news-content {
  padding: 16px;
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

/* CTA Section */
.cta-section {
  padding: 30px 24px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--navy-dark);
  padding: 60px 24px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}

.footer-brand span {
  color: var(--accent);
}

.footer-about {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 300px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1024px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero--home { height: 500px; }
  .hero--page { height: 200px; }
  .focus-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mission-stats { gap: 30px; }
  .impact-card { flex-direction: column; }
  .impact-image { width: 100%; }
  .hero-buttons { flex-direction: column; }
  .nav-menu { width: 280px; }
  .page-header h1 { font-size: 32px; }
  .page-header-content h1 { font-size: 32px; }
  .content-page { padding: 40px 20px; }
  .content-body { font-size: 16px; }
  .content-body h2 { font-size: 26px; }
  .contact-form-container { padding: 32px 24px; }
  
  /* Stack floated images on mobile */
  .content-image.left,
  .content-image.right {
    float: none;
    max-width: 100%;
    margin: 32px 0;
  }
  
  .content-image-grid {
    grid-template-columns: 1fr;
  }
  
  .content-image.wide {
    margin: 32px -20px;
    max-width: calc(100% + 40px);
  }
}