/* Architectural Studio - Midnight Blue & Dark Gold Theme */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #1A365D;
  --secondary-color: #B8860B;
  --dark-blue: #0F1E33;
  --light-blue: #2A4A7D;
  --gold-light: #D4AF37;
  --gold-dark: #9A6E0A;
  --text-light: #F8F9FA;
  --text-dark: #212529;
  --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* ===== NAVBAR STYLES ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%) !important;
  padding: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  z-index: 1030;
}

.navbar.sticky-top {
  backdrop-filter: blur(10px);
}

.navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--gold-light) !important;
  transform: scale(1.05);
}

.navbar-brand.fw-bold {
  font-weight: 800 !important;
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 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='%23B8860B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav .nav-item {
  margin: 0 0.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

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

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 50%, var(--primary-color) 100%);
  min-height: 100vh;
  padding: 100px 0;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 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='%23B8860B' 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;
}

.hero-section .position-relative {
  z-index: 2;
}

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

.scales-icon {
  font-size: 5rem;
  color: var(--secondary-color) !important;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(184, 134, 11, 0.3));
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-section .display-3,
.display-3 {
  font-weight: 800;
  color: var(--text-light) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-section .lead,
.lead {
  color: var(--text-light) !important;
  opacity: 0.95;
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== BUTTON STYLES ===== */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gold-dark) 100%) !important;
  border: none !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--secondary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
  color: var(--text-light) !important;
}

.btn-outline-light {
  border: 2px solid var(--text-light) !important;
  color: var(--text-light) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--secondary-color) !important;
  color: var(--secondary-color) !important;
  background: transparent !important;
}

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

.btn-outline-secondary {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
}

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

.btn-secondary {
  background: var(--primary-color) !important;
  border: none !important;
  color: var(--text-light) !important;
}

