/*
Theme Name: Rabeea Riaz - Portfolio & SEO Theme
Theme URI: https://rabeeariaz.com
Author: Rabeea Riaz
Author URI: https://rabeeariaz.com
Description: Elegant, modern, and responsive one-page WordPress portfolio theme crafted for Web Developers, SEO & AEO Specialists, and Content Writers. Features a chic pink aesthetic, interactive animated butterflies, Semrush certificate showcase, dynamic customizer options, and complete Schema.org JSON-LD Answer Engine Optimization (AEO & SEO).
Version: 1.0.3
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: rabeea-portfolio
Tags: one-page, portfolio, custom-colors, custom-menu, featured-images, responsive-layout, theme-options, translation-ready, accessibility-ready, blog
*/

/* ==========================================================================
   CSS VARIABLES & THEME TOKENS
   ========================================================================== */
:root {
  --pink-primary: #ec4899;
  --pink-primary-hover: #db2777;
  --pink-dark: #be185d;
  --pink-deep: #831843;
  --pink-light: #f472b6;
  --pink-soft: #fbcfe8;
  --pink-subtle: #fdf2f8;
  --pink-badge: #ffe4e6;
  --pink-badge-text: #be123c;
  --rose-gold: #f43f5e;
  
  --bg-main: #fffafc;
  --bg-card: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-secondary: #fdf4f7;
  
  --text-primary: #1e1b4b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-color: #fce7f3;
  --border-focus: #f472b6;
  --border-gold: #fbcfe8;
  
  --shadow-sm: 0 2px 8px rgba(236, 72, 153, 0.06);
  --shadow-md: 0 8px 24px rgba(236, 72, 153, 0.1);
  --shadow-lg: 0 16px 36px rgba(236, 72, 153, 0.14);
  --shadow-glow: 0 0 25px rgba(236, 72, 153, 0.28);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(251, 207, 232, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 90% 45%, rgba(254, 226, 226, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 20% 85%, rgba(252, 231, 243, 0.35) 0%, transparent 40%);
  background-attachment: fixed;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--pink-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--pink-primary-hover);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.85rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 3.8vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.highlight-pink {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #f43f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 1.5rem);
  padding-right: clamp(1rem, 3.5vw, 1.5rem);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background-color: var(--pink-badge);
  color: var(--pink-badge-text);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(244, 114, 182, 0.2);
}

.section-badge svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  outline: none;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn svg,
.btn .butterfly-svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(236, 72, 153, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--pink-subtle);
  color: var(--pink-dark);
  border-color: var(--pink-soft);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1fa851 0%, #075E54 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
}

/* ==========================================================================
   BUTTERFLY ANIMATIONS & EFFECTS
   ========================================================================== */
.butterfly-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.floating-butterfly {
  position: absolute;
  opacity: 0.65;
  filter: drop-shadow(0 4px 12px rgba(244, 114, 182, 0.4));
  animation: flutterFlight 22s infinite linear;
  will-change: transform;
}

.butterfly-1 {
  top: 15%;
  left: 6%;
  width: 42px;
  animation-duration: 24s;
  animation-delay: 0s;
}

.butterfly-2 {
  top: 35%;
  right: 8%;
  width: 34px;
  animation-duration: 28s;
  animation-delay: 4s;
}

.butterfly-3 {
  bottom: 18%;
  left: 12%;
  width: 38px;
  animation-duration: 20s;
  animation-delay: 2s;
}

.butterfly-4 {
  top: 70%;
  right: 15%;
  width: 28px;
  animation-duration: 26s;
  animation-delay: 7s;
}

