/* Deep Forest & Gold Architecture Studio Theme */

:root {
  --primary-color: #1a472a;
  --secondary-color: #c9a961;
  --dark-forest: #0f2817;
  --light-forest: #2d5a3d;
  --gold-light: #e8d4a0;
  --gold-dark: #a88b4a;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --text-dark: #212529;
  --text-muted: #6c757d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
.display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary-color);
}

.lead, .fs-4 {
  color: var(--text-dark);
  line-height: 1.8;
}

/* Navigation */
.navbar {
  background-color: var(--primary-color) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(26, 71, 42, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(26, 71, 42, 0.2);
}

.navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: var(--gold-light) !important;
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--gold-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.2rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border-color: var(--secondary-color) !important;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.3) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c9a961' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-forest) 100%);
  position: relative;
  overflow: hidden;
}

.diagonal-split-container {
  min-height: 100vh;
  position: relative;
}

.hero-left {
  background: linear-gradient(135deg, rgba(26, 71, 42, 0.95) 0%, rgba(15, 40, 23, 0.95) 100%);
  padding: 8rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.hero-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a961' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: -1;
}

.hero-left .text-white {
  color: var(--white) !important;
}

.hero-left .display-4 {
  color: var(--secondary-color) !important;
  font-size: 3.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero-left .lead {
  color: var(--gold-light) !important;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1.2s ease;
}

.hero-right {
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(168, 139, 74, 0.1) 100%);
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
}

.hero-right::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
  animation: pulse 3s infinite;
}

/* Buttons */
.btn {
  border-radius: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-lg {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-color: var(--secondary-color) !important;
  padding: 1rem 3rem;
}

.btn-lg:hover {
  background-color: var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(201, 169, 97, 0.3);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
}

.btn-outline-secondary {
  color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

/* Services Section */
.services-section {
  background-color: var(--light-bg);
  padding: 5rem 0;
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--white), transparent);
}

.services-section .display-5 {
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
}

.services-section .lead {
  color: var(--text-muted) !important;
  max-width: 700px;
  margin: 0 auto;
}

.irregular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 1rem;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(26, 71, 42, 0.15) !important;
}

.service-card .bi {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .bi {
  transform: scale(1.1) rotate(5deg);
}

.service-card .h4 {
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Trust Indicators */
.trust-indicators {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-forest) 100%);
  padding: 4rem 0;
  margin: 4rem 0;
  position: relative;
}

.trust-indicators::before,
.trust-indicators::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M1200 120L0 16.48 0 0 1200 0 1200 120z' fill='%23f8f9fa'/%3E%3C/svg%3E");
}

.trust-indicators::before {
  top: 0;
}

.trust-indicators::after {
  bottom: 0;
  transform: rotate(180deg);
}

.trust-indicators .bi {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.trust-indicators h5 {
  color: var(--gold-light) !important;
  font-weight: 700;
}

.trust-indicators p {
  color: var(--white) !important;
  opacity: 0.9;
}

.counter-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color) !important;
  display: block;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 6rem;
  color: var(--secondary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26, 71, 42, 0.1) !important;
}

.testimonial-card img.rounded-circle {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
}

