/* =========================================================
   FORTIVEST CAPITAL - ENERGY COMPANY DESIGN SYSTEM
   Deep Navy + Electric Teal + Energy Green
   ========================================================= */

/* -------------------------------------------------------
   1. CORE BRAND COLORS
   ------------------------------------------------------- */

:root {
  --energy-navy: #071A2B;
  --energy-navy-2: #0B263D;
  --energy-blue: #0B3954;

  --energy-teal: #087E8B;
  --energy-teal-light: #00B8A9;

  --energy-green: #20BF55;
  --energy-green-bright: #39D353;

  /* Legacy aliases */
  --main-color: #20BF55;
  --main-color-rgb: 32, 191, 85;
  --color-two: #0B263D;
  --color-two-rgb: 11, 38, 61;
  --color-three: #D9E2E8;
  --color-three-rgb: 217, 226, 232;
  --color-four: #EEF3F6;
  --color-four-rgb: 238, 243, 246;
  --white-color: #FFFFFF;
  --white-color-rgb: 255, 255, 255;
  --black-color: #071A2B;
  --black-color-rgb: 7, 26, 43;

  /* -------------------------------------------------------
     2. NEUTRALS
     ------------------------------------------------------- */

  --white: #FFFFFF;
  --surface: #F5F8FA;
  --surface-2: #EEF3F6;
  --border: #D9E2E8;

  --text-primary: #17212B;
  --text-secondary: #526270;
  --text-muted: #7A8A96;
  --text-on-dark: #FFFFFF;

  /* -------------------------------------------------------
     3. STATUS COLORS
     ------------------------------------------------------- */

  --success: #20BF55;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #0EA5E9;

  /* -------------------------------------------------------
     4. GRADIENTS
     ------------------------------------------------------- */

  --gradient-brand:
    linear-gradient(135deg, #071A2B 0%, #0B3954 55%, #087E8B 100%);

  --gradient-energy:
    linear-gradient(135deg, #087E8B 0%, #00B8A9 50%, #20BF55 100%);

  --gradient-green:
    linear-gradient(135deg, #20BF55 0%, #39D353 100%);

--gradient-dark:
    linear-gradient(135deg, #071A2B 0%, #0B263D 100%);

/* -------------------------------------------------------
   5. SHADOWS
   ------------------------------------------------------- */

  --shadow-sm: 0 2px 8px rgba(7, 26, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(7, 26, 43, 0.10);
  --shadow-lg: 0 18px 45px rgba(7, 26, 43, 0.14);
  --shadow-green: 0 8px 25px rgba(32, 191, 85, 0.25);

  /* -------------------------------------------------------
     6. RADIUS
     ------------------------------------------------------- */

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* -------------------------------------------------------
     7. TRANSITIONS
     ------------------------------------------------------- */

  --transition-fast: 150ms ease;
  --transition: 250ms ease;
  --transition-slow: 400ms ease;

/* -------------------------------------------------------
   9. HERO WRITE-UP STYLES
   ------------------------------------------------------- */

.hero-write-up {
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(7, 26, 43, 0.8) 0%, rgba(11, 38, 61, 0.9) 100%);
  border-radius: var(--radius-lg);
}

.hero-write-up-heading {
  font-size: 40px;
  font-weight: 700;
  color: var(--white-color);
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-write-up-subheading {
  font-size: 18px;
  color: var(--color-three);
  line-height: 1.6;
  margin-bottom: 35px;
}

.hero-write-up-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* -------------------------------------------------------
   8. HERO INTRO SECTION
   ------------------------------------------------------- */

/* -------------------------------------------------------
   RESET
   ------------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
}

/* -------------------------------------------------------
   SCROLLBAR
   ------------------------------------------------------- */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-2);
}

::-webkit-scrollbar-thumb {
  background: var(--energy-teal);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--energy-teal-light);
}

/* -------------------------------------------------------
   TYPOGRAPHY
   ------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  position: relative;
  margin: 0;
  background: none;
  font-weight: 700;
  color: var(--energy-navy);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1 { font-size: 90px; line-height: 100px; }
h2 { font-size: 60px; line-height: 70px; }
h3 { font-size: 32px; line-height: 42px; }
h4 { font-size: 26px; line-height: 34px; }
h5 { font-size: 20px; line-height: 30px; }
h6 { font-size: 18px; line-height: 28px; }

p, .text {
  position: relative;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 16px;
}

i {
  font-style: normal;
}

/* -------------------------------------------------------
   LINKS
   ------------------------------------------------------- */

a {
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  color: var(--energy-teal);
}

button,
a:hover, a:focus, a:visited {
  text-decoration: none;
  outline: none !important;
}

/* -------------------------------------------------------
   IMAGES
   ------------------------------------------------------- */

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

/* -------------------------------------------------------
   LISTS
   ------------------------------------------------------- */

ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* -------------------------------------------------------
   CONTAINERS
   ------------------------------------------------------- */

.auto-container {
  position: static;
  max-width: 1320px;
  padding: 0 15px;
  margin: 0 auto;
}

.auto-container_two {
  position: static;
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.page-wrapper {
  position: relative;
  margin: 0 auto;
  width: 100%;
  min-width: 300px;
}

/* -------------------------------------------------------
   PRELOADER
   ------------------------------------------------------- */

.preloader {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--gradient-brand);
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  overflow: hidden;
}

/* FortivestCapital wordmark under the logo */
.preloader::after {
  content: 'FortivestCapital';
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--white);
  text-transform: uppercase;
  animation: preloaderText 0.9s ease-in-out infinite;
}

.preloader .box {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--white) url('../images/loader-logo.png') center / 72% no-repeat;
  box-shadow: 0 8px 30px rgba(32, 191, 85, 0.35);
  animation: preloaderPulse 0.8s ease-in-out infinite;
}

/* Spinning ring */
.preloader .box:before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--energy-green);
  border-right-color: rgba(255, 255, 255, 0.45);
  animation: preloaderSpin 0.5s linear infinite;
}

