/*
Theme Name: Avyay Digital V3.1 – OceanWP Child
Theme URI: https://avyaydigital.com/
Description: Avyay Digital V2 conversion-focused OceanWP child theme with automatic mapping for existing WordPress pages.
Author: Avyay Digital
Author URI: https://avyaydigital.com/
Template: oceanwp
Version: 3.1.0
Text Domain: avyay-digital-v2
*/

/* WordPress/OceanWP reset for Avyay full-width templates */
html, body { margin: 0; }
body.avyay-custom-page #page,
body.avyay-custom-page #outer-wrap,
body.avyay-custom-page #wrap,
body.avyay-custom-page #main,
body.avyay-custom-page #content-wrap,
body.avyay-custom-page #primary,
body.avyay-custom-page .content-area { max-width:none; width:100%; padding:0; margin:0; display:block; }
body.avyay-custom-page #site-header,
body.avyay-custom-page #footer-widgets,
body.avyay-custom-page #footer-bottom,
body.avyay-custom-page .page-header { display:none !important; }

/* Refined typography: classic, restrained and readable */
:root { --nav-h: 68px; }
body { font-family: 'Poppins', Arial, sans-serif; font-size: 15.5px; line-height: 1.7; }
h1,h2,h3,h4,h5,h6,.logo,.btn { font-family: 'Poppins', Arial, sans-serif; letter-spacing: -0.015em; }
h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.15; }
h2 { font-size: clamp(27px, 3.3vw, 42px); line-height: 1.22; }
h3 { font-size: clamp(20px, 2.2vw, 28px); }
h4 { font-size: clamp(17px, 1.7vw, 21px); }
.hero-title { font-size: clamp(36px, 4.7vw, 58px) !important; }
.page-hero h1, .svc-hero h1 { font-size: clamp(32px, 4vw, 50px) !important; }
.subtitle, .hero-desc { font-size: clamp(14.5px, 1.25vw, 17px); }
.section { padding: 82px 0; }
.section-lg { padding: 96px 0; }
.section-sm { padding: 60px 0; }

/* Header and supplied logo */
.avyay-site-header { position: relative; z-index: 1100; }
.avyay-logo { display:flex; align-items:center; flex-shrink:0; margin-right:34px; }
.avyay-logo img { width:auto; height:50px; max-width:158px; object-fit:contain; border-radius:4px; }
.nav-inner { min-height: var(--nav-h); }
.nav-links>a,.nav-item>a { font-size:13px; padding:8px 11px; }
.nav-cta .btn { font-size:12.5px; padding:8px 14px; }

