/* ==========================================
KSR FINANCIAL GUIDANCE & CORPORATE ADVISORY
VERSION 3.0
========================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{

font-family:'Poppins',sans-serif;

background:#f5f8fc;

color:#333;

line-height:1.7;

}

.container{

width:90%;
max-width:1200px;
margin:auto;

}

/* =======================================
HEADER
======================================= */

header{

background:#0d2c54;

color:#fff;

position:sticky;

top:0;

z-index:1000;

box-shadow:0 3px 10px rgba(0,0,0,.15);

}

header .container{

display:flex;

justify-content:space-between;

align-items:center;

padding:18px 0;

}


.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:80px;
    width:auto;
    display:block;
}




nav ul{

display:flex;

list-style:none;

gap:28px;

}

nav a{

text-decoration:none;

color:white;

font-weight:500;

transition:.3s;

}

nav a:hover{

color:#d4af37;

}

/* =======================================
HERO
======================================= */

.hero{

padding:70px 0;

background:white;

}

.hero-grid{

display:grid;

grid-template-columns:1.2fr .8fr;

gap:50px;

align-items:center;

}

.hero h3{

color:#d4af37;

font-size:22px;

margin-bottom:15px;

}

.hero h1{

font-size:48px;

color:#0d2c54;

line-height:1.2;

margin-bottom:25px;

}

.hero-intro{

font-size:21px;

font-weight:600;

margin-bottom:20px;

}

.hero p{

margin-bottom:18px;

font-size:17px;

}

.hero-image{

text-align:center;

}

.hero-image img{

width:340px;

border-radius:20px;

box-shadow:0 15px 35px rgba(0,0,0,.20);

border:6px solid white;

}

/* =======================================
BUTTONS
======================================= */

.hero-buttons{

margin-top:35px;

display:flex;

gap:18px;

flex-wrap:wrap;

}

.btn-primary{

background:#0d2c54;

color:white;

padding:14px 28px;

border-radius:8px;

text-decoration:none;

font-weight:600;

transition:.3s;

}

.btn-primary:hover{

background:#15467d;

}

.btn-secondary{

background:#d4af37;

color:white;

padding:14px 28px;

border-radius:8px;

text-decoration:none;

font-weight:600;

transition:.3s;

}

.btn-secondary:hover{

background:#bf9723;

}

.btn-whatsapp{

background:#25D366;

color:white;

padding:14px 28px;

border-radius:8px;

text-decoration:none;

font-weight:600;

transition:.3s;

}

.btn-whatsapp:hover{

background:#169d49;

}

/* =======================================
COMMON SECTIONS
======================================= */

section{

padding:80px 0;

}

section h2{

text-align:center;

font-size:38px;

color:#0d2c54;

margin-bottom:25px;

}

.section-intro{

text-align:center;

max-width:900px;

margin:auto;

margin-bottom:50px;

font-size:18px;

}

.section-subtitle{

text-align:center;

margin-bottom:45px;

font-size:18px;

color:#555;

}

.quote{

font-size:28px;

text-align:center;

font-style:italic;

color:#0d2c54;

margin-bottom:30px;

font-weight:600;

}

.alternate{

background:white;

}

/* =======================================
SERVICE CARDS
======================================= */

.service-grid,
.knowledge-grid,
.approach-grid,
.consultation-grid,
.contact-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

gap:30px;

margin-top:40px;

}

.service-card,
.knowledge-card,
.consult-box,
.contact-grid div,
.step{

background:#ffffff;

padding:30px;

border-radius:15px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

transition:0.35s;

}

.service-card:hover,
.knowledge-card:hover,
.consult-box:hover,
.contact-grid div:hover,
.step:hover{

transform:translateY(-8px);

box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.service-card h3,
.knowledge-card h3,
.consult-box h3,
.contact-grid h3,
.step h3{

color:#0d2c54;

margin-bottom:15px;

font-size:22px;

}

.service-card p,
.knowledge-card p,
.consult-box p,
.contact-grid p,
.step p{

font-size:16px;

color:#555;

}

/* =======================================
INSURANCE
======================================= */

.insurance{

background:#eef4fb;

}

.insurance-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

gap:40px;

margin-top:45px;

}

