
/* =========================================
   ROOT
========================================= */

:root {
    --primary: #1e5aa8;
    --secondary: #198754;
    --dark: #0b2b4a;
    --light-bg: #f7f9fc;
}


/* =========================================
   GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Manrope", sans-serif;
    background: #ffffff;
    color: #5d6875;
    line-height: 1.7;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5eaf0;
    padding: 17px 6%;
}

.navbar-brand {
    font-size: 23px;
    font-weight: 800;
    color: var(--dark);
}

.navbar-brand span {
    color: var(--primary);
}

.nav-link {
    color: var(--dark) !important;
    font-size: 14px;
    font-weight: 600;
    margin-left: 25px;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}


/* =========================================
   PAGE TITLE
========================================= */

.page-title {
    padding: 70px 7% 55px;
    background: var(--light-bg);
    border-bottom: 1px solid #e5eaf0;
}

.page-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: #e7f0fb;
    color: var(--primary);

    padding: 7px 15px;
    border-radius: 50px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.5px;

    margin-bottom: 18px;
}

.page-title h1 {
    color: var(--dark);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-title h1 span {
    color: var(--primary);
}

.page-title p {
    max-width: 800px;
    font-size: 16px;
    color: #66717d;
    margin-bottom: 0;
}


/* =========================================
   BLOG SECTION
========================================= */

.blog-section {
    padding: 75px 7%;
}


/* =========================================
   SECTION TOP
========================================= */

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 35px;
}

.section-top h2 {
    color: var(--dark);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 5px;
}

.section-top p {
    margin: 0;
    font-size: 14px;
}


/* =========================================
   FEATURED BLOG
========================================= */

.featured-blog {
    background: var(--light-bg);
    border: 1px solid #e3e9f0;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 55px;
}

.featured-image {
    min-height: 330px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}

.featured-content {
    padding: 40px;
}

.featured-label {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.featured-content h2 {
    color: var(--dark);
    font-size: 31px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.featured-content p {
    font-size: 15px;
    margin-bottom: 23px;
}


/* =========================================
   SEARCH AREA
========================================= */

.blog-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.blog-count {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.search-box {
    position: relative;
    max-width: 350px;
    width: 100%;
}

.search-box input {
    width: 100%;

    border: 1px solid #dce3eb;
    border-radius: 50px;

    padding: 12px 18px 12px 45px;

    outline: none;

    font-size: 14px;

    transition: 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 90, 168, 0.08);
}

.search-box i {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--primary);
}


/* =========================================
   BLOG CARD
========================================= */

.blog-card {
    height: 100%;

    background: #ffffff;

    border: 1px solid #e3e8ee;

    border-radius: 17px;

    overflow: hidden;

    transition: 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-7px);

    border-color: #cbd9e8;

    box-shadow:
        0 18px 45px rgba(11, 43, 74, 0.10);
}


/* =========================================
   BLOG IMAGE
========================================= */

.blog-image {
    height: 220px;

    position: relative;

    overflow: hidden;

    background: #e8f0fa;
}

.blog-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}


/* =========================================
   CATEGORY
========================================= */

.blog-category {
    position: absolute;

    top: 16px;
    left: 16px;

    background: rgba(255,255,255,0.95);

    color: var(--primary);

    padding: 6px 12px;

    border-radius: 50px;

    font-size: 11px;

    font-weight: 800;
}


/* =========================================
   BLOG BODY
========================================= */

.blog-body {
    padding: 25px;
}

.blog-date {
    color: var(--secondary);

    font-size: 12px;

    font-weight: 700;

    margin-bottom: 9px;
}

.blog-body h3 {
    color: var(--dark);

    font-size: 20px;

    line-height: 1.4;

    font-weight: 800;

    margin-bottom: 12px;
}

.blog-body p {
    color: #66717d;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 20px;
}


/* =========================================
   READ MORE
========================================= */

.read-more {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--primary);

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    transition: 0.3s;
}

.read-more i {
    transition: 0.3s;
}

.read-more:hover {
    color: var(--secondary);
}

.read-more:hover i {
    transform: translateX(5px);
}


/* =========================================
   CTA
========================================= */

.cta {
    background: var(--dark);

    padding: 65px 7%;

    text-align: center;
}

.cta h2 {
    color: #ffffff;

    font-size: 32px;

    font-weight: 800;

    margin-bottom: 12px;
}

