/*
Theme Name: Drix Theme
Theme URI:  https://example.com/
Author: Saikumar
Author URI: https://example.com/
Description: A lightweight scratch theme with Products and Services CPTs, theme options for logo upload, and a hero with overlap menu layout.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: drix-scratch
*/

/* Reset & basics */
*{box-sizing:border-box;margin:0;padding:0}
.container{max-width:1150px;margin:0 auto;padding:0 15px};
/* Header Navigation Styles */
#main-header {
  transition: all 0.3s ease-in-out;
  background-color: #f5f5ef!important;
  border-bottom: 0px;
}

.button-blue{
  background-color: #132a50;
}
.header-nav.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Header positioning for inner pages */
body:not(.home) .header-nav {
  position: relative;
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
}

body:not(.home) .header-nav.scrolled {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-section{
  background-color: #f5f5ef;
  padding-top:110px;
}
/* Enhanced Menu Styling */
.header-nav nav ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Menu item base styles */
.header-nav nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active menu item enhanced styles */
.header-nav nav a.text-primary {
  font-weight: 600;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);

}

/* Hover effects for non-active items */
.header-nav nav a:not(.text-primary):hover {
  background: #132a50;
  transform: translateY(-1px);
  color:#fff;
}

/* Underline animation for active items */
.header-nav nav a.text-primary span.absolute {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.3);
}

/* Hover underline for non-active items */
.header-nav nav a:not(.text-primary) span.absolute {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* Mobile menu enhanced styles */
.mobile-menu a {
  position: relative;
  transition: all 0.3s ease;
}

.mobile-menu a.bg-blue-50 {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%) !important;
  border-left: 4px solid #2563eb;
  border-radius: 0 0.5rem 0.5rem 0;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
  transform: translateX(4px);
}

.mobile-menu a.bg-blue-50::before {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #132a50;
  border-radius: 50%;
}

.mobile-menu a:not(.bg-blue-50):hover {
  background: rgba(37, 99, 235, 0.05) !important;
  transform: translateX(2px);
}

/* Animation for menu items on load */
.header-nav nav a {
  animation: fadeInUp 0.6s ease-out forwards;
}

.header-nav nav li:nth-child(1) a { animation-delay: 0.1s; }
.header-nav nav li:nth-child(2) a { animation-delay: 0.2s; }
.header-nav nav li:nth-child(3) a { animation-delay: 0.3s; }
.header-nav nav li:nth-child(4) a { animation-delay: 0.4s; }
.header-nav nav li:nth-child(5) a { animation-delay: 0.5s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus states for accessibility */
.header-nav nav a:focus,
.mobile-menu a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* Submenu styles (if needed in future) */
.header-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.header-nav li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile menu toggle */
.mobile-menu {
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
  transform: translateY(0);
}

/* Hero Section Styles */
.hero-section {
  padding-top: 80px; /* Account for fixed header */
  min-height: 100vh;
}

.hero-section h1 {
  line-height: 1.1;
}

.hero-section .italic {
  font-style: italic;
  font-weight: 300;
}

/* Statistics styling */
.hero-section .statistics-item {
  position: relative;
}

.hero-section .statistics-item:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background-color: #d1d5db;
}

/* Button hover effects */
.hero-section button:hover svg {
  transform: translateX(2px);
  transition: transform 0.2s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-section {
    padding-top: 64px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section .grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .header-nav .h-16 {
    height: 4rem;
  }
  
  .header-nav .lg\\:h-20 {
    height: 4rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 64px;
    min-height: auto;
    padding-bottom: 4rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
  
  .hero-section h2 {
    font-size: 1.5rem;
  }
  
  .hero-section .statistics-item:not(:first-child)::before {
    display: none;
  }
  
  .hero-section .flex-wrap {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-section .gap-8 {
    gap: 2rem;
  }
  
  /* Stack statistics vertically on mobile */
  .hero-section .flex.flex-wrap.gap-8 {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .hero-section .border-l {
    border-left: none;
    padding-left: 0;
  }
  
  /* Mobile header adjustments */
  .header-nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 640px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .text-3xl {
    font-size: 1.875rem;
  }
  
  .hero-section .md\\:text-4xl {
    font-size: 2rem;
  }
  
  .hero-section button {
    width: 100%;
    justify-content: center;
  }
  
  .header-nav .space-x-3 {
    gap: 0.5rem;
  }
  
  .header-nav .px-6 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .header-nav .px-4 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body padding for fixed header */
body {
  padding-top: 0;
}

/* Utility classes for consistent styling */
.transition-all {
  transition: all 0.3s ease-in-out;
}

.backdrop-blur {
  backdrop-filter: blur(20px);
}

/* Grid and flex utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

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

.justify-between {
  justify-content: space-between;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

/* Typography utilities */
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.leading-tight {
  line-height: 1.25;
}

.text-gray-900 {
  color: #111827;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-blue-600 {
  color: #2563eb;
}

/* Background utilities */
.bg-white {
  background-color: #ffffff;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.bg-blue-600 {
  background-color: #2563eb;
}

.bg-blue-800 {
  background-color: #1e40af;
}

/* Border utilities */
.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-gray-300 {
  border-color: #d1d5db;
}

.rounded-full {
  border-radius: 9999px;
}

/* Spacing utilities */
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

/* Focus states for accessibility */
button:focus,
a:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Boxed Section Styles */
.boxed-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  /* background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  margin-bottom: 2rem;
  position: relative; */
}

.boxed-section:last-child {
  margin-bottom: 0;
}

/* Subtle gradient overlay for boxed sections */
.boxed-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
  border-radius: 16px 16px 0 0;
}

/* Dark mode support for boxed sections */
.dark .boxed-section {
  background: #1f2937;
  border-color: #374151;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.dark .boxed-section::before {
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.3), transparent);
}

/* Section wrapper for boxed sections */
.section-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 4rem 1rem;
}