/* Slow rotating dashed halo */
.preloader .box:after {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  animation: preloaderSpinReverse 3s linear infinite;
}

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

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

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes preloaderText {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}

/* -------------------------------------------------------
   TEXT UTILITIES
   ------------------------------------------------------- */

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-energy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.notranslate, .notranslate * {
  unicode-bidi: isolate;
}

.theme-bg-dark {
  background-color: var(--energy-navy) !important;
}

/* -------------------------------------------------------
   SCROLL TO TOP
   ------------------------------------------------------- */

.progress-wrap {
  position: fixed;
  right: 30px;
  bottom: 40px;
  height: 45px;
  width: 45px;
  cursor: pointer;
  display: block;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  background: var(--energy-navy);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  transform: translateY(15px);
}

.progress-wrap::after {
  position: absolute;
  content: '\f176';
  font-family: "Font Awesome 5 Free";
  text-align: center;
  line-height: 45px;
  font-size: 15px;
  color: var(--energy-green);
  left: 0;
  top: 0;
  height: 45px;
  width: 45px;
  cursor: pointer;
  display: block;
  font-weight: 700;
  z-index: 1;
}

.progress-wrap svg path {
  fill: none;
}

.progress-wrap svg.progress-circle path {
  stroke: var(--energy-green);
  stroke-width: 4;
  box-sizing: border-box;
  transition: all 200ms linear;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* -------------------------------------------------------
   LIST STYLE ONE
   ------------------------------------------------------- */

.list-style-one {
  position: relative;
}

.list-style-one li {
  position: relative;
  color: var(--text-on-dark);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 30px;
}

.list-style-one li a {
  position: relative;
  color: var(--text-on-dark);
  transition: color var(--transition);
}

.list-style-one li a:hover {
  color: var(--energy-green);
}

.list-style-one li .icon {
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--energy-green);
  font-size: 18px;
  line-height: 1;
  font-weight: 300;
}

/* -------------------------------------------------------
   BUTTONS
   ------------------------------------------------------- */

.btn-style-one {
  position: relative;
  font-weight: 700;
  font-size: 15px;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 16px 34px;
  display: inline-block;
  color: var(--energy-navy);
  text-transform: capitalize;
  background: var(--energy-green);
  box-shadow: var(--shadow-green);
  transition: transform var(--transition-fast), box-shadow var(--transition);
}

