/*
   KRISHNA PUBLICATION SERVICE \2014 CUSTOM STYLES

   Design: "Scholar's Ink" \2014 Deep emerald + parchment + brass accent
   Fonts: Fraunces (headings), Inter (body)
   Framework: Bootstrap 5.3 + Bootstrap Icons
 */

/* CSS VARIABLES (change colors here) */
:root {
    --brand-primary: #1E3A5F;         /* Deep Oxford navy */
    --brand-primary-dark: #142848;
    --brand-primary-light: #E7ECF3;
    --brand-accent: #B08040;          /* Brass / gold accent */
    --brand-accent-light: #F0E9D6;

    --paper: #FBFAF6;                 /* Warm off-white */
    --paper-2: #F4F1E8;
    --ink: #0F1419;                   /* Near-black */
    --ink-soft: #3D4149;
    --ink-muted: #6B6F78;
    --line: #E4DFD1;
    --line-soft: #EFEBDD;

    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(15, 20, 25, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 20, 25, 0.08);
    --shadow-lg: 0 20px 60px rgba(15, 20, 25, 0.12);
}

/*
   GLOBAL RESETS & BASE
 */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
    line-height: 1.2;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--brand-accent); }

.text-emerald { color: var(--brand-primary) !important; }
.text-brass   { color: var(--brand-accent) !important; }
.bg-emerald   { background: var(--brand-primary) !important; }
.bg-paper     { background: var(--paper) !important; }

/* Eyebrow tag (small label above headings) */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}
.eyebrow::before {
    content: "\00A7";
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--brand-accent);
}

/*
   TOP INFO BAR
 */
.top-bar {
    background: var(--ink);
    color: var(--paper);
    font-size: 0.82rem;
    padding: 8px 0;
    letter-spacing: 0.02em;
}
.top-bar a { color: var(--paper); }
.top-bar i { color: var(--brand-accent); margin-right: 6px; }

/*
   NAVIGATION
 */
.main-nav {
    background: rgba(251, 250, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.main-nav.scrolled { box-shadow: var(--shadow-md); }

.navbar-brand {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 0 !important;
}
.brand-mark {
    width: 44px;
    height: 44px;
    background: var(--brand-primary);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.4rem;
    font-style: italic;
    border-radius: 3px;
    position: relative;
    box-shadow: inset 0 -3px 0 var(--brand-primary-dark);
}
.brand-mark::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: var(--brand-accent);
    border-radius: 50%;
}
.brand-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.15;
    color: var(--ink);
}
.brand-text small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-top: 3px;
}
.brand-text strong { font-weight: 600; }

.navbar-nav .nav-link {
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px !important;
    position: relative;
    transition: color 0.2s ease;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--brand-primary); }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.navbar-toggler {
    border: 1px solid var(--line);
    padding: 6px 10px;
    font-size: 1.4rem;
    color: var(--brand-primary);
}
.navbar-toggler:focus { box-shadow: none; }

.btn-nav-cta {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--paper) !important;
    padding: 9px 20px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-radius: 3px !important;
    transition: all 0.2s ease;
}
.btn-nav-cta:hover {
    background: var(--brand-accent) !important;
    border-color: var(--brand-accent) !important;
    transform: translateY(-2px);
}

/*
   BUTTONS
 */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 3px;
    padding: 12px 26px;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}
.btn-primary,
.btn.btn-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
}
.btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.25);
}

.btn-outline-primary {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}
.btn-outline-primary:hover {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: var(--paper);
}

.btn-accent {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--paper);
}
.btn-accent:hover {
    background: #8B6534;
    border-color: #8B6534;
    color: var(--paper);
    transform: translateY(-2px);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }

/*
   HERO SECTION
 */
.hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 88% 20%, rgba(30, 58, 95, 0.06), transparent 60%),
        radial-gradient(600px 500px at 5% 70%, rgba(176, 128, 64, 0.05), transparent 55%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.hero h1 em {
    font-style: italic;
    color: var(--brand-primary);
    font-weight: 400;
}
.hero-lede {
    font-size: 1.15rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 55ch;
    margin-bottom: 2rem;
}
.hero-actions .btn { margin-right: 12px; margin-bottom: 12px; }

.hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.hero-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary) 65%, var(--brand-accent) 65%);
}
.hero-card .badge-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-primary);
    background: var(--brand-primary-light);
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}
.hero-card h5 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}
.hero-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line-soft);
}
.hero-card ul li:last-child { border-bottom: none; }
.hero-card ul li i {
    color: var(--brand-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/*
   STATS BAR
 */
.stats-bar {
    background: var(--ink);
    color: var(--paper);
    padding: 50px 0;
}
.stat-item { text-align: center; }
.stat-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--paper);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-num sup { color: var(--brand-accent); font-size: 1.2rem; }
.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(251, 250, 246, 0.65);
}

/*
   SECTIONS
 */
