body {
    font-family: "Times New Roman", Times, serif;
    margin: 0;
    background: #f9f9f9;
    color: #222;
}

header {
    background: #0b3c5d;
    color: white;
    padding: 20px;
    text-align: center;
}

.hero {
    padding: 30px;
    text-align: center;
    background: #eaf3f9;
}

section {
    padding: 30px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    color: #0b3c5d;
}

.calculators {
    background: #ffffff;
}

.calculator-box {
    background: #f1f6fa;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
}

button {
    padding: 10px 20px;
    background: #0b3c5d;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #06283d;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.asset {
    background: #ffffff;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.contact {
    background: #eaf3f9;
    text-align: center;
}

.socials a {
    margin: 0 10px;
    color: #0b3c5d;
    text-decoration: none;
    font-weight: bold;
}

footer {
    background: #0b3c5d;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}
.header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #0b3c5d;
    color: white;
    padding: 20px;
}

.logo-box {
    width: 70px;
    height: 70px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-text h1 {
    margin: 0;
}
.socials a {
    margin: 0 12px;
    color: #0b3c5d;
    text-decoration: none;
    font-weight: bold;
}

.socials a:hover {
    text-decoration: underline;
}
.special-about {
    background: #ffffff;
    border-left: 5px solid #0b3c5d;
    padding: 35px;
    margin-top: 40px;
}

.special-about h2 {
    margin-bottom: 15px;
}

.special-about .highlight {
    font-size: 18px;
    font-weight: bold;
    color: #0b3c5d;
    margin-bottom: 15px;
}
.tracker {
    background: #ffffff;
    padding: 40px;
    margin-top: 40px;
}

.tracker-box {
    max-width: 500px;
    margin: auto;
    background: #f1f6fa;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.tracker-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
}

.tracker-box button {
    width: 100%;
    padding: 12px;
    background: #0b3c5d;
    color: #ffffff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.tracker-result p {
    margin: 10px 0;
    font-weight: bold;
    color: #0b3c5d;
}
.sip-strategy {
    background: #ffffff;
    padding: 50px;
    margin-top: 60px;
}

.sip-strategy h2 {
    text-align: center;
    color: #0b3c5d;
}

.strategy-inputs {
    max-width: 500px;
    margin: 25px auto;
    display: grid;
    gap: 12px;
}

.strategy-inputs input,
.strategy-inputs select {
    padding: 10px;
    font-size: 15px;
}

.strategy-inputs button {
    padding: 12px;
    background: #0b3c5d;
    color: #fff;
    border: none;
    cursor: pointer;
}

#strategyResult {
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ccc;
    padding: 20px;
    display: none;
}

#strategyResult h3 {
    color: #0b3c5d;
    margin-bottom: 10px;
}

.allocation {
    margin-bottom: 8px;
}

.refined-assets {
    background: #ffffff;
    padding: 40px;
    margin-top: 40px;
}

.asset-intro {
    text-align: center;
    margin-bottom: 25px;
    color: #444;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.asset-card {
    background: #f1f6fa;
    padding: 20px;
    border-radius: 8px;
}

.asset-card h3 {
    color: #0b3c5d;
    margin-bottom: 10px;
}

.asset-card ul {
    padding-left: 18px;
}

.asset-card ul li {
    margin-bottom: 8px;
    font-size: 14px;
}
.refined-assets {
    background: #ffffff;
    padding: 40px;
    margin-top: 40px;
}

.asset-intro {
    text-align: center;
    margin-bottom: 25px;
    color: #444;
}

.accordion-item {
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    padding: 15px;
    background: #0b3c5d;
    color: #ffffff;
    border: none;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 20px;
    background: #f1f6fa;
}

.accordion-content ul {
    padding-left: 18px;
}

.accordion-content ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.who {
    margin-top: 12px;
    font-size: 14px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    color: #ffffff;
}

.badge.high {
    background: #c0392b;
}

.badge.medium {
    background: #f39c12;
}

.badge.low {
    background: #27ae60;
}
.risk-scanner {
    background: #ffffff;
    padding: 50px;
    margin-top: 60px;
}

.risk-scanner h2 {
    color: #0b3c5d;
}

.risk-question {
    margin-bottom: 20px;
}

.risk-question label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

.risk-question select {
    width: 100%;
    padding: 10px;
    font-size: 15px;
}

