﻿/* ═══════════════════════════════════════════
   MarketingByNaaz — Premium Portfolio Styles
   Farheen Naaz | AI-Powered Digital Marketing
   Light Brown Theme
   ═══════════════════════════════════════════ */

/* ─── Reset & Variables ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #f7f4f0;
  --cream-dark: #f0ebe3;
  --cream-darker: #e8e0d6;
  --brown-dark: #2c2420;
  --brown-primary: #4a3528;
  --brown: #7a5c3a;
  --brown-medium: #8b6f55;
  --brown-light: #c4a97d;
  --brown-lighter: #e2d3be;
  --brown-pale: #efe5d8;
  --tan: #d4b895;
  --gold: #bf942c;
  --gold-light: #dbb94c;
  --gold-glow: rgba(191,148,44,0.25);
  --white: #ffffff;
  --text-primary: #2c2420;
  --text-secondary: #6b5d53;
  --text-muted: #9a8b7d;
  --glass-bg: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.07);
  --glass-shadow: rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--brown-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--brown); }

/* ─── Preloader ─── */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 4px solid var(--cream-dark);
  border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 3px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ─── Navigation ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  padding: 16px 0; transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(247,244,240,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 10px 0; border-bottom: 1px solid var(--glass-border);
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-logo span {
  font-family: var(--font-sans); font-weight: 300; font-size: 0.85rem;
  display: block; -webkit-text-fill-color: var(--brown-medium); color: var(--brown-medium);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: color 0.3s ease; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--brown-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--brown), var(--brown-medium)) !important;
  padding: 8px 20px !important; border-radius: 50px; font-size: 0.8rem !important;
  color: var(--white) !important; transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(122,92,58,0.3) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span {
  width: 26px; height: 2px; background: var(--brown-dark);
  border-radius: 2px; transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── Hero ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg .orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.5;
  animation: floatOrb 12s ease-in-out infinite;
}
.hero-bg .orb:nth-child(1) {
  width: 500px; height: 500px; background: var(--brown-light);
  top: -10%; left: -10%; animation-delay: 0s;
}
.hero-bg .orb:nth-child(2) {
  width: 400px; height: 400px; background: var(--gold);
  bottom: -10%; right: -10%; animation-delay: -4s;
}
.hero-bg .orb:nth-child(3) {
  width: 300px; height: 300px; background: var(--brown-lighter);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation-delay: -8s;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-30px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(0.95); }
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass-bg); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 1px;
  color: var(--brown-medium); margin-bottom: 24px;
}
.hero-badge i { color: var(--gold); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.15; margin-bottom: 8px;
  color: var(--brown-dark);
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 .highlight-brown {
  background: linear-gradient(135deg, var(--brown), var(--brown-medium));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 1.2rem; color: var(--brown); margin-bottom: 12px; font-weight: 300; }
.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem; max-width: 540px; margin-bottom: 36px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all 0.3s ease; letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brown), var(--brown-medium));
  color: var(--white); box-shadow: 0 4px 25px rgba(122,92,58,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px); box-shadow: 0 8px 40px rgba(122,92,58,0.4);
}
.btn-outline {
  background: transparent; border: 1.5px solid var(--brown-light);
  color: var(--brown);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-3px); box-shadow: 0 8px 30px var(--gold-glow);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a87e1a);
  color: var(--white); box-shadow: 0 4px 25px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-3px); box-shadow: 0 8px 40px var(--gold-glow);
}
.hero-stats {
  display: flex; gap: 36px; margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}
