/* ==========================================================================
   Bindoo Light Theme — Clean & Modern Design System (Adapted Color Palette)
   ========================================================================== */

:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-secondary: #f4f4f6;
  --surface-hover: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #52525b;
  --text-subtle: #71717a;
  
  /* Brand Heading & Accent Colors */
  --heading-color: #0c4a6e;
  --heading-secondary: #0369a1;
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #f0f9ff;
  --primary-border: #bae6fd;
  
  --border: #e4e4e7;
  --border-light: #f1f1f4;
  --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 16px 32px -8px rgba(2, 132, 199, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset & Global Body */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header-clean {
  background-color: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: all 0.3s ease;
}

.scrolled .header-clean {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo img {
  height: 36px;
  max-height: 36px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo:hover img {
  transform: scale(1.02);
}

.navmenu {
  display: flex;
  align-items: center;
}

.navmenu ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.4rem;
}

.navmenu a, .navmenu a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.navmenu a:hover,
.navmenu li:hover > a,
.navmenu .active,
.navmenu .active:focus {
  color: var(--heading-color);
  background-color: var(--surface-secondary);
}

.navmenu .nav-btn-contact {
  background-color: var(--heading-color);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-left: 0.5rem;
  box-shadow: 0 2px 6px rgba(12, 74, 110, 0.15);
}

.navmenu .nav-btn-contact:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Dropdown */
.navmenu .dropdown {
  position: relative;
}

.navmenu .dropdown ul {
  margin: 0;
  padding: 8px;
  background: var(--surface);
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  display: block;
  opacity: 0;
  visibility: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
  z-index: 99;
}

.navmenu .dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  top: 105%;
}

.navmenu .dropdown ul li {
  width: 100%;
}

.navmenu .dropdown ul a {
  padding: 9px 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
}

.navmenu .dropdown ul a:hover {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.6rem;
  color: var(--heading-color);
  cursor: pointer;
  line-height: 0;
  padding: 0.25rem;
  transition: 0.2s ease;
}

/* Mobile Nav Styles */
@media (max-width: 991px) {
  .header-clean {
    position: sticky;
    top: 0;
    z-index: 10000;
    padding: 0.75rem 0;
  }

  .logo img {
    height: 30px;
    max-height: 30px;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--heading-color);
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.35rem;
    line-height: 1;
    z-index: 10001;
  }

  .navmenu ul {
    display: none;
  }

  body.mobile-nav-active .navmenu > ul {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 62px;
    right: 12px;
    left: 12px;
    max-height: calc(100vh - 80px);
    padding: 1.25rem 1rem;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    z-index: 100000;
    gap: 0.35rem;
  }

  body.mobile-nav-active .navmenu li {
    width: 100%;
    text-align: left;
  }

  body.mobile-nav-active .navmenu a {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--heading-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }

  body.mobile-nav-active .navmenu a:hover,
  body.mobile-nav-active .navmenu .active {
    background-color: var(--surface-secondary);
    color: var(--primary);
  }

  body.mobile-nav-active .navmenu .dropdown {
    width: 100%;
  }

  body.mobile-nav-active .navmenu .dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  body.mobile-nav-active .navmenu .dropdown ul {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    background: var(--surface-secondary);
    border: 1px solid var(--border-light);
    box-shadow: none;
    padding: 0.5rem;
    margin: 0.25rem 0 0.5rem 0.5rem;
    border-radius: var(--radius-md);
    width: calc(100% - 0.5rem);
  }

  body.mobile-nav-active .navmenu .dropdown.dropdown-active ul {
    display: block;
  }

  body.mobile-nav-active .navmenu .dropdown ul a {
    font-size: 0.92rem;
    padding: 0.6rem 0.85rem;
    justify-content: flex-start;
    text-align: left;
  }

  body.mobile-nav-active .navmenu .nav-btn-contact {
    margin-left: 0;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

@media (max-width: 767px) {
  .section {
    padding: 3.25rem 0;
  }
}

.section-header {
  margin-bottom: 3rem;
}

@media (max-width: 767px) {
  .section-header {
    margin-bottom: 2rem;
  }
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
}

@media (max-width: 767px) {
  .section-header h2 {
    font-size: 1.75rem;
  }
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .section-header p {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-clean {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.06) 0%, transparent 65%);
}

@media (max-width: 767px) {
  .hero-clean {
    padding: 3rem 0 2.5rem;
  }
}

.hero-clean-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

@media (max-width: 575px) {
  .hero-clean-logo {
    max-width: 240px;
    margin-bottom: 1.5rem;
  }
}

.hero-clean-logo:hover {
  transform: scale(1.02);
}

.hero-clean h1 {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--heading-color);
  background: linear-gradient(135deg, #0c4a6e 25%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

@media (max-width: 991px) {
  .hero-clean h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 575px) {
  .hero-clean h1 {
    font-size: 1.75rem;
    line-height: 1.25;
  }
}

.hero-clean .hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

@media (max-width: 575px) {
  .hero-clean .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
}

.hero-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-group .btn-primary-clean,
  .hero-btn-group .btn-secondary-clean {
    width: 100%;
    justify-content: center;
  }
}

.btn-primary-clean {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
  transition: all 0.2s ease;
}

.btn-primary-clean:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

.btn-secondary-clean {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  color: var(--heading-color);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.btn-secondary-clean:hover {
  background: var(--surface-secondary);
  color: var(--primary);
  border-color: var(--primary-border);
  transform: translateY(-2px);
}

/* ==========================================================================
   About Section (Who We Are)
   ========================================================================== */
.about-clean {
  background-color: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 575px) {
  .about-card {
    padding: 1.5rem;
  }
}

.about-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.about-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

@media (max-width: 575px) {
  .about-card-img {
    height: 180px;
    margin-bottom: 1.25rem;
  }
}

.about-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--heading-secondary);
}

@media (max-width: 575px) {
  .about-card h3 {
    font-size: 1.2rem;
  }
}

.about-card p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Services Section (Our Expertise & Offerings)
   ========================================================================== */
.service-clean-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
  position: relative;
}