.btn-style-one:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(32, 191, 85, 0.35);
}

.btn-style-one .btn-wrap {
  position: relative;
  z-index: 1;
  float: left;
  overflow: hidden;
  display: inline-block;
}

.btn-style-one .btn-wrap .text-one {
  position: relative;
  display: block;
  color: inherit;
  transition: all var(--transition);
}

.btn-style-one:hover .btn-wrap .text-one:first-child {
  transform: translateY(-150%);
}

.btn-style-one .btn-wrap .text-two {
  position: absolute;
  top: 100%;
  display: block;
  color: inherit;
  transition: all var(--transition);
}

.btn-style-one:hover .btn-wrap .text-two {
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
}

/* Btn Style Two */

.btn-style-two {
  position: relative;
  font-weight: 700;
  font-size: 15px;
  overflow: hidden;
  text-align: center;
  padding: 13px 35px;
  border-radius: var(--radius-md);
  display: inline-block;
  color: var(--white);
  text-transform: capitalize;
  background: var(--energy-teal);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition);
}

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

.btn-style-two .btn-wrap {
  position: relative;
  z-index: 1;
  float: left;
  overflow: hidden;
  display: inline-block;
}

.btn-style-two .btn-wrap .text-one {
  position: relative;
  display: block;
  color: var(--white);
  transition: all var(--transition);
}

.btn-style-two:hover .btn-wrap .text-one:first-child {
  transform: translateY(-150%);
}

.btn-style-two .btn-wrap .text-two {
  position: absolute;
  top: 100%;
  display: block;
  color: var(--white);
  transition: all var(--transition);
}

.btn-style-two:hover .btn-wrap .text-two {
  top: 50%;
  transform: translateY(-50%);
}

/* Btn Style Three */

.btn-style-three {
  position: relative;
  font-weight: 700;
  font-size: 15px;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-md);
  padding: 16px 34px;
  display: inline-block;
  color: var(--white);
  text-transform: capitalize;
  background: var(--energy-navy);
  transition: transform var(--transition-fast), box-shadow var(--transition);
}

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

.btn-style-three .btn-wrap {
  position: relative;
  z-index: 1;
  float: left;
  overflow: hidden;
  display: inline-block;
}

.btn-style-three .btn-wrap .text-one {
  position: relative;
  display: block;
  color: var(--white);
  transition: all var(--transition);
}

.btn-style-three:hover .btn-wrap .text-one:first-child {
  transform: translateY(-150%);
}

.btn-style-three .btn-wrap .text-two {
  position: absolute;
  top: 100%;
  display: block;
  color: var(--white);
  transition: all var(--transition);
}

.btn-style-three:hover .btn-wrap .text-two {
  top: 50%;
  transform: translateY(-50%);
}

/* Gradient Buttons */

.btn-gradient {
  border: none;
  color: var(--white);
  background: var(--gradient-green);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition);
}