/* Logo-colour alignment */
:root {
  --blue:#1F80FF;
  --blue-l:#4B9DFF;
  --cyan:#008EAA;
  --cyan-d:#00768E;
  --grad:linear-gradient(135deg,#1F80FF 0%,#008EAA 100%);
  --grad-r:linear-gradient(135deg,#008EAA 0%,#1F80FF 100%);
}

/* Contact Form 7 integration */
.avyay-cf7-wrap .wpcf7-form p { margin:0 0 15px; }
.avyay-cf7-wrap label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; }
.avyay-cf7-wrap input:not([type=submit]), .avyay-cf7-wrap select, .avyay-cf7-wrap textarea {
  width:100%; border:1px solid rgba(0,87,184,.18); border-radius:8px; padding:12px 14px;
  background:#fff; color:#0D1B3E; font-family:'Poppins',sans-serif;
}
.avyay-cf7-wrap textarea { min-height:125px; resize:vertical; }
.avyay-cf7-wrap input[type=submit] { border:0; border-radius:8px; padding:13px 24px; font-weight:600; color:#fff; background:var(--grad); cursor:pointer; }
.avyay-cf7-wrap .wpcf7-spinner { margin-top:10px; }

@media (max-width:1100px){ .nav-links,.nav-cta{display:none}.hamburger{display:flex}.avyay-logo img{height:46px}.nav-inner{padding:0 22px} }
@media (max-width:767px){
 body{font-size:14.5px}.section{padding:64px 0}.section-lg{padding:72px 0}.section-sm{padding:48px 0}
 h1{font-size:clamp(30px,9vw,42px)} h2{font-size:clamp(25px,7vw,34px)}
 .hero-title{font-size:clamp(32px,9.5vw,44px)!important}.avyay-logo img{height:42px;max-width:138px}
}


/* ============================================================
   AVYAY DIGITAL V3 — PREMIUM AGENCY REFINEMENTS
   ============================================================ */
:root { --nav-h: 76px; }

/* Larger logo; navigation and CTAs grouped on the right */
.nav-inner { max-width: 1480px; padding-inline: 28px; }
.avyay-logo { margin-right: auto; }
.avyay-logo img { height: 64px; max-width: 220px; }
.nav-links { flex: 0 1 auto; margin-left: auto; gap: 3px; }
.nav-links > a, .nav-item > a { font-size: 15px; padding: 9px 12px; }
.nav-cta { margin-left: 16px; gap: 10px; }
.nav-cta .btn { font-size: 13.5px; padding: 9px 16px; }

/* Premium visual rhythm inspired by modern agency sites */
.section { padding-block: 92px; }
.section-light { background: #F6F8FC; }
.svc-card, .ind-card, .case-card, .testi-card { box-shadow: 0 12px 35px rgba(15, 33, 63, .06); }
.section-light .svc-card, .section-light .ind-card, .section-light .testi-card, .section-light .blog-card { border-color: rgba(10,120,232,.11); }
.hero-dash { border-radius: 28px; padding: 30px; background: #132D52; }
.hero-results-card .kpi-card { background: #102849; }
.hero-results-card .kpi-trend { font-size: 11px; color: #52D9B0; }
.hero-results-card .dash-period { white-space: nowrap; }
.hero-results-card .dash-footer { color: #B9CBE0; }
.hero-results-card .ch-row { grid-template-columns: 120px 1fr 42px; }
.hero-stats { gap: 25px; }
.hstat-n { min-width: 62px; }
.case-res { grid-template-columns: repeat(2, minmax(0,1fr)); }
.case-rn { font-size: 24px; }

/* Contact Form 7 acceptance checkbox — prevent full-width stretching */
.avyay-cf7-wrap .wpcf7-acceptance { display:block; margin:4px 0 18px; }
.avyay-cf7-wrap .wpcf7-acceptance label { display:flex; align-items:flex-start; gap:10px; margin:0; cursor:pointer; font-size:13px; font-weight:500; line-height:1.55; color:#526782; }
.avyay-cf7-wrap .wpcf7-acceptance input[type="checkbox"] { appearance:auto; -webkit-appearance:checkbox; width:16px !important; min-width:16px !important; max-width:16px !important; height:16px !important; min-height:16px !important; margin:3px 0 0 !important; padding:0 !important; border-radius:3px !important; box-shadow:none !important; flex:0 0 16px; }
.avyay-cf7-wrap .wpcf7-list-item { margin:0; }
.avyay-cf7-wrap .wpcf7-list-item-label { display:inline; }

@media (max-width: 1200px) {
  .nav-links > a, .nav-item > a { font-size: 14px; padding-inline: 9px; }
  .nav-cta .btn { padding-inline: 12px; }
}
@media (max-width: 1100px) {
  .avyay-logo img { height: 54px; max-width: 185px; }
}
@media (max-width: 767px) {
  :root { --nav-h: 68px; }
  .avyay-logo img { height: 48px; max-width: 165px; }
  .hero-results-card .ch-row { grid-template-columns: 105px 1fr 38px; }
}


/* ============================================================
   AVYAY DIGITAL V3.1 — TRUST BAR UPDATE
   Biryaniwaala removed; Navinyasa Technologies logo added.
   ============================================================ */
.clients-bar .mq-track { align-items: center; }
.clients-bar .c-item-logo {
  min-width: 190px;
  min-height: 58px;
  padding: 8px 30px;
  justify-content: center;
}
.clients-bar .client-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 165px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.65) contrast(.8);
  opacity: .78;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.clients-bar .c-item-logo:hover .client-logo,
.clients-bar .c-item-logo:focus-visible .client-logo {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
@media (max-width: 767px) {
  .clients-bar .c-item-logo { min-width: 165px; padding-inline: 22px; }
  .clients-bar .client-logo { height: 34px; max-width: 145px; }
}
