/*========================================================================
TBR-AI: Strategic AI Advisors - A Division of TBR-LAB.COM
Production CSS - Built on TBR-LAB Foundation
========================================================================*/

@import url('https://fonts.googleapis.com/css?family=Sunflower:300,500,700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i');

/* TBR-AI Theme: AI Purple with TBR-LAB Structure */
:root {
  --ai-primary: #663ab6;
  --ai-accent: #8b5cf6;
  --ai-secondary: #374151;
  --tbr-white: #ffffff;
  --tbr-black: #111111;
  --tbr-gray-50: #f9fafb;
  --tbr-gray-200: #e5e7eb;
}

/* Base Styles - TBR-LAB Exact Match */
body {
  font-family: 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  color: var(--tbr-black);
  line-height: 1.6;
}

.font-alt {
  font-family: 'Sunflower', sans-serif;
}

.theme-color {
  color: var(--ai-primary);
}

.theme-bg {
  background: var(--ai-primary);
}

/* Loading Animation - TBR-LAB Match */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #fff;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.load-circle {
  width: 50px;
  height: 50px;
  border: 3px solid var(--tbr-gray-200);
  border-top: 3px solid var(--ai-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header - TBR-LAB Exact Structure */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.fixed-header {
  background: var(--tbr-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.navbar-brand img {
  max-width: 220px;
  height: auto;
}

.nav-link {
  color: var(--tbr-black) !important;
  font-weight: 600;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ai-primary) !important;
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler span {
  width: 25px;
  height: 3px;
  background: var(--tbr-black);
  display: block;
  margin: 5px 0;
  transition: 0.3s;
}

/* Home Banner - TBR-LAB Exact Layout */
.home-banner {
  min-height: 100vh;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-image: url('../images/feature-16-1600x1000.jpg');
  display: flex;
  align-items: center;
  position: relative;
}

.full-screen {
  min-height: 100vh;
}

.p-80px-tb {
  padding: 80px 0;
}

.m-50px-t {
  margin-top: 50px;
}

.home-text-center h1 {
  font-family: 'Sunflower', sans-serif;
  font-weight: 700;
  font-size: 55px;
  margin: 0;
  padding: 0 0 15px;
  color: var(--tbr-black);
  text-transform: uppercase;
}

.home-text-center p {
  width: 500px;
  max-width: 100%;
  font-weight: 400;
  font-size: 15px;
  padding: 0 0 30px;
  margin: 0;
  line-height: 1.6;
  color: var(--tbr-black);
}

/* Buttons - TBR-LAB Exact Style */
.btn-bar {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.m-btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  margin: 5px 10px;
}

.m-btn-white {
  background: transparent;
  color: var(--ai-primary);
  border-color: var(--ai-primary);
}

.m-btn-white:hover {
  background: var(--ai-primary);
  color: var(--tbr-white);
  text-decoration: none;
}

.m-btn-dark {
  background: var(--ai-primary);
  color: var(--tbr-white);
  border-color: var(--ai-primary);
}

.m-btn-dark:hover {
  background: transparent;
  color: var(--ai-primary);
  border-color: var(--ai-primary);
  text-decoration: none;
}

/* Sections - TBR-LAB Exact Spacing */
.section {
  padding: 60px 0;
}

.gray-bg {
  background: #f7f7f7;
}

.m-60px-b {
  margin-bottom: 60px;
}

.md-m-25px-b {
  margin-bottom: 25px;
}

/* Section Title - TBR-LAB Exact */
.section-title {
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: 'Sunflower', sans-serif;
  margin: 0;
  padding: 0 0 15px;
  font-weight: 600;
  font-size: 35px;
  color: var(--tbr-black);
  text-align: center;
}

.section-title p {
  font-size: 16px;
  color: #666;
  text-align: center;
  line-height: 1.6;
}

/* Feature Boxes - TBR-LAB Exact Structure */
.feature-box-row {
  margin-top: 40px;
}

.feature-box-01 {
  text-align: center;
  padding: 30px 20px;
  margin-bottom: 30px;
}

.feature-box-01 .icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tbr-white);
}

.feature-box-01 h5 {
  font-family: 'Sunflower', sans-serif;
  font-size: 16px;
  color: var(--tbr-black);
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-box-01 p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Services Section - TBR-LAB Exact */
.services-section {
  background-color: #e6e7e8;
}

.m-45px-b {
  margin-bottom: 45px;
}

.feature-box-02 {
  text-align: center;
  padding: 40px 30px;
  margin-bottom: 30px;
  background: var(--tbr-white);
  border: 1px solid var(--tbr-gray-200);
  transition: all 0.3s ease;
}

.feature-box-02:hover {
  border-color: var(--ai-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(102, 58, 182, 0.15);
}

.feature-box-02 i {
  margin-bottom: 20px;
}

.feature-box-02 h5 {
  font-family: 'Sunflower', sans-serif;
  color: var(--tbr-black);
  font-size: 18px;
  margin: 0;
  padding: 0 0 15px;
  font-weight: 700;
}

.feature-box-02 p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Contact Section - TBR-LAB Exact Structure */
.contact-section {
  background: #ffffff;
  padding: 60px 0 0;
}

.contact-us-box {
  background: var(--tbr-white);
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-top: -150px;
  position: relative;
  z-index: 10;
}

.contact-info-box {
  background: var(--ai-primary);
  color: var(--tbr-white);
  padding: 40px 4% 40px 4%;
  height: 100%;
}

.contact-info-box h2 {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  color: var(--tbr-white);
  margin: 0 0 20px 0;
}

.contact-info {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-info .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* Form Styling - TBR-LAB Exact */
.form-control {
  border: 1px solid var(--tbr-gray-200);
  padding: 12px 15px;
  margin-bottom: 20px;
  border-radius: 0;
}

.form-control:focus {
  border-color: var(--ai-primary);
  box-shadow: 0 0 0 0.2rem rgba(102, 58, 182, 0.25);
}

.btn-success {
  background: var(--ai-primary);
  border-color: var(--ai-primary);
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
}

.btn-success:hover {
  background: var(--ai-accent);
  border-color: var(--ai-accent);
}

/* Footer - TBR-LAB Exact */
.footer {
  background: var(--tbr-black);
  color: var(--tbr-white);
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 220px;
}

.social-icons {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  color: var(--tbr-white);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--ai-primary);
}

.copyright {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

/* Responsive - TBR-LAB Exact Breakpoints */
@media (max-width: 991px) {
  .home-text-center h1 {
    font-size: 55px;
  }
}

@media (max-width: 768px) {
  .home-banner {
    background-image: none;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 25px 0;
  }

  .home-text-center h1 {
    font-size: 30px;
    padding: 0 0 20px;
  }

  .section-title h2 {
    font-size: 25px;
  }

  .contact-us-box {
    margin-top: 0;
  }

  .md-m-25px-b {
    margin-bottom: 25px;
  }

  .btn-bar {
    flex-direction: column;
    align-items: center;
  }
}