.cta p {
    max-width: 700px;

    margin: auto;

    color: #c9d5df;

    font-size: 15px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 768px) {

    .navbar {
        padding: 15px 5%;
    }

    .nav-link {
        margin-left: 0;
    }

    .page-title {
        padding: 55px 6% 45px;
    }

    .blog-section {
        padding: 55px 6%;
    }

    .section-top {
        display: block;
    }

    .section-top h2 {
        font-size: 27px;
    }

    .blog-tools {
        display: block;
    }

    .search-box {
        max-width: 100%;
        margin-top: 15px;
    }

    .featured-content {
        padding: 28px;
    }

    .featured-content h2 {
        font-size: 25px;
    }

    .cta {
        padding: 50px 6%;
    }

    .cta h2 {
        font-size: 27px;
    }

}
/* ===================================================== FOOTER ===================================================== */
.site-footer {
    position: relative;
    background:
        linear-gradient(
            135deg,
            #eaf3fb 0%,
            #f7f9fc 45%,
            #edf8f2 100%
        );

    border-top: 4px solid var(--primary);

    padding: 42px 0 18px !important;
    overflow: hidden;
}
/* Decorative background */
.site-footer::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  top: -160px;
  right: 8%;
  background: rgba(30, 90, 168, 0.06);
  border-radius: 50%;
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  bottom: -130px;
  left: 5%;
  background: rgba(25, 135, 84, 0.06);
  border-radius: 50%;
  pointer-events: none;
} /* ===================================================== CONTENT ===================================================== */
.site-footer .col-lg-3 {
  position: relative;
  z-index: 2;
} /* ===================================================== FOOTER TITLES ===================================================== */
.footer-title {
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 18px;
  padding-bottom: 8px;
} /* Gradient underline */
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px; 
  width: 45px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 20px;
} /* ===================================================== FOOTER TEXT ===================================================== */
.footer-text {
  font-family: "Poppins", sans-serif;
 font-size: 13px; line-height: 1.7; 
 margin-bottom: 9px;
  color: #667580;

}
.footer-text strong {
  color: var(--dark);
  font-weight: 600;
} /* Address */
.site-footer address {
  font-style: normal;
  line-height: 1.9;
} /* ===================================================== QUICK LINKS ===================================================== */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  position: relative;
  margin-bottom: 11px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #667580;
  line-height: 1.7;
} /* Link */
.footer-links a {
  display: inline-flex;
  align-items: center;
  color: #667580;
  text-decoration: none;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
} /* Arrow */
.footer-links a::before {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  background: rgba(30, 90, 168, 0.08);
  color: var(--primary);
  border-radius: 50%;
  font-size: 11px;
  transition: all 0.3s ease;
} /* Hover */
.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}
.footer-links a:hover::before {
  background: var(--primary);
  color: #ffffff;
  transform: translateX(2px);
} /* ===================================================== SERVICE ITEMS ===================================================== */
.footer-links li:not(:has(a)) {
  color: #667580;
}
.footer-links li:not(:has(a))::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--secondary);
  border-radius: 50%;
} /* ===================================================== CONTACT LINKS ===================================================== */
.footer-text a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-text a:hover {
  color: var(--secondary);
  text-decoration: underline;
} /* ===================================================== SOCIAL MEDIA ===================================================== */
.footer-social {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
} /* Social icons */
.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(30, 90, 168, 0.14);
  border-radius: 50%;
  color: var(--primary);
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(11, 43, 74, 0.08);
  transition: all 0.3s ease;
} /* Instagram */
.footer-social a:nth-child(2) {
  color: var(--secondary);
} /* LinkedIn */
.footer-social a:nth-child(3) {
  color: var(--primary);
} /* Social hover */
.footer-social a:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(30, 90, 168, 0.2);
} /* ===================================================== DIVIDER ===================================================== */
.footer-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30, 90, 168, 0.2),
    rgba(25, 135, 84, 0.2),
    transparent
  );
  margin: 48px 0 25px;
  opacity: 1;
} /* ===================================================== FOOTER BOTTOM ===================================================== */
.footer-bottom {
  position: relative;
  z-index: 2;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #7a8791;
}
.footer-bottom p {
  margin-bottom: 4px;
} /* Copyright */
.footer-bottom p:first-child {
  color: var(--dark);
  font-weight: 500;
} /* SEO line */
.footer-bottom p:nth-child(2) {
  color: var(--primary);
  font-weight: 500;
} /* Website credit */
.footer-bottom p:last-child {
  color: #7a8791;
} /* ===================================================== RESPONSIVE ===================================================== */
@media (max-width: 991px) {
  .site-footer {
    padding-top: 55px !important;
  }
  .footer-title {
    margin-bottom: 20px;
  }
}
@media (max-width: 767px) {
  .site-footer {
    padding-top: 50px !important;
  }
  .footer-title {
    font-size: 17px;
  }
  .footer-text,
  .footer-links li {
    font-size: 13.5px;
  }
  .footer-divider {
    margin: 35px 0 22px;
  }
  .footer-bottom {
    font-size: 12px;
  }
}
@media (max-width: 575px) {
  .site-footer {
    padding-left: 8px;
    padding-right: 8px;
  }
  .footer-social {
    margin-top: 18px;
  }
  .footer-social a {
    width: 39px;
    height: 39px;
  }
  .footer-title::after {
    width: 42px;
  }
}