/* Global Styles & Variables */
:root {
  --primary-color: #1976d2;
  --primary-light: #42a5f5;
  --primary-dark: #1565c0;
  --accent-color: #ff4081;
  --warn-color: #f44336;
  --success-color: #4caf50;
  
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.2);
  
  --border-radius: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-family: 'Roboto', sans-serif;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Material Icons */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 80px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.logo-svg {
  height: 120px;
  width: auto;
  max-width: 600px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo-svg:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex: 0 0 auto;
}

.nav-btn {
  background: transparent;
  border: none;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-btn:hover {
  background: rgba(25, 118, 210, 0.1);
  color: var(--primary-color);
}

.cta-nav {
  background: var(--primary-color);
  color: white;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  transition: var(--transition);
  margin-left: 1rem;
}

.cta-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 64px;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: normal;
  max-width: 100%;
  overflow: visible;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.cta-primary {
  background: #ffd700;
  color: #333;
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  min-width: 200px;
  white-space: nowrap;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.cta-primary:hover {
  background: #ffed4a;
  transform: translateY(-2px);
}

.cta-secondary {
  background: transparent;
  color: #ffd700;
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  min-width: 200px;
  white-space: nowrap;
  border: 2px solid #ffd700;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.cta-secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.key-points {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-icon {
  color: #ffd700;
}

.trust-indicators {
  margin-top: 3rem;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat strong {
  font-size: 2rem;
  color: #ffd700;
  display: block;
}

.stat span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: #f8f9fa;
}

.services .container {
  max-width: 1400px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 700;
}

.typewriter {
  min-height: 3.5rem;
}

.cursor {
  display: inline-block;
  color: #1976d2;
  animation: blink 1s infinite;
  font-weight: normal;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.section-header p {
  font-size: 1.3rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-width: 400px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #1976d2;
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.15);
}

.service-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 2rem 2rem 1rem;
}

.service-top {
  flex: 0 0 auto;
  margin-bottom: 1.5rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-icon {
  margin-bottom: 1.5rem;
  position: relative;
}

.service-icon .material-icons {
  font-size: 4rem;
  width: 4rem;
  height: 4rem;
  color: #1976d2;
  background: rgba(25, 118, 210, 0.1);
  border-radius: 50%;
  padding: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-description {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 1.1rem;
  display: block;
  text-align: center;
  padding: 0 1rem;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.service-middle {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.price-section {
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: rgba(25, 118, 210, 0.05);
  border-radius: 8px;
  flex: 0 0 auto;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: #1976d2;
  margin-bottom: 0.25rem;
}

.price-note {
  font-size: 0.9rem;
  color: #666;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.features li {
  padding: 0.6rem 0;
  color: #555;
  border-bottom: 1px solid #eee;
  flex: 0 0 auto;
  font-size: 0.95rem;
  min-height: 2.5rem;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.features li:last-child {
  border-bottom: none;
  margin-bottom: auto;
  min-height: 2.5rem;
}

.features li::before {
  content: "✓ ";
  color: #4caf50;
  font-weight: bold;
  margin-right: 0.5rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.service-actions {
  padding: 1rem 2rem 1.5rem;
  margin-top: auto;
  flex: 0 0 auto;
}

.quote-btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.quote-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.cta-section p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.custom-cta {
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  min-height: 48px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: var(--transition);
}

.custom-cta:hover {
  background: #c51162;
  transform: translateY(-2px);
}

/* Contact Section */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-100px) rotate(180deg);
    opacity: 1;
  }
}

.contact-section {
  min-height: 100vh;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.contact-section .container {
  max-width: 1400px;
}

.hero-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem 0;
  animation: fadeInUp 0.8s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  overflow: hidden;
  border-right: 3px solid #4facfe;
  white-space: nowrap;
  animation: typewriter 2.5s steps(12) 0.5s forwards, blink 1s infinite;
  width: 0;
}

.highlight-text {
  color: white;
  display: block;
  overflow: hidden;
  border-right: 3px solid white;
  white-space: nowrap;
  animation: typewriter 3s steps(17) 1s forwards, blink 1s infinite;
  width: 0;
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card,
.contact-form-card,
.rate-limit-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  overflow: hidden;
}

.contact-info-card {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.contact-form-card {
  animation: slideInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-info-card:hover,
.contact-form-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.card-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.header-icon {
  font-size: 3rem;
  width: 3rem;
  height: 3rem;
  color: #f093fb;
  margin-bottom: 1rem;
  display: block;
}

.card-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.contact-methods {
  padding: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.method-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon .material-icons {
  color: white;
  font-size: 1.5rem;
}

.method-content h4 {
  color: white;
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

.method-content span,
.contact-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-link:hover {
  color: #f093fb;
}

.form-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.form-icon {
  font-size: 3rem;
  width: 3rem;
  height: 3rem;
  color: #4facfe;
  margin-bottom: 1rem;
  display: block;
}

.form-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.form-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.stunning-form {
  padding: 2rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field-group {
  margin-bottom: 1rem;
}

.form-field-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
  width: 100%;
  padding: 0.875rem 0.875rem 0.875rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
  outline: none;
  border-color: #4facfe;
  background: rgba(255, 255, 255, 0.1);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.select-wrapper select {
  appearance: none;
  cursor: pointer;
  padding-right: 2.5rem !important;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: 'arrow_drop_down';
  font-family: 'Material Icons';
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

/* Ensure select dropdown options are visible */
.select-wrapper select option {
  background: #333;
  color: white;
  padding: 10px;
}

.message-field {
  margin-bottom: 2rem;
}

.textarea-wrapper textarea {
  min-height: 150px;
  resize: vertical;
  padding-left: 2.5rem;
}

.char-counter {
  text-align: right;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.error-message {
  display: block;
  color: #ff5252;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.error-message:empty {
  display: none;
}

.security-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.captcha-question {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 500;
  flex: 1;
}

.captcha-question .material-icons {
  color: #4facfe;
}

.captcha-field {
  width: 100px;
}

.captcha-field input {
  width: 100%;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  text-align: center;
  font-size: 1rem;
}

.captcha-field input:focus {
  outline: none;
  border-color: #4facfe;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: white;
}

.consent-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #4facfe;
}

.consent-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.submit-button {
  width: 100%;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.submit-button:not(:disabled):hover {
  background: rgba(255, 255, 255, 1);
  color: #764ba2;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.button-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.button-icon {
  font-size: 1.5rem;
}

.button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.submit-button:hover .button-glow {
  left: 100%;
}

.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.security-badge .material-icons {
  color: #4caf50;
  font-size: 1.2rem;
}

.rate-limit-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rate-limit-content {
  color: white;
}

.rate-limit-icon .material-icons {
  font-size: 4rem;
  width: 4rem;
  height: 4rem;
  color: #ff9800;
  margin-bottom: 1rem;
  display: block;
}

.rate-limit-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.countdown-timer {
  font-size: 2rem;
  font-weight: 700;
  color: #ff9800;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 2rem 0 1rem;
}

.footer .container {
  max-width: 1200px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo-container {
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
}

.footer-logo {
  height: 150px;
  width: 100%;
  max-width: 800px;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #555;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0.5rem 1rem;
  }
  
  .nav-links {
    gap: 0.5rem;
  }
  
  .cta-nav {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
  
  .logo-svg {
    height: 80px;
    max-width: 320px;
  }
  
  .hero {
    padding: 1rem 0.5rem;
    min-height: calc(100vh - 64px);
  }
  
  .hero-content {
    padding: 0 0.5rem;
  }
  
  .hero h1 {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 280px;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
  
  .key-points {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .captcha-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .captcha-field {
    width: 100%;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .services {
    padding: 3rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    min-width: unset;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .service-content {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .cta-section {
    padding: 2rem 1rem;
  }
  
  .cta-section h3 {
    font-size: 1.6rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
  
  .custom-cta {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar {
    min-height: 48px;
  }
  
  .nav-container {
    padding: 0.25rem 0.75rem;
  }
  
  .logo-svg {
    height: 64px;
    max-width: 240px;
  }
  
  .nav-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  .cta-nav {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    padding: 0.5rem 0.75rem;
  }
  
  .hero {
    padding: 0.5rem 0.25rem;
  }
  
  .hero-content {
    padding: 0 0.25rem;
  }
  
  .hero h1 {
    font-size: clamp(1.2rem, 7vw, 1.8rem);
    padding: 0 0.25rem;
  }
  
  .hero-subtitle {
    font-size: clamp(0.9rem, 4.5vw, 1.1rem);
    padding: 0 0.25rem;
  }
  
  .cta-primary,
  .cta-secondary {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    max-width: 260px;
  }
  
  .service-content {
    padding: 1.5rem 1rem 1rem;
  }
  
  .service-actions {
    padding: 1rem 1rem 1.5rem;
  }
  
  .service-icon .material-icons {
    font-size: 3rem;
    width: 3rem;
    height: 3rem;
  }
  
  .price {
    font-size: 1.7rem;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
  }
  
  .cta-section {
    padding: 2rem 1rem;
    margin: 0 0.5rem;
  }
  
  .cta-section h3 {
    font-size: 1.6rem;
  }
  
  .cta-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .custom-cta {
    font-size: 0.9rem;
    padding: 0.875rem 0.75rem;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: clamp(1rem, 8vw, 1.6rem);
    padding: 0 0.25rem;
    word-break: break-word;
  }
  
  .cta-section {
    padding: 1.5rem 0.75rem;
    margin: 0 0.25rem;
  }
  
  .custom-cta {
    font-size: 0.9rem;
    padding: 0.875rem 0.75rem;
  }
}

/* Large screens - 4 columns */
@media (min-width: 1600px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1600px;
    margin: 0 auto 4rem;
  }
}

/* Medium-large screens - 2 columns */
@media (min-width: 900px) and (max-width: 1599px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .service-card {
    min-width: 450px;
  }
}

/* Tablet screens */
@media (max-width: 899px) {
  .services {
    padding: 3rem 0;
  }
  
  .services .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .typewriter {
    min-height: 2.8rem;
  }
  
  .service-description {
    font-size: 1rem;
  }
  
  .service-top {
    min-height: auto;
  }
  
  .service-card h3 {
    white-space: normal;
    font-size: 1.3rem;
    min-height: auto;
  }
  
  .cta-section {
    padding: 2.5rem 1.5rem;
  }
  
  .custom-cta {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

/* Mobile responsive for hero */
@media (max-width: 768px) {
  .hero {
    padding: 1rem 0.5rem;
    min-height: calc(100vh - 64px);
  }
  
  .hero-content {
    padding: 0 0.5rem;
  }
  
  .stats {
    gap: 2rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .hero {
    padding: 0.5rem 0.25rem;
  }
  
  .hero-content {
    padding: 0 0.25rem;
  }
  
  .stats {
    gap: 1.5rem;
  }
}

/* Invoicing Section Styles - Updated to match Angular app */
.invoicing-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.invoicing-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.invoicing-section .section-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.invoicing-section .section-header p {
  font-size: 1.2rem;
  color: #666;
}

/* Password Overlay - Updated to match Angular Material */
.password-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.password-card {
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.password-card .card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.password-card .header-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.password-card h3 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
}

.password-card .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.password-card .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-card .input-icon {
  position: absolute;
  left: 12px;
  color: #666;
  font-size: 1.2rem;
}

.password-card input[type="password"] {
  width: 100%;
  padding: 0.875rem 0.875rem 0.875rem 2.5rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.password-card input[type="password"]:focus {
  outline: none;
  border-color: #667eea;
}

.password-card .submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.password-card .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Invoice Form Container - Updated to match Angular */
.invoice-form-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.invoice-form-card,
.preview-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.invoice-form-card .card-header,
.preview-card .card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.invoice-form-card .header-icon,
.preview-card .header-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.invoice-form-card h3,
.preview-card h3 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
}

.card-content {
  padding: 1.5rem;
}

/* Invoice Form */
.invoice-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.form-group .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-group .input-icon {
  position: absolute;
  left: 12px;
  color: #666;
  font-size: 1.2rem;
}

.form-group input[type="text"],
.form-group input[type="number"] {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

/* Items Section - Updated to match Angular */
.items-section {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin-bottom: 30px;
}

.items-section h4 {
  margin: 0 0 1rem 0;
  color: #333;
  font-size: 1.1rem;
  border-bottom: 2px solid #667eea;
  padding-bottom: 10px;
}

.item-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 15px;
}

.item-row .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.item-row .item-description {
  flex: 2;
}

.item-row .item-price {
  flex: 1;
  min-width: 150px;
}

.item-row input {
  width: 100%;
  padding: 0.625rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
}

.item-row input:focus {
  outline: none;
  border-color: #667eea;
}

.remove-btn,
.add-btn {
  background: #f44336;
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  min-width: 40px;
  height: 40px;
  margin-top: 8px;
}

.remove-btn:hover:not(:disabled) {
  background: #d32f2f;
}

.remove-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.add-btn {
  background: #4caf50;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.add-btn:hover {
  background: #45a049;
}

.add-btn .material-icons {
  font-size: 1.2rem;
}

/* Form Actions - Updated to match Angular */
.form-actions {
  display: flex;
  gap: 10px;
  padding: 16px;
}

.primary-btn,
.secondary-btn {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.primary-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.secondary-btn {
  background: #e0e0e0;
  color: #333;
}

.secondary-btn:hover {
  background: #d0d0d0;
  transform: translateY(-2px);
}

/* Invoice Preview - Updated to match Angular */
.invoice-preview {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.preview-card .card-header {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.invoice-document {
  background: white;
  padding: 40px;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.invoice-document .invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 3px solid #667eea;
}

.invoice-document .logo-section {
  flex: 1;
}

.invoice-document .company-logo {
  max-width: 600px;
  max-height: 240px;
  object-fit: contain;
  margin-bottom: 15px;
}

.invoice-document .banking-details {
  margin-top: 15px;
  font-size: 12px;
  color: #555;
  line-height: 1.4;
}

.invoice-document .banking-details p {
  margin: 2px 0;
}

.invoice-document .banking-details p:first-child {
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.invoice-document .invoice-details {
  text-align: right;
  flex: 1;
}

.invoice-document .invoice-details h1 {
  margin: 0 0 15px 0;
  color: #667eea;
  font-size: 32px;
  font-weight: bold;
}

.invoice-document .detail-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 5px 0;
  font-size: 14px;
}

.invoice-document .detail-label {
  color: #333;
  font-weight: 700;
  min-width: 80px;
  text-align: right;
}

.invoice-document .detail-value {
  color: #555;
  min-width: 100px;
  text-align: left;
}

.invoice-document .customer-info {
  margin-bottom: 40px;
}

.invoice-document .customer-info h3 {
  color: #667eea;
  margin-bottom: 10px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.invoice-document .customer-info p {
  margin: 5px 0;
  color: #333;
  line-height: 1.6;
}

.invoice-document .customer-info .address {
  color: #666;
  white-space: pre-line;
}

.invoice-document .invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  flex-grow: 0;
}

.invoice-document .invoice-table thead {
  background: #f5f5f5;
}

.invoice-document .invoice-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #667eea;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.invoice-document .invoice-table th.text-right {
  text-align: right;
}

.invoice-document .invoice-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.invoice-document .invoice-table tbody tr:hover {
  background: #fafafa;
}

.invoice-document .invoice-table td {
  padding: 15px;
  color: #555;
}

.invoice-document .invoice-table td.text-right {
  text-align: right;
  font-weight: 500;
}

.invoice-document .invoice-total {
  margin-top: auto;
  padding-top: 40px;
}

.invoice-document .total-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-document .total-row {
  background: #f5f5f5;
  border-top: 3px solid #667eea;
  border-bottom: 3px solid #667eea;
}

.invoice-document .total-label {
  padding: 20px 15px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  text-align: left;
}

.invoice-document .total-amount {
  padding: 20px 15px;
  font-size: 24px;
  font-weight: 700;
  color: #667eea;
  text-align: right;
}

/* Preview Actions */
.preview-actions {
  display: flex;
  gap: 10px;
  padding: 20px;
  justify-content: center;
  background: #f9f9f9;
}

.preview-actions .primary-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.preview-actions .secondary-btn {
  background: #e0e0e0;
  color: #333;
}

/* Print Styles - Updated to match Angular */
@media print {
  .invoice-preview {
    box-shadow: none !important;
  }
  
  .preview-actions {
    display: none !important;
  }
  
  .form-card {
    display: none !important;
  }
  
  .navbar,
  .footer,
  .section-header {
    display: none !important;
  }
  
  .invoice-document {
    padding: 20px !important;
    border: none !important;
  }
}

/* Responsive Design for Invoicing - Updated to match Angular */
@media (max-width: 1024px) {
  .invoice-form-container {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .invoicing-section {
    padding: 3rem 0;
  }
  
  .invoicing-section .container {
    padding: 0 1rem;
  }
  
  .invoicing-section .section-header h2 {
    font-size: 2rem;
  }
  
  .item-row {
    flex-direction: column;
  }
  
  .item-row .item-description,
  .item-row .item-price {
    width: 100%;
  }
  
  .form-actions,
  .preview-actions {
    flex-direction: column;
  }
  
  .invoice-document {
    padding: 20px;
  }
  
  .invoice-document .invoice-header {
    flex-direction: column;
    gap: 20px;
  }
  
  .invoice-document .invoice-details {
    text-align: left;
  }
  
  .invoice-document .invoice-total .total-row {
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
  }
}

@media (max-width: 480px) {
  .password-overlay {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .invoice-document .total-row {
    padding: 0.75rem 1rem;
  }
  
  .invoice-document .total-amount {
    font-size: 1.2rem;
  }
}