@media (max-width: 575px) {
  .service-clean-card {
    padding: 1.35rem;
  }
}

.service-clean-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-border);
  box-shadow: var(--card-shadow-hover);
}

.service-clean-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--heading-secondary);
  transition: color 0.2s ease;
}

.service-clean-card:hover h3 {
  color: var(--primary);
}

.service-clean-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-clean {
  background-color: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.portfolio-clean-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

@media (max-width: 575px) {
  .portfolio-clean-card {
    padding: 1.35rem;
  }
}

.portfolio-clean-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.portfolio-clean-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-border);
  box-shadow: var(--card-shadow-hover);
}

.portfolio-clean-card:hover::before {
  opacity: 1;
}

.portfolio-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.portfolio-clean-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--heading-secondary);
  transition: color 0.2s ease;
}

.portfolio-clean-card:hover h3 {
  color: var(--primary);
}

.portfolio-clean-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-surface-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.05);
  padding: 3rem 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .contact-surface-box {
    padding: 2rem 1.25rem;
    border-radius: var(--radius-lg);
  }
}

.social-channels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.25rem 0 2rem;
  flex-wrap: wrap;
}

.social-clean-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading-color);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

@media (max-width: 480px) {
  .social-clean-btn {
    width: 100%;
    justify-content: center;
  }
}

.social-clean-btn i {
  font-size: 1.05rem;
}

.social-clean-btn.btn-email:hover {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
  transform: translateY(-2px);
}

.social-clean-btn.btn-whatsapp:hover {
  background: #f0fdf4;
  color: #16a34a;
  border-color: #bbf7d0;
  transform: translateY(-2px);
}

.social-clean-btn.btn-linkedin:hover {
  background: #eff6ff;
  color: var(--primary);
  border-color: var(--primary-border);
  transform: translateY(-2px);
}

.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.75rem;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.form-divider span {
  padding: 0 0.85rem;
}

.form-floating-clean {
  position: relative;
  margin-bottom: 1.25rem;
}

.form-floating-clean .form-control {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.95rem;
  padding: 1.5rem 1rem 0.5rem 1rem;
  height: calc(3.5rem + 2px);
  transition: all 0.2s ease;
}

.form-floating-clean textarea.form-control {
  height: 140px;
}

.form-floating-clean .form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.form-floating-clean label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  color: var(--text-subtle);
  font-size: 0.92rem;
}

.form-floating-clean .form-control:focus ~ label,
.form-floating-clean .form-control:not(:placeholder-shown) ~ label {
  opacity: 0.75;
  transform: scale(0.82) translateY(-0.6rem) translateX(0.15rem);
}

.btn-form-submit {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-form-submit:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-clean {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
  font-size: 0.88rem;
  color: var(--text-subtle);
}

/* Scroll top button */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--heading-color);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.scroll-top i {
  font-size: 1.25rem;
}

.scroll-top:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}