@keyframes flutterFlight {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  20% {
    transform: translate(35px, -45px) rotate(12deg) scale(1.08);
  }
  40% {
    transform: translate(80px, -15px) rotate(-8deg) scale(0.95);
  }
  60% {
    transform: translate(40px, 35px) rotate(15deg) scale(1.05);
  }
  80% {
    transform: translate(-30px, 15px) rotate(-10deg) scale(0.98);
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

.butterfly-wings-flapping {
  transform-origin: center;
  animation: wingFlutter 0.35s infinite alternate ease-in-out;
}

@keyframes wingFlutter {
  0% { transform: scaleX(1); }
  100% { transform: scaleX(0.45); }
}

/* Butterfly Cursor Sparkle */
.sparkle-particle {
  position: fixed;
  pointer-events: none;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #f472b6 0%, rgba(244, 114, 182, 0) 70%);
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  animation: sparkleFade 0.75s forwards;
}

@keyframes sparkleFade {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2) translateY(-25px); }
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.site-topbar {
  background: linear-gradient(90deg, #ec4899 0%, #db2777 50%, #f43f5e 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  text-align: center;
  font-weight: 500;
}

.site-topbar a {
  color: #fff;
  text-decoration: underline;
  margin-left: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  text-decoration: none;
}

.brand-logo span,
.brand-logo .brand-name {
  white-space: nowrap !important;
  display: inline-block;
}

.brand-logo .brand-icon {
  width: 32px;
  height: 32px;
  color: var(--pink-primary);
  filter: drop-shadow(0 2px 6px rgba(236, 72, 153, 0.35));
  flex-shrink: 0;
}

.brand-logo span.dot {
  color: var(--pink-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.3vw, 1.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 1;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.3rem 0.2rem;
  white-space: nowrap !important;
  display: inline-block;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink-primary);
  transition: width var(--transition-smooth);
  border-radius: var(--radius-full);
}

.nav-link:hover, .nav-link.active {
  color: var(--pink-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Strictly hide mobile drawer CTA on desktop */
.nav-mobile-cta {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.nav-actions .btn {
  padding: 0.65rem 1.45rem;
  font-size: 0.92rem;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
  background-color: var(--pink-subtle);
  color: var(--pink-primary);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 6.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: var(--pink-subtle);
  border: 1px solid var(--pink-soft);
  color: var(--pink-dark);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.12);
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-bio {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-color);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-badge-item svg {
  width: 18px;
  height: 18px;
  color: var(--pink-primary);
  flex-shrink: 0;
}

/* Hero Visual / Avatar Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-wrapper {
  position: relative;
  width: min(340px, 85vw);
  height: min(340px, 85vw);
  max-width: 100%;
  margin: 0 auto;
}

.avatar-glow {
  position: absolute;
  inset: -15px;
  background: linear-gradient(135deg, rgba(244, 114, 182, 0.45), rgba(251, 113, 133, 0.25), rgba(254, 205, 211, 0.5));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  filter: blur(20px);
  animation: blobMorph 10s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes blobMorph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.avatar-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  background: #ffffff;
}

.avatar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.avatar-card:hover img {
  transform: scale(1.04);
}

/* Floating Status Pills */
.floating-pill {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: floatPill 5s ease-in-out infinite alternate;
}

.floating-pill-top {
  top: -10px;
  right: -20px;
}

.floating-pill-bottom {
  bottom: -15px;
  left: -20px;
  animation-delay: 2.5s;
}

@keyframes floatPill {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.pill-icon {
  width: 36px;
  height: 36px;
  background: var(--pink-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
  flex-shrink: 0;
}

.pill-icon svg {
  width: 20px;
  height: 20px;
}

.pill-content {
  display: flex;
  flex-direction: column;
}

.pill-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pill-desc {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-box {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.highlight-box:hover {
  border-color: var(--pink-soft);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.highlight-box .box-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pink-primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.highlight-box .box-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.about-card-info {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--border-color);
}

.info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--pink-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
  flex-shrink: 0;
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.info-val a {
  color: var(--text-primary);
}

.info-val a:hover {
  color: var(--pink-primary);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ec4899, #f43f5e);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--pink-soft);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.15);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  color: var(--pink-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   AEO & SEO EXPLAINER / CALLOUT
   ========================================================================== */
.aeo-callout {
  background: linear-gradient(135deg, #fff1f2 0%, #fdf2f8 50%, #fff 100%);
  border: 1.5px solid var(--pink-soft);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 4rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.aeo-callout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.aeo-answer-block {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--pink-primary);
  box-shadow: var(--shadow-sm);
  margin-top: 1.25rem;
}

.aeo-answer-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CERTIFICATION SECTION (SEMRUSH)
   ========================================================================== */
.cert-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cert-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.cert-image-holder {
  background: #f8fafc;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--border-color);
  position: relative;
  cursor: pointer;
}

.cert-image-holder img {
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-smooth);
}

.cert-image-holder:hover img {
  transform: scale(1.02);
}

.cert-details {
  padding: 3.5rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.cert-badge svg {
  width: 15px;
  height: 15px;
}

.cert-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0;
  padding: 1.25rem 0;
  border-top: 1px dashed var(--border-color);
  border-bottom: 1px dashed var(--border-color);
}

.cert-meta-item .meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.cert-meta-item .meta-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 700;
}

/* ==========================================================================
   PORTFOLIO SHOWCASE SECTION
   ========================================================================== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--pink-primary);
  color: #ffffff;
  border-color: var(--pink-primary);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink-soft);
  box-shadow: var(--shadow-lg);
}

.portfolio-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3 0%, #fee2e2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-category-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink-dark);
  box-shadow: var(--shadow-sm);
}

.portfolio-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-content h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.portfolio-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.portfolio-tag {
  background: var(--pink-subtle);
  color: var(--pink-dark);
  font-size: 0.76rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--pink-primary);
}

.portfolio-link svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-fast);
}

.portfolio-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   FAQ SECTION (AEO SCHEMA OPTIMIZED)
   ========================================================================== */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--pink-soft);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.6rem;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--pink-primary);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.6rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.6rem 1.5rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-direct-icon {
  width: 50px;
  height: 50px;
  background: var(--pink-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
  flex-shrink: 0;
}

.contact-direct-icon svg {
  width: 24px;
  height: 24px;
}

.contact-direct-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-direct-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 16px; /* Prevents auto-zoom on iOS Safari */
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--pink-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  display: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.success {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-submit-wrapper {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.btn-submit-contact {
  width: auto;
  min-width: 170px;
  padding: 0.8rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
}

.btn-submit-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.42);
}

.btn-submit-contact svg,
.btn-submit-contact .butterfly-svg {
  width: 17px !important;
  height: 17px !important;
  max-width: 17px !important;
  max-height: 17px !important;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   FLOATING ACTION BUTTON & FOOTER
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: all var(--transition-smooth);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CERTIFICATE MODAL (RESPONSIVE)
   ========================================================================== */
.cert-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
}

.cert-modal-dialog {
  position: relative;
  max-width: 860px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: clamp(0.75rem, 2vw, 1.5rem);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.cert-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--pink-primary);
  color: #ffffff;
  border: 2px solid #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
  z-index: 10;
}

.cert-modal-close:hover {
  background: var(--pink-primary-hover);
  transform: scale(1.08);
}

.cert-modal-img {
  width: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   MOBILE & RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablets & Mobile Screens (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    margin: 0 auto;
    max-width: 600px;
  }

  .hero-greeting {
    display: inline-flex;
    margin: 0 auto 1.25rem;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-badges {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .about-grid,
  .cert-card,
  .contact-grid,
  .aeo-callout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cert-image-holder {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1.75rem 1rem;
  }

  .cert-details {
    padding: clamp(1.75rem, 4vw, 3rem);
  }

  /* Responsive Navigation Drawer */
  .navbar {
    padding: 0.75rem 0;
  }

  .brand-logo {
    font-size: 1.25rem;
  }

  .brand-logo .brand-icon {
    width: 28px;
    height: 28px;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--border-color);
    transform: translateY(-160%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    z-index: 99;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 0.4rem 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(252, 231, 243, 0.6);
  }

  .nav-mobile-cta {
    display: block !important;
    width: 100%;
    padding-top: 0.5rem;
  }

  .nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
  }

  .nav-actions .btn {
    display: none !important;
  }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {

  .about-card-info,
  .contact-info-card,
  .contact-form-card {
    padding: clamp(1.25rem, 4vw, 2rem);
  }

  .service-card {
    padding: 1.75rem 1.25rem;
  }

  .aeo-callout {
    padding: 1.75rem 1.25rem;
    margin-top: 2.5rem;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* Small Phones (<= 576px) */
@media (max-width: 576px) {
  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-greeting {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .avatar-wrapper {
    width: min(280px, 78vw);
    height: min(280px, 78vw);
  }

  .floating-pill {
    padding: 0.45rem 0.8rem;
    gap: 0.5rem;
  }

  .floating-pill-top {
    top: -12px;
    right: 0;
  }

  .floating-pill-bottom {
    bottom: -12px;
    left: 0;
  }

  .pill-icon {
    width: 28px;
    height: 28px;
  }

  .pill-icon svg {
    width: 16px;
    height: 16px;
  }

  .pill-title {
    font-size: 0.78rem;
  }

  .pill-desc {
    font-size: 0.68rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .highlight-box {
    padding: 1.15rem;
    text-align: center;
  }

  .cert-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .portfolio-filters {
    gap: 0.4rem;
  }

  .filter-btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.82rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1.1rem 1.15rem;
  }

  .faq-answer {
    font-size: 0.9rem;
    padding: 0 1.15rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.15rem 1.15rem;
  }

  .btn-submit-contact {
    width: 100%;
  }

  .site-topbar {
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
  }
}
