/*
Theme Name: Space Aero
Theme URI: https://spaceaero.in
Author: Space Aeronautical Avionics Innovation Centre Pvt Ltd
Author URI: https://spaceaero.in
Description: A premium, futuristic aerospace corporate theme for Space Aeronautical Avionics Innovation Centre. Features dark space theme, glassmorphism UI, smooth animations, and single-page layout optimized for high conversion.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: space-aero
Tags: one-column, custom-menu, featured-images, threaded-comments, translation-ready, custom-logo
*/

/* ============================================
   DESIGN SYSTEM / CSS VARIABLES
   ============================================ */
:root {
  --background: #071526;
  --background-rgb: 7, 21, 38;
  --foreground: #f0f4f8;
  --card: #0d2240;
  --card-rgb: 13, 34, 64;
  --primary: #0ea5e9;
  --primary-rgb: 14, 165, 233;
  --primary-dark: #0284c7;
  --secondary: #1a3a5c;
  --muted: #162d4a;
  --muted-foreground: #7a8fa6;
  --border: #1e3a5f;
  --border-rgb: 30, 58, 95;
  --neon-glow: #38bdf8;
  --neon-cyan: #00ffff;
  --gold: #eab308;
  --deep-space: #040e1a;
  --radius: 0.75rem;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
  .section-padding { padding: 7rem 2rem; }
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--neon-cyan), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.neon-text {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5), 0 0 40px rgba(var(--primary-rgb), 0.2);
}

/* ============================================
   GLASS CARDS
   ============================================ */
.glass-card {
  background: rgba(var(--card-rgb), 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--border-rgb), 0.5);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.1);
}

.glass-card-hover {
  background: rgba(var(--card-rgb), 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--border-rgb), 0.5);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.1);
  transition: all 0.5s ease;
}

.glass-card-hover:hover {
  box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.25);
  border-color: rgba(var(--primary-rgb), 0.4);
  transform: translateY(-4px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--background);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
  font-size: 0.95rem;
}

.btn-primary-glow:hover {
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.6), 0 0 60px rgba(var(--primary-rgb), 0.2);
  transform: translateY(-2px);
  color: var(--background);
}

.btn-outline-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-outline-glow:hover {
  background: rgba(var(--primary-rgb), 0.1);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3);
  color: var(--primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(var(--background-rgb), 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(var(--border-rgb), 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.site-logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-menu { display: flex; }
}

.nav-menu a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
}

.nav-cta {
  margin-left: 1rem;
}

.mobile-toggle {
  display: flex;
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-toggle { display: none; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
  gap: 0.25rem;
  background: rgba(var(--background-rgb), 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--foreground);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(var(--background-rgb), 0.6), rgba(var(--background-rgb), 0.8), var(--background));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 4rem;
  max-width: 48rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-highlights span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.hero-highlights svg {
  color: var(--primary);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-title {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}

.section-subtitle {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-bottom: 4rem;
}

.section-center {
  text-align: center;
}

.section-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: rgba(var(--card-rgb), 0.2);
}

/* ============================================
   GRID LAYOUTS
   ============================================ */
.grid-2 {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   TRUST / FEATURE CARDS
   ============================================ */
.feature-card {
  padding: 2rem;
  text-align: center;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   INNOVATION / TECH SECTIONS
   ============================================ */
.neon-border-img {
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3), inset 0 0 15px rgba(var(--primary-rgb), 0.05);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.check-item svg {
  color: var(--primary);
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.quote-text {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  margin-top: 2rem;
}

/* ============================================
   SATELLITE FEATURES
   ============================================ */
.sat-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sat-feature-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sat-feature-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.sat-feature span {
  color: var(--muted-foreground);
  padding-top: 0.25rem;
}

.sat-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ============================================
   PATENTS SECTION
   ============================================ */
.cert-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
}

.cert-card {
  padding: 1.5rem;
}

.cert-card svg {
  color: var(--primary);
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: 0.75rem;
}

.cert-card h3 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.cert-card p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: monospace;
}

.patent-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .patent-grid { grid-template-columns: repeat(2, 1fr); }
}

.patent-card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.patent-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(var(--primary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.patent-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary);
}

.patent-card h3 {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.patent-card p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: monospace;
}

/* ============================================
   COLLABORATION SECTION
   ============================================ */
.collab-orgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .collab-orgs { grid-template-columns: repeat(4, 1fr); }
}

.collab-org {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(var(--card-rgb), 0.5);
  border: 1px solid rgba(var(--border-rgb), 0.5);
  font-weight: 500;
  font-size: 0.875rem;
}

.collab-org svg {
  color: var(--primary);
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(var(--card-rgb), 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: none;
}

.contact-info-card {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--primary);
}

.contact-link svg {
  color: var(--primary);
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.office-badge {
  padding: 0.75rem;
  border-radius: var(--radius);
  background: rgba(var(--card-rgb), 0.5);
  border: 1px solid rgba(var(--border-rgb), 0.5);
}

.office-badge p:first-child {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
}

.office-badge p:last-child {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ============================================
   INVESTMENT CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(to right, rgba(var(--primary-rgb), 0.1), rgba(var(--primary-rgb), 0.05), transparent);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid rgba(var(--border-rgb), 0.5);
  background: rgba(4, 14, 26, 0.5);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

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

.global-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(var(--card-rgb), 0.5);
  color: var(--muted-foreground);
  border: 1px solid rgba(var(--border-rgb), 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(var(--border-rgb), 0.5);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: glow-pulse 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: white;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.3); }
  50% { box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.6); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ============================================
   WORDPRESS CORE CLASSES
   ============================================ */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}