.hero-stat h3 {
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat p {
  font-size: 0.8rem; color: var(--text-muted);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-visual-inner { position: relative; width: 100%; max-width: 480px; }
.hero-image-wrap {
  width: 100%; border-radius: 30px; overflow: hidden;
  position: relative; box-shadow: var(--shadow-lg);
}
.hero-image-wrap::before {
  content: ''; position: absolute; inset: -3px; border-radius: 33px;
  background: linear-gradient(135deg, var(--gold), var(--brown-light), var(--gold));
  z-index: -1; animation: borderGlow 3s ease-in-out infinite alternate;
}
@keyframes borderGlow {
  0% { opacity: 0.5; } 100% { opacity: 1; }
}
.hero-image-wrap img {
  width: 100%; height: 500px; object-fit: cover;
  display: block; border-radius: 30px;
}
.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  animation: float 5s ease-in-out infinite;
  box-shadow: var(--shadow-md);
}
.floating-card i { font-size: 1.3rem; }
.floating-card .fc-label { font-size: 0.75rem; font-weight: 600; color: var(--brown-dark); }
.floating-card .fc-sub { font-size: 0.65rem; color: var(--text-muted); }
.fc-1 { top: 6%; right: -8%; animation-delay: 0s; } .fc-1 i { color: var(--gold); }
.fc-2 { bottom: 12%; left: -10%; animation-delay: -1.5s; } .fc-2 i { color: var(--brown); }
.fc-3 { bottom: 2%; right: 2%; animation-delay: -3s; } .fc-3 i { color: var(--brown-medium); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ─── Sections Base ─── */
section { padding: 100px 0; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-label::before { content: ''; width: 30px; height: 1.5px; background: var(--gold); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 16px; color: var(--brown-dark);
}
.section-title .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem; max-width: 640px; line-height: 1.8;
}
.section-desc.center { margin: 0 auto; text-align: center; }
.section-title.center { text-align: center; }
.section-label.center { margin-left: auto; margin-right: auto; }
.section-label.center::before { display: none; }

/* ─── Reveal Animations ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ─── Glass Card ─── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 32px;
  transition: all 0.4s ease; box-shadow: var(--shadow-sm);
}
.glass-card:hover {
  background: var(--white);
  border-color: rgba(0,0,0,0.12);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ─── About ─── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%; border-radius: 24px;
  height: 500px; object-fit: cover; box-shadow: var(--shadow-lg);
}
.about-experience-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: linear-gradient(135deg, var(--brown), var(--brown-medium));
  border-radius: 20px; padding: 20px 28px; text-align: center;
  box-shadow: 0 8px 30px rgba(122,92,58,0.25); color: var(--white);
}
.about-experience-badge h3 { font-size: 2rem; font-weight: 800; }
.about-experience-badge p { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-tag {
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 500;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  color: var(--brown-medium); transition: all 0.3s ease;
}
.about-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Modules ─── */
section#modules { background: var(--white) !important; }
.modules-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.module-card { text-align: center; padding: 36px 24px; }
.module-card-wrap { display: block; color: inherit; text-decoration: none; }
.module-card-wrap:hover { color: inherit; }
.module-card-wrap:hover .glass-card { background: var(--white); border-color: rgba(0,0,0,0.12); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module-card .icon-wrap {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: var(--brown-pale);
  border: 1px solid var(--brown-lighter);
  transition: all 0.4s ease;
}
.module-card:hover .icon-wrap {
  background: linear-gradient(135deg, var(--brown), var(--brown-medium));
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 30px rgba(122,92,58,0.25);
}
.module-card:hover .icon-wrap i { color: var(--white) !important; }
.module-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--brown-dark); }
.module-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ─── AI Tools ─── */
#ai-tools { background: linear-gradient(180deg, var(--cream) 0%, rgba(196,169,125,0.08) 50%, var(--cream) 100%); }
.ai-tools-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px;
}
.ai-tool-card {
  padding: 28px 16px; text-align: center; border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease; cursor: default; box-shadow: var(--shadow-sm);
}
.ai-tool-card:hover {
  background: var(--white);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.ai-tool-card .tool-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--brown-pale);
  transition: all 0.4s ease;
}
.ai-tool-card:hover .tool-icon {
  background: linear-gradient(135deg, var(--brown), var(--brown-medium));
  transform: scale(1.1);
}
.ai-tool-card:hover .tool-icon i { color: var(--white) !important; }
.ai-tool-card h5 { font-size: 0.9rem; font-weight: 600; color: var(--brown-dark); margin-bottom: 4px; }
.ai-tool-card p { font-size: 0.7rem; color: var(--text-muted); }

