/* Veshraj Website Styles - Matching CRM Theme */
/* Based on CleanDesign CRM System */

:root {
  /* CRM Theme Colors */
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #64748b;
  --success-color: #059669;
  --danger-color: #dc2626;
  --warning-color: #d97706;
  --info-color: #0891b2;
  --light-bg: #ffffff;
  --dark-color: #1e293b;
  --text-color: #334155;
  --border-color: #e2e8f0;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-secondary: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(100, 116, 139, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Loading States */
.loading {
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow);
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 700;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-link.login-btn {
  background: var(--primary-color);
  color: white;
  padding: 8px 20px;
  border-radius: 6px;
  transition: background 0.3s;
}

.nav-link.login-btn:hover {
  background: var(--primary-hover);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--dark-color);
}

.hero-title .highlight {
  color: var(--primary-color);
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-color);
}

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

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.hero-image {
  position: relative;
}

.hero-illustration {
  position: relative;
  height: 500px;
  background: url('../images/hero-bg.png') no-repeat center center;
  background-size: contain;
}

/* Floating Cards Animation */
.floating-card {
  position: absolute;
  background: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.floating-card i {
  font-size: 24px;
  color: var(--primary-color);
}

.floating-card span {
  font-weight: 600;
  color: var(--dark-color);
}

.card-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 20%;
  right: 10%;
  animation-delay: 1.5s;
}

.card-3 {
  bottom: 20%;
  left: 5%;
  animation-delay: 3s;
}

.card-4 {
  bottom: 10%;
  right: 15%;
  animation-delay: 4.5s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--secondary-color);
  font-size: 0.9rem;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--secondary-color);
  border-radius: 13px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--secondary-color);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    top: 6px;
    opacity: 1;
  }

  100% {
    top: 20px;
    opacity: 0;
  }
}

/* Services Section */
.services {
  padding: 100px 0;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

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

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

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--primary-color);
}

.service-card.featured {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border-color: var(--primary-color);
  position: relative;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-color);
  font-size: 24px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.service-features {
  list-style: none;
  margin: 24px 0;
}

