/* General Reset & Base */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Section Padding */
.section-padding {
    padding: 50px 0;
}

/* Buttons */
.btn-custom {
    background: #449C8B;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #077F82;
    z-index: 2;
}
.btn-custom:hover {
    background: #2e6358;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.btn-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}
.btn-custom:hover::after {
    width: 200px;
    height: 200px;
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.our-solutions .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === EXACT FBR-INVOICING HEADER STYLES === */
header.sticky-top {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    position: sticky;
    top: 0;
}
.navbar { 
    padding: 0.7rem 0; 
}
.navbar-brand { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}
.webinfo { 
    width: 70px; 
    height: auto; 
    object-fit: contain; 
}
.brand-text { 
    display: flex; 
    flex-direction: column; 
    line-height: 1.1; 
}
.brand-name { 
    font-size: 1.4rem; 
    font-weight: 600; 
    color: #333; 
}
.brand-slogan { 
    font-size: 0.8rem; 
    color: #666; 
}
.navbar-nav .nav-link {
    color: #333; 
    font-weight: 500; 
    padding: 8px 15px !important; 
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active { 
    color: #449C8B; 
}
.btn-ws {
    background: #449C8B;
    color: #fff;
    width: 200px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}
.btn-ws:hover {
    background: #fff; 
    color: #333; 
    border-color: #333;
    transform: translateY(-1px);
}

/* Hero Banner */
.main-banner {
    position: relative;
    padding: 250px 0;
    background: linear-gradient(135deg, #f8f7f9 0%, #009688 50%, #1e3c72 100%);
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.main-banner canvas#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.main-banner .container {
    position: relative;
    z-index: 2;
}
.main-banner h1 {
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out;
}
.main-banner p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease-out;
}
.main-banner .btn-custom,
.main-banner .btn-outline-light {
    animation: fadeInUp 1.4s ease-out;
}

/* Section Titles */
.why-us h2,
.our-services h2,
.our-solutions h2,
.get-quote h2,
.our-clients h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
}

/* Clients Marquee */
.our-clients {
    background-color: #e9ecef;
    padding: 10px 0;
}
.client-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 120px;
}
.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
    width: 200%;
}
.client-logo {
    max-height: 100px;
    width: auto;
    transition: transform 0.3s ease;
    filter: grayscale(0%);
    margin-left: 50px;
}
.client-logo:hover {
    transform: scale(1.1);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Clients Panel */
.clients-panel {
    background: #84c9c4;
    padding: 40px 0;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* Get Quote */
.get-quote {
    background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
}
.get-quote .form-control:focus {
    border-color: #449C8B;
    box-shadow: 0 0 5px rgba(68, 156, 139, 0.5);
}

/* Footer */
footer {
    background-color: #077F82;
    color: #fff;
    padding: 60px 0;
}
footer h2 { font-size: 2rem; font-weight: 600; }
footer h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 20px; }

/* Back to Top & WhatsApp */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #449C8B;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: none;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}
.whatsapp-icon {
    position: fixed;
    bottom: 70px;
    right: 20px;
    z-index: 1000;
}
.whatsapp-icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}
.whatsapp-icon a:hover img {
    transform: scale(1.2);
}

/* Responsive Design - EXACT MATCH WITH FBR INVOICING */
@media (max-width: 992px) {
    .brand-name { font-size: 1.2rem; }
    .brand-slogan { font-size: 0.75rem; }
    .btn-ws { width: 180px; }
}
@media (max-width: 768px) {
    .main-banner { padding: 150px 0; }
    .main-banner h1 { font-size: 2.5rem; }
    .main-banner p { font-size: 1.2rem; }
    .navbar-brand { gap: 6px; }
    .brand-name { font-size: 1rem; }
    .brand-slogan { font-size: 0.7rem; }
    .webinfo { width: 55px; }
    .client-logo { max-height: 60px; }
}
@media (max-width: 480px) {
    .main-banner { padding: 120px 0; }
    .main-banner h1 { font-size: 1.8rem; }
    .main-banner p { font-size: 1rem; }
    .main-banner .d-flex.justify-content-center.gap-3 { flex-direction: column; align-items: center; }
    .main-banner .d-flex.justify-content-center.gap-3 > a { width: 70%; margin-bottom: 10px; }
    .navbar-brand { gap: 4px; }
    .webinfo { width: 45px; }
    .brand-name { font-size: 0.95rem; }
    .brand-slogan { font-size: 0.65rem; }
    .btn-ws { font-size: 0.8rem; width: 160px; }
    .our-clients h2 { font-size: 2rem; margin: 10px 0 5px; }
}