/* =============================================
   MCMA – Multi Client Management Accounting
   Main Stylesheet
   Developed by dtecstudio.com
   ============================================= */

/* --- CSS Variables --- */
:root {
    --primary:        #2D6A4F;
    --primary-dark:   #1B4332;
    --primary-light:  #52B788;
    --primary-pale:   #D8F3DC;
    --navy:           #0F1F38;
    --navy-light:     #1E3A5F;
    --white:          #FFFFFF;
    --off-white:      #F8FFF9;
    --text-dark:      #1a2e1e;
    --text-body:      #374151;
    --text-muted:     #6B7280;
    --border:         #E5E7EB;
    --success:        #22C55E;
    --warning:        #F59E0B;
    --danger:         #EF4444;

    --gradient-hero:  linear-gradient(135deg, #0F1F38 0%, #1B4332 50%, #2D6A4F 100%);
    --gradient-card:  linear-gradient(135deg, #2D6A4F 0%, #52B788 100%);
    --gradient-cta:   linear-gradient(135deg, #1B4332 0%, #2D6A4F 50%, #40916C 100%);

    --shadow-sm:  0 2px 8px rgba(45,106,79,.10);
    --shadow-md:  0 8px 25px rgba(45,106,79,.15);
    --shadow-lg:  0 20px 50px rgba(15,31,56,.20);

    --font-body:    'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --radius:       12px;
    --radius-lg:    20px;
    --transition:   all .3s ease;
}

/* --- AOS fallback: never leave elements invisible if AOS doesn't fire --- */
[data-aos] { opacity: 1 !important; transform: none !important; }
[data-aos].aos-animate { opacity: 1 !important; transform: none !important; }

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; }

/* --- Navbar --- */
#mainNav {
    background: transparent;
    padding: 18px 0;
    transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}

#mainNav.scrolled {
    background: rgba(15,31,56,.97);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

#mainNav .navbar-brand img { filter: brightness(1); }

#mainNav .nav-link {
    font-size: .92rem;
    font-weight: 500;
    color: rgba(255,255,255,.88) !important;
    padding: 6px 14px !important;
    border-radius: 6px;
    transition: var(--transition);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.12);
}

.btn-login-custom {
    background: transparent;
    color: rgba(255,255,255,.88) !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    border: 1.5px solid rgba(255,255,255,.35);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.btn-login-custom:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.7);
    color: #fff !important;
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff !important;
    padding: 8px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    border: 2px solid var(--primary);
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45,106,79,.35);
}

/* --- Section Common --- */
section { padding: 90px 0; }

.section-tag {
    display: inline-block;
    background: var(--primary-pale);
    color: var(--primary-dark);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-title span { color: var(--primary); }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600&q=80') center/cover no-repeat;
    opacity: .08;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: #fff;
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(6px);
}

.hero-badge span { background: var(--primary-light); color: #fff; padding: 2px 10px; border-radius: 50px; font-size: .75rem; }

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--primary-light);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.78);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-hero-primary {
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--primary);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(82,183,136,.4);
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.7);
    color: #fff;
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,.75);
    font-size: .85rem;
}

.hero-trust-item i { color: var(--primary-light); }

/* --- Stats Section --- */
.stats-section {
    background: #fff;
    padding: 50px 0;
    margin-top: -2px;
}

.stats-wrapper {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    display: block;
}

.stat-suffix { color: var(--primary-light); font-size: 2rem; font-weight: 800; }

.stat-label {
    font-size: .85rem;
    color: rgba(255,255,255,.65);
    margin-top: 6px;
    font-weight: 500;
}

/* --- Features Section --- */
.features-section { background: var(--off-white); }

.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 28px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-card);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-pale);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 62px;
    height: 62px;
    background: var(--primary-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: #fff;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Why MCMA --- */
.why-section { background: #fff; }

.why-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid var(--border);
    height: 100%;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.why-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 16px;
}

/* --- Packages Preview --- */
.packages-section { background: var(--off-white); }

.package-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 2px solid var(--border);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.package-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45,106,79,.08);
}

