/* ============================================
   S.S.P. Enterprises — Main Stylesheet
   Design: Refined Indian Construction Brand
   Palette: Deep Navy + Gold + Warm White
   ============================================ */

:root {
  --navy:       #0f1f3d;
  --navy-light: #1a3160;
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --cream:      #faf8f3;
  --white:      #ffffff;
  --text:       #2d2d2d;
  --text-muted: #666;
  --border:     #e0d8c8;
  --success:    #1a7a4a;
  --error:      #b91c1c;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(15,31,61,0.10);
  --shadow-lg:  0 12px 48px rgba(15,31,61,0.16);
}

/* ---- RESET ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- UTILITIES ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

.btn-full { width: 100%; }

/* ---- ALERTS ---- */
.alert {
  max-width: 1180px;
  margin: 16px auto;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-weight: 500;
}
.alert-success { background: #d1fae5; color: var(--success); border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: var(--error);   border: 1px solid #fca5a5; }

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-brand span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--gold); background: rgba(201,168,76,0.1); }

.nav-btn {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
}
.nav-btn:hover { background: var(--gold-light) !important; }
.nav-btn-outline {
  background: transparent !important;
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
}
.nav-btn-outline:hover { border-color: var(--gold) !important; color: var(--gold) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 60%, #2d5490 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}
.hero-sub {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
}
.hero-title span { color: var(--gold); }
.hero-tagline {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  font-weight: 300;
  font-style: italic;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-contact span {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
}
.hero-contact a { color: var(--gold); font-weight: 600; }

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
}
.shape-1 { width: 420px; height: 420px; top: -100px; right: -80px; }
.shape-2 { width: 260px; height: 260px; bottom: 40px; right: 200px; }
.shape-3 { width: 150px; height: 150px; bottom: -40px; right: 80px; background: rgba(201,168,76,0.1); }

/* ---- SECTIONS ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc { color: var(--text-muted); font-size: 1.05rem; }

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.service-icon { font-size: 2.6rem; margin-bottom: 18px; }
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

.service-card-cta {
  background: var(--navy);
  border-color: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.service-card-cta h3 { color: var(--gold); }
.service-card-cta p  { color: rgba(255,255,255,0.7); }

/* ---- WHY US ---- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-us-text p { color: var(--text-muted); margin-bottom: 24px; }
.why-list { margin-bottom: 32px; }
.why-list li {
  padding: 8px 0;
  color: var(--text);
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.why-us-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 20px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.stat-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }

/* ---- PORTFOLIO ---- */
.portfolio-placeholder { display: flex; justify-content: center; padding: 40px 0; }
.portfolio-coming {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: 18px;
  padding: 60px 80px;
  text-align: center;
  max-width: 500px;
}
.coming-icon { font-size: 4rem; display: block; margin-bottom: 20px; }
.portfolio-coming h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.portfolio-coming p { color: var(--text-muted); margin-bottom: 28px; }

/* ---- ENQUIRY ---- */
.enquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.enquiry-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.cc-icon { font-size: 1.4rem; }
.contact-card strong { display: block; font-size: 0.9rem; color: var(--navy); }
.contact-card span   { font-size: 0.85rem; color: var(--text-muted); }

.enquiry-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow);
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--navy); }

input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
  background: var(--white);
}
textarea { resize: vertical; min-height: 120px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 64px 24px 0;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-tagline { color: var(--gold); font-style: italic; }
.footer h4 { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { margin-bottom: 8px; font-size: 0.92rem; }
.footer-contact a { color: var(--gold); }
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* ---- AUTH PAGES ---- */
.auth-section {
  min-height: calc(100vh - 66px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: var(--cream);
}
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.auth-header p { color: var(--text-muted); }
.auth-form { margin-bottom: 20px; }
.auth-switch { text-align: center; font-size: 0.9rem; color: var(--text-muted); margin-top: 12px; }
.auth-switch a { color: var(--navy); font-weight: 600; }
.auth-switch a:hover { color: var(--gold); }

/* ---- DASHBOARD ---- */
.dashboard-section { padding: 48px 0 80px; min-height: calc(100vh - 66px); }
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.dashboard-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
}
.dashboard-header p { color: var(--text-muted); }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.dash-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
}
.ds-num { display: block; font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 900; color: var(--navy); }
.ds-label { font-size: 0.88rem; color: var(--text-muted); }

.dash-section { margin-bottom: 48px; }
.dash-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.empty-state {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
}
.empty-state span { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.empty-state p { color: var(--text-muted); }
.empty-state a { color: var(--navy); font-weight: 600; }

.projects-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
th { background: var(--navy); color: var(--white); padding: 14px 16px; text-align: left; font-size: 0.88rem; font-weight: 600; }
td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.92rem; vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--cream); }
td small { color: var(--text-muted); font-size: 0.82rem; }

