/*
Theme Name: Astrologer & Psychic Prasad – Augury Child
Theme URI: https://example.com/
Author: OpenAI for Astrologer & Psychic Prasad
Description: A customized child theme for the Augury WordPress theme, designed for Astrologer & Psychic Prasad in Winnipeg, Manitoba.
Template: augury
Version: 1.0.0
Text Domain: prasad-augury
License: GNU General Public License v2 or later
*/

:root {
  --ap-bg: #080715;
  --ap-bg-soft: #111027;
  --ap-panel: rgba(21, 19, 49, .92);
  --ap-purple: #6f3ca8;
  --ap-purple-bright: #9a65d0;
  --ap-gold: #e7bd62;
  --ap-gold-soft: #f8e2a4;
  --ap-cream: #fff8e8;
  --ap-text: #f9f3ff;
  --ap-muted: #c8bfd7;
  --ap-line: rgba(231, 189, 98, .25);
  --ap-shadow: 0 24px 70px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ap-prasad-theme {
  margin: 0;
  color: var(--ap-text);
  background: var(--ap-bg);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
body.ap-prasad-theme img { max-width: 100%; height: auto; }
body.ap-prasad-theme a { color: inherit; }
body.ap-prasad-theme .wrapper,
body.ap-prasad-theme .inner-wrapper { overflow: visible; }
.ap-container { width: min(1180px, 92%); margin: 0 auto; }
.ap-section { padding: 92px 0; position: relative; }
.ap-section--soft { background: linear-gradient(180deg, #111027 0%, #0a091a 100%); }
.ap-section--cream { background: var(--ap-cream); color: #231637; }
.ap-grid { display: grid; gap: 28px; }
.ap-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-eyebrow { margin: 0 0 12px; color: var(--ap-gold); font-size: 13px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.ap-section--cream .ap-eyebrow { color: #7f3e9f; }
.ap-title, .ap-page-title, .ap-hero h1, .ap-section h2, .ap-card h3 {
  font-family: Georgia, 'Times New Roman', serif;
}
.ap-section h2 { margin: 0 0 20px; font-size: clamp(36px, 5vw, 58px); line-height: 1.06; }
.ap-section-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.ap-section-heading p:last-child { color: var(--ap-muted); font-size: 18px; line-height: 1.7; }
.ap-section--cream .ap-section-heading p:last-child { color: #6d5f77; }
.ap-lead { font-size: 19px; line-height: 1.75; color: var(--ap-muted); }
.ap-section--cream .ap-lead { color: #62536d; }
.ap-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 13px 24px; border-radius: 999px;
  background: linear-gradient(135deg, #9b61ce, #633590);
  color: #fff !important; text-decoration: none !important; font-weight: 800;
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 32px rgba(78,33,119,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ap-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(78,33,119,.48); }
.ap-btn--gold { background: linear-gradient(135deg, #f0cd78, #b78029); color: #25152e !important; }
.ap-btn--outline { background: transparent; border-color: rgba(255,255,255,.55); box-shadow: none; }
.ap-btn--small { min-height: 42px; padding: 9px 17px; font-size: 14px; }
.ap-button-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.ap-topbar { background: #05040d; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 13px; color: #d8d0e4; }
.ap-topbar .ap-container { min-height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.ap-topbar a { color: var(--ap-gold-soft); font-weight: 700; text-decoration: none; }
.ap-header { position: sticky; top: 0; z-index: 999; background: rgba(8,7,21,.94); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.ap-header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.ap-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.ap-brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--ap-line); border-radius: 50%; background: radial-gradient(circle, rgba(231,189,98,.22), transparent 65%); color: var(--ap-gold); font-size: 23px; }
.ap-brand-text strong { display: block; font: 700 19px/1.05 Georgia, serif; }
.ap-brand-text span { display: block; margin-top: 4px; color: var(--ap-gold-soft); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.ap-brand .custom-logo { max-height: 58px; width: auto; }
.ap-nav { margin-left: auto; }
.ap-nav ul { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.ap-nav a { color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.ap-nav a:hover, .ap-nav .current-menu-item > a { color: var(--ap-gold); }
.ap-menu-toggle { display: none; margin-left: auto; width: 46px; height: 42px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: #fff; font-size: 24px; cursor: pointer; }

/* Hero */
.ap-hero { position: relative; min-height: 690px; display: grid; align-items: center; background: #090719 url('assets/images/hero.jpg') center/cover no-repeat; overflow: hidden; }
.ap-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,4,14,.96) 0%, rgba(13,8,29,.87) 47%, rgba(17,9,32,.48) 100%); }
.ap-hero::after { content: ''; position: absolute; inset: 0; opacity: .3; background-image: radial-gradient(circle at 20% 20%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 70% 30%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 85% 70%, #e7bd62 0 1px, transparent 1.5px); background-size: 80px 80px, 120px 120px, 150px 150px; }
.ap-hero-content { position: relative; z-index: 2; padding: 110px 0; max-width: 870px; }
.ap-hero h1 { margin: 12px 0 24px; font-size: clamp(48px, 7vw, 86px); line-height: .98; letter-spacing: -.025em; }
.ap-hero h1 span { color: var(--ap-gold-soft); }
.ap-hero .ap-lead { max-width: 720px; font-size: 20px; color: #e3dcec; }
.ap-trust { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 30px; color: #e6dfef; font-size: 14px; }
.ap-trust span::before { content: '✦'; color: var(--ap-gold); margin-right: 8px; }
.ap-moon-orbit { position: absolute; right: 5%; bottom: 9%; z-index: 2; width: min(390px, 34vw); opacity: .75; filter: drop-shadow(0 0 40px rgba(154,101,208,.45)); animation: apFloat 7s ease-in-out infinite; }
@keyframes apFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* Cards */
.ap-card { padding: 30px; border: 1px solid var(--ap-line); border-radius: 20px; background: linear-gradient(145deg, rgba(31,26,61,.96), rgba(14,12,36,.96)); box-shadow: var(--ap-shadow); }
.ap-card-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; background: rgba(231,189,98,.1); border: 1px solid var(--ap-line); color: var(--ap-gold); font-size: 25px; }
.ap-card h3 { margin: 0 0 12px; font-size: 25px; }
.ap-card p { margin: 0; color: var(--ap-muted); line-height: 1.7; }
.ap-section--cream .ap-card { background: #fff; border-color: #e8d9bc; box-shadow: 0 14px 34px rgba(58,34,74,.08); }
.ap-section--cream .ap-card p { color: #6c5e75; }
.ap-card-link { display: inline-block; margin-top: 18px; color: var(--ap-gold) !important; font-weight: 800; text-decoration: none; }
.ap-section--cream .ap-card-link { color: #753d96 !important; }

.ap-about { align-items: center; }
.ap-about-visual { position: relative; min-height: 470px; display: grid; place-items: center; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at center, rgba(111,60,168,.32), rgba(10,9,26,.9) 62%), url('assets/images/cloud-bg.jpg') center/cover; border: 1px solid var(--ap-line); }
.ap-about-visual img { width: 78%; filter: drop-shadow(0 0 36px rgba(231,189,98,.22)); }
.ap-feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin: 28px 0; }
.ap-feature { padding: 15px 16px; border: 1px solid var(--ap-line); border-radius: 12px; background: rgba(255,255,255,.035); }
.ap-feature strong { display: block; margin-bottom: 5px; color: var(--ap-gold-soft); }
.ap-feature span { color: var(--ap-muted); font-size: 14px; line-height: 1.55; }

.ap-step { position: relative; padding: 30px; border-top: 3px solid var(--ap-gold); background: #fff; color: #2b1c38; border-radius: 18px; box-shadow: 0 16px 36px rgba(68,38,80,.1); }
.ap-step-number { font: 700 44px/1 Georgia, serif; color: #7a419d; }
.ap-step h3 { margin: 14px 0 10px; font-family: Georgia, serif; font-size: 24px; }
.ap-step p { margin: 0; color: #6b5c75; line-height: 1.65; }
.ap-area-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ap-area-tags span, .ap-area-tags a { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--ap-line); background: rgba(255,255,255,.04); color: #f6effc; text-decoration: none; font-weight: 700; }
.ap-faq { max-width: 860px; margin: 0 auto; }
.ap-faq details { margin: 12px 0; padding: 20px 22px; border: 1px solid var(--ap-line); border-radius: 14px; background: rgba(255,255,255,.035); }
.ap-faq summary { cursor: pointer; font-weight: 800; color: #fff; }
.ap-faq p { margin: 14px 0 0; color: var(--ap-muted); line-height: 1.7; }
.ap-cta { padding: 56px 0; background: linear-gradient(135deg, #6e3c99, #2b1745); border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.ap-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.ap-cta h2 { margin: 0 0 10px; font-size: clamp(34px, 4vw, 52px); }
.ap-cta p { margin: 0; color: #e5dced; }

/* Page */
.ap-page-hero { padding: 105px 0 80px; background: linear-gradient(rgba(6,4,17,.86), rgba(12,8,28,.92)), url('assets/images/breadcrumb.jpg') center/cover; text-align: center; }
.ap-page-title { margin: 10px 0 0; font-size: clamp(44px, 6vw, 72px); }
.ap-page-content { background: var(--ap-cream); color: #2b1b3b; }
.ap-content-wrap { max-width: 980px; margin: 0 auto; }
.ap-content-wrap h2, .ap-content-wrap h3 { color: #2b1b3b; }
.ap-content-wrap h2 { margin-top: 52px; font-size: 38px; }
.ap-content-wrap h3 { margin-top: 30px; font-size: 25px; }
.ap-content-wrap p, .ap-content-wrap li { color: #685a73; font-size: 17px; line-height: 1.75; }
.ap-content-wrap a { color: #743d96; font-weight: 700; }
.ap-content-wrap .ap-card p { color: #6c5e75; }
.ap-contact-box { padding: 28px; border-radius: 18px; background: #fff; border: 1px solid #e4d2b2; box-shadow: 0 15px 35px rgba(60,37,70,.08); }
.ap-contact-box h3 { margin-top: 0; }
.ap-contact-list { list-style: none; padding: 0; margin: 0; }
.ap-contact-list li { padding: 9px 0; border-bottom: 1px solid #eee5d6; }
.ap-contact-list li:last-child { border-bottom: 0; }

/* Footer */
.ap-footer { background: #05040d; border-top: 1px solid rgba(255,255,255,.08); }
.ap-footer-main { padding: 64px 0 42px; display: grid; grid-template-columns: 1.35fr .8fr 1fr 1fr; gap: 38px; }
.ap-footer h3 { margin: 0 0 18px; font: 700 20px Georgia, serif; color: #fff; }
.ap-footer p, .ap-footer address { color: #a9a0b6; line-height: 1.7; font-style: normal; }
.ap-footer a { display: block; margin: 10px 0; color: #cfc6dc; text-decoration: none; }
.ap-footer a:hover { color: var(--ap-gold); }
.ap-footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.08); color: #82798f; font-size: 13px; text-align: center; }
.ap-disclaimer { margin-top: 18px; font-size: 12px; color: #82798f !important; }
.ap-floating-wa { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff !important; text-decoration: none; font-weight: 900; box-shadow: 0 15px 35px rgba(0,0,0,.35); }

/* WordPress */
.admin-bar .ap-header { top: 32px; }
.screen-reader-text { position: absolute; left: -9999px; }

@media (max-width: 980px) {
  .ap-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ap-grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ap-grid--2, .ap-about { grid-template-columns: 1fr; }
  .ap-nav { display: none; position: absolute; left: 0; right: 0; top: 120px; margin: 0; padding: 24px 4%; background: #0b0a1e; border-bottom: 1px solid rgba(255,255,255,.1); }
  .ap-nav.is-open { display: block; }
  .ap-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .ap-nav a { display: block; padding: 12px 0; }
  .ap-header .ap-btn--small { display: none; }
  .ap-menu-toggle { display: block; }
  .ap-footer-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ap-moon-orbit { opacity: .32; width: 50vw; right: -10%; }
}
@media (max-width: 640px) {
  .ap-topbar .ap-container { justify-content: center; }
  .ap-topbar span:first-child { display: none; }
  .ap-section { padding: 66px 0; }
  .ap-grid--4, .ap-grid--3 { grid-template-columns: 1fr; }
  .ap-hero { min-height: 650px; }
  .ap-hero-content { padding: 85px 0; }
  .ap-hero h1 { font-size: 48px; }
  .ap-hero .ap-lead { font-size: 17px; }
  .ap-feature-list { grid-template-columns: 1fr; }
  .ap-about-visual { min-height: 350px; }
  .ap-cta-inner { align-items: flex-start; flex-direction: column; }
  .ap-footer-main { grid-template-columns: 1fr; }
  .ap-brand-text strong { font-size: 16px; }
  .ap-brand-text span { font-size: 9px; }
  .ap-moon-orbit { display: none; }
}
/* Footer logo */
.ap-footer-logo {
  margin-bottom: 22px;
}

.ap-footer-logo .custom-logo-link {
  display: inline-block;
  margin: 0;
}

.ap-footer-logo .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 220px;
  object-fit: contain;
}

@media (max-width: 620px) {
  .ap-footer-logo .custom-logo {
    max-width: 190px;
    max-height: 190px;
  }
}
/* Fix invisible text in cream/white service section */
.ap-section--cream .ap-card h3 {
  color: #2b1b3b !important;
}

.ap-section--cream .ap-section-heading h2 {
  color: #2b1b3b !important;
}

.ap-section--cream .ap-section-heading p {
  color: #6c5e75 !important;
}

.ap-section--cream .ap-eyebrow {
  color: #7a419d !important;
}
/* Service card custom icons */
.ap-card-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(231,189,98,.10);
  border: 1px solid #e8d9bc;
  overflow: hidden;
}

.ap-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}
body.page .ap-page-content .ap-card h3 {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.page .ap-page-content .ap-card p {
  color: #cfc6dc !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.page .ap-page-content .ap-card-icon {
  color: #e7bd62 !important;
  background: rgba(231, 189, 98, 0.10) !important;
  border-color: rgba(231, 189, 98, 0.30) !important;
}

body.page .ap-page-content .ap-card {
  background: linear-gradient(
    145deg,
    rgba(38, 31, 69, 0.98),
    rgba(20, 17, 47, 0.98)
  ) !important;
}

body.page .ap-page-content .ap-card h3 a {
  color: #ffffff !important;
}
/* Service page image icons */
.ap-page-content .ap-card-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ap-page-content .ap-card-icon img {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  object-fit: contain;
  display: block;
}
/* ==================================================
   CLEAN AND BALANCED MOBILE HEADER
   ================================================== */

@media (max-width: 768px) {

  /* Smaller mobile header */
  .ap-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px !important;
    gap: 12px;
    padding: 7px 0;
  }

  /* Keep the logo neatly on the left */
  .ap-brand {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
    min-width: 0;
    margin: 0;
  }

  /* Balanced logo size for iPhone */
  .ap-brand .custom-logo {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 220px !important;
    max-height: 54px !important;
    object-fit: contain;
  }

  /* Smaller hamburger circle at far right */
  .ap-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;

    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);

    width: 44px !important;
    height: 44px !important;
    min-width: 44px;
    min-height: 44px;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(231, 189, 98, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.025);

    color: #ffffff;
    font-size: 21px !important;
    line-height: 1;
    cursor: pointer;
    z-index: 1001;
  }

  .ap-menu-toggle:hover,
  .ap-menu-toggle:focus {
    background: rgba(231, 189, 98, 0.10);
    border-color: rgba(231, 189, 98, 0.55);
    outline: none;
  }

  /* Mobile dropdown menu starts directly below header */
  .ap-nav {
    top: 70px !important;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 18px 4%;
  }
}


/* ==================================================
   SMALL IPHONES
   ================================================== */

@media (max-width: 430px) {

  .ap-header-inner {
    min-height: 66px !important;
    padding: 6px 0;
  }

  .ap-brand {
    max-width: calc(100% - 52px);
  }

  .ap-brand .custom-logo {
    max-width: 195px !important;
    max-height: 49px !important;
  }

  .ap-menu-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    min-height: 42px;
    right: 0;
    font-size: 20px !important;
  }

  .ap-nav {
    top: 66px !important;
  }
}


/* ==================================================
   VERY SMALL IPHONES
   ================================================== */

@media (max-width: 360px) {

  .ap-brand .custom-logo {
    max-width: 170px !important;
    max-height: 46px !important;
  }

  .ap-menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    font-size: 19px !important;
  }
}
/* ==========================================
   EMAIL, FACEBOOK AND GOOGLE PROFILE ICONS
   ========================================== */

.ap-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}

.ap-social-link {
  width: 44px;
  height: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;

  color: #e7bd62 !important;
  background: rgba(231, 189, 98, 0.08);
  border: 1px solid rgba(231, 189, 98, 0.30);
  border-radius: 50%;

  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.ap-social-link svg {
  width: 21px;
  height: 21px;
  display: block;
  fill: currentColor;
}

.ap-social-link:hover,
.ap-social-link:focus {
  color: #ffffff !important;
  background: linear-gradient(135deg, #9b61ce, #633590);
  border-color: #9b61ce;
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .ap-social-link {
    width: 42px;
    height: 42px;
  }

  .ap-social-link svg {
    width: 20px;
    height: 20px;
  }
}
/* ==================================================
   FLOATING CALL AND WHATSAPP BUTTONS
   ================================================== */

.ap-floating-contact {
  position: fixed;
  bottom: 24px;
  z-index: 99999;

  width: 60px;
  height: 60px;

  display: flex !important;
  align-items: center;
  justify-content: center;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 50%;
  text-decoration: none !important;

  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.28);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35),
    0 3px 10px rgba(0, 0, 0, 0.22);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}


/* Call button on left */
.ap-floating-call {
  left: 22px;
  background: linear-gradient(135deg, #9b61ce, #563078);
}


/* WhatsApp button on right */
.ap-floating-whatsapp {
  right: 22px;
  background: #25d366;
}


/* Icon sizing */
.ap-floating-contact svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: currentColor;
}


/* Hover effect */
.ap-floating-contact:hover,
.ap-floating-contact:focus {
  color: #ffffff !important;
  transform: translateY(-4px) scale(1.04);

  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.42),
    0 5px 14px rgba(0, 0, 0, 0.28);

  outline: none;
}


/* Hide the previous WA-only button */
.ap-floating-wa {
  display: none !important;
}


/* ==================================================
   IPHONE AND MOBILE POSITION
   Keeps buttons above Safari's lower toolbar
   ================================================== */

@media (max-width: 768px) {

  .ap-floating-contact {
    width: 58px;
    height: 58px;

    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .ap-floating-call {
    left: 18px;
  }

  .ap-floating-whatsapp {
    right: 18px;
  }

  .ap-floating-contact svg {
    width: 28px;
    height: 28px;
  }
}


/* Smaller phones */
@media (max-width: 380px) {

  .ap-floating-contact {
    width: 54px;
    height: 54px;
  }

  .ap-floating-call {
    left: 14px;
  }

  .ap-floating-whatsapp {
    right: 14px;
  }

  .ap-floating-contact svg {
    width: 25px;
    height: 25px;
  }
}
/* ==================================================
   IPHONE SCROLLING AND INITIAL BACKGROUND FIX
   ================================================== */

html {
  min-height: 100%;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: #080715 !important;
  scroll-behavior: auto !important;
}

body.ap-prasad-theme {
  min-height: 100%;
  height: auto !important;
  position: static !important;

  overflow-x: hidden !important;
  overflow-y: visible !important;

  background: #080715 !important;

  touch-action: pan-y !important;
  -webkit-overflow-scrolling: touch;
}

/* Prevent sections and wrappers from locking page scrolling */
body.ap-prasad-theme main,
body.ap-prasad-theme .wrapper,
body.ap-prasad-theme .inner-wrapper {
  height: auto !important;
  min-height: 0;
  overflow: visible !important;
}

/* Keep the mobile dropdown independently scrollable */
@media (max-width: 768px) {
  .ap-nav {
    max-height: calc(100dvh - 66px);
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .ap-floating-contact,
  .ap-menu-toggle,
  .ap-btn {
    touch-action: manipulation;
  }
}
/* ==================================================
   RESPONSIVE CONSULTATION POPUP
   Form ID: 48
   ================================================== */

/* Dark popup overlay */
.pum-overlay {
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding:
    max(16px, env(safe-area-inset-top))
    12px
    max(16px, env(safe-area-inset-bottom)) !important;
  background: rgba(5, 4, 13, 0.82) !important;
  -webkit-overflow-scrolling: touch;
}

/* Main popup container */
.pum-container {
  box-sizing: border-box !important;

  width: min(520px, calc(100vw - 24px)) !important;
  max-width: 520px !important;
  min-width: 0 !important;

  height: auto !important;
  max-height: calc(100vh - 32px) !important;
  max-height: calc(100dvh - 32px) !important;

  left: 50% !important;
  right: auto !important;
  top: max(16px, env(safe-area-inset-top)) !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;

  margin: 0 !important;
  padding: 54px 26px 26px !important;

  overflow-x: hidden !important;
  overflow-y: auto !important;

  border: 1px solid rgba(231, 189, 98, 0.38) !important;
  border-radius: 22px !important;

  background:
    linear-gradient(
      145deg,
      #211b3d 0%,
      #0e0c24 100%
    ) !important;

  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55) !important;

  -webkit-overflow-scrolling: touch;
}

/* Desktop: centre popup vertically */
@media (min-width: 769px) {
  .pum-container {
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-height: calc(100vh - 40px) !important;
  }
}

/* Popup content */
.pum-content {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #d8d0e4 !important;
}

.pum-content p {
  max-width: 100% !important;
  margin: 0 42px 20px 0 !important;
  color: #d8d0e4 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

/* Optional popup title */
.pum-title {
  margin: 0 45px 12px 0 !important;
  color: #ffffff !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 30px !important;
  line-height: 1.15 !important;
}

/* Replace broken vertical CLOSE text with × */
.pum-container .pum-close,
.pum-container .popmake-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;

  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 50% !important;

  background: #6f3ca8 !important;
  color: transparent !important;

  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;

  cursor: pointer !important;
  z-index: 10 !important;
}

.pum-container .pum-close::before,
.pum-container .popmake-close::before {
  content: "×";
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

/* ==================================================
   WPFORMS FORM 48
   ================================================== */

#wpforms-form-48 {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

#wpforms-form-48 .wpforms-field {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 0 16px !important;
}

#wpforms-form-48 label,
#wpforms-form-48 .wpforms-field-label {
  display: block !important;
  margin-bottom: 7px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

#wpforms-form-48 .wpforms-field-sublabel {
  color: #cfc6dc !important;
  font-size: 13px !important;
}

/* Make all form fields use the available width */
#wpforms-form-48 input[type="text"],
#wpforms-form-48 input[type="email"],
#wpforms-form-48 input[type="tel"],
#wpforms-form-48 input[type="number"],
#wpforms-form-48 select,
#wpforms-form-48 textarea {
  box-sizing: border-box !important;
  display: block !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 12px 14px !important;

  color: #251b35 !important;
  background: #ffffff !important;

  border: 1px solid #dfc996 !important;
  border-radius: 10px !important;

  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

#wpforms-form-48 input,
#wpforms-form-48 select {
  min-height: 48px !important;
}

#wpforms-form-48 textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

/* Name field row */
#wpforms-form-48 .wpforms-field-row {
  box-sizing: border-box !important;
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  gap: 14px !important;
}

#wpforms-form-48 .wpforms-field-row-block {
  box-sizing: border-box !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
}

/* Submit button */
#wpforms-form-48 .wpforms-submit-container {
  width: 100% !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
}

#wpforms-form-48 button[type="submit"],
#wpforms-form-48 .wpforms-submit {
  box-sizing: border-box !important;

  width: 100% !important;
  min-height: 50px !important;

  margin: 0 !important;
  padding: 13px 20px !important;

  color: #25152e !important;
  background:
    linear-gradient(
      135deg,
      #f0cd78,
      #b78029
    ) !important;

  border: 0 !important;
  border-radius: 999px !important;

  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

/* ==================================================
   MOBILE POPUP
   ================================================== */

@media (max-width: 600px) {
  .pum-overlay {
    padding:
      max(10px, env(safe-area-inset-top))
      10px
      max(10px, env(safe-area-inset-bottom)) !important;
  }

  .pum-container {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;

    top: max(10px, env(safe-area-inset-top)) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    max-height: calc(100vh - 20px) !important;
    max-height: calc(100dvh - 20px) !important;

    padding: 52px 18px 20px !important;
    border-radius: 18px !important;
  }

  .pum-content p {
    margin-right: 36px !important;
    font-size: 15px !important;
  }

  .pum-title {
    margin-right: 38px !important;
    font-size: 25px !important;
  }

  .pum-container .pum-close,
  .pum-container .popmake-close {
    top: 10px !important;
    right: 10px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  /* Stack First and Last name vertically */
  #wpforms-form-48 .wpforms-field-row {
    display: block !important;
  }

  #wpforms-form-48 .wpforms-field-row-block {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
  }

  #wpforms-form-48 .wpforms-field-row-block:last-child {
    margin-bottom: 0 !important;
  }
}