/* Golden Grimes Consulting Website Styles */

/* CSS Variables for Brand Colors */
:root {
  /* Brand Colors */
  --primary-bg: linear-gradient(135deg, #0A0F1C 0%, #03060D 100%);
  --primary-dark: #03060D;
  --primary-light: #0A0F1C;
  --text-white: #FFFFFF;
  --text-navy: #03060D;
  
  /* Gradient Colors */
  --gradient-orange: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FF0000 100%);
  --gradient-magenta: linear-gradient(135deg, #E91E63 0%, #AD1457 50%, #FF69B4 100%);
  --gradient-violet: linear-gradient(135deg, #9C27B0 0%, #673AB7 50%, #3F51B5 100%);
  --gradient-blue: linear-gradient(135deg, #2196F3 0%, #00BCD4 50%, #009688 100%);
  
  /* Typography */
  --font-header: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 4rem 0;
  --element-spacing: 2rem;
  
  /* Shadows */
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  
  /* Border Radius */
  --border-radius: 12px;
  --button-radius: 8px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--primary-bg);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

a {
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Header and Navigation */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(3, 6, 13, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
  padding: 1rem 0;
}

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

.nav-brand .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-image {
  height: 60px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.logo-text-fallback {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: -0.2rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #00BCD4;
}

.nav-link.cta-nav {
  background: var(--gradient-blue);
  padding: 0.75rem 1.5rem;
  border-radius: var(--button-radius);
  font-weight: 600;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(3, 6, 13, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-white);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-link:hover {
  background: rgba(0, 188, 212, 0.1);
  border-left-color: #00BCD4;
  color: #00BCD4;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-white);
  transition: 0.3s;
}

/* Main Content */
.main-content {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  background-image: url('/static/hero-ai-consulting.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 6, 13, 0.8);
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #00BCD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-circuits {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 0 10 L 10 10 M 10 0 L 10 20 M 20 10 L 10 10" stroke="%2300BCD4" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>') repeat;
  animation: circuitFlow 20s linear infinite;
}

@keyframes circuitFlow {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-20px) translateY(-20px); }
}

/* Page Hero Sections */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 6, 13, 0.75);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #00BCD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

/* Page-Specific Hero Backgrounds */
.page-hero.about-hero {
  background-image: url('/static/profile-photo-new.png'), 
                    linear-gradient(135deg, #2196F3 0%, #00BCD4 50%, #009688 100%);
  background-size: 300px auto, cover;
  background-position: 85% center, center;
  background-repeat: no-repeat, no-repeat;
}

.page-hero.services-hero {
  background-image: url('/static/services-workspace.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero.blog-hero {
  background-image: url('/static/blog-digital-literacy.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero.resources-hero {
  background-image: url('/static/hero-ai-consulting.jpg');
  background-size: cover;
  background-position: center;
}

.page-hero.contact-hero {
  background: linear-gradient(135deg, #9C27B0 0%, #673AB7 50%, #3F51B5 100%);
  background-size: cover;
  background-position: center;
}

/* Hero Pattern Overlay */
.page-hero .hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="1" fill="%2300BCD4"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>') repeat;
  z-index: 1;
  animation: patternFloat 30s linear infinite;
}

@keyframes patternFloat {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-10px) translateY(-10px); }
}

/* Blog Post Hero Sections */
.post-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 6, 13, 0.8);
  z-index: 1;
}

.post-hero .container {
  position: relative;
  z-index: 2;
}

.post-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.post-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 188, 212, 0.2);
  color: #00BCD4;
  border: 1px solid #00BCD4;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.post-header h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #00BCD4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.post-meta {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.post-meta span {
  margin: 0 1rem;
}

/* Post-Specific Hero Backgrounds */
.post-hero.digital-literacy-hero {
  background-image: url('/static/blog-digital-literacy.jpg');
}

.post-hero.ai-business-hero {
  background-image: url('/static/blog-small-business-ai.jpg');
}

.post-hero.innovation-hero {
  background-image: url('/static/blog-inclusive-innovation.jpg');
}

/* Buttons */
.cta-button, .cta-button.secondary {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-button {
  background: var(--gradient-blue);
  color: var(--text-white);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid #00BCD4;
  color: #00BCD4;
}

.cta-button:hover, .cta-button.secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

/* Sections */
section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3rem;
}

/* Services Grid */
.services-grid {
  background: rgba(255, 255, 255, 0.02);
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gradient-orange { background: var(--gradient-orange); }
.gradient-magenta { background: var(--gradient-magenta); }
.gradient-violet { background: var(--gradient-violet); }
.gradient-blue { background: var(--gradient-blue); }

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

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-link {
  color: var(--text-white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* About Snapshot */
.about-snapshot {
  background: rgba(0, 0, 0, 0.2);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  color: #00BCD4;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

blockquote {
  font-style: italic;
  font-size: 1.3rem;
  color: #00BCD4;
  margin: 2rem 0;
  padding-left: 2rem;
  border-left: 4px solid #00BCD4;
}

.service-highlight {
  background: rgba(0, 188, 212, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
  border-left: 4px solid #00BCD4;
}

.service-highlight h3 {
  color: #00BCD4;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-highlight p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
}

.learn-more-btn {
  background: var(--gradient-magenta);
  padding: 1rem 2rem;
  border-radius: var(--button-radius);
  font-weight: 600;
  color: var(--text-white);
}

.about-image, .placeholder-image, .ceo-portrait, 
.blog-image, .post-image {
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* Profile Photo Styles */
.ceo-portrait-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  object-fit: cover;
  aspect-ratio: 1;
}

.ceo-portrait-home {
  width: 100%;
  height: auto;
  max-width: 300px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  object-fit: cover;
  aspect-ratio: 1;
}

/* Impact Section */
.impact-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.pillar {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.pillar:hover {
  transform: translateY(-5px);
}

.pillar-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* Blog Sections */
.blog-highlights, .blog-grid {
  background: rgba(255, 255, 255, 0.02);
}

.blog-cards, .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card, .blog-post-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover, .blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

.blog-image, .post-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  margin-bottom: 0;
}

.blog-card h3, .post-content h2 {
  padding: 0 1.5rem;
  margin: 1.5rem 0 1rem 0;
}

.blog-card h3 a, .post-content h2 a {
  color: var(--text-white);
  text-decoration: none;
}

.blog-card h3 a:hover, .post-content h2 a:hover {
  color: #00BCD4;
}

.blog-card p, .post-content .post-excerpt {
  padding: 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.post-content {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 1rem 0;
}

.post-category {
  background: var(--gradient-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-white);
}

.read-more, .read-more-btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--gradient-orange);
  color: var(--text-white);
  border-radius: var(--button-radius);
  font-weight: 600;
  margin: 1rem 1.5rem 1.5rem 1.5rem;
  text-decoration: none;
}

.blog-cta {
  text-align: center;
  margin-top: 3rem;
}

.view-all-btn {
  background: var(--gradient-violet);
  padding: 1rem 2rem;
  border-radius: var(--button-radius);
  font-weight: 600;
  color: var(--text-white);
}

/* CTA Strip */
.cta-strip {
  background: rgba(0, 188, 212, 0.1);
  text-align: center;
}

.cta-content h2 {
  margin-bottom: 1rem;
  color: #00BCD4;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Page Layouts */
.page-hero, .post-hero {
  text-align: center;
  padding: 4rem 0 3rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.page-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

.post-header h1 {
  margin-bottom: 1rem;
}

.post-tagline {
  font-size: 1.4rem;
  color: #00BCD4;
  margin-bottom: 2rem;
}

/* About Page Layouts */
.about-detail {
  padding: 4rem 0;
}

.about-layout, .about-content-detailed {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-image-large {
  position: sticky;
  top: 100px;
}

.ceo-portrait {
  min-height: 400px;
}

.lead {
  font-size: 1.3rem;
  color: #00BCD4;
  margin-bottom: 2rem;
}

.specializations-list {
  list-style: none;
  margin: 2rem 0;
}

.specializations-list li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.specializations-list li:before {
  content: "▶";
  color: #00BCD4;
  position: absolute;
  left: 0;
}

.featured-quote {
  background: rgba(0, 188, 212, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 3rem 0;
  font-size: 1.4rem;
  text-align: center;
}

.featured-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.mission-statement {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 3rem;
}

/* Team Section */
.team-section {
  background: rgba(255, 255, 255, 0.03);
  padding: 4rem 0;
}

.team-intro {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.team-structure {
  margin: 3rem 0;
}

.team-leadership {
  background: rgba(0, 188, 212, 0.1);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.team-leadership h3 {
  color: #00BCD4;
  margin-bottom: 1.5rem;
  text-align: center;
}

.leadership-content {
  max-width: 600px;
  margin: 0 auto;
}

.leader-info h4 {
  color: var(--text-white);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.role {
  color: #00BCD4;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.team-expertise h3 {
  color: #00BCD4;
  text-align: center;
  margin-bottom: 2rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.expertise-area {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-area:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

.expertise-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.expertise-area h4 {
  color: #00BCD4;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.expertise-area p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.team-approach {
  background: rgba(255, 255, 255, 0.02);
  padding: 3rem;
  border-radius: var(--border-radius);
  margin-top: 3rem;
}

.team-approach h3 {
  color: #00BCD4;
  text-align: center;
  margin-bottom: 1.5rem;
}

.team-approach > p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.approach-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.highlight {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
}

.highlight h4 {
  color: #00BCD4;
  margin-bottom: 1rem;
}

.highlight p {
  color: rgba(255, 255, 255, 0.8);
}

/* Values Section */
.values-section {
  background: rgba(255, 255, 255, 0.02);
  padding: 4rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

/* Services Page */
.services-detailed {
  padding: 4rem 0;
}

.service-detail {
  margin-bottom: 4rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.service-content {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.1);
}

.service-icon-large {
  font-size: 4rem;
  margin-bottom: 2rem;
  display: block;
}

.service-content ul {
  margin: 2rem 0;
  padding-left: 2rem;
}

.service-content li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.service-cta {
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  border-radius: var(--button-radius);
  font-weight: 600;
  color: var(--text-white);
  margin-top: 2rem;
  display: inline-block;
}

.service-approach {
  background: rgba(255, 255, 255, 0.02);
  padding: 4rem 0;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: var(--gradient-blue);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Blog Post Styles */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.post-content {
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.post-content h2, .post-content h3 {
  color: #00BCD4;
  margin: 2rem 0 1rem 0;
}

.post-content ul, .post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-content li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.post-content blockquote {
  background: rgba(0, 188, 212, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.post-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Contact Page */
.contact-section {
  padding: 4rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--border-radius);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-white);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--button-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00BCD4;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.submit-btn {
  background: var(--gradient-blue);
  color: var(--text-white);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--button-radius);
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.contact-info {
  padding: 2rem;
}

.contact-method {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-method h4 {
  color: #00BCD4;
  margin-bottom: 0.5rem;
}

.contact-method a {
  color: var(--text-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--button-radius);
  font-size: 0.9rem;
}

.response-time {
  background: rgba(0, 188, 212, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

/* Success Page */
.success-message {
  padding: 4rem 0;
  text-align: center;
}

.success-content {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--border-radius);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  display: block;
}

.next-steps {
  margin: 3rem 0;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.next-steps ul {
  margin-top: 1rem;
  padding-left: 2rem;
}

.next-steps li {
  margin-bottom: 0.5rem;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.secondary-btn {
  background: transparent;
  border: 2px solid #00BCD4;
  color: #00BCD4;
  padding: 1rem 2rem;
  border-radius: var(--button-radius);
  font-weight: 600;
}

/* Accessibility Statement */
.accessibility-statement {
  background: rgba(255, 255, 255, 0.02);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accessibility-statement h3 {
  color: #00BCD4;
  margin-bottom: 1rem;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.footer-brand p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: #00BCD4;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #00BCD4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.legal-links a:hover {
  color: #00BCD4;
  border-bottom-color: #00BCD4;
}

.footer-hashtags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-hashtags span {
  background: rgba(0, 188, 212, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  color: #00BCD4;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Typography */
  html { font-size: 14px; }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .section-title { font-size: 2.2rem; }
  
  /* Navigation */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1rem;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }

  /* Logo adjustments */
  .logo-image {
    height: 35px;
    max-width: 180px;
  }

  .nav-brand .logo {
    flex-direction: row;
    gap: 0.5rem;
  }

  .logo-text-fallback {
    display: flex;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo-tagline {
    font-size: 0.7rem;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Layout Adjustments */
  .container {
    padding: 0 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  /* Grid Layouts */
  .services-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-content,
  .about-layout,
  .contact-layout,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .impact-pillars,
  .values-grid,
  .approach-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-cards,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  /* Component Adjustments */
  .service-card,
  .pillar,
  .value-card,
  .step {
    padding: 2rem 1.5rem;
  }
  
  .post-content,
  .contact-form-container {
    padding: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .success-actions {
    flex-direction: column;
  }

  /* Team Section Mobile */
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .approach-highlights {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .team-leadership,
  .team-approach {
    padding: 2rem;
  }
  
  /* Button Adjustments */
  .cta-button,
  .submit-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .post-header h1 {
    font-size: 2rem;
  }
  
  .post-tagline {
    font-size: 1rem;
  }
  
  .page-hero {
    min-height: 50vh;
  }
  
  .post-hero {
    min-height: 40vh;
  }
  
  .page-hero.about-hero {
    background-size: 200px auto, cover;
    background-position: 90% center, center;
  }
  
  .post-content,
  .contact-form-container,
  .success-content {
    padding: 1.5rem;
  }
  
  .footer-hashtags {
    justify-content: center;
  }
}

/* High Contrast and Accessibility */
@media (prefers-contrast: high) {
  :root {
    --text-white: #FFFFFF;
    --primary-dark: #000000;
  }
  
  .nav-link, .service-card, .pillar, .blog-card {
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
}

/* Industry Videos & Podcasts Pages */
.video-categories, .podcast-categories {
  padding: 4rem 0;
}

.video-nav, .podcast-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.video-tab, .podcast-tab {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 188, 212, 0.3);
  color: var(--text-white);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.video-tab:hover, .podcast-tab:hover,
.video-tab.active, .podcast-tab.active {
  background: rgba(0, 188, 212, 0.2);
  border-color: #00BCD4;
  transform: translateY(-2px);
}

.video-content, .podcast-content {
  display: none;
}

.video-content.active, .podcast-content.active {
  display: block;
}

.video-grid, .podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.video-item, .podcast-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover, .podcast-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

.video-thumbnail, .podcast-artwork {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.video-thumbnail img, .podcast-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 188, 212, 0.9);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.video-thumbnail:hover .play-button,
.podcast-artwork:hover .play-button {
  background: rgba(0, 188, 212, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-duration, .episode-length {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.video-info, .podcast-info {
  padding: 1.5rem;
}

.video-info h3, .podcast-info h3 {
  margin-bottom: 0.5rem;
}

.video-info h3 a, .podcast-info h3 a {
  color: var(--text-white);
  text-decoration: none;
}

.video-info h3 a:hover, .podcast-info h3 a:hover {
  color: #00BCD4;
}

.video-channel, .podcast-show {
  color: #00BCD4;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.video-info p, .podcast-info p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.video-tags, .podcast-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tag {
  background: rgba(0, 188, 212, 0.2);
  color: #00BCD4;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Texas Statistics Highlights */
.texas-stats-highlight, .texas-podcast-stats {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(156, 39, 176, 0.1) 100%);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.stat-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #00BCD4;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
}

.stat-item .stat-number {
  font-size: 2rem;
  color: #00BCD4;
  font-weight: 700;
  display: block;
}

.stat-item .stat-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Featured Podcast Items */
.podcast-item.featured {
  border: 2px solid rgba(0, 188, 212, 0.3);
  background: rgba(0, 188, 212, 0.05);
}

.episode-highlights {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin: 1rem 0;
}

.episode-highlights h4 {
  color: #00BCD4;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.episode-highlights ul {
  margin: 0;
  padding-left: 1.5rem;
}

.episode-highlights li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.3rem;
}

/* Newsletter Subscription */
.podcast-subscription {
  background: rgba(255, 255, 255, 0.02);
  padding: 4rem 0;
}

.subscription-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.subscription-cta h2 {
  color: #00BCD4;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-radius: var(--button-radius);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.subscribe-btn {
  padding: 1rem 1.5rem;
  background: var(--gradient-blue);
  color: white;
  border: none;
  border-radius: var(--button-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* Texas Leadership Section */
.texas-leadership {
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.05) 0%, rgba(156, 39, 176, 0.05) 100%);
  padding: 4rem 0;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.texas-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.texas-stat-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(0, 188, 212, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.texas-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  border-color: #00BCD4;
}

.texas-stat-card .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #00BCD4;
  display: block;
  margin-bottom: 0.5rem;
}

.texas-stat-card .stat-label {
  font-size: 1.1rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.texas-stat-card .stat-change {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.texas-stat-card .stat-source {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.texas-positioning {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 3rem;
  margin-top: 3rem;
}

.positioning-content h3 {
  color: #00BCD4;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.positioning-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-icon {
  font-size: 2rem;
  min-width: 60px;
  text-align: center;
  background: rgba(0, 188, 212, 0.2);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-text h4 {
  color: #00BCD4;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.highlight-text p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.contract-readiness {
  background: rgba(0, 188, 212, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid #00BCD4;
  margin-top: 2rem;
}

.contract-readiness h4 {
  color: #00BCD4;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.contract-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contract-tag {
  background: rgba(0, 188, 212, 0.3);
  color: #00BCD4;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(0, 188, 212, 0.5);
}

/* Responsive Design for Media Pages */
@media (max-width: 768px) {
  .video-grid, .podcast-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-boxes {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .video-nav, .podcast-nav {
    flex-direction: column;
    align-items: center;
  }
}

/* Legal Pages Styles */
.legal-content {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.legal-text {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: var(--border-radius);
  line-height: 1.8;
}

.last-updated {
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-text h2 {
  color: #00BCD4;
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  padding-top: 1rem;
}

.legal-text h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

.legal-text p {
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.legal-text ul {
  margin: 1rem 0 1.5rem 2rem;
  padding: 0;
}

.legal-text li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.legal-text a {
  color: #00BCD4;
  text-decoration: underline;
}

.legal-text a:hover {
  color: #ffffff;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
  .legal-content {
    padding: 2rem 0;
  }
  
  .legal-text {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .legal-text h2 {
    font-size: 1.3rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iterator-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-circuits {
    animation: none;
  }
}

/* Resources Page Styles */
.resources-section {
  padding: 4rem 0;
}

.resources-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.resource-tab {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  padding: 1rem 2rem;
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.resource-tab:hover,
.resource-tab.active {
  background: var(--gradient-blue);
  border-color: #00BCD4;
  transform: translateY(-2px);
}

.resource-content {
  display: none;
}

.resource-content.active {
  display: block;
}

.resource-content h2 {
  color: #00BCD4;
  margin-bottom: 2rem;
  text-align: center;
}

/* News Grid */
.news-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.news-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid #00BCD4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow);
}

.news-source {
  color: #00BCD4;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-item h3 {
  margin: 0.5rem 0 1rem 0;
  font-size: 1.3rem;
}

.news-item h3 a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-item h3 a:hover {
  color: #00BCD4;
}

.news-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.news-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(0, 188, 212, 0.2);
  color: #00BCD4;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Media Grid */
.media-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.media-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.media-item:hover {
  transform: translateY(-3px);
}

.media-thumbnail {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.media-thumbnail img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.media-info h4 {
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.media-info h4 a {
  color: inherit;
  text-decoration: none;
}

.media-info h4 a:hover {
  color: #00BCD4;
}

.media-source {
  color: #00BCD4;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.media-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.media-stats span {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Research Grid */
.research-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.research-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 188, 212, 0.3);
}

.research-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.research-header h4 {
  color: var(--text-white);
  margin: 0;
  flex: 1;
}

.research-source {
  color: #00BCD4;
  font-size: 0.9rem;
  font-weight: 600;
}

.research-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.research-type,
.research-pages {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.download-link {
  background: var(--gradient-orange);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: var(--button-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.tool-category {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.tool-category h3 {
  color: #00BCD4;
  margin-bottom: 1.5rem;
  text-align: center;
}

.tool-items {
  display: grid;
  gap: 1.5rem;
}

.tool-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.tool-item h4 {
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.tool-item p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.tool-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tool-tags span {
  background: rgba(0, 188, 212, 0.2);
  color: #00BCD4;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
}

/* Newsletter Signup */
.newsletter-signup {
  background: rgba(0, 188, 212, 0.1);
  padding: 4rem 0;
  margin-top: 4rem;
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  color: #00BCD4;
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--button-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: 1rem;
  min-width: 250px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: #00BCD4;
}

.newsletter-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design for Resources */
@media (max-width: 768px) {
  .resources-nav {
    flex-direction: column;
    align-items: center;
  }

  .resource-tab {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  .media-item {
    grid-template-columns: 1fr;
  }

  .media-thumbnail {
    max-width: 200px;
    margin: 0 auto;
  }

  .research-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .research-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-form input {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu-toggle,
  .cta-button,
  .service-link {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .main-content {
    margin-top: 0;
  }
}