@import url("style.css");

:root {
  --primary: #0066d6;
  --primary-dark: #0052a3;
  --secondary-blue: #2d7fd3;
  --teal: #12a6a6;
  --dark: #1e293b;
  --text: #64748b;
  --white: #ffffff;
  --soft-blue: #dcecff;
}

.page-banner {
  position: relative;
  padding: 100px 0 30px;
  background:
    linear-gradient(135deg, rgba(0, 102, 214, 0.92) 0%, rgba(18, 166, 166, 0.85) 100%);
    /*url("https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;*/
  color: #fff;
  overflow: hidden;
}
.page-banner::before,
.page-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}
.page-banner::before {
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.25);
  top: -120px; left: -80px;
}
.page-banner::after {
  width: 260px; height: 260px;
  background: rgba(18,166,166,0.55);
  bottom: -100px; right: -60px;
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner .kicker {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255,255,255,0.16);
  /* backdrop-filter: blur(10px); */
  border: 1px solid rgba(255,255,255,0.25);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.page-banner h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}
.page-banner p {
  font-size: 1.05rem;
  max-width: 720px;
  opacity: 0.95;
  margin-bottom: 0;
}
.page-banner .breadcrumb-bar {
  margin-top: 22px;
  font-size: 14px;
  opacity: 0.9;
}
.page-banner .breadcrumb-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.page-banner .breadcrumb-bar a:hover { text-decoration: underline; }
.page-banner .breadcrumb-bar i { margin: 0 10px; font-size: 11px; }

/* Push fixed navbar offset for inner pages */
body.inner-page { padding-top: 0; }
/* ============ ABOUT PAGE ============ */
.page-banner.about-banner {
  background:
    linear-gradient(135deg, rgba(0, 102, 214, 0.92) 0%, rgba(18, 166, 166, 0.85) 100%),
    url("https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
}

.section-title{
  margin-top: 70px;
}

/* ============ TOOLBAR ============ */
.blog-toolbar-section {
  padding-top: 60px;
  padding-bottom: 40px;
}

.blog-toolbar {
  background: linear-gradient(135deg, #ffffff 0%, #f1f8ff 100%);
  border: 1px solid rgba(0, 102, 214, 0.1);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 12px 34px rgba(15, 63, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-filter {
  border: 1px solid rgba(0, 102, 214, 0.18);
  background: #fff;
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: 0.25s ease;
  font-family: "Manrope", sans-serif;
}

.blog-filter:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.blog-filter.active {
  background: linear-gradient(90deg, var(--primary), var(--teal));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 102, 214, 0.28);
}

.blog-search {
  position: relative;
  flex: 1;
  max-width: 320px;
  min-width: 220px;
}

.blog-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text);
  font-size: 14px;
}

.blog-search input {
  width: 100%;
  border: 1px solid rgba(0, 102, 214, 0.18);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 42px;
  font-size: 14px;
  font-family: "Manrope", sans-serif;
  color: var(--dark);
  outline: none;
  transition: 0.25s ease;
}

.blog-search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 102, 214, 0.1);
}

/* ============ FEATURED ============ */
.featured-blog {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(15, 63, 110, 0.12);
  border: 1px solid rgba(0, 102, 214, 0.08);
  transition: 0.35s ease;
}

.featured-blog:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(15, 63, 110, 0.18);
}

.featured-blog-img {
  position: relative;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
}

.featured-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.featured-blog:hover .featured-blog-img img {
  transform: scale(1.06);
}

.featured-blog-body {
  padding: 44px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-blog-body h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
  margin: 14px 0 16px;
  line-height: 1.25;
}

.featured-blog-body p {
  color: var(--text);
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.7;
}

.featured-blog-body .primary-btn {
  align-self: flex-start;
}

/* ============ BLOG TAG ============ */
.blog-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 102, 214, 0.3);
}

/* ============ META ============ */
.blog-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

.blog-meta i {
  color: var(--primary);
  margin-right: 6px;
}

/* ============ CARD ============ */
.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 102, 214, 0.08);
  box-shadow: 0 12px 34px rgba(15, 63, 110, 0.08);
  transition: 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 63, 110, 0.16);
  border-color: rgba(0, 102, 214, 0.2);
}

.blog-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.08);
}

.blog-card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card-body h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin: 4px 0 4px;
}

.blog-card-body p {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 8px;
  flex: 1;
}

.blog-read-more {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.25s ease;
}