.btn-gradient:hover {
  color: var(--white);
  background: var(--gradient-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-gradient-second {
  color: var(--white);
  background: var(--gradient-energy);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition);
}

.btn-gradient-second:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-gradient {
  color: var(--energy-teal);
  border: 2px solid var(--energy-teal);
  background: transparent;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
}

.btn-outline-gradient:hover {
  background: var(--energy-teal);
  color: var(--white);
}

/* -------------------------------------------------------
   SECTION TITLE
   ------------------------------------------------------- */

.sec-title {
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.sec-title_title {
  position: relative;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  color: var(--energy-teal);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sec-title_dots {
  position: relative;
}

.sec-title_dots span:nth-child(1) { animation-delay: 0s; }
.sec-title_dots span:nth-child(2) { animation-delay: 0.5s; }
.sec-title_dots span:nth-child(3) { animation-delay: 1s; }

@keyframes zoom-in-out {
  0% { transform: scale(0); opacity: 0; }
  20% { transform: scale(1.2); opacity: 1; }
  50% { transform: scale(1); opacity: 1; }
  80% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

.sec-title_dots span {
  position: relative;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-radius: 50%;
  display: inline-block;
  animation: zoom-in-out 3s infinite;
  opacity: 0;
  background: var(--gradient-green);
}

.sec-title_heading {
  margin-top: 15px;
  color: var(--energy-navy);
}

.sec-title_text {
  line-height: 30px;
  font-size: 16px;
  margin-top: 20px;
  color: var(--text-secondary);
}

.sec-title.light .sec-title_title {
  color: var(--white);
}

.sec-title.light .sec-title_text {
  opacity: 1;
  color: var(--white);
}

.sec-title.light .sec-title_heading {
  color: var(--white);
}

.sec-title.centered {
  text-align: center !important;
}

.sec-title.centered .sec-title_title {
  justify-content: center;
}

/* -------------------------------------------------------
   CUSTOM FORM STYLES
   ------------------------------------------------------- */

.form-group .ui-selectmenu-button.ui-button {
  top: -2px;
  width: 100%;
  border: 0;
  padding: 15px 25px;
  font-weight: 500;
  line-height: 28px;
  font-size: 16px;
  color: var(--text-primary);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.form-group .ui-button .ui-icon {
  background: none;
  position: relative;
  top: 3px;
  text-indent: 0;
  color: var(--text-muted);
}

.form-group .ui-button .ui-icon:before {
  font-family: 'FontAwesome';
  content: "\f107";
  position: absolute;
  right: 0;
  top: 10px;
  height: 22px;
  display: block;
  line-height: 20px;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  z-index: 5;
  color: var(--text-muted);
}

.ui-menu .ui-menu-item {
  font-size: 14px;
}

.ui-menu .ui-menu-item:last-child {
  border: none;
}

.ui-state-active, .ui-widget-content .ui-state-active {
  background-color: var(--energy-teal) !important;
  border-color: var(--energy-teal) !important;
}

.ui-menu .ui-menu-item-wrapper {
  position: relative;
  display: block;
  padding: 8px 20px;
  line-height: 24px;
  font-size: 14px;
}

.ui-menu-item:hover {
  background-color: var(--surface-2);
}

/* -------------------------------------------------------
   CUSTOM CURSOR
   ------------------------------------------------------- */

.cursor {
  position: fixed;
  background-color: var(--energy-green);
  width: 10px;
  height: 10px;
  border-radius: 100%;
  z-index: 10000;
  transform: scale(1);
  pointer-events: none;
  user-select: none;
  transition: 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity,
              0.3s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform;
}

.cursor.active {
  opacity: 1;
  transform: scale(0);
}

.cursor.menu-active {
  opacity: 1;
  transform: scale(0);
}

.cursor.hovered {
  opacity: 1;
}

.cursor-follower {
  position: fixed;
  border: 0.5px solid var(--energy-teal);
  width: 30px;
  height: 30px;
  border-radius: 100%;
  z-index: 10000;
  transform: translate(2px, 2px);
  pointer-events: none;
  user-select: none;
  transition: 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform,
              0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity,
              0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) background;
}

.cursor-follower.active {
  opacity: 1;
  transform: scale(2);
}

.cursor-follower.menu-active {
  opacity: 1;
  transform: scale(2);
}

/* -------------------------------------------------------
   SIDEBAR
   ------------------------------------------------------- */

.xs-sidebar-group .close-button {
  font-family: "Flaticon";
}

.newsletter-popup-area-section {
  display: none;
}

.xs-sidebar-group .xs-overlay {
  left: 100%;
  top: 0;
  position: fixed;
  z-index: 999999;
  height: 100%;
  opacity: 0;
  width: 100%;
  visibility: hidden;
  transition: all 0.4s ease-in 0.8s;
  cursor: pointer;
}

.xs-sidebar-group .close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 10;
  cursor: pointer;
  font-size: 18px;
}

.xs-sidebar-group .close-button .mdi {
  color: var(--text-on-dark);
  font-size: 14px;
  font-family: "Material Design Icons";
}

.xs-sidebar-group .close-button .mdi:hover {
  color: var(--energy-navy);
}

.xs-sidebar-widget {
  position: fixed;
  right: -100%;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 370px;
  z-index: 999999;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--white);
  transition: all 0.3s cubic-bezier(0.9, 0.03, 0, 0.96) 0.3s;
}

.xs-sidebar-group.isActive .xs-overlay {
  opacity: 0.7;
  visibility: visible;
  transition: all 0.8s ease-out 0s;
  left: 0;
}

.xs-sidebar-group.isActive .xs-sidebar-widget {
  opacity: 1;
  visibility: visible;
  right: 0;
  transition: all 0.8s cubic-bezier(0.9, 0.03, 0, 0.96) 0.4s;
}

.sidebar-textwidget {
  padding: 0;
}

.close-side-widget {
  display: block;
}

.sidebar-widget-container {
  position: relative;
  top: 0;
  transition: all 0.3s ease-in 0.3s;
}

.xs-sidebar-group.isActive .sidebar-widget-container {
  transition: all 1s ease-out 1.2s;
  backface-visibility: hidden;
}

.xs-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.5;
  z-index: 0;
}

.xs-bg-black {
  background-color: var(--energy-navy);
}

.xs-menu-tools > li {
  display: inline-block;
  margin-right: 15px;
}

.xs-menu-tools > li:last-child {
  margin-right: 0;
}

.xs-menu-tools > li > a {
  color: var(--energy-navy);
  text-decoration: none;
}

/* -------------------------------------------------------
   GOOGLE TRANSLATOR
   ------------------------------------------------------- */

#google_translate_element span {
  display: none !important;
}

