/* =====================================================
   BIIT Digital Skills Center – Investment Plan
   style.css  |  Blue + White Premium Finance Theme
   ===================================================== */

/* ---------- CSS VARIABLES ---------- */
:root {
  --blue-dark:    #0a1628;
  --blue-deep:    #0d2347;
  --blue-mid:     #1a3a6e;
  --blue-main:    #1e54b7;
  --blue-bright:  #2b6de8;
  --blue-light:   #4f8ef7;
  --blue-pale:    #e8f0fe;
  --blue-glass:   rgba(30, 84, 183, 0.12);

  --green:        #10b981;
  --green-light:  #d1fae5;
  --purple:       #7c3aed;
  --purple-light: #ede9fe;
  --orange:       #f59e0b;
  --orange-light: #fef3c7;
  --red:          #ef4444;

  --white:        #ffffff;
  --gray-50:      #f8fafc;
  --gray-100:     #f1f5f9;
  --gray-200:     #e2e8f0;
  --gray-400:     #94a3b8;
  --gray-600:     #475569;
  --gray-800:     #1e293b;

  --shadow-sm:    0 2px 8px rgba(10,22,40,.06);
  --shadow-md:    0 8px 32px rgba(10,22,40,.10);
  --shadow-lg:    0 16px 56px rgba(10,22,40,.14);
  --shadow-blue:  0 8px 32px rgba(30,84,183,.22);

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;

  --font-body:    'Plus Jakarta Sans', sans-serif;
  --font-display: 'Syne', sans-serif;

  --transition:   all .25s cubic-bezier(.4,0,.2,1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue-main); border-radius: 99px; }

/* =====================================================
   NAVBAR
   ===================================================== */
#mainNav {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
  z-index: 1000;
  padding: .75rem 0;
}
#mainNav.scrolled {
  box-shadow: var(--shadow-md);
}

.brand-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow-blue);
}
.brand-name {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.1;
}
.brand-sub {
  font-size: .68rem;
  color: var(--gray-400);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.nav-link {
  font-weight: 600;
  color: var(--gray-600) !important;
  font-size: .9rem;
  padding: .5rem .9rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-main) !important;
  background: var(--blue-pale);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  color: var(--white) !important;
  font-size: .85rem;
  font-weight: 700;
  padding: .55rem 1.4rem;
  border-radius: 99px;
  border: none;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}
.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30,84,183,.35);
  color: var(--white) !important;
}

/* =====================================================
   HERO
   ===================================================== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 50%, #0f2d5a 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}

/* Animated blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--blue-bright);
  top: -150px; right: -100px;
  animation-delay: 0s;
}
.blob-2 {
  width: 350px; height: 350px;
  background: var(--purple);
  bottom: -80px; left: -80px;
  animation-delay: 2s;
}
.blob-3 {
  width: 250px; height: 250px;
  background: var(--green);
  top: 40%; left: 35%;
  animation-delay: 4s;
  opacity: .12;
}
@keyframes blobFloat {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,40px) scale(1.1); }
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.min-vh-hero { min-height: 80vh; }

/* Hero Text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 99px;
  padding: .45rem 1.1rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.gradient-text {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.7;
}

.stat-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: .75rem .5rem;
  text-align: center;
  backdrop-filter: blur(10px);
}
.stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}
.stat-lbl {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  margin-top: .15rem;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 99px;
  border: none;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
  text-decoration: none;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(30,84,183,.4);
  color: var(--white);
}
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: var(--transition);
  text-decoration: none;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
  color: var(--white);
  transform: translateY(-2px);
}

/* Floating Card */
.hero-card-col { position: relative; }

.floating-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  animation: cardFloat 4s ease-in-out infinite alternate;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
@keyframes cardFloat {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-16px); }
}

.fc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.fc-tag {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .85rem;
  border-radius: 99px;
}
.fc-date { color: rgba(255,255,255,.45); font-size: .75rem; }

.fc-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
}
.fc-label { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: .2rem; }
.fc-divider { height: 1px; background: rgba(255,255,255,.1); margin: 1.2rem 0; }

.fc-stat-box {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: .9rem .7rem;
  text-align: center;
}
.fc-stat-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem;
  margin: 0 auto .55rem;
}
.bg-blue   { background: var(--blue-bright); }
.bg-green  { background: var(--green); }
.bg-purple { background: var(--purple); }
.bg-orange { background: var(--orange); }

