* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: Inter, sans-serif;
  background: #0a0f1f;
  color: #f8f9ff;
}
/* Smooth scrolling for in-page navigation */
html { scroll-behavior: smooth; }

/* global variables */
:root {
  --topbar-height: 84px; /* consistent value used by topbar and hero-video */
}

/* Hero Section */
.hero {
  /* Hero spans the full viewport; the fixed topbar overlays it, so add top padding
     so inner content sits below the bar. This avoids double-offsetting the video. */
  min-height: 100vh;
  height: auto;
  padding-top: var(--topbar-height);
  text-align: center;
  background: linear-gradient(135deg, #0a0f1f, #141b3a);
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  left: 0;
  right: 0;
  top: 0; /* position the background video at the very top of the page */
  bottom: 0;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  background: #050612;
}

/* Hide mobile-only break elements by default; shown in the mobile media query */
.mobile-br { display: none; }
.hero-inner {
  position: relative;
  z-index: 1; /* ensure content is above video */
  display: flex;
  align-items: center;
  justify-content: center;
  /* visible area for inner content (viewport minus the fixed topbar) */
  min-height: calc(100vh - var(--topbar-height));
  padding: 18px;
}
.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 56px;
  color: #ffd700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}
.hero-tag {
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
  color: #cfd5ff;
  line-height: 1.5;
}
/* .hero-line removed: decorative golden divider was deleted per request */

/* Topbar / Navigation */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  z-index: 90; /* keep below modals (modal z-index:100) but above hero */
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(5,6,12,0.45);
  border-bottom: 1px solid rgba(255,215,0,0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.topbar {
  display: flex; /* ensure children (logo + nav) are horizontally placed */
  align-items: center;
  padding: 0 16px; /* small horizontal padding so items don't touch the viewport edge */
}
.logo-link { display: block; margin-left: 6px; }
.topbar .nav-links { margin-left: auto; }
.topbar .logo {
  font-family: 'Orbitron', sans-serif;
  color: #ffd700;
  font-weight: 700;
  letter-spacing: 1px;
}
.topbar .logo a { display: inline-block; }
.logo-img {
  display: block;
  /* Render the logo at its intrinsic/source size. If the image is taller than the topbar,
     scale it down to fit using max-height so layout isn't broken. */
  height: auto;
  width: auto;
  max-height: 44px;
  object-fit: contain;
}

/* User requested: increase logo size by 3x. We apply a visual scale while keeping the
   element's intrinsic layout and ensuring it stays on top. This may overlap the hero
   if the topbar is not increased — that's intentional per request. */
.logo-img {
  transform-origin: left center;
  transform: none;
  z-index: 120; /* ensure logo appears above hero elements */
  max-height: 44px; /* compact cap for desktop */
  max-width: 220px; /* prevent excessively wide logo on large screens */
}

/* On very wide screens allow the logo to be even larger for visibility */
@media (min-width: 1200px) {
  .logo-img { max-width: 220px; }
}
.topbar .nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}
.topbar .nav-links a {
  color: #f8f9ff;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.topbar .nav-links a:hover {
  background: rgba(255,215,0,0.12);
  color: #ffd700;
}

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #ffd700;
  margin-left: 8px;
  cursor: pointer;
  z-index: 160;
}
.menu-toggle svg { display:block }

/* Small screen adjustments - polished for a professional mobile header & hero */
@media (max-width: 720px) {
  /* reduce the global topbar height so it feels compact on phones */
  :root { --topbar-height: 64px; }

  /* Logo: use natural size but cap height for a neat topbar */
  .logo-img { transform: none; max-height: 36px; }

  /* Menu toggle visible and visually right-aligned for better ergonomics */
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }

  /* Hide inline nav links; reveal as full-width drop-down overlay when `nav-open` is set */
  .topbar .nav-links { display: none; }
  .topbar.nav-open .nav-links {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--topbar-height);
    background: linear-gradient(180deg, rgba(6,8,16,0.98), rgba(6,8,16,0.995));
    padding: 12px 16px 18px;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    z-index: 140;
    box-shadow: 0 12px 40px rgba(0,0,0,0.56);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    transform-origin: top center;
    animation: navDrop .22s ease-out;
  }
  @keyframes navDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

  .topbar .nav-links a { display: block; padding: 10px 12px; width: 100%; border-radius: 8px; color: #e6eefc; }

  /* Make hero slightly shorter on phones to avoid large empty area below the video */
  .hero { min-height: 75vh; }
  /* Anchor hero content to the top so the bottom of the hero sits closer to the next section */
  .hero-inner { min-height: calc(75vh - var(--topbar-height)); align-items: flex-start; }
  /* Keep the mobile hero video at its natural aspect ratio so it isn't cropped */
  .hero-video { object-fit: contain; object-position: center top; top: 0; transform: none; }

  /* modal spacing on small screens */
  .modal-inner { padding: 14px; }

  /* Stack the project cards / grid into a single column on phones */
  .grid { grid-template-columns: 1fr; gap: 18px; }

  /* Show mobile-only break element when on small screens */
  .mobile-br { display: block; }

  /* On mobile: justify paragraph text for better reading flow, keep media centered */
  .about-card .desc { text-align: justify; text-justify: inter-word; }
  .about-card .about-media { display: flex; justify-content: center; margin-bottom: 12px; }
  .about-card .about-media img { max-width: 92%; height: auto; display: block; }
}

