@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #2563eb;
  /* Slightly darker blue for better contrast on light bg */
  --primary-dark: #1e40af;
  --secondary: #64748b;
  --bg-dark: #f0f9ff;
  /* Light blueish white */
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --text-main: #0f172a;
  /* Dark slate for main text */
  --text-muted: #475569;
  /* Slate 600 */
  --border: rgba(37, 99, 235, 0.15);
  /* Subtle blue border */
  --header-height: 90px;
  --container-width: 1200px;
  --accent-color: #2563eb;
  /* Added for consistency */
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* Seamless Checkered Background - Darker lines for light theme */
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  background-attachment: fixed;
  /* Ensures pattern stays fixed while scrolling */
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  /* Solid color for professional look */
}

h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text-main);
}

h2 span {
  color: var(--primary);
  /* Solid accent color */
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Header */
header {
  height: 80px;
  /* Slightly reduced for elegance */
  display: flex;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.8);
  /* High transparency light bg */
  backdrop-filter: blur(12px) saturate(150%);
  /* refined glass effect */
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  /* Ensure alignment with other containers */
}

.logo {
  display: block;
  height: 150px;
  /* Adjust based on logo aspect ratio */
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
  /* filter: brightness(0) invert(1); Removed inversion for light theme */
  /* Make logo white */
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: none !important;
  /* Force remove underline */
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  text-decoration: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 6px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  /* Ensure full viewport height */
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  /* Push content down */
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradient overlay to blend image with light background */
  background: linear-gradient(to bottom, rgba(240, 249, 255, 0.85) 0%, rgba(240, 249, 255, 0.98) 100%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  /* Reduced opacity to let pattern/overlay dominate */
}

/* Hero Quote Styling */
.hero-quote {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  opacity: 0;
  /* Hidden initially for animation */
  animation: fadeInUp 1s ease-out forwards 0.5s;
}

.hero-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--primary);
  position: absolute;
  top: -40px;
  left: -30px;
  opacity: 0.5;
  font-family: serif;
  /* Ensure it looks like a proper quote mark */
}

.hero-quote::after {
  content: '"';
  font-size: 5rem;
  color: var(--primary);
  position: absolute;
  bottom: -10px;
  right: -40px;
  opacity: 0.5;
  font-family: serif;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.hero-text p {
  font-size: 1.25rem;
  max-width: 650px;
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* Marquee / Carousel */
.marquee-container {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  /* Slightly more transparent */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  position: absolute;
  /* Position at bottom of hero */
  bottom: 0;
  left: 0;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.marquee-content {
  display: flex;
  gap: 50px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.marquee-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.marquee-item::before {
  content: '';
  /* Removed dot separator since we have icons */
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  padding: 35px;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

.card h4 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

/* Jobs Grid */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

@media (min-width: 1024px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns for wider cards */
  }
}

/* Artistic Service Card */
.service-card-artistic {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  transition: all 0.4s ease;
  border: 1px solid var(--border);
  /* Default subtle border */
}

.service-card-artistic:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  /* Full border color */
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-color);
  /* Glow effect */
}

.service-card-artistic .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.service-card-artistic:hover .icon-wrapper {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-color);
}

.service-card-artistic i {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: 0.3s;
}

.service-card-artistic:hover i {
  color: #fff;
}

.service-card-artistic h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* Bento Grid Layout for About Section */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
  }

  .mission-card {
    grid-column: span 2;
  }

  .why-us-card {
    grid-row: span 1;
    /* Fix: Match height of other cards */
  }

  .stat-card {
    grid-column: span 1;
  }
}

.bento-card {
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
}

.bento-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.bento-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento-card ul {
  list-style: none;
  padding: 0;
}

.bento-card ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--text-light);
}

.bento-card ul li i {
  color: var(--primary);
}

/* Image Cards */
.image-card {
  background-size: cover;
  background-position: center;
  padding: 0;
}

.image-card .overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: 0.3s;
}

.image-card:hover .overlay {
  opacity: 1;
}

.image-card .overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
}

/* Stat Card */
.stat-card {
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(255, 255, 255, 0.8));
  border: 1px solid var(--primary);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.job-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 25px;
  /* Reduced padding for less height */
  min-height: 250px;
  border-left: 4px solid var(--primary);
  /* Thicker accent border */
  border-radius: 16px;
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.15);
  background: rgba(255, 255, 255, 0.9);
  /* Slightly lighter on hover */
}

/* Jobs Controls (Search) */
.jobs-controls {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

.search-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  border-radius: 50px;
  width: 100%;
  max-width: 600px;
  transition: all 0.3s ease;
}

