/* =============================================================
   The Rise Consultancy — v1 design layer
   Green/cyan gradient, light layout, pill buttons
   ============================================================= */

:root {
  --accent-color: #f47920;
  --accent-2: #1b4b7e;
  --heading-color: #14365c;
  --default-color: #4b5563;
  --brand-gradient: linear-gradient(135deg, #f7951d 0%, #ef6a16 100%);
  --soft-shadow: 0 18px 40px -18px rgba(20, 54, 92, 0.28);
  --ring: 0 0 0 1px rgba(20, 54, 92, 0.06);
  --primary: #f47920;
  --primary-hover: #e26810;
  --accent: var(--accent-color);
  --card: #fff;
  --border: rgba(15, 39, 64, 0.08);
  --radius-12: 12px;
  --radius-16: 18px;
  --background-color: #ffffff;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================================
   AOS safety net — content must NEVER stay hidden.
   Before AOS initializes (or if JS fails) elements are visible.
   Once AOS adds .aos-init it takes over the fade/slide animation.
   ============================================================= */
[data-aos]:not(.aos-init) {
  opacity: 1 !important;
  transform: none !important;
}

.section {
  padding: 90px 0;
}

/* ===== Section titles ===== */
.section-title h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}
.section-title p,
.content-subtitle,
.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--accent-color) !important;
}
.section-title h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: var(--brand-gradient);
}

/* ===== Buttons ===== */
.btn-get-started,
.about .btn-get-started,
.about-2 .btn-get-started,
.stats .btn-get-started,
.services-2 .btn-get-started,
.contact .btn-primary,
.btn-primary {
  background: var(--brand-gradient) !important;
  color: #fff !important;
  border: none !important;
  padding: 13px 34px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px -8px rgba(244, 121, 32, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}
.btn-get-started:hover,
.about .btn-get-started:hover,
.about-2 .btn-get-started:hover,
.stats .btn-get-started:hover,
.services-2 .btn-get-started:hover,
.contact .btn-primary:hover,
.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 16px 30px -8px rgba(244, 121, 32, 0.6);
  color: #fff !important;
}

/* ===== Hero slider ===== */
.hero-slider {
  position: relative;
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
}
.hero-swiper {
  position: relative;
  height: clamp(520px, 78vh, 760px);
}
.hero-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: 0;
}
.hero-swiper .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(8, 22, 38, 0.92) 0%, rgba(8, 22, 38, 0.72) 45%, rgba(8, 22, 38, 0.35) 100%),
    radial-gradient(900px 500px at 85% 0%, rgba(27, 75, 126, 0.35), transparent 60%);
}
.hero-swiper .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 660px;
  color: #fff;
  padding: 40px 0;
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-content h2 {
  color: #fff;
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.hero-content h2 .grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  color: #fff !important;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  transition: background 0.25s ease;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.25);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: 700;
}
.hero-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.55;
  width: 10px;
  height: 10px;
}
.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 28px;
  border-radius: 6px;
  background: var(--brand-gradient);
}
@media (max-width: 575px) {
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev { display: none; }
}

/* Hero banner mode (designed image slides, no overlay/text) */
.hero-banner .hero-swiper {
  height: auto;
}
.hero-banner .swiper-slide {
  display: block;
}
.hero-banner .swiper-slide::after {
  display: none;
}
.hero-banner .hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-banner .swiper-pagination {
  bottom: 14px;
}

/* Hero trust bar */
.hero-trustbar {
  background: var(--heading-color);
  color: #fff;
}
.hero-trustbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 20px 0;
}
.hero-trustbar li {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 200px;
  justify-content: center;
}
.hero-trustbar li i {
  font-size: 24px;
  color: var(--accent-2);
}
.hero-trustbar li span { font-size: 15px; color: rgba(255,255,255,0.82); }
.hero-trustbar li .hero-stat-value { color: #fff; font-size: 20px; font-weight: 700; margin-right: 4px; }

.tab-slide-title { font-size: 1.1rem; font-weight: 700; color: var(--heading-color); }
.pricing-item .plan-label { font-weight: 700; color: var(--heading-color); }

/* ===== Reusable trust sections ===== */
.value-card,
.process-step,
.industry-card,
.feature-row {
  background: #fff;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: var(--soft-shadow), var(--ring);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover,
.process-step:hover,
.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -20px rgba(15, 39, 64, 0.32), var(--ring);
}
.value-card .ic,
.industry-card .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(244, 121, 32, 0.1);
  color: var(--accent-color);
  font-size: 26px;
  margin-bottom: 18px;
}
.value-card h3,
.industry-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.value-card p,
.industry-card p {
  color: color-mix(in srgb, var(--default-color), transparent 12%);
  font-size: 15px;
  margin: 0;
}

