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

/* ==========================================
   DESIGN TOKENS & VARIABLE SETUP
   ========================================== */
:root {
  /* Colors - Light Theme (Default) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F7FA;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(255, 255, 255, 0.4);
  --border-color: #E2E8F0;

  --text-primary: #0A2540;
  --text-secondary: #4A607A;
  --text-muted: #718096;
  --text-light: #FFFFFF;

  --accent-primary: #0066FF;
  /* Royal Blue */
  --accent-primary-hover: #0052CC;
  --accent-secondary: #0A2540;
  --accent-orange: #FF7A00;
  /* Accent Orange */
  --accent-orange-hover: #E06C00;
  --whatsapp-color: #25D366;
  --whatsapp-color-hover: #20BA56;
  --success-color: #10B981;

  /* Shadows */
  --card-shadow: 0 10px 30px rgba(10, 37, 64, 0.04);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  --header-shadow: 0 4px 20px rgba(10, 37, 64, 0.03);
  --glow-orange: 0 4px 14px rgba(255, 122, 0, 0.35);
  --glow-blue: 0 4px 14px rgba(0, 102, 255, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --max-width: 1280px;
}

[data-theme="dark"] {
  /* Colors - Dark Theme */
  --bg-primary: #050E1A;
  --bg-secondary: #09172B;
  --bg-glass: rgba(10, 37, 64, 0.55);
  --border-glass: rgba(0, 102, 255, 0.12);
  --border-color: #12253E;

  --text-primary: #F5F7FA;
  --text-secondary: #A0B0C5;
  --text-muted: #627993;
  --text-light: #FFFFFF;

  --accent-secondary: #FFFFFF;
  --accent-primary-hover: #3385FF;
  --accent-orange-hover: #FF9533;

  /* Shadows */
  --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  --header-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
  --glow-blue: 0 4px 18px rgba(0, 102, 255, 0.2);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

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

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

ul {
  list-style: none;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ==========================================
   UTILITY CLASSES & GRID SYSTEM
   ========================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  background: rgba(0, 102, 255, 0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
  font-size: 2.25rem;
}

.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border var(--transition-normal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--text-light);
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--accent-secondary);
  color: var(--bg-primary);
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-orange);
  color: var(--text-light);
  box-shadow: var(--glow-orange);
}

.btn-accent:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--text-muted);
}

/* ==========================================
   LOADING SCREEN
   ========================================== */
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-slow) ease-out, visibility var(--transition-slow);
}

.loader-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.loader-logo span {
  color: var(--accent-primary);
}

.loader-spinner-container {
  position: relative;
  width: 80px;
  height: 80px;
}

.loader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

.loader-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-orange);
  width: 32px;
  height: 32px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
}

header {
  padding: 1.25rem 0;
  transition: padding var(--transition-normal);
}

.header-scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--header-shadow);
  border-bottom: 1px solid var(--border-glass);
}

.header-scrolled header {
  padding: 0.75rem 0;
}

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

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.logo:hover {
  transform: scale(1.03);
}
.logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.4), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
}
.logo:hover::after {
  left: 200%;
  transition: left 0.8s ease-in-out;
}
.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.logo:hover .logo-img {
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.65));
}

.logo-badge-cyber {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  background: rgba(0, 242, 254, 0.08);
  color: #00f2fe !important;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  margin-left: 0.4rem;
  height: 18px;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.1);
  cursor: default;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, border-color 0.3s ease;
  max-width: 75px;
  overflow: hidden;
  white-space: nowrap;
}
.logo:hover .logo-badge-cyber,
.logo-badge-cyber:hover {
  max-width: 250px;
  background: rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.2);
}
.logo-badge-text-primary {
  font-family: 'Outfit', sans-serif;
  color: #00f2fe !important;
}
.logo-badge-text-hover {
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: 'Outfit', sans-serif;
  color: rgba(255, 255, 255, 0.8) !important;
}
.logo:hover .logo-badge-text-hover,
.logo-badge-cyber:hover .logo-badge-text-hover {
  opacity: 1;
}

.logo-badge-dot {
  width: 6px;
  height: 6px;
  background-color: #00f2fe;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #00f2fe;
  animation: pulse-cyber-cyan 1.2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-cyber-cyan {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.9);
    box-shadow: 0 0 4px #00f2fe;
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 10px #00f2fe;
  }
}

.loader-logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

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

.nav-menu {
  display: none;
  /* Desktop only */
}

/* Nav Actions (Theme & CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  color: var(--text-primary);
}

.theme-toggle:hover {
  background: var(--border-color);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .theme-toggle svg {
  transform: rotate(360deg);
}

/* Mobile Menu Button */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1002;
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal);
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-primary);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 7rem 2.5rem 6rem;
  transition: right var(--transition-slow);
}

.mobile-nav.active {
  right: 0;
}

/* Mobile Nav Close Button */
.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  z-index: 1003;
  transition: transform var(--transition-fast);
}

.close-btn:hover {
  transform: scale(1.1);
  color: var(--accent-orange);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: auto;
}

.mobile-nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-primary);
  padding-left: 0.5rem;
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Blur overlay behind mobile menu */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 100, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   MEGA MENU & NESTED DROPDOWNS
   ========================================== */
.dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition-fast);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
footer {
  background-color: #030D1A;
  color: #A0B0C5;
  border-top: 1px solid #12253E;
  font-size: 0.95rem;
}

.footer-top {
  padding: 5rem 0 3rem;
}

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

.footer-col-brand .logo {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.footer-desc {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #09172B;
  border: 1px solid #12253E;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent-primary);
}

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

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.footer-link::before {
  content: '→';
  font-size: 0.8rem;
  color: var(--accent-primary);
  transition: transform var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
  padding-left: 5px;
}

.footer-link:hover::before {
  transform: translateX(3px);
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-info-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-newsletter-text {
  margin-bottom: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  background: #09172B;
  border: 1px solid #12253E;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  color: #FFFFFF;
  font-size: 0.9rem;
  transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--accent-primary);
}

.newsletter-btn {
  background: var(--accent-primary);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background: var(--accent-primary-hover);
  transform: scale(1.05);
}

.newsletter-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid #12253E;
  padding: 2rem 0;
  font-size: 0.85rem;
  text-align: center;
}

.footer-bottom-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link:hover {
  color: #FFFFFF;
}

/* ==========================================
   FLOATING ACTION BUTTONS
   ========================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: #FFFFFF;
  position: relative;
}

.float-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  animation: float-pulse 2s infinite;
  box-shadow: inherit;
  z-index: -1;
  opacity: 0.8;
}

.float-whatsapp {
  background-color: var(--whatsapp-color);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}

.float-whatsapp:hover {
  background-color: var(--whatsapp-color-hover);
  transform: scale(1.1) translateY(-3px);
}

.float-call {
  background-color: var(--accent-orange);
  box-shadow: 0 4px 18px rgba(255, 122, 0, 0.4);
}

.float-call:hover {
  background-color: var(--accent-orange-hover);
  transform: scale(1.1) translateY(-3px);
}

.float-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes float-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-shadow);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-primary);
  color: var(--text-light);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================
   BREADCRUMBS
   ========================================== */
.breadcrumbs-container {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-secondary);
}

.breadcrumb-item a:hover {
  color: var(--accent-primary);
}

.breadcrumb-item::after {
  content: '/';
  margin-left: 0.5rem;
}

.breadcrumb-item:last-child {
  color: var(--text-primary);
  font-weight: 500;
}

.breadcrumb-item:last-child::after {
  content: '';
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

.float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES (MOBILE FIRST / MAX-WIDTH ADJUSTMENTS)
   ========================================== */

/* Mobile Viewports */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.35rem;
  }
  .breadcrumbs {
    gap: 0.25rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .btn-full {
    width: 100%;
  }
}

/* Small Tablets */
@media (min-width: 576px) {
  h1 {
    font-size: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets */
@media (min-width: 768px) {
  .section {
    padding: 6.5rem 0;
  }
  .float-btn {
  width: 45px;
  height: 45px;}

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom-container {
    flex-direction: row;
  }

  .floating-actions {
    bottom: 30px;
    left: 30px;
  }

  .back-to-top {
    bottom: 30px;
    right: 30px;
  }
}

/* Laptops & Desktops */
@media (min-width: 1024px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .menu-btn {
    display: none;
  }

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

  .nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.5rem 0;
    position: relative;
  }

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

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

  .nav-link:hover,
  .nav-link.active {
    color: var(--accent-primary);
  }

  /* Mega Menu Setup */
  .nav-item-dropdown {
    position: relative;
  }

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

  .nav-item-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
  }

  .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    width: 260px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 99;
  }

  .mega-menu-title {
    display: none;
  }

  .mega-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
  }

  .mega-menu-item:hover {
    background-color: var(--bg-secondary);
    transform: translateX(4px);
  }

  .mega-menu-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: rgba(0, 102, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
  }

  .mega-menu-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
  }

  .mega-menu-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0;
    font-weight: 600;
  }

  .mega-menu-info p {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* Large Desktops / Ultra-wide Screens */
@media (min-width: 1200px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.75rem;
  }
}

@media (min-width: 1600px) {
  :root {
    --max-width: 1440px;
  }

  h1 {
    font-size: 4.5rem;
  }
}

/* ==========================================
   TRANSPARENT HEADER CONTRAST FIXES
   ========================================== */
.header-transparent-light:not(.header-scrolled) .logo {
  color: #FFFFFF;
}

.header-transparent-light:not(.header-scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

/* .header-transparent-light:not(.header-scrolled) .nav-link:hover {
  color: var(--accent-orange);
} */

.header-transparent-light:not(.header-scrolled) .nav-link.active {
  color: var(--accent-primary-hover);
}

.header-transparent-light:not(.header-scrolled) .nav-link.active::after {
  background-color: var(--accent-primary);
}

.header-transparent-light:not(.header-scrolled) .dropdown-chevron {
  color: rgba(255, 255, 255, 0.85);
}

.header-transparent-light:not(.header-scrolled) .theme-toggle {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.header-transparent-light:not(.header-scrolled) .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.header-transparent-light:not(.header-scrolled) .menu-btn span {
  background-color: #FFFFFF;
}