.fc-stat-val { color: var(--white); font-weight: 700; font-size: .95rem; }
.fc-stat-lbl { color: rgba(255,255,255,.45); font-size: .68rem; margin-top: .15rem; }

.fc-footer {
  text-align: center;
  color: rgba(255,255,255,.45);
  font-size: .78rem;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: .9rem;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 99px;
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: .55rem 1.1rem;
  white-space: nowrap;
}
.badge-tl { top: -16px; left: -16px; }
.badge-br { bottom: -12px; right: -12px; }

/* =====================================================
   SECTION COMMONS
   ===================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  background: var(--blue-pale);
  color: var(--blue-main);
  border: 1px solid rgba(30,84,183,.15);
  border-radius: 99px;
  padding: .4rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-sub {
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =====================================================
   CALCULATOR SECTION
   ===================================================== */
.calculator-section {
  padding: 100px 0;
  background: var(--gray-50);
}

/* --- Input Card --- */
.calc-input-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.calc-input-header {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 1.2rem 1.8rem;
}
.calc-input-body { padding: 1.8rem; }

.input-label {
  font-weight: 600;
  font-size: .85rem;
  color: var(--gray-600);
  margin-bottom: .5rem;
  display: block;
}
.input-wrapper {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.input-wrapper:focus-within {
  border-color: var(--blue-main);
  box-shadow: 0 0 0 4px rgba(30,84,183,.1);
}
.input-prefix, .input-suffix {
  padding: .65rem .9rem;
  background: var(--blue-pale);
  color: var(--blue-main);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}
.calc-input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-800);
  flex: 1;
  outline: none;
  padding: .65rem .9rem;
}
.calc-input:focus { outline: none; box-shadow: none !important; }

/* Range Slider */
.form-range {
  accent-color: var(--blue-main);
  cursor: pointer;
}
.slider-labels {
  font-size: .72rem;
  color: var(--gray-400);
  margin-top: .2rem;
}

/* Tenure toggle */
.btn-tenure {
  background: var(--gray-100);
  color: var(--gray-600);
  border: 2px solid var(--gray-200);
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 700;
  padding: .4rem 1.2rem;
  transition: var(--transition);
}
.btn-tenure.active,
.btn-tenure:hover {
  background: var(--blue-main);
  color: var(--white);
  border-color: var(--blue-main);
}

.btn-calculate {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: .9rem;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
  letter-spacing: .02em;
}
.btn-calculate:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30,84,183,.35);
  color: var(--white);
}

/* --- Result Cards --- */
.result-card {
  border-radius: var(--radius-md);
  padding: 1.2rem 1rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
}
.result-card:hover { transform: translateY(-4px); }

.result-card-blue   { background: var(--blue-pale);    border-color: rgba(30,84,183,.15); }
.result-card-green  { background: var(--green-light);  border-color: rgba(16,185,129,.15); }
.result-card-purple { background: var(--purple-light); border-color: rgba(124,58,237,.15); }
.result-card-orange { background: var(--orange-light); border-color: rgba(245,158,11,.15); }

.result-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto .7rem;
}
.result-card-blue   .result-icon { background: var(--blue-main);  color: var(--white); }
.result-card-green  .result-icon { background: var(--green);       color: var(--white); }
.result-card-purple .result-icon { background: var(--purple);      color: var(--white); }
.result-card-orange .result-icon { background: var(--orange);      color: var(--white); }

.result-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-dark);
  word-break: break-all;
}
.result-lbl { font-size: .72rem; color: var(--gray-600); font-weight: 600; margin-top: .2rem; }

/* Chart Card */
.chart-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.chart-legend { padding-left: 1rem; }
.legend-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.legend-item:last-child { border-bottom: none; }
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.dot-blue   { background: var(--blue-main); }
.dot-green  { background: var(--green); }
.legend-label { flex: 1; font-size: .82rem; color: var(--gray-600); font-weight: 500; }
.legend-val   { font-size: .85rem; font-weight: 700; color: var(--blue-dark); }

.profit-badge {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  color: #065f46;
  border-radius: 99px;
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  display: inline-block;
}

/* --- Table Card --- */
.table-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.table-card-header {
  padding: 1.4rem 1.8rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
  flex-wrap: wrap;
  gap: 1rem;
}
.table-card-header h5 { color: var(--white); }
.table-card-header p  { color: rgba(255,255,255,.55); }

.btn-export {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  font-size: .82rem;
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: 99px;
  transition: var(--transition);
}
.btn-export:hover {
  background: rgba(255,255,255,.2);
  color: var(--white);
}

