/* =========================================================
   Dyota Group – style.css
   Professional IT & Software Consulting | UAE
   ========================================================= */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --primary:       #1B4FD8;
  --primary-dark:  #1440B8;
  --primary-light: #EEF2FE;
  --accent:        #F59E0B;
  --text-dark:     #111827;
  --text-body:     #374151;
  --text-muted:    #6B7280;
  --border:        #E5E7EB;
  --light-gray:    #F8F9FB;
  --white:         #FFFFFF;
  --footer-bg:     #0F1D3A;

  --font-body:    'DM Sans', sans-serif;
  --font-display: 'DM Serif Display', serif;
  --radius:       10px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 6px 24px rgba(0,0,0,0.09);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.13);
}

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { text-decoration: none; }

/* ── Utilities ──────────────────────────────────────────── */
.text-accent      { color: var(--accent) !important; }
.bg-light-gray    { background: var(--light-gray) !important; }
.fw-500           { font-weight: 500; }
.fw-600           { font-weight: 600; }
.section-pad      { padding: 90px 0; }
.letter-spacing-1 { letter-spacing: 0.08em; }
.mt-6             { margin-top: 4rem; }
.lh-lg            { line-height: 1.75; }

/* ── Typography ─────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: 50px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--text-dark);
  line-height: 1.25;
  margin: 0;
}

.section-desc {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 26px;
  transition: background 0.22s, transform 0.18s, box-shadow 0.22s;
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,79,216,0.3);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 26px;
  transition: all 0.22s;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white-custom {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
  border-radius: 6px;
  font-weight: 700;
  transition: all 0.22s;
}
.btn-white-custom:hover {
  background: transparent;
  color: var(--white);
}

.btn-accent-small {
  background: var(--accent);
  color: var(--text-dark);
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 5px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-accent-small:hover { background: #e08c00; }

/* ── Navbar ─────────────────────────────────────────────── */
#mainNav {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  padding: 14px 0;
  transition: box-shadow 0.3s, border-color 0.3s, padding 0.3s;
  z-index: 1050;
}
#mainNav.nav-scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  border-bottom-color: var(--border);
  padding: 10px 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.brand-icon-light { background: rgba(255,255,255,0.15); }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  line-height: 1;
}
.brand-accent { color: var(--primary); }

.navbar-nav .nav-link {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #EEF2FE 0%, #F0F4FF 40%, #FAFBFF 100%);
  overflow: hidden;
  padding: 80px 0 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(27,79,216,0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(245,158,11,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.min-vh-hero { min-height: calc(100vh - 80px); padding-bottom: 80px; }

.badge-label {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--text-dark);
  line-height: 1.18;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* Hero stats */
.hero-stats { border-top: 1px solid var(--border); padding-top: 24px; }
.stat-item { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }
.stat-divider { width: 1px; background: var(--border); }

/* Hero image */
.hero-image-wrap { position: relative; }
.hero-img {
  width: 100%;
  max-width: 480px;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.hero-badge-card {
  position: absolute;
  bottom: -18px;
  left: -24px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg { display: block; }

/* ── Trust logos ─────────────────────────────────────────── */
.trust-section { padding: 32px 0; border-bottom: 1px solid var(--border); }
.trust-logo-item {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.65;
  transition: opacity 0.2s;
}
.trust-logo-item:hover { opacity: 1; }

/* ── About ───────────────────────────────────────────────── */
.about-img-grid {
  position: relative;
  padding: 0 0 60px 20px;
}
.img-main {
  width: 100%;
  max-width: 440px;
  height: 380px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  display: block;
}
.img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  height: 180px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about-exp-badge {
  position: absolute;
  top: 20px;
  right: 0;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.exp-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}
.exp-text { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; opacity: 0.85; }

.about-feature {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
}

/* ── Services ────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.service-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.service-list li {
  padding: 5px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.service-list li:last-child { border-bottom: none; }

/* ── Solutions ───────────────────────────────────────────── */
.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.solution-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* ── Industries ──────────────────────────────────────────── */
.industries-section {
  background: var(--light-gray);
}
.industry-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all 0.2s;
  cursor: default;
}
.industry-pill i { color: var(--primary); font-size: 1.1rem; }
.industry-pill:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.industry-pill:hover i { color: var(--white); }

/* ── Why Us / Cards ──────────────────────────────────────── */
.why-card {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.why-card:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.why-title { font-weight: 700; color: var(--text-dark); font-size: 0.98rem; }

/* ── Process ─────────────────────────────────────────────── */
.process-row { position: relative; }
.process-line {
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-circle {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(27,79,216,0.3);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stars { color: var(--accent); font-size: 1rem; letter-spacing: 2px; }
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-section {
  padding: 60px 0;
  background: var(--primary);
}
.cta-inner { padding: 0; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin: 0;
}
.cta-sub { color: rgba(255,255,255,0.75); font-size: 1rem; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.form-control-custom,
.form-select.form-control-custom {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.1);
  outline: none;
}
.form-control-custom::placeholder { color: #9CA3AF; }
.form-label { color: var(--text-dark); margin-bottom: 6px; }

.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all 0.2s;
}
.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.social-link-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}
.social-link-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer-section {
  background: var(--footer-bg);
  padding: 72px 0 36px;
}
.footer-heading {
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-divider { border-color: rgba(255,255,255,0.1); }
.footer-bottom-link {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  transition: color 0.2s;
}
.footer-bottom-link:hover { color: var(--white); }
.footer-input {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
  border-radius: 5px;
  font-size: 0.86rem;
}
.footer-input::placeholder { color: rgba(255,255,255,0.4) !important; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .section-pad { padding: 64px 0; }
  .min-vh-hero { min-height: auto; padding: 40px 0 60px; }
  .hero-section { padding-top: 24px; }
  .about-img-grid { padding-bottom: 40px; }
  .img-secondary { width: 160px; height: 130px; }
  .contact-form-wrap { padding: 28px 20px; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 52px 0; }
  .hero-title { font-size: 1.9rem; }
  .about-exp-badge { top: 10px; right: 10px; padding: 10px 14px; }
  .exp-number { font-size: 1.5rem; }
  .process-line { display: none; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .cta-section { padding: 44px 0; }
  .cta-section .text-lg-end { text-align: left !important; }
}
