/*!
Theme Name: oa
Theme URI: https://oppalerts.com/
Author: oppalerts.com
Author URI: http://oppalerts.com/
Description: Description
Version: 1.0.0
*/


/*==============================================================================
| CSS SECTION: GLOBAL STYLES
==============================================================================*/
:root {
  /* Color Palette */
  --deep-blue: #00556e;
  --blue-light: #006d8f;
  --blue-lighter: #e0f2f8;

  /* Neutral Colors */
  --grey-50: #f7f9fc;
  --grey-100: #eef1f5;
  --grey-200: #e1e5e9;
  --grey-300: #cfd4d9;
  --grey-400: #a7afb6;
  --grey-500: #868f96;
  --grey-600: #5e666c;
  --grey-700: #43484d;
  --grey-800: #2a2c30;
  --grey-900: #18191d;

  /* UI Elements */
  --border-thin: 1px solid var(--grey-200);
  --border-medium: 2px solid var(--grey-300);
  --border-accent: 2px solid var(--deep-blue);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 15px 25px rgba(0, 0, 0, 0.1);

  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;

  /* Layout */
  --container-max-width: 1200px;
  --header-height: 70px;
  --section-padding: 5rem;
}

/*==============================================================================
| CSS SECTION: RESET AND BASE STYLES
==============================================================================*/

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--grey-700);
  background-color: var(--grey-50);
  letter-spacing: -0.01em;
  background-image:
    linear-gradient(to right, var(--grey-100) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grey-100) 1px, transparent 1px);
  background-size: 50px 50px;
  background-attachment: fixed;
  margin-top:70px;
}


/* important for layout to push footer down */
html, body {
  height: 100%;
}
body {
	min-height: 100vh;
}
body:not(.home) {
	display: flex;
	flex-direction: column;
}
body > main {
  flex: 1 0 auto;
}
body > footer {
  flex-shrink: 0;
}



h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--grey-800);
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

h1 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.5px;
}

h2 {
  font-size: var(--font-size-3xl);
  letter-spacing: -0.3px;
}

h3 {
  font-size: var(--font-size-2xl);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--deep-blue);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

a:hover {
  color: var(--blue-light);
}

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

li {
  margin-bottom: var(--space-xs);
}

a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--blue-light);
  transition: width 0.3s ease;
}

a:not(.btn):hover::after {
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: var(--border-thin);
}

/*==============================================================================
| CSS SECTION: LAYOUT & CONTAINERS
==============================================================================*/
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--grey-300), transparent);
  width: 100%;
  position: absolute;
  bottom: 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--deep-blue);
  margin: var(--space-xs) auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--grey-600);
  font-size: var(--font-size-lg);
  margin: calc(-1 * var(--space-md)) auto var(--space-xl);
  max-width: 600px;
}

/*==============================================================================
| CSS SECTION: BUTTONS & INTERACTIVE ELEMENTS
==============================================================================*/
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: var(--font-size-base);
  line-height: 1.4;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--deep-blue);
  color: white;
  border: 2px solid var(--deep-blue);
}

.btn-primary:hover {
  background-color: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--deep-blue);
  border: 2px solid var(--deep-blue);
}

.btn-outline:hover {
  background-color: var(--blue-lighter);
  border-color: var(--deep-blue);
  transform: translateY(-2px);
}

/*==============================================================================
| CSS SECTION: HEADER & NAVIGATION
==============================================================================*/
body > header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(247, 249, 252, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: var(--border-thin);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  width: 100%;
  padding: 0 var(--space-md);
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--grey-800);
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--deep-blue);
}

nav {
  display: flex;
  align-items: center;
  height: var(--header-height);
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-sm);
  height: 100%;
  align-items: center;
}

nav a {
  color: var(--grey-700);
  font-weight: 500;
  font-size: var(--font-size-base);
  padding: 0.25rem 0;
}

nav a:hover {
  color: var(--deep-blue);
}

/*==============================================================================
| CSS SECTION: FOOTER
==============================================================================*/
.footer {
  background-color: var(--grey-800);
  color: var(--grey-300);
  padding: var(--space-xl) 0;
  margin-top: var(--space-xl);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.5px;
}

.footer-logo span {
  color: var(--blue-light);
}

.footer-tagline {
  color: var(--grey-400);
  margin-bottom: var(--space-md);
}

.footer h3 {
  color: white;
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  position: relative;
}

.footer h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--blue-light);
  margin-top: var(--space-xs);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--grey-400);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--grey-700);
  border-radius: 50%;
  color: var(--grey-300);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background-color: var(--deep-blue);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--grey-700);
  font-size: var(--font-size-sm);
}

/* Media Queries */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 576px) {
  :root {
    --section-padding: 2rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
  }

  nav ul {
    gap: var(--space-sm);
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: var(--font-size-sm);
  }
}