/* EMI Table */
.emi-table {
  margin: 0;
  font-size: .88rem;
}
.emi-table thead th {
  background: var(--blue-pale);
  color: var(--blue-main);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: none;
  padding: .9rem 1rem;
  white-space: nowrap;
}
.emi-table tbody tr {
  transition: var(--transition);
  border-color: var(--gray-100);
}
.emi-table tbody tr:hover { background: var(--blue-pale); }
.emi-table tbody td {
  padding: .8rem 1rem;
  vertical-align: middle;
  font-weight: 500;
  color: var(--gray-800);
  border-color: var(--gray-100);
}
.emi-table tbody td:first-child {
  font-weight: 700;
  color: var(--blue-main);
}
.emi-table tfoot tr {
  background: linear-gradient(135deg, var(--blue-pale), #e0ebff);
  font-weight: 700;
}
.emi-table tfoot td {
  padding: .9rem 1rem;
  border-top: 2px solid var(--blue-main);
  color: var(--blue-dark);
}

/* Row highlight alternating */
.emi-table tbody tr:nth-child(even) { background: var(--gray-50); }
.emi-table tbody tr:nth-child(even):hover { background: var(--blue-pale); }

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section {
  padding: 100px 0;
  background: var(--white);
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  transform: scaleX(0);
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--blue-main);
  box-shadow: var(--shadow-blue);
  transform: translateY(-6px);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.feature-icon-wrap.blue   { background: linear-gradient(135deg, var(--blue-main), var(--blue-bright)); }
.feature-icon-wrap.green  { background: linear-gradient(135deg, #059669, var(--green)); }
.feature-icon-wrap.purple { background: linear-gradient(135deg, #6d28d9, var(--purple)); }
.feature-icon-wrap.orange { background: linear-gradient(135deg, #d97706, var(--orange)); }

.feature-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--blue-dark);
  margin-bottom: .6rem;
}
.feature-text { color: var(--gray-600); font-size: .88rem; line-height: 1.7; margin: 0; }

/* How it works */
.how-card {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
}
.how-card .section-title { color: var(--white); }

.step-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,.1);
  line-height: 1;
  margin-bottom: .8rem;
}
.step-title {
  font-weight: 700;
  color: var(--white);
  margin-bottom: .6rem;
}
.step-text { color: rgba(255,255,255,.55); font-size: .88rem; line-height: 1.7; margin: 0; }

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
  padding: 100px 0;
  background: var(--gray-50);
}

.contact-info-list { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: .9rem;
  color: var(--gray-600);
}
.ci-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.input-icon-wrap {
  position: relative;
}
.input-icon-wrap > i {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: .95rem;
  pointer-events: none;
  z-index: 1;
}
.input-icon-wrap textarea ~ i,
.input-icon-wrap + i { display: none; }

.contact-input {
  width: 100%;
  padding: .7rem .9rem .7rem 2.5rem !important;
  border: 2px solid var(--gray-200) !important;
  border-radius: var(--radius-sm) !important;
  font-size: .9rem !important;
  transition: var(--transition) !important;
  font-family: var(--font-body) !important;
  background: var(--gray-50) !important;
}
.contact-input:focus {
  border-color: var(--blue-main) !important;
  box-shadow: 0 0 0 4px rgba(30,84,183,.1) !important;
  background: var(--white) !important;
  outline: none !important;
}
textarea.contact-input { padding-left: .9rem !important; resize: vertical; }

.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: .4rem;
}

.btn-submit {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: .95rem;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
  letter-spacing: .02em;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30,84,183,.35);
  color: var(--white);
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--blue-dark);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-desc { color: rgba(255,255,255,.4); font-size: .85rem; margin: 0; }
.footer-links { display: flex; justify-content: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .85rem; font-weight: 500; transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,.3); font-size: .78rem; margin: 0; }

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-bright));
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-blue);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); }

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Counting animation class */
.count-anim { transition: all .4s ease; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
  .hero-section { padding: 90px 0 50px; }
  .floating-badge { display: none; }
  .floating-card { margin-top: 2rem; }
}

@media (max-width: 767px) {
  .hero-heading { font-size: 1.9rem; }
  .calc-input-body { padding: 1.2rem; }
  .chart-card { padding: 1.2rem; }
  .contact-form-card { padding: 1.5rem; }
  .how-card { padding: 2rem 1.2rem; }
  .table-card-header { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .back-to-top { bottom: 1rem; right: 1rem; }
}