/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1a2b4a;
  --navy2:   #243860;
  --navy3:   #0f1e33;
  --gold:    #b8962e;
  --gold2:   #c9a84c;
  --gold3:   #e8c96a;
  --text:    #1a2b4a;
  --muted:   #4a5f82;
  --light:   #8096b5;
  --border:  rgba(26,43,74,0.12);
  --bg:      #ffffff;
  --bg2:     #f7f9fc;
  --shadow:  0 4px 24px rgba(26,43,74,0.10);
  --radius:  8px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; }

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== TYPOGRAPHY ===== */
.sec-label  { font-size: 11px; letter-spacing: 3px; color: var(--gold); font-weight: 600; text-transform: uppercase; margin-bottom: 6px; }
.sec-title  { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.sec-bar    { width: 40px; height: 3px; background: var(--gold); margin: 14px 0 1.75rem; border-radius: 2px; }
.sec-sub    { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 540px; }
.gold-text  { color: var(--gold2); }

/* ===== LAYOUT ===== */
.container   { max-width: 1060px; margin: 0 auto; padding: 0 2rem; }
.sec         { padding: 5rem 0; }
.sec-alt     { background: var(--bg2); }
.two-col     { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ===== NAVBAR ===== */
#navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 12px rgba(26,43,74,0.07);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 20px rgba(26,43,74,0.13); }

.nav-inner {
  max-width: 1060px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 2rem;
}
.nav-logo-img { height: 250px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color var(--transition);
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width var(--transition);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

.btn-nav-cta {
  background: var(--navy); color: #fff;
  padding: 9px 20px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--navy2); transform: translateY(-1px); }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; overflow: hidden; }
.hero-img-wrap { position: absolute; inset: 0; }
.hero-banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,20,40,0.82) 0%, rgba(10,20,40,0.55) 60%, rgba(10,20,40,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1060px; margin: 0 auto; padding: 0 2rem;
  max-width: 600px; margin-left: clamp(2rem, 8vw, 120px);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,168,76,0.18); border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold3); font-size: 11px; letter-spacing: 2px; font-weight: 500; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1.25rem;
}
.hero-sub { color: rgba(255,255,255,0.78); font-size: 16px; line-height: 1.75; margin-bottom: 2.25rem; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(184,150,46,0.3);
}
.btn-primary:hover { background: var(--gold3); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,150,46,0.4); }

.btn-secondary {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  padding: 13px 26px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  transition: background var(--transition), border-color var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ===== SERVICES STRIP ===== */
.services-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  overflow: hidden;
}
.strip-img { width: 100%; max-width: 1060px; margin: 0 auto; object-fit: contain; padding: 0 2rem; }

/* ===== INDUSTRIES ===== */
.industries-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px; margin-top: 2rem;
}
.ind-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 1.25rem 0.75rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 13px; font-weight: 500; color: var(--navy);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}
.ind-card i { font-size: 26px; color: var(--gold2); }
.ind-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--gold2); }

/* ===== SERVICES CARDS ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 2.5rem;
}
.scard {
  background: #fff; padding: 2rem 1.5rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  transition: box-shadow var(--transition), transform var(--transition);
}
.scard:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.scard-icon { font-size: 28px; color: var(--gold2); margin-bottom: 1rem; }
.scard h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 0.6rem; }
.scard p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ===== IMG SECTION ===== */
.img-section { position: relative; overflow: hidden; }
.img-section-inner { position: relative; }
.img-section-photo { width: 100%; height: 480px; object-fit: cover; object-position: center top; display: block; }
.img-section-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,20,40,0.80) 0%, rgba(10,20,40,0.35) 55%, rgba(10,20,40,0.05) 100%);
  display: flex; align-items: center;
}
.img-section-text {
  max-width: 440px; margin-left: clamp(2rem, 8vw, 100px); color: #fff;
}
.img-section-text h2 {
  font-family: var(--font-display); font-size: clamp(26px, 4vw, 38px);
  font-weight: 700; color: #fff; margin: 10px 0 1rem; line-height: 1.2;
}
.img-section-text p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.75; }