/* Further reduce vertical gaps specifically on small screens */
@media (max-width: 720px) {
  .container { margin: 12px auto; }
  .about-heading-container { margin: 8px 0 6px; }
}

/* Very small screens: tighten typography and controls */
@media (max-width: 420px) {
  .logo-img { max-height: 36px; }
  .hero-title { font-size: 28px; }
  .hero-tag { font-size: 14px; }
  .nav-links a { padding: 10px 8px; }
  .card { padding: 16px; }
}

/* Ensure hero content isn't hidden behind the fixed topbar on small scroll (optional)
   we keep the hero full-screen visually so no content shift is applied; if you prefer
   the page content to start below the bar, uncomment the margin-top on main */
/* main { margin-top: 64px; } */

/* Contact modal centered loading overlay */
.contact-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(3,6,12,0.6), rgba(3,6,12,0.6));
  z-index: 220; /* above modal-inner contents */
  border-radius: 12px;
}
.contact-loading-logo img { width: 72px; height: 72px; display: block; animation: logo-zoom 900ms ease-in-out infinite; }
@keyframes logo-zoom { 0% { transform: scale(1); } 50% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* Ensure modal-inner is positioned relative so overlay absolute positions correctly */
.modal-inner { position: relative; }

/* Success dialog and confetti canvas styles */
.success-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3,6,12,0.6);
  z-index: 1000;
}
.success-dialog {
  background: linear-gradient(180deg, rgba(12,14,24,0.98), rgba(8,10,20,0.98));
  border: 2px solid rgba(255,215,0,0.18);
  padding: 18px 20px;
  border-radius: 12px;
  max-width: 420px;
  color: #eaf3ff;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 40px rgba(255,215,0,0.04) inset;
}
.success-dialog .success-message { margin-bottom: 12px; font-size: 15px; color: #bfffbf; }
.success-dialog .success-ok {
  background: #ffd700; color: #081022; border: 0; padding: 8px 14px; border-radius: 8px; font-weight:700; cursor:pointer;
}
.confetti-canvas { position: fixed; left:0; top:0; pointer-events:none; z-index:1200; }

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 24px auto; /* reduced top/bottom margin to tighten page flow */
  padding: 0 20px;
}

