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

:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-headings: 'Plus Jakarta Sans', var(--font-family);
  --bg-color: #060608;
  --bg-secondary: #0b0b0f;
  --bg-card: rgba(18, 18, 24, 0.7);
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --accent-color: #6366f1;
  --accent-gradient: linear-gradient(135deg, #6366f1, #3b82f6);
  --accent-hover: #4f46e5;
  --border-color: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(6, 6, 8, 0.75);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.6);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.7);
  --shadow-lg: 0 12px 50px rgba(0,0,0,0.8);
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 30%, #d4d4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
}

a {
  color: #818cf8;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #a5b4fc;
  text-decoration: none;
}

/* Layout Padding */
.layout_padding {
  padding: 120px 0;
}
.layout_padding2 {
  padding: 80px 0;
}
.layout_padding2-bottom {
  padding-bottom: 80px;
}

/* Headings */
.custom_heading-container {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 60px;
}
.custom_heading-container h2 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 20%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header */
.hero_area {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
/* Subtle decorative ambient glow */
.hero_area::before {
  /* existing decorative ambient glow */
  content: '';
  position: absolute;
  top: -20%;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.sub_page .hero_area {
  min-height: auto;
}

.header_section {
  position: relative;
  z-index: 2; /* ensure header sits above 3D canvas */
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  padding: 1.2rem 0;
}

.navbar-brand span {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  opacity: 0.75;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-item.active .nav-link {
  opacity: 1;
  color: #818cf8 !important;
}

.navbar-toggler {
  border: none;
  outline: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(245, 245, 247, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Slider Section */
.slider_section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}
.slider_detail-box h1 {
  font-size: 4.25rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 40%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.slider_detail-box p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}
.btn-box a {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
  transition: var(--transition);
}
.btn-box a:hover {
  background-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}
.slider_img-box img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

/* Welcome Section */
.welcome_section {
  background-color: var(--bg-color);
}

.welcome_section .img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.welcome_section .img-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.welcome_section .detail-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Global responsive images */
.hero_area img,
.slider_img-box img,
.welcome_section img,
.service_box img,
.problem_section img,
.why_section img,
.client_container img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Service Section */
.service_section {
  background-color: var(--bg-secondary);
}
.service_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service_box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.service_box:hover {
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.12);
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}
.service_box .img-box {
  height: 60px;
  margin-bottom: 20px;
}
.service_box .img-box img {
  width: auto;
  max-width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.problem_section .img-box img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  filter: brightness(0.9) saturate(0.85);
  border-radius: var(--radius-md);
  background: transparent;
}
.service_box .detail-box h4 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(180deg, #ffffff 50%, #d4d4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Problem Section */
.problem_section {
  background-color: var(--bg-color);
}
.problem_section .img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  border: none;
  max-width: 700px;
  margin: 0 auto 40px;
  background: var(--bg-color);
  padding: 30px;
}
.problem_section .img-box img {
  width: 100%;
  display: block;
}
.problem_section .detail-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Why Section */
.why_section {
  background-color: var(--bg-secondary);
}
.why_section .content-container p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.why_section .row .col-md-3 {
  text-align: center;
  margin-bottom: 30px;
}
.why_section .row .img-box {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  opacity: 0.8;
}
.why_section .row .img-box img {
  width: 100%;
  height: auto;
  filter: grayscale(100%) invert(1) brightness(0.9);
}
.why_section .detail-box h3 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}
.why_section .detail-box h6 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Client Section */
.client_section {
  background-color: var(--bg-color);
}
.client_container {
  max-width: 800px;
  margin: 0 auto;
}
.client_text {
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;
  color: var(--text-primary);
  font-family: var(--font-headings);
  font-weight: 500;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 60%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
}
.client_container .detail-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.client_container .detail-box .img-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 1px solid var(--border-color);
}
.client_container .detail-box .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.client_container .detail-box .name h5 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.client_container .detail-box .name p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-secondary);
}

.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  background-color: var(--bg-card);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--bg-secondary);
  border-color: rgba(99, 102, 241, 0.4);
}
.carousel-control-prev {
  left: -20px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 18l-6-6 6-6' stroke='%23f5f5f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}
.carousel-control-next {
  right: -20px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 18l6-6-6-6' stroke='%23f5f5f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

/* Contact Section */
.contact_section {
  background-color: var(--bg-secondary);
}
.contact_section form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}
.contact_section form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.contact_section form .form-control {
  background-color: #0f0f14;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition);
  height: auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Dark-themed dropdown arrow for select */
.contact_section form select.form-control {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23a1a1aa' d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
  cursor: pointer;
}

/* Style native option elements (works in most browsers) */
.contact_section form select.form-control option {
  background-color: #0f0f14;
  color: var(--text-primary);
  padding: 10px 14px;
}

.contact_section form select.form-control option:checked,
.contact_section form select.form-control option:hover {
  background: #1e1e2e;
  color: #818cf8;
}

.contact_section form .form-control:focus {
  background-color: #131318;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  outline: none;
}

.contact_section form #inputMessage {
  height: 150px;
  resize: vertical;
}
.contact_section button[type="submit"] {
  background: var(--accent-gradient);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
  transition: var(--transition);
  cursor: pointer;
}
.contact_section button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}
.contact_section button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
.footer_bg {
  background-color: var(--bg-color);
  padding-top: 80px;
  border-top: 1px solid var(--border-color);
}
.info_section {
  text-align: center;
}
.info_section h3 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffffff 40%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.social-box {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.social-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.social-box a:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}
.social-box a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 1;
  filter: brightness(0) invert(1);
}
.footer_section {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
}
.footer_section p {
  font-size: 0.85rem;
  margin: 0;
}

/* Skeleton Shimmer Loader */
.shimmer-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #101014 25%, #202029 50%, #101014 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: inherit;
  z-index: 10;
  transition: opacity 0.4s ease;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* 3D Canvas element */
#hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* 3D Tilt Card Helper */
.service_box, .client_container {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.service_box > *, .client_container > * {
  transform: translateZ(20px);
}

/* Problem section image card – dark glass frame to mask white JPEG background */
.problem-img-card {
  background: linear-gradient(145deg, #0d0d12, #14141a) !important;
  border: 1px solid rgba(99, 102, 241, 0.15) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05) !important;
  padding: 32px !important;
  position: relative;
  overflow: hidden;
}
.problem-img-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.problem-img-card img {
  border-radius: 12px;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.5));
}

/* Social icons – SVG inline, no background leaking */
.social-box a svg {
  display: block;
  flex-shrink: 0;
}
.social-box a img {
  display: none; /* hide any leftover img tags */
}