/* Component-specific styles */

/* Flowchart Section */
.flowchart-section {
  background: linear-gradient(135deg, var(--surface), var(--royal-blue));
}

.flowchart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}

.flow-step {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-width: 200px;
  max-width: 300px;
}

.flow-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.flow-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.flow-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 8px 25px rgba(241, 136, 5, 0.3);
  flex-shrink: 0;
}

.flow-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.flow-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Added styles for feature images in flow steps */
.feature-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 1rem;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.flow-step:hover .feature-image {
  opacity: 1;
  transform: scale(1.05);
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--raisin-black);
  opacity: 0.8;
}

/* Stats Section */
.stats-section {
  background: var(--gradient-dark);
  color: white;
}

.stats-section .section-title {
  color: white;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--tangerine);
  /* color: var(--palatinate-blue); */
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* Solutions Section */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.solution-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--shadow-purple);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--primary);
}

.problem-tag {
  background: linear-gradient(135deg, rgba(241, 136, 5, 0.2), rgba(254, 228, 174, 0.3));
  border: 1px solid var(--tangerine);
  color: var(--tangerine);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.solution-tag {
  background: linear-gradient(135deg, rgba(75, 109, 231, 0.2), rgba(73, 48, 217, 0.1));
  border: 1px solid var(--royal-blue);
  color: var(--royal-blue);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 1.5rem 0 1rem;
  display: inline-block;
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.solution-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--shadow-purple);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 8px 25px rgba(73, 48, 217, 0.3);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Audience Section */
.audience-section {
  background: var(--surface);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin: 0 auto;
}

.audience-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--shadow-purple);
  text-align: center;
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--primary);
}

.audience-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
}

.audience-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Contact Section */
.contact-section {
  background: var(--gradient-hero);
}

.contact-card {
  background: white;
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Added styles for contact logo */
.contact-logo {
  margin-bottom: 2rem;
}

.company-logo {
  width: 200;
  height: 200px;
  object-fit: contain;
  border-radius: 16px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-card p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.contact-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Added mobile menu overlay styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  max-height: 80vh;
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%) scale(0.8);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translate(-50%, -50%) scale(1);
}

.mobile-menu-header {
  display: none;
}

.mobile-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}



.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-links li {
  margin-bottom: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  background: var(--surface);
  color: var(--primary);
}





/* Responsive adjustments for components */
@media (max-width: 1024px) and (min-width: 769px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .flowchart {
    flex-direction: column;
    gap: 1rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Mobile adjustments for images */
  .feature-image {
    height: 100px;
  }

  .company-logo {
    width: 80px;
    height: 80px;
  }

  .mobile-menu-content {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .mobile-menu-content {
    width: 90vw;
    max-width: 320px;
  }

  .feature-image {
    height: 80px;
  }
}

/* Contact Section Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-left {
  text-align: left;
}

.contact-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  line-height: 1.6;
  font-weight: 500;
}

.contact-info {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.contact-info h3 {
  margin: 2rem 0 1.5rem;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
}

.contact-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-text-section {
  flex: 1;
}

.contact-text-section h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.contact-text-section p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-logo {
  flex-shrink: 0;
}

.company-logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
  transition: transform 0.3s ease;
}

.company-logo:hover {
  transform: scale(1.05);
}

.contact-details {
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.contact-item:hover {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid var(--primary);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-text p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.office-address {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.office-address h4 {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.office-address p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Enquiry Form Styles */
.enquiry-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  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);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-title {
    font-size: 2.5rem;
  }

  .contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .contact-info {
    padding: 2rem;
  }

  .contact-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-logo {
    display: none;
  }

  .contact-text-section h3 {
    font-size: 1.3rem;
  }

  .contact-text-section p {
    font-size: 1rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .contact-icon {
    margin-bottom: 0.5rem;
  }

  .enquiry-form {
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .enquiry-form {
    padding: 1.5rem;
  }

  .contact-item {
    padding: 1rem;
  }
}