/*
Theme Name:  Digitalingokak Business Solutions
Theme URI:   https://marketing.digitalingokak.co.in
Author:      Digitalingokak Team
Author URI:  https://digitalingokak.co.in
Description: Professional WordPress theme for Digitalingokak Business Solutions. Includes homepage, all 6 service pages, pricing, portfolio and contact. WhatsApp-first design for local businesses in Belgaum & Gokak.
Version:     1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalingokak
Tags:        business, one-page, custom-colors, custom-logo, full-width-template, mobile-first

================================================================
MASTER THEME CONFIG — CHANGE EVERYTHING HERE
================================================================
To change colors:     Edit the :root variables below
To change phone:      Search and replace 917022199049
To change domain:     Search and replace digitalingokak.co.in
To change prices:     Search for the price (₹999 etc.) and edit
================================================================
*/

/* ================================================================
   !! CHANGE YOUR COLORS HERE — applies to the whole site !!
   ================================================================ */
:root {
  --primary:        #1a56db;   /* Main blue — navbar, hero, buttons      */
  --primary-dark:   #1e40af;   /* Hover / darker shade                   */
  --primary-light:  #eff6ff;   /* Light tint — section backgrounds       */
  --accent:         #f59e0b;   /* Gold — badges, stars, highlights       */
  --wa:             #25d366;   /* WhatsApp green — keep this!            */
  --wa-dark:        #1da855;
  --text:           #1e293b;
  --text-muted:     #64748b;
  --text-light:     #94a3b8;
  --bg-white:       #ffffff;
  --bg-light:       #f8faff;
  --bg-dark:        #0f172a;   /* Footer background                      */
  --bg-cta:         #1e293b;   /* Final CTA section                      */
  --border:         #e2e8f0;

  --font-head:      'Poppins', sans-serif;
  --font-body:      'DM Sans', sans-serif;

  --pad-section:    80px;
  --pad-hero:       110px;
  --pad-x:          60px;
  --radius-card:    16px;
  --radius-btn:     10px;
  --radius-pill:    100px;

  --shadow-card:    0 2px 12px rgba(30,41,59,.07);
  --shadow-hover:   0 8px 28px rgba(26,86,219,.14);
  --shadow-float:   0 4px 20px rgba(37,211,102,.45);
}

/* ================================================================
   BASE RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ================================================================
   WORDPRESS CORE OVERRIDES
   ================================================================ */