/* Process steps with number */
.process-step {
  position: relative;
  padding-top: 38px;
}
.process-step .step-num {
  position: absolute;
  top: -22px;
  left: 26px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 10px 24px -8px rgba(244, 121, 32, 0.55);
}
.process-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process-step p { color: color-mix(in srgb, var(--default-color), transparent 12%); font-size: 14.5px; margin: 0; }

/* Feature list with check */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.feature-list li i {
  color: var(--accent-color);
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}
.feature-list li strong { display: block; color: var(--heading-color); }
.feature-list li span { color: color-mix(in srgb, var(--default-color), transparent 12%); font-size: 14.5px; }

/* Trust badges row */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.trust-badges .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--soft-shadow), var(--ring);
  font-weight: 600;
  color: var(--heading-color);
}
.trust-badges .badge-pill i { color: var(--accent-color); font-size: 20px; }

/* Mini FAQ accordion (native details) */
.faq-mini details {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--soft-shadow), var(--ring);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-mini summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--heading-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-mini summary::-webkit-details-marker { display: none; }
.faq-mini summary::after {
  content: "\F4FE";
  font-family: "bootstrap-icons";
  font-weight: normal;
  color: var(--accent-color);
  transition: transform 0.25s ease;
}
.faq-mini details[open] summary::after { transform: rotate(45deg); }
.faq-mini details > p {
  padding: 0 24px 22px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 12%);
  line-height: 1.7;
}

/* Section intro */
/* CMS-managed pages (admin panel) */
.cms-page-hero {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cms-page-hero-overlay {
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 39, 66, 0.82) 0%, rgba(20, 54, 92, 0.65) 50%, rgba(244, 121, 32, 0.35) 100%);
}
.cms-page-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.cms-page-hero .breadcrumbs a,
.cms-page-hero .breadcrumbs li { color: rgba(255, 255, 255, 0.9); }
.cms-page-hero .breadcrumbs .current { color: #fff; }
.cms-page-content { line-height: 1.75; color: var(--default-color, #4b5563); }
.cms-page-content h2, .cms-page-content h3 { color: var(--heading-color, #14365c); margin-top: 1.5rem; }
.cms-page-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 0.5rem 0; }
.cms-page-content table { width: 100%; margin: 1rem 0; }
.cms-managed-page .page-title h1 { color: var(--heading-color, #14365c); }
.cms-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.cms-gallery-grid--hero { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cms-gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px -8px rgba(20, 54, 92, 0.25);
  transition: transform 0.25s ease;
}
.cms-gallery-item:hover { transform: translateY(-4px); }
.cms-gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; }
.cms-sidebar-box {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}
.cms-sidebar-box h4 { color: var(--heading-color, #14365c); font-weight: 700; }
.cms-custom-page .cms-body-section .card { border-radius: 14px; }

.section-intro {
  max-width: 720px;
  margin: 0 auto 14px;
  text-align: center;
}
.section-intro p.lead-muted {
  color: color-mix(in srgb, var(--default-color), transparent 12%);
  font-size: 17px;
}

/* ===== Page title (inner pages) ===== */
.page-title {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(27, 75, 126, 0.1), transparent 55%),
    radial-gradient(800px 400px at 0% 120%, rgba(244, 121, 32, 0.1), transparent 55%),
    #fff !important;
}
.page-title h1 {
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}
.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.page-title .breadcrumbs a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}
.page-title .breadcrumbs a:hover {
  color: var(--accent-2);
}
.page-title .breadcrumbs .current {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

/* ===== Hero (home) ===== */
.about.section {
  position: relative;
  background:
    radial-gradient(1300px 700px at 85% 15%, rgba(37, 99, 235, 0.16), transparent 40%),
    radial-gradient(900px 700px at 10% 20%, rgba(16, 185, 129, 0.14), transparent 38%),
    linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 100%);
  overflow: hidden;
  padding: clamp(80px, 10vw, 120px) 0 80px;
}
.about .container {
  max-width: 100%;
  width: 100%;
  padding: 0 24px;
}
.about .row {
  align-items: center;
  gap: 2rem;
}
.about h1 {
  font-size: clamp(48px, 7vw, 72px) !important;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text);
  max-width: 760px;
}
.about p {
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 1.8rem;
}
.about .section-subtitle {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent-color) !important;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 12px !important;
}
.about .swiper {
  border-radius: 28px;
  overflow: hidden;
  min-height: 560px;
  box-shadow: 0 32px 80px -40px rgba(15, 23, 42, 0.35), var(--ring);
}
.about .swiper-slide img,
.tabs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about .btn-get-started {
  padding: 16px 28px !important;
  font-size: 1rem !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--accent), #10b981) !important;
  border: none !important;
  box-shadow: 0 20px 50px -30px rgba(37, 99, 235, 0.6);
}
.about .btn-get-started:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 60px -32px rgba(37, 99, 235, 0.55);
}

/* ===== Cards ===== */
.services-item,
.pricing-item,
.post-entry,
.testimonial {
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow), var(--ring);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.services-item:hover,
.pricing-item:hover,
.post-entry:hover,
.testimonial:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -20px rgba(15, 39, 64, 0.38), var(--ring);
}

