html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ============================================
   BHARDWAJ GLOBAL TECHNOLOGIES — Header Custom
   ============================================ */

/* -- Logo: default show white, hide colored -- */
.tc-header-logo .logo-colored {
    display: none;
}
.tc-header-logo .logo-white {
    display: block;
}

/* -- On scroll: sticky header gets white background -- */
.header-sticky {
    background: #ffffff !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* -- On scroll: swap logo — hide white, show colored -- */
.header-sticky .tc-header-logo .logo-white {
    display: none;
}
.header-sticky .tc-header-logo .logo-colored {
    display: block;
}

/* -- On scroll: nav links turn dark/black -- */
.header-sticky .tc-header-menu ul li a {
    color: #1a1a1a !important;
}
.header-sticky .tc-header-menu ul li a:hover {
    color: #FF3B00 !important;
}

/* -- On scroll: search icon + hamburger turn dark -- */
.header-sticky .tc-header-action-btn,
.header-sticky .tc-header-toogle {
    color: #1a1a1a !important;
}
.header-sticky .tc-header-action-btn:hover,
.header-sticky .tc-header-toogle:hover {
    color: #FF3B00 !important;
}

/* -- On scroll: dropdown arrow turns dark -- */
.header-sticky .tc-header-menu ul li.has-dropdown > a::after,
.header-sticky .tc-header-menu ul li.menu-item-has-children > a::after {
    border-color: #1a1a1a !important;
}

/* ============================================
   HEADER — Logo left, Nav center, Actions right
   ============================================ */

/* 3-column grid: logo | nav (center) | actions */
.tc-header-row {
    display: grid !important;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    width: 100%;
}

.tc-header-logo-box {
    grid-column: 1;
    z-index: 2;
}

.tc-header-content {
    grid-column: 2 / 4;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

/* Nav sits in the center of the full row */
.tc-header-menu {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    white-space: nowrap;
}

/* Right actions stay pushed right */
.tc-header-right {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* ============================================
   SECTION PADDING FIXES
   ============================================ */

/* Ensure all main sections have consistent vertical breathing room */
.tc-testimonial-area.tc-testimonial-3 {
    padding-top: 100px;
}

/* ============================================
   BLOG CARDS — proper card styling
   ============================================ */
.tc-blog-style .tc-blog-item {
    background: #ffffff;
    border: 1px solid rgba(18,16,24,0.08);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tc-blog-style .tc-blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(18,16,24,0.08);
}
.tc-blog-style .tc-blog-thumb.tc-event-img {
    position: relative;
    overflow: hidden;
}
.tc-blog-style .tc-blog-thumb.tc-event-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}
.tc-blog-style .tc-blog-item:hover .tc-blog-thumb.tc-event-img img {
    transform: scale(1.05);
}
.tc-blog-style .tc-blog-thumb .tc-blog-cat {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}
.tc-blog-style .tc-blog-thumb .tc-blog-cat a {
    background: #073d30;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: background 0.3s;
}
.tc-blog-style .tc-blog-thumb .tc-blog-cat a:hover {
    background: var(--tc-accent-color);
}
.tc-blog-style .tc-blog-content {
    padding: 28px 28px 32px;
}
.tc-blog-style .tc-blog-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 14px;
}
.tc-blog-style .tc-blog-meta i {
    color: var(--tc-accent-color);
    margin-right: 4px;
}
.tc-blog-style .tc-blog-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #142324;
    font-family: var(--tc-font-heading);
}
.tc-blog-style .tc-blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.tc-blog-style .tc-blog-title a:hover {
    color: var(--tc-accent-color);
}
.tc-blog-style .tc-blog-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ============================================
   PROJECT CARDS — OurWork page
   ============================================ */
.tc-project-area.tc-project-1 .tc-project-item {
    background: #ffffff;
    border: 1px solid rgba(18,16,24,0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
}
.tc-project-area.tc-project-1 .tc-project-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(18,16,24,0.1);
}
.tc-project-area.tc-project-1 .tc-project-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}
.tc-project-area.tc-project-1 .tc-project-item:hover .tc-project-thumb img {
    transform: scale(1.05);
}
.tc-project-area.tc-project-1 .tc-project-content {
    padding: 24px 28px 28px;
}
.tc-project-area.tc-project-1 .tc-project-title {
    font-size: 18px;
    font-weight: 700;
    color: #142324;
    font-family: var(--tc-font-heading);
    margin-bottom: 0;
}

/* ============================================
   SOLUTIONS / SERVICES — service card fixes
   ============================================ */
.tc-service-area.tc-service .tc-service-card {
    border-radius: 16px;
    overflow: hidden;
}
/* Remove p-30 utility fallback */
.p-30 { padding: 30px; }

/* ============================================
   LEGAL PAGES — Privacy Policy & Terms
   ============================================ */

.tc-legal-doc {
    font-size: 16px;
    line-height: 1.75;
    color: #3c3a3a;
}

.tc-legal-heading {
    font-family: var(--tc-font-heading);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    color: #142324;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(7,61,48,0.12);
}

.tc-legal-subheading {
    font-size: 17px;
    font-weight: 700;
    color: #142324;
}

.tc-legal-block {
    padding-bottom: 10px;
}

.tc-legal-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.tc-legal-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.65;
}

.tc-legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tc-accent-color);
    flex-shrink: 0;
}

.tc-legal-doc p {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.75;
}

.tc-legal-doc a {
    color: var(--tc-primary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.tc-legal-doc a:hover {
    color: var(--tc-accent-color);
}

/* ============================================
   FOOTER — Social Icons Color Fix
   ============================================ */
.tc-footer-social a {
    color: #142324 !important;
}
.tc-footer-social a:hover {
    color: #ffffff !important;
}

/* ============================================
   WHATSAPP FLOATING BUTTON — Enhanced
   ============================================ */
.bgt-whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
/* Pulse ring */
.bgt-whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: bgt-wa-pulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes bgt-wa-pulse {
    0%   { transform: scale(1);   opacity: 0.8; }
    100% { transform: scale(2);   opacity: 0; }
}
.bgt-whatsapp-float:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}
/* Tooltip */
.bgt-whatsapp-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: #142324;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.bgt-whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #142324;
}
.bgt-whatsapp-float:hover .bgt-whatsapp-tooltip {
    opacity: 1;
}
