/* ==========================================================================
   Arvee International — Theme styles
   ========================================================================== */

:root {
  --c-primary: #0B3A63;
  --c-secondary: #164E80;
  --c-accent: #F59E0B;
  --c-bg: #FFFFFF;
  --c-light: #F5F7FA;
  --c-text: #333333;
  --c-muted: #6B7280;
  --c-border: #E5E7EB;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(11,58,99,.06), 0 1px 3px rgba(11,58,99,.08);
  --shadow-md: 0 8px 24px rgba(11,58,99,.08);
  --shadow-lg: 0 20px 48px rgba(11,58,99,.12);
  --container: 1200px;
  --transition: 220ms ease;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--c-primary); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width:1px; height:1px; overflow:hidden; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-primary); color: #fff; padding: 10px 16px; z-index: 9999; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-secondary); color: #fff; }
.btn-accent { background: var(--c-accent); color: #1a1a1a; }
.btn-accent:hover { background: #d97706; color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: #fff; color: var(--c-primary); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 20px; }
.site-title-link { text-decoration: none; }
.site-title { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--c-primary); letter-spacing: .02em; }
.main-navigation .primary-menu { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.main-navigation a { display: block; padding: 8px 14px; color: var(--c-primary); font-weight: 500; border-radius: 8px; }
.main-navigation a:hover { background: var(--c-light); color: var(--c-secondary); }
.header-cta { padding: 10px 20px; }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; cursor: pointer; }
.menu-toggle-bar { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--c-primary); transition: transform var(--transition), top var(--transition); }
.menu-toggle-bar:nth-child(1) { top: 14px; }
.menu-toggle-bar:nth-child(2) { top: 19px; }
.menu-toggle-bar:nth-child(3) { top: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,58,99,.55), rgba(11,58,99,.75)),
    url('https://images.unsplash.com/photo-1494412651409-8963ce7935a7?auto=format&fit=crop&w=1920&q=70') center/cover no-repeat;
  transform: scale(1.05);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 20% 30%, rgba(245,158,11,.18), transparent 60%);
}
.hero-inner { position: relative; padding: 96px 20px; max-width: 900px; }
.hero-eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.hero-title { color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: 1.15rem; max-width: 720px; opacity: .95; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@keyframes hero-zoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--c-light); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-eyebrow { color: var(--c-accent); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.section-title { margin-top: 8px; }
.section-lead { color: var(--c-muted); font-size: 1.05rem; }

/* About */
.about-grid { display: grid; gap: 48px; grid-template-columns: 1.2fr 1fr; align-items: start; }
.meta-card { background: #fff; border: 1px solid var(--c-border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.meta-card h3 { color: var(--c-secondary); }

/* Cards grid (why choose) */
.cards-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 16px;
}
.card h3 { color: var(--c-primary); margin-bottom: 8px; }
.card p { color: var(--c-muted); margin: 0; }

/* Services */
.services-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.service-card {
  padding: 24px; border-radius: 14px; background: #fff; border: 1px solid var(--c-border);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-secondary));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 1.05rem; }
.service-card p { color: var(--c-muted); font-size: .95rem; margin: 0; }

/* Industries */
.industries-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.industry-chip {
  padding: 18px 22px; background: #fff; border: 1px solid var(--c-border); border-radius: 12px;
  text-align: center; font-weight: 600; color: var(--c-primary);
  transition: all var(--transition);
}
.industry-chip:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-2px); }

/* Stats */
.section-stats { background: linear-gradient(135deg, var(--c-primary), var(--c-secondary)); color: #fff; padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--c-accent); }
.stat-label { font-size: 1rem; letter-spacing: .04em; }

/* Network */
.network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.network-list { padding-left: 18px; color: var(--c-muted); }
.map-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.world-map { width: 100%; display: block; height: auto; }
.pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 0 rgba(245,158,11,.6); animation: pulse 2s infinite; }
.pin:nth-child(3) { animation-delay: .4s; }
.pin:nth-child(4) { animation-delay: .8s; }
.pin:nth-child(5) { animation-delay: 1.2s; }
.pin:nth-child(6) { animation-delay: 1.6s; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,158,11,.6); } 70% { box-shadow: 0 0 0 16px rgba(245,158,11,0); } 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); } }