.dark .section-wrapper {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Card hover effects in boxed sections */
.boxed-section .grid > div:hover {
  transform: translateY(-2px);
}

/* Icon container styles */
.bg-blue-100 {
  background-color: #dbeafe;
}

.bg-orange-100 {
  background-color: #fed7aa;
}

.dark .bg-blue-100 {
  background-color: #1e3a8a;
}

.dark .bg-orange-100 {
  background-color: #9a3412;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.dark .bg-gray-50 {
  background-color: #374151;
}

/* Green checkmark styles */
.bg-green-100 {
  background-color: #dcfce7;
}

.dark .bg-green-100 {
  background-color: #14532d;
}

.text-green-600 {
  color: #16a34a;
}

.dark .text-green-600 {
  color: #4ade80;
}

.text-green-400 {
  color: #4ade80;
}

.dark .text-green-400 {
  color: #86efac;
}

/* Responsive adjustments for boxed sections */
@media (max-width: 768px) {
  .boxed-section {
    padding: 2.5rem 1.5rem;
    margin: 0 1rem 2rem 1rem;
    border-radius: 12px;
  }
  
  .section-wrapper {
    padding: 2rem 0.5rem;
  }
}

@media (max-width: 640px) {
  .boxed-section {
    padding: 2rem 1rem;
    margin: 0 0.5rem 1.5rem 0.5rem;
  }
  
  .section-wrapper {
    padding: 1.5rem 0.25rem;
  }
}

/* Ensure proper spacing */
.hero-section .space-y-8 > * + * {
  margin-top: 2rem;
}

.hero-section .space-y-6 > * + * {
  margin-top: 1.5rem;
}

.hero-section .space-y-2 > * + * {
  margin-top: 0.5rem;
}

.hero-section .space-y-1 > * + * {
  margin-top: 0.25rem;
}

/* ----- Enhanced Job Description Styling ----- */
.job-description-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.75;
    color: #374151;
}

.dark .job-description-content {
    color: #d1d5db;
}

.job-description-content h1,
.job-description-content h2,
.job-description-content h3,
.job-description-content h4,
.job-description-content h5,
.job-description-content h6 {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #111827;
}

.dark .job-description-content h1,
.dark .job-description-content h2,
.dark .job-description-content h3,
.dark .job-description-content h4,
.dark .job-description-content h5,
.dark .job-description-content h6 {
    color: #f9fafb;
}

.job-description-content h1 {
    font-size: 2.25rem;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.job-description-content h2 {
    font-size: 1.875rem;
    color: #1f2937;
    position: relative;
    padding-left: 1rem;
}

.job-description-content h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 4px;
    height: 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

.dark .job-description-content h2 {
    color: #f3f4f6;
}

.job-description-content h3 {
    font-size: 1.5rem;
    color: #374151;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.dark .job-description-content h3 {
    color: #e5e7eb;
}

.job-description-content h4 {
    font-size: 1.25rem;
    color: #4b5563;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.dark .job-description-content h4 {
    color: #d1d5db;
}

.job-description-content p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.75;
}

.job-description-content p:last-child {
    margin-bottom: 0;
}

/* Professional List Styling */
.job-description-content ul,
.job-description-content ol {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.job-description-content ul li,
.job-description-content ol li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

.dark .job-description-content ul li,
.dark .job-description-content ol li {
    color: #d1d5db;
}

/* Custom bullet points for unordered lists */
.job-description-content ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Custom numbers for ordered lists */
.job-description-content ol {
    counter-reset: list-counter;
}

.job-description-content ol li {
    counter-increment: list-counter;
}

.job-description-content ol li:before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
}

