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


body {
font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
line-height: 1.6;
color: #000;
position: relative;
overflow-x: hidden;
}

/* Animated 3D Background */
.background-animation {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background: linear-gradient(135deg, 
#FF9933 0%,      /* Saffron */
#FFB366 15%,     /* Light Saffron */
#FFFFFF 35%,     /* White */
#F5F5F5 50%,     /* Off White */
#FFFFFF 65%,     /* White */
#90D890 85%,     /* Light Green */
#138808 100%     /* Green */
);
overflow: hidden;
}

.invoice-container {
position: absolute;
width: 100%;
height: 100%;
perspective: 1200px;
}


.floating-invoice {
    position: absolute;
    transform-style: preserve-3d;
    animation: floatRotate 45s infinite cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform;
}
/* Different invoice sizes and positions */
.floating-invoice.invoice-1 {
width: 280px;
height: 400px;
top: 5%;
left: 5%;
animation-duration: 20s;
}

.floating-invoice.invoice-2 {
width: 320px;
height: 450px;
top: 15%;
left: 70%;
animation-duration: 28s;
animation-delay: -5s;
}

.floating-invoice.invoice-3 {
width: 250px;
height: 350px;
top: 55%;
left: 10%;
animation-duration: 24s;
animation-delay: -10s;
}

.floating-invoice.invoice-4 {
width: 300px;
height: 420px;
top: 60%;
left: 65%;
animation-duration: 26s;
animation-delay: -15s;
}

.floating-invoice.invoice-5 {
width: 270px;
height: 380px;
top: 30%;
left: 40%;
animation-duration: 22s;
animation-delay: -8s;
}

.floating-invoice.invoice-6 {
width: 290px;
height: 410px;
top: 8%;
left: 35%;
animation-duration: 25s;
animation-delay: -12s;
}

.invoice-paper {
width: 100%;
height: 100%;
background: white;
border-radius: 8px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
padding: 25px;
position: relative;
overflow: hidden;
}

/* Invoice Header */
.invoice-header {
background: linear-gradient(135deg, #d4dfff 0%, #e0e0e0 100%);
margin: -25px -25px 20px -25px;
padding: 20px 25px;
color: white;
border-radius: 8px 8px 0 0;
}

.invoice-logo {
font-size: 24px;
font-weight: bold;
margin-bottom: 5px;
}

.invoice-number {
font-size: 14px;
opacity: 0.9;
}

/* Invoice Content */
.invoice-row {
display: flex;
justify-content: space-between;
padding: 8px 0;
border-bottom: 1px solid #e0e0e0;
font-size: 13px;
}

.invoice-row.header {
font-weight: bold;
color: #333;
border-bottom: 2px solid #FF9933;
margin-bottom: 10px;
}

.invoice-item {
color: #666;
}

.invoice-price {
color: #138808;
font-weight: 600;
}

.invoice-total {
margin-top: 15px;
padding-top: 15px;
border-top: 2px solid #FF9933;
text-align: right;
font-size: 18px;
font-weight: bold;
color: #138808;
}

/* Hand/Pen animation effect */
.hand-writing {
position: absolute;
width: 60px;
height: 60px;
bottom: 30%;
right: 20%;
animation: writing 3s infinite ease-in-out;
opacity: 0.7;
}

@keyframes writing {
0%, 100% {
transform: translate(0, 0) rotate(-15deg);
}
50% {
transform: translate(-10px, 5px) rotate(-20deg);
}
}

@keyframes floatRotate {
0% {
transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}
/* 25% {
transform: translateY(-12px) rotateX(20deg) rotateY(15deg) rotateZ(3deg);
}
50% {
transform: translateY(-18px) rotateX(10deg) rotateY(30deg) rotateZ(-4deg);
}
75% {
transform: translateY(-10px) rotateX(-15deg) rotateY(-20deg) rotateZ(4deg);
}
100% {
transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
}*/

25% {
transform: translateY(-30px) rotateX(180deg) rotateY(45deg) rotateZ(15deg);
}
50% {
transform: translateY(-20px) rotateX(90deg) rotateY(180deg) rotateZ(-20deg);
}
75% {
transform: translateY(-35px) rotateX(-180deg) rotateY(-90deg) rotateZ(25deg);
}
100% {
transform: translateY(0) rotateX(0deg) rotateY(360deg) rotateZ(0deg);
}

}

.navbar-sticky-logo {
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease;
}

/* Show logo only when navbar becomes sticky */
.nav-bar.sticky-top .navbar-sticky-logo {
opacity: 1;
visibility: visible;
}

.nav-bar {
transition: box-shadow 0.3s ease;
}
.nav-bar.sticky-top {
box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}


/* Mobile logo hidden by default */
.mobile-sticky-logo {
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease;
}

/* Show mobile logo when navbar sticks */
.nav-bar.sticky-top .mobile-sticky-logo {
opacity: 1;
visibility: visible;
}


/* Frequently asked questions accordion design */

.faq-section {
    background: linear-gradient(135deg, #f7f4fb, #fdfcff);
}

.faq-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(98, 84, 153, 0.12);
}

.accordion-item {
    border: none;
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.accordion-button {
    background: #efe9fb;
    color: #3b2f63;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 18px 22px;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: #dcd0f5;
    color: #2d1f55;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.08);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    background-size: 1.1rem;
}

.accordion-body {
    background: #EFE9Fb;
    color: #444;
    font-size: 0.98rem;
    line-height: 1.8;
    padding: 20px 24px;
    border-top: 1px solid #eee;
}

.faq-title {
    color: #4b3a88;
    font-weight: 700;
}

.faq-subtitle {
    color: #555;
}

/* Mailbox Animation */
.mailbox {
    font-size: 54px;
    color: #6f42c1; /* lavender */
    display: inline-block;
    animation: mailboxPop 1.2s ease-in-out infinite;
}

@keyframes mailboxPop {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}


.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #6c757d;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.divider::before {
    margin-right: .75em;
}

.divider::after {
    margin-left: .75em;
}




/* Sticky Chatbot Container */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;

}