.service-features li {
  margin-bottom: 12px;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li i {
  color: var(--success-color);
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 12px;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.about-stat {
  text-align: center;
}

.about-image {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-illustration {
  position: relative;
  width: 100%;
  height: 100%;
}

.ai-brain {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  color: var(--primary-color);
  filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.3));
  animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.ai-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotate 20s linear infinite;
}

.ai-element {
  position: absolute;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  text-align: center;
}

.ai-element i {
  font-size: 24px;
  color: var(--primary-color);
}

.el-1 {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.el-2 {
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
}

.el-3 {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.el-4 {
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.ai-element span {
  font-weight: 600;
  color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
}

.why-choose-us .section-title {
  color: white;
}

.why-choose-us .section-subtitle {
  color: #94a3b8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-item {
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  color: white;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-item p {
  color: #94a3b8;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Company Check Section */
.company-checker {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: white;
}

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

.testimonial-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.testimonial-rating {
  color: #fbbf24;
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: italic;
  color: var(--secondary-color);
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.author-name {
  font-weight: 600;
  color: var(--dark-color);
}

.author-company {
  font-size: 0.85rem;
  color: var(--secondary-color);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--dark-color);
}

.contact-text p {
  color: var(--secondary-color);
  margin-bottom: 0;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

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

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Form validation error styles */
.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-group input.input-error:focus,
.form-group select.input-error:focus,
.form-group textarea.input-error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group .error-message {
  display: none;
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 6px;
  font-weight: 500;
}

.form-group .error-message:empty {
  display: none;
}

/* Toast Notifications */
.notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  min-width: 300px;
  max-width: 400px;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideInRight 0.3s ease-out;
  backdrop-filter: blur(10px);
}

.notification.removing {
  animation: slideOutRight 0.3s ease-in forwards;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.notification-content i {
  font-size: 20px;
  flex-shrink: 0;
}

.notification-content span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.notification-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.notification-close:hover {
  opacity: 1;
}

.notification-close i {
  font-size: 16px;
}

/* Notification Types */
.notification-success {
  background-color: #10b981;
  color: white;
}

.notification-error {
  background-color: #ef4444;
  color: white;
}

.notification-warning {
  background-color: #f59e0b;
  color: white;
}

.notification-info {
  background-color: #3b82f6;
  color: white;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

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

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-badges {
  display: flex;
  gap: 12px;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

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

/* Responsive */
@media (max-width: 968px) {

  .hero-container,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    margin-bottom: 40px;
  }

  .floating-card {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

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

  .hero-image {
    background-size: cover;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s;
  }

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

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

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

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

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

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

/* Company Name Checker Styles */
:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --success-color: #10b981;
  --error-color: #ef4444;
}

#company-check-form-container {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 50px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.form-header h2 {
  color: #111827;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.form-header p {
  text-align: center;
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 20px;
  margin-top: 0;
}

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

label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 5px;
}

input,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  box-sizing: border-box;
  background-color: #f9fafb;
  transition: all 0.2s ease;
}

input:focus,
select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background-color: #fff;
}

#check-btn {
  display: block;
  width: 100%;
  padding: 12px 24px;
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 25px;
}

#check-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#check-btn:disabled {
  background: #a0a0a0;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

#check-result {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  display: none;
  border: 1px solid transparent;
}

.register-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.register-btn:hover {
  background-color: #218838;
}

.footer-credit {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 15px;
}

.lang-switch {
  cursor: pointer;
  font-size: 1.2em;
  margin-left: 8px;
  vertical-align: middle;
}

.flag-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  vertical-align: middle;
  cursor: pointer;
}

.flag-gb {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MCAzMCI+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMzAsMTUgSDBWMFYzMEg2MFYxNXoiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjYSkiPjxwYXRoIGQ9Ik0wLDAgVjMwIEg2MCBWMEgweiIgZmlsbD0iIzAwMjQ3ZCIvPjxwYXRoIGQ9Ik0wLDAgTDYwLDMwIE0wLDMwIEw2MCwwIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iNiIvPjxwYXRoIGQ9Ik0wLDAgTDYwLDMwIE0wLDMwIEw2MCwwIiBzdHJva2U9IiNjZTE0MmIiIHN0cm9rZS13aWR0aD0iNCIvPjxwYXRoIGQ9Ik0zMCwwIFYzMCBNMCwxNSBINjAiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxMCIvPjxwYXRoIGQ9Ik0zMCwwIFYzMCBNMCwxNSBINjAiIHN0cm9rZT0iI2NlMTQyYiIgc3Ryb2tlLXdpZHRoPSI2Ii8+PC9nPjwvc3ZnPg==');
}

.flag-np {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4MCAxMDAiPjxwYXRoIGQ9Ik0wLDAgTDgwLDQwIEwzMiw0MCBMODAsODAgTDAsODBaIiBmaWxsPSIjY2UxNDJiIi8+PHBhdGggZD0iTTAsNSBMNzIsNDAgTDI5LDQwIEw3Miw3NSBMMCw3NVoiIGZpbGw9IiMwMDM1OWMiLz48cGF0aCBkPSJNNDAsNjcgYTEwLDEwIDAgMSwwIDAsLTIwIGExMCwxMCAwIDEgMCAwLDIwIHogTTM4LDUzIGExLDEgMCAxLDAgMTAgYTEsMSAwIDEgMCAwLC0xMCB6IiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTQwLDIwIGExMywxMyAwIDEgMSAwLDEgYTEsMSAwIDEgMCAwLC0xMCB6IiBmaWxsPSIjZmZmIi8+PC9zdmc+');
}

@media (max-width: 768px) {
  #company-check-form-container {
    padding: 20px;
  }

  h2 {
    font-size: 20px;
  }

  #check-btn {
    font-size: 14px;
    padding: 10px;
  }
}