.blog-read-more:hover {
  color: var(--teal);
  gap: 12px;
}

/* ============ EMPTY ============ */
.blog-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text);
}

.blog-empty i {
  font-size: 48px;
  color: var(--primary);
  margin-bottom: 16px;
  opacity: 0.6;
}

.blog-empty h4 {
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 6px;
}

/* ============ FILTER ANIMATION ============ */
.blog-item {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.blog-item.hidden {
  display: none;
}

/* ============ NEWSLETTER ============ */
.newsletter-section {
  padding-top: 40px;
}

.newsletter-card {
  background: linear-gradient(135deg, #0066d6 0%, #12a6a6 100%);
  color: #fff;
  border-radius: 28px;
  padding: 50px 48px;
  box-shadow: 0 30px 70px rgba(0, 102, 214, 0.28);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.newsletter-card .section-kicker {
  color: #d9f1ff;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}

.newsletter-card h2 {
  color: #fff;
}

.newsletter-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15.5px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.newsletter-form input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-family: "Manrope", sans-serif;
  color: var(--dark);
  background: transparent;
}

.newsletter-form .primary-btn {
  padding: 12px 22px;
  border-radius: 999px;
  white-space: nowrap;
}

.newsletter-note {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12.5px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .featured-blog-body {
    padding: 32px 26px;
  }
  .featured-blog-body h3 {
    font-size: 24px;
  }
  .featured-blog-img {
    min-height: 260px;
  }
  .newsletter-card {
    padding: 36px 26px;
  }
}

@media (max-width: 575px) {
  .blog-toolbar {
    padding: 18px;
  }
  .blog-search {
    max-width: 100%;
  }
  .newsletter-form {
    flex-direction: column;
    border-radius: 20px;
    padding: 10px;
  }
  .newsletter-form input {
    padding: 12px 14px;
  }
  .newsletter-form .primary-btn {
    width: 100%;
  }
}
.blog-hero{
padding:160px 0 70px;
background:#f7f9fc;
}

.blog-hero h1{
font-size:48px;
font-weight:700;
margin:20px 0;
line-height:1.2;
}

.blog-category{
display:inline-block;
background:#0d6efd;
color:#fff;
padding:6px 15px;
border-radius:30px;
font-size:14px;
}

.blog-meta{
display:flex;
gap:25px;
color:#666;
margin-top:20px;
flex-wrap:wrap;
}

.breadcrumb{
margin-bottom:20px;
color:#888;
}

.breadcrumb a{
text-decoration:none;
color:#666;
}

.blog-content{
padding:70px 0;
}

.blog-content .container{
max-width:850px;
}

.featured-image,
.content-image{
width:100%;
border-radius:16px;
margin:35px 0;
}

.blog-content p{
font-size:18px;
line-height:1.9;
color:#555;
margin-bottom:25px;
}

.blog-content h2{
margin-top:45px;
margin-bottom:20px;
font-size:34px;
}

.blog-content ul{
padding-left:22px;
}

.blog-content li{
margin-bottom:12px;
font-size:18px;
}

blockquote{
background:#f8f8f8;
padding:30px;
border-left:5px solid #0d6efd;
font-size:22px;
font-style:italic;
margin:40px 0;
border-radius:10px;
}

.blog-cta{
padding:80px 0;
background:#0d6efd;
color:#fff;
text-align:center;
}

.blog-cta h2{
font-size:42px;
margin-bottom:15px;
}

.blog-cta p{
font-size:18px;
margin-bottom:30px;
}

.btn-primary{
padding:16px 40px;
border:none;
border-radius:50px;
background:#fff;
color:#0d6efd;
font-weight:700;
cursor:pointer;
}

.related-blogs{
padding:80px 0;
}

.related-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
}

.related-card{
background:#fff;
border-radius:18px;
overflow:hidden;
text-decoration:none;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.3s;
color:#222;
}

.related-card:hover{
transform:translateY(-8px);
}

.related-card img{
width:100%;
height:220px;
object-fit:cover;
}

.related-card h3{
padding:20px;
font-size:22px;
}

@media(max-width:768px){

.blog-hero h1{
font-size:34px;
}

.blog-content h2{
font-size:28px;
}

.blog-content p,
.blog-content li{
font-size:16px;
}

.blog-meta{
gap:15px;
}

}

/* ===========================
      BLOG CTA
=========================== */

.blog-cta{
    padding:100px 0;
}

.cta-box{
    background:linear-gradient(135deg,#0b5ed7,#2f80ed);
    color:#fff;
    padding:70px;
    border-radius:30px;
    text-align:center;
    overflow:hidden;
    position:relative;
}

.cta-box::before{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    top:-120px;
    right:-100px;
}

.cta-tag{
    display:inline-block;
    background:rgba(255,255,255,.15);
    padding:8px 20px;
    border-radius:30px;
    margin-bottom:20px;
    font-size:15px;
}

.cta-box h2{
    font-size:44px;
    margin-bottom:20px;
}

.cta-box p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
    opacity:.95;
    font-size:17px;
}

.cta-buttons{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-outline{

    padding:16px 34px;
    border-radius:50px;
    text-decoration:none;
    font-weight:600;
    transition:.35s;

}

.btn-primary{

    background:#fff;
    color:#0b5ed7;
    border:none;
    cursor:pointer;

}

.btn-primary:hover{

    transform:translateY(-4px);

}

.btn-outline{

    border:2px solid #fff;
    color:#fff;

}

.btn-outline:hover{

    background:#fff;
    color:#0b5ed7;

}

/* ===========================
      SHARE SECTION
=========================== */

.blog-share{

    padding:60px 0;
    text-align:center;

}

.blog-share h3{

    margin-bottom:25px;
    font-size:28px;

}

.share-buttons{

    display:flex;
    justify-content:center;
    gap:18px;

}

.share-buttons a{

    width:52px;
    height:52px;
    border-radius:50%;
    background:#f4f4f4;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#333;
    text-decoration:none;
    font-size:20px;
    transition:.35s;

}

.share-buttons a:hover{

    background:#0b5ed7;
    color:#fff;
    transform:translateY(-5px);

}

/* ===========================
    PREVIOUS NEXT BLOG
=========================== */

.blog-navigation{

    padding:70px 0;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;

}

.nav-blog{

    display:flex;
    justify-content:space-between;
    gap:30px;

}

.prev-blog,
.next-blog{

    width:50%;

}

.prev-blog span,
.next-blog span{

    color:#888;
    display:block;
    margin-bottom:10px;
    font-size:14px;

}

.prev-blog a,
.next-blog a{

    text-decoration:none;
    color:#111;
    font-size:24px;
    font-weight:600;
    line-height:1.5;
    transition:.3s;

}

.prev-blog a:hover,
.next-blog a:hover{

    color:#0b5ed7;

}

.next-blog{

    text-align:right;

}

/* ===========================
      RELATED BLOGS
=========================== */

.related-blogs{

    padding:100px 0;
    background:#fafafa;

}

.section-title{

    text-align:center;
    margin-bottom:60px;

}

.section-title span{

    color:#0b5ed7;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;

}

.section-title h2{

    font-size:42px;
    margin:12px 0;

}

.section-title p{

    max-width:700px;
    margin:auto;
    color:#666;
    line-height:1.8;

}

.related-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;

}

.related-card{

    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.35s;

}

.related-card:hover{

    transform:translateY(-12px);

}

.related-card img{

    width:100%;
    height:240px;
    object-fit:cover;

}

.related-content{

    padding:28px;

}

.blog-date{

    color:#0b5ed7;
    font-size:14px;
    font-weight:600;

}

.related-content h3{

    margin:15px 0;
    font-size:26px;
    line-height:1.4;

}

.related-content p{

    color:#666;
    line-height:1.8;
    margin-bottom:25px;

}

.read-more{

    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#0b5ed7;
    text-decoration:none;
    font-weight:600;
    transition:.3s;

}

.read-more:hover{

    gap:16px;

}

/* ===========================
      RESPONSIVE
=========================== */

@media(max-width:991px){

.cta-box{

    padding:50px 35px;

}

.cta-box h2{

    font-size:34px;

}

.nav-blog{

    flex-direction:column;

}

.prev-blog,
.next-blog{

    width:100%;
    text-align:left;

}

}

@media(max-width:768px){

.blog-cta{

    padding:70px 0;

}

.cta-box{

    border-radius:20px;
    padding:40px 25px;

}

.cta-box h2{

    font-size:30px;

}

.cta-buttons{

    flex-direction:column;

}

.btn-primary,
.btn-outline{

    width:100%;
    text-align:center;

}

.section-title h2{

    font-size:32px;

}

.related-content h3{

    font-size:22px;

}

.share-buttons{

    flex-wrap:wrap;

}

}