/*
Theme Name: Shri Ram Groups
Theme URI: https://shriramgroups.com/
Author: SHRI RAM GROUPS
Author URI: https://shriramgroups.com/
Description: Premium, lightweight and editable WordPress theme for SHRI RAM GROUPS — digital marketing, technology, branding and creative services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: shri-ram-groups
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: agency, business, digital-marketing, portfolio, services, responsive, custom-logo
*/

:root {
  --srg-navy: #0b1020;
  --srg-ink: #151827;
  --srg-muted: #667085;
  --srg-blue: #3159e8;
  --srg-purple: #7357e8;
  --srg-blue-soft: #eef2ff;
  --srg-white: #ffffff;
  --srg-bg: #f7f9fc;
  --srg-border: #e7eaf1;
  --srg-shadow: 0 20px 60px rgba(15, 23, 42, .08);
  --srg-radius: 22px;
  --srg-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--srg-ink); background: var(--srg-white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--srg-blue); }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 40px, var(--srg-container)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(231,234,241,.9); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: inline-flex; align-items: center; min-width: 0; }
.site-brand img { width: 128px; height: 64px; object-fit: contain; border-radius: 10px; }
.site-title { font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 13px; font-size: 14px; font-weight: 650; color: #313849; border-radius: 10px; }
.main-nav a:hover { background: var(--srg-blue-soft); color: var(--srg-blue); }
.main-nav .menu-item-has-children > a::after { content: "⌄"; font-size: 12px; }
.main-nav .sub-menu { display: none; position: absolute; top: calc(100% + 7px); left: 0; width: 260px; padding: 10px; background: #fff; border: 1px solid var(--srg-border); border-radius: 16px; box-shadow: var(--srg-shadow); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; border: 1px solid var(--srg-border); background: #fff; border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 750; font-size: 14px; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--srg-blue), var(--srg-purple)); box-shadow: 0 10px 24px rgba(49,89,232,.22); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(49,89,232,.28); }
.btn-secondary { color: var(--srg-ink); background: #fff; border-color: var(--srg-border); }
.btn-dark { color: #fff; background: var(--srg-navy); }
.btn-link { padding-inline: 0; min-height: 0; color: var(--srg-blue); background: transparent; }

/* Sections */
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-muted { background: var(--srg-bg); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--srg-blue); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg,var(--srg-blue),var(--srg-purple)); }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.045em; margin: 0 0 16px; }
h1 { font-size: clamp(44px, 6vw, 78px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 23px; }
p { margin: 0 0 16px; }
.lead { color: var(--srg-muted); font-size: 18px; max-width: 690px; }
.muted { color: var(--srg-muted); }
.gradient-text { background: linear-gradient(135deg,var(--srg-blue),var(--srg-purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 96px; background: radial-gradient(circle at 90% 20%, rgba(115,87,232,.13), transparent 35%), radial-gradient(circle at 10% 10%, rgba(49,89,232,.10), transparent 30%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero-copy .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel { min-height: 430px; border-radius: 30px; padding: 30px; background: linear-gradient(145deg,#10162b,#1b2550); color: #fff; position: relative; overflow: hidden; box-shadow: 0 35px 80px rgba(11,16,32,.22); }
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; border-radius: 999px; filter: blur(2px); }
.hero-panel::before { width: 250px; height: 250px; background: rgba(49,89,232,.35); top: -100px; right: -70px; }
.hero-panel::after { width: 190px; height: 190px; background: rgba(115,87,232,.30); bottom: -90px; left: -60px; }
.hero-panel-inner { position: relative; z-index: 1; display: flex; height: 100%; min-height: 370px; flex-direction: column; justify-content: space-between; }
.hero-panel .mini-label { color: #b9c4ff; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-panel h3 { font-size: 32px; max-width: 360px; margin-top: 10px; }
.metric-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.metric { padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 17px; }
.metric strong { display: block; font-size: 24px; }
.metric span { color: #c6cce0; font-size: 12px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.card { border: 1px solid var(--srg-border); border-radius: var(--srg-radius); background: #fff; padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--srg-shadow); border-color: #d8def0; }
.service-card { display: flex; flex-direction: column; min-height: 310px; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--srg-blue-soft); color: var(--srg-blue); font-weight: 850; margin-bottom: 22px; }
.service-card p { color: var(--srg-muted); font-size: 14px; }
.card-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; }
.price { font-weight: 850; color: var(--srg-ink); }
.price small { display: block; color: var(--srg-muted); font-size: 11px; font-weight: 600; }

/* Split */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 30px; }
.feature-item { padding: 20px; border: 1px solid var(--srg-border); border-radius: 17px; background: #fff; }
.feature-item strong { display: block; margin-bottom: 6px; }
.feature-item span { color: var(--srg-muted); font-size: 14px; }
.industry-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.industry-pill { border: 1px solid var(--srg-border); background: #fff; padding: 11px 15px; border-radius: 999px; color: #394150; font-size: 13px; font-weight: 700; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pricing-card { padding: 30px; border: 1px solid var(--srg-border); border-radius: 24px; background: #fff; position: relative; }
.pricing-card.featured { background: linear-gradient(145deg,#0d1430,#1c2756); color: #fff; border-color: transparent; box-shadow: 0 25px 70px rgba(13,20,48,.2); }
.pricing-card.featured .muted, .pricing-card.featured li { color: #c9d0e6; }
.pricing-card .price-large { font-size: 38px; font-weight: 900; letter-spacing: -.05em; margin: 14px 0 22px; }
.pricing-card ul { margin: 0 0 26px; padding-left: 18px; }
.pricing-card li { margin-bottom: 8px; color: var(--srg-muted); }
.badge { display: inline-flex; padding: 6px 9px; border-radius: 999px; background: var(--srg-blue-soft); color: var(--srg-blue); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--srg-border); }
.step-number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--srg-navy); color: #fff; font-size: 13px; font-weight: 800; margin-bottom: 22px; }
.step p { color: var(--srg-muted); font-size: 14px; }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.portfolio-card { overflow: hidden; border: 1px solid var(--srg-border); border-radius: 22px; background: #fff; }
.portfolio-image { aspect-ratio: 16/10; background: linear-gradient(135deg,#eef2ff,#f7f9fc); display: grid; place-items: center; color: var(--srg-muted); font-size: 13px; }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-body { padding: 22px; }
.portfolio-meta { color: var(--srg-blue); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

/* Testimonials / FAQ */
.testimonial-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.quote-card { padding: 30px; border: 1px solid var(--srg-border); border-radius: 22px; background: #fff; }
.quote-card blockquote { margin: 0 0 22px; font-size: 18px; font-weight: 650; }
.faq-list { display: grid; gap: 10px; }
details { border: 1px solid var(--srg-border); border-radius: 16px; padding: 0 20px; background: #fff; }
summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 750; }
summary::-webkit-details-marker { display:none; }
details p { padding: 0 0 18px; color: var(--srg-muted); margin: 0; }

/* CTA */
.cta { padding: 70px 0; }
.cta-box { border-radius: 30px; padding: 54px; color: #fff; background: linear-gradient(135deg,#0c1230,#26388d); display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; position: relative; }
.cta-box::after { content:""; position:absolute; width:380px; height:380px; border-radius:50%; background:rgba(115,87,232,.25); right:-160px; top:-200px; }
.cta-box > * { position:relative; z-index:1; }
.cta-box .lead { color: #cbd3ec; }

/* Inner pages */
.page-hero { padding: 82px 0 60px; background: linear-gradient(180deg,#f7f9fc 0,#fff 100%); border-bottom: 1px solid var(--srg-border); }
.breadcrumbs { color: var(--srg-muted); font-size: 13px; margin-bottom: 22px; }
.entry-content { max-width: 860px; }
.entry-content h2 { margin-top: 48px; }
.entry-content h3 { margin-top: 30px; }
.entry-content ul { padding-left: 20px; }

/* Service */
.service-hero { padding: 90px 0 70px; background: radial-gradient(circle at 85% 20%, rgba(115,87,232,.13), transparent 35%), #f7f9fc; }
.service-hero-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 50px; align-items: center; }
.service-price-box { padding: 30px; border: 1px solid var(--srg-border); border-radius: 24px; background:#fff; box-shadow: var(--srg-shadow); }
.service-price-box .price-large { font-size: 42px; font-weight: 900; letter-spacing: -.05em; margin: 8px 0 12px; }
.included-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.included-item { padding:20px; border:1px solid var(--srg-border); border-radius:17px; background:#fff; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.form-field { display:flex; flex-direction:column; gap:7px; }
.form-field.full { grid-column: 1/-1; }
.form-field label { font-size: 13px; font-weight: 750; }
.form-field input, .form-field select, .form-field textarea { width:100%; border:1px solid var(--srg-border); border-radius:12px; padding:13px 14px; outline:none; background:#fff; color:var(--srg-ink); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color:#aab7ed; box-shadow:0 0 0 4px rgba(49,89,232,.08); }
.form-field textarea { min-height: 150px; resize: vertical; }
.notice { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; background: var(--srg-blue-soft); color: #26366f; }
.contact-grid { display:grid; grid-template-columns:.7fr 1.3fr; gap:24px; }
.contact-card { padding:28px; border:1px solid var(--srg-border); border-radius:22px; background:#fff; }
.contact-list { display:grid; gap:18px; margin-top:25px; }
.contact-list a { font-weight:750; }

/* Footer */
.site-footer { margin-top: 80px; background: #0a0f20; color: #fff; padding: 70px 0 26px; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; }
.footer-brand img { width: 150px; height: 76px; object-fit: contain; border-radius:10px; margin-bottom:18px; }
.footer-brand p, .footer-col li, .footer-contact a { color:#aeb7ce; font-size:14px; }
.footer-col h4 { font-size:14px; letter-spacing:.02em; }
.footer-col ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer-contact { display:grid; gap:9px; }
.footer-bottom { margin-top:45px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); color:#8993ac; font-size:12px; display:flex; justify-content:space-between; gap:15px; }

/* WooCommerce */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius:12px; background:var(--srg-navy); color:#fff; padding:12px 18px; }

@media (max-width: 1020px) {
  .main-nav { display:none; position:absolute; left:20px; right:20px; top:78px; background:#fff; border:1px solid var(--srg-border); border-radius:18px; box-shadow:var(--srg-shadow); padding:10px; }
  .main-nav.is-open { display:block; }
  .main-nav ul { flex-direction:column; align-items:stretch; }
  .main-nav a { width:100%; }
  .main-nav .sub-menu { position:static; width:100%; box-shadow:none; border:0; padding:0 0 0 10px; }
  .main-nav .menu-item-has-children.is-open > .sub-menu { display:block; }
  .menu-toggle { display:grid; place-items:center; }
  .header-actions .btn { display:none; }
  .hero-grid, .service-hero-grid, .split, .contact-grid { grid-template-columns:1fr; }
  .hero-panel { min-height:350px; }
  .card-grid, .portfolio-grid, .pricing-grid { grid-template-columns:repeat(2,1fr); }
  .steps { grid-template-columns:repeat(2,1fr); }
  .included-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 680px) {
  .container { width:min(100% - 28px, var(--srg-container)); }
  .section { padding: 66px 0; }
  .hero { padding: 72px 0 60px; }
  h1 { font-size: 43px; }
  h2 { font-size: 34px; }
  .site-brand img { width:112px; height:58px; }
  .card-grid, .portfolio-grid, .pricing-grid, .testimonial-grid, .feature-list, .steps, .included-grid, .form-grid { grid-template-columns:1fr; }
  .cta-box { padding:34px 24px; flex-direction:column; align-items:flex-start; }
  .footer-grid { grid-template-columns:1fr; gap:30px; }
  .footer-bottom { flex-direction:column; }
  .metric-grid { grid-template-columns:1fr; }
}