.risk-scanner button {
    width: 100%;
    padding: 14px;
    background: #0b3c5d;
    color: #ffffff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

#riskResult {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #ccc;
    display: none;
}

.note {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

/* Founder header layout – image on LEFT */
.founder-header {
    display: flex;
    align-items: flex-start;
    gap: 350px;
}

/* Founder image container */
.founder-profile {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

/* Circular image with top-face focus */
.founder-profile img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top; /* face visible more from upside */
    border: 4px solid #0b3c5d;
}
.services {
    background: #ffffff;
    padding: 50px;
    margin-top: 60px;
}

.services h2 {
    text-align: center;
    color: #0b3c5d;
    margin-bottom: 10px;
}

.services-intro {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
    color: #444;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: #f1f6fa;
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card h3 {
    color: #0b3c5d;
    margin-bottom: 10px;
    font-size: 20px;
}

.service-card p {
    font-size: 14px;
    margin-bottom: 12px;
    color: #333;
}

.service-card ul {
    padding-left: 18px;
}

.service-card ul li {
    font-size: 14px;
    margin-bottom: 8px;
}

.services-note {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
    color: #666;
}


.founder-wrap {
    display: flex;
    align-items: flex-start;
    gap: 30px; /* space between image and text */
}

.founder-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top; /* face visible from top */
    border: 4px solid #0b3c5d;
    flex-shrink: 0;
}

.founder-content {
    flex: 1;
}

.founder-note h2 {
    margin-top: 0;
}

.quote {
    font-style: italic;
}

.disclaimer {
    font-size: 12px;
    color: #666;
}

.sign {
    margin-top: 15px;
    font-weight: bold;
}
/* Increase inner text size inside Asset section */
.refined-assets,
.refined-assets p,
.refined-assets li {
    font-size: 17px;
    line-height: 1.7;
}
.sip-vs-simple {
    background: #ffffff;
    padding: 50px;
    margin-top: 60px;
    text-align: center;
}

.sip-vs-simple h2 {
    color: #0b3c5d;
    margin-bottom: 10px;
}

.sip-vs-simple {
    background: #ffffff;
    padding: 50px;
    margin-top: 60px;
    text-align: center;
}

.sip-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    max-width: 700px;
    margin: 30px auto;
}

.sip-inputs input {
    padding: 10px;
    font-size: 15px;
}

.sip-inputs button {
    grid-column: 1 / -1;
    padding: 12px;
    background: #0b3c5d;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#growthChart {
    max-width: 100%;
    margin-top: 30px;
    border-bottom: 1px solid #ccc;
}

.note {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
}
#yearTable {
    margin-top: 30px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: right;
}

th {
    background: #f1f6fa;
    text-align: center;
}

td:first-child, th:first-child {
    text-align: center;
}
.founder-credentials {
    background: #ffffff;
    padding: 50px;
    margin-top: 60px;
    border-top: 3px solid #0b3c5d;
}

.founder-credentials h2 {
    text-align: center;
    color: #0b3c5d;
    margin-bottom: 15px;
}

.credentials-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #444;
}

details {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    background: #f9fbfd;
}

summary {
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

summary:hover {
    color: #0b3c5d;
}

.certificate-img {
    margin-top: 15px;
    max-width: 100%;
    border: 1px solid #ccc;
}

.credentials-note {
    margin-top: 25px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

/* Header base */
.header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    position: relative;
}

/* Logo animation */
.animated-logo {
    width: 70px;
    animation: logoMove 1.8s ease forwards;
}

/* Start logo from center */
.animated-logo img {
    width: 70px;
}

/* Keyframes: center → original position */
@keyframes logoMove {
    0% {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(1.3);
        z-index: 9999;
    }
    70% {
        position: fixed;
        top: 20px;
        left: 20px;
        transform: translate(0, 0) scale(1);
    }
    100% {
        position: static;
        transform: scale(1);
    }
}

/* Typing effect text */
.header-text h1,
.header-text p {
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid transparent;
}
/* Intro overlay */
#introOverlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#introOverlay img {
    width: 120px;
    animation: logoZoom 1.5s ease;
}

/* Logo zoom */
@keyframes logoZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Hide main content initially */
#mainContent {
    filter: blur(8px);
    opacity: 0;
    transition: opacity 1s ease, filter 1s ease;
}

/* Reveal content */
#mainContent.reveal {
    filter: blur(0);
    opacity: 1;
}

/* Smooth logo placement */
.header .logo-box img {
    width: 70px;
}