/* Alert Styles */
.alert {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.alert-success {
  color: #0f5132;
  background-color: #d1e7dd;
  border-color: #badbcc;
}

.alert-danger {
  color: #842029;
  background-color: #f8d7da;
  border-color: #f5c2c7;
}

#check-result.visible {
  display: block;
}

/* User Provided Company Checker Styles */
#company-check-form-container {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 50px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.form-header h2 {
  color: #111827;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.form-header p {
  text-align: center;
  color: #6b7280;
  font-size: 16px;
  margin-bottom: 20px;
  margin-top: 0;
}

.lang-switch {
  cursor: pointer;
  font-size: 1.2em;
  margin-left: 8px;
  vertical-align: middle;
}

.flag-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  vertical-align: middle;
  cursor: pointer;
}

.flag-gb {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MCAzMCI+PGRlZnM+PGNsaXBQYXRoIGlkPSJhIj48cGF0aCBkPSJNMzAsMTUgSDBWMFYzMEg2MFYxNXoiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjYSkiPjxwYXRoIGQ9Ik0wLDAgVjMwIEg2MCBWMEgweiIgZmlsbD0iIzAwMjQ3ZCIvPjxwYXRoIGQ9Ik0wLDAgTDYwLDMwIE0wLDMwIEw2MCwwIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iNiIvPjxwYXRoIGQ9Ik0wLDAgTDYwLDMwIE0wLDMwIEw2MCwwIiBzdHJva2U9IiNjZTE0MmIiIHN0cm9rZS13aWR0aD0iNCIvPjxwYXRoIGQ9Ik0zMCwwIFYzMCBNMCwxNSBINjAiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxMCIvPjxwYXRoIGQ9Ik0zMCwwIFYzMCBNMCwxNSBINjAiIHN0cm9rZT0iI2NlMTQyYiIgc3Ryb2tlLXdpZHRoPSI2Ii8+PC9nPjwvc3ZnPg==');
}

.flag-np {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4MCAxMDAiPjxwYXRoIGQ9Ik0wLDAgTDgwLDQwIEwzMiw0MCBMODAsODAgTDAsODBaIiBmaWxsPSIjY2UxNDJiIi8+PHBhdGggZD0iTTAsNSBMNzIsNDAgTDI5LDQwIEw3Miw3NSBMMCw3NVoiIGZpbGw9IiMwMDM1OWMiLz48cGF0aCBkPSJNNDAsNjcgYTEwLDEwIDAgMSwwIDAsLTIwIGExMCwxMCAwADEgMCAwLDIwIHogTTM4LDUzIGExLDEgMCAxLDAgMTAgYTEsMSAwADEgMCAwLDEwIHogIiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTQwLDIwIGExMywxMyAwIDEgMSAwLDEgYTEsMSAwADEgMCAwLDEwIHogIiBmaWxsPSIjZmZmIi8+PC9zdmc+');
}

.footer-credit {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  #company-check-form-container {
    padding: 20px;
  }
}

/* Legal Modal Styles */
.legal-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.legal-modal-content {
  background: white;
  width: 80%;
  height: 90%;
  /* slightly more height for better reading */
  max-width: 1000px;
  border-radius: 12px;
  padding: 0;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.legal-document {
  padding: 60px;
  overflow-y: auto;
  height: 100%;
}

.legal-document h1 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.legal-document .last-updated {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-document section {
  margin-bottom: 40px;
}

.legal-document h2 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 15px;
}

.legal-document p {
  color: #334155;
  margin-bottom: 15px;
  line-height: 1.8;
}

.legal-document ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 15px;
  color: #334155;
}

.legal-document li {
  margin-bottom: 10px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .legal-modal-content {
    width: 95%;
    height: 95%;
  }

  .legal-document {
    padding: 30px;
  }

  .legal-document h1 {
    font-size: 2rem;
  }
}