@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  /* Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FB;
  --text-primary: #121212;
  --text-secondary: #4A5568;
  --text-muted: #A0AEC0;
  --color-border: #E2E8F0;
  
  --accent-orange: #FF6B00;
  --accent-orange-light: #FF9A3D;
  --accent-orange-glow: rgba(255, 107, 0, 0.08);
  --accent-success: #16A34A;
  
  --grad-orange: linear-gradient(135deg, #FF6B00 0%, #FF9A3D 100%);
  --grad-orange-soft: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(255, 154, 61, 0.02) 100%);
  --grad-orange-text: linear-gradient(135deg, #FF6B00 30%, #FF9A3D 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 107, 0, 0.08);
  --glass-border-glow: rgba(255, 107, 0, 0.25);
  --glass-blur: blur(16px);
  --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
  --glass-shadow-hover: 0 20px 40px rgba(255, 107, 0, 0.08), 0 1px 3px rgba(255, 107, 0, 0.02);
  
  /* Layout & Spacing */
  --container-width: 100%;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 0, 0.25);
  border-radius: 4px;
  border: 1px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 0, 0.5);
}

/* Background Canvas & Decorative Blobs */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
  animation: pulse-glow 15s infinite alternate ease-in-out;
}
.orb-1 {
  top: 5%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: var(--accent-orange);
}
.orb-2 {
  top: 45%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: var(--accent-orange-light);
  animation-delay: -5s;
}
.orb-3 {
  bottom: 5%;
  left: 15%;
  width: 500px;
  height: 500px;
  background: var(--accent-orange);
  animation-delay: -10s;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.05; }
  100% { transform: scale(1.15) translate(40px, 40px); opacity: 0.1; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; /* Bold instead of ExtraBold */
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-primary);
}

/* Global scale down of inline styling font-weights */
[style*="font-weight: 800"], [style*="font-weight:800"] {
  font-weight: 700 !important;
}
[style*="font-weight: 700"], [style*="font-weight:700"] {
  font-weight: 600 !important;
}
[style*="font-weight: 600"], [style*="font-weight:600"] {
  font-weight: 500 !important;
}
[style*="font-weight: 500"], [style*="font-weight:500"] {
  font-weight: 400 !important;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
}

.text-gradient {
  background: var(--grad-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2.5%;
  width: 100%;
}

.section-padding {
  padding: 100px 0;
  position: relative;
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-normal);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(255, 107, 0, 0.03);
  transition: var(--transition-normal);
}

.header.scrolled {
  top: 12px;
}

.header.scrolled .navbar-container {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.06);
  border-color: rgba(255, 107, 0, 0.15);
  transform: scale(0.99);
  padding: 8px 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

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

.logo-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
}

.logo-name span {
  color: var(--accent-orange);
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  position: relative;
  padding: 8px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--text-primary);
  font-weight: 500;
}

.nav-link.active::after {
  width: 100%;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 80px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF !important;
  border: 1.5px solid #111111 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111 !important;
  transition: var(--transition-fast);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.social-icon:hover {
  background: #111111 !important;
  color: #FFFFFF !important;
  border-color: #111111 !important;
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-icon {
  color: var(--accent-orange);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-text strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-legal-links a:hover {
  color: var(--accent-orange);
}

/* ==========================================
   RESPONSIVE DESIGN (GLOBAL)
   ========================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  --header-height: 70px;
  
  .header {
    top: 12px;
  }
  
  .navbar-container {
    padding: 10px 20px;
    border-radius: 30px;
  }
  
  .header.scrolled .navbar-container {
    padding: 8px 16px;
  }
  
  .logo-img {
    height: 45px;
  }
  
  .logo-name {
    font-size: 1.3rem;
  }
  
  .logo-tagline {
    font-size: 0.65rem;
  }
  
  .mobile-toggle {
    display: block;
    z-index: 102;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px;
    gap: 24px;
    transition: right var(--transition-normal);
    z-index: 101;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .navbar-right {
    gap: 8px;
  }
  
  .navbar-right .btn-call {
    display: none; /* Hide secondary on mobile nav */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  /* Mobile text sizes and spacing adjustments */
  h1 {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
  }
  
  h2 {
    font-size: 1.7rem !important;
    line-height: 1.25 !important;
  }
  
  h3 {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
  }
  
  p, li, a {
    font-size: 0.95rem !important;
  }

  .section-padding {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}