/* ===== EXPERTISE ===== */
.col-text { }
.col-img { }
.col-photo { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 1.5rem; }
.exp-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0.85rem 1rem;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 13px; color: var(--text); font-weight: 500;
  transition: border-color var(--transition);
}
.exp-item:hover { border-color: var(--gold2); }
.exp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ===== CHALLENGES ===== */
.challenge-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text);
}
.challenge-list li:last-child { border-bottom: none; }
.challenge-list li i { color: var(--gold); font-size: 18px; flex-shrink: 0; }

/* ===== FRAMEWORK ===== */
.framework-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px; margin-top: 2.5rem;
}
.fstep {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 0.75rem; text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.fstep:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--gold2); }
.fstep-num {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem;
}
.fstep h4 { font-size: 12px; font-weight: 600; color: var(--navy); }

/* ===== ABOUT ===== */
.about-wrap { max-width: 700px; }
.about-name { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.about-role { font-size: 13px; color: var(--gold2); font-weight: 500; margin-bottom: 1.25rem; letter-spacing: 0.3px; }
.about-wrap p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.about-creds { display: flex; flex-direction: column; gap: 10px; margin-top: 1.75rem; }
.cred { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--navy); font-weight: 500; }
.cred i { color: var(--gold); font-size: 18px; flex-shrink: 0; }

/* ===== CONTACT ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-sub { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 2rem; }
.cinfo-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.cinfo-item i { color: var(--gold); font-size: 18px; margin-top: 1px; flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg2); border: 1.5px solid var(--border);
  color: var(--text); font-size: 14px; padding: 11px 14px;
  border-radius: var(--radius); width: 100%;
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--gold2);
  box-shadow: 0 0 0 3px rgba(184,150,46,0.12);
}
.contact-form input.invalid,
.contact-form select.invalid { border-color: #c0392b; }
.contact-form textarea { height: 110px; resize: vertical; }
.contact-form select option { background: #fff; }

.field-error { font-size: 12px; color: #c0392b; display: none; }
.field-error.visible { display: block; }

.btn-submit {
  background: var(--navy); color: #fff;
  border: none; padding: 13px 24px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--transition), transform var(--transition);
  font-family: var(--font-body);
}
.btn-submit:hover { background: var(--navy2); transform: translateY(-1px); }

.success-msg {
  display: none; text-align: center; padding: 2rem 1.5rem;
  border: 1.5px solid var(--gold); border-radius: var(--radius);
  color: var(--navy); font-size: 15px; background: rgba(184,150,46,0.06);
  flex-direction: column; align-items: center; gap: 8px;
}
.success-msg.visible { display: flex; }
.success-msg i { font-size: 36px; color: var(--gold); }

/* ===== PHONE INPUT ===== */

.phone-group{
  display:flex;
  gap:10px;
}

.phone-group select{
  width:180px;
  flex-shrink:0;
}

.phone-group input{
  flex:1;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy3);
  border-top: 3px solid var(--gold);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center;
}
.footer-logo { height: 64px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.footer-tagline { color: var(--gold2); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-top: 8px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold2); }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 12px; }

/* ===== ANIMATIONS ===== */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
[data-animate="fade-left"]  { transform: translateX(-28px); }
[data-animate="fade-right"] { transform: translateX(28px); }
[data-animate].in-view { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; direction: ltr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .img-section-photo { height: 360px; }
  .framework-steps { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .nav-links, .btn-nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 2px solid var(--gold);
    padding: 1rem 2rem 1.5rem;
    box-shadow: 0 8px 24px rgba(26,43,74,0.1);
    z-index: 99;
  }
  .nav-links.open a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .hero h1 { font-size: 28px; }
  .sec-title { font-size: 22px; }
  .services-grid, .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .framework-steps { grid-template-columns: repeat(2, 1fr); }
  .exp-grid { grid-template-columns: 1fr; }
  .sec { padding: 3.5rem 0; }
  .img-section-photo { height: 280px; }
  .img-section-text { margin-left: 1.5rem; }
}
