/* 
  Triveni Associates - Official Corporate Stylesheet
  Clean White Background Theme with Modern 3D Depth & AOS Animations
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Brand Color Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --brand-blue: #2563eb;
  --brand-blue-hover: #1d4ed8;
  --brand-blue-light: #eff6ff;
  
  --brand-red: #dc2626;
  --brand-red-dark: #b91c1c;
  --brand-red-light: #fef2f2;
  
  --brand-navy: #1e293b;
  --brand-cyan: #0284c7;
  
  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-focus: #93c5fd;
  
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-3d: 0 20px 40px rgba(37, 99, 235, 0.18), 0 8px 16px rgba(15, 23, 42, 0.08);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--brand-navy);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-info-item i {
  color: #60a5fa;
}

/* Header Navbar: Logo and Links positioned together on the left */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.header-sticky.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Left Group: Logo + Nav Menu right next to each other */
.brand-nav-group {
  display: flex;
  align-items: center;
  gap: 2.5rem; /* Gap between logo and menu items */
}

.brand-logo-link {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 54px;
  width: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--brand-blue);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.brand-logo-img:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--brand-blue);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-btn {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  color: #ffffff;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.4);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* 3D Animation & Perspective Utilities */
.perspective-container {
  perspective: 1000px;
}

.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  will-change: transform;
}

.card-3d:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-2deg) scale(1.02);
  box-shadow: var(--shadow-3d);
}

@keyframes float3D {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  50% {
    transform: translateY(-10px) rotateX(2deg);
  }
}

.floating-3d {
  animation: float3D 6s ease-in-out infinite;
}

/* Common Section Typography */
section {
  padding: 5rem 0;
  position: relative;
}

.bg-light {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-tag.red {
  background-color: var(--brand-red-light);
  color: var(--brand-red);
  border-color: rgba(220, 38, 38, 0.2);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 5.5rem 0;
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(220, 38, 38, 0.04) 0%, transparent 50%),
              var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-red-light);
  color: var(--brand-red);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-title span.blue {
  color: var(--brand-blue);
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #ffffff;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-light);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background-color: var(--brand-blue-light);
  transform: translateY(-2px);
}

/* 3D Hero Display Card */
.hero-card-display {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3d);
  border: 4px solid #ffffff;
  background-color: #ffffff;
  perspective: 1000px;
}

.hero-logo-frame {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 2.8rem 2.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
  color: #ffffff;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.hero-card-display:hover .hero-logo-frame {
  transform: rotateY(-4deg) rotateX(4deg);
}

.hero-card-display:hover .hero-banner-img {
  transform: scale(1.06);
}

.hero-logo-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  border: 4px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  transition: var(--transition);
}

.hero-logo-frame:hover .hero-logo-img {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.4);
}

.hero-frame-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.hero-frame-tag {
  color: #94a3b8;
  font-size: 0.9rem;
}

.floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.floating-badge i {
  color: var(--brand-red);
  font-size: 1.3rem;
}

/* Stats Counter Section */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--shadow-3d);
  border-color: var(--brand-blue);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Company Profile Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text-content p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.highlight-box {
  background-color: var(--brand-blue-light);
  border-left: 4px solid var(--brand-blue);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-weight: 500;
  color: var(--brand-navy);
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.about-feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.about-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

.about-feature-card i {
  color: var(--brand-blue);
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.about-feature-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.about-feature-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Core Services Section */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.75rem 1.4rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover, .tab-btn.active {
  background-color: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
}

.service-display-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: var(--transition);
}

.service-display-card:hover {
  box-shadow: var(--shadow-3d);
}

.service-card-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.service-card-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-features-grid {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.service-features-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.service-features-grid li i {
  color: #16a34a;
  margin-top: 0.2rem;
}

.service-card-image-wrap {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #0f172a;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-display-card:hover .service-card-img {
  transform: scale(1.06);
}

/* Catalog Section */
.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-input-wrap i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.category-filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip-btn {
  padding: 0.5rem 1.1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.chip-btn:hover, .chip-btn.active {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.additional-solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.3rem;
}

.additional-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.additional-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-3d);
}

.additional-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.additional-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.additional-card-cat {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Industries We Serve Section */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.industry-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.industry-card:hover {
  transform: translateY(-7px) rotateX(3deg);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-3d);
}

.industry-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1.2rem auto;
  transition: var(--transition);
}

.industry-card:hover .industry-icon {
  background: var(--brand-blue);
  color: #ffffff;
  transform: scale(1.1);
}

.industry-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.industry-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Corporate Commitment Section */
.commitment-box {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.commitment-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.commitment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

.commitment-card i {
  font-size: 2rem;
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.commitment-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.commitment-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact & Office Location Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background: var(--brand-navy);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: #94a3b8;
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.contact-detail-text span {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  display: block;
}

.form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.form-card:hover {
  box-shadow: var(--shadow-3d);
}

.form-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-card p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: var(--bg-primary);
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

/* Footer Section */
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4.5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #94a3b8;
  margin: 1.2rem 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.footer-socials a:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-socials a.social-linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.35);
}

.footer-socials a.social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #e6683c;
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.35);
}

.footer-socials a.social-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--brand-blue);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #60a5fa;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Modal Lightbox styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 1.4rem;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  border-left: 4px solid var(--brand-blue);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .brand-nav-group {
    gap: 1.5rem;
  }

  .hero-grid, .about-grid, .service-display-card, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .commitment-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .navbar {
    height: 70px;
  }
  
  .mobile-toggle {
    display: block;
  }

  .brand-nav-group {
    gap: 1rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.5s ease;
  }
  
  .nav-menu.open {
    clip-path: circle(140% at 100% 0);
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Form Success State Styles */
.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--brand-navy);
  border: 1.5px solid var(--border-light);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.success-card-content {
  text-align: center;
  padding: 1rem 0;
}

.success-icon-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  animation: pulseSuccess 2s infinite ease-in-out;
}

@keyframes pulseSuccess {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.success-badge-wrap {
  margin-bottom: 1rem;
}

.ticket-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.success-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.success-subtitle {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.summary-details-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  text-align: left;
  margin-bottom: 1.8rem;
}

.summary-detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.summary-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.summary-label i {
  color: var(--brand-blue);
}

.summary-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.response-timeline-notice {
  background: rgba(37, 99, 235, 0.06);
  border-left: 4px solid var(--brand-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  margin-bottom: 2rem;
}

.response-timeline-notice i {
  font-size: 1.6rem;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.response-timeline-notice strong {
  display: block;
  font-size: 0.88rem;
  color: var(--brand-navy);
}

.response-timeline-notice span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .summary-details-box {
    grid-template-columns: 1fr;
  }
}