.btn-secondary:hover {
  background: var(--light-blue) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem;
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonial-carousel {
  padding: 80px 0;
  background: linear-gradient(180deg, #F5F5F5 0%, #E8E8E8 100%);
}

.testimonial-card {
  background: white;
  border: 1px solid rgba(26, 54, 93, 0.1);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.testimonial-card:hover::before {
  opacity: 1;
}

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

.testimonial-card .bi-quote {
  color: var(--secondary-color) !important;
  font-size: 3rem;
  opacity: 0.3;
}

.testimonial-card .rounded-circle {
  border: 4px solid var(--secondary-color);
  width: 80px;
  height: 80px;
}

/* ===== SERVICE CARD STYLES ===== */
.service-card {
  background: white;
  border: 1px solid rgba(26, 54, 93, 0.1);
  transition: var(--transition);
  height: 100%;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(26, 54, 93, 0.2) !important;
  border-color: var(--secondary-color);
}

.service-card .bi {
  font-size: 3rem;
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card:hover .bi {
  transform: scale(1.2) rotate(5deg);
  color: var(--primary-color) !important;
}

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

.service-card p {
  color: var(--text-dark);
  opacity: 0.8;
}

/* ===== ICON STYLES ===== */
.bi-building,
.bi-arrow-repeat,
.bi-diagram-3,
.bi-file-earmark-text,
.bi-shield-check,
.bi-lightbulb,
.bi-check-circle-fill,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-file-text,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-clock-fill,
.bi-lightning-charge-fill,
.bi-arrow-right,
.bi-list-ul,
.bi-exclamation-triangle,
.bi-person-badge,
.bi-laptop,
.bi-briefcase,
.bi-chat-dots,
.bi-credit-card,
.bi-graph-up,
.bi-info-circle,
.bi-people,
.bi-bank,
.bi-scales,
.bi-arrow-left-right,
.bi-shield-lock,
.bi-lock-fill,
.bi-key-fill,
.bi-hdd-network-fill,
.bi-arrow-clockwise,
.bi-eye,
.bi-pencil,
.bi-x-circle,
.bi-question-circle,
.bi-cookie,
.bi-briefcase-fill,
.bi-search,
.bi-book,
.bi-bell,
.bi-calendar3,
.bi-file-earmark-pdf,
.bi-download,
.bi-megaphone {
  color: var(--secondary-color) !important;
}

/* ===== SECTION STYLES ===== */
section {
  padding: 80px 0;
}

.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

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

.display-4,
.display-5,
.display-6 {
  font-weight: 800;
  color: var(--primary-color) !important;
  margin-bottom: 2rem;
}

.text-muted {
  color: #6c757d !important;
}

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

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

.opacity-25 {
  opacity: 0.25 !important;
}

/* ===== TIMELINE STYLES ===== */
.timeline-container,
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
  transform: translateX(-50%);
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(26, 54, 93, 0.15) !important;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 0 3px var(--secondary-color);
}

.text-end .timeline-content::before {
  right: -60px;
}

.timeline-content:not(.text-end)::before {
  left: -60px;
}

/* ===== HEXAGON STYLES ===== */
.hexagon-grid,
.honeycomb-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hexagon-item,
.hexagon {
  width: 200px;
  height: 230px;
  position: relative;
  transition: var(--transition);
}

.hexagon-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hexagon-shape,
.hexagon-content {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  color: var(--text-light) !important;
  transition: var(--transition);
}

.hexagon:hover .hexagon-content,
.hexagon-item:hover .hexagon-shape {
  background: linear-gradient(135deg, var(--secondary-color), var(--gold-light));
  transform: scale(1.1);
}

.hexagon-bio {
  text-align: center;
  margin-top: 1rem;
  color: var(--primary-color) !important;
}

/* ===== MODAL STYLES ===== */
.modal-content {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
  border: none;
  border-radius: 15px;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: var(--text-light) !important;
}

.modal-title {
  color: var(--secondary-color) !important;
  font-weight: 700;
}

.modal-body {
  color: var(--text-light) !important;
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-close,
.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.btn-close:hover,
.btn-close-white:hover {
  opacity: 1;
}

/* ===== CARD STYLES ===== */
.card {
  border: 1px solid rgba(26, 54, 93, 0.1);
  border-radius: 12px;
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(26, 54, 93, 0.15) !important;
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--light-blue)) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  border: none !important;
}

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--text-dark);
  opacity: 0.9;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

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

/* ===== FORM STYLES ===== */
.form-control,
.form-select {
  border: 2px solid rgba(26, 54, 93, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  color: var(--text-dark) !important;
  background-color: white !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.25) !important;
  color: var(--text-dark) !important;
}

.form-control-lg,
.form-select-lg {
  padding: 1rem 1.5rem !important;
  font-size: 1.1rem;
}

.form-control::placeholder {
  color: #999 !important;
  opacity: 0.7;
}

.floating-label {
  position: relative;
}

.floating-label label {
  position: absolute;
  top: 0;
  left: 1rem;
  background: white;
  padding: 0 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  transform: translateY(-50%);
  font-size: 0.9rem;
}

.invalid-feedback {
  color: #dc3545 !important;
  font-weight: 600;
}

.validation-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.text-success {
  color: #28a745 !important;
}

.form-check-input {
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

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

.form-check-label {
  color: var(--text-dark);
  cursor: pointer;
}

/* ===== ALERT STYLES ===== */
.alert {
  border-radius: 12px;
  border: none;
  padding: 1.5rem;
  font-weight: 600;
}

.alert-success {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: white !important;
}

.alert-info {
  background: linear-gradient(135deg, var(--primary-color), var(--light-blue)) !important;
  color: white !important;
}

/* ===== ACCORDION STYLES ===== */
.accordion {
  --bs-accordion-border-color: rgba(26, 54, 93, 0.2);
}

.accordion-item {
  border: 1px solid rgba(26, 54, 93, 0.2) !important;
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
}

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

.accordion-button {
  background: linear-gradient(135deg, var(--primary-color), var(--light-blue)) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  border: none !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--secondary-color), var(--gold-light)) !important;
  color: var(--text-light) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(184, 134, 11, 0.25) !important;
  border: none !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem;
  background: white;
  color: var(--text-dark);
}

/* ===== LIST GROUP STYLES ===== */
.list-group-item {
  border: 1px solid rgba(26, 54, 93, 0.1);
  padding: 1rem 1.5rem;
  transition: var(--transition);
  cursor: pointer;
}

.list-group-item:hover {
  background: rgba(184, 134, 11, 0.1) !important;
  border-color: var(--secondary-color);
  transform: translateX(5px);
}

.list-group-item .bi {
  margin-right: 0.75rem;
}

.list-unstyled {
  list-style: none !important;
  padding-left: 0 !important;
}

/* ===== TABLE STYLES ===== */
.table-responsive {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(26, 54, 93, 0.1);
}

.table {
  margin-bottom: 0;
}

.table thead {
  background: linear-gradient(135deg, var(--primary-color), var(--light-blue)) !important;
  color: var(--text-light) !important;
}

.table thead th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1.25rem 1rem;
  border: none !important;
  color: var(--text-light) !important;
}

.table tbody tr {
  transition: var(--transition);
}

.table tbody tr:hover {
  background: rgba(184, 134, 11, 0.05);
  transform: scale(1.01);
}

.table-bordered {
  border: 1px solid rgba(26, 54, 93, 0.2) !important;
}

.table-bordered td,
.table-bordered th {
  border: 1px solid rgba(26, 54, 93, 0.1) !important;
}

