/* Wildlands Technologies Main Stylesheet */
/* Combines branding, layout, components, and responsive design */

:root {
  /* Primary Colors */
  --primary-dark: #0a2540;
  --primary-darker: #071a2e;
  --secondary-teal: #00b4d8;
  --secondary-teal-dark: #0098b8;
  --accent-gold: #ffcc00;
  --accent-gold-dark: #e6b800;
  
  /* Grayscale */
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #6c757d;
  --border-color: #dee2e6;
  --shadow: rgba(0, 0, 0, 0.08);
  
  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 25px;
  --spacing-xl: 40px;
  --spacing-xxl: 60px;
  
  /* Dimensions */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-circle: 50%;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px var(--shadow);
  --box-shadow-lg: 0 10px 30px var(--shadow);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

a {
  color: var(--secondary-teal);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-teal-dark);
  text-decoration: underline;
}

/* Containers & Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--spacing-md);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--spacing-md) * -1);
}

.col {
  flex: 1;
  padding: 0 var(--spacing-md);
}

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.8rem;
  margin: 0;
  font-family: 'Playfair Display', serif;
}

.logo span {
  color: var(--secondary-teal);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 5px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-teal);
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--secondary-teal);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-dark);
  z-index: 1001;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0c355a 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

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

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--secondary-teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary-teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 180, 216, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-teal);
  border: 2px solid var(--secondary-teal);
}

.btn-secondary:hover {
  background: rgba(0, 180, 216, 0.1);
  transform: translateY(-3px);
  text-decoration: none;
}

.btn-accent {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-accent:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(255, 204, 0, 0.3);
  text-decoration: none;
}

.btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* Sections */
.content-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.card-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 20px;
  text-align: center;
}

.card-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.5rem;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content ul {
  list-style-type: none;
  padding: 0;
  flex-grow: 1;
}

.card-content ul li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.card-content ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary-teal);
}

.card-footer {
  padding: 0 25px 25px;
  text-align: center;
}

/* Forms */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary-teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.form-control::-webkit-input-placeholder {
  color: var(--text-light);
}

.form-control::-moz-placeholder {
  color: var(--text-light);
}

.form-control:-ms-input-placeholder {
  color: var(--text-light);
}

.form-control::-ms-input-placeholder {
  color: var(--text-light);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2540' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.checkbox-option {
  flex: 1 1 calc(50% - 15px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--light-bg);
  padding: 12px 15px;
  border-radius: var(--border-radius);
}

.checkbox-option input {
  width: auto;
  margin: 0;
}

/* Rating/Radio Group */
.rating-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.rating-option {
  flex: 1;
  text-align: center;
}

.rating-option input {
  display: none;
}

.rating-option label {
  display: block;
  padding: 15px;
  background: var(--light-bg);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.rating-option input:checked + label {
  background: var(--secondary-teal);
  color: var(--white);
}

.rating-option label:hover {
  background: #e2f4f8;
}

/* Stats Section */
.stats {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0c355a 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--accent-gold);
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* CTA Section */
.cta {
  background: linear-gradient(to right, var(--primary-dark), #0c355a);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 70px 0 0;
}

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

.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

/* Icons */
.icon-large {
  font-size: 3rem;
  color: var(--secondary-teal);
  margin: 20px 0;
  text-align: center;
}

.icon-medium {
  font-size: 1.5rem;
  color: var(--secondary-teal);
  margin-right: 10px;
}

/* Background Variants */
.bg-light {
  background: var(--light-bg);
}

.bg-primary {
  background: var(--primary-dark);
  color: var(--white);
}

.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6 {
  color: var(--white);
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-light {
  color: var(--text-light);
}

.text-white {
  color: var(--white);
}

.mt-0 { margin-top: 0; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.mb-0 { margin-bottom: 0; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.py-20 { padding-top: 20px; padding-bottom: 20px; }
.py-40 { padding-top: 40px; padding-bottom: 40px; }
.py-60 { padding-top: 60px; padding-bottom: 60px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }

.no-bullets {
  list-style: none;
  padding: 0;
}

.align-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.justify-center {
  justify-content: center;
}

.flex-column {
  flex-direction: column;
}

.hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
  }
  
  .checkbox-option {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }
  
  .content-section {
    padding: 60px 0;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-col ul {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 10px;
  }
  
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .checkbox-option {
    flex: 1 1 100%;
  }
  
  .rating-group {
    flex-direction: column;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-dark: #e0e0e0;
    --text-medium: #c0c0c0;
    --text-light: #a0a0a0;
    --light-bg: #1a1a1a;
    --white: #121212;
    --border-color: #444;
  }
  
  body {
    background-color: var(--white);
    color: var(--text-dark);
  }
  
  .card,
  .support-card,
  .dept-card,
  .perk-card,
  .kb-card,
  .testimonial-card {
    background: #2a2a2a;
    color: var(--text-dark);
  }
  
  .card-header,
  .support-header,
  .culture-header,
  .highlight-header,
  .category-header {
    background: #0d2f4d;
  }
  
  .form-control,
  .checkbox-option {
    background: #333;
    border-color: #555;
    color: var(--text-dark);
  }
  
  .stats,
  .hero,
  header {
    background: #0d0d0d;
  }
  
  .btn-secondary {
    border-color: var(--text-dark);
    color: var(--text-dark);
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  nav,
  .mobile-menu-btn,
  .hero,
  .breadcrumb,
  .cta,
  .footer-social,
  .btn,
  .no-print {
    display: none !important;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    font-style: italic;
  }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
  a:focus,
  button:focus,
  input:focus,
  select:focus,
  textarea:focus {
    outline: 2px solid var(--secondary-teal);
    outline-offset: 2px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .btn,
  .card,
  .nav-list a,
  .checkbox-option,
  .rating-option label {
    transition: none;
  }
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loaded {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Scrollbar Styling (Webkit browsers) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-teal);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-teal-dark);
}