/* ─── Skills ─── */
.skills-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.skill-group { margin-bottom: 28px; }
.skill-group h4 {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 16px;
  color: var(--brown); letter-spacing: 1px; text-transform: uppercase;
}
.skill-item { margin-bottom: 16px; }
.skill-item .skill-info { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 6px; color: var(--text-secondary); }
.skill-item .skill-info span:last-child { color: var(--gold); font-weight: 600; }
.skill-bar {
  height: 6px; border-radius: 3px; background: var(--brown-lighter);
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--brown), var(--brown-light), var(--gold));
  width: 0; transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}

/* ─── Portfolio ─── */
#portfolio { background: var(--white) !important; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.portfolio-card {
  border-radius: 20px; overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease; box-shadow: var(--shadow-sm);
}
.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--brown-light);
  box-shadow: var(--shadow-lg);
}
.portfolio-thumb {
  height: 220px; overflow: hidden; position: relative;
}
.portfolio-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.08);
}
.portfolio-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(247,244,240,0.85));
}
.portfolio-body { padding: 24px; }
.portfolio-body .tag {
  display: inline-block; padding: 3px 12px; border-radius: 50px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.5px;
  background: var(--brown-pale); color: var(--brown); margin-bottom: 10px;
}
.portfolio-body h4 { font-size: 1.1rem; font-weight: 700; color: var(--brown-dark); margin-bottom: 8px; }
.portfolio-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.portfolio-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 0.85rem; font-weight: 600;
  color: var(--brown); transition: gap 0.3s ease;
}
.portfolio-link:hover { gap: 12px; color: var(--gold); }

/* ─── Portfolio Slider ─── */
.project-slider-wrap { position: relative; margin-bottom: 48px; overflow: hidden; }
.project-slider {
  display: flex; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.project-slide {
  min-width: 100%; display: grid;
  grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 0 4px;
}
.project-slide-img {
  border-radius: 20px; overflow: hidden;
  height: 350px; box-shadow: var(--shadow-md);
}
.project-slide-img img { width: 100%; height: 100%; object-fit: cover; }
.project-slide-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--brown-dark); margin-bottom: 12px;
}
.project-slide-content .tag {
  display: inline-block; padding: 3px 12px; border-radius: 50px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.5px;
  background: var(--brown-pale); color: var(--brown); margin-bottom: 10px;
}
.project-slide-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.slider-nav {
  display: flex; gap: 12px; justify-content: center; margin-top: 20px;
}
.slider-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--brown-dark); font-size: 1rem;
  cursor: pointer; transition: all 0.3s ease; box-shadow: var(--shadow-sm);
}
.slider-nav button:hover {
  background: var(--brown); border-color: var(--brown); color: var(--white);
}
.slider-dots {
  display: flex; gap: 8px; justify-content: center; margin-top: 20px;
}
.slider-dots .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brown-lighter);
  border: none; cursor: pointer; transition: all 0.3s ease;
}
.slider-dots .dot.active { background: var(--gold); width: 28px; border-radius: 5px; }