.services .services-item,
.services-2 .services-item {
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
}
.services .services-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.services .services-item:hover::before {
  opacity: 1;
}
.services .services-item .services-icon,
.services-2 .services-item .services-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(244, 121, 32, 0.1);
  color: var(--accent-color);
  margin-bottom: 22px;
}
.services .services-item .services-icon i,
.services-2 .services-item .services-icon i {
  font-size: 30px !important;
}
.services .services-item:hover .services-icon,
.services-2 .services-item:hover .services-icon {
  background: var(--brand-gradient);
  color: #fff;
}
.services .services-item h3,
.services-2 .services-item h3 {
  font-size: 19px !important;
  font-weight: 700 !important;
}

/* ===== Tabs ===== */
.tabs .service-item.link {
  border-radius: 14px;
  padding: 18px;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.tabs .service-item.link.active,
.tabs .service-item.link:hover {
  background: #fff;
  box-shadow: var(--soft-shadow), var(--ring);
  transform: translateY(-2px);
}

/* ===== Pricing ===== */
.pricing .pricing-item {
  padding: 44px 26px;
}
.pricing .recommended {
  transform: scale(1.04);
  box-shadow: 0 30px 60px -22px rgba(244, 121, 32, 0.45), 0 0 0 2px rgba(244, 121, 32, 0.4);
}
.pricing .recommended:hover {
  transform: scale(1.04) translateY(-8px);
}
.pricing .pricing-item h4 {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pricing .btn-buy {
  border-radius: 999px !important;
  font-weight: 600 !important;
}
.pricing .recommended .btn-buy {
  background: var(--brand-gradient) !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px -8px rgba(244, 121, 32, 0.55);
}

/* ===== FAQ ===== */
.faq .accordion-item {
  background: #fff;
  border-radius: 14px !important;
  margin-bottom: 14px;
  box-shadow: var(--soft-shadow), var(--ring);
  overflow: hidden;
  border: none;
}
.faq .accordion-item .btn-link {
  font-weight: 600;
  color: var(--heading-color);
  padding: 20px 24px;
}

/* ===== CTA ===== */
#cta.section {
  background: var(--brand-gradient);
  border-radius: 0;
}
#cta.section h2,
#cta.section .lead {
  color: #fff !important;
}
#cta .btn-get-started {
  background: #fff !important;
  color: var(--accent-color) !important;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.35);
}
#cta .btn-get-started:hover {
  color: var(--accent-color) !important;
}

