/* ═══════════════════════════════════════════════
   W3bkit Solutions — Global Stylesheet
   ═══════════════════════════════════════════════ */

/* ── Reset & Variables ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0B1D3A;
  --navy-mid: #112B55;
  --blue: #1565C0;
  --blue-bright: #2196F3;
  --blue-glow: #42A5F5;
  --ice: #E3F2FD;
  --ice-mid: #BBDEFB;
  --white: #FFFFFF;
  --offwhite: #F8FAFD;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-500: #64748B;
  --gray-700: #334155;
  --gray-900: #0F172A;
  --accent: #00BFA6;
  --accent-dark: #00897B;
  --gold: #FFB300;
  --green: #2E7D32;
  --green-bg: #E8F5E9;
  --orange: #E65100;
  --orange-bg: #FFF3E0;
  --purple: #7B1FA2;
  --purple-bg: #F3E5F5;
  --red: #C62828;
  --red-bg: #FCE4EC;
  --slate: #37474F;
  --slate-bg: #ECEFF1;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(11,29,58,.08);
  --shadow-md: 0 4px 20px rgba(11,29,58,.1);
  --shadow-lg: 0 12px 40px rgba(11,29,58,.14);
  --shadow-glow: 0 0 30px rgba(33,150,243,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--gray-900); background: var(--offwhite); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Navigation ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(11,29,58,.06); transition: var(--transition); }
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 14px 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--gray-700); position: relative; transition: color var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--blue); transition: width var(--transition); }
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-links .active-link { color: var(--blue); }
.nav-links .active-link::after { width: 100%; }
.nav-cta { background: var(--blue); color: var(--white) !important; padding: 10px 24px; border-radius: 8px; font-weight: 600; transition: background var(--transition), transform var(--transition); }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; position: relative; z-index: 1001; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--navy); position: absolute; left: 0; transition: var(--transition); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: .95rem; transition: all var(--transition); cursor: pointer; border: none; font-family: var(--font-body); }
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.3); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 22px; font-size: .88rem; border-radius: 8px; }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid var(--gray-200); }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); background: var(--ice); }

/* ── Section Utilities ── */
.section { padding: 90px 0; }
.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: 2.5px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--blue); }
.section-title { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; line-height: 1.2; }
.section-desc { font-size: 1.05rem; color: var(--gray-500); max-width: 600px; line-height: 1.75; }

/* ── Page Hero (inner pages) ── */
.page-hero { padding: 150px 0 80px; position: relative; overflow: hidden; background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 50%, #0D47A1 100%); color: var(--white); text-align: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 500px 400px at 75% 25%, rgba(33,150,243,.15), transparent), radial-gradient(ellipse 350px 350px at 20% 75%, rgba(0,191,166,.1), transparent); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; background: var(--offwhite); clip-path: ellipse(55% 100% at 50% 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.65); transition: color var(--transition); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { margin: 0 8px; }
.page-hero h1 { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; line-height: 1.15; margin-bottom: 18px; }
.page-hero h1 em { font-style: normal; color: var(--blue-glow); }
.page-hero > .container > p, .page-hero p.hero-p { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 660px; margin: 0 auto; line-height: 1.75; }

/* ── Services Grid (shared) ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px 30px; transition: all var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; font-size: 1.6rem; }
.service-card h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; margin-bottom: 10px; color: var(--navy); }
.service-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 18px; }
.service-link { font-size: .85rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.service-link:hover { gap: 10px; }

/* ── Testimonials (shared) ── */
.testimonials { background: var(--offwhite); }
.testimonials-header { text-align: center; margin-bottom: 50px; }
.testimonials-header .section-desc { margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; transition: all var(--transition); display: flex; flex-direction: column; }
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: .92rem; color: var(--gray-700); line-height: 1.7; flex: 1; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--gray-100); padding-top: 18px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ice); overflow: hidden; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 600; font-size: .88rem; color: var(--navy); }
.testimonial-role { font-size: .78rem; color: var(--gray-500); }

/* ── CTA (shared) ── */
.cta { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%); color: var(--white); text-align: center; padding: 90px 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 400px 300px at 20% 50%, rgba(33,150,243,.12), transparent), radial-gradient(ellipse 400px 300px at 80% 50%, rgba(0,191,166,.1), transparent); pointer-events: none; }
.cta h2 { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; margin-bottom: 16px; position: relative; }
.cta p { font-size: 1.05rem; color: rgba(255,255,255,.65); max-width: 520px; margin: 0 auto 36px; position: relative; }
.cta .btn { position: relative; }

/* ── FAQ (shared) ── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); background: var(--white); }
.faq-item.active { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; padding: 20px 24px; background: none; border: none; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--navy); }
.faq-q .icon { width: 28px; height: 28px; min-width: 28px; border-radius: 50%; background: var(--ice); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--blue); transition: transform var(--transition); }
.faq-item.active .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.active .faq-a { max-height: 300px; }
.faq-a p { padding: 0 24px 20px; font-size: .9rem; color: var(--gray-500); line-height: 1.75; }

/* ── Footer ── */
footer { background: var(--gray-900); color: rgba(255,255,255,.55); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-top: 14px; }
.footer-brand .logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--white); }
footer h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 18px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { font-size: .88rem; transition: color var(--transition); }
footer ul a:hover { color: var(--white); }
.footer-contact p { font-size: .88rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; text-align: center; font-size: .8rem; }

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .page-hero h1 { font-size: 2.6rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; justify-content: center; align-items: center; gap: 28px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .page-hero { padding: 130px 0 70px; }
  .page-hero h1 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 1.75rem; }
  .btn { width: 100%; justify-content: center; }
}