/* Floating Icon */
.chatbot-icon {
  background: #0b3a64;
  color: white;
  font-size: 28px;
  padding: 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  animation: bounce 2s infinite;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.chatbot-icon:hover {
  transform: scale(1.1);
}

/* Chat Box */
.chatbot-box {
  display: none;
  width: 300px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  position: absolute;
  bottom: 70px;
  right: 0;
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

/* Header */
.chatbot-header {
  background: #0b3a64;
  color: white;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h4, h2 {
  margin: 0;
  font-size: 16px;
  color:white;
}

#close-chat {
  cursor: pointer;
  font-size: 20px;
}

/* Body */
.chatbot-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chatbot-body textarea {
  resize: none;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  height: 60px;
}

.chatbot-body button {
  background: #0b3a64;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.chatbot-body button:hover {
  background: #333;
}

#chat-log {
  height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  font-size: 14px;
}
#user-input {
  resize: none;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  height: 60px;
}
#send-btn {
  background: #0b3a64;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}



.invoice-input{
    border:2px dashed #cfcfcf;
    border-radius:8px;
    padding:5px 7px;
    font-size:12px;
    font-weight:600;
    color:#444;
    width:120px;
    background:#fafafa;
    outline:none;
    transition:all .25s ease;
}

/* When clicked */
.invoice-input:focus{
    border:2px solid #2b7cff;
    background:#fff;
    box-shadow:0 0 4px rgba(43,124,255,0.25);
}


/*background */
.invoice-page-bg{
background: linear-gradient(135deg,#e8f1ff,#f9fbff);
min-height:100vh;
position:relative;
overflow:hidden;
}

/* decorative background shapes */

.bg-decor{
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
z-index:0;
pointer-events:none;
}

/* floating circles */

.bg-circle{
position:absolute;
width:90px;
height:90px;
border-radius:50%;
background:rgba(100,146,216,0.12);
display:flex;
align-items:center;
justify-content:center;
font-size:40px;
color:#6492d8;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

/* positions */

.bg-circle.one{
top:120px;
left:15%;
}

.bg-circle.two{
top:180px;
right:18%;
}

.bg-circle.three{
top:420px;
left:20%;
}

.bg-circle.four{
top:450px;
right:22%;
}

/* soft decorative lines */

.invoice-page-bg:before{
content:"";
position:absolute;
top:150px;
left:5%;
width:300px;
height:80px;
background:rgba(100,146,216,0.18);
border-radius:40px;
}

.invoice-page-bg:after{
content:"";
position:absolute;
top:350px;
right:5%;
width:300px;
height:80px;
background:rgba(100,146,216,0.18);
border-radius:40px;
}

/* ensure invoice card stays above */

#invoiceArea{
position:relative;
z-index:5;
}


/* stars */
.stars{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
pointer-events:none;
z-index:0;
overflow:hidden;

}

.stars span{
position:absolute;
display:block;
width:5px;
height:5px;
 
border-radius:50%;
box-shadow:0 0 6px rgba(255,255,255,0.8);
animation:twinkle 3s infinite ease-in-out;
background:#a9c4ff;
box-shadow:0 0 8px #a9c4ff;
}

.stars span:nth-child(1){top:10%;left:20%;animation-delay:0s;}
.stars span:nth-child(2){top:30%;left:70%;animation-delay:1s;}
.stars span:nth-child(3){top:50%;left:40%;animation-delay:2s;}
.stars span:nth-child(4){top:70%;left:15%;animation-delay:1.5s;}
.stars span:nth-child(5){top:80%;left:60%;animation-delay:0.5s;}
.stars span:nth-child(6){top:25%;left:50%;animation-delay:2.5s;}
.stars span:nth-child(7){top:60%;left:85%;animation-delay:1.2s;}
.stars span:nth-child(8){top:40%;left:10%;animation-delay:0.7s;}
.stars span:nth-child(9){top:15%;left:80%;animation-delay:1.8s;}
.stars span:nth-child(10){top:90%;left:30%;animation-delay:2.2s;}
.stars span:nth-child(11){top:75%;left:45%;animation-delay:0.9s;}
.stars span:nth-child(12){top:55%;left:65%;animation-delay:1.3s;}


@keyframes twinkle{

0%{
opacity:0.2;
transform:scale(0.8);
}

50%{
opacity:1;
transform:scale(1.5);
}

100%{
opacity:0.2;
transform:scale(0.8);
}

}



/* blog pages */
.hero-section{
background:linear-gradient(135deg,#6492d8,#3c6fd1);
}

.section-title{
border-left:5px solid #6492d8;
padding-left:12px;
}

.card-hover{
transition:all .3s ease;
}

.card-hover:hover{
transform:translateY(-6px);
box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.bg-gradient-primary{
background:linear-gradient(135deg,#4c7ad3,#6492d8);
}