/* ============================================
   TheTVM Corporate Website - Premium Stylesheet
   Technical Ventures & Management LLP
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #0a1628;
  --primary-light: #122042;
  --secondary: #1a2d5a;
  --accent: #4f6df5;
  --accent-light: #7b8ff7;
  --accent-gradient: linear-gradient(135deg, #4f6df5 0%, #7c3aed 100%);
  --accent-gradient-hover: linear-gradient(135deg, #3b5de7 0%, #6d28d9 100%);
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-grey: #eef1f6;
  --mid-grey: #94a3b8;
  --dark-grey: #334155;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 10px 40px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-primary);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(79, 109, 245, 0.3);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 25px rgba(79, 109, 245, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  z-index: 1001;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
}

.logo-text {
  color: var(--white);
  transition: var(--transition);
}

.header.scrolled .logo-text {
  color: var(--text-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

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

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

.header.scrolled .nav-link {
  color: var(--text-secondary);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: var(--accent);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--accent-gradient);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  box-shadow: 0 4px 15px rgba(79, 109, 245, 0.4);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .menu-toggle span {
  background: var(--text-primary);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(79, 109, 245, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(79, 109, 245, 0.08) 0%, transparent 40%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 100px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}

.hero .btn-group {
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat h3 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

/* Floating orb decorations */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(79, 109, 245, 0.12);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(124, 58, 237, 0.1);
  bottom: -50px;
  left: 30%;
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--primary);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(79, 109, 245, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.15rem;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.5);
}

.page-hero .breadcrumb a:hover {
  color: var(--accent-light);
}

.page-hero .breadcrumb span {
  color: rgba(255,255,255,0.3);
}

.page-hero .breadcrumb .current {
  color: rgba(255,255,255,0.8);
}

/* --- Sections --- */
.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--off-white);
}

.section-dark {
  background: var(--primary);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255,255,255,0.65);
}

.section-dark .section-label {
  color: var(--accent-light);
}

/* --- Trusted Clients Section --- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.client-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.client-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.client-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.client-card p {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(79, 109, 245, 0.1), rgba(124, 58, 237, 0.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 50px;
  margin-bottom: 20px;
}

.badge-saas {
  background: rgba(79, 109, 245, 0.1);
  color: var(--accent);
}

.badge-enterprise {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.badge-mobile {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.badge-desktop {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.badge-integration {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.product-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.product-link:hover {
  gap: 10px;
}

.product-link svg {
  width: 16px;
  height: 16px;
}

.confidential-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
}

/* --- Why Choose / Features --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-content h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}

/* --- Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

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

.portfolio-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(79, 109, 245, 0.1), rgba(124, 58, 237, 0.06));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent);
}

.portfolio-content h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.portfolio-content .portfolio-url {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-block;
}

.portfolio-content p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.portfolio-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--off-white);
  color: var(--text-secondary);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Technology Section --- */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tech-category {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
}

.tech-category:hover {
  box-shadow: var(--shadow-md);
}

.tech-category h3 {
  margin-bottom: 20px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  padding: 8px 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79, 109, 245, 0.05);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding-right: 20px;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(79, 109, 245, 0.1), rgba(124, 58, 237, 0.06));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-detail h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.9rem;
}

.contact-detail a {
  color: var(--accent);
}

.contact-detail a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 109, 245, 0.1);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid-grey);
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 0.95rem;
}

.form-message {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: block;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
  display: block;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(79, 109, 245, 0.12) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

/* --- Footer --- */
.footer {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-light);
}

/* --- About Page Content --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-value {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.about-value:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.about-value-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.about-value h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.about-value p {
  font-size: 0.82rem;
}

/* --- Scroll Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 80px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s ease;
    padding: 40px;
  }

  .nav.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8) !important;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--white) !important;
  }

  .services-grid,
  .products-grid,
  .portfolio-grid,
  .tech-categories {
    grid-template-columns: 1fr;
  }

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

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

  .contact-info {
    padding-right: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }

  .hero-stat h3 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  .btn {
    text-align: center;
    justify-content: center;
  }

  .page-hero {
    padding: 130px 0 70px;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .client-card {
    padding: 20px 12px;
  }

  .client-icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .client-card h4 {
    font-size: 0.8rem;
  }

  .client-card p {
    font-size: 0.7rem;
  }

  .contact-form {
    padding: 24px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

/* --- Loading animation for page --- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Homepage Products 2x2 Grid --- */
.products-grid--home {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .products-grid--home {
    grid-template-columns: 1fr;
  }
}

/* --- Footer location text styling --- */
.footer-links li {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