.goog-te-gadget {
  font-size: 0 !important;
  color: transparent !important;
  height: 25px !important;
  overflow: hidden !important;
  margin-top: -4px !important;
  margin-bottom: -5px !important;
}

.goog-te-gadget .goog-te-combo {
  cursor: pointer;
  width: 150px !important;
  height: 25px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  background: transparent;
  color: var(--text-primary) !important;
  font-size: 14px !important;
  border-radius: 30px !important;
}

.goog-te-gadget .goog-te-combo option {
  background-color: var(--white);
  color: var(--text-primary);
}

/* -------------------------------------------------------
   FORM RANGE
   ------------------------------------------------------- */

.form-range {
  -webkit-appearance: none;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-green);
  cursor: pointer;
}

.form-range::-moz-range-thumb {
  margin-top: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-green);
  cursor: pointer;
}

/* -------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------- */

@media (max-width: 900px) {
  h1 { font-size: 56px; line-height: 66px; }
  h2 { font-size: 42px; line-height: 52px; }
  h3 { font-size: 26px; line-height: 36px; }
}

@media (max-width: 650px) {
  h1 { font-size: 42px; line-height: 52px; }
  h2 { font-size: 32px; line-height: 42px; }
  h3 { font-size: 22px; line-height: 32px; }
  .auto-container {
    padding: 0 15px;
  }
}

/* -------------------------------------------------------
   DARK / LIGHT THEME TOGGLE
   ------------------------------------------------------- */

.theme-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-energy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(32, 191, 85, 0.35);
  cursor: pointer;
  z-index: 99999;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(32, 191, 85, 0.5);
}

.theme-toggle i {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle i:first-child { opacity: 1; transform: scale(1); }
.theme-toggle i:last-child { opacity: 0; transform: scale(0.5); }
body.dark-body .theme-toggle i:first-child { opacity: 0; transform: scale(0.5); }
body.dark-body .theme-toggle i:last-child { opacity: 1; transform: scale(1); }

/* Dark palette — swapped design tokens */
body.dark-body {
  --surface: #0B1B29;
  --surface-2: #102436;
  --border: #1E3A4F;
  --color-four: #0B1B29;
  --color-three: #102436;
  --text-primary: #E8EEF3;
  --text-secondary: #A9BCC9;
  --text-muted: #839AA8;
  background: var(--surface);
  color: var(--text-primary);
}

body.dark-body h1,
body.dark-body h2,
body.dark-body h3,
body.dark-body h4,
body.dark-body h5,
body.dark-body h6 {
  color: #F2F7FA;
}

body.dark-body .theme-toggle {
  background: var(--gradient-brand);
  border: 2px solid var(--energy-green);
}

@media (max-width: 650px) {
  .theme-toggle {
    bottom: 15px;
    right: 15px;
    width: 46px;
    height: 46px;
    font-size: 17px;
  }
}