.testimonial-card h5 {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.testimonial-card .small {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

.testimonial-card p {
  color: var(--text-dark);
  font-style: italic;
  margin-top: 1rem;
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gold-dark) 100%);
  padding: 5rem 2rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .display-6 {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.cta-section p {
  color: var(--dark-forest) !important;
}

.cta-section .btn {
  background-color: var(--primary-color) !important;
  color: var(--gold-light) !important;
  border-color: var(--primary-color) !important;
}

.cta-section .btn:hover {
  background-color: var(--dark-forest) !important;
  border-color: var(--dark-forest) !important;
  color: var(--secondary-color) !important;
}

/* Team Cards */
.team-card {
  border: none !important;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  background: var(--white);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(26, 71, 42, 0.2) !important;
}

.team-card .card-img-top {
  height: 350px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.team-card:hover .card-img-top {
  transform: scale(1.1);
}

.team-card .card-body {
  padding: 1.5rem;
  background: var(--white);
}

.team-card .card-title {
  color: var(--primary-color) !important;
  font-weight: 700;
  font-size: 1.3rem;
}

.team-card .text-muted {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

.team-card .card-text {
  color: var(--text-dark);
  line-height: 1.7;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 71, 42, 0.9) 0%, transparent 100%);
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.team-card:hover .card-overlay {
  opacity: 1;
}

/* Case Study Cards */
.case-study-card {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s ease;
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(26, 71, 42, 0.2) !important;
}

.case-study-img {
  height: 300px;
  object-fit: cover;
  width: 100%;
  transition: all 0.4s ease;
}

.case-study-card:hover .case-study-img {
  transform: scale(1.1);
}

.case-study-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(26, 71, 42, 0.95) 0%, transparent 100%);
  padding: 2rem;
  color: var(--white);
  transform: translateY(50%);
  transition: all 0.4s ease;
}

.case-study-card:hover .case-study-overlay {
  transform: translateY(0);
}

.case-study-overlay h4 {
  color: var(--secondary-color) !important;
}

.case-study-overlay p {
  color: var(--gold-light) !important;
}

.badge {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.5rem 1rem;
  font-weight: 600;
}

/* Case Card Featured */
.case-card.featured {
  border: 3px solid var(--secondary-color);
  position: relative;
}

.case-card.featured::before {
  content: 'Featured';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  font-weight: 700;
  z-index: 2;
  font-size: 0.8rem;
}

/* Contact Section */
.contact-split-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.map-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-forest) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
}

.map-section::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c9a961' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.form-section {
  background: var(--white);
  padding: 3rem;
}

.contact-card {
  background: var(--light-bg);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(26, 71, 42, 0.1);
}

.contact-card .bi {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.contact-card h5 {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.contact-card p,
.contact-card a {
  color: var(--text-dark) !important;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--secondary-color) !important;
}

/* Contact Form */
.contact-form .form-floating {
  margin-bottom: 1.5rem;
}

.form-control,
.form-select {
  border: 2px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white) !important;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25) !important;
  background-color: var(--white) !important;
}

.form-floating > label {
  color: var(--text-muted) !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  color: var(--secondary-color) !important;
}

.form-check-input {
  border: 2px solid var(--text-muted);
  width: 1.5rem;
  height: 1.5rem;
}

.form-check-input:checked {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25) !important;
}

.form-check-label {
  color: var(--text-dark);
  margin-left: 0.5rem;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gold-dark) 100%);
  color: var(--primary-color) !important;
  border: none;
  box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(201, 169, 97, 0.6);
}

.pulse-indicator {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background-color: #dc3545;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* Privacy Header */
.privacy-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-forest) 100%);
  color: var(--white);
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.privacy-header h1 {
  color: var(--secondary-color) !important;
}

.privacy-header p {
  color: var(--gold-light) !important;
}

.version-badge {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  display: inline-block;
  margin-top: 1rem;
}

.print-btn {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--white) !important;
}

.print-btn:hover {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
}

/* Sidebar Navigation */
.sidebar-nav {
  position: sticky;
  top: 100px;
}

.sidebar-nav .nav {
  background: var(--light-bg);
  border-radius: 1rem;
  padding: 1.5rem;
}

.sidebar-nav .nav-link {
  color: var(--text-dark) !important;
  padding: 0.8rem 1.2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  border-left: 3px solid transparent;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  background: var(--primary-color) !important;
  color: var(--gold-light) !important;
  border-left-color: var(--secondary-color);
  transform: translateX(5px);
}

/* Accordion */
.accordion-item {
  border: 2px solid #dee2e6;
  border-radius: 0.5rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background-color: var(--light-bg) !important;
  color: var(--primary-color) !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.5rem;
  border: none;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color) !important;
  color: var(--secondary-color) !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25) !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(24%) sepia(18%) saturate(1892%) hue-rotate(98deg) brightness(91%) contrast(93%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(77%) sepia(11%) saturate(1329%) hue-rotate(359deg) brightness(91%) contrast(89%);
}

.accordion-body {
  padding: 2rem;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.8;
}

/* Tabs */
.nav-pills .nav-link {
  color: var(--text-dark) !important;
  background: var(--light-bg);
  border: 2px solid transparent;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  background: var(--primary-color) !important;
  color: var(--gold-light) !important;
  transform: translateY(-2px);
}

.nav-pills .nav-link.active {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-color: var(--secondary-color) !important;
}

.tab-content {
  padding: 2rem 0;
}

.tab-pane {
  animation: fadeIn 0.5s ease;
}