/* ===== BADGE STYLES ===== */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 20px;
}

.badge.bg-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--light-blue)) !important;
}

.badge.bg-warning {
  background: linear-gradient(135deg, var(--secondary-color), var(--gold-light)) !important;
  color: var(--text-light) !important;
}

/* ===== INPUT GROUP STYLES ===== */
.input-group-text {
  background: linear-gradient(135deg, var(--primary-color), var(--light-blue)) !important;
  color: var(--text-light) !important;
  border: 2px solid var(--primary-color) !important;
  font-weight: 600;
}

.input-group .form-control:focus {
  z-index: 3;
}

.border-end-0 {
  border-right: 0 !important;
}

.border-start-0 {
  border-left: 0 !important;
}

/* ===== NAV PILLS STYLES ===== */
.nav-pills .nav-link {
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-pills .nav-link:hover {
  background: rgba(184, 134, 11, 0.1) !important;
  color: var(--secondary-color) !important;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--secondary-color), var(--gold-light)) !important;
  color: var(--text-light) !important;
}

/* ===== TAB CONTENT STYLES ===== */
.tab-content {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(26, 54, 93, 0.1);
}

.tab-pane {
  display: none;
}

.tab-pane.active,
.tab-pane.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

/* ===== FILTER CHIP STYLES ===== */
.filter-chip {
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
  transform: scale(1.05);
}

.rounded-pill {
  border-radius: 50rem !important;
}

/* ===== CASE STUDY STYLES ===== */
.case-study-item {
  transition: var(--transition);
  cursor: pointer;
}

.case-study-item.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(26, 54, 93, 0.2) !important;
}

/* ===== FOOTER STYLES ===== */
footer {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
  color: var(--text-light) !important;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

footer h5 {
  color: var(--secondary-color) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  color: var(--text-light) !important;
  transition: var(--transition);
  text-decoration: none !important;
}

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

footer .bi {
  color: var(--secondary-color) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ===== UTILITY CLASSES ===== */
.text-warning {
  color: var(--secondary-color) !important;
}

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

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

.object-fit-cover {
  object-fit: cover !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.border-4 {
  border-width: 4px !important;
}

.border-start {
  border-left: 1px solid rgba(26, 54, 93, 0.2) !important;
}

.mt-auto {
  margin-top: auto !important;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 60px 0;
  }
  
  .scales-icon {
    font-size: 3rem;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .timeline-content::before {
    left: -45px !important;
  }
  
  .text-end .timeline-content::before {
    left: -45px !important;
  }
  
  .hexagon-item,
  .hexagon {
    width: 150px;
    height: 170px;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 60px 0;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem;
  }
  
  .testimonial-card {
    padding: 2rem !important;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .card-img-top {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.35rem;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .btn-lg {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.95rem;
  }
  
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .hexagon-item,
  .hexagon {
    width: 120px;
    height: 140px;
  }
}

/* ===== ANIMATIONS ===== */
@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);
  }
}

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease;
}

.animate-slide-up {
  animation: slideInUp 0.8s ease;
}

.animate-zoom {
  animation: zoomIn 0.8s ease;
}

/* ===== SCROLL BEHAVIOR ===== */
html {
  scroll-behavior: smooth;
}

/* ===== SELECTION STYLES ===== */
::selection {
  background: var(--secondary-color);
  color: var(--text-light);
}

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

/* ===== SCROLLBAR STYLES ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--primary-color);
}

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

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

/* ===== LOADING SPINNER ===== */
.spinner-border {
  border-color: var(--secondary-color);
  border-right-color: transparent;
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* ===== SHADOW UTILITIES ===== */
.shadow {
  box-shadow: 0 5px 15px rgba(26, 54, 93, 0.1) !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(26, 54, 93, 0.08) !important;
}

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

/* ===== OVERFLOW UTILITIES ===== */
.overflow-hidden {
  overflow: hidden !important;
}

.overflow-auto {
  overflow: auto !important;
}

/* ===== POSITION UTILITIES ===== */
.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.sticky-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1020;
}

/* ===== SPACING UTILITIES ===== */
.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.gap-4 {
  gap: 1.5rem !important;
}

/* ===== BORDER UTILITIES ===== */
.border {
  border: 1px solid rgba(26, 54, 93, 0.2) !important;
}

.border-0 {
  border: 0 !important;
}

.border-bottom {
  border-bottom: 1px solid rgba(26, 54, 93, 0.2) !important;
}

.rounded {
  border-radius: 0.375rem !important;
}

.rounded-3 {
  border-radius: 0.5rem !important;
}

.rounded-4 {
  border-radius: 0.75rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer,
  .modal {
    display: none !important;
  }
  
  body {
    color: black !important;
    background: white !important;
  }
}