/* ===== RESET & BASE ===== */
*, *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; }
body {
  font-family: 'Inter', 'Encode Sans', sans-serif;
  color: #767676;
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
  width: 100%;
}
a { color: #333; text-decoration: none; transition: all .25s ease; }
a:hover { color: #242424; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
h1, h2, h3, h4, h5, h6, .title { font-family: 'Encode Sans', sans-serif; color: #242424; line-height: 1.4; word-wrap: break-word; }
p { margin-bottom: 15px; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: 1200px; padding: 0 15px; margin: 0 auto; }
.wd-page-wrapper { position: relative; background: #fff; overflow: hidden; }
.wd-page-content { min-height: 50vh; background: #fff; }
.wd-section-stretch { width: 100vw; margin-left: calc(-50vw + 50%); }
.e-flex { display: flex; }
.e-con-boxed { flex-direction: column; }
.e-con-inner {
  display: flex; flex-wrap: wrap; align-items: stretch;
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 80px 15px;
}
.e-con-full { flex: 1; min-width: 0; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.wd-width-100 { width: 100%; }

/* ===== HEADER ===== */
:root {
  --wd-header-general-h: 90px;
  --wd-header-general-sm-h: 60px;
  --wd-header-general-sticky-h: 70px;
}
.whb-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 389;
}
.whb-main-header { position: relative; }
.whb-row { width: 100%; }
.whb-general-header {
  position: relative; z-index: 390;
  background: rgba(255,255,255,0.89);
  border-bottom: 0px solid transparent;
  width: 100%;
}
.whb-flex-equal-sides .whb-flex-row {
  display: flex; align-items: center; min-height: var(--wd-header-general-h);
  width: 100%;
}
.whb-flex-row { display: flex; align-items: center; min-height: var(--wd-header-general-h); }
.whb-general-header-inner { display: flex; align-items: center; width: 100%; }

.whb-flex-equal-sides .whb-col-left,
.whb-flex-equal-sides .whb-col-center,
.whb-flex-equal-sides .whb-col-right { flex: 1 1 0; min-width: 0; }

.whb-col-left { display: flex; align-items: center; }
.whb-col-center { display: flex; align-items: center; justify-content: center; }
.whb-col-right { display: flex; align-items: center; justify-content: flex-end; }

.site-logo { padding: 5px 0; line-height: 0; flex-shrink: 0; }
.site-logo a { display: inline-block; }
.site-logo img {
  max-width: 220px; width: auto; height: auto;
  max-height: 80px; object-fit: contain;
}

.whb-space-element { flex: 0 0 auto; }

/* Navigation */
.wd-nav { display: flex; list-style: none; flex-wrap: wrap; }
.wd-nav.wd-gap-s { gap: 15px; }
.wd-nav.wd-nav-header > li { display: flex; align-items: center; }
.wd-nav > li > a {
  display: flex; align-items: center; padding: 5px 0;
  text-transform: uppercase; font-weight: 600; font-size: 13px;
  line-height: 1.4; color: #333;
  white-space: nowrap;
}
.wd-nav > li > a:hover,
.wd-nav > li.current-menu-item > a { color: #2563eb; }
.wd-nav .nav-link-text { display: inline-block; }

/* Header Phone */
.header-phone { display: inline-flex; align-items: flex-start; gap: 10px; flex-shrink: 0; }
.header-phone .box-icon-wrapper { flex: 0 0 auto; line-height: 0; }
.header-phone .info-box-icon svg,
.header-phone .info-box-icon img { display: block; }
.header-phone-text div:first-child { font-weight: 600; font-size: 14px; color: #242424; white-space: nowrap; }
.header-phone-text p { margin-top: -3px; font-size: 13px; color: #767676; white-space: nowrap; }

/* Mobile */
.whb-hidden-lg { display: none !important; }
.mobile-menu-btn {
  display: inline-flex; align-items: center; gap: 5px;
  color: #333; cursor: pointer; padding: 10px;
  font-weight: 600; font-size: 12px; text-transform: uppercase;
}
.mobile-menu-btn .wd-tools-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: #2563eb; color: #fff; border-radius: 50%;
  flex-shrink: 0;
}

/* ===== MOBILE SIDEBAR ===== */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.7); opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 501;
  width: min(300px, 80vw); background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  overflow-y: auto; padding: 30px 20px;
}
.mobile-nav-panel.open { transform: translateX(0); }
.mobile-nav-panel .close-nav {
  display: flex; justify-content: flex-end; margin-bottom: 20px;
  font-size: 28px; cursor: pointer; color: #333; line-height: 1;
}
.mobile-nav-panel ul li { margin-bottom: 15px; }
.mobile-nav-panel ul li a {
  font-weight: 600; font-size: 15px; text-transform: uppercase; color: #333;
  display: block; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-nav-panel ul li a:hover { color: #2563eb; }
.mobile-nav-panel .mobile-contact { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.1); }
.mobile-nav-panel .mobile-contact p { font-size: 14px; margin-bottom: 8px; color: #555; }

/* ===== SLIDER ===== */
.wd-slider { position: relative; width: 100%; overflow: hidden; }
.wd-slide {
  position: relative; height: 650px; display: none; align-items: center;
  overflow: hidden;
}
.wd-slide.active { display: flex; }
.wd-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center center; }
.wd-slide-container {
  position: relative; z-index: 2; width: 100%; max-width: 1200px; padding: 0 15px; margin: 0 auto;
}
.wd-slide-inner { max-width: 680px; }
.wd-slide-inner h4 { font-size: 64px; color: #fff; margin-bottom: 15px; line-height: 1.2; }
.wd-slide-inner p { font-size: 16px; color: rgba(255,255,255,0.9); line-height: 1.7; margin-bottom: 0; }
.wd-slide-inner .btn { margin-top: 30px; }

/* Slider Nav Arrows */
.wd-slider-arrows {
  position: absolute; top: 50%; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between; padding: 0 20px;
  transform: translateY(-50%); pointer-events: none;
}
.wd-slider-arrows .wd-btn-arrow {
  pointer-events: auto; cursor: pointer; width: 50px; height: 50px;
  background: rgba(255,255,255,0.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; transition: all .25s; user-select: none;
  font-family: 'Inter', sans-serif;
}
.wd-slider-arrows .wd-btn-arrow:hover { background: rgba(255,255,255,0.3); }

/* Slider Pagination Dots */
.wd-nav-pagin-wrap {
  position: absolute; bottom: 30px; left: 0; right: 0; z-index: 3; text-align: center;
}
.wd-nav-pagin { display: inline-flex; gap: 8px; }
.wd-nav-pagin li {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer; transition: all .25s;
}
.wd-nav-pagin li.active { background: #fff; width: 30px; border-radius: 5px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 12px 28px; font-weight: 600; font-size: 13px; text-transform: uppercase;
  line-height: 1.2; border-radius: 0; cursor: pointer; transition: all .25s ease;
  border: 2px solid transparent; text-decoration: none;
}
.btn-color-alt { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn-color-alt:hover { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.btn-color-primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn-color-primary:hover { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.btn-size-large { padding: 14px 36px; font-size: 14px; }
.btn-style-bordered { background: transparent; border-color: #2563eb; color: #2563eb; }
.btn-style-bordered:hover { background: #2563eb; color: #fff; }
.btn-whatsapp {
  background: #25D366; color: #fff; border-color: #25D366;
  padding: 16px 40px; font-size: 16px; border-radius: 30px;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; border-color: #1da851; }
.btn-sm { padding: 8px 18px; font-size: 12px; }

/* ===== SECTION TITLE ===== */
.title-wrapper { margin-bottom: 20px; }
.title-subtitle {
  font-size: 13px; text-transform: uppercase; font-weight: 600;
  letter-spacing: 1px; margin-bottom: 8px;
}
.subtitle-color-primary { color: #2563eb; }
.subtitle-color-white { color: rgba(255,255,255,0.8); }
.title-after_title { margin-top: 15px; font-size: 15px; line-height: 1.7; }
.title.wd-fontsize-xxl { font-size: 42px; }
.title.wd-fontsize-xl { font-size: 36px; }
.title.wd-fontsize-l { font-size: 28px; }

.wd-title-style-simple .liner-continer {
  padding-bottom: 10px; border-bottom: 2px solid #2563eb; display: inline-block;
}
.text-center .wd-title-style-simple .liner-continer { display: inline-block; }
.wd-title-style-default .liner-continer { display: block; }
.liner-continer { display: inline-block; }

/* ===== ABOUT SECTION ===== */
.about-section { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }
.about-section .e-con-inner { display: flex; gap: 60px; align-items: center; }
.about-content { flex: 1; min-width: 0; }
.about-image { flex: 1; min-width: 0; }
.about-image img { width: 100%; height: auto; }
.about-buttons { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; }

/* ===== GROUP COMPANIES ===== */
.companies-section { background: #f5f5f5; }
.companies-section .e-con-inner { flex-direction: column; }
.companies-header { text-align: center; margin-bottom: 10px; }
.companies-header-desc { margin-top: 15px; font-size: 15px; line-height: 1.7; max-width: 800px; margin-left: auto; margin-right: auto; }
.companies-grid { display: flex; gap: 30px; margin-top: 40px; }

/* Flip Box */
.company-card { flex: 1; perspective: 1000px; min-width: 0; }
.flip-box { position: relative; height: 350px; cursor: pointer; overflow: hidden; }
.flip-box-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s ease; transform-style: preserve-3d; }
.flip-box:hover .flip-box-inner { transform: translateY(-100%); }
.flip-box-front, .flip-box-back {
  position: absolute; width: 100%; height: 100%;
  backface-visibility: hidden; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 30px;
  text-align: center; border-radius: 8px;
}
.flip-box-front { background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.08); top: 0; }
.flip-box-back {
  background: #1a2744; color: #fff; transform: translateY(100%); top: 0;
}
.flip-box-back h3 { color: #fff; margin-bottom: 10px; }
.flip-box-back p { color: rgba(255,255,255,0.9); margin: 15px 0; line-height: 1.6; }
.flip-box-back .btn {
  background: rgba(255,255,255,0.2); color: #fff; border-color: #fff;
  padding: 8px 20px; font-size: 12px; border-radius: 4px;
}
.flip-box-back .btn:hover { background: #fff; color: #1a2744; }
.flip-box-front img,
.flip-box-front svg { width: 120px; height: 120px; margin-bottom: 20px; max-width: 100%; }
.flip-box-front h3 { font-size: 18px; color: #242424; }

/* ===== SERVICES ===== */
.services-section { background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%); }
.services-section .title-wrapper .title { color: #fff; }
.services-section .title-after_title { color: rgba(255,255,255,0.8); }
.services-grid { display: flex; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.service-card {
  flex: 0 0 calc(20% - 16px); position: relative; height: 400px;
  overflow: hidden; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.service-card img { width: 100%; height: 100%; object-fit: cover; }
.service-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 25px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  transition: background 0.3s;
}
.service-card-number {
  display: inline-block; background: #2563eb; color: #fff;
  padding: 3px 12px; font-size: 12px; margin-bottom: 10px;
}
.service-card h4 { color: #fff; font-size: 18px; margin-bottom: 15px; }

/* ===== CORE VALUES ===== */
.values-section { background: #f5f5f5; }
.values-section .e-con-inner { display: flex; gap: 60px; align-items: flex-start; }
.values-content { flex: 0 0 35%; min-width: 0; }
.values-grid { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.value-card {
  display: flex; gap: 20px; background: #fff; padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: all .3s;
}
.value-card:hover { background: #1a2744; }
.value-card:hover h4, .value-card:hover { color: #fff; }
.value-card:hover p { color: rgba(255,255,255,0.85); }
.value-icon { flex: 0 0 100px; display: flex; align-items: center; justify-content: center; }
.value-icon img,
.value-icon svg { width: 100px; max-width: 100%; height: auto; }
.value-text { flex: 1; min-width: 0; }
.value-text h4 { font-size: 20px; margin-bottom: 10px; color: #242424; transition: color .3s; }
.value-text p { transition: color .3s; }

/* ===== CTA SECTION ===== */
.cta-section { background: #0f172a; }
.cta-section .e-con-inner { display: flex; align-items: center; gap: 40px; }
.cta-content { flex: 1; min-width: 0; }
.cta-content-inner { display: flex; align-items: flex-start; gap: 20px; }
.cta-content .title { color: #fff; }
.cta-content p { color: rgba(255,255,255,0.8); margin-top: 15px; }
.cta-button { flex: 0 0 auto; }

/* ===== FOOTER ===== */
.wd-footer { background: #0a0f1a; color: rgba(255,255,255,0.8); }
.footer-main .e-con-inner { display: flex; gap: 40px; padding: 60px 15px; }
.footer-col { flex: 1; min-width: 0; }
.footer-col-wide { flex: 2; }
.footer-col p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.7); }
.footer-col img { margin-bottom: 20px; max-width: 250px; }
.footer-menu-title {
  color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: 14px; margin-bottom: 15px;
}
.footer-menu li { margin-bottom: 10px; }
.footer-menu li a { color: rgba(255,255,255,0.6); font-size: 14px; text-decoration: none; }
.footer-menu li a:hover { color: #fff; }
.footer-contact h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.footer-contact p { font-size: 14px; line-height: 1.7; }
.contact-item {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font-size: 14px;
}
.contact-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.contact-item a:hover { color: #fff; }
.contact-item svg { flex-shrink: 0; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom .e-con-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 15px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-bottom a { color: rgba(255,255,255,0.8); }
.footer-bottom a:hover { color: #fff; }

/* ===== SCROLL TO TOP ===== */
.scrollToTop {
  position: fixed; bottom: 20px; right: 20px; z-index: 350;
  width: 45px; height: 45px; background: #2563eb; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer;
  opacity: 0; visibility: hidden; transition: all .25s;
  text-decoration: none;
}
.scrollToTop.visible { opacity: 1; visibility: visible; }
.scrollToTop:hover { background: #1d4ed8; }

/* ===== RESPONSIVE: TABLET (max 1024px) ===== */
@media (max-width: 1024px) {
  :root { --wd-header-general-h: 60px; }
  .e-con-inner { padding: 60px 15px; }
  .title.wd-fontsize-xxl { font-size: 32px; }
  .title.wd-fontsize-xl { font-size: 28px; }

  .whb-visible-lg { display: none !important; }
  .whb-hidden-lg { display: flex !important; }
  .whb-flex-equal-sides .whb-flex-row { min-height: var(--wd-header-general-h); }
  .whb-mobile-left { flex: 1; display: flex; align-items: center; }
  .whb-mobile-center { flex: 0; display: flex; align-items: center; }
  .whb-mobile-right { flex: 1; display: flex; align-items: center; justify-content: flex-end; }
  .site-logo img { max-width: 179px; max-height: 50px; }

  .wd-slide { height: 500px; }
  .wd-slide-inner h4 { font-size: 42px; }
  .wd-slide-inner p { max-width: 512px; }

  .companies-grid { flex-wrap: wrap; }
  .company-card { flex: 0 0 calc(50% - 15px); margin-bottom: 0; }
  .service-card { flex: 0 0 calc(33.33% - 14px); }

  .about-section .e-con-inner,
  .values-section .e-con-inner { flex-direction: column; }
  .values-content { flex: 0 0 100%; }

  .footer-main .e-con-inner { flex-wrap: wrap; }
  .footer-col { flex: 0 0 calc(50% - 20px); }
  .footer-col-wide { flex: 0 0 100%; }
}

/* ===== RESPONSIVE: MOBILE (max 768px) ===== */
@media (max-width: 768px) {
  .e-con-inner { padding: 40px 15px; }
  .title.wd-fontsize-xxl { font-size: 26px; }
  .title.wd-fontsize-xl { font-size: 22px; }
  .title.wd-fontsize-l { font-size: 20px; }

  .wd-slide { height: 400px; }
  .wd-slide-inner h4 { font-size: 30px; }
  .wd-slide-inner p { max-width: 100%; font-size: 14px; }
  .wd-slide-inner .btn { margin-top: 20px; }
  .wd-slider-arrows .wd-btn-arrow { width: 40px; height: 40px; font-size: 22px; }

  .company-card { flex: 0 0 100%; }
  .flip-box { height: 300px; }

  .service-card { flex: 0 0 calc(50% - 10px); height: 320px; }
  .service-card h4 { font-size: 16px; }

  .cta-section .e-con-inner { flex-direction: column; text-align: center; }
  .cta-content-inner { flex-direction: column; align-items: center; text-align: center; }
  .cta-content-inner img { width: 60px !important; }
  .about-buttons { justify-content: center; }

  .value-card { flex-direction: column; align-items: center; text-align: center; }
  .value-icon { flex: 0 0 auto; }
  .value-icon img,
  .value-icon svg { width: 80px; }

  .footer-bottom .e-con-inner { flex-direction: column; gap: 10px; text-align: center; }
  .footer-col { flex: 0 0 100%; }
}

/* ===== RESPONSIVE: SMALL MOBILE (max 480px) ===== */
@media (max-width: 480px) {
  :root { --wd-header-general-h: 55px; }
  .whb-flex-equal-sides .whb-flex-row { min-height: var(--wd-header-general-h); }
  .site-logo img { max-width: 140px; max-height: 40px; }
  .mobile-menu-btn { padding: 5px 5px; }
  .mobile-menu-btn .wd-tools-icon { width: 36px; height: 36px; }
  .mobile-menu-btn .wd-tools-icon svg { width: 16px; height: 16px; }
  .mobile-menu-btn .wd-tools-text { font-size: 10px; }

  .e-con-inner { padding: 30px 15px; }
  .title.wd-fontsize-xxl { font-size: 22px; }
  .title.wd-fontsize-xl { font-size: 20px; }

  .wd-slide { height: 320px; }
  .wd-slide-inner h4 { font-size: 24px; }
  .wd-slide-inner p { font-size: 13px; }
  .wd-slider-arrows { padding: 0 10px; }
  .wd-slider-arrows .wd-btn-arrow { width: 32px; height: 32px; font-size: 18px; }
  .wd-nav-pagin-wrap { bottom: 15px; }
  .wd-nav-pagin li { width: 8px; height: 8px; }
  .wd-nav-pagin li.active { width: 20px; }

  .btn { padding: 10px 20px; font-size: 12px; }
  .btn-size-large { padding: 12px 28px; font-size: 13px; }

  .about-section .e-con-inner { gap: 30px; }
  .about-buttons { flex-direction: column; align-items: stretch; }
  .about-buttons .btn { text-align: center; justify-content: center; }

  .flip-box { height: 280px; }
  .flip-box-front img,
  .flip-box-front svg { width: 80px; height: 80px; }
  .flip-box-front, .flip-box-back { padding: 20px; }
  .flip-box-front h3 { font-size: 16px; }
  .flip-box-back p { font-size: 13px; }

  .service-card { flex: 0 0 100%; height: 280px; }
  .services-grid { gap: 15px; }

  .values-section .e-con-inner { gap: 30px; }
  .value-card { padding: 20px; }

  .cta-section .e-con-inner { gap: 20px; }
  .btn-whatsapp { padding: 14px 30px; font-size: 14px; }
  .btn-whatsapp svg { width: 18px; height: 18px; }

  .footer-main .e-con-inner { padding: 40px 15px; gap: 30px; }
  .footer-col img { max-width: 180px; }
}
