/* ===== Root Variables ===== */
:root {
  --primary: #0a4d8f;
  --primary-dark: #073b6e;
  --primary-light: #1e6cb8;
  --accent: #75ecff;
  --accent-dark: #e6760d;
  --dark: #1c2833;
  --muted: #5a6b7b;
  --light-bg: #f4f8fc;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(10, 77, 143, 0.10);
  --shadow-hover: 0 18px 45px rgba(10, 77, 143, 0.18);
  --radius: 14px;
  --transition: all 0.35s ease;
}

/* ===== Base ===== */
* { box-sizing: border-box; }

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.3; }

a { text-decoration: none; transition: var(--transition); }

.section { padding: 80px 0; }
.section-light { background: var(--light-bg); }

.section-title {
  font-size: 2.4rem;
  margin-bottom: 12px;
  color: var(--dark);
}
.section-subtitle {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 55px;
}
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary) !important; }

/* ===== Buttons ===== */
.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 118, 13, 0.35);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-3px);
}

/* ===== Navbar ===== */
.navbar {
  padding: 14px 0;
  transition: var(--transition);
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
}
.navbar-brand img{
  width: 250px;
}
.navbar-brand .logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 11px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem;
}
.navbar-brand span { color: var(--accent); }
.navbar .nav-link {
  font-weight: 600;
  color: var(--dark) !important;
  margin: 0 6px;
  position: relative;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
  color: var(--primary) !important;
}
.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 3px;
  background: var(--accent);
  border-radius: 3px;
}
.btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 24px !important;
  border-radius: 50px;
  font-weight: 600;
}
.btn-nav:hover { background: var(--accent-dark); color: #fff !important; }

/* ===== Hero / Banner ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(7,59,110,0.78), rgba(10,77,143,0.72)),
              url('../images/banner.jpg') center/cover no-repeat fixed;
  color: #fff;
}
.hero h1 {
  font-size: 3.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  max-width: 580px;
  margin-bottom: 30px;
  opacity: 0.95;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 22px;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: linear-gradient(rgba(7,59,110,0.85), rgba(10,77,143,0.82)),
              url('../images/banner.jpg') center/cover no-repeat;
  color: #fff;
  padding: 90px 0 70px;
  text-align: center;
}
.page-header h1 { font-size: 2.8rem; }
.page-header p { opacity: 0.9; font-size: 1.1rem; }

/* ===== Service Cards ===== */
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid #eef3f8;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.service-card .card-img {
  height: 200px;
  overflow: hidden;
}
.service-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .card-img img { transform: scale(1.08); }
.service-card .card-body { padding: 26px 24px 28px; }
.service-card .card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-top: -52px;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(10,77,143,0.3);
  position: relative;
  z-index: 2;
}
.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.service-card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; }
.service-card .btn-link {
  color: var(--primary);
  font-weight: 600;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .btn-link:hover { color: var(--accent); gap: 12px; }

/* ===== Feature / Why choose ===== */
.feature-box {
  text-align: center;
  padding: 35px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  border-top: 4px solid transparent;
}
.feature-box:hover { border-top-color: var(--accent); transform: translateY(-8px); }
.feature-box .feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.feature-box h5 { margin-bottom: 10px; }
.feature-box p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ===== Stats Band ===== */
.stats-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label { opacity: 0.9; margin-top: 6px; }

/* ===== CTA Band ===== */
.cta-band {
  background: linear-gradient(rgba(7,59,110,0.9), rgba(10,77,143,0.88)),
              url('../images/banner.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 75px 0;
}
.cta-band h2 { font-size: 2.4rem; margin-bottom: 12px; }
.cta-band p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 28px; }

/* ===== About ===== */
.about-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  width: 100%;
}
.value-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}
.value-item .value-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.value-item h5 { margin-bottom: 4px; }
.value-item p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ===== Contact ===== */
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 30px;
  height: 100%;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover { transform: translateY(-6px); }
.contact-card .contact-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.contact-card h5 { margin-bottom: 8px; }
.contact-card p { color: var(--muted); margin: 0; }

.form-control, .form-select {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #dbe4ec;
  font-size: 0.97rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(30,108,184,0.15);
}
.form-label { font-weight: 600; color: var(--dark); font-size: 0.92rem; }

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: #c4d0db;
  padding: 65px 0 0;
}
.footer h5 {
  color: #fff;
  margin-bottom: 22px;
  font-size: 1.15rem;
}
.footer a { color: #c4d0db; }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { font-size: 0.95rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-social a {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  margin-right: 8px;
  color: #fff;
}
.footer-social a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding: 22px 0;
  font-size: 0.9rem;
}

/* ===== Blog ===== */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid #eef3f8;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.blog-card .blog-img { height: 210px; overflow: hidden; position: relative; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-img img { transform: scale(1.08); }
.blog-card .blog-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  padding: 5px 14px; border-radius: 50px;
  font-size: .75rem; font-weight: 600;
}
.blog-card .blog-body { padding: 24px; }
.blog-meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.blog-meta i { color: var(--primary); margin-right: 4px; }
.blog-card h5 { font-size: 1.15rem; line-height: 1.4; }
.blog-card h5 a { color: var(--dark); }
.blog-card h5 a:hover { color: var(--primary); }
.blog-card p { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }

