﻿:root {
  color-scheme: dark;
  --bg: #0B1020;
  --card: #151C35;
  --card-hover: #1D2847;
  --text: #F8FAFC;
  --heading: #F8FAFC;
  --muted: #CBD5E1;
  --primary: #7C3AED;
  --secondary: #3B82F6;
  --border: rgba(124, 58, 237, 0.15);
  --shadow: 0 24px 80px rgba(0, 8, 32, 0.35);
  --shadow-soft: 0 10px 30px rgba(0, 8, 32, 0.2);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.glass-card {
  background: rgba(21, 28, 53, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 24%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.16), transparent 30%),
    var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
}

.layout-shell {
  display: grid;
  gap: 1.5rem;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7C3AED, #3B82F6);
  color: #0B1020;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-soft);
}

.brand-label,
.brand-subtitle {
  margin: 0;
  line-height: 1.2;
}

.brand-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: 0.5px;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 42px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--heading);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7C3AED, #3B82F6);
}

.topnav {
  position: absolute;
  inset: 0 0 auto auto;
  margin-top: 6rem;
  padding: 1rem;
  width: min(95%, 280px);
  background: rgba(11, 16, 32, 0.96);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: translateX(110%);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
  display: grid;
  gap: 0.75rem;
}

.topnav.open {
  transform: translateX(0);
  opacity: 1;
}

.topnav a {
  display: block;
  text-decoration: none;
  color: var(--heading);
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(11, 16, 32, 0.85);
  transition: transform 0.2s ease, background 0.2s ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  background: rgba(59, 130, 246, 0.16);
  transform: translateX(4px);
}