/* Filter Pills */
.filter-pill {
  background: var(--light-bg) !important;
  color: var(--text-dark) !important;
  border: 2px solid transparent !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 2rem !important;
  transition: all 0.3s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--primary-color) !important;
  color: var(--gold-light) !important;
  border-color: var(--secondary-color) !important;
}

/* Pagination */
.pagination {
  margin-top: 3rem;
}

.page-item {
  margin: 0 0.3rem;
}

.page-link {
  color: var(--primary-color) !important;
  background-color: var(--light-bg);
  border: 2px solid transparent;
  border-radius: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-link:hover {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-item.active .page-link {
  background-color: var(--primary-color) !important;
  color: var(--gold-light) !important;
  border-color: var(--primary-color);
}

.page-item.disabled .page-link {
  background-color: var(--light-bg);
  color: var(--text-muted) !important;
  opacity: 0.5;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-forest) 0%, var(--primary-color) 100%);
  color: var(--gold-light);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M1200 120L0 16.48 0 0 1200 0 1200 120z' fill='%23ffffff'/%3E%3C/svg%3E");
}

footer h5,
footer h6 {
  color: var(--secondary-color) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

footer p,
footer li,
footer a {
  color: var(--gold-light) !important;
}

footer a {
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: inline-block;
}

footer a:hover {
  color: var(--secondary-color) !important;
  transform: translateX(5px);
}

footer .list-unstyled li {
  padding: 0.5rem 0;
}

footer .bi {
  color: var(--secondary-color);
  margin-right: 0.5rem;
}

footer hr {
  border-color: var(--secondary-color);
  opacity: 0.3;
  margin: 2rem 0;
}

footer .border-top {
  border-color: var(--secondary-color) !important;
  opacity: 0.3;
}

/* Contact Box */
.contact-box {
  background: var(--light-bg);
  border-radius: 1rem;
  padding: 2rem;
  border: 2px solid #dee2e6;
  transition: all 0.3s ease;
}

.contact-box:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 5px 20px rgba(26, 71, 42, 0.1);
}

.contact-box .bi {
  font-size: 2rem;
  color: var(--secondary-color);
}

.contact-box h5 {
  color: var(--primary-color) !important;
}

/* Spinner */
.spinner-border {
  color: var(--secondary-color) !important;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.2em;
}

/* Background Utilities */
.bg-light {
  background-color: var(--light-bg) !important;
}

.bg-white {
  background-color: var(--white) !important;
}

/* Text Utilities */
.text-muted {
  color: var(--text-muted) !important;
}

.text-white {
  color: var(--white) !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

/* Border Utilities */
.border-secondary {
  border-color: var(--secondary-color) !important;
}

/* Shadow Utilities */
.shadow {
  box-shadow: 0 5px 15px rgba(26, 71, 42, 0.1) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(26, 71, 42, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 10px 30px rgba(26, 71, 42, 0.15) !important;
}

/* Opacity Utilities */
.opacity-25 {
  opacity: 0.25 !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-90 {
  opacity: 0.9 !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-left {
    clip-path: none;
  }
  
  .irregular-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-left {
    padding: 4rem 2rem;
  }
  
  .hero-left .display-4 {
    font-size: 2.5rem;
  }
  
  .contact-split-wrapper {
    grid-template-columns: 1fr;
  }
  
  .navbar-nav {
    background: var(--dark-forest);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem !important;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
  }
  
  .diagonal-split-container {
    flex-direction: column;
  }
  
  .hero-left,
  .hero-right {
    width: 100%;
    min-height: 50vh;
    position: relative;
  }
  
  .hero-left .display-4 {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 2rem !important;
  }
  
  .irregular-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    text-align: center !important;
  }
  
  .chat-widget {
    bottom: 1rem;
    right: 1rem;
  }
  
  .chat-button {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-left {
    padding: 3rem 1.5rem;
  }
  
  .hero-left .display-4 {
    font-size: 1.8rem;
  }
  
  .hero-left .lead {
    font-size: 1.1rem;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
  
  .service-card .bi {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .display-6 {
    font-size: 1.5rem;
  }
  
  .form-section,
  .map-section {
    padding: 2rem 1rem;
  }
}

/* Print Styles */
@media print {
  .no-print,
  .navbar,
  .chat-widget,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .container,
  .container-fluid {
    max-width: 100%;
  }
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

::-moz-selection {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 3px solid var(--light-bg);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}