/* ===============================
   FINJOY FINANCE BRAND SYSTEM
================================ */

:root {
    --navy: #111E38;
    --gold: #D4A64A;
    --offwhite: #F7F6F5;
}

/* ===============================
   GLOBAL RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background-color: var(--offwhite);
    color: var(--navy);
    line-height: 1.6;
}

section {
    padding: 80px 8%;
}

/* ===============================
   NAVIGATION
================================ */

nav {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--offwhite);
}

.logo span {
    color: var(--gold);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--offwhite);
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--gold);
}

/* ===============================
   HERO SECTION
================================ */

.hero {
    background: var(--navy);
    color: var(--offwhite);
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero span {
    color: var(--gold);
}

.hero p {
    max-width: 650px;
    margin: auto;
    opacity: 0.9;
}

/* ===============================
   BUTTONS
================================ */

.hero-buttons {
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    margin: 10px;
    display: inline-block;
    font-weight: 600;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
}

.btn-secondary {
    border: 2px solid var(--offwhite);
    color: var(--offwhite);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* ===============================
   STATS
================================ */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 20px;
    margin-top: 60px;
}

.stat-card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 10px;
}

.stat-card h3 {
    color: var(--gold);
}

/* ===============================
   SECTION HEADER
================================ */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 34px;
}

.section-header p {
    opacity: 0.7;
}

/* ===============================
   FEATURES
================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(17,30,56,0.08);
}

.feature-icon {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 10px;
}

/* ===============================
   SERVICES
================================ */

.light-bg {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(17,30,56,0.08);
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-icon {
    font-size: 26px;
    color: var(--gold);
}

.service-card ul {
    margin-top: 15px;
    padding-left: 18px;
}

/* =========================
   MODERN SIP CALCULATOR
=========================*/

.calculator-section{
background:#16284a;
color:#F7F6F5;
text-align:center;
padding:80px 5%;
}

.calc-wrapper h2{
font-size:34px;
margin-bottom:10px;
}

.calc-card{
margin-top:40px;
background:#111E38;
border-radius:14px;
padding:40px;
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
box-shadow:0 0 30px rgba(0,0,0,0.3);
}

/* INPUTS */

.input-box{
margin-bottom:30px;
text-align:left;
}

.input-box label{
display:block;
margin-bottom:8px;
}

.input-box span{
background:#D4A64A;
color:#111E38;
padding:6px 14px;
border-radius:6px;
font-weight:600;
float:right;
}

input[type="range"]{
width:100%;
accent-color:#D4A64A;
}

/* RESULTS */

.result-grid{
display:flex;
gap:15px;
margin-bottom:30px;
}

.result{
flex:1;
background:#1c2f55;
padding:18px;
border-radius:8px;
}

.result h3{
color:#D4A64A;
}

.highlight{
border:2px solid #D4A64A;
}

/* CHART */

.chart-box{
background:#F7F6F5;
border-radius:10px;
padding:20px;
}

/* MOBILE */

@media(max-width:900px){
.calc-card{
grid-template-columns:1fr;
}
}

/* ===============================
   TESTIMONIALS
================================ */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 25px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(17,30,56,0.08);
}

.stars {
    color: var(--gold);
    margin-bottom: 10px;
}

.author-avatar {
    background: var(--navy);
    color: var(--offwhite);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* ===============================
   CONTACT
================================ */

#contact {
    background: var(--navy);
    color: var(--offwhite);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    color: var(--gold);
}

/* ===============================
   FORM
================================ */

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 6px;
    border: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--gold);
}

.btn-submit {
    margin-top: 15px;
    background: var(--gold);
    color: var(--navy);
    padding: 12px;
    border: none;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
}

/* ===============================
   SOCIAL ICONS
================================ */

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--offwhite);
}

.social-icon:hover {
    color: var(--gold);
}

/* ===============================
   MOBILE
================================ */

@media(max-width:768px){

.hero h1{
    font-size:28px;
}

nav ul{
    display:none;
}

section{
    padding:60px 5%;
}

}
/* ===============================
SIP CALCULATOR FIX
================================ */

.calculator-container{
background:#111E38;
padding:40px;
border-radius:12px;
max-width:1100px;
margin:auto;
color:#F7F6F5;
}

.calculator-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

/* INPUTS */

.calculator-inputs .input-group{
margin-bottom:30px;
}

.input-group label{
display:flex;
justify-content:space-between;
margin-bottom:8px;
}

.input-value{
background:#D4A64A;
color:#111E38;
padding:4px 12px;
border-radius:6px;
font-weight:600;
}

input[type="range"]{
width:100%;
accent-color:#D4A64A;
}

.range-labels{
display:flex;
justify-content:space-between;
font-size:12px;
opacity:.7;
}

/* RESULTS */

.results-boxes{
display:flex;
gap:15px;
margin-bottom:30px;
}

.result-box{
flex:1;
background:#1c2f55;
padding:18px;
border-radius:8px;
}

.result-box label{
font-size:13px;
opacity:.7;
}

.result-box .value{
font-size:20px;
font-weight:600;
color:#D4A64A;
}

.result-box.highlight{
border:2px solid #D4A64A;
}

/* CHART */

.chart-container{
display:flex;
gap:20px;
align-items:center;
background:#F7F6F5;
color:#111E38;
padding:20px;
border-radius:10px;
}

.legend-item{
display:flex;
gap:10px;
margin-bottom:10px;
}

.legend-color{
width:12px;
height:12px;
border-radius:3px;
}

/* MOBILE */

@media(max-width:900px){

.calculator-grid{
grid-template-columns:1fr;
}

.results-boxes{
flex-direction:column;
}

.chart-container{
flex-direction:column;
text-align:center;
}

}

/* ===============================
HAMBURGER MENU
================================ */

.hamburger{
display:none;
flex-direction:column;
cursor:pointer;
gap:5px;
}

.hamburger span{
width:25px;
height:3px;
background:#F7F6F5;
border-radius:3px;
transition:0.3s;
}

/* MOBILE NAV */

@media(max-width:768px){

.hamburger{
display:flex;
}

nav ul{
display:none;
flex-direction:column;
position:absolute;
top:60px;
right:20px;
background:#111E38;
padding:20px;
border-radius:10px;
gap:15px;
}

nav ul.show{
display:flex;
}

}
/* Footer */

.site-footer{
background:#111E38;
color:#F7F6F5;
text-align:center;
padding:20px 10px;
font-size:14px;
margin-top:40px;
}

.site-footer p{
opacity:0.8;
}