/*
Theme Name: Calecia International
Theme URI: https://caleciainternational.com
Author: Calecia International
Description: Professional Translation Services Theme
Version: 5.0
Text Domain: calecia
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #2196F3;
  --blue-dark:   #1565C0;
  --blue-light:  #E3F2FD;
  --navy:        #1a2a4a;
  --gray:        #6b7280;
  --gray-light:  #f8fafc;
  --white:       #ffffff;
  --accent:      #ef4444;
  --green:       #1db954;
  --radius:      14px;
  --shadow:      0 4px 24px rgba(33,150,243,0.10);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--navy); background: var(--white); overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Sora', sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* ── TOPBAR ── */
.topbar { background: var(--blue-light); padding: 8px 5%; display: flex; justify-content: flex-end; gap: 28px; font-size: 14px; color: var(--navy); border-bottom: 1px solid #dbeafe; }
.topbar a { color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--blue); }
.topbar svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── NAVBAR ── */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); display: flex; align-items: center; padding: 0 5%; height: 72px; border-bottom: 1px solid #e8f4fd; box-shadow: 0 2px 12px rgba(33,150,243,0.06); }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--blue) 40%, #42a5f5); border-radius: 10px; display: flex; align-items: center; justify-content: center; position: relative; }
.logo-icon::before { content: ''; position: absolute; bottom: 4px; right: 4px; width: 14px; height: 14px; background: #90caf9; border-radius: 4px; opacity: 0.7; }
.logo-icon svg { color: white; width: 18px; height: 18px; position: relative; z-index: 1; }
.logo-text { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); }
.nav-links { display: flex; gap: 36px; margin-left: 52px; }
.nav-links a { text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.lang-btn { background: none; border: none; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--navy); display: flex; align-items: center; gap: 4px; }
.lang-btn:hover { color: var(--blue); }
.btn-primary { background: var(--blue); color: white; border: none; padding: 12px 24px; border-radius: 50px; font-size: 15px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background .2s, transform .15s, box-shadow .2s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(33,150,243,0.35); }

/* ── HERO ── */
#home { display: grid; grid-template-columns: 1fr 1fr; padding: 60px 5%; align-items: start; gap: 48px; background: linear-gradient(160deg,#f0f8ff 0%,#ffffff 60%); position: relative; overflow: hidden; }
#home::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%,rgba(33,150,243,0.06) 0%,transparent 60%); pointer-events: none; }
.hero-text { z-index: 1; padding-top: 20px; }
.hero-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.hero-title { font-size: clamp(32px,3.5vw,52px); line-height: 1.15; font-weight: 800; color: var(--navy); margin-bottom: 20px; }
.hero-title .accent { color: var(--blue); }
.hero-title .dot { color: var(--blue); }
.hero-desc { font-size: 16px; color: var(--gray); line-height: 1.7; max-width: 440px; }