section.block { padding: 90px 0; }
section.block-alt { background: #fff; }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 16px;
}
.section-head h2 em { font-style: italic; color: var(--brand-primary); }
.section-head .lede {
    font-size: 1.08rem;
    color: var(--ink-soft);
    max-width: 55ch;
    margin: 0 auto;
}

/*
   SERVICE CARDS
 */
.service-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 32px 28px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--brand-primary);
    margin-bottom: 20px;
    display: block;
}
.service-icon {
    width: 52px;
    height: 52px;
    border: 1.5px solid var(--brand-primary);
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--brand-primary);
    color: var(--paper);
    transform: rotate(-10deg);
}
.service-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 16px;
}
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}
.service-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 500;
    padding: 3px 10px;
    background: var(--brand-primary-light);
    color: var(--brand-primary-dark);
    border-radius: 3px;
    letter-spacing: 0.02em;
}

/*
   PROCESS / HOW IT WORKS
 */
.process-item {
    padding: 32px 24px;
    text-align: center;
    position: relative;
    height: 100%;
}
.process-num {
    width: 60px;
    height: 60px;
    background: var(--brand-primary);
    color: var(--paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}
.process-item h4 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 10px;
}
.process-item p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.6;
}
.process-connector {
    display: none;
}
@media (min-width: 992px) {
    .process-item::after {
        content: "";
        position: absolute;
        top: 60px;
        right: -20px;
        width: 40px;
        height: 2px;
        background: var(--line);
        z-index: 1;
    }
    .process-item:last-child::after { display: none; }
}

/*
   TESTIMONIALS
 */