.wp-block-image img { border-radius: var(--radius-card); }
.alignwide { max-width: 1200px; }
.alignfull { max-width: 100%; }
.site-content { min-height: 60vh; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }
.section { padding: var(--pad-section) 0; }
.section-white   { background: var(--bg-white); }
.section-light   { background: var(--bg-light); }
.section-blue    { background: var(--primary); }
.section-dark    { background: var(--bg-cta); }
.section-demo    { background: var(--primary-light); }
.section-testi   { background: var(--bg-light); }
.section-problem { background: #fff3cd; border-bottom: 1px solid #fde68a; }
.section-solution{ background: #f0fdf4; border-bottom: 1px solid #bbf7d0; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.label-gold   { background: #fef3c7; color: #92400e; }
.label-green  { background: #dcfce7; color: #166534; }
.label-white  { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(26px,4vw,36px); font-weight: 700;
  color: var(--text); line-height: 1.22; margin-bottom: 14px;
}
.section-sub {
  font-size: 17px; color: var(--text-muted);
  line-height: 1.7; max-width: 580px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; font-family: var(--font-body); font-weight: 600;
  border-radius: var(--radius-btn); transition: all .15s;
  cursor: pointer; border: none; white-space: nowrap;
  text-decoration: none;
}
.btn-wa             { background: var(--wa); color: #fff; padding: 14px 28px; font-size: 15px; }
.btn-wa:hover       { background: var(--wa-dark); transform: translateY(-1px); color: #fff; }
.btn-wa svg         { width: 20px; height: 20px; flex-shrink: 0; fill: #fff; }
.btn-primary        { background: var(--primary); color: #fff; padding: 13px 26px; font-size: 15px; }
.btn-primary:hover  { background: var(--primary-dark); transform: translateY(-1px); color: #fff; }
.btn-outline        { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 12px 24px; font-size: 15px; }
.btn-outline:hover  { background: var(--primary); color: #fff; }
.btn-outline-white  { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); padding: 12px 24px; font-size: 15px; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-lg             { padding: 16px 32px; font-size: 17px; }
.btn-full           { width: 100%; }

/* ================================================================
   NAVBAR
   ================================================================ */
.site-header, .navbar {
  position: sticky; top: 0; z-index: 999;
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(26,86,219,.18);
  transition: box-shadow .2s;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0 var(--pad-x); height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-branding a, .nav-logo {
  font-family: var(--font-head); font-size: 17px; font-weight: 700;
  color: #fff; letter-spacing: -.3px; text-decoration: none;
}
.site-branding a span, .nav-logo span { font-size: 12px; font-weight: 400; opacity: .6; margin-left: 4px; }
.custom-logo { height: 48px; width: auto; object-fit: contain; } /* ← Logo image height */
.main-navigation ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-navigation ul li a {
  color: rgba(255,255,255,.82); font-size: 13.5px; font-weight: 500;
  padding: 7px 11px; border-radius: 7px; transition: all .12s; display: block;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { background: rgba(255,255,255,.14); color: #fff; }
.nav-wa-btn { background: var(--wa) !important; color: #fff !important; padding: 8px 18px !important; border-radius: 8px !important; font-weight: 600 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border-radius: 6px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .2s; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: var(--primary); padding: var(--pad-hero) 0;
  position: relative; overflow: hidden;
}
.hero-deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.042); pointer-events: none; }
.hero-deco-1 { width: 520px; height: 520px; top: -180px; right: -90px; }
.hero-deco-2 { width: 300px; height: 300px; bottom: -80px; left: -60px; }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hero-text   { max-width: 580px; }
.hero-badge  { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500; padding: 6px 16px; border-radius: var(--radius-pill); margin-bottom: 20px; }
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); flex-shrink: 0; }
.hero h1 { font-family: var(--font-head); font-size: clamp(32px,5vw,52px); font-weight: 800; color: #fff; line-height: 1.12; letter-spacing: -.5px; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub  { font-size: 18px; color: rgba(255,255,255,.82); line-height: 1.65; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,.8); }
.trust-check { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 10px; color: #fff; flex-shrink: 0; }
.hero-visual { flex-shrink: 0; }
.phone-frame { width: 220px; background: #fff; border-radius: 36px; padding: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.28); position: relative; }
.phone-screen { border-radius: 26px; overflow: hidden; min-height: 360px; background: var(--primary-light); }

/* ================================================================
   CARDS
   ================================================================ */
.card {
  background: var(--bg-white); border-radius: var(--radius-card);
  border: 1px solid var(--border); padding: 28px;
  transition: border-color .18s, transform .18s, box-shadow .18s;
  position: relative;
}
.card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.card-title { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.card-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.card-link  { font-size: 13px; color: var(--primary); font-weight: 500; margin-top: 14px; display: inline-block; }
.card-problem  { border-left: 4px solid #ef4444; }
.card-solution { border-left: 4px solid #16a34a; }
.card-solution:hover { box-shadow: 0 6px 24px rgba(22,163,74,.12); }
.feat-card { background: var(--bg-light); border-radius: var(--radius-card); padding: 26px 22px; border: 1px solid var(--border); position: relative; overflow: hidden; transition: border-color .18s, transform .18s; }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.feat-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.feat-card:hover::before { transform: scaleX(1); }

/* ================================================================
   GRIDS
   ================================================================ */
.grid-auto-260 { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 20px; }
.grid-auto-220 { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 20px; }
.grid-auto-280 { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 20px; }
.grid-auto-200 { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; }
.two-col       { display: flex; align-items: center; gap: 60px; }
.two-col > *   { flex: 1; }
.col-shrink    { flex: 0 0 auto !important; }
.mt-36 { margin-top: 36px; }
.mt-48 { margin-top: 48px; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ================================================================
   PRICING CARD
   ================================================================ */
.pricing-section { position: relative; overflow: hidden; }
.pricing-section::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: rgba(255,255,255,.035); top: -200px; right: -100px; pointer-events: none; }
.pricing-card { background: var(--bg-white); border-radius: 20px; padding: 36px 32px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.2); position: relative; }
.pricing-badge-pop { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 5px 16px; border-radius: var(--radius-pill); white-space: nowrap; box-shadow: 0 4px 12px rgba(245,158,11,.38); }
.price-label  { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.price-amount { font-family: var(--font-head); font-size: 54px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.price-note-box { background: var(--bg-light); border-radius: 10px; padding: 10px 14px; font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 22px; }
.price-features { display: flex; flex-direction: column; gap: 11px; margin: 24px 0; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.88); list-style: none; }
.price-features li::before { content: '✓'; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; flex-shrink: 0; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testi-card       { background: var(--bg-white); border-radius: var(--radius-card); padding: 28px; border: 1px solid var(--border); }
.testi-quote-mark { font-size: 44px; color: var(--primary-light); font-family: Georgia,serif; line-height: 0; margin-bottom: 14px; display: block; }
.testi-stars      { color: var(--accent); font-size: 15px; margin-bottom: 10px; }
.testi-text       { font-size: 14px; color: var(--text-muted); line-height: 1.75; font-style: italic; margin-bottom: 16px; }
.testi-author     { display: flex; align-items: center; gap: 12px; }
.testi-avatar     { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.testi-name       { font-size: 14px; font-weight: 600; color: var(--text); }
.testi-role       { font-size: 12px; color: var(--text-muted); }

/* ================================================================
   STEPS (How it works)
   ================================================================ */
.step-item { display: flex; align-items: center; gap: 14px; background: var(--bg-white); border-radius: 12px; padding: 14px 18px; border: 1px solid var(--border); margin-bottom: 12px; }
.step-num  { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-text { font-size: 14px; color: var(--text); font-weight: 500; }

/* ================================================================
   URL PREVIEW BOX
   ================================================================ */
.url-box       { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-white); border: 1.5px solid var(--primary); border-radius: 10px; padding: 11px 16px; margin-top: 18px; }
.url-box-text  { font-family: monospace; font-size: 12px; color: var(--primary); font-weight: 600; }
.url-box-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer, .footer { background: var(--bg-dark); color: rgba(255,255,255,.68); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 48px; }
.footer-logo-name { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: #fff; display: block; margin-bottom: 10px; }
.footer-tagline   { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
.footer-social    { display: flex; gap: 8px; }
.social-icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 14px; transition: background .13s; }
.social-icon:hover { background: var(--primary); }
.footer-col h4 { font-family: var(--font-head); font-size: 12px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.58); transition: color .12s; }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; margin-bottom: 10px; }
.footer-contact-item a { color: rgba(255,255,255,.65); transition: color .12s; }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.38); }

/* ================================================================
   STICKY WA FLOAT BUTTON
   ================================================================ */
.wa-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-float); z-index: 9998; transition: transform .18s; }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp .55s ease forwards; }
.d1{animation-delay:.10s;opacity:0} .d2{animation-delay:.22s;opacity:0}
.d3{animation-delay:.34s;opacity:0} .d4{animation-delay:.46s;opacity:0}
.d5{animation-delay:.58s;opacity:0} .d6{animation-delay:.70s;opacity:0}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:960px) {
  :root { --pad-section:60px; --pad-hero:80px; --pad-x:28px; }
  .two-col,.hero-inner { flex-direction:column; gap:40px; }
  .hero-visual { order:-1; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .phone-frame { width:180px; }
}
@media (max-width:620px) {
  :root { --pad-x:20px; }
  .main-navigation,.nav-links { display:none; }
  .hamburger { display:flex; }
  .main-navigation.open,.nav-links.open { display:flex; flex-direction:column; position:absolute; top:64px; left:0; right:0; background:var(--primary-dark); padding:16px; gap:4px; z-index:100; }
  .hero-btns,.hero-trust { flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .grid-auto-260,.grid-auto-220 { grid-template-columns:1fr; }
}