/* ===== Stats ===== */
.stats .count-numbers .number {
  font-size: 2.4rem !important;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats .images-overlap img {
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

/* ===== Header / nav ===== */
.scrolled .header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 10px 30px -16px rgba(15, 39, 64, 0.4);
}
.header .logo h1.sitename {
  font-weight: 700 !important;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Compact header so a bigger logo doesn't increase its height */
.header {
  padding: 8px 0 !important;
}
.scrolled .header {
  padding: 5px 0 !important;
}
.header .logo .site-logo {
  height: 70px;
  width: auto;
  max-height: 70px;
  margin: 0;
  transition: height 0.3s ease;
}
.scrolled .header .logo .site-logo {
  height: 58px;
  max-height: 58px;
}
@media (max-width: 575px) {
  .header .logo .site-logo {
    height: 52px;
    max-height: 52px;
  }
}

/* Header CTA button — fills the right side, balances the layout */
.navmenu .nav-cta {
  margin-left: 10px;
}
.navmenu .nav-cta a.btn {
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  white-space: nowrap;
}
.navmenu .nav-cta a.btn::after {
  display: none;
}
@media (max-width: 1199px) {
  .navmenu .nav-cta {
    margin: 10px 0 0;
  }
  .navmenu .nav-cta a.btn {
    display: inline-block;
  }
}
.navmenu a:hover,
.navmenu .active {
  color: var(--accent-color) !important;
}
.navmenu .dropdown ul {
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--soft-shadow), var(--ring);
}

/* ===== Images / lists ===== */
#cybersecurity-guide img,
.about-2 .img img {
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}
#cybersecurity-guide .list-unstyled li {
  margin-bottom: 10px;
}

/* ===== Contact ===== */
.contact .info,
.contact .php-email-form {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: var(--soft-shadow), var(--ring);
  height: 100%;
}
.contact .info-item i {
  color: var(--accent-color);
  font-size: 22px;
}
.contact .form-control {
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(15, 39, 64, 0.12);
}
.contact .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(244, 121, 32, 0.15);
}

/* ===== Team ===== */
.team .team {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--soft-shadow), var(--ring);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team .team:hover {
  transform: translateY(-8px);
}
.team .team .pic img {
  border-radius: 14px;
}

/* ===== Blog cards ===== */
.blog-posts .post-entry,
.posts-list .post-entry {
  overflow: hidden;
}
.blog-posts .post-entry img,
.posts-list .post-entry img {
  border-radius: 14px;
}

.blog-posts-2 article {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--soft-shadow), var(--ring);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-posts-2 article:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -20px rgba(15, 39, 64, 0.38), var(--ring);
}
.blog-posts-2 .post-img {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-posts-2 .post-img img,
.blog-posts-2 .post-img .swiper {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-posts-2 .meta-top {
  padding: 18px 22px 0;
}
.blog-posts-2 .meta-top ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}
.blog-posts-2 .title {
  padding: 8px 22px 0;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.3;
}
.blog-posts-2 article > p {
  padding: 10px 22px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  flex: 1;
}
.blog-posts-2 .social-share {
  padding: 14px 22px 22px;
}

.blog-empty-state {
  text-align: center;
  max-width: 560px;
  margin: 10px auto 30px;
  padding: 48px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--soft-shadow), var(--ring);
}
.blog-empty-state i {
  font-size: 56px;
  color: var(--accent-color);
}
.blog-empty-state h3 {
  margin-top: 16px;
  font-weight: 700;
}
.blog-empty-state p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 22px;
}

