/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Vlix Brand Colors and Utilities (matching reference design) */
.bg-primary {
  background: #023A57 !important;
}

.text-primary {
  color: #023A57 !important;
}

.text-accent {
  color: #009AE5 !important;
}

.text-secondary {
  color: #8d8d8d !important;
}

hr {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.overflow-x-hidden {
  overflow-x: hidden !important;
}

.overflow-x-visible {
  overflow-x: visible !important;
}

@media (min-width:992px)  {
  .full-page {
    height: 100vh;
  }
  .overflow-x-lg-visible {
    overflow-x: visible !important;
  }
}

.op-drop-shadow {
  box-shadow: 0px 0px 30px #111111;
}

.op-drop-shadow-light {
  box-shadow: 0px 0px 10px #666666;
}

/* SCROLL SNAPPING - Minimal and bulletproof */
html {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

/* Header content styling */
.header-content {
  max-width: 800px;
}

/* Logo image styling */
.header-content img {
  max-width: 50px;
  border-radius: 50px;
}

/* Ensure proper text alignment and spacing */
.display-3 {
  font-weight: bold;
  line-height: 1.1;
}

.display-6 {
  font-weight: normal;
}

/* Custom animations and transitions */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Fixed navigation bar */
.fixed-top-nav {
  height: 80px;
  min-height: 80px;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Navigation menu styling */
.fixed-top-nav .btn-link {
  border: none;
  background: none;
  font-size: 1rem;
}

.fixed-top-nav .btn-link:hover {
  color: #009AE5 !important;
  text-decoration: none;
}

.fixed-top-nav .btn-link:focus {
  box-shadow: none;
}

/* Dropdown menu styling */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #023A57;
}

/* SCROLL SNAPPING - Full page sections */
.full-page {
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
}

/* Ensure flexbox layout works properly for section with copyright strip */
.full-page.d-flex.flex-column {
  justify-content: space-between;
}


/* First header section needs padding for fixed nav */
header.full-page {
  padding-top: 80px;
}

/* Desktop: Keep original left alignment */
@media (min-width: 992px) {
  header.full-page {
    align-items: stretch;
  }

  header.full-page .container {
    justify-content: flex-start;
    align-items: center;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
  .display-3 {
    font-size: 2.5rem;
  }

  .display-6 {
    font-size: 1.1rem;
  }
}

/* Ensure proper container spacing on mobile */
@media (max-width: 576px) {
  .mx-5 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }

  .display-3 {
    font-size: 2rem;
  }

  .display-6 {
    font-size: 1rem;
  }
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
  /* Fixed navigation bar styling */
  .fixed-top-nav {
    height: auto;
    min-height: 70px;
    padding: 0.75rem 1rem;
  }

  /* Stack navigation items vertically on mobile */
  .fixed-top-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .fixed-top-nav > div {
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .fixed-top-nav > div:last-child {
    margin-bottom: 0;
  }

  /* Header section adjustments for mobile */
  header.full-page {
    padding-top: 70px;
    justify-content: center;
    align-items: center;
  }

  /* Mobile content centering - ensure full height and centering */
  header.full-page .container {
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Center the header content div */
  header.full-page .header-content {
    text-align: center;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Also ensure all other sections center their content on mobile */
  .full-page .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .full-page .header-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

