/*
Theme Name: Logicspire Technologies
Theme URI: https://logicspiretech.com/
Author: Harsh
Author URI: http://localhost/wp2/
Description: Logic that inspires great products. Modern, high-performance WordPress theme for Product Engineering, Mobile Apps & Enterprise Cloud Solutions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trexa
Tags: agency, business, corporate, it-solutions, technology, portfolio, blog, full-width-template
*/

/* WordPress Core Alignment & Media Styles */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Fix any minor overflow or styling */
.main-menu ul li a {
    text-decoration: none;
}

/* ==========================================================================
   Header Quote Button Text Color & Hover Styling
   ========================================================================== */
.header-quote-btn,
.header__btn .rr-btn-border,
.header-right .rr-btn-border {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 6px 8px 6px 24px !important;
  border-radius: 500px !important;
  gap: 15px !important;
  text-decoration: none !important;
  transition: all 0.3s ease-in-out !important;
}

.header-quote-btn .text,
.header__btn .rr-btn-border .text,
.header-right .rr-btn-border .text {
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 26px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-family: var(--font_kanit, 'Kanit', sans-serif) !important;
  display: inline-block !important;
  transition: color 0.3s ease-in-out !important;
}

.header-quote-btn .icon,
.header__btn .rr-btn-border .icon,
.header-right .rr-btn-border .icon {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #ff4838 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  transition: all 0.3s ease-in-out !important;
  flex-shrink: 0 !important;
}

/* --- Dark Header Styling (Home Page: .header-3) --- */
.header-3 .header-quote-btn,
.header-3 .header__btn .rr-btn-border,
.header-3 .header-right .rr-btn-border {
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.header-3 .header-quote-btn .text,
.header-3 .header__btn .rr-btn-border .text,
.header-3 .header-right .rr-btn-border .text {
  color: #ffffff !important;
}

.header-3 .header-quote-btn:hover,
.header-3 .header__btn .rr-btn-border:hover,
.header-3 .header-right .rr-btn-border:hover {
  border-color: #b4ff00 !important;
  background: rgba(180, 255, 0, 0.12) !important;
}

.header-3 .header-quote-btn:hover .text,
.header-3 .header__btn .rr-btn-border:hover .text,
.header-3 .header-right .rr-btn-border:hover .text {
  color: #b4ff00 !important;
}

.header-3 .header-quote-btn:hover .icon,
.header-3 .header__btn .rr-btn-border:hover .icon,
.header-3 .header-right .rr-btn-border:hover .icon {
  transform: rotate(-45deg) !important;
  background: #b4ff00 !important;
  color: #101010 !important;
}

/* --- Light Header Styling (Inner Pages: About Us, Services, Contact, Blog, etc.) --- */
.header-area:not(.header-3) .header-quote-btn,
.header-area:not(.header-3) .header__btn .rr-btn-border,
.header-area:not(.header-3) .header-right .rr-btn-border {
  color: #101010 !important;
  border: 1px solid rgba(16, 16, 16, 0.2) !important;
  background: rgba(16, 16, 16, 0.02) !important;
}

.header-area:not(.header-3) .header-quote-btn .text,
.header-area:not(.header-3) .header__btn .rr-btn-border .text,
.header-area:not(.header-3) .header-right .rr-btn-border .text {
  color: #101010 !important;
}

.header-area:not(.header-3) .header-quote-btn:hover,
.header-area:not(.header-3) .header__btn .rr-btn-border:hover,
.header-area:not(.header-3) .header-right .rr-btn-border:hover {
  border-color: #ff4838 !important;
  background: rgba(255, 72, 56, 0.08) !important;
}

.header-area:not(.header-3) .header-quote-btn:hover .text,
.header-area:not(.header-3) .header__btn .rr-btn-border:hover .text,
.header-area:not(.header-3) .header-right .rr-btn-border:hover .text {
  color: #ff4838 !important;
}

.header-area:not(.header-3) .header-quote-btn:hover .icon,
.header-area:not(.header-3) .header__btn .rr-btn-border:hover .icon,
.header-area:not(.header-3) .header-right .rr-btn-border:hover .icon {
  transform: rotate(-45deg) !important;
  background: #ff4838 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   Contact Page Info Card Link Visibility
   ========================================================================== */
.contact-area__info-row .contact-info-card__text a,
.contact-card-link {
  color: #334155 !important;
  text-decoration: none !important;
  transition: color 0.25s ease-in-out !important;
}

.contact-area__info-row .contact-info-card__text a:hover,
.contact-card-link:hover {
  color: #ff4838 !important;
  text-decoration: underline !important;
}

/* Ensure longer service names fit cleanly on one line in nav dropdown */
.main-menu ul.dp-menu {
  width: 285px;
}

/* Fix hamburger toggle line spacing on light header */
.header-area .header-right .side-toggle .bar-icon {
  width: 28px;
  height: 18px;
}

.header-area .header-right .side-toggle .bar-icon span {
  height: 2px;
  background: var(--primary);
}

