/* 
   FinCore Advisory - Custom Stylesheet
   Design Scheme: Corporate Premium Finance & Accounting
   Primary Color: #0F4C81 (Classic Trust Blue)
   Secondary Color: #10B981 (Growth Emerald Green)
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary-blue: #0F4C81;
    --secondary-green: #10B981;
    --secondary-blue: #3B82F6;
    --primary-dark: #0F172A;
    --secondary-dark: #1E293B;
    --light-grey: #F8FAFC;
    --border-color: #E2E8F0;
    --text-muted: #64748B;
    --text-dark: #334155;
    --text-white: #ffffff;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow-premium: 0 10px 30px rgba(15, 76, 129, 0.06);
    --box-shadow-hover: 0 20px 40px rgba(15, 76, 129, 0.12);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--secondary-green);
}

/* Primary/Secondary Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 6px;
    color: white;
    transition: var(--transition-smooth);
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 6px;
    color: white;
    transition: var(--transition-smooth);
}
.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 76, 129, 0.4);
}

.btn-outline-light {
    border-width: 2px;
    border-color: #ffffff;
    font-weight: 600;
    padding: 12px 28px;
    color: white;
    border-radius: 6px;
    transition: var(--transition-smooth);
}
.btn-outline-light:hover {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-width: 2px;
    border-color: var(--primary-blue);
    font-weight: 600;
    padding: 12px 28px;
    color: var(--primary-blue);
    border-radius: 6px;
    transition: var(--transition-smooth);
}
.btn-outline-primary:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Preloader styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.preloader-logo-container {
    text-align: center;
}
.preloader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-grey);
    border-top: 5px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}
.preloader-text {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.2rem;
    letter-spacing: 1px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Top Contact Bar */
.top-bar {
    background-color: var(--primary-dark);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar a {
    color: rgba(255, 255, 255, 0.8);
}
.top-bar a:hover {
    color: var(--secondary-green);
}

/* Sticky Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}
.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-blue) !important;
}
.navbar-brand span {
    color: var(--secondary-green);
}
.navbar-toggler {
    border: 2px solid var(--primary-blue);
    padding: 6px 10px;
    border-radius: 4px;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.25);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230F4C81' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--primary-dark);
    padding: 20px 15px !important;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-blue);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--secondary-green);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    padding: 160px 0 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.75) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    color: #ffffff;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    max-width: 750px;
}

/* Statistics Section */
.stats-section {
    margin-top: -50px;
    position: relative;
    z-index: 3;
}
.stat-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow-premium);
    border-bottom: 4px solid var(--primary-blue);
    transition: var(--transition-smooth);
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-bottom: 4px solid var(--secondary-green);
}
.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 5px;
}
.stat-card .stat-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .sub-title {
    color: var(--secondary-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}
.section-header .title {
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}
.section-header .title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-blue);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Service Cards */
.service-card {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
    height: 100%;
    border: 1px solid rgba(15, 76, 129, 0.05);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}
.service-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: var(--primary-blue);
}
.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}
.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
    opacity: 0.7;
}
.service-icon {
    position: absolute;
    top: 192px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-green) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 5;
}
.service-content {
    padding: 40px 25px 25px 25px;
}
.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--light-grey);
    padding: 100px 0;
}
.feature-box {
    display: flex;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition-smooth);
}
.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-premium);
}
.feature-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background-color: rgba(15, 76, 129, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-right: 20px;
    transition: var(--transition-smooth);
}
.feature-box:hover .feature-icon {
    background-color: var(--primary-blue);
    color: white;
}
.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Interactive Calculator Styling */
.calculator-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(15, 76, 129, 0.05);
}
.calc-option {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    margin-bottom: 15px;
}
.calc-option:hover {
    border-color: var(--primary-blue);
    background-color: rgba(15, 76, 129, 0.02);
}
.calc-option.selected {
    border-color: var(--secondary-green);
    background-color: rgba(16, 185, 129, 0.05);
}
.calc-option i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: block;
}
.calc-option.selected i {
    color: var(--secondary-green);
}
.calc-option-title {
    font-weight: 600;
    font-size: 0.95rem;
}
.calc-result {
    background-color: var(--light-grey);
    border-radius: 8px;
    padding: 25px;
    margin-top: 25px;
    border-left: 5px solid var(--secondary-green);
    display: none;
}
.calc-result-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}
.calc-result-list {
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* About Company Mission / Vision Tab Design */
.nav-pills {
    border-bottom: 1px solid var(--border-color);
}
.nav-pills .nav-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    border-radius: 0;
    padding: 10px 20px;
    margin-right: 10px;
    position: relative;
}
.nav-pills .nav-link.active {
    background: none;
    color: var(--primary-blue);
}
.nav-pills .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-blue);
}

