/* RAVUKSA FINTECH — Professional responsive redesign layer. Original content and scripts are preserved. */
:root{--rf-navy:#0b1f3a;--rf-teal:#087f8c;--rf-blue:#2563eb;--rf-ink:#17263b;--rf-muted:#64748b;--rf-bg:#f3f7fb;--rf-line:#dce5ef;--rf-card:#fff;--rf-shadow:0 12px 34px rgba(11,31,58,.08)}
html{scroll-behavior:smooth;scroll-padding-top:90px}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;background:var(--rf-bg)!important;color:var(--rf-ink)!important;line-height:1.65!important}a{transition:color .2s,background .2s,transform .2s}img{max-width:100%;height:auto}
nav:not(.rf-explore-rail){background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--rf-line)!important;box-shadow:0 4px 18px rgba(11,31,58,.045)!important;backdrop-filter:blur(12px);padding:12px clamp(14px,4vw,48px)!important}nav:not(.rf-explore-rail) .nav{max-width:1240px!important;gap:14px!important}nav:not(.rf-explore-rail) a{font-weight:650!important;color:var(--rf-ink)!important}nav:not(.rf-explore-rail) a:hover{color:var(--rf-teal)!important}.logo{color:var(--rf-navy)!important}
.rf-market-strip{background:var(--rf-navy);color:#e8f2ff;overflow:hidden;white-space:nowrap;padding:9px 16px;font-size:12px;font-weight:750;letter-spacing:.08em}.rf-market-strip .rf-strip-inner{max-width:1240px;margin:auto;display:flex;justify-content:center;gap:clamp(20px,5vw,70px);align-items:center}.rf-market-strip a{color:#fff}.rf-market-strip b{color:#55d6c7;margin-right:6px}.rf-explore-rail{position:static!important;max-width:1240px;margin:14px auto 0;padding:0 clamp(14px,4vw,28px);display:grid;gap:9px;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important}.rf-explore-row{display:flex;align-items:center;gap:9px;overflow-x:auto;scrollbar-width:thin;padding:2px 0 7px}.rf-explore-label{font-size:11px;font-weight:800;letter-spacing:.08em;color:var(--rf-muted);min-width:78px}.rf-explore-row a{flex:0 0 auto;background:#fff;border:1px solid var(--rf-line);border-radius:999px;padding:8px 15px;color:var(--rf-navy);font-size:13px;font-weight:750;box-shadow:0 3px 10px rgba(11,31,58,.035)}.rf-explore-row a:hover{background:#e8f7f7;border-color:#9bd8d7;color:#056b74;transform:translateY(-1px)}
header.hero{padding:clamp(38px,6vw,76px) 0!important;background:linear-gradient(135deg,#f8fbff 0%,#edf7fb 52%,#f5f8ff 100%)!important}header.hero .ravuksa-hero-layout{max-width:1240px!important;gap:34px!important;align-items:center!important}header.hero .ravuksa-hero-content{max-width:680px}header.hero h1{color:var(--rf-navy)!important;font-size:clamp(34px,5vw,58px)!important;line-height:1.12!important;letter-spacing:-.035em!important}header.hero p{color:#52647a!important;font-size:16px!important}header.hero .badge{background:#e1f5f3!important;color:#087f8c!important;border:1px solid #b8e5df!important;border-radius:999px!important;font-weight:800!important}header.hero .ravuksa-chart-card{border:1px solid #dbe7f1!important;border-radius:22px!important;box-shadow:var(--rf-shadow)!important;background:#fff!important}header.hero .btn.primary,.btn.primary{background:var(--rf-teal)!important;border-color:var(--rf-teal)!important;border-radius:10px!important;box-shadow:0 8px 18px rgba(8,127,140,.18)}.btn{border-radius:10px!important;font-weight:750!important}
section{padding:clamp(36px,5vw,64px) 0!important}section .wrap{max-width:1240px!important;width:calc(100% - 32px)!important;margin-inline:auto!important}section h2,.section-title{color:var(--rf-navy)!important;letter-spacing:-.025em!important;font-size:clamp(24px,3vw,34px)!important;line-height:1.2!important}section p{color:#5b6b80}section.about{background:transparent!important}section:nth-of-type(even){background:#fff!important}section#home-market-snapshot,section#quick-access,section#why-ravuksa,section#learning-categories,section#market-dashboard,section#tools,section#risk-safety,section#investor-resources,section#about,section#contact{background:transparent!important}
.card,.quick-access-card,.learning-category-card{background:var(--rf-card)!important;border:1px solid var(--rf-line)!important;border-radius:17px!important;box-shadow:0 5px 20px rgba(11,31,58,.045)!important;transition:transform .2s,box-shadow .2s,border-color .2s}.card:hover,.quick-access-card:hover,.learning-category-card:hover{transform:translateY(-3px);box-shadow:var(--rf-shadow)!important;border-color:#b8d4e5!important}.quick-access-card,.learning-category-card{padding:20px!important}.quick-access-card h3,.learning-category-card h3,.card h3{color:var(--rf-navy)!important}.quick-access-card a,.learning-category-card a{font-weight:750}.quick-access-card .btn,.learning-category-card .btn{display:inline-flex;align-items:center;justify-content:center}
#home-market-snapshot .card,#home-market-snapshot .market-card{border-radius:16px!important}#home-market-snapshot h2{margin-bottom:8px}#tools input,#tools select,#tools button,section input,section select,section textarea{border-radius:9px}input,select,textarea{border:1px solid #ccd8e5!important;padding:10px 12px!important}button{cursor:pointer}footer{background:var(--rf-navy)!important;color:#e8f2ff!important}footer a{color:#bcebe7!important}
@media(max-width:760px){nav:not(.rf-explore-rail){padding:10px 14px!important}nav:not(.rf-explore-rail) .nav{gap:8px!important}.rf-market-strip .rf-strip-inner{justify-content:flex-start;min-width:max-content;animation:rfTicker 24s linear infinite}.rf-explore-rail{padding-inline:14px}.rf-explore-label{min-width:70px;font-size:10px}.rf-explore-row a{font-size:12px;padding:8px 12px}header.hero{padding:34px 0 42px!important}header.hero .ravuksa-hero-layout{grid-template-columns:1fr!important;display:grid!important;gap:24px!important}header.hero h1{font-size:36px!important}section{padding:34px 0!important}section .wrap{width:calc(100% - 28px)!important}.quick-access-card,.learning-category-card{padding:16px!important}}
@keyframes rfTicker{0%{transform:translateX(0)}100%{transform:translateX(-22%)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* ==========================================
   RAVUKSA FINTECH - PREMIUM CORPORATE THEME
   ========================================== */

/* Main Website Background */
html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse at 5% 5%, rgba(8,127,140,0.045), transparent 35%),
    radial-gradient(ellipse at 95% 25%, rgba(37,99,235,0.045), transparent 32%),
    #f5f8fc !important;
  color: #17263b;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

/* Clean Section Background */
section {
  background-color: transparent;
}

/* Premium White Cards */
.card,
.feature-card,
.tool-card,
.learning-card,
.quick-card,
.resource-card,
.calculator-card,
.hub-card,
article.card {
  background: #ffffff !important;
  border: 1px solid #e3eaf2 !important;
  border-radius: 16px !important;
  box-shadow: 0 5px 22px rgba(15, 35, 65, 0.055) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Card Hover Effect */
.card:hover,
.feature-card:hover,
.tool-card:hover,
.learning-card:hover,
.quick-card:hover,
.resource-card:hover,
.calculator-card:hover,
.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 35, 65, 0.10) !important;
  border-color: #c9dce9 !important;
}

/* Professional Headings */
h1, h2, h3, h4 {
  color: #102746;
  letter-spacing: -0.35px;
}

/* Paragraph Text */
p {
  line-height: 1.75;
}

/* Premium Hero Background */
.ravuksa-hero-upgraded {
  background: linear-gradient(
    135deg,
    #0b1f3a 0%,
    #123d59 55%,
    #087f8c 100%
  ) !important;
  border-radius: 0 0 26px 26px;
}

/* Soft Section Separation */
.section-title {
  color: #102746;
}

/* Professional Form Fields */
input,
select,
textarea {
  border: 1px solid #d7e1ec;
  border-radius: 10px;
  background: #ffffff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #087f8c;
  box-shadow: 0 0 0 3px rgba(8,127,140,0.10);
}

/* Responsive Background */
@media (max-width: 768px) {
  body {
    background:
      linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%) !important;
  }

  .card,
  .feature-card,
  .tool-card,
  .learning-card,
  .quick-card,
  .resource-card,
  .calculator-card,
  .hub-card {
    border-radius: 13px !important;
  }
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .card,
  .feature-card,
  .tool-card,
  .learning-card,
  .quick-card,
  .resource-card,
  .calculator-card,
  .hub-card {
    transition: none !important;
  }
}


/* =====================================
   RAVUKSA FINTECH - CORPORATE POLISH
   SECTION & CARD ENHANCEMENT
   ===================================== */

/* Alternating Professional Sections */
section#learning-categories,
section#investor-resources,
section#risk-safety,
section#about {
  background: linear-gradient(
    180deg,
    #eef4fa 0%,
    #f7f9fc 100%
  ) !important;
}

section#market-dashboard,
section#tools,
section#platforms,
section#community,
section#contact {
  background: #ffffff !important;
}

/* Better Section Spacing */
section[id] {
  scroll-margin-top: 85px;
}

/* Premium Card Appearance */
.card,
.feature-card,
.tool-card,
.learning-card,
.quick-card,
.resource-card,
.calculator-card,
.hub-card {
  background: #ffffff !important;
  border: 1px solid #e5ebf2 !important;
  border-radius: 18px !important;
  box-shadow:
    0 2px 6px rgba(16, 39, 70, 0.025),
    0 10px 28px rgba(16, 39, 70, 0.045) !important;
}

/* Card Heading */
.card h3,
.feature-card h3,
.tool-card h3,
.learning-card h3,
.hub-card h3 {
  color: #102746 !important;
  font-weight: 700;
}

/* Card Description */
.card p,
.feature-card p,
.tool-card p,
.learning-card p,
.hub-card p {
  color: #607086;
}

/* Better Section Headings */
.section-title {
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Mobile Improvements */
@media (max-width: 768px) {
  section#learning-categories,
  section#investor-resources,
  section#risk-safety,
  section#about {
    background: #f3f7fb !important;
  }

  .card,
  .feature-card,
  .tool-card,
  .learning-card,
  .quick-card,
  .resource-card,
  .calculator-card,
  .hub-card {
    border-radius: 14px !important;
  }
}

/* ==========================================
   RAVUKSA FINTECH - TYPOGRAPHY & BUTTON POLISH
   ========================================== */

/* Consistent Typography */
body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #26364a;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Professional Headings */
h1, h2, h3, h4, h5 {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: #102746;
  line-height: 1.3;
  letter-spacing: -0.4px;
}

h1 {
  font-weight: 800;
}

h2 {
  font-weight: 750;
}

h3, h4, h5 {
  font-weight: 700;
}

/* Readable Paragraphs */
p {
  color: #52647a;
  line-height: 1.75;
}

/* Consistent Section Titles */
.section-title {
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
}

/* Professional Buttons */
.btn,
button,
.button,
a.button {
  font-family: inherit;
  font-weight: 650;
  letter-spacing: 0.1px;
  border-radius: 10px;
  transition: all 0.22s ease;
}

/* Button Hover */
.btn:hover,
button:hover,
.button:hover,
a.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

/* Consistent Links */
a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Feature Page Consistency */
.feature-card h3,
.tool-card h3,
.hub-card h3 {
  font-size: 19px;
  line-height: 1.4;
}

.feature-card p,
.tool-card p,
.hub-card p {
  font-size: 14.5px;
}

/* Mobile Typography */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: clamp(27px, 7vw, 36px);
  }

  h2 {
    font-size: 25px;
  }

  .section-title {
    font-size: 26px;
  }

  .btn,
  button,
  .button {
    min-height: 42px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .btn,
  button,
  .button,
  a.button {
    transition: none !important;
  }
}

/* ==========================================
   RAVUKSA FINTECH - MOBILE RESPONSIVE
   ========================================== */

/* Prevent Horizontal Overflow */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Responsive Images */
img,
video,
iframe {
  max-width: 100%;
}

/* Responsive Layout */
@media (max-width: 768px) {

  .wrap,
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Responsive Grids */
  .grid,
  .cards-grid,
  .features-grid,
  .tools-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  /* Responsive Cards */
  .card,
  .feature-card,
  .tool-card,
  .learning-card,
  .quick-card,
  .resource-card,
  .calculator-card,
  .hub-card {
    width: 100%;
    min-width: 0;
    padding: 18px;
  }

  /* Responsive Tables */
  table {
    min-width: 600px;
  }

  .table-responsive,
  .table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Form Fields */
  input,
  select,
  textarea {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* Better Section Spacing */
  section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  /* Prevent Long Text Overflow */
  h1, h2, h3, p, a {
    overflow-wrap: anywhere;
  }
}

/* Small Mobile Screens */
@media (max-width: 480px) {

  .wrap,
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .card,
  .feature-card,
  .tool-card,
  .learning-card,
  .hub-card {
    padding: 15px;
  }

  .section-title {
    font-size: 24px;
  }

  button,
  .btn {
    max-width: 100%;
  }
}

