/*!
Theme Name: Brahma Academy
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: brahmaacademy
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Brahma Academy is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* =========================================================
   Brightline Bookkeeping: site styles (Bootstrap 5 based)
   ========================================================= */

:root {
  --navy: #042342;
  --navy-rgb: 4, 35, 66;
  --accent: #00B1EC;
  --accent-dark: #886500;
  --accent-hover: #078fc0;
  --text: #777777;
  --heading: #000000;
  --light: #f2f2f2;
  --border: #e5e5e5;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 400;
}

a { color: var(--navy); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn-accent {
  background: var(--accent);
  /*border: 1px solid var(--accent-dark);*/
  color: #fff;
  font-size: 15px;
  border-radius: 3px;
  padding: 12px 24px;
  line-height: 1;
  transition: background .2s ease;
}
.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-hover);
  /*border-color: var(--accent-dark);*/
  color: #fff;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: relative;
  background: url("./assets/images/header-bg.jpg") center / cover no-repeat;
  z-index: 10;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(var(--navy-rgb), .92) 0%, rgba(var(--navy-rgb), .75) 100%);
}
.site-header > * { position: relative; }

.topbar {
  background: rgba(var(--navy-rgb), .55);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  min-height: 50px;
  display: flex;
  align-items: center;

}
.topbar p{ margin-bottom: 0px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.topbar .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 4px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 11px;
}
.topbar .social a:hover { background: var(--accent); color: #fff; }

.main-nav { min-height: 102px; padding: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #fff !important;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.1;
}
.brand img{ max-width: 110px; width: 100%; }
.brand i { font-size: 30px; }

.main-nav .nav-link {
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 16px 18px !important;
  transition: background .2s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active,
.main-nav .nav-item.active > .nav-link {
  background: var(--accent);
}

.main-nav .dropdown-menu {
  border: 0;
  border-radius: 0;
  margin-top: 0;
  padding: 0;
  min-width: 230px;
  background: var(--navy);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}
.main-nav .dropdown-item {
  color: #fff;
  font-size: 13px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.main-nav .dropdown-item:hover,
.main-nav .dropdown-item.active {
  background: var(--accent);
  color: #fff;
}

@media (min-width: 992px) {
  /* Open the Services dropdown on hover (desktop) */
  .main-nav .dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 991.98px) {
  .main-nav { min-height: 80px; }
  .main-nav .navbar-collapse { padding-bottom: 12px; }
  .brand { font-size: 22px; }
  .brand i { font-size: 22px; }
}

/* =========================================================
   Home: hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 356px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
/*.footer-main{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}*/
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--navy-rgb), .35);
}
.hero .container { position: relative; }
.hero h1 {
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.hero p{ font-size: 16px; }
.hero .lead {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 22px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
/*.hero .btn-accent { font-size: 15px; padding: 12px 24px; }*/

/* =========================================================
   Home: services grid ("Areas of Expertise")
   ========================================================= */
.services {
  padding: 40px 0 50px;
  background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
  border-bottom: 1px solid #dcdcdc;
}
.section-title {
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Image tile with a navy caption bar */
.service-tile {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-tile .service-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  padding: 8px 10px;
  background: rgba(var(--navy-rgb), .75);
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  transition: background .3s ease;
}
.service-tile:hover img { transform: scale(1.06); }
.service-tile:hover .service-label { background: rgba(238, 176, 0, .9); }

/* =========================================================
   Content area (home + inner pages)
   ========================================================= */
.content { padding: 40px 0 60px; }

.content-title {
  font-size: 26px;
  line-height: 1.05;
  margin-bottom: 22px;
  font-weight: 600;
}
.content p { margin-bottom: 18px; line-height: 1.8; }

.home_content_sec ul, .service_sec_wrapper ul {
  padding-left: 18px;
  margin-bottom: 22px;
  color: #222;
  font-weight: 600;
  font-size: 14px;
}
.home_content_sec ul li, .service_sec_wrapper ul li { margin-bottom: 4px; }

/* Split callout: image left, navy text right */
.callout { background: #4d6280; color: #fff; }
.callout-media {
  min-height: 300px;
  /*background: url("../images/callout.jpg") center / cover no-repeat;*/
}
.callout-body {
  padding: 28px 30px;
  text-align: right;
  background: linear-gradient(135deg, #52698a 0%, #3f5573 100%);
}
.callout-body h3 {
  color: #fff;
  font-size: 25px;
  line-height: 25px;
  font-weight: 600;
  margin-bottom: 18px;
}
.callout-body p {
  color: #fff;
  font-size: 14px;
  line-height: 25px;
  margin-bottom: 18px;
}
.callout-body .btn-accent { font-size: 15px; padding: 12px 24px; }

/* Inner pages: main column with right divider */
.page-main { padding-right: 30px; }
@media (min-width: 992px) {
  .page-main { border-right: 1px solid #eee; }
}
.page-title {
  font-size: 44px;
  margin: 8px 0 20px;
}
.page-main h2 { font-size: 26px; margin: 26px 0 14px; }

/* =========================================================
   Sidebar
   ========================================================= */
.sidebar > * + * { margin-top: 30px; }

.side-cta {
  position: relative;
  padding: 40px 20px;
  text-align: center;
  overflow: hidden;
}
.side-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--navy-rgb), .72);
}
.side-cta > * { position: relative; }
.side-cta h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 18px;
}
/*.side-cta .btn-accent { font-size: 14px; padding: 12px 24px; }*/

/* Grey-caption image tiles in the sidebar */
.side-tile {
  position: relative;
  display: block;
  height: 199px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.side-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.side-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  padding: 8px 10px;
  background: rgba(80, 80, 80, .7);
  color: #fff;
  font-size: 19px;
  text-align: center;
}
.side-tile:hover img { transform: scale(1.06); }
.side-tile:hover span { background: var(--accent); }

/* Plain link buttons in the sidebar */
.side-links { list-style: none; padding: 0; margin-bottom: 0; margin-top: 30px; }
.side-links li + li { margin-top: 10px; }
.side-links a {
  display: block;
  padding: 10px 15px;
  border: 1px solid #ddd;
  background: linear-gradient(180deg, #fff 0%, #f4f4f4 100%);
  color: #000;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.side-links a:hover,
.side-links a.active {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: #fff;
}

/* =========================================================
   Testimonials
   ========================================================= */
.testimonial {
  background: var(--light);
  padding: 22px 20px 20px;
  margin: 0;
}
.testimonial + .testimonial { margin-top: 30px; }
.testimonial blockquote {
  font-style: italic;
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 14px;
}
.testimonial .stars { color: #f0ad4e; font-size: 12px; letter-spacing: 1px; padding-left: 10px; }
.testimonial .author { color: #222; font-size: 20px; padding-right: 4px; }

/* Wider testimonials on the Testimonials page */
.testimonial-lg { padding: 30px; }
.testimonial-lg blockquote { font-size: 15px; }

.testimonial p{ font-size: 16px; font-weight: 500; }

/* =========================================================
   About: team members
   ========================================================= */
.team-member { margin-bottom: 40px; }
.team-photo {
  width: 184px;
  height: 184px;
  flex-shrink: 0;
  object-fit: cover;
}
.team-name { font-size: 34px; margin-bottom: 14px; }
.team-role {
  text-transform: uppercase;
  font-size: 14px;
  color: var(--text);
  margin: 0;
}
.team-member p { line-height: 1.8; }

/* =========================================================
   News: post cards
   ========================================================= */
.post-card {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .15);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease;
}
.post-card:hover { box-shadow: 0 0 22px rgba(0, 0, 0, .22); }
.post-thumb { position: relative; display: block; }
.post-thumb img { width: 100%; height: 257px; object-fit: cover; display: block; }
.post-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
}
.post-avatar {
  position: absolute;
  left: 30px;
  bottom: -30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #dfe5ec;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.post-body { padding: 45px 30px 10px; flex: 1; }
.post-title { font-size: 21px; margin-bottom: 22px; }
.post-title a { color: #000; text-decoration: none; }
.post-title a:hover { color: var(--accent); }
.post-excerpt { font-size: 14px; line-height: 1.5; margin-bottom: 26px; }
.read-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  text-decoration: none;
}
.post-meta {
  border-top: 1px solid #eaeaea;
  padding: 14px 30px;
  font-size: 12px;
  color: #adadad;
  margin-top: 18px;
}

/* Single post */
.single-thumb { width: 100%; height: 380px; object-fit: cover; margin-bottom: 20px; }
.single-meta { font-size: 13px; color: #adadad; margin-bottom: 20px; }
.single-meta span + span::before { content: "•"; margin: 0 8px; }
.post-nav { border-top: 1px solid #eee; padding-top: 20px; margin-top: 30px; }

/* =========================================================
   Contact
   ========================================================= */
.map-wrap iframe {
  width: 100%;
  height: 300px;
  border: 0;
  filter: grayscale(.2);
}
.contact-form-title { font-size: 26px; margin: 30px 0 20px; }
.contact-form .form-label { color: #333; font-size: 14px; margin-bottom: 4px; }
.contact-form .form-control {
  border-radius: 3px;
  border-color: #c5c5c5;
  font-size: 14px;
  padding: 8px 12px;
}
.contact-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(238, 176, 0, .25);
}
.form-success { display: none; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  color: #fff;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--navy-rgb), .6);
}
.site-footer > * { position: relative; }

.footer-cta {
  padding: 40px 0 40px;
  background: rgba(var(--navy-rgb), .6);
}
.footer-cta h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
}
/*.footer-cta .btn-accent { font-size: 14px; padding: 10px 24px; }*/

.footer-main { padding: 40px 0 25px; }
.footer-main .address , .footer-main .email{
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}
.footer-main .email{ margin-bottom: 50px; }
.footer-main .email a{ text-decoration: none; color: #00B1EC !important;}
.footer-main .address a { color: #fff; text-decoration: none; }
.footer-main .address a:hover { color: var(--accent); }

/* Generic certification badges (swap for your own logos) */
.badges { margin-bottom: 40px; align-items: center; }
.badges .badge-card {
  width: 104px;
  height: 172px;
  border-radius: 8px;
  border: 3px solid #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}
.badges .badge-card i { font-size: 36px; }
.badges .b-red   { background: linear-gradient(180deg, #e05b3c, #c23020); }
.badges .b-blue  { background: linear-gradient(180deg, #3a9bdc, #135e9e); }
.badges .b-green { background: linear-gradient(180deg, #6cc04a, #2e8b2e); }
.badges .badge-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #1a9fc4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}
.badges .badge-circle i { font-size: 30px; }

.copyright { font-size: 12px; margin: 0; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 50;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { color: #fff; background: var(--accent-hover); }


.service-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  background: rgba(67, 76, 150, 0.92);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.service-content {
  text-align: center;
  max-width: 330px;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

.service-content p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
}

/* Learn more button */
.service-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #08aeea;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 2px;
  transition: background 0.3s ease;
}
.service-tile:hover > img {
  transform: scale(1.05);
}

.service-tile:hover::after {
  background: rgba(0, 0, 0, 0);
}
.service-btn:hover {
  background: #078fc0;
}
.service-tile:hover .service-overlay {
  opacity: 1;
  visibility: visible;
}

.service-tile:hover .service-content {
  transform: translateY(0);
}

/* Keep title visible over hover */
.service-tile:hover .service-label {
  opacity: 1;
}

/* Button hover */
.service-tile:hover .service-btn {
  text-decoration: none;
}
.service-tile:hover .service-label {
  opacity: 0;
  visibility: hidden;
}
.widget_sidebar_cta, .widget_sidebar_service_tile{ margin-top: 30px; }

.team-avatar {
  width: 184px;
  height: 184px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #52698a 0%, var(--navy) 100%);
  color: rgba(255, 255, 255, .85);
  font-size: 84px;
}

.contact_sec .forminator-row { margin-bottom: 20px !important; }

/* pagination */
.pagination-wrap {
    margin-top: 40px;
    text-align: center;
}

.pagination-wrap .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination-wrap .page-numbers li {
    display: inline-block;
}

.pagination-wrap .page-numbers a,
.pagination-wrap .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #ddd;
    text-decoration: none;
}

.pagination-wrap .page-numbers a:hover {
    background: #f5f5f5;
}

.pagination-wrap .page-numbers .current {
    background: #00B1EC;
    color: #fff;
    border-color: #1e3a8a;
}
.related-post-title{
  color: #000000;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  margin: 12px 0px 10px 0px;
}
.related-post a{
  text-decoration: none;
}
/*.related-posts{ margin-top: 50px; }*/
.related-post img{ height: 180px; }
.single-post-title{ margin: 20px 0 20px; }
.col-lg-4.sidebar{ padding-left: 20px; padding-right: 20px; }
.forminator-error-message{ color: red; padding: 0px 0px !important; }
.forminator-success{
    background: #f0fdf4;
    border: 1px solid #22c55e;
    color: #166534;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.5;
}

.contact-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e3a8a;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
}
.contact_add_sec{ padding-right: 60px; }
.office-day{ font-weight: 700; }
.footer-main .bi-envelope-fill::before{ margin-right: 5px; }
.bi-geo-alt-fill, .bi-envelope-fill, .bi-clock-fill{ color: var(--accent); }
.contact_sec .bi-geo-alt-fill, .contact_sec .bi-clock-fill{ margin-right: 10px; }

/* ---------- Small screens ---------- */
@media (max-width: 767px) {
  .topbar { font-size: 13px; }
  .hero h1 { font-size: 24px; }
  .hero .lead { font-size: 18px; }
  .page-main, .home_content_sec .col-lg-8 { padding-right: 20px; padding-left: 20px; }
  .home_full_content{ padding-left: 10px; padding-right: 10px; }
  .page-title { font-size: 34px; }
  .callout-body { text-align: left; }
  .team-member .d-flex { flex-direction: column; align-items: flex-start !important; }
  .team-name { font-size: 28px; margin-top: 14px; }
  .footer-cta h3 { font-size: 20px; }
  .footer-main .address, .footer-main .email { font-size: 16px; }
  .team-avatar { width: 140px; height: 140px; font-size: 64px; }
  .contact_add_sec{ padding-right: 0px; }
  .brand img{ max-width: 100px; }
}