/* Base Styles */
:root {
    --background: #ffffff;
    --foreground: #0f172a;
    --primary: #8b5cf6;
    --primary-foreground: #ffffff;
    --secondary: #f1f5f9;
    --secondary-foreground: #1e293b;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --accent: #8b5cf6;
    --accent-foreground: #1e293b;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #8b5cf6;
    --radius: 0.5rem;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.5;
    font-size: 16px;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  a {
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  a:hover {
    color: var(--primary);
  }
  
  ul {
    list-style: none;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .text-primary {
    color: var(--primary);
  }
  
  .text-center {
    text-align: center;
  }
  
  .bg-secondary {
    background-color: var(--secondary);
  }
  
  .full-width {
    width: 100%;
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  @media (min-width: 768px) {
    h1 {
      font-size: 3rem;
    }
    
    h2 {
      font-size: 2.25rem;
    }
  }
  
  @media (min-width: 1024px) {
    h1 {
      font-size: 3.5rem;
    }
  }
  
  /* Buttons */
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    height: 2.5rem;
    padding: 0 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
  }
  
  .button-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
  }
  
  .button-primary:hover {
    background-color: var(--primary-foreground);
    color: var(--primary);
    border: 1px solid var(--border);
  }
  
  .button-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
  }
  
  .button-secondary:hover {
    background-color: var(--accent);
    border: 1px solid var(--border);
    color: var(--primary-foreground);
  }
  
  .button-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
  }
  
  .button-outline:hover {
    background-color: var(--accent);
    color: var(--primary-foreground);
  }
  
  .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  /* Links */
  .link-primary {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
  }
  
  .link-primary:hover {
    text-decoration: underline;
  }
  
  /* Header */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 1rem 0;
  }
  
  .site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
  }
  
  .main-nav {
    display: none;
  }
  
  .nav-list {
    display: flex;
    gap: 2rem;
  }
  
  .nav-link {
    font-weight: 500;
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .menu-icon {
    position: relative;
    width: 1.5rem;
    height: 2px;
    background-color: var(--foreground);
    transition: all 0.3s ease;
  }
  
  .menu-icon::before,
  .menu-icon::after {
    content: '';
    position: absolute;
    width: 1.5rem;
    height: 2px;
    background-color: var(--foreground);
    transition: all 0.3s ease;
  }
  
  .menu-icon::before {
    transform: translateY(-6px);
  }
  
  .menu-icon::after {
    transform: translateY(6px);
  }
  
  .mobile-menu-toggle.active .menu-icon {
    background-color: transparent;
  }
  
  .mobile-menu-toggle.active .menu-icon::before {
    transform: rotate(45deg);
  }
  
  .mobile-menu-toggle.active .menu-icon::after {
    transform: rotate(-45deg);
  }
  
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .mobile-menu.active {
    display: block;
  }
  
  .mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .mobile-nav-link {
    display: block;
    padding: 0.5rem 0;
  }
  
  .mobile-cta {
    margin-top: 1rem;
  }
  
  @media (min-width: 768px) {
    .main-nav {
      display: block;
    }
    
    .mobile-menu-toggle {
      display: none;
    }
  }
  
  /* Hero Section */
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }
  
  .hero-section.inner-page {
    text-align: center;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-top: 1.5rem;
  }
  
  .hero-image {
    position: relative;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .hero-image img {
    width: 100%;
    object-fit: cover;
    margin-top: 70px;
  }
  
  @media (min-width: 1024px) {
    .hero-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  /* Section Styles */
  section {
    padding: 5rem 0;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .section-header p {
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted-foreground);
    font-size: 1.125rem;
    margin-top: 1rem;
  }
  
  /* Card Styles */
  .card {
    background-color: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
  }
  
  .card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .card.border-top-primary {
    border-top: 4px solid var(--primary);
  }
  
  .card-header {
    padding: 1.5rem 1.5rem 0;
  }
  
  .card-content {
    padding: 1.5rem;
    flex-grow: 1;
  }
  
  .card-footer {
    padding: 0 1.5rem 1.5rem;
  }
  
  .card-image {
    position: relative;
    width: 100%;
  }
  
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
  }
  
  /* Services Section */
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
  }
  
  @media (min-width: 768px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .services-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* Strategy Section */
  .strategy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .strategy-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
  }
  
  .strategy-number span {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
  }
  
  @media (min-width: 768px) {
    .strategy-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .strategy-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* CTA Section */
  .cta-section {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 5rem 0;
  }
  
  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .cta-section p {
    font-size: 1.25rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
  }
  
  .cta-button {
    margin-top: 2rem;
  }
 
  /* Solution Concepts */
  .concepts-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  
  .concept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
  }
  
  .concept-grid.reverse {
    direction: rtl;
  }
  
  .concept-grid.reverse .concept-content {
    direction: ltr;
  }
  
  .concept-image {
    position: relative;
    height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .concept-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .tech-tags {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .tech-tags h4 {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
  }
  
  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--secondary);
    border-radius: 9999px;
    font-size: 0.875rem;
  }
  
  @media (min-width: 1024px) {
    .concept-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  /* Footer */
  .site-footer {
    background-color: var(--secondary);
    padding: 3rem 0;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .footer-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
  }
  
  .footer-social {
    display: flex;
    gap: 1rem;
  }
  
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-nav-link {
    color: var(--muted-foreground);
  }
  
  .footer-nav-link:hover {
    color: var(--primary);
  }
  
  .contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
  }
  
  .contact-item i {
    color: var(--primary);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--muted-foreground);
  }
  
  @media (min-width: 768px) {
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .footer-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  /* Animations */
  .reveal {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .staggered-delay-1 {
    transition-delay: 0.1s;
  }
  
  .staggered-delay-2 {
    transition-delay: 0.2s;
  }
  
  .staggered-delay-3 {
    transition-delay: 0.3s;
  }
  
  .staggered-delay-4 {
    transition-delay: 0.4s;
  }


  .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent backdrop */
  }
  
  .modal.fade.show {
    display: block; /* Show the modal when triggered */
  }
  
  .modal-dialog {
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
  }
  

  /* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1050; /* Ensure it's on top of other elements */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Disable scrolling behind the modal */
  background-color: rgba(0, 0, 0, 0.5); /* Add a semi-transparent black background */
}