/* ─── Certifications ─── */
.cert-timeline { position: relative; }
.cert-timeline::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brown), var(--gold), var(--brown));
}
.cert-item {
  display: flex; gap: 36px; margin-bottom: 36px; position: relative;
}
.cert-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--cream);
  flex-shrink: 0; margin-top: 6px; position: relative; z-index: 1;
  box-shadow: 0 0 20px var(--gold-glow);
}
.cert-item .cert-content { flex: 1; }
.cert-item .cert-content h4 { font-size: 1rem; font-weight: 700; color: var(--brown-dark); }
.cert-item .cert-content .cert-org { font-size: 0.85rem; color: var(--brown); }
.cert-item .cert-content p { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ─── Testimonials Slider ─── */
#testimonials { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 50%, var(--cream) 100%) !important; }
.testimonials-slider-wrap {
  position: relative; max-width: 720px; margin: 0 auto;
  overflow: hidden;
}
.testimonials-slider {
  display: flex; transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.testimonial-slide {
  min-width: 100%; padding: 0 8px;
}
.testimonial-card {
  text-align: center; padding: 48px 36px;
}
.testimonial-card .stars {
  color: var(--gold); font-size: 1.1rem; margin-bottom: 20px; letter-spacing: 4px;
}
.testimonial-card blockquote {
  font-size: 1.05rem; color: var(--text-secondary);
  line-height: 1.9; font-style: italic; margin-bottom: 24px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.testimonial-card .author { display: flex; align-items: center; gap: 14px; justify-content: center; }
.testimonial-card .author .avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--brown-medium));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: var(--white);
}
.testimonial-card .author .info h5 { font-size: 0.95rem; font-weight: 600; color: var(--brown-dark); }
.testimonial-card .author .info span { font-size: 0.78rem; color: var(--text-muted); }
.t-slider-nav {
  display: flex; justify-content: center; gap: 12px; margin-top: 28px;
}
.t-slider-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--brown-dark); font-size: 0.9rem;
  cursor: pointer; transition: all 0.3s ease; box-shadow: var(--shadow-sm);
}
.t-slider-nav button:hover { background: var(--brown); border-color: var(--brown); color: var(--white); }
.t-dots {
  display: flex; gap: 8px; justify-content: center; margin-top: 16px;
}
.t-dots .t-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brown-lighter);
  border: none; cursor: pointer; transition: all 0.3s ease;
}
.t-dots .t-dot.active { background: var(--gold); width: 28px; border-radius: 5px; }

/* ─── Contact ─── */
#contact { background: linear-gradient(180deg, var(--cream) 0%, rgba(196,169,125,0.05) 100%) !important; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-info h3 { font-family: var(--font-display); font-size: 1.6rem; color: var(--brown-dark); margin-bottom: 16px; }
.contact-info p { color: var(--text-secondary); margin-bottom: 28px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
  padding: 14px 20px;
  background: var(--glass-bg);
  border-radius: 12px; border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.contact-item:hover { border-color: var(--gold); }
.contact-item i { width: 20px; color: var(--gold); }
.contact-item span { font-size: 0.9rem; color: var(--text-secondary); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--glass-border);
  color: var(--text-primary); font-family: var(--font-sans); font-size: 0.9rem;
  transition: all 0.3s ease; outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--brown); box-shadow: 0 0 20px rgba(122,92,58,0.1);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, var(--brown-pale), rgba(191,148,44,0.08));
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px; color: var(--brown-dark);
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem; max-width: 560px; margin: 0 auto 32px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─── */
footer {
  padding: 40px 0; border-top: 1px solid var(--glass-border);
  text-align: center; background: var(--white);
}
footer .footer-brand {
  font-family: var(--font-display); font-size: 1.4rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
footer p { font-size: 0.82rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: 16px; justify-content: center; margin: 16px 0; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.footer-socials a:hover {
  background: var(--brown); border-color: var(--brown);
  color: var(--white); transform: translateY(-3px);
}

/* ─── WhatsApp Button ─── */
.whatsapp-btn {
  position: fixed; bottom: 32px; left: 32px; z-index: 9998;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: waPulse 2s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.12); box-shadow: 0 8px 36px rgba(37,211,102,0.5);
  color: #fff;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 36px rgba(37,211,102,0.65); }
}

/* ─── Back to Top ─── */
#backToTop {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brown), var(--brown-medium));
  border: none; color: var(--white); font-size: 1.1rem;
  cursor: pointer; opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(122,92,58,0.3);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(122,92,58,0.4); }

/* ─── Responsive ─── */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-tags { justify-content: center; }
  .skills-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .project-slide { grid-template-columns: 1fr; }
  .project-slide-img { height: 240px; order: -1; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(247,244,240,0.98);
    backdrop-filter: blur(20px);
    padding: 24px; gap: 16px;
    border-bottom: 1px solid var(--glass-border);
  }
  .nav-links.open a { color: var(--text-secondary); }
  .hamburger { display: flex; }
  .fc-1 { right: 0; } .fc-2 { left: 0; }
}
@media (max-width: 576px) {
  section { padding: 60px 0; }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .ai-tools-grid { grid-template-columns: 1fr 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat h3 { font-size: 1.4rem; }
  .hero-image-wrap img { height: 340px; }
  .floating-card { display: none; }
}