/* ── FORM CARD ── */
.hero-form-card { background: var(--white); border-radius: 20px; padding: 36px 36px 32px; box-shadow: 0 8px 48px rgba(33,150,243,0.13); z-index: 1; align-self: center; }
.hero-form-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 22px; }
.hf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.hf-group { display: flex; flex-direction: column; gap: 6px; }
.hf-group.full { grid-column: 1 / -1; }
.hf-label { font-size: 13px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 5px; }
.hf-label .req { color: #e8722a; }
.hf-label .opt { font-size: 12px; font-weight: 400; color: var(--gray); }
.hf-input { padding: 12px 16px; border: 1.5px solid #e2e8f0; border-radius: 12px; font-size: 15px; font-family: 'DM Sans', sans-serif; color: var(--navy); background: #f8fafc; outline: none; transition: border-color .2s, background .2s; width: 100%; }
.hf-input:focus { border-color: var(--blue); background: var(--white); }
.hf-input::placeholder { color: #adb5bd; }
.hf-textarea { padding: 12px 16px; border: 1.5px solid #e2e8f0; border-radius: 12px; font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--navy); background: #f8fafc; resize: vertical; min-height: 90px; outline: none; transition: border-color .2s, background .2s; width: 100%; }
.hf-textarea:focus { border-color: var(--blue); background: var(--white); }
.hf-textarea::placeholder { color: #adb5bd; }
.lang-picker { display: grid; grid-template-columns: 1fr 32px 1fr; align-items: center; border: 1.5px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #f8fafc; transition: border-color .2s; }
.lang-picker:focus-within { border-color: var(--blue); background: var(--white); }
.lang-half { padding: 11px 14px; cursor: pointer; position: relative; }
.lang-half:first-child { border-right: 1.5px solid #e2e8f0; }
.lang-sub { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin-bottom: 2px; }
.lang-val { font-size: 14px; font-weight: 600; color: var(--navy); }
.lang-arrow { display: flex; align-items: center; justify-content: center; color: var(--gray); font-size: 14px; }
.lang-select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 14px; }
.phone-wrap { display: flex; align-items: center; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #f8fafc; overflow: hidden; transition: border-color .2s, background .2s; }
.phone-wrap:focus-within { border-color: var(--blue); background: var(--white); }
.phone-icon { padding: 0 14px; color: var(--gray); border-right: 1.5px solid #e2e8f0; display: flex; align-items: center; height: 46px; }
.phone-wrap input { border: none; background: transparent; padding: 12px 14px; font-size: 15px; font-family: 'DM Sans', sans-serif; color: var(--navy); outline: none; flex: 1; }
.phone-wrap input::placeholder { color: #adb5bd; }
.drop-zone { border: 2px dashed #cbd5e1; border-radius: 12px; padding: 20px 16px; background: #f8fafc; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--blue); background: var(--blue-light); }
.drop-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--white); border: 1.5px solid #e2e8f0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gray); }
.drop-main { font-size: 14px; font-weight: 700; color: var(--navy); }
.drop-main span { color: var(--blue); text-decoration: underline; cursor: pointer; }
.drop-sub { font-size: 12px; color: var(--gray); margin-top: 2px; }
.drop-hint { font-size: 12px; color: var(--gray); margin-top: 8px; line-height: 1.5; }
.drop-hint a { color: var(--blue); font-weight: 600; }
input[type="file"][id$="File"] { display: none; }
[id$="FileName"] { font-size: 13px; color: var(--blue); margin-top: 6px; font-weight: 500; white-space: pre-line; }
.btn-submit { width: 100%; padding: 16px 24px; background: linear-gradient(135deg,#1db954,#16a34a); color: white; border: none; border-radius: 14px; font-size: 16px; font-weight: 700; font-family: 'Sora', sans-serif; cursor: pointer; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 10px; transition: opacity .2s, transform .15s, box-shadow .2s; box-shadow: 0 4px 18px rgba(29,185,84,0.30); }
.btn-submit:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(29,185,84,0.40); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-submit-arrow { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; }
.form-msg { padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.form-msg--success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.form-msg--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── CLIENTS STRIP ── */
.clients-section { padding: 40px 5%; border-bottom: 1px solid #e8f4fd; }
.clients-strip-inner { border-left: 4px solid var(--blue); padding-left: 28px; }
.clients-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); margin-bottom: 24px; }
.clients-logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.client-logo { opacity: .55; transition: opacity .2s; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.client-logo:hover { opacity: 1; }
.client-logo img { filter: grayscale(100%); transition: filter .2s; max-height: 44px; width: auto; }
.client-logo:hover img { filter: grayscale(0%); }
.client-logo-text { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--navy); line-height: 1.3; text-align: center; }
.clients-strip-desc { font-size: 15px; color: var(--gray); line-height: 1.7; max-width: 780px; }

/* ── SECTIONS ── */
section { padding: 80px 5%; }
.section-title { font-size: clamp(28px,3vw,42px); font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.section-title .hl  { color: var(--blue); }
.section-title .dot { color: var(--blue); }
.section-desc { font-size: 16px; color: var(--gray); line-height: 1.75; max-width: 680px; }

/* ── SERVICES GRID ── */
#services { background: var(--white); }
.services-header { margin-bottom: 48px; }
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 56px; }
.service-card { background: var(--gray-light); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: transform .2s, box-shadow .2s; text-decoration: none; display: block; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--blue-light); }
.service-icon { width: 64px; height: 64px; margin: 0 auto 14px; }
.service-icon svg { width: 64px; height: 64px; }
.service-name { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--navy); }

/* ── ABOUT ── */
#about { background: var(--gray-light); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); }
.stat-num { font-family: 'Sora', sans-serif; font-size: 26px; font-weight: 800; color: var(--blue); }
.stat-label { font-size: 13px; color: var(--gray); margin-top: 6px; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--gray-light); text-align: center; }
.testimonial-box { max-width: 680px; margin: 40px auto 0; }
.testimonial-text { font-size: 17px; color: var(--navy); line-height: 1.75; margin-bottom: 28px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-light); margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: var(--blue); }
.author-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.author-role { font-size: 13px; color: var(--gray); }

/* ── BLOG PREVIEW ── */
#blog { background: var(--white); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 40px; }
.blog-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; display: block; }
.blog-card:hover { transform: translateY(-4px); }
.blog-img { width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; background: var(--blue-light); overflow: hidden; }
.blog-img img { width: 100%; height: 180px; object-fit: cover; }
.blog-body { padding: 24px; background: var(--white); }
.blog-date { font-size: 12px; color: var(--gray); margin-bottom: 8px; }
.blog-title { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 10px; }
.blog-desc { font-size: 14px; color: var(--gray); line-height: 1.6; }
.blog-read-more { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--blue); }

/* ── BLOG ARCHIVE PAGE ── */
.blog-archive-page { padding-bottom: 80px; }
.blog-archive-hero { padding: 60px 5% 48px; background: linear-gradient(160deg,#f0f8ff 0%,#ffffff 70%); }
.blog-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; padding: 0 5%; }
.blog-pagination { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 40px; }
.blog-pagination .page-numbers { padding: 8px 16px; border-radius: 8px; font-weight: 600; color: var(--navy); text-decoration: none; border: 1.5px solid #e2e8f0; margin: 0 4px; transition: all .2s; }
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover { background: var(--blue); color: white; border-color: var(--blue); }
.blog-empty { grid-column: 1/-1; text-align: center; padding: 80px 0; color: var(--gray); }

/* ── FAQ ── */
#faq { background: var(--gray-light); }
.faq-list { max-width: 760px; margin-top: 40px; }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 20px 0; cursor: pointer; font-weight: 600; color: var(--navy); font-size: 16px; background: none; border: none; text-align: left; font-family: 'DM Sans', sans-serif; }
.faq-toggle { width: 24px; height: 24px; border-radius: 50%; background: var(--blue-light); display: flex; align-items: center; justify-content: center; color: var(--blue); transition: transform .2s, background .2s; flex-shrink: 0; }
.faq-toggle.open { transform: rotate(45deg); background: var(--blue); color: white; }
.faq-answer { font-size: 15px; color: var(--gray); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .2s; }
.faq-answer.open { max-height: 400px; padding-bottom: 18px; }

/* ── CONTACT ── */
#contact { background: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: clamp(26px,3vw,38px); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.contact-info p { font-size: 15px; color: var(--gray); line-height: 1.7; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--navy); text-decoration: none; margin-bottom: 14px; }
.contact-detail svg { color: var(--blue); flex-shrink: 0; }

/* ── SERVICE / ARTICLE SUB-PAGES ── */
.service-page {}
.service-hero { padding: 60px 5% 48px; background: linear-gradient(160deg,#f0f8ff 0%,#ffffff 70%); }
.service-body-wrap { padding: 0 5% 60px; }
.service-article-body { max-width: 780px; margin: 0 auto; padding-top: 48px; }
.article-content { font-size: 17px; line-height: 1.8; color: #2d3748; }
.article-content h2 { font-size: clamp(22px,2.5vw,32px); font-weight: 800; color: var(--navy); margin: 40px 0 16px; }
.article-content h3 { font-size: clamp(18px,2vw,24px); font-weight: 700; color: var(--navy); margin: 32px 0 12px; }
.article-content p { margin-bottom: 20px; max-width: 70ch; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 4px solid var(--blue); padding: 16px 24px; background: var(--blue-light); border-radius: 0 8px 8px 0; margin: 28px 0; font-style: italic; }
.article-content img { border-radius: 12px; margin: 28px 0; }
.post-nav { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid #e2e8f0; font-weight: 600; font-size: 15px; }
.post-nav a { color: var(--blue); text-decoration: none; }
.post-nav a:hover { color: var(--blue-dark); }

/* ── SERVICE QUOTE SECTION ── */
.service-quote-section { background: var(--gray-light); padding: 80px 5%; }
.service-quote-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; max-width: 1200px; margin: 0 auto; }
.service-quote-text p { font-size: 16px; color: var(--gray); line-height: 1.7; margin-top: 12px; max-width: 400px; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 60px 5% 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-col h4 { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; margin-bottom: 12px; transition: color .2s; }
.footer-contact-item:hover { color: var(--white); }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 13px; color: rgba(255,255,255,.4); }
footer .logo-text { color: var(--white); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 900px) {
  #home, #about, #contact, .service-quote-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(4,1fr); }
  .blog-grid, .blog-archive-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 56px 5%; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hf-row { grid-template-columns: 1fr; }
  .blog-grid, .blog-archive-grid { grid-template-columns: 1fr; }
  .clients-logos { gap: 24px; }
}

/* ── LOGO IMAGE ── */
.logo-img { height: 44px; width: auto; display: block; }
.logo-icon { display: flex; align-items: center; justify-content: center; }

/* ── CLIENT LOGO BADGES ── */
.client-logo-badge {
    width: 44px; height: 44px; border-radius: 10px;
    background: #e9eef5; display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 800;
    color: #1a2a4a; letter-spacing: .03em; flex-shrink: 0;
    transition: background .2s, color .2s;
}
.client-logo:hover .client-logo-badge { background: var(--blue); color: white; }
.client-logo-badge.xcaret  { background: #f0fdf4; color: #166534; }
.client-logo-badge.cummins { background: #fff7ed; color: #9a3412; }
.client-logo-badge.crowe   { background: #fefce8; color: #854d0e; }
.client-logo { flex-direction: row; align-items: center; gap: 10px; }
.client-logo-text { font-size: 13px; font-weight: 600; color: #1a2a4a; line-height: 1.4; white-space: nowrap; }
