/* Architecture Studio Theme - Professional Blue & Amber */

:root {
  --primary-color: #1565C0;
  --secondary-color: #FFA726;
  --primary-dark: #0D47A1;
  --primary-light: #1976D2;
  --secondary-dark: #F57C00;
  --secondary-light: #FFB74D;
  --text-dark: #212529;
  --text-light: #6c757d;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

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

/* Text Utilities */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

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

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

/* Navigation Bar */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  z-index: 1030;
}

.navbar-dark .navbar-brand {
  color: var(--white) !important;
  font-weight: 700;
  font-size: 1.75rem;
  transition: var(--transition);
}

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

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
}

.navbar-dark .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-dark .nav-link:hover,
.navbar-dark .nav-link.active {
  color: var(--secondary-color) !important;
}

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

.navbar-toggler {
  border-color: var(--white) !important;
  color: var(--white) !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

/* Buttons */
.btn {
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-warning {
  background: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  border-color: var(--secondary-color) !important;
}

.btn-warning:hover {
  background: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-light {
  color: var(--white) !important;
  border-color: var(--white) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: var(--white) !important;
  color: var(--primary-color) !important;
  border-color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-secondary {
  color: var(--text-dark) !important;
  border-color: var(--text-light) !important;
  background: transparent !important;
}

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

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

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

.btn-link {
  color: var(--primary-color) !important;
  text-decoration: none !important;
}

.btn-link:hover {
  color: var(--primary-dark) !important;
  text-decoration: underline !important;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

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

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

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.85) 0%, rgba(21, 101, 192, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}

.hero-content .display-2 {
  font-weight: 700;
  color: var(--white) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content .fs-3 {
  color: var(--white) !important;
  animation: fadeInUp 1.2s ease-out;
}

.hero-content .fs-5 {
  color: rgba(255, 255, 255, 0.9) !important;
  animation: fadeInUp 1.4s ease-out;
}

/* Trust Badges */
.trust-badges {
  animation: fadeInUp 1.6s ease-out;
}

.badge-card {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white) !important;
  transition: var(--transition);
}

.badge-card:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-5px);
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white) !important;
  text-decoration: none !important;
  transition: var(--transition);
}

.scroll-indicator:hover {
  color: var(--secondary-color) !important;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Badges */
.badge {
  background: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 1rem;
  transition: var(--transition);
  border: 1px solid #e9ecef;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-card .bi {
  color: var(--primary-color);
  font-size: 2.5rem;
  transition: var(--transition);
}

.service-card:hover .bi {
  color: var(--secondary-color);
  transform: scale(1.1);
}

.service-card h4,
.service-card .h4 {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light) !important;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #e9ecef;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.testimonial-card .bi-star-fill {
  color: var(--secondary-color) !important;
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* Timeline */
.timeline-line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.3;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  font-weight: 700;
  box-shadow: 0 0 0 8px rgba(21, 101, 192, 0.1);
  margin: 0 auto;
}

.timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

/* Cards */
.card {
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.card-header {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  font-weight: 700;
  border-bottom: none;
}

.card-body {
  padding: 1.5rem;
}

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

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

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

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

/* Forms */
.form-label {
  font-weight: 600;
  color: var(--text-dark) !important;
  margin-bottom: 0.5rem;
}

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

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.25);
  outline: none;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #e9ecef;
  transition: var(--transition);
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(21, 101, 192, 0.25);
}

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

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e9ecef;
  color: var(--text-light) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.step-circle.active {
  background: var(--primary-color);
  color: var(--white) !important;
}

.step-circle.completed {
  background: var(--secondary-color);
  color: var(--text-dark) !important;
}

/* Alerts */
.alert {
  border-radius: 0.5rem;
  border: none;
  padding: 1rem 1.5rem;
}

.alert-danger {
  background: #f8d7da !important;
  color: #721c24 !important;
}

.alert-info {
  background: #d1ecf1 !important;
  color: #0c5460 !important;
}

/* List Group */
.list-group-item {
  border: 1px solid #e9ecef;
  transition: var(--transition);
  color: var(--text-dark) !important;
}

.list-group-item-action:hover {
  background: var(--light-bg);
  color: var(--primary-color) !important;
  border-color: var(--primary-color);
}

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

.accordion-button {
  background: var(--white) !important;
  color: var(--text-dark) !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color) !important;
  color: var(--white) !important;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

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

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

/* Nav Pills */
.nav-pills .nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  background: var(--light-bg);
}

.nav-pills .nav-link:hover {
  background: var(--primary-light);
  color: var(--white) !important;
}

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

/* Carousel */
.carousel-item {
  transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 1.5rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--white) !important;
}

footer h4,
footer .h4 {
  color: var(--white) !important;
  font-weight: 700;
}

footer p,
footer li,
footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}

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

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

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

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

.bg-secondary {
  background-color: var(--text-light) !important;
}

/* Shadow Utilities */
.shadow {
  box-shadow: var(--shadow) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Border Utilities */
.border {
  border: 1px solid #e9ecef !important;
}

.border-top {
  border-top: 1px solid #e9ecef !important;
}

.border-bottom {
  border-bottom: 1px solid #e9ecef !important;
}

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

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

/* Ratio */
.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio-4x3 {
  --bs-aspect-ratio: 75%;
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Sticky Top */
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

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

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

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

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Hover Effects */
.learn-more-text {
  color: var(--primary-color) !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: var(--transition);
}

.learn-more-text:hover {
  color: var(--secondary-color) !important;
  text-decoration: underline !important;
}

/* Icon Styling */
.bi {
  display: inline-block;
  vertical-align: middle;
}

/* Service Check */
.service-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark) !important;
}

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

/* Responsive Utilities */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(13, 71, 161, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .hero-content .display-2 {
    font-size: 2.5rem;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-marker {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-content .display-2 {
    font-size: 2rem;
  }
  
  .hero-content .fs-3 {
    font-size: 1.25rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .hero-content .display-2 {
    font-size: 1.75rem;
  }
  
  .badge-card {
    margin-bottom: 1rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .scroll-indicator,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}