.testimonial-card {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 32px 28px;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.testimonial-card::before {
    content: """;
    position: absolute;
    top: -20px;
    left: 24px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--brand-primary);
    font-style: italic;
    line-height: 1;
    background: var(--paper);
    padding: 0 10px;
}
.testimonial-body {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-soft);
    font-style: italic;
    margin-bottom: 22px;
}
.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}
.testimonial-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
}
.testimonial-affil {
    font-size: 0.78rem;
    color: var(--ink-muted);
    margin-top: 3px;
}
.testimonial-doi {
    font-size: 0.7rem;
    color: var(--brand-primary);
    text-align: right;
    line-height: 1.5;
}
.testimonial-doi strong { color: var(--brand-accent); }
.testimonial-flag {
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}
.testimonial-flag img.flag-icon {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

/*
   FLAG ICONS (flagcdn.com images)
   ASCII-safe replacement for emoji flags -- works on
   Windows 7, XP, older browsers, ALL devices
 */
img.flag-icon {
    display: inline-block;
    height: 14px;
    width: auto;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    margin: 0 2px;
}

/* Countries served row (testimonials page) */
.countries-flags-row {
    line-height: 3.2;
    padding: 20px 0;
}
.countries-flags-row img.flag-icon {
    height: 30px;
    width: auto;
    margin: 6px 10px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
@media (max-width: 576px) {
    .countries-flags-row img.flag-icon {
        height: 22px;
        margin: 4px 6px;
    }
}

/*
   PRIVACY NOTICE (Testimonials page)
 */
.privacy-notice {
    background: linear-gradient(135deg, var(--brand-primary-light) 0%, #fff 100%);
    border: 1px solid var(--brand-primary);
    border-left: 4px solid var(--brand-primary);
    padding: 20px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    border-radius: 3px;
}
.privacy-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--brand-primary);
    color: var(--paper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.privacy-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--ink-soft);
}
.privacy-text strong {
    color: var(--brand-primary);
    display: block;
    margin-bottom: 4px;
    font-size: 0.98rem;
}
@media (max-width: 576px) {
    .privacy-notice { flex-direction: column; padding: 18px; }
    .privacy-icon { margin-bottom: 4px; }
}

/*
   JOURNAL LOGOS STRIP (Marquee)
 */
.journal-strip {
    background: #fff;
    padding: 50px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.journal-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 32px;
}
.journal-marks {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: center;
}
.journal-mark {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink-muted);
    opacity: 0.7;
    padding: 12px;
    transition: all 0.2s ease;
}
.journal-mark:hover {
    opacity: 1;
    color: var(--brand-primary);
}
.journal-mark small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 2px;
    color: var(--ink-muted);
}
@media (max-width: 768px) {
    .journal-marks { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/*
   FAQ ACCORDION
 */
.faq-accordion .accordion-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 24px;
    box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--brand-primary-light);
    color: var(--brand-primary);
}
.faq-accordion .accordion-button::after {
    background-image: none;
    content: "\F282";
    font-family: "bootstrap-icons";
    transition: transform 0.3s ease;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}
.faq-accordion .accordion-body {
    padding: 8px 24px 24px;
    color: var(--ink-soft);
    line-height: 1.7;
    font-size: 0.95rem;
}

/*
   PAGE HEADER (Inner pages)
 */
.page-header {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
    padding: 80px 0 60px;
    position: relative;
    text-align: center;
    border-bottom: 1px solid var(--line);
}
.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}
.page-header h1 em { font-style: italic; color: var(--brand-primary); }
.page-header p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    max-width: 55ch;
    margin: 0 auto;
}
.breadcrumb-nav {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin-bottom: 20px;
}
.breadcrumb-nav a { color: var(--brand-primary); }
.breadcrumb-nav span { margin: 0 8px; color: var(--line); }

/*
   CONTACT PAGE
 */
.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}
.contact-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.contact-card .icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 20px;
}
.contact-card h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
}
.contact-card p, .contact-card a {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.contact-form .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--ink);
    margin-bottom: 6px;
}
.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 12px 14px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

/* Form alert messages */
.alert-success {
    background: #E8F5EC;
    border: 1px solid #A8D5B4;
    color: #1B5E20;
}
.alert-danger {
    background: #FBEAEA;
    border: 1px solid #E8B4B4;
    color: #7A1F1F;
}

/*
   CTA SECTION (Bottom of pages)
 */
.cta-section {
    background: var(--ink);
    color: var(--paper);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.4), transparent 70%);
    border-radius: 50%;
}
.cta-section h2 {
    color: var(--paper);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
}
.cta-section h2 em {
    font-style: italic;
    color: var(--brand-accent);
}
.cta-section p {
    color: rgba(251, 250, 246, 0.75);
    font-size: 1.1rem;
    max-width: 55ch;
    margin-bottom: 32px;
}
.cta-section .btn-primary {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}
.cta-section .btn-primary:hover {
    background: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--paper);
}
.cta-section .btn-outline-primary {
    color: var(--paper);
    border-color: rgba(251, 250, 246, 0.3);
}
.cta-section .btn-outline-primary:hover {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    background: transparent;
}

/*
   FOOTER
 */
.site-footer {
    background: #050709;
    color: rgba(251, 250, 246, 0.65);
    padding: 60px 0 30px;
    font-size: 0.88rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-brand .brand-text { color: var(--paper); }
.footer-desc {
    color: rgba(251, 250, 246, 0.65);
    line-height: 1.65;
    max-width: 320px;
}
.footer-heading {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 20px;
}
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li a {
    display: block;
    color: rgba(251, 250, 246, 0.75);
    padding: 5px 0;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.footer-links li a:hover { color: var(--paper); }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    color: rgba(251, 250, 246, 0.75);
    font-size: 0.9rem;
}
.footer-contact li i {
    color: var(--brand-accent);
    font-size: 1rem;
    padding-top: 3px;
    flex-shrink: 0;
}
.footer-contact a { color: rgba(251, 250, 246, 0.75); }
.footer-contact a:hover { color: var(--paper); }

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(251, 250, 246, 0.05);
    color: rgba(251, 250, 246, 0.7);
    border-radius: 50%;
    margin-right: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.footer-social a:hover {
    background: var(--brand-accent);
    color: var(--paper);
    transform: translateY(-2px);
}

.footer-divider {
    border-color: rgba(251, 250, 246, 0.1);
    margin: 40px 0 24px;
}
.footer-copy, .footer-credit {
    font-size: 0.82rem;
    color: rgba(251, 250, 246, 0.5);
}
.footer-credit a { color: var(--brand-accent); }
.footer-credit a:hover { color: var(--paper); }

/*
   FLOATING WHATSAPP BUTTON
 */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: waPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover {
    background: #128C7E;
    color: #fff !important;
    transform: scale(1.1) rotate(-10deg);
}
.whatsapp-float .wa-tip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--ink);
    color: var(--paper);
    padding: 8px 14px;
    border-radius: 3px;
    font-size: 0.82rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.whatsapp-float:hover .wa-tip { opacity: 1; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.15); }
}

/*
   BACK TO TOP
 */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 44px;
    height: 44px;
    background: var(--brand-primary);
    color: var(--paper);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--brand-accent);
    transform: translateY(-4px);
}

/*
   ANIMATIONS / REVEALS
 */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/*
   RESPONSIVE ADJUSTMENTS
 */
@media (max-width: 991px) {
    .main-nav .navbar-collapse {
        background: var(--paper);
        padding: 20px;
        margin-top: 16px;
        border: 1px solid var(--line);
    }
    .navbar-nav .nav-link { padding: 12px 0 !important; }
    .brand-text small { display: none; }
}
@media (max-width: 767px) {
    section.block { padding: 60px 0; }
    .hero { padding: 60px 0 40px; }
    .stat-num { font-size: 2.2rem; }
    .whatsapp-float, .back-to-top {
        width: 48px; height: 48px;
        bottom: 20px;
    }
    .whatsapp-float { right: 20px; font-size: 1.5rem; }
    .back-to-top { left: 20px; font-size: 1rem; }
    .contact-form { padding: 24px 20px; }
}

/* Preview override: force all reveals visible (no JS in standalone preview) */
.reveal, .reveal.in { opacity: 1 !important; transform: none !important; }
