/* 
   OMM SSI INDUSTRIES - Master Stylesheet
   Color Theme: #2D5016 (Deep Green), #F59E0B (Amber CTA), #FFFFFF (White Body)
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --primary-green: #2D5016;
  --primary-green-dark: #1E370E;
  --primary-green-light: #447723;
  --primary-green-subtle: #F2F7EF;
  --accent-gold: #F59E0B;
  --accent-gold-hover: #D97706;
  --text-dark: #111827;
  --text-body: #374151;
  --text-muted: #6B7280;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-light: #E5E7EB;
  --shadow-3d: 0 20px 30px -10px rgba(45, 80, 22, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
  --shadow-3d-hover: 0 30px 45px -12px rgba(45, 80, 22, 0.25), 0 15px 20px -5px rgba(0, 0, 0, 0.1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-white);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Custom Green Theme Helpers */
.bg-brand-green {
  background-color: var(--primary-green) !important;
}

.text-brand-green {
  color: var(--primary-green) !important;
}

.border-brand-green {
  border-color: var(--primary-green) !important;
}

.bg-brand-gold {
  background-color: var(--accent-gold) !important;
}

.text-brand-gold {
  color: var(--accent-gold) !important;
}

/* 3D Card Design & Depth Effects */
.card-3d {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.card-3d:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-3d-hover);
  border-color: rgba(45, 80, 22, 0.3);
}

/* 3D Floating Badge */
.badge-3d {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-light) 100%);
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

/* 3D Elevated Button */
.btn-3d-primary {
  background: linear-gradient(180deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
  color: #ffffff;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(45, 80, 22, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-3d-primary:hover {
  background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(45, 80, 22, 0.45);
  color: #ffffff;
}

.btn-3d-gold {
  background: linear-gradient(180deg, #FBBF24 0%, var(--accent-gold) 100%);
  color: #1E370E;
  font-weight: 800;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-3d-gold:hover {
  background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.5);
  color: #1E370E;
}

/* Glassmorphism Effect */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-panel-dark {
  background: rgba(30, 55, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFF;
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.75;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Hero Section 3D Background Overlay */
.hero-gradient-overlay {
  background: linear-gradient(135deg, rgba(26, 45, 12, 0.92) 0%, rgba(45, 80, 22, 0.85) 60%, rgba(17, 24, 39, 0.95) 100%);
}

/* Section Header Bar */
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--primary-green-subtle);
  color: var(--primary-green);
  border: 1px solid rgba(45, 80, 22, 0.2);
}

/* AAC Spec Metric Card */
.spec-box {
  background: #ffffff;
  border-left: 4px solid var(--primary-green);
  padding: 20px;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Smooth Tab Switcher */
.tab-btn {
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: var(--text-body);
  background: transparent;
  border: 1px solid transparent;
}

.tab-btn.active {
  background: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(45, 80, 22, 0.25);
}

/* Form Input Styling */
.form-input-custom {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #E5E7EB;
  background-color: #F9FAFB;
  transition: all 0.25s ease;
  outline: none;
}

.form-input-custom:focus {
  border-color: var(--primary-green);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(45, 80, 22, 0.1);
}

.form-input-custom.error {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
}

.error-text {
  color: #EF4444;
  font-size: 0.775rem;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .error-text {
  display: block;
}

/* Responsive Table */
.custom-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

.custom-table th {
  background-color: var(--primary-green);
  color: #FFFFFF;
  padding: 16px 20px;
  font-family: var(--font-heading);
  text-align: left;
}

.custom-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #E5E7EB;
  background-color: #FFFFFF;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:nth-child(even) td {
  background-color: #F8FAFC;
}

/* Footer Link Hover */
.footer-link {
  transition: all 0.2s ease;
}

.footer-link:hover {
  color: var(--accent-gold) !important;
  padding-left: 6px;
}