.search-wrapper:focus-within {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  /* Removed box-shadow outline as requested */
}

.search-wrapper i {
  color: var(--primary);
  font-size: 1.2rem;
}

.search-wrapper input {
  background: transparent;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  width: 100%;
  padding: 0;
  line-height: 1.5;
  /* Standard line height */
  height: auto;
  /* Let it size naturally */
  margin: 0;
  outline: none;
  /* Remove default browser outline */
  display: block;
  /* Ensure block behavior */
  caret-color: var(--primary);
  /* Make cursor clearly visible */
  position: relative;
  z-index: 2;
  /* Ensure it sits above background/placeholder if needed */
}

.search-wrapper input::placeholder {
  color: var(--text-muted);
  /* Ensure placeholder is distinct */
  opacity: 0.7;
  /* Fix for Firefox */
}

.search-wrapper input:focus {
  box-shadow: none;
  background: transparent;
  transform: none;
  outline: none;
  /* Double ensure no outline */
}

/* Pagination */
.pagination-container {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Outfit', sans-serif;
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-color: var(--primary);
}

.pagination-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 5px 15px -5px rgba(59, 130, 246, 0.5);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.job-header {
  margin-bottom: 15px;
}

.job-card h4 {
  font-size: 1.6rem;
  /* Larger title */
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-top: 10px;
}

.job-meta i {
  color: var(--primary);
}

.job-meta .separator {
  color: var(--text-muted);
  display: inline-block;
  opacity: 0.5;
}

.job-type {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  /* Brighter blue for visibility */
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  /* Prevent breaking inside the badge */
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.job-card p {
  margin-bottom: 25px;
  color: var(--text-light);
  line-height: 1.6;
  flex-grow: 1;
  font-size: 1rem;
}

.job-card .btn-text {
  color: var(--primary);
  /* High contrast */
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.job-card .btn-text:hover {
  color: var(--primary);
  gap: 12px;
  /* Slide arrow effect */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .job-card {
    padding: 20px;
    min-height: auto;
  }

  .job-card h4 {
    font-size: 1.4rem;
  }

  .job-meta {
    gap: 8px;
  }
}

.pill {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  margin-top: 20px;
  align-self: flex-start;
  border: none;
}

.pill:hover {
  background: var(--primary-dark);
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    /* Split layout on desktop */
    gap: 80px;
    align-items: center;
  }
}

/* Contact Info (Left Side) */
.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.1;
  padding-left: 0;
  /* Ensure no padding causes misalignment */
  margin-left: 0;
}

.contact-info .lead-text {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 500px;
  padding-left: 0;
  /* Ensure alignment matches heading */
  margin-left: 0;
  text-align: left;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-item .icon-box {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-item h5 {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
  font-size: 1.1rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  margin: 0;
}

.contact-item a:hover {
  color: var(--primary);
}

/* Contact Form (Right Side) */
.contact-form-container {
  padding: 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
  /* Removed max-width centering since grid handles it */
}

.contact-form-container h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

input,
textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group label {
  position: absolute;
  left: 20px;
  top: 16px;
  color: #94a3b8;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
}

input:focus~label,
input:not(:placeholder-shown)~label,
textarea:focus~label,
textarea:not(:placeholder-shown)~label {
  top: -10px;
  left: 15px;
  font-size: 0.85rem;
  color: var(--primary);
  background: #fff;
  /* Match light bg to cover border */
  padding: 0 6px;
  border-radius: 4px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.4);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(59, 130, 246, 0.5);
}

/* Footer */
footer {
  padding: 50px 0;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  background: var(--bg-dark);
}

/* Contact Links - No Underline */
.contact-links a {
  text-decoration: none !important;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    overflow: hidden;
    transition: 0.4s ease-in-out;
    /* Removed border-bottom from here to prevent double line when closed */
  }

  .nav-links.active {
    height: calc(100vh - var(--header-height));
    border-bottom: 1px solid var(--border);
    /* Only show border when open */
  }

  .nav-links a {
    font-size: 1.25rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  /* Fix Hero Quote on Mobile */
  .hero-quote {
    font-size: 2.2rem;
    margin: 0 10px 1.5rem 10px;
  }

  .hero-quote::before {
    font-size: 3rem;
    top: -25px;
    left: -15px;
  }

  .hero-quote::after {
    font-size: 3rem;
    bottom: -15px;
    right: -25px;
  }

  .contact-form-container {
    padding: 24px;
  }

  .logo {
    height: 90px;
  }
}