.elementor-4473 .elementor-element.elementor-element-f096f7e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4473 .elementor-element.elementor-element-91a55b5{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4473 .elementor-element.elementor-element-6ec2fda{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4473 .elementor-element.elementor-element-072379b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-4473 .elementor-element.elementor-element-2e453c1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-25710a0 */:root {
    --primary-brand: #0f766e; /* Teal */
    --accent-brand: #14b8a6;
    --background-light: #f0fdfa;
    --border-color: #ccfbf1;
    --text-main: #134e4a;
    --text-light: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

.hidden { display: none !important; }
.full-width { width: 100%; }
.divider { height: 1px; background: #e2e8f0; margin: 2rem 0; }

/* Workspace */
.workspace { background: white; padding: 2rem; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.planner-layout { display: flex; gap: 2rem; align-items: flex-start; }

/* Input Panel */
.input-panel { flex: 0 0 320px; }

.section-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    background: #fafafa;
}

.card-title {
    font-weight: 700; color: var(--text-main); margin-bottom: 1rem; font-size: 1rem;
    border-bottom: 2px solid var(--border-color); padding-bottom: 5px; display: inline-block;
}

/* Forms */
.form-row { display: flex; gap: 10px; }
.form-group { margin-bottom: 1rem; }
.form-group.half { flex: 1; }
.form-group label { display: block; margin-bottom: 0.3rem; font-weight: 600; font-size: 0.85rem; color: #475569; }
.form-input { 
    width: 100%; padding: 0.6rem; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; 
    transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--primary-brand); outline: none; box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1); }

/* Result Panel */
.result-panel { flex: 1; width: 100%; }

.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.summary-card {
    background: white; border: 1px solid #e2e8f0; padding: 1rem; border-radius: 8px; text-align: center;
}
.summary-card.highlight { background: var(--primary-brand); color: white; border-color: var(--primary-brand); }
.summary-card.highlight .lbl { color: #ccfbf1; }
.summary-card .lbl { font-size: 0.8rem; font-weight: 600; margin-bottom: 5px; color: var(--text-light); }
.summary-card .val { font-size: 1.2rem; font-weight: 800; }

/* Chart */
.chart-wrapper { height: 300px; margin-bottom: 1.5rem; position: relative; width: 100%; }

/* Recommendation Box */
.recommendation-box {
    background: #fffbeb; border: 1px solid #fcd34d; padding: 1.5rem; border-radius: 8px; margin-bottom: 1rem;
}
.recommendation-box h3 { margin-bottom: 1rem; color: #92400e; font-size: 1.1rem; }

.allocation-bar { display: flex; height: 24px; border-radius: 12px; overflow: hidden; margin-bottom: 1rem; }
.alloc-segment { display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; color: white; }
.alloc-segment.equity { background: var(--primary-brand); }
.alloc-segment.debt { background: var(--warning); }

.action-list { padding-left: 1.5rem; color: #374151; font-size: 0.95rem; }
.action-list li { margin-bottom: 0.5rem; }

/* Comparison Table */
.table-responsive { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: 0.9rem; }
.compare-table th { background: #f1f5f9; padding: 12px; text-align: left; border: 1px solid #e2e8f0; color: var(--text-main); }
.compare-table td { padding: 12px; border: 1px solid #e2e8f0; }
.compare-table tr:nth-child(even) { background: #f8fafc; }
.text-success { color: var(--success); font-weight: 600; }
.text-safe { color: #0284c7; font-weight: 600; }

/* Mobile */
@media (max-width: 900px) {
    .planner-layout { flex-direction: column; }
    .input-panel { width: 100%; }
    .summary-grid { grid-template-columns: 1fr; }
}

.btn-dark { background: #1f2937; color: white; border: none; }
.btn-dark:hover { background: #111827; }/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-55285c2 *//* --- Tools Section --- */
.tools-section {
  position: relative;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f9fb 100%);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08), 0 0 60px rgba(230,57,70,0.05);
  margin: 2rem auto;
  max-width: 1200px;
  box-sizing: border-box;
}

/* Section Heading */
.tools-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e63946;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: sans-serif;

  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: fadeSlideFloat 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* --- Tools Grid --- */
.tools-grid {
  display: grid;
  gap: 1.5rem;
  /* Auto-fit ensures items stretch and fill the row symmetrically */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-items: stretch; 
  padding: 0 0.5rem;
  perspective: 1000px;
}

/* --- Tool Card --- */
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255,255,255,0.95);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  text-decoration: none; /* Removes link underline */

  /* Forces all cards in a row to be the same height */
  height: 100%;
  min-height: 220px;
  box-sizing: border-box;
  overflow: hidden;

  /* Animation */
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: fadeSlideFloat 0.6s ease forwards;
}

/* Stagger animation for initial items */
.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }
.tool-card:nth-child(5) { animation-delay: 0.5s; }
.tool-card:nth-child(6) { animation-delay: 0.6s; }
.tool-card:nth-child(n+7) { animation-delay: 0.7s; }


/* Keyframes: Fade + Slide + Scale */
@keyframes fadeSlideFloat {
  0% { opacity: 0; transform: translateY(20px) scale(0.95); }
  60% { opacity: 1; transform: translateY(-5px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Hover Effects */
.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-6px) rotateX(2deg);
  border-color: #e63946;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15), 0 0 25px rgba(230,57,70,0.2);
}

/* Glossy Overlay */
.tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 8px 8px 0 0;
}
.tool-card:hover::before { opacity: 1; }

/* Gradient Border */
.tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(270deg, #e63946, #d62828, #f77f00, #e63946, #d62828);
  background-size: 600% 600%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.tool-card:hover::after {
  opacity: 1;
  animation: gradientFlow 3s linear infinite;
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Icon */
.tool-card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  line-height: 1;
  transition: transform 0.4s ease, color 0.4s ease;
  color: #e63946;
  animation: floatIcon 3s ease-in-out infinite;
  z-index: 2;
}
.tool-card:hover .tool-card-icon {
  transform: scale(1.1) rotate(2deg);
  color: #b51724;
}
@keyframes floatIcon {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* Title & Description */
.tool-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5rem;
  font-family: sans-serif;
}
.tool-card-desc {
  font-size: 0.9rem;
  color: #555;
  flex-grow: 1;
  line-height: 1.5;
  font-family: sans-serif;
}

/* --- Responsive --- */
@media (max-width: 1200px) { .tools-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
@media (max-width: 768px)  { .tools-section { padding: 2rem 1rem; } }
@media (max-width: 600px) {
  .tools-grid { grid-template-columns: 1fr; }
  .tool-card { padding: 1.2rem; min-height: auto; }
  .tool-card-icon { font-size: 2rem; }
}/* End custom CSS */