.sidebar-widget {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  margin-bottom: 28px;
}
.sidebar-widget h5 { margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.sidebar-widget h5::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 40px; height: 3px; background: var(--accent); border-radius: 3px;
}
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget ul li { padding: 9px 0; border-bottom: 1px solid #f0f4f8; }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--dark); font-size: .94rem; display: flex; align-items: center; gap: 8px; }
.sidebar-widget ul li a:hover { color: var(--primary); padding-left: 6px; }
.recent-post { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #f0f4f8; }
.recent-post:last-child { border-bottom: none; }
.recent-post img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.recent-post h6 { font-size: .9rem; margin-bottom: 2px; line-height: 1.35; }
.recent-post span { font-size: .78rem; color: var(--muted); }
.tag-cloud a {
  display: inline-block; padding: 6px 14px; margin: 0 5px 8px 0;
  background: var(--light-bg); border-radius: 50px; font-size: .82rem; color: var(--dark);
}
.tag-cloud a:hover { background: var(--primary); color: #fff; }

.article-block img.article-hero { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.article-meta { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.article-meta span { margin-right: 18px; }
.article-meta i { color: var(--primary); margin-right: 5px; }
.article-block p { color: #444; margin-bottom: 18px; }
.article-block h3 { font-size: 1.5rem; margin: 30px 0 14px; }
.article-quote {
  border-left: 4px solid var(--accent);
  background: var(--light-bg);
  padding: 20px 24px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--dark);
  margin: 24px 0;
}
.article-share a {
  display: inline-flex; width: 38px; height: 38px;
  align-items: center; justify-content: center;
  background: var(--light-bg); border-radius: 50%; color: var(--primary); margin-right: 8px;
}
.article-share a:hover { background: var(--primary); color: #fff; }

/* ===== Service Detail (Services page) ===== */
.service-detail-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  width: 100%;
}
.service-detail h3 { font-size: 1.6rem; margin-bottom: 12px; }
.service-detail p { color: var(--muted); margin-bottom: 16px; }
.service-icon-lg {
  width: 62px; height: 62px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(10,77,143,0.3);
}
.service-feature-list { list-style: none; padding: 0; margin: 0 0 24px; }
.service-feature-list li {
  padding: 7px 0; color: var(--dark);
  display: flex; align-items: center; gap: 10px; font-size: .96rem;
}
.service-feature-list li i { color: var(--accent); font-size: 1.05rem; }

/* ===== Legal / Content pages ===== */
.legal-content h3 { font-size: 1.3rem; margin: 30px 0 12px; color: var(--primary-dark); }
.legal-content > p, .legal-content li { color: var(--muted); }
.legal-content ul { padding-left: 1.2rem; }
.legal-content ul li { margin-bottom: 8px; }
.legal-updated {
  display: inline-block; background: var(--light-bg);
  padding: 7px 18px; border-radius: 50px;
  font-size: .85rem; color: var(--muted); margin-bottom: 20px;
}
.legal-toc { position: sticky; top: 90px; }

/* ===== Subscribe / Newsletter ===== */
.subscribe-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 40px;
}
.subscribe-box h3 { font-size: 1.5rem; margin-bottom: 8px; }
.benefit-list { list-style: none; padding: 0; margin: 0; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; font-size: 1rem; color: var(--dark);
}
.benefit-list li i { color: var(--accent); font-size: 1.3rem; flex-shrink: 0; }

/* ===== Featured Blog Post ===== */
.featured-post {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  margin-bottom: 40px;
  border: 1px solid #eef3f8;
}
.featured-post .featured-img { position: relative; height: 100%; min-height: 300px; overflow: hidden; }
.featured-post .featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--accent); color: #fff;
  padding: 7px 18px; border-radius: 50px;
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.featured-post .featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured-post .featured-body h3 { font-size: 1.7rem; line-height: 1.3; margin-bottom: 14px; }
.featured-post .featured-body h3 a { color: var(--dark); }
.featured-post .featured-body h3 a:hover { color: var(--primary); }

/* ===== About Preview ===== */
.about-img-stack { position: relative; }
.about-img-stack img { border-radius: var(--radius); box-shadow: var(--shadow-hover); width: 100%; }
.about-exp-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; padding: 20px 26px; border-radius: 14px;
  box-shadow: 0 12px 28px rgba(230,118,13,.4); text-align: center;
}
.about-exp-badge .num { font-size: 2.1rem; font-weight: 800; line-height: 1; }
.about-exp-badge span { font-size: .8rem; }
.about-point { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.about-point .num {
  flex-shrink: 0; width: 46px; height: 46px;
  border-radius: 12px; background: var(--light-bg); color: var(--primary);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.about-point h6 { margin-bottom: 2px; }
.about-point p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ===== Testimonials ===== */
.testimonial-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 30px; height: 100%; border: 1px solid #eef3f8;
  position: relative; transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.testimonial-card .quote-icon {
  position: absolute; top: 20px; right: 28px;
  font-size: 3rem; color: rgba(10,77,143,.09); line-height: 1;
}
.testimonial-stars { color: #ffb400; margin-bottom: 14px; font-size: 1rem; }
.testimonial-card p { color: var(--muted); font-size: .97rem; font-style: italic; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.testimonial-author h6 { margin-bottom: 0; }
.testimonial-author span { font-size: .82rem; color: var(--muted); }

/* ===== FAQ ===== */
.accordion-item {
  border: 1px solid #e3eaf2 !important;
  border-radius: 14px !important;
  margin-bottom: 14px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(10,77,143,.05);
}
.accordion-button { font-weight: 600; color: var(--dark); padding: 20px 24px; font-size: 1.02rem; }
.accordion-button:not(.collapsed) { background: var(--primary); color: #fff; box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--primary-light); }
.accordion-body { color: var(--muted); padding: 4px 24px 22px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { min-height: 520px; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 55px 0; }
  .section-title { font-size: 1.9rem; }
  .navbar-brand { font-size: 1.25rem; }
}