.package-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.popular-badge {
    position: absolute;
    top: 0; right: 0;
    background: var(--primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 0 var(--radius-lg) 0 var(--radius);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.package-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.package-subtitle {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.package-price {
    margin-bottom: 24px;
}

.price-display {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    font-size: .85rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.package-features { list-style: none; padding: 0; margin: 0 0 28px; }

.package-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}

.package-features li:last-child { border-bottom: none; }

.package-features li .fa-check { color: var(--success); font-size: .85rem; }
.package-features li .fa-times { color: #CBD5E0; font-size: .85rem; }
.package-features li.excluded { color: var(--text-muted); }

.btn-package {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    border: 2px solid var(--primary);
    transition: var(--transition);
    text-align: center;
    display: block;
}

.btn-package-outline {
    background: transparent;
    color: var(--primary);
}

.btn-package-outline:hover,
.package-card.popular .btn-package {
    background: var(--primary);
    color: #fff;
}

.package-card.popular .btn-package:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Billing toggle */
.billing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--border);
    border-radius: 50px;
    padding: 4px;
}

.billing-btn {
    padding: 8px 24px;
    border-radius: 50px;
    border: none;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: var(--text-muted);
}

.billing-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.save-badge {
    background: var(--primary-pale);
    color: var(--primary-dark);
    font-size: .72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}

/* --- Testimonials --- */
.testimonials-section { background: var(--navy); }

.testimonials-section .section-title { color: #fff; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,.65); }
.testimonials-section .section-tag { background: rgba(82,183,136,.2); color: var(--primary-light); }

.testimonial-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.testimonial-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
}

.testimonial-stars { color: var(--warning); margin-bottom: 16px; font-size: .9rem; }

.testimonial-text {
    font-size: .95rem;
    color: rgba(255,255,255,.82);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.testimonial-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: #fff;
    font-size: .95rem;
    margin: 0;
}

.testimonial-role {
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    margin: 0;
}

/* --- CTA Section --- */
.cta-section {
    background: var(--gradient-cta);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta-subtitle { color: rgba(255,255,255,.78); font-size: 1.05rem; margin-bottom: 36px; }

.btn-cta-white {
    background: #fff;
    color: var(--primary-dark);
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-white:hover {
    background: var(--primary-pale);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    padding: 14px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,.5);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    background: var(--gradient-hero);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 60px;
    background: #fff;
    clip-path: ellipse(60% 100% at 50% 100%);
}

.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.page-hero-sub {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
}

.breadcrumb-nav .breadcrumb {
    background: none;
    padding: 0;
    justify-content: center;
}

.breadcrumb-nav .breadcrumb-item a { color: var(--primary-light); }
.breadcrumb-nav .breadcrumb-item.active { color: rgba(255,255,255,.65); }
.breadcrumb-nav .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* --- Features Page --- */
.module-section { padding: 80px 0; }
.module-section:nth-child(even) { background: var(--off-white); }

.module-icon-large {
    width: 80px;
    height: 80px;
    background: var(--primary-pale);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.module-feature-list { list-style: none; padding: 0; margin: 0; }

.module-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: .95rem;
}

.module-feature-list li:last-child { border-bottom: none; }
.module-feature-list li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

/* --- Contact Page --- */
.contact-section { background: var(--off-white); }

.contact-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-icon {
    width: 46px;
    height: 46px;
    background: var(--primary-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-label { font-size: .8rem; color: var(--text-muted); font-weight: 600; margin: 0; }
.contact-info-value { font-size: .95rem; color: var(--text-dark); font-weight: 500; margin: 0; }

.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 11px 15px;
    font-size: .93rem;
    color: var(--text-body);
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45,106,79,.12);
    outline: none;
}

.form-label { font-size: .88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }

.btn-submit {
    background: var(--primary);
    color: #fff;
    padding: 12px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    border: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45,106,79,.3);
}

/* --- Module Illustrations (features page) --- */
.module-illustration {
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.module-illustration::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}

.mi-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.mi-lines { width: 100%; display: flex; flex-direction: column; gap: 10px; }

.mi-line {
    height: 8px;
    border-radius: 50px;
    background: rgba(255,255,255,.15);
}
.mi-line.w-50 { width: 50%; }
.mi-line.w-60 { width: 60%; }
.mi-line.w-65 { width: 65%; }
.mi-line.w-70 { width: 70%; }
.mi-line.w-75 { width: 75%; }
.mi-line.w-80 { width: 80%; }
.mi-line.w-85 { width: 85%; }
.mi-line.w-90 { width: 90%; }

.mi-row {
    display: flex;
    gap: 10px;
    margin: 4px 0;
}

.mi-card {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: 10px 14px;
    color: rgba(255,255,255,.9);
    font-size: .82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mi-card i { color: #52B788; }

.mi-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(82,183,136,.25);
    border: 1px solid rgba(82,183,136,.4);
    color: #52B788;
    font-size: .8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 50px;
    margin-top: 6px;
}

/* --- About Page --- */
.about-section { background: #fff; }

.team-card {
    text-align: center;
    padding: 30px 20px;
}

.team-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--primary-pale);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.value-icon {
    width: 46px;
    height: 46px;
    background: var(--primary-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

/* --- Alert / Notice --- */
.alert-success-custom {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: .92rem;
}

.alert-error-custom {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: .92rem;
}

/* --- Footer --- */
.footer-section {
    background: var(--navy);
    padding-top: 70px;
    color: rgba(255,255,255,.75);
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 10px;
}

.footer-desc { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.6); }

.footer-social { display: flex; gap: 10px; }

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: .85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }

.footer-contact { list-style: none; padding: 0; margin: 0; }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: .88rem;
    color: rgba(255,255,255,.65);
}

.footer-contact li i { color: var(--primary-light); margin-top: 3px; flex-shrink: 0; width: 14px; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: var(--primary-light); }

.footer-divider { border-color: rgba(255,255,255,.1); margin: 0; }

.footer-copy { font-size: .82rem; color: rgba(255,255,255,.45); }

.footer-dev-link { color: var(--primary-light); }
.footer-dev-link:hover { color: #fff; }

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* --- Responsive --- */
@media (max-width: 991.98px) {
    section { padding: 70px 0; }
    .hero-section { padding: 100px 0 70px; }
    .hero-image-wrapper { margin-top: 40px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
    .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 767.98px) {
    section { padding: 60px 0; }
    .hero-section { padding: 100px 0 60px; text-align: center; }
    .hero-btns { justify-content: center; }
    .hero-trust { justify-content: center; }
    .contact-card { padding: 28px 20px; }
}