/* Contact modal styling (high-tech / edge cutting) */
.contact-modal-inner {
  max-width: 420px;
  background: linear-gradient(180deg, rgba(12,18,34,0.95), rgba(10,14,28,0.96));
  border: 1px solid rgba(255,215,0,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 40px rgba(255,215,0,0.05) inset;
  padding: 22px;
}
/* Limit the visible width of the contact form fields so they remain narrower on large screens */
.contact-form {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.contact-modal-inner h2,
.contact-modal-inner p {
  text-align: center;
}
.contact-form label {
  display: block;
  margin-bottom: 10px;
  color: #dbe6ff;
  font-size: 14px;
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-top: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.12);
  border-radius: 10px;
  color: #f8fbff;
  outline: none;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(255,215,0,0.28);
  box-shadow: 0 6px 22px rgba(255,215,0,0.06);
}
.company-check { color: #cfe7ff; display:flex; align-items:center; gap:8px; }
.btn-submit {
  background: #ffd700;
  color: #081022;
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.btn-cancel {
  background: transparent;
  color: #cfe7ff;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

/* small tweaks to modal inner to match other modals */

/* WhatsApp floating action button */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  background: #25D366; /* WhatsApp green */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(2, 90, 45, 0.28);
  z-index: 500;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(2, 90, 45, 0.34);
}
.whatsapp-fab svg { display:block; }

/* Slightly smaller on very small screens */
@media (max-width: 420px) {
  .whatsapp-fab { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .whatsapp-fab svg { width: 24px; height: 24px; }
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 35px;
}

/* Card */
.card {
  background: rgba(20, 30, 50, 0.65);
  backdrop-filter: blur(12px);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 6px 25px rgba(0,0,0,0.6);
  transition: transform 0.35s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
}
.thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 15px;
  border: 2px solid rgba(255, 215, 0, 0.25);
}
.title {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  color: #ffd700;
  margin: 0 0 6px;
}
.desc {
  font-size: 15px;
  color: #cfd5ff;
  margin: 0 0 12px;
  line-height: 1.4;
}
.price {
  font-size: 18px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 14px;
}

/* Actions */
.actions {
  display: flex;
  gap: 12px;
}
button.view-3d, a.open-ar {
  flex: 1;
  padding: 10px 14px;
  border: 0;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  transition: all 0.3s;
}
button.view-3d {
  background: #ffd700;
  color: #0a0f1f;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
button.view-3d:hover {
  background: #ffe34d;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}
a.open-ar {
  background: transparent;
  color: #ffd700;
  border: 2px solid #ffd700;
}
a.open-ar:hover {
  background: #ffd700;
  color: #0a0f1f;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 15, 0.9);
  z-index: 100;
}
.hidden {
  display: none;
}
.modal-inner {
  width: 94%;
  /* allow the modal to be significantly wider on large screens for a bigger viewing area */
  max-width: 1200px;
  background: rgba(20, 25, 50, 0.95);
  border: 2px solid #ffd700;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.45);
  position: relative;
}
model-viewer {
  width: 100%;
  /* taller viewer for immersive preview; cap height so it doesn't exceed viewport on small screens */
  height: 80vh;
  max-height: 920px;
}

/* Ensure the contact modal dialog uses the narrower contact-modal-inner size
   and does not inherit the wide .modal-inner width used by the viewer modal. */
.modal-inner.contact-modal-inner {
  width: auto;        /* override .modal-inner width:94% */
  max-width: 420px;   /* match the form fields */
  margin: 0 12px;     /* small horizontal breathing room on tiny viewports */
  box-sizing: border-box;
  /* give extra top padding so the close button sits inside the padding area
     and doesn't overlap the modal title on small screens */
  padding-top: 34px;
  padding-bottom: 20px;
}

/* On small screens keep the modal comfortably inside the viewport */
@media (max-width: 720px) {
  .modal-inner { width: 96%; max-width: 520px; padding: 14px; }
  model-viewer { height: 58vh; max-height: 520px; }
}

/* model-viewer details overlay */
.mv-details {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 320px;
  max-height: 60vh;
  background: linear-gradient(180deg, rgba(6,8,16,0.8), rgba(12,14,26,0.85));
  border: 1px solid rgba(255,215,0,0.08);
  padding: 12px 14px;
  border-radius: 12px;
  color: #eaf6ff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  overflow: auto;
  z-index: 140; /* above model viewer but below modal close */
}
.mv-details .mv-title { font-family: 'Orbitron', sans-serif; color: #ffd700; margin: 0 0 8px; font-size: 18px; }
.mv-details .mv-desc { font-size: 13px; color: #cfe7ff; margin: 0 0 8px; line-height: 1.35; }
.mv-details .mv-price { font-weight:700; color:#ffd700; margin:0; }

/* On small screens stack details under the viewer to avoid overlaying the model */
@media (max-width: 720px) {
  .mv-details { position: relative; right: auto; bottom: auto; width: 100%; max-height: none; margin-top: 12px; }
}
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 26px;
  background: transparent;
  color: #ffd700;
  border: 0;
  cursor: pointer;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  z-index: 70;
}

/* (loader removed) */

/* Model error */
.mv-error {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 18px;
  background: rgba(255, 50, 50, 0.06);
  color: #ffd7d7;
  border: 1px solid rgba(255, 50, 50, 0.12);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
  z-index: 60;
  pointer-events: auto;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0a0f1f, #141b3a);
  padding: 20px 0;
  text-align: center;
  margin-top: 28px; /* reduce large gap above footer */
  border-top: 2px solid rgba(255, 215, 0, 0.2);
}
.footer a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s;
}
.footer a:hover {
  color: #ffe34d;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Footer layout: logo on left, nav in center/right, copyright on right */
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  /* top-align children so headings sit a row up against the top of the footer */
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 20px 20px; /* small top padding to give breathing room */
}
.footer-left { flex: 0 0 auto; }
/* Reduce footer logo to avoid huge footer height while keeping visibility */
.footer-logo-img { height: 120px; width: auto; display: block; }
/* Small slogan under the footer logo */
.footer-slogan {
  margin-top: 8px;
  color: #ffd700;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  letter-spacing: 0.6px;
}
/* Quick Links - vertical rows */
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin: 0; padding: 0; }
.footer-nav a { color: #cfe7ff; text-decoration: none; font-weight: 400; }
.footer-nav a:hover { color: #ffd700; }
/* Ensure Quick Links heading and items align to the same left edge as the Contact column */
.footer-quick-links { margin-left: 0; padding-left: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
/* Left-align the Contact column so content starts at the left edge of that footer column */
.footer-right { text-align: left; color: #cfd5ff; font-size: 14px; }

@media (max-width: 720px) {
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-logo-img { height: 96px; }

  /* Only left-align the Contact column on mobile; keep logo and quick links centered */
  .footer-right {
    align-self: stretch; /* allow the contact column to use full width */
    text-align: left;    /* left-align contact heading and details */
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 12px;
  }

  /* Reduce contact icon + text size for compact mobile footer */
  .footer-right p { font-size: 13px; margin: 4px 0; }
  .footer-right a { font-size: 13px; }
  .footer-right .footer-contact-title { font-size: 15px; margin-bottom: 6px; }

  /* Keep quick links centered */
  .footer-nav { text-align: center; }
  .footer-nav ul { flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
  .footer-quick-links { align-items: center; }
}

/* Mobile-only footer tagline (divider + centered text) */
.footer-mobile-tagline { display: none; }
@media (max-width: 720px) {
  .footer-mobile-tagline {
    display: block;
    max-width: 100%;
    padding: 12px 20px 28px; /* give breathing room below footer */
    text-align: center;
    background: transparent;
  }
  .footer-golden-line {
    height: 3px;
    width: 100%; /* span full width of the mobile area */
    margin: 0 0 10px;
    background: linear-gradient(90deg, #ffd700, #ffdf6b);
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.12);
  }
  .footer-tagline {
    margin: 8px 0 0;
    color: #ffd700;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: none;
  }
  /* Hide the desktop footer slogan on small screens — show only the footer content without duplicate tagline */
  .footer-slogan { display: none; }
}

/* Footer heading styles */
.footer-quick-title, .footer-contact-title {
  color: #ffd700;
  font-family: 'Orbitron', sans-serif;
  margin: 0 0 8px 0;
  font-size: 16px;
  letter-spacing: 0.6px;
}
/* Desktop: keep the Contact heading left-aligned; mobile override above centers it */
@media (min-width: 721px) {
  .footer-contact-title { text-align: left; }
}

/* About section - centered two-column layout */
.about-heading-container { text-align: center; margin: 20px 0 8px; }
.about-heading { font-family: 'Orbitron', sans-serif; color: #ffd700; font-size: 40px; margin: 0; letter-spacing: 1px; }
@media (max-width: 720px) { .about-heading { font-size: 28px; } }
.about {
  margin: 24px 0; /* tighten spacing between sections */
}

.projects-heading-container { text-align: center; margin: 20px 0 18px; }
.projects-heading { font-family: 'Orbitron', sans-serif; color: #ffd700; font-size: 30px; margin: 0; letter-spacing: 1px; }
.projects-tagline { color: #cfd5ff; max-width: 920px; margin: 8px auto 0; font-size: 16px; line-height: 1.45; }
@media (max-width: 720px) { .projects-heading { font-size: 22px; } .projects-tagline { font-size: 14px; } }

/* Scroll-reveal utility: subtle modern fade+slide on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.995);
  transition: opacity 820ms cubic-bezier(.2,.9,.2,1), transform 820ms cubic-bezier(.2,.9,.2,1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slightly stronger entrance for cards */
.card.reveal { box-shadow: 0 10px 30px rgba(0,0,0,0.55); }

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible { transition: none !important; transform: none !important; opacity: 1 !important; }
}
.about .about-inner {
  display: flex;
  /* stretch columns so both panels share the same height */
  align-items: stretch;
  gap: 28px;
  /* center the two-column group inside the container */
  justify-content: center;
}
.about .about-card {
  /* reduce each column width so the pair is centered with side gutters */
  flex: 0 0 45%;
  max-width: 45%;
  background: rgba(20, 30, 50, 0.72);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* align content to the top of the card */
  padding-top: 18px; /* nudge the text slightly up for a top-aligned look */
}
.about .about-card .title {
  margin-bottom: 12px;
  font-size: 32px; /* larger About heading as requested */
  line-height: 1.1;
}
.about .about-media {
  flex: 0 0 45%;
  max-width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about .about-media svg,
.about .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill the panel while preserving aspect ratio */
  border-radius: 14px;
  border: 2px solid rgba(255, 215, 0, 0.18);
  box-shadow: 0 6px 22px rgba(0,0,0,0.5);
}

/* Responsive: stack vertically on small screens */
@media (max-width: 720px) {
  .about .about-inner {
    flex-direction: column;
    gap: 18px;
  }
  .about .about-card,
  .about .about-media {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .about .about-media svg,
  .about .about-media img {
    height: auto; /* restore natural sizing on small screens */
    object-fit: contain;
  }
  /* slightly smaller heading on small screens to keep layout balanced */
  .about .about-card .title { font-size: 24px; }
}
    