.blog-pagination ul {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
}
.blog-pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 39, 64, 0.12);
  color: var(--heading-color);
  font-weight: 600;
}
.blog-pagination li a.active,
.blog-pagination li a:hover:not(.disabled) {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
}
.blog-pagination li a.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ===== Portfolio ===== */
.portfolio .portfolio-filters {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 36px;
}
.portfolio .portfolio-filters li {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--heading-color);
  background: #fff;
  box-shadow: var(--ring);
  transition: all 0.25s ease;
}
.portfolio .portfolio-filters li.filter-active,
.portfolio .portfolio-filters li:hover {
  background: var(--brand-gradient);
  color: #fff;
}
.portfolio-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--soft-shadow), var(--ring);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -20px rgba(15, 39, 64, 0.4), var(--ring);
}
.portfolio-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2740 0%, #1b4b7e 100%);
}
.portfolio-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 70%);
  background-size: 220% 100%;
  animation: portfolio-shimmer 1.4s linear infinite;
  pointer-events: none;
}
@keyframes portfolio-shimmer {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.portfolio-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}
.portfolio-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(15, 39, 64, 0.78);
  backdrop-filter: blur(4px);
}
.portfolio-info {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.portfolio-info h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.portfolio-info > p {
  color: color-mix(in srgb, var(--default-color), transparent 22%);
  font-size: 15px;
  flex: 1;
}
.portfolio-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.portfolio-actions .btn-visit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 10px 24px -8px rgba(244, 121, 32, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-actions .btn-visit:hover {
  transform: translateY(-2px);
  color: #fff;
}
.portfolio-actions .preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--heading-color);
  border: 1px solid rgba(15, 39, 64, 0.12);
  font-size: 18px;
  transition: all 0.25s ease;
}
.portfolio-actions .preview-link:hover {
  background: var(--heading-color);
  color: #fff;
}

/* ===== Policy pages ===== */
.policy-content,
.entry-content {
  line-height: 1.8;
}
.policy-content {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 18px 50px rgba(15, 39, 64, 0.06);
  color: #4b5563;
}
.policy-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-top: 2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eef1f5;
}
.policy-content h2:first-of-type {
  margin-top: 1rem;
}
.policy-content p {
  margin-bottom: 1rem;
}
.policy-content a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}
.policy-content a:hover {
  text-decoration: underline;
}
.policy-updated {
  display: inline-block;
  background: #fff;
  border: 1px solid #eef1f5;
  color: #6b7280;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.policy-contact {
  list-style: none;
  padding: 1.25rem 1.5rem;
  margin: 0.5rem 0 0;
  background: #f8fafc;
  border: 1px solid #eef1f5;
  border-radius: 12px;
}
.policy-contact li {
  padding: 0.25rem 0;
}
@media (max-width: 575px) {
  .policy-content {
    padding: 1.5rem;
  }
}

.footer .footer-contact {
  font-size: 0.92rem;
}
.footer .footer-contact li {
  margin-bottom: 0.4rem;
}
.footer .footer-contact a {
  color: inherit;
  text-decoration: none;
}
.footer .footer-contact a:hover {
  color: var(--accent-color);
}

/* ===== Scroll-top ===== */
.scroll-top {
  background: var(--brand-gradient) !important;
  border-radius: 14px !important;
}

.footer .widget-heading {
  font-weight: 700;
}
.footer .social-icons a:hover {
  color: var(--accent-color);
}

/* ===== Blog extras ===== */
.social-share {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-share a {
  padding: 8px 12px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.social-share a:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.social-share .facebook { background-color: #3b5998; }
.social-share .twitter { background-color: #1da1f2; }
.social-share .whatsapp { background-color: #25d366; }
.social-share .linkedin { background-color: #0077b5; }
.social-share .copy-link { background-color: #6c757d; cursor: pointer; }

.post-img .swiper {
  width: 100%;
}
.blog-page .post-img .swiper { height: 250px; }
.blog-details-page .post-img .swiper { height: 400px; }
.post-img .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-img .swiper-button-next,
.post-img .swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  width: 34px;
  height: 34px;
}
.post-img .swiper-button-next:after,
.post-img .swiper-button-prev:after {
  font-size: 14px;
}
.post-img .swiper-pagination-bullet { background: #fff; opacity: 0.85; }
.post-img .swiper-pagination-bullet-active { background: #1b4b7e; opacity: 1; }

.search-widget form {
  display: flex;
  gap: 10px;
}
.search-widget input[type="text"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}
.search-widget button {
  padding: 10px 14px;
  background: var(--brand-gradient);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
}

/* ===== 404 ===== */
.error-section {
  padding: 100px 0;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(900px 500px at 50% -20%, rgba(27, 75, 126, 0.15), transparent 60%),
    #0f2740;
}
.error-title {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.error-subtitle {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 800;
}
.btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  background: var(--brand-gradient);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(244, 121, 32, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-home:hover {
  transform: translateY(-2px);
  color: #fff;
}