.badge {
  display: inline-block;
  background: rgba(15,31,61,0.08);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.status-pending     { background: #fef3c7; color: #92400e; }
.status-in-progress { background: #dbeafe; color: #1e40af; }
.status-completed   { background: #d1fae5; color: #065f46; }
.status-new         { background: #ede9fe; color: #5b21b6; }
.status-resolved    { background: #d1fae5; color: #065f46; }

.account-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.ai-row {
  display: flex;
  gap: 24px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.ai-row:last-child { border-bottom: none; }
.ai-row span { color: var(--text-muted); min-width: 120px; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeUp 0.7s ease both; }
.hero-btns    { animation: fadeUp 0.7s 0.2s ease both; }

[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-aos].aos-visible {
  opacity: 1;
  transform: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .why-us-grid    { grid-template-columns: 1fr; gap: 40px; }
  .enquiry-layout { grid-template-columns: 1fr; }
  .dash-stats     { grid-template-columns: repeat(2, 1fr); }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 66px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 20px;
    gap: 6px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }

  .hero { min-height: 85vh; }
  .hero-btns { flex-direction: column; }
  .hero-contact { flex-direction: column; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dashboard-header { flex-direction: column; }
  .auth-card { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .portfolio-coming { padding: 40px 24px; }
  .why-us-stats { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   UPDATES: WhatsApp, Portfolio Cards, Tabs, Map
   ============================================ */

/* WhatsApp button in hero */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* WhatsApp in navbar */
.nav-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.nav-whatsapp:hover { background: #1ebe5d !important; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.75); }
}

/* Footer WhatsApp button */
.footer-wa-btn {
  display: inline-block;
  margin-top: 14px;
  background: #25D366;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.footer-wa-btn:hover { background: #1ebe5d; }
.footer-addr { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-top: 10px; line-height: 1.6; }

/* ---- PORTFOLIO GRID ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.portfolio-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
/* AI-Generated placeholder colours per project type */
.portfolio-img-1 { background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #95a5a6 100%); }
.portfolio-img-2 { background: linear-gradient(135deg, #8e44ad 0%, #c0392b 50%, #e67e22 100%); }
.portfolio-img-3 { background: linear-gradient(135deg, #27ae60 0%, #2ecc71 50%, #f39c12 100%); }
.portfolio-img-4 { background: linear-gradient(135deg, #e67e22 0%, #e74c3c 50%, #c0392b 100%); }
.portfolio-img-5 { background: linear-gradient(135deg, #1a5276 0%, #2980b9 50%, #48c9b0 100%); }
.portfolio-img-6 { background: linear-gradient(135deg, #6c3483 0%, #1abc9c 50%, #f1c40f 100%); }

/* SVG illustration inside each portfolio card */
.portfolio-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' opacity='0.12'%3E%3Crect x='20' y='80' width='160' height='100' rx='4' fill='white'/%3E%3Crect x='60' y='40' width='80' height='50' rx='4' fill='white'/%3E%3Crect x='40' y='130' width='30' height='50' rx='2' fill='white'/%3E%3Crect x='130' y='130' width='30' height='50' rx='2' fill='white'/%3E%3Crect x='85' y='120' width='30' height='60' rx='2' fill='white'/%3E%3C/svg%3E") center/cover;
}
.portfolio-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
}
.p-tag {
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.portfolio-body { padding: 20px 20px 24px; }
.portfolio-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.p-location { font-size: 0.82rem; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.portfolio-body p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

.portfolio-note {
  text-align: center;
  padding: 24px;
  background: rgba(201,168,76,0.08);
  border: 1px dashed var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.portfolio-note p { color: var(--text-muted); font-size: 0.9rem; }

/* ---- CONTACT SECTION UPDATES ---- */
.contact-card-wa {
  border-color: #25D366 !important;
  background: #f0fff4 !important;
}
.contact-card-wa:hover { box-shadow: 0 4px 16px rgba(37,211,102,0.25) !important; }
.contact-card-wa strong { color: #16a34a !important; }

.map-embed { margin-top: 20px; }

/* ---- FORM TABS ---- */
.form-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.form-tab {
  background: none;
  border: none;
  padding: 10px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  border-radius: 6px 6px 0 0;
  transition: color 0.2s, border-color 0.2s;
}
.form-tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.form-tab:hover  { color: var(--navy); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--cream);
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 3px solid var(--gold);
}

/* Email tab */
.email-compose {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.email-to {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.email-to strong { color: var(--navy); }
.copy-email-wrap {
  display: flex;
  gap: 8px;
}
.copy-email-wrap input {
  flex: 1;
  background: var(--white);
  font-size: 0.85rem;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
}
.copy-btn {
  background: var(--navy);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.copy-btn:hover { background: var(--navy-light); }

/* ---- RESPONSIVE PORTFOLIO ---- */
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .portfolio-note { flex-direction: column; text-align: center; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* ============================================
   PORTFOLIO PAGE STYLES
   ============================================ */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a6e 60%, #2d5490 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
}
.page-header-content { position: relative; z-index: 1; }
.page-header .section-label { margin-bottom: 16px; }
.page-header-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.page-header p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

/* Filter Buttons */
.filter-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 9px 20px;
  border-radius: 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--navy); }
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Portfolio CTA */
.portfolio-cta {
  margin-top: 64px;
  background: var(--navy);
  border-radius: 18px;
  padding: 48px 32px;
  text-align: center;
}
.portfolio-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.portfolio-cta p { color: rgba(255,255,255,0.75); margin-bottom: 4px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   LOGO STYLES — Multicolor Border
   ============================================ */

/* Navbar logo */
.nav-logo-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #f59e0b, #ef4444, #8b5cf6, #3b82f6, #10b981, #f59e0b);
  background-size: 300% 300%;
  animation: spin-gradient 3s linear infinite;
  flex-shrink: 0;
}
.nav-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--navy);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hero logo */
.hero-logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #f59e0b, #ef4444, #8b5cf6, #3b82f6, #10b981, #f59e0b);
  background-size: 300% 300%;
  animation: spin-gradient 3s linear infinite;
  margin-bottom: 24px;
  box-shadow: 0 0 32px rgba(201,168,76,0.4), 0 0 64px rgba(139,92,246,0.2);
}
.hero-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--navy);
}

/* Spinning gradient animation */
@keyframes spin-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Glow pulse on hero logo */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(201,168,76,0.4), 0 0 48px rgba(139,92,246,0.2); }
  50%       { box-shadow: 0 0 40px rgba(201,168,76,0.7), 0 0 80px rgba(139,92,246,0.4); }
}
.hero-logo-wrap {
  animation: spin-gradient 3s linear infinite, glow-pulse 2.5s ease-in-out infinite;
}

@media (max-width: 680px) {
  .hero-logo-wrap { width: 90px; height: 90px; }
  .nav-logo-wrap  { width: 38px; height: 38px; }
}

/* ---- Hero title row (logo left of title) ---- */
.hero-title-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.hero-title-row .hero-title {
  margin-bottom: 0;
}
.hero-title-row .hero-logo-wrap {
  margin-bottom: 0;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .hero-title-row { gap: 14px; }
  .hero-title-row .hero-logo-wrap { width: 64px; height: 64px; }
}