.insurance-grid div{

background:white;

padding:35px;

border-radius:15px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.insurance-grid h3{

margin-bottom:20px;

color:#0d2c54;

}

.insurance-grid ul{

padding-left:20px;

line-height:2;

}

/* =======================================
APPROACH
======================================= */

.step-number{

width:55px;

height:55px;

background:#0d2c54;

color:white;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:22px;

font-weight:700;

margin-bottom:20px;

}

/* =======================================
CONTACT
======================================= */

.contact{

background:#ffffff;

}

.contact a{

text-decoration:none;

color:#0d2c54;

font-weight:600;

}

.contact a:hover{

color:#d4af37;

}

/* =======================================
FOOTER
======================================= */

footer{

background:#0d2c54;

color:white;

padding:50px 20px;

text-align:center;

}

footer h3{

font-size:28px;

margin-bottom:12px;

}

footer p{

margin:10px 0;

}

footer p:nth-child(2){

color:#d4af37;

font-weight:600;

}

/* =======================================
FLOATING WHATSAPP
======================================= */

.floating-whatsapp{

position:fixed;

right:25px;

bottom:25px;

width:65px;

height:65px;

background:#25D366;

color:white;

font-size:32px;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

text-decoration:none;

box-shadow:0 10px 20px rgba(0,0,0,.30);

transition:.3s;

z-index:999;

}

.floating-whatsapp:hover{

transform:scale(1.1);

background:#169d49;

}

/* =======================================
RESPONSIVE DESIGN
======================================= */

@media(max-width:900px){

header .container{

flex-direction:column;

}

nav ul{

flex-wrap:wrap;

justify-content:center;

gap:18px;

margin-top:20px;

}

.hero-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero-image{

margin-top:40px;

}

.hero-image img{

width:260px;

}

.hero h1{

font-size:36px;

}

.hero-intro{

font-size:19px;

}

section h2{

font-size:32px;

}

.hero-buttons{

justify-content:center;

}

}

@media(max-width:600px){

.hero{

padding:50px 0;

}

.hero h1{

font-size:30px;

}

.hero h3{

font-size:20px;

}

.hero p{

font-size:16px;

}


nav ul{

gap:12px;

}

.btn-primary,
.btn-secondary,
.btn-whatsapp{

width:100%;

text-align:center;

}

.floating-whatsapp{

width:58px;

height:58px;

font-size:28px;

right:15px;

bottom:15px;

}

}

/* Fade Animation */

.hidden{

opacity:0;

transform:translateY(40px);

transition:all .8s ease;

}

.show{

opacity:1;

transform:translateY(0);

}

nav a.active{

color:#d4af37;

font-weight:600;

}

/* ===== Professional Association ===== */

.professional-association{
    margin-top:30px;
    padding:22px;
    background:#f8fbff;
    border-left:4px solid #0d6efd;
    border-radius:8px;
}

.professional-association h3{
    margin-bottom:12px;
    color:#0d3b66;
    font-size:1.3rem;
}

.professional-association p{
    margin-bottom:12px;
    line-height:1.8;
    color:#444;



}

/* ==========================================
   FAQ SECTION
========================================== */

.faq-container{
    max-width:1000px;
    margin:40px auto 0;
}

.faq-item{
    background:#ffffff;
    padding:24px;
    margin-bottom:20px;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.faq-item h3{
    margin-bottom:12px;
    color:#1f3c88;
    font-size:1.15rem;
}

.faq-item p{
    margin:0;
    line-height:1.7;
}

/* Knowledge Centre Buttons */

.knowledge-card .btn-primary{

display:inline-block;

padding:12px 20px;

width:100%;

max-width:260px;

line-height:1.5;

text-align:center;

margin-top:15px;

}

.hero-location{
    font-size:18px;
    font-weight:600;
    margin-top:15px;
    color:#0d2c54 !important;
    letter-spacing:0.5px;
}

.contact-location{
    font-size:16px;
    font-weight:600;
    color:#0d2c54 !important;
}

/* Fix navigation scrolling under fixed header */

section {
    scroll-margin-top: 100px;
}