:root {
    --navy: #102c49;
    --dark: #091e34;
    --orange: #f16a35;
    --light: #f5f8fc;
    --white: #ffffff;
    --text: #596779;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */

.topbar {
    background: var(--dark);
    color: white;
    font-size: 13px;
    padding: 9px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
}

.navbar {
    min-height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 20px rgba(0,0,0,.06);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    color: var(--navy);
}

.brand-icon {
    background: var(--orange);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 14px;
    font-weight: 600;
}

.nav-menu a:hover {
    color: var(--orange);
}

.nav-menu .nav-contact {
    background: var(--orange);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 28px;
    cursor: pointer;
}

/* Hero */

.hero-section {
    background: linear-gradient(115deg, #f5f8fc, #ffffff);
    padding: 65px 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(35px, 4.2vw, 55px);
    line-height: 1.2;
    margin: 22px 0;
    color: var(--navy);
}

.hero-content h1 span,
.about-content h2 span {
    color: var(--orange);
}

.hero-content p {
    color: var(--text);
    font-size: 16px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-outline,
.btn-light {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}

.btn-primary {
    background: var(--orange);
    color: white;
}

.btn-outline {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.hero-contact {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    color: var(--navy);
    font-size: 13px;
    flex-wrap: wrap;
}

/* Hero visual */

.hero-visual {
    position: relative;
    padding: 30px;
}

.hero-card {
    background: linear-gradient(145deg, #102c49, #071a30);
    color: white;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(16,44,73,.2);
    text-align: center;
}

.hero-card-top {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
}

.hero-check {
    background: var(--orange);
    border-radius: 50%;
    padding: 5px 12px;
}

.finance-icon {
    font-size: 90px;
    color: #ffb13b;
    margin: 30px 0 10px;
}

.hero-card h2 {
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
}

.hero-card p {
    color: #d4e0ed;
    margin: 12px 0;
}

.finance-bars {
    height: 100px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.finance-bars span {
    background: var(--orange);
    width: 35px;
    border-radius: 5px 5px 0 0;
}

.finance-bars span:nth-child(1) { height: 35%; }
.finance-bars span:nth-child(2) { height: 60%; }
.finance-bars span:nth-child(3) { height: 80%; }
.finance-bars span:nth-child(4) { height: 55%; }
.finance-bars span:nth-child(5) { height: 100%; }

.finance-card-bottom {
    margin-top: 25px;
    font-size: 11px;
    letter-spacing: 1px;
}

.floating-box {
    position: absolute;
    bottom: 0;
    left: 0;
    background: white;
    padding: 17px 22px;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(0,0,0,.1);
}

.floating-box strong,
.floating-box small {
    display: block;
}

.floating-box small {
    color: var(--text);
}

/* Common sections */

.section-padding {
    padding: 60px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading h2,
.about-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    color: var(--navy);
    margin: 12px 0;
}

.section-heading p {
    color: var(--text);
}

/* Services */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    padding: 30px;
    border: 1px solid #edf0f4;
    border-radius: 10px;
    transition: .3s;
    background: white;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    border-color: var(--orange);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--navy);
    font-size: 19px;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 20px;
}

.service-card a {
    color: var(--orange);
    font-weight: 700;
    font-size: 14px;
}

/* About */

.about-section {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-visual {
    background: linear-gradient(140deg, #102c49, #f16a35);
    padding: 35px;
    border-radius: 15px;
}

.about-box {
    background: white;
    padding: 55px 30px;
    text-align: center;
    border-radius: 10px;
}

.about-box span {
    color: var(--orange);
    font-weight: 800;
}

.about-box h2 {
    color: var(--navy);
    font-size: 28px;
    margin-top: 20px;
}

.about-symbol {
    font-size: 80px;
    color: var(--orange);
    font-weight: 800;
}

.about-content p {
    color: var(--text);
    margin-bottom: 18px;
}

/* Why choose us */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--light);
    padding: 25px;
    border-radius: 8px;
}

.why-card span {
    font-size: 30px;
    font-weight: 800;
    color: var(--orange);
}

.why-card h3 {
    color: var(--navy);
    font-size: 17px;
    margin: 10px 0;
}

.why-card p {
    color: var(--text);
    font-size: 13px;
}

/* CTA */

.cta-section {
    background: var(--navy);
    padding: 55px 0;
    text-align: center;
    color: white;
}

.cta-content > span {
    color: #ffb13b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 35px;
    margin: 15px 0;
}

.cta-content p {
    color: #d2dce7;
    margin-bottom: 25px;
}

.btn-light {
    background: white;
    color: var(--navy);
}

/* Footer */

.site-footer {
    background: #071a30;
    color: white;
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer-grid h3 {
    margin-bottom: 18px;
    font-size: 17px;
}

.footer-grid p {
    color: #b9c7d6;
    font-size: 13px;
    margin-bottom: 15px;
}

.footer-grid a {
    display: block;
    color: #b9c7d6;
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-grid a:hover {
    color: var(--orange);
}

.footer-about h2 {
    color: white;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid #263c52;
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #b9c7d6;
}

/* Responsive */

@media(max-width: 991px) {

    .nav-menu {
        gap: 15px;
    }

    .hero-grid,
    .about-grid {
        gap: 30px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {

    .topbar-inner {
        flex-direction: column;
        text-align: center;
    }

    .navbar {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        padding: 20px 5%;
        box-shadow: 0 10px 20px rgba(0,0,0,.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-section {
        padding: 55px 0;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .hero-visual {
        padding: 15px 5px 35px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 27px;
    }
}

@media(max-width: 520px) {

    .services-grid,
    .why-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-contact {
        flex-direction: column;
        gap: 8px;
    }

    .brand {
        font-size: 17px;
    }

    .brand small {
        font-size: 7px;
    }

    .section-padding {
        padding: 60px 0;
    }

}

/* =========================================
   MOBILE RESPONSIVE FIX
========================================= */

@media (max-width: 768px) {

    * {
        box-sizing: border-box;
    }

    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Topbar */

    .topbar-inner {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        padding: 10px 0;
    }

    /* Navbar */

    .navbar {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .brand {
        max-width: calc(100% - 45px);
    }

    .brand small {
        font-size: 8px;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    /* Mobile Navigation */

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 15px 15px;
        z-index: 999;
        box-shadow: 0 10px 20px rgba(0,0,0,0.10);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .nav-menu .nav-contact {
        width: 100%;
        text-align: center;
        margin-top: 8px;
        padding: 12px;
    }

    /* Hero Section */

    .hero-section {
        padding: 45px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
    }

    .hero-card {
        width: 100%;
        max-width: 100%;
    }

    /* Buttons */

    .hero-content .btn {
        margin-bottom: 10px;
    }

    /* Other Sections */

    .services-grid,
    .why-grid,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

}
.developer-credit {
    margin-top: 8px;
    font-size: 13px;
    color: #d5e0eb;
    text-align: center;
}

.developer-credit strong {
    color: #ffab2e;
    font-weight: 700;
}

.developer-credit {
    margin-top: 8px;
    font-size: 13px;
    color: #d5e0eb;
}

.developer-credit a {
    color: #ff8a57;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.developer-credit a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Home Service Cards - Fully Clickable */

.services-grid .service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.services-grid .service-card h3,
.services-grid .service-card p {
    color: var(--navy);
}

.services-grid .service-card .service-know-more {
    display: inline-block;
    color: var(--orange);
    font-weight: 700;
    margin-top: 12px;
    transition: 0.3s;
}

.services-grid .service-card:hover .service-know-more {
    transform: translateX(5px);
}

.services-grid .service-card:hover {
    transform: translateY(-5px);
}
/* Get Consultation Button - Text Visibility Fix */

.nav-menu .nav-contact,
.nav-menu .nav-contact:visited,
.nav-menu .nav-contact:hover,
.nav-menu .nav-contact:focus,
.nav-menu .nav-contact:active {
    background: var(--orange);
    color: #ffffff !important;
    text-decoration: none;
    opacity: 1;
}

.nav-menu .nav-contact:hover {
    background: var(--navy);
    color: #ffffff !important;
}

/* =====================================================
   CONSULTANTS SECTION
===================================================== */

.consultants-section {
    background: #f5f8fc;
    padding: 65px 0;
}

.consultants-section .section-heading {
    margin-bottom: 40px;
}

.consultants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.consultant-card {
    background: #ffffff;
    padding: 30px 20px;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.consultant-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.consultant-card:hover::before {
    transform: scaleX(1);
}

.consultant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(16, 44, 73, 0.10);
    border-color: transparent;
}

.consultant-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), #244d73);
    color: #ffffff;
    font-size: 30px;
    font-weight: 800;
    transition: all 0.35s ease;
}

.consultant-card:hover .consultant-icon {
    background: var(--orange);
    transform: rotateY(180deg);
}

.consultant-card h3 {
    color: var(--navy);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.consultant-card p {
    color: var(--text);
    font-size: 13px;
    margin: 0;
}


/* =====================================================
   HOME PAGE ANIMATIONS
===================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floatingAnimation {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}


/* Hero Animation */

.hero-content {
    animation: fadeInLeft 0.9s ease both;
}

.hero-visual {
    animation: fadeInRight 0.9s ease both;
}

.floating-box {
    animation: floatingAnimation 3s ease-in-out infinite;
}


/* Service Cards */

.service-card {
    animation: fadeInUp 0.7s ease both;
}

.service-card:nth-child(2) {
    animation-delay: 0.15s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}


/* Why Choose Cards */

.why-card {
    transition: all 0.35s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(16, 44, 73, 0.08);
}


/* Consultant Cards */

.consultant-card {
    animation: fadeInUp 0.7s ease both;
}

.consultant-card:nth-child(2) {
    animation-delay: 0.1s;
}

.consultant-card:nth-child(3) {
    animation-delay: 0.2s;
}

.consultant-card:nth-child(4) {
    animation-delay: 0.3s;
}


/* Buttons */

.btn-primary,
.btn-outline,
.btn-light {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16, 44, 73, 0.15);
}

.btn-outline:hover {
    background: var(--navy);
    color: #ffffff;
    transform: translateY(-3px);
}

.btn-light:hover {
    background: var(--orange);
    color: #ffffff;
    transform: translateY(-3px);
}


/* =====================================================
   CONSULTANTS RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .consultants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

}

@media (max-width: 520px) {

    .consultants-section {
        padding: 50px 0;
    }

    .consultants-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .consultant-card {
        padding: 25px 18px;
    }

    .consultant-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

}


/* Accessibility: Reduced Motion */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}

/* Consultant Profile Images */

.consultant-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f5f8fc;
    box-shadow: 0 5px 18px rgba(16, 44, 73, 0.12);
    transition: all 0.35s ease;
}

.consultant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
}

.consultant-card:hover .consultant-image {
    border-color: var(--orange);
    transform: translateY(-4px);
}

.consultant-card:hover .consultant-image img {
    transform: scale(1.08);
}

/* Consultant Card */

.consultant-card {
    text-align: center;
    padding: 30px 20px;
}

.consultant-card h3 {
    margin-bottom: 6px;
    font-size: 17px;
}

.consultant-card p {
    font-size: 13px;
    color: var(--text);
}

@media(max-width: 520px) {
    .consultant-image {
        width: 90px;
        height: 90px;
    }
}

/* =========================================
   CONSULTANT PROFILE IMAGE FIX
========================================= */

.consultant-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f8fc;
    border: 4px solid #ffffff;
    box-shadow: 0 5px 20px rgba(16, 44, 73, 0.12);
}

.consultant-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
}

/* Remove old initials styling */

.consultant-icon {
    display: none !important;
}

.consultant-card {
    text-align: center;
}

@media(max-width: 520px) {
    .consultant-image {
        width: 105px;
        height: 105px;
    }
}




/* =========================================
   FOOTER LOGO - SAME AS HEADER
========================================= */

.footer-brand {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: auto;
    max-width: 100%;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-brand-icon {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex-shrink: 0 !important;
    background: #ff642d;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    font-weight: 700;
}

.footer-brand-text {
    display: block !important;
    flex-direction: unset !important;
    white-space: nowrap !important;
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.footer-brand-text strong {
    font-weight: 900;
}

.footer-brand-text small {
    display: block !important;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 5px;
    color: #d7e1ed;
    white-space: nowrap;
}

.footer-brand:hover {
    text-decoration: none;
}

@media (max-width: 576px) {

    .footer-brand-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        font-size: 26px;
    }

    .footer-brand-text {
        font-size: 19px;
    }

    .footer-brand-text small {
        font-size: 7px;
    }

}


/* =========================================
   HEADER LOGO - INDEPENDENT STYLING
========================================= */

.header-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    width: auto;
    max-width: 100%;
    text-decoration: none;
    flex-shrink: 0;
}

.header-brand-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    flex-shrink: 0;

    background: var(--orange);
    color: #ffffff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 29px;
    font-weight: 700;
}

.header-brand-text {
    display: block;
    color: var(--navy);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.header-brand-text strong {
    font-weight: 900;
    color: var(--orange);
}

.header-brand-text small {
    display: block;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--text);
    white-space: nowrap;
}

.header-brand:hover {
    text-decoration: none;
}

@media (max-width: 576px) {

    .header-brand-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 26px;
    }

    .header-brand-text {
        font-size: 19px;
    }

    .header-brand-text small {
        font-size: 7px;
    }

}