/* ============================================
   BlueWeldSG - Design System & Styles
   ============================================ */

/* ========== CSS Custom Properties ========== */
:root {
  /* Color Palette - Industrial & Professional */
  --color-primary: #1e3a8a;
  /* Deep Blue */
  --color-primary-light: #3b82f6;
  /* Bright Blue */
  --color-primary-dark: #1e293b;
  /* Dark Slate */

  --color-accent: #0ea5e9;
  /* Sky Blue */
  --color-accent-light: #38bdf8;
  /* Light Sky */

  --color-steel: #64748b;
  /* Steel Gray */
  --color-steel-light: #94a3b8;
  /* Light Steel */
  --color-steel-dark: #475569;
  /* Dark Steel */

  --color-metallic: #cbd5e1;
  /* Metallic Silver */
  --color-bg-dark: #0f172a;
  /* Dark Background */
  --color-bg-light: #f8fafc;
  /* Light Background */

  --color-text-primary: #0f172a;
  /* Primary Text */
  --color-text-secondary: #475569;
  /* Secondary Text */
  --color-text-light: #ffffff;
  /* Light Text */

  --color-success: #10b981;
  /* Success Green */
  --color-warning: #f59e0b;
  /* Warning Orange */

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
}

/* ========== Reset & Base Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

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

/* ========== Typography ========== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-secondary);
}

/* ========== Header & Navigation ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-base);
}

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

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-highlight {
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 1.5rem;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-base);
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding-top: var(--header-height);
}

/* Hero with Background Image */
.hero-with-image {
  background: none;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Individual Hero Backgrounds */
.hero-with-image .hero-background {
  background-image: url('/images/hero/home-hero.png');
}

.hero-services .hero-background {
  background-image: url('/images/hero/services-hero.png');
}

.hero-contact .hero-background {
  background-image: url('/images/hero/contact-hero.png');
}

.hero-projects .hero-background {
  background-image: url('/images/hero/past-projects-hero.png');
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(30, 58, 138, 0.85) 0%,
      rgba(30, 41, 59, 0.75) 100%);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 2;
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-md);
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  color: var(--color-accent-light);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-metallic);
  margin-bottom: var(--spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn>* {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-light);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ========== Container & Sections ========== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
}

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

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ========== Cards & Grid ========== */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.card-title {
  color: var(--color-primary-dark);
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========== Image Gallery ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ========== Contact Form ========== */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-xs);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--color-metallic);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all var(--transition-base);
  background: white;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

/* ========== Footer ========== */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-metallic);
  padding: var(--spacing-xl) 0 var(--spacing-sm);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  color: white;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--color-metallic);
  transition: color var(--transition-base);
}

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

.footer-bottom {
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--color-steel-light);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --spacing-3xl: 4rem;
    --spacing-2xl: 3rem;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-base);
    pointer-events: none;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu-toggle {
    display: flex;
  }

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

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

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

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--spacing-2xl) 0;
  }

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

/* ========== Utility Classes ========== */
.text-center {
  text-align: center;
}

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

.text-accent {
  color: var(--color-accent);
}

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-white {
  background-color: white;
}

.mt-1 {
  margin-top: var(--spacing-sm);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

.mt-3 {
  margin-top: var(--spacing-lg);
}

.mt-4 {
  margin-top: var(--spacing-xl);
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

.mb-4 {
  margin-bottom: var(--spacing-xl);
}

/* Video Gallery Cards */
.video-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px,
      transparent 20px),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px,
      transparent 20px);
  opacity: 0.3;
  pointer-events: none;
}

.video-card-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.video-card-content svg {
  margin-bottom: 1rem;
}

.video-card-content p {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ========== Contact Information Card ========== */
.contact-info-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(59, 130, 246, 0.1);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.contact-info-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: white;
  padding: var(--spacing-lg);
  text-align: center;
}

.contact-info-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: white;
}

.contact-info-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.contact-info-list {
  padding: var(--spacing-lg);
}

.contact-info-item {
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-info-icon.location {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.contact-info-icon.phone {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.contact-info-icon.email {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.contact-info-icon.hours {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.contact-info-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 0;
}

.contact-info-details {
  margin-left: 48px;
  /* Align with icon + gap */
}

.contact-main {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 0.25rem 0;
  line-height: 1.4;
}

.contact-sub {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0;
  font-style: italic;
}

/* Hover effects */
.contact-info-item:hover {
  background: rgba(59, 130, 246, 0.02);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin: 0 calc(-1 * var(--spacing-md));
  transition: all var(--transition-base);
}

.contact-info-item:hover .contact-info-icon {
  transform: scale(1.05);
  transition: transform var(--transition-base);
}

.contact-info-item:hover .contact-main {
  color: var(--color-primary);
  transition: color var(--transition-base);
}

/* Responsive design */
@media (max-width: 768px) {
  .contact-info-header {
    padding: var(--spacing-md);
  }

  .contact-info-header h3 {
    font-size: 1.25rem;
  }

  .contact-info-list {
    padding: var(--spacing-md);
  }

  .contact-info-icon {
    width: 32px;
    height: 32px;
  }

  .contact-info-details {
    margin-left: 44px;
  }

  .contact-info-title {
    font-size: 1rem;
  }

  .contact-main {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
  }

  .contact-info-details {
    margin-left: 0;
    text-align: center;
    width: 100%;
  }

  .contact-info-item:hover {
    margin: 0;
    padding: var(--spacing-md) 0;
  }
}

/* ========== Contact Form Card ========== */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(59, 130, 246, 0.1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: white;
  padding: var(--spacing-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.contact-form-header-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.contact-form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.contact-form-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.contact-form-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  display: block;
  margin-top: 0.25rem;
}

.contact-submit-btn {
  width: 100%;
  margin-top: auto;
}

/* Update contact info card for equal height */
.contact-info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info-list {
  flex: 1;
}

/* ========== Quick Response Card ========== */
.quick-response-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.quick-response-card {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  color: white;
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.quick-response-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(45deg);
}

.quick-response-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.quick-response-content {
  position: relative;
  z-index: 1;
}

.quick-response-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 var(--spacing-sm) 0;
  color: white;
}

.quick-response-content>p {
  font-size: 1.1rem;
  margin: 0 0 var(--spacing-lg) 0;
  opacity: 0.95;
  line-height: 1.6;
}

.quick-response-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.btn-whatsapp,
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: 1rem;
  min-width: 140px;
  justify-content: center;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: 2px solid #25D366;
}

.btn-whatsapp:hover {
  background: #128C7E;
  border-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-call {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-call:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.quick-response-note {
  opacity: 0.9;
  font-size: 0.875rem;
  font-style: italic;
}

.quick-response-note p {
  margin: 0;
}

/* Enhanced responsive design for new layout */
@media (max-width: 768px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-header {
    padding: var(--spacing-md);
  }

  .contact-form-header h3 {
    font-size: 1.25rem;
  }

  .contact-form-content {
    padding: var(--spacing-md);
  }

  .quick-response-card {
    padding: var(--spacing-lg);
    margin: 0 var(--spacing-md);
  }

  .quick-response-content h3 {
    font-size: 1.5rem;
  }

  .quick-response-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-whatsapp,
  .btn-call {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .quick-response-card {
    padding: var(--spacing-md);
  }

  .quick-response-content h3 {
    font-size: 1.25rem;
  }

  .quick-response-content>p {
    font-size: 1rem;
  }
}