/* Nested lists */
.job-description-content ul ul,
.job-description-content ol ol,
.job-description-content ul ol,
.job-description-content ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-left: 1rem;
}

.job-description-content ul ul li:before {
    width: 6px;
    height: 6px;
    background: #6b7280;
}

.job-description-content ol ol li:before {
    background: #6b7280;
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
}

/* Blockquotes */
.job-description-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-left: 5px solid #3b82f6;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.125rem;
    color: #4b5563;
}

.dark .job-description-content blockquote {
    background: #1f2937;
    border-left-color: #60a5fa;
    color: #9ca3af;
}

/* Code blocks */
.job-description-content code {
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    color: #dc2626;
}

.dark .job-description-content code {
    background: #374151;
    color: #fbbf24;
}

.job-description-content pre {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #e2e8f0;
}

.dark .job-description-content pre {
    background: #1f2937;
    border-color: #374151;
}

.job-description-content pre code {
    background: none;
    padding: 0;
    color: #374151;
    font-size: 0.875rem;
}

.dark .job-description-content pre code {
    color: #d1d5db;
}

/* Links */
.job-description-content a {
    color: #3b82f6;
    text-decoration: underline;
    text-decoration-color: #93c5fd;
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.job-description-content a:hover {
    color: #1d4ed8;
    text-decoration-color: #3b82f6;
}

.dark .job-description-content a {
    color: #60a5fa;
    text-decoration-color: #3b82f6;
}

.dark .job-description-content a:hover {
    color: #93c5fd;
    text-decoration-color: #60a5fa;
}

/* Strong and emphasis */
.job-description-content strong {
    font-weight: 600;
    color: #111827;
}

.dark .job-description-content strong {
    color: #f9fafb;
}

.job-description-content em {
    font-style: italic;
    color: #4b5563;
}

.dark .job-description-content em {
    color: #9ca3af;
}

/* Tables */
.job-description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dark .job-description-content table {
    background: #1f2937;
}

.job-description-content th,
.job-description-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.dark .job-description-content th,
.dark .job-description-content td {
    border-bottom-color: #374151;
}

.job-description-content th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.dark .job-description-content th {
    background: #374151;
    color: #f3f4f6;
}

/* Horizontal rules */
.job-description-content hr {
    margin: 2rem 0;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa, #3b82f6);
    border-radius: 1px;
    opacity: 0.3;
}

/* Special content boxes */
.job-description-content .highlight-box {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.dark .job-description-content .highlight-box {
    background: linear-gradient(135deg, #1e3a8a, #1e40af);
    border-color: #3b82f6;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .job-description-content {
        font-size: 1rem;
    }
    
    .job-description-content h1 {
        font-size: 1.875rem;
    }
    
    .job-description-content h2 {
        font-size: 1.5rem;
    }
    
    .job-description-content h3 {
        font-size: 1.25rem;
    }
    
    .job-description-content ul li,
    .job-description-content ol li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .job-description-content p {
        font-size: 1rem;
    }
}

/* ----- End Enhanced Job Description Styling ----- */

/* ----- Professional Job Application Form Styling ----- */
#application-form {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 3px solid #3b82f6;
}

.dark #application-form {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

#application-form .boxed-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.dark #application-form .boxed-section {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Form container styling */
#application-form .bg-white {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 2rem !important;
}

/* Forminator form wrapper */
.forminator-ui .forminator-form-wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Form title styling */
.forminator-ui .forminator-form-header h1,
.forminator-ui .forminator-form-header h2,
.forminator-ui .forminator-form-header h3 {
    color: #1f2937 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
}

.dark .forminator-ui .forminator-form-header h1,
.dark .forminator-ui .forminator-form-header h2,
.dark .forminator-ui .forminator-form-header h3 {
    color: #f9fafb !important;
}

/* Form description */
.forminator-ui .forminator-form-header p {
    color: #6b7280 !important;
    text-align: center !important;
    margin-bottom: 2rem !important;
    font-size: 1rem !important;
}

.dark .forminator-ui .forminator-form-header p {
    color: #9ca3af !important;
}

/* Form fields container */
.forminator-ui .forminator-form-fields {
    display: grid;
    gap: 1.5rem;
}

/* Field rows */
.forminator-ui .forminator-field {
    margin-bottom: 0 !important;
}

