/* KOLEY FINANCIAL SERVICES (KFS) - MASTER STYLESHEET 
    Restyled to match brand identity: Navy Blue + Orange + White
*/

/* --- Variables & Reset --- */
:root {
    --bg-dark: #0a1628;
    --bg-navy: #0d2045;
    --bg-vibrant: #003580;
    --orange: #E85D04;
    --orange-muted: #cc5200;
    --orange-light: #ff7a1a;
    --white: #ffffff;
    --text-gray: #c8d6e8;
    --success-green: #2ecc71;

    /* Legacy aliases so existing references don't break visually */
    --gold: #E85D04;
    --gold-muted: #cc5200;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

body { 
    background-color: var(--bg-dark); 
    color: var(--white); 
    line-height: 1.6; 
    overflow-x: hidden;
}

/* --- Navigation Header --- */
#main-header {
    background-color: #ffffff;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--orange);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.logo { display: flex; align-items: center; }
.logo img { height: 50px; }

nav ul { list-style: none; display: flex; align-items: center; gap: 10px; }
nav ul li { position: relative; padding: 10px 15px; }
nav ul li a { color: #003580; text-decoration: none; font-weight: 600; transition: 0.3s; }
nav ul li a:hover { color: var(--orange); }

/* Active Link Highlighting */
nav ul li a.active {
    color: var(--orange) !important;
    border-bottom: 2px solid var(--orange);
    padding-bottom: 5px;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 250px;
    border-top: 3px solid var(--orange);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.2);
}

nav ul li:hover .dropdown-menu { display: block; }

.dropdown-menu li a { 
    display: block; 
    padding: 12px 20px; 
    font-size: 14px; 
    color: #003580 !important;
    border-bottom: 1px solid rgba(0,53,128,0.08); 
}

.dropdown-menu li a.active {
    border-bottom: none;
    background-color: rgba(232, 93, 4, 0.1);
    color: var(--orange) !important;
}

.dropdown-menu li a:hover { 
    background-color: var(--orange); 
    color: #ffffff !important; 
}

/* --- Buttons & Utilities --- */
.login-btn { 
    background-color: var(--orange); 
    color: #ffffff !important; 
    padding: 8px 20px; 
    border-radius: 5px; 
    font-weight: bold; 
    transition: 0.3s; 
}

.login-btn:hover { background-color: var(--orange-muted); transform: scale(1.05); }

.calc-btn, .pricing-btn { 
    background: var(--orange); 
    color: #ffffff; 
    border: none; 
    padding: 15px; 
    width: 100%; 
    font-weight: bold; 
    cursor: pointer; 
    border-radius: 5px; 
    text-decoration: none;
    display: block;
    text-align: center;
    transition: 0.3s;
}

.pricing-btn.solid { background: var(--orange); color: #ffffff; border: none; }
.pricing-btn.outline { background: transparent; border: 2px solid var(--orange); color: var(--orange); }

.calc-btn:hover, .pricing-btn:hover { 
    background: var(--orange-muted); 
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(232, 93, 4, 0.3);
}

.result-value.profit { color: var(--success-green); }

/* --- Layout Sections --- */
.content-area { padding: 60px 10%; text-align: center; min-height: 80vh; }
h1 { color: var(--orange); margin-bottom: 20px; font-size: 2.5rem; }
.subtitle { color: var(--text-gray); margin-bottom: 40px; font-size: 1.1rem; }

/* Hero Section */
.hero-section {
    height: 85vh;
    background: linear-gradient(135deg, #003580 0%, #0a1628 60%, #1a0a00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    border-bottom: 3px solid var(--orange);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--orange-light);
    margin-bottom: 45px;
    font-style: italic;
}

.hero-btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* --- Cards & Grids --- */
.about-card, .price-card, .blog-card, .calc-container {
    background: var(--bg-navy);
    border: 1px solid rgba(232, 93, 4, 0.4);
    border-radius: 12px;
    padding: 30px;
    transition: 0.3s;
}

.blog-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
}

.price-card:hover, .blog-card:hover { 
    transform: translateY(-10px); 
    background: #0f2d5a; 
    box-shadow: 0 10px 25px rgba(232, 93, 4, 0.25);
    border-color: var(--orange);
}

/* --- Card Headings & Cost Badge --- */
.price-card h2 { color: var(--white); margin-bottom: 8px; }
.price-card .cost {
    background: var(--orange);
    color: #ffffff;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Blog Tag */
.blog-tag {
    background: var(--orange);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

/* Read More Link */
.read-more {
    color: var(--orange-light);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.read-more:hover { color: #ffffff; }

/* --- About / Info Sections --- */
.about-wrapper { max-width: 1000px; margin: 0 auto; }

.about-text h2, .values-section h2 { color: var(--orange); margin-bottom: 15px; }
.about-text p, .values-section p { color: var(--text-gray); }

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    background: var(--bg-navy);
    border: 1px solid rgba(232, 93, 4, 0.4);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
}

.info-card h3 { color: var(--orange); margin-bottom: 10px; }
.info-card p { color: var(--text-gray); }

/* Owner / Award flex sections */
.award-flex, .owner-flex {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.award-text, .owner-text { flex: 1; text-align: left; }
.award-image img, .owner-image img {
    max-width: 220px;
    border-radius: 10px;
    border: 2px solid var(--orange);
}

.owner-text h2 { color: var(--white); }
.owner-text p { color: var(--text-gray); margin-bottom: 12px; }
.owner-quote {
    font-style: italic;
    color: var(--orange-light);
    border-left: 3px solid var(--orange);
    padding-left: 12px;
    margin: 15px 0;
}

/* --- Calculator Sections --- */
.calc-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin: 30px auto;
}

.input-section, .result-section {
    flex: 1;
    min-width: 280px;
    background: var(--bg-navy);
    border: 1px solid rgba(232, 93, 4, 0.4);
    border-radius: 12px;
    padding: 30px;
}

.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; color: var(--orange-light); margin-bottom: 8px; font-weight: 500; }
.input-group input {
    width: 100%;
    padding: 12px;
    background: #060f1e;
    border: 1px solid rgba(232, 93, 4, 0.4);
    color: white;
    border-radius: 6px;
    font-size: 1rem;
}
.input-group input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 2px rgba(232, 93, 4, 0.2);
}

.result-item { margin-bottom: 20px; text-align: center; }
.result-label { display: block; color: var(--text-gray); margin-bottom: 6px; font-size: 0.95rem; }
.result-value { font-size: 2rem; color: var(--orange-light); font-weight: bold; display: block; }

.disclaimer {
    color: #7a90b0;
    font-size: 0.8rem;
    margin-top: 15px;
    font-style: italic;
}

/* --- Partners Section --- */
.partners-section { padding: 80px 0 40px; border-top: 1px solid rgba(232, 93, 4, 0.2); }
.section-title { color: var(--orange); font-size: 2rem; margin-bottom: 10px; }

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: grayscale(100%) brightness(150%);
    transition: 0.3s;
}

.partner-logo:hover { filter: grayscale(0%) brightness(100%); transform: translateY(-5px); }
.partner-logo img { max-width: 120px; height: 50px; object-fit: contain; }
.partner-logo span { color: var(--text-gray); font-size: 0.8rem; margin-top: 8px; }

/* --- Footer --- */
footer {
    background-color: #003580;
    padding: 40px 10%;
    border-top: 3px solid var(--orange);
    margin-top: 60px;
}

footer a { color: var(--orange-light); }
footer p { color: var(--text-gray); }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.whatsapp-float:hover { transform: scale(1.1); }

/* --- Pricing Page Refinements --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    justify-content: center;
}

.price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 450px;
}

.pricing-features {
    list-style: none;
    margin: 25px 0;
    padding: 0;
    text-align: left;
    width: 100%;
}

.pricing-features li {
    color: var(--text-gray);
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 5px;
    color: var(--orange);
    font-weight: bold;
}

.price-card .pricing-btn {
    margin-top: auto;
}

/* --- Values Section --- */
.values-section {
    margin-top: 50px;
    padding: 30px;
    background: var(--bg-navy);
    border-radius: 12px;
    border: 1px solid rgba(232, 93, 4, 0.3);
}

/* --- Contact Page --- */
.contact-info h2, .contact-form h2 { color: var(--orange); }
.contact-link { color: var(--white); text-decoration: none; display: block; margin: 15px 0; font-size: 18px; }
.contact-link:hover { color: var(--orange-light); }

/* --- Responsive Layout (Mobile Fixes) --- */
@media (max-width: 992px) {
    .menu-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
    .menu-toggle .bar { width: 25px; height: 3px; background-color: var(--orange); }

    #nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 3px solid var(--orange);
    }

    #nav-list.active { display: flex; }
    nav ul { flex-direction: column; width: 100%; gap: 0; }
    nav ul li { width: 100%; text-align: center; }
    .dropdown-menu { position: static; width: 100%; box-shadow: none; }
}

@media (max-width: 768px) {
    .award-flex, .owner-flex { flex-direction: column; text-align: center; }
    .hero-section { height: 70vh; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-container { padding: 20px; }
}

@media (min-width: 993px) {
    #nav-list { display: block !important; }
    .menu-toggle { display: none; }
}