/* Process */
.process-steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step { background: #fff; padding: 24px; border-radius: 14px; border: 1px solid var(--c-border); position: relative; box-shadow: var(--shadow-sm); }
.step-num { display: inline-block; font-family: var(--font-head); font-weight: 800; color: var(--c-accent); font-size: 1.5rem; margin-bottom: 10px; }
.process-step h3 { font-size: 1rem; }
.process-step p { color: var(--c-muted); font-size: .9rem; margin: 0; }

/* Testimonials */
.testimonials-slider { max-width: 820px; margin: 0 auto; text-align: center; position: relative; min-height: 220px; }
.testimonial { display: none; margin: 0; padding: 32px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }
.testimonial.is-active { display: block; animation: fade .5s ease; }
.testimonial p { font-size: 1.1rem; color: var(--c-text); }
.testimonial cite { color: var(--c-secondary); font-style: normal; font-weight: 600; }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #cbd5e1; cursor: pointer; }
.slider-dots button.is-active { background: var(--c-primary); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* FAQ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; margin-bottom: 12px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--c-primary); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--c-accent); transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--c-muted); padding: 0 0 16px; margin: 0; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: #fff; border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--c-light); }
.news-thumb.placeholder { background: linear-gradient(135deg, #dbe6f2, #eef3fb); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 22px; }
.news-body time { color: var(--c-muted); font-size: .82rem; }
.news-body h2, .news-body h3 { margin: 6px 0 8px; font-size: 1.1rem; }
.news-body h2 a, .news-body h3 a { color: var(--c-primary); }
.news-body p { color: var(--c-muted); font-size: .95rem; }
.read-more { font-weight: 600; }

/* Newsletter */
.section-newsletter { padding: 56px 0; background: linear-gradient(135deg, var(--c-secondary), var(--c-primary)); color: #fff; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.newsletter-inner h2 { color: #fff; margin: 0 0 6px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input { flex: 1 1 220px; padding: 12px 16px; border-radius: 999px; border: 0; font-size: 1rem; }
.newsletter-msg { display: block; width: 100%; font-size: .9rem; opacity: .9; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.contact-card { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 18px; box-shadow: var(--shadow-sm); }
.contact-card h4 { color: var(--c-secondary); margin: 0 0 6px; font-size: .95rem; }
.contact-card p { margin: 0; color: var(--c-text); font-size: .95rem; }
.map-placeholder { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--c-border); }
.contact-form-wrap { background: #fff; padding: 32px; border-radius: 16px; box-shadow: var(--shadow-md); border: 1px solid var(--c-border); }
.arvee-contact-form label { display: block; }
.arvee-contact-form label.block { display: block; }
.arvee-contact-form label > span { display: block; font-weight: 600; margin-bottom: 6px; color: var(--c-primary); font-size: .9rem; }
.arvee-contact-form input, .arvee-contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--c-border);
  font: inherit; color: var(--c-text); background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.arvee-contact-form input:focus, .arvee-contact-form textarea:focus {
  outline: none; border-color: var(--c-secondary); box-shadow: 0 0 0 3px rgba(22,78,128,.12);
}
.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: .95rem; }
.form-msg-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-msg-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Blog pages */
.page-hero { background: var(--c-light); padding: 64px 0 40px; }
.page-hero .page-title { color: var(--c-primary); }
.page-hero .page-lead { color: var(--c-muted); }
.page-wrap { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
.page-wrap.has-sidebar { grid-template-columns: minmax(0, 2.4fr) minmax(260px, 1fr); }
.page-main.full { max-width: 820px; margin: 0 auto; }
.widget-area { background: var(--c-light); padding: 24px; border-radius: 14px; }
.widget-title { color: var(--c-primary); font-family: var(--font-head); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }

.breadcrumbs { font-size: .85rem; color: var(--c-muted); margin-bottom: 20px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--c-border); }

.entry-title { color: var(--c-primary); }
.entry-thumbnail { margin: 20px 0; border-radius: 14px; overflow: hidden; }
.entry-meta { color: var(--c-muted); font-size: .9rem; margin-bottom: 12px; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }

/* Comments */
.comments-area { margin-top: 48px; }
.comments-title { color: var(--c-primary); }
.comment-list { list-style: none; padding: 0; }
.comment-body { border: 1px solid var(--c-border); padding: 20px; border-radius: 12px; margin-bottom: 14px; }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-field { flex: 1; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--c-border); }
.search-submit { padding: 10px 20px; }

/* 404 */
.error-404 { text-align: center; padding: 120px 0; }
.error-404 .huge { font-size: clamp(5rem, 14vw, 9rem); color: var(--c-primary); margin: 0; line-height: 1; }
.mt-2 { margin-top: 20px; display: flex; justify-content: center; }

/* Footer */
.site-footer { background: #071f36; color: #d5dee8; padding: 72px 0 0; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { color: #fff; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 12px; }
.footer-col h4.widget-title { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #d5dee8; }
.footer-links a:hover { color: var(--c-accent); }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: .85rem; }
.footer-social a:hover { background: var(--c-accent); color: #1a1a1a; }
.footer-address { color: #d5dee8; font-style: normal; line-height: 1.7; }
.footer-address a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-legal { list-style: none; display: flex; gap: 16px; padding: 0; margin: 0; font-size: .9rem; }
.footer-legal a { color: #d5dee8; }
.footer-legal a:hover { color: var(--c-accent); }
.site-copyright { font-size: .9rem; margin: 0; }

/* Floating buttons */
.back-to-top, .sticky-contact {
  position: fixed; right: 20px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 90; transition: transform var(--transition), background var(--transition);
}
.back-to-top { bottom: 78px; opacity: 0; pointer-events: none; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover, .sticky-contact:hover { background: var(--c-accent); color: #1a1a1a; transform: translateY(-3px); }
.sticky-contact { bottom: 20px; font-size: 1.2rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .network-grid, .contact-grid, .newsletter-inner { grid-template-columns: 1fr; }
  .page-wrap.has-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .menu-toggle { display: block; }
  .main-navigation .primary-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #fff; border-top: 1px solid var(--c-border);
    padding: 12px 20px; display: none;
  }
  .main-navigation.is-open .primary-menu { display: flex; }
  .header-cta { display: none; }
  .cards-grid, .services-grid, .industries-grid, .stats-grid, .news-grid, .process-steps, .contact-cards, .form-row.two, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