/* Labels */
.forminator-ui .forminator-label {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.875rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark .forminator-ui .forminator-label {
    color: #d1d5db !important;
}

/* Required asterisk */
.forminator-ui .forminator-required {
    color: #dc2626 !important;
}

/* Input fields */
.forminator-ui input[type="text"],
.forminator-ui input[type="email"],
.forminator-ui input[type="tel"],
.forminator-ui input[type="number"],
.forminator-ui input[type="url"],
.forminator-ui input[type="password"],
.forminator-ui select,
.forminator-ui textarea {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    background-color: #ffffff !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.dark .forminator-ui input[type="text"],
.dark .forminator-ui input[type="email"],
.dark .forminator-ui input[type="tel"],
.dark .forminator-ui input[type="number"],
.dark .forminator-ui input[type="url"],
.dark .forminator-ui input[type="password"],
.dark .forminator-ui select,
.dark .forminator-ui textarea {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #f9fafb !important;
}

/* Focus states */
.forminator-ui input[type="text"]:focus,
.forminator-ui input[type="email"]:focus,
.forminator-ui input[type="tel"]:focus,
.forminator-ui input[type="number"]:focus,
.forminator-ui input[type="url"]:focus,
.forminator-ui input[type="password"]:focus,
.forminator-ui select:focus,
.forminator-ui textarea:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* Textarea specific */
.forminator-ui textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* File upload styling */
.forminator-ui input[type="file"] {
    padding: 0.5rem !important;
    border: 2px dashed #d1d5db !important;
    border-radius: 8px !important;
    background: #f9fafb !important;
    cursor: pointer !important;
}

.dark .forminator-ui input[type="file"] {
    background: #374151 !important;
    border-color: #6b7280 !important;
    color: #f9fafb !important;
}

.forminator-ui input[type="file"]:hover {
    border-color: #3b82f6 !important;
    background: #eff6ff !important;
}

.dark .forminator-ui input[type="file"]:hover {
    background: #4b5563 !important;
}

/* Select dropdown */
.forminator-ui select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
    appearance: none !important;
}

/* Checkbox and radio styling */
.forminator-ui input[type="checkbox"],
.forminator-ui input[type="radio"] {
    width: 1.25rem !important;
    height: 1.25rem !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    background: white !important;
    cursor: pointer !important;
    margin-right: 0.75rem !important;
}

.forminator-ui input[type="radio"] {
    border-radius: 50% !important;
}

.forminator-ui input[type="checkbox"]:checked,
.forminator-ui input[type="radio"]:checked {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

/* Submit button */
.forminator-ui .forminator-button-submit {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    border: none !important;
    padding: 0.875rem 2rem !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    width: 100% !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.forminator-ui .forminator-button-submit:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.forminator-ui .forminator-button-submit:active {
    transform: translateY(0) !important;
}

/* Error messages */
.forminator-ui .forminator-error-message {
    color: #dc2626 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
    padding: 0.5rem 0.75rem !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 6px !important;
}

.dark .forminator-ui .forminator-error-message {
    background: #7f1d1d !important;
    border-color: #dc2626 !important;
    color: #fecaca !important;
}

/* Success messages */
.forminator-ui .forminator-success-message {
    color: #059669 !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
    padding: 0.5rem 0.75rem !important;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 6px !important;
}

.dark .forminator-ui .forminator-success-message {
    background: #064e3b !important;
    border-color: #059669 !important;
    color: #a7f3d0 !important;
}

/* Loading state */
.forminator-ui .forminator-loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
}

.forminator-ui .forminator-loading .forminator-button-submit {
    background: #9ca3af !important;
    cursor: not-allowed !important;
}

/* Form validation */
.forminator-ui .forminator-field.forminator-field-error input,
.forminator-ui .forminator-field.forminator-field-error select,
.forminator-ui .forminator-field.forminator-field-error textarea {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

/* Multi-column layout for larger forms */
@media (min-width: 768px) {
    .forminator-ui .forminator-form-fields {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .forminator-ui .forminator-field.forminator-field-textarea,
    .forminator-ui .forminator-field.forminator-field-file,
    .forminator-ui .forminator-button-wrapper {
        grid-column: 1 / -1;
    }
}

/* Form animation */
#application-form {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom form styling for specific field types */
.forminator-ui .forminator-field-name input,
.forminator-ui .forminator-field-email input {
    position: relative;
}

.forminator-ui .forminator-field-name input:before,
.forminator-ui .forminator-field-email input:before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-size: contain;
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    #application-form .bg-white {
        padding: 1.5rem !important;
    }
    
    .forminator-ui input[type="text"],
    .forminator-ui input[type="email"],
    .forminator-ui input[type="tel"],
    .forminator-ui input[type="number"],
    .forminator-ui input[type="url"],
    .forminator-ui input[type="password"],
    .forminator-ui select,
    .forminator-ui textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* ----- End Professional Job Application Form Styling ----- */