.modal.fade {
  display: none; /* Show the modal */
  animation: fadeIn 0.3s ease-in-out; /* Fading effect */
}

/* Center the modal dialog */
.modal-dialog {
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 500px; /* Set a max width */
}

/* Modal content */
.modal-content {
  background-color: #fff; /* White background */
  padding: 20px;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Modal header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}

/* Close button */
.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000;
}

/* Modal body */
.modal-body {
  padding: 15px 0;
}

/* Animation keyframes */
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Contact Form Styles */
#contact_us {
  max-width: 800px;
  margin: 0 auto;
}

.contact_us_form .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.contact_us_form .form-control {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--input);
  background-color: var(--background);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.contact_us_form .form-control:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
}

.contact_us_form .text-danger {
  color: var(--destructive);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.contact_us_form .primary-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  height: 2.75rem;
  padding: 0 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  width: 100%;
}

.contact_us_form .primary-outline-btn:hover {
  background-color: color-mix(in srgb, var(--primary) 90%, black);
}

.contact_us_form .primary-outline-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
}

.contact_us_form .primary-outline-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Message Styles */
.success-message {
  display: none;
  background-color: #d1fae5;
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 1rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.success-message.active {
  display: flex;
}

.success-message i {
  color: #059669;
  font-size: 1.5rem;
}

.success-message span {
  color: #065f46;
  font-weight: 500;
}


/* Animation for form submission */
@keyframes formSuccess {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message.active {
  animation: formSuccess 0.4s ease forwards;
}

/* Custom styling for the textarea */
.contact_us_form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Error message styling */
#error_msg {
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 1rem;
  min-height: 1.5rem;
}