/* Sub-page Header Banner */
.page-banner {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 110px 0;
    color: white;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
}
.page-banner-content {
    position: relative;
    z-index: 2;
}
.page-banner-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}
.breadcrumb {
    margin-bottom: 0;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-item a:hover {
    color: var(--secondary-green);
}
.breadcrumb-item.active {
    color: var(--secondary-green);
}

/* Form Styles */
.form-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(15, 76, 129, 0.05);
}
.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.88rem;
    margin-bottom: 6px;
}
.form-control, .form-select {
    padding: 12px 18px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}
.form-control:focus, .form-select:focus {
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Detailed Service Page Styles */
.service-detail-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}
.service-detail-section:last-child {
    border-bottom: none;
}
.service-detail-section:nth-child(even) {
    background-color: var(--light-grey);
}
.service-check-list {
    list-style: none;
    padding-left: 0;
}
.service-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.service-check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-green);
    font-size: 0.95rem;
}
.importance-box {
    background-color: rgba(15, 76, 129, 0.05);
    border-left: 4px solid var(--primary-blue);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
}
.importance-box h5 {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.importance-box p {
    font-size: 0.88rem;
    margin-bottom: 0;
    color: var(--text-dark);
}

/* Footer Section */
.footer-section {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
}
.footer-widget-title {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: var(--secondary-green);
}
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}
.footer-links a i {
    font-size: 0.75rem;
    margin-right: 8px;
    color: var(--secondary-green);
    transition: var(--transition-smooth);
}
.footer-links a:hover {
    color: var(--secondary-green);
    padding-left: 5px;
}
.footer-links a:hover i {
    color: white;
}
.footer-social-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 8px;
    transition: var(--transition-smooth);
}
.footer-social-links a:hover {
    background-color: var(--secondary-green);
    transform: translateY(-3px);
    color: white;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    padding-top: 30px;
    font-size: 0.85rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1) rotate(10deg);
}

/* Chat Trigger Button */
.chat-trigger-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.chat-trigger-btn:hover {
    background-color: var(--secondary-green);
    transform: scale(1.1);
    color: white;
}

/* Chat Box Card */
.chat-box-card {
    position: fixed;
    bottom: 170px;
    right: 30px;
    z-index: 1001;
    width: 320px;
    display: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(15, 76, 129, 0.1);
}

/* Map Container */
.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    border: 1px solid rgba(15, 76, 129, 0.05);
}

/* Value Cards About Page */
.value-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow-premium);
    height: 100%;
    border-top: 4px solid var(--primary-blue);
    transition: var(--transition-smooth);
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-top-color: var(--secondary-green);
}
.value-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}
.value-card:hover .value-icon {
    color: var(--secondary-green);
}
.value-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.value-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
    }
    .navbar-nav .nav-link::after {
        bottom: 5px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .stats-section {
        margin-top: 0;
        padding-top: 40px;
    }
    .why-choose-us-section {
        padding: 60px 0;
    }
}

/* Testimonials Section Styling */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    box-shadow: var(--box-shadow-premium);
    height: 100%;
    border: 1px solid rgba(15, 76, 129, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(16, 185, 129, 0.15);
}
.testimonial-rating {
    margin-bottom: 20px;
}
.testimonial-rating i {
    color: #FFB100;
    font-size: 0.95rem;
    margin-right: 2px;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
    flex-grow: 1;
}
.testimonial-author {
    margin-top: 15px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}
.author-img-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--secondary-green);
}
.author-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-info .author-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--primary-dark);
}
.author-info .author-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

