/*
Theme Name: SEO Agra Elementor
Theme URI: https://seoserviceinagra.in
Author: SEO Agra Team
Author URI: https://seoserviceinagra.in
Description: Elementor-compatible theme for SEO Agra. Lightweight blank canvas — all page content is built via Elementor. Includes full-width template support, custom fonts, and Elementor-ready CSS variables.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seo-agra
Tags: elementor, business, marketing, seo, one-page, responsive, full-width-template
*/

/* =============================================
   GLOBAL RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #1a2e6e;
  --accent:     #f97316;
  --accent2:    #0ea5e9;
  --bg:         #ffffff;
  --bg2:        #f8faff;
  --bg3:        #f0f4ff;
  --text:       #111827;
  --text2:      #4b5563;
  --text3:      #9ca3af;
  --border:     #e5e7eb;
  --radius:     12px;
  --radius-lg:  20px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* =============================================
   ELEMENTOR CANVAS — remove all page margins
   ============================================= */
.elementor-page .site-header,
.elementor-page .site-footer {
  display: none;
}

/* Full width for Elementor sections */
.elementor-section.elementor-section-stretched {
  left: 0 !important;
  width: 100% !important;
}

/* Remove WP default body padding that breaks full-width */
body.elementor-page {
  padding-top: 0 !important;
}

/* =============================================
   ELEMENTOR GLOBAL COLOURS (set these in
   Elementor → Site Settings → Global Colors)
   Primary   : #1a2e6e
   Accent    : #f97316
   Accent2   : #0ea5e9
   Text      : #111827
   Text Light: #4b5563
   ============================================= */

/* =============================================
   UTILITY CLASSES  (use in Elementor CSS classes)
   ============================================= */

/* Buttons */
.btn-primary-custom {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary-custom:hover { background: #ea6c10; transform: translateY(-2px); }

.btn-outline-custom {
  display: inline-block;
  background: transparent;
  color: var(--primary) !important;
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--primary);
  transition: all 0.2s;
}
.btn-outline-custom:hover { background: var(--primary); color: #fff !important; }

.btn-white-custom {
  display: inline-block;
  background: #fff;
  color: var(--primary) !important;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s;
}
.btn-white-custom:hover { background: #f0f4ff; }

/* Section labels */
.section-label-custom {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  background: linear-gradient(135deg, #0f1f5c 0%, #1a3a8f 50%, #0f3460 100%);
  color: #fff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.4);
  color: #fdba74;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #fb923c;
}
.hero-stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.hero-services-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.service-pill {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin: 4px;
  transition: all 0.2s;
  cursor: pointer;
}
.service-pill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.trust-icon {
  width: 20px; height: 20px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 11px;
  flex-shrink: 0;
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.service-card-custom {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.25s;
  cursor: pointer;
  height: 100%;
}
.service-card-custom:hover {
  border-color: var(--accent2);
  box-shadow: 0 8px 32px rgba(14,165,233,0.1);
  transform: translateY(-3px);
}
.service-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.icon-blue   { background: #e0f2fe; }
.icon-orange { background: #fff7ed; }
.icon-green  { background: #f0fdf4; }
.icon-purple { background: #faf5ff; }

.tag-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg3);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  margin: 3px 2px;
}

/* =============================================
   SEO PACKAGES
   ============================================= */
.pkg-card-custom {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.pkg-card-custom:hover { box-shadow: 0 8px 24px rgba(26,46,110,0.08); }
.pkg-card-custom.featured {
  border-color: var(--accent);
  background: #fff7ed;
}
.pkg-name { font-weight: 700; color: var(--primary); font-size: 16px; }
.pkg-price { font-size: 26px; font-weight: 800; color: var(--accent); margin: 6px 0; }
.pkg-price span { font-size: 13px; color: var(--text3); font-weight: 400; }
.pkg-features { list-style: none; margin-top: 12px; }
.pkg-features li {
  font-size: 13px;
  color: var(--text2);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.pkg-features li::before { content: '✓'; position: absolute; left: 0; color: #10b981; font-weight: 700; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-card-custom {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s;
}
.why-card-custom:hover { box-shadow: 0 8px 24px rgba(26,46,110,0.08); }
.why-num { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 800; color: var(--accent); line-height: 1; }

/* =============================================
   WEBSITE DEV CARDS
   ============================================= */
.dev-card-dark {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
}
.dev-card-light {
  background: var(--bg3);
  color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
}
.dev-list-custom { list-style: none; margin-top: 14px; }
.dev-list-custom li {
  font-size: 14px;
  padding: 5px 0 5px 20px;
  position: relative;
  opacity: 0.85;
}
.dev-list-custom li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* =============================================
   CASE STUDY CARDS
   ============================================= */
.case-card-custom {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.case-card-custom:hover { box-shadow: 0 12px 32px rgba(26,46,110,0.1); }
.case-top-custom {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  padding: 24px;
  color: #fff;
}
.case-industry {
  font-size: 12px; font-weight: 600;
  opacity: 0.7; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 6px;
}
.result-val { font-size: 26px; font-weight: 800; color: var(--accent); }
.result-key { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* =============================================
   BLOG CARDS
   ============================================= */
.blog-card-custom {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  height: 100%;
}
.blog-card-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26,46,110,0.1);
  border-color: var(--accent2);
}
.blog-thumb-custom {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.blog-cat-badge {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  background: var(--bg3); color: var(--primary);
  padding: 3px 10px; border-radius: 100px;
}
.blog-date-text { font-size: 12px; color: var(--text3); }
.blog-read-link {
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px;
}
.blog-read-link:hover { color: #ea6c10; }

/* =============================================
   FAQ ACCORDION
   ============================================= */
.faq-item-custom {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.faq-q-custom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  gap: 16px;
  transition: background 0.2s;
}
.faq-q-custom:hover { background: var(--bg3); }
.faq-q-custom span {
  font-size: 15px; font-weight: 600;
  color: var(--primary); line-height: 1.4;
}
.faq-icon-custom {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s, background 0.25s;
}
.faq-item-custom.open .faq-icon-custom {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}
.faq-answer-custom {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item-custom.open .faq-answer-custom { max-height: 300px; }
.faq-answer-inner {
  padding: 14px 20px 18px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-icon-box {
  width: 44px; height: 44px;
  background: var(--bg3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.free-offer-box {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 20px;
  color: #fff;
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.float-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
}
.float-wa-btn {
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s;
  text-decoration: none;
}
.float-wa-btn:hover { transform: scale(1.05); color: #fff; }

/* =============================================
   ELEMENTOR OVERRIDES
   — Remove default Elementor widget margins
     where they conflict with our design
   ============================================= */
.elementor-widget-wrap > .elementor-element { margin-bottom: 0; }
.elementor-widget:not(:last-child) { margin-bottom: 0; }

/* Ensure Elementor sections are truly full width */
.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1100px;
}

/* =============================================
   RESPONSIVE HELPERS
   ============================================= */
@media (max-width: 768px) {
  .hero-section { padding: 50px 0 60px; }
  .hero-services-card { display: none; }
}
