@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0052CC;
  --primary-dark: #003d99;
  --primary-light: #e8f0fe;
  --accent: #0066FF;
  --bg: #f7f9fc;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-secondary: #555770;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --radius: 12px;
  --transition: 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--white); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TOP BAR ===== */
.topbar { background: var(--primary); color: #fff; font-size: 13px; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-left a, .topbar-right { color: #fff; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.topbar-left a:hover { opacity: 0.85; }
.topbar-icon { width: 14px; height: 14px; fill: currentColor; }

/* ===== HEADER / NAV ===== */
header { position: sticky; top: 0; background: var(--white); z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { display: flex; align-items: baseline; gap: 4px; text-decoration: none; }
.logo-text { font-size: 22px; font-weight: 800; letter-spacing: 6px; text-transform: uppercase; color: var(--text); }
.logo-text .dot { color: var(--primary); }
.logo-sub { display: block; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin-top: -2px; }
nav { display: flex; align-items: center; gap: 8px; }
nav a { padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--text-secondary); border-radius: 8px; transition: all var(--transition); }
nav a:hover, nav a.active { color: var(--primary); }
.nav-services { position: relative; cursor: pointer; }
.nav-services::after { content: '▾'; margin-left: 4px; font-size: 11px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all var(--transition); border: none; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,82,204,0.3); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: var(--white); color: var(--primary); font-weight: 600; }
.btn-white:hover { background: #f0f4ff; }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 50%, #f0f6ff 100%); padding: 60px 0 0; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-label { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.15; color: var(--text); margin-bottom: 20px; }
.hero h1 .highlight { color: var(--primary); }
.hero-text { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 28px; max-width: 500px; }
.hero-buttons { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-item { display: flex; align-items: center; gap: 10px; }
.stat-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.stat-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2; }
.stat-value { font-size: 22px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 12px; color: var(--muted); }

.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: 20px 20px 0 0; object-fit: cover; }


/* ===== TRUST BAR ===== */
.trust-bar { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-bar .container { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-bar img { height: 50px; transition: transform var(--transition); }
.trust-bar img:hover { transform: scale(1.05); }

/* ===== SECTION HEADINGS ===== */
.section { padding: 80px 0; }
.section-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.section-title { text-align: center; font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 48px; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; transition: all var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 56px; height: 56px; margin: 0 auto 16px; background: var(--primary-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.service-icon svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.service-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.learn-more { font-size: 13px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.learn-more:hover { gap: 8px; }

/* ===== WHY CHOOSE US ===== */
.why-section { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.why-left .section-label { text-align: left; }
.why-left h2 { font-size: 34px; font-weight: 800; line-height: 1.2; margin-bottom: 16px; text-align: left; }
.why-left p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why-feature { display: flex; gap: 14px; align-items: flex-start; }
.why-feature-icon { width: 50px; height: 50px; min-width: 50px; border-radius: 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; }
.why-feature-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 1.8; }
.why-feature h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.why-feature p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--white); }
.testimonials-wrap { position: relative; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--bg); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); transition: all var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stars { color: #f59e0b; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); font-size: 16px; }
.author-name { font-weight: 700; font-size: 14px; }
.author-role { font-size: 12px; color: var(--muted); }
.testimonial-nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.testimonial-nav button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--border); background: var(--white); cursor: pointer; font-size: 18px; color: var(--text); transition: all var(--transition); display: flex; align-items: center; justify-content: center; }
.testimonial-nav button:hover { border-color: var(--primary); color: var(--primary); }

/* ===== FOOTER ===== */
footer { background: var(--primary); color: #e0eaff; }
.footer-main { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.3fr; gap: 40px; padding: 56px 0 40px; }
.footer-brand .logo-text { color: #fff; font-size: 20px; }
.footer-brand .logo-sub { color: #b3d4ff; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin: 12px 0 16px; color: rgba(255,255,255,0.75); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 16px; height: 16px; fill: #c8d6e5; }
footer h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
footer ul li { margin-bottom: 8px; }
footer ul a { font-size: 13px; color: rgba(255,255,255,0.75); transition: color var(--transition); }
footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 10px; }
.footer-contact svg { width: 16px; height: 16px; min-width: 16px; fill: #fff; margin-top: 2px; }
.footer-subscribe input { width: 100%; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); color: #fff; font-size: 13px; margin-bottom: 10px; outline: none; font-family: inherit; }
.footer-subscribe input::placeholder { color: #667788; }
.footer-subscribe input:focus { border-color: var(--primary); }
.footer-subscribe .btn-primary { width: 100%; justify-content: center; padding: 10px; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.6); }
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; }

/* ===== SERVICE DETAIL ===== */
.service-detail { padding: 60px 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.service-content h2 { font-size: 26px; font-weight: 800; color: var(--text); margin: 32px 0 12px; }
.service-content h2:first-child { margin-top: 0; }
.service-content h3 { font-size: 20px; font-weight: 700; color: var(--text); margin: 24px 0 10px; }
.service-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 14px; }
.service-content ul { margin: 0 0 18px 0; padding-left: 0; }
.service-content ul li { font-size: 14px; color: var(--text-secondary); line-height: 1.7; padding: 6px 0 6px 24px; position: relative; }
.service-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.service-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.sidebar-card ul { padding: 0; margin: 0; }
.sidebar-card ul li { margin-bottom: 6px; }
.sidebar-card ul li a { font-size: 14px; color: var(--text-secondary); padding: 8px 12px; display: block; border-radius: 8px; transition: all var(--transition); }
.sidebar-card ul li a:hover, .sidebar-card ul li a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.sidebar-cta { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 28px; text-align: center; }
.sidebar-cta h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 16px; }

/* ===== BLOG DETAIL ===== */
.blog-detail { padding: 60px 0; }
.blog-detail-wrap { max-width: 800px; margin: 0 auto; }
.blog-detail .blog-tag { margin-bottom: 12px; }
.blog-detail h1 { font-size: 32px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.blog-detail .blog-meta { margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.blog-detail-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.blog-detail-content h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.blog-detail-content h3 { font-size: 18px; font-weight: 700; margin: 24px 0 10px; }
.blog-detail-content ul { margin: 0 0 18px 0; padding-left: 0; }
.blog-detail-content ul li { font-size: 15px; color: var(--text-secondary); line-height: 1.7; padding: 5px 0 5px 24px; position: relative; }
.blog-detail-content ul li::before { content: '•'; position: absolute; left: 6px; color: var(--primary); font-weight: 700; }
.blog-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 24px; }
.blog-back:hover { gap: 10px; }

/* ===== PAGE BANNER (for inner pages) ===== */
.page-banner { background: linear-gradient(135deg, #0052CC, #003d99); padding: 60px 0; text-align: center; color: #fff; }
.page-banner h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.page-banner p { font-size: 16px; opacity: 0.85; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; flex-direction: column; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px 24px; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 34px; }
  .hero-text { margin: 0 auto 28px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { order: -1; max-width: 400px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .section { padding: 50px 0; }
}

@media (max-width: 480px) {
  .topbar-left { gap: 10px; }
  .topbar .container { font-size: 11px; }
  .hero h1 { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
}
