/* 
==================================
   Tax Law Firm - Premium Styling (Pro Version)
==================================
   Color Palette:
   Rich Navy: #030b1c (Deep background)
   Gold: #c5a043 (Accents)
   Silk Gold: #fdf5e6 (Soft backgrounds)
   White: #ffffff
   Slate: #475569
==================================
*/

:root {
    --primary: #030b1c;
    --primary-light: #0a1931;
    --gold: #c5a043;
    --gold-hover: #a38234;
    --gold-soft: rgba(197, 160, 67, 0.1);
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-slate: #475569;
    --bg-gray: #f8fafc;
    --glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-pro: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', 'Tiro Bangla', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.bg-dark {
    background: var(--primary);
}

.bg-light-gray {
    background: #f1f5f9;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
}

.loader-content i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    animation: pulseIcon 2s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 10px;
}

.loader-bar::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 100%;
    background: var(--gold);
    left: 0;
    animation: loaderLine 1.5s infinite ease-in-out;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

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

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

@keyframes loaderLine {
    0% {
        left: 0;
        width: 20%;
    }

    50% {
        left: 50%;
        width: 40%;
    }

    100% {
        left: 80%;
        width: 20%;
    }
}

/* Typography Overhaul */
h1,
h2,
h3,
h4 {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.sub-heading {
    display: block;
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.75rem;
    color: var(--primary);
}

.section-header.white h2 {
    color: var(--white);
}

.divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 1.5rem auto;
}

.divider.gold {
    background: var(--gold);
}

/* Buttons Premium */
.btn-primary {
    background: var(--gold);
    color: var(--white);
    padding: 0.85rem 1.75rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(197, 160, 67, 0.2);
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 67, 0.3);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    padding: 1.1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

/* Navbar Premium Overlay */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(3, 11, 28, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
}

.logo i {
    font-size: 2.25rem;
    color: var(--gold);
}

.logo-text h1 {
    font-size: 1.6rem;
    margin: 0;
    line-height: 1;
    color: var(--white);
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 2.5px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

/* Hero Section Refined */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(3, 11, 28, 0.7), rgba(3, 11, 28, 0.85)), url('hero-bg.png') center/cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
}

.hero-content {
    z-index: 10;
    padding-top: 5rem;
}

.badge-premium {
    background: var(--gold-soft);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--gold);
    font-weight: 300;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    padding: 0 1rem;
}

/* Vertical Dividers */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.scroll-down {
    position: absolute;
    bottom: 8rem;
    /* Stats এর একটু উপরে সেট করা হলো */
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition);
}

.scroll-down:hover {
    color: var(--gold);
    opacity: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Sections Global Styling */
.section {
    padding: 8rem 0;
}

/* Premium Service Cards */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card-pro {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.service-card-pro:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-pro);
    border-color: var(--gold);
}

.card-bg-icon {
    position: absolute;
    right: -2rem;
    bottom: -2rem;
    font-size: 10rem;
    color: rgba(0, 0, 0, 0.02);
    transform: rotate(-15deg);
    transition: var(--transition);
}

.service-card-pro:hover .card-bg-icon {
    color: rgba(197, 160, 67, 0.05);
}

.main-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.service-card-pro:hover .main-icon {
    color: var(--gold);
    transform: scale(1.1);
}

.service-card-pro h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-card-pro p {
    color: var(--text-slate);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefit-list {
    margin-bottom: 2rem;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefit-list i {
    color: var(--gold);
    font-size: 0.75rem;
}

.price-box {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.featured {
    background: var(--primary);
    color: var(--white);
}

.featured h3,
.featured .price-box {
    color: var(--white);
}

.featured .main-icon {
    color: var(--gold);
}

.featured p {
    color: #cbd5e1;
}

.featured .benefit-list li {
    color: var(--white);
}

.featured .price-box {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.btn-gold-fill {
    background: var(--gold);
    color: var(--white);
    width: 100%;
    padding: 1rem;
    display: block;
    text-align: center;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-link {
    color: var(--gold);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 1rem;
}

.support-banner {
    background: var(--gold-soft);
    border-left: 5px solid var(--gold);
    padding: 2.5rem;
    border-radius: 8px;
    margin-top: 5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 1.1rem;
}

.support-banner i {
    font-size: 3rem;
    color: var(--gold);
}

/* Process Section Premium */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: 0 0 0 10px rgba(197, 160, 67, 0.1);
    transition: var(--transition);
}

.step:hover .step-icon {
    transform: rotateY(180deg);
    background: var(--primary);
    color: var(--gold);
}

.step h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* Tax Rules Pro Grid */
.rules-pro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.pro-rule-item {
    text-align: left;
    display: flex;
    gap: 1.5rem;
}

.pro-icon {
    font-size: 2.5rem;
    color: var(--gold);
}

.pro-text h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.pro-text p {
    color: var(--text-slate);
    font-size: 0.95rem;
}

/* Team Section Luxury Grid */
.team-luxury-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-card.chairman {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-pro);
    text-align: left;
}

.team-img-wrapper {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 1rem;
}

.team-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.role {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.org {
    color: var(--text-slate);
}

.others-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.team-small-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    text-align: left;
    box-shadow: var(--shadow-soft);
}

.team-small-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.team-small-card p {
    font-size: 0.85rem;
    color: var(--text-slate);
}

/* CTA Section Premium */
.cta-premium {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #051937 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-premium::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    opacity: 0.1;
}

.cta-premium h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-premium p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 3.5rem;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.btn-whatsapp-premium {
    background: #25D366;
    color: var(--white);
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.pulse {
    animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    }
}

.btn-call-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Footer Pro */
.footer-pro {
    background: #020817;
    padding: 8rem 0 0;
    color: #94a3b8;
}

.footer-grid-pro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    padding-bottom: 6rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--gold);
}

.footer-logo h2 {
    color: var(--white);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--gold);
    font-size: 1.2rem;
}

.footer-bottom-pro {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom-pro .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nexora-tag strong {
    color: var(--gold);
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 1000;
}

.floating-whatsapp a {
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: var(--transition);
}

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

.tooltip {
    position: absolute;
    right: 80px;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition);
}

.floating-whatsapp a:hover .tooltip {
    opacity: 1;
}

/* Responsive Grid */
@media (max-width: 1200px) {

    .services-premium-grid,
    .rules-pro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .team-luxury-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid-pro {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }

    .services-premium-grid,
    .rules-pro-grid,
    .others-team-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--white);
        font-size: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
}