.profile-panel,
.profile-card,
.contact-summary,
.qr-card,
.hero-banner,
.section-block,
.services-section,
.feature-item {
  background: rgba(21, 28, 53, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.profile-panel,
.profile-card,
.contact-summary,
.qr-card,
.hero-banner,
.section-block,
.services-section,
.feature-item {
  background: rgba(21, 28, 53, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

/* YAHAN PASTE KARNA HAI */

.hero-banner {
  padding: 32px 40px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-banner .section-heading {
  max-width: 850px;
}

.hero-banner h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.hero-banner p {
  margin-top: 12px;
  max-width: 800px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.profile-panel,
.profile-card,
.contact-summary,
.qr-card {
  padding: 1.5rem;
}

.profile-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;

  align-self: start;
  height: fit-content;
}

.brand-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

.company-mark {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  object-fit: contain;
}

.brand-panel > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.profile-card {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}

.profile-copy {
  width: min(100%, 90%);
}

.profile-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: var(--heading);
}

.designation {
  margin-top: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.intro {
  margin-top: 18px;
  color: var(--muted);
  line-height: 2.1;
  font-size: 1.05rem;
  max-width: 700px;
}

.profile-actions,
.action-grid {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.action-button {
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-width: 160px;
}

.action-button.primary {
  background: linear-gradient(135deg, #7C3AED, #3B82F6);
  color: #F8FAFC;
  box-shadow: 0 18px 45px rgba(124, 58, 237, 0.25);
}

.action-button.secondary {
  background: rgba(59, 130, 246, 0.12);
  color: var(--heading);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(124, 58, 237, 0.22);
}

.contact-summary {
  display: grid;
  gap: 1rem;
}

.contact-summary span {
  display: block;
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-summary a {
  color: var(--heading);
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.75;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 0.25rem 0 0;
}

.social-dot {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 2px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25);
}

.social-dot::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.social-dot:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.35);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.social-dot.linkedin { background: linear-gradient(135deg, #7C3AED, #3B82F6); }
.social-dot.linkedin::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18.94 3H5.06A2.06 2.06 0 0 0 3 5.06v13.88A2.06 2.06 0 0 0 5.06 21h13.88A2.06 2.06 0 0 0 21 18.94V5.06A2.06 2.06 0 0 0 18.94 3ZM8.33 18.5H5.67V9.81h2.66Zm-1.33-10.03a1.54 1.54 0 1 1 0-3.08 1.54 1.54 0 0 1 0 3.08Zm12.44 9.03h-2.65v-4.51c0-1.08-.02-2.46-1.5-2.46-1.5 0-1.73 1.17-1.73 2.37v4.6h-2.66V9.81h2.55v1.19h.04a2.8 2.8 0 0 1 2.52-1.39c2.7 0 3.2 1.77 3.2 4.07Z'/%3E%3C/svg%3E"); }
.social-dot.instagram { background: linear-gradient(135deg, #EC4899, #8B5CF6); }
.social-dot.instagram::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='17' cy='7' r='0.8' fill='%23fff'/%3E%3C/svg%3E"); }
.social-dot.x { background: linear-gradient(135deg, #0EA5E9, #06B6D4); }
.social-dot.x::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24h-6.657l-5.207-6.807-5.974 6.807H2.882l7.432-8.49L1.277 2.25h6.883l4.745 6.28 5.419-6.28zM17.15 18.75h1.828L5.897 4.065H4.06l13.09 14.685z'/%3E%3C/svg%3E"); }
.social-dot.location { background: linear-gradient(135deg, #F87171, #FB923C); }
.social-dot.location::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 2.25a7.5 7.5 0 0 0-7.5 7.5c0 5.06 7.5 11.25 7.5 11.25S19.5 14.81 19.5 9.75A7.5 7.5 0 0 0 12 2.25Zm0 10.5a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z'/%3E%3C/svg%3E"); }

.qr-card {
  display: grid;
  gap: 1.2rem;
  padding: 2rem;
  text-align: center;
  border-radius: 24px;
}

.qr-card img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto;
  padding: 10px;
  background: var(--bg);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.qr-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

.section-block {
  padding: 1.5rem;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.section-heading span {
  color: var(--primary);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--heading);
}

.about-section p,
.hero-banner p,
.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.services-section {
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(21, 28, 53, 0.95), rgba(21, 28, 53, 0.98));
  border: 1px solid var(--border);
}

.services-section .section-heading span {
  color: var(--secondary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.services-section .section-heading h2 {
  margin-top: 0.4rem;
  margin-bottom: 1.8rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  padding: 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  background: var(--card);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 8, 32, 0.2);
  background: var(--card-hover);
}

.service-badge {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  margin-bottom: 1.4rem;
}

.service-card h3 {
  margin: 0 0 0.95rem;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--heading);
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.features-section {
  padding: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-item {
  padding: 1.5rem;
  min-height: 200px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 8, 32, 0.18);
  background: rgba(21, 28, 53, 0.95);
}

.feature-item strong {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--heading);
}

.feature-item p {
  margin: 0;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
}

.hero-image-wrap img {
  width: 240px;
  height: 240px;
  border-radius: 24px; /* square with rounded corners */
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 16px;
}

.contact-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 28px;
}

.contact-card address,
.contact-card a {
  word-break: break-word;
  line-height: 1.7;
}

.contact-card {
  padding: 1.5rem;
  background: rgba(21, 28, 53, 0.92);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
  width: 100%;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
}

.contact-card span {
  display: block;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-card a,
.contact-card address {
  color: var(--heading);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.6;
  display: block;
  margin: 0;
  font-style: normal;
}

.contact-card a:hover {
  color: var(--secondary);
}

@media (min-width: 768px) {
  .layout-shell {
    grid-template-columns: 420px 1fr;
  }
.layout-shell {
  align-items: start;
}
  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .full-width {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .full-width {
    grid-column: 1 / -1;
  }
}

.footer-shell {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  text-align: center;

  background: linear-gradient(
    135deg,
    rgba(21, 28, 53, 0.88),
    rgba(29, 40, 71, 0.88)
  );

  height: auto;
  min-height: auto;
  overflow: visible;

  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.footer-shell p {
  margin: 0;
  line-height: 1.6;
}

.footer-shell p:first-child {
  color: var(--heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-shell p:last-child {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .profile-panel {
    position: sticky;
    top: 20px;
    align-self: start;
    height: fit-content;
  }
}@media (max-width: 767px) {

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    min-height: auto;
    padding: 20px;
  }

  .contact-card a,
  .contact-card address {
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .contact-section h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

}

@media (max-width: 767px) {

  .contact-card {
    min-height: auto;
    padding: 20px;
    width: 100%;
  }

  .contact-card a,
  .contact-card address {
    font-size: 16px;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .contact-section h2 {
    font-size: 2rem;
    line-height: 1.2;
  }
}

@media (max-width: 767px) {
  .footer-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    margin: 1.5rem 0 3rem;
    padding: 1.25rem 1rem;
    border-radius: 14px;
    overflow-wrap: break-word;
  }

  .page-shell {
    padding-bottom: 4rem;
  }

  /* Ensure footer text wraps and doesn't overflow on very small devices */
  .footer-shell p {
    word-break: break-word;
    hyphens: auto;
  }
}

  @media (max-width: 767px) {
    .footer-shell {
      margin-top: 2rem;
      padding: 1.5rem 1rem;
      border-radius: 16px;
    }

    .footer-shell p {
      margin: 0;
      line-height: 1.5;
    }

    .footer-shell p:first-child {
      color: var(--heading);
      font-weight: 700;
      font-size: 0.95rem;
      margin-bottom: 0.5rem;
    }

    .footer-shell p:last-child {
      color: var(--muted);
      font-size: 0.85rem;
      letter-spacing: 0.02em;
      word-break: break-word;
    }
  }