/* Typing cursor look */
#brandName,
#tagline {
    white-space: nowrap;
}
.intro-content {
    text-align: center;
}

#introBrand {
    margin-top: 12px;
    font-size: 24px;
    letter-spacing: 1px;
    color: #0b3c5d;
    font-family: "Times New Roman", Times, serif;
    white-space: nowrap;
}
/* Scroll reveal base state */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* When revealed */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Dynamic scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Result box styling */
.result-box {
    margin-top: 20px;
    padding: 18px;
    border: 2px solid #0b3c5d;
    background: #f1f6fa;
    text-align: center;
    border-radius: 8px;
    font-family: "Times New Roman", Times, serif;
    animation: fadeInResult 0.6s ease;
}

.result-box span {
    display: block;
    margin-top: 8px;
    font-size: 26px;
    font-weight: bold;
    color: #0b3c5d;
}

/* Smooth entry animation */
@keyframes fadeInResult {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
#sipBarChart {
    margin-top: 30px;
    border: 1px solid #ccc;
    background: #fff;
}
.chart-wrapper {
    display: none;
    margin-top: 20px;
}
body {
    background: linear-gradient(
        -45deg,
        #f4f7fb,
        #5e97d0,
        #29649f,
        #051cad
    );
    background-size: 400% 400%;
    animation: gradientMove 18s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(#cfd8e3 1px, transparent 1px);
    background-size: 40px 40px;
    animation: dotsMove 30s linear infinite;
    z-index: -1;
}

@keyframes dotsMove {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}
section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
    border-radius: 6px;
    margin-bottom: 30px;
}
section {
    background: #ffffff;
    border-radius: 10px;
    padding: 40px;
    margin: 30px auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    max-width: 1100px;
}
section:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}
.calculator-box:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}
input {
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: "Times New Roman", Times, serif;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #0b3c5d;
    box-shadow: 0 0 0 3px rgba(11, 60, 93, 0.12);
}
button {
    background: #0b3c5d;
    color: #fff;
    border-radius: 6px;
    border: none;
    padding: 12px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
    background: #094062;
    transform: translateY(-2px);
}

button:active {
    transform: scale(0.98);
}
.result-box {
    background: linear-gradient(135deg, #f1f6fa, #ffffff);
    border-left: 5px solid #0b3c5d;
}
body * {
    animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==============================
   INTRO OVERLAY – MINIMAL THEME
============================== */
#introOverlay {
    position: fixed;
    inset: 0;
    background: #2a90d4; /* GroWise Funds theme blue */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* ==============================
   CENTER WHITE LOGO BOX
============================== */
.intro-card {
    background: #ffffff;
    padding: 46px 56px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 24px 48px rgba(0,0,0,0.18);
}

/* LOGO */
.intro-card img {
    width: 96px;
    margin-bottom: 14px;
}

/* BRAND NAME */
#introBrand {
    font-family: "Times New Roman", Times, serif;
    font-size: 26px;
    color: #0b3c5d;
    letter-spacing: 1px;
}
.calculator-box {
    max-width: 100%;
    box-sizing: border-box;
}
canvas {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 0;
}
/* =========================
   MOBILE RESPONSIVE FIX
========================= */
@media (max-width: 768px) {

    /* Stack everything vertically */
    section,
    .calculator-box {
        padding: 20px;
    }

    /* Remove side backgrounds on mobile */
    .side-bg,
    .background-panel {
        display: none;
    }

    /* Inputs full width */
    .calculator-box input,
    .calculator-box button {
        width: 100%;
        margin-bottom: 12px;
    }

    /* Charts fit screen */
    canvas {
        width: 100% !important;
        height: auto !important;
    }

    /* Reduce result box size */
    .result-box {
        font-size: 16px;
        padding: 14px;
    }
}
@media (min-width: 769px) {
    canvas {
        max-width: 650px;
    }
}
details.accordion-item {
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

details[open] .accordion-header {
    background: #124a73;
}
.accordion-item {
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.accordion-header {
    width: 100%;
    padding: 15px;
    background: #0b3c5d;
    color: #ffffff;
    border: none;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
}

.accordion-content {
    display: none;
    padding: 20px;
    background: #f1f6fa;
}

.accordion-item.active .accordion-content {
    display: block;
}
.accordion-content {
    display: none;
}

details[open] .accordion-content {
    display: block;
}

