/* Fiery Red & Carbon Architecture Studio CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #D32F2F;
  --secondary-color: #424242;
  --dark-bg: #1a1a1a;
  --light-text: #ffffff;
  --gray-text: #b0b0b0;
  --transition-speed: 0.3s;
  --shadow-color: rgba(211, 47, 47, 0.3);
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0d0d0d !important;
  color: #e0e0e0 !important;
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== TYPOGRAPHY ===== */
.display-1, .display-3, .display-4, .display-5 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: #ffffff !important;
}

.lead {
  color: #d0d0d0 !important;
  font-size: 1.25rem;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .h5 {
  color: #ffffff !important;
  font-weight: 700;
}

p {
  color: #b0b0b0 !important;
}

.text-white {
  color: #ffffff !important;
}

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

.text-light {
  color: #e0e0e0 !important;
}

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

.fst-italic {
  font-style: italic;
}

/* ===== NAVIGATION BAR ===== */
.navbar {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(66, 66, 66, 0.95) 100%) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.2);
  transition: all var(--transition-speed) ease;
  border-bottom: 1px solid rgba(211, 47, 47, 0.3);
}

.navbar.sticky-top {
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-brand {
  font-size: 1.75rem !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  transition: all var(--transition-speed) ease;
  letter-spacing: 0.5px;
}

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

.navbar-brand .bi-fire {
  color: var(--primary-color) !important;
  font-size: 2rem;
  animation: flicker 2s infinite alternate;
  margin-right: 0.5rem;
}

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

.navbar-dark .navbar-nav .nav-link {
  color: #e0e0e0 !important;
  font-weight: 500;
  padding: 0.5rem 1.25rem !important;
  transition: all var(--transition-speed) ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

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

.navbar-toggler {
  border: 2px solid var(--primary-color) !important;
  padding: 0.5rem 0.75rem;
}

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

/* ===== BUTTONS ===== */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-speed) ease;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6) !important;
  color: #ffffff !important;
}

.btn-outline-light {
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
}

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

.btn-light {
  background: #ffffff !important;
  color: var(--secondary-color) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.5) !important;
}

.btn-secondary {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  border: none !important;
}

.btn-secondary:hover {
  background: #616161 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

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

.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
}

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

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

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, var(--secondary-color) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(211, 47, 47, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(211, 47, 47, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-section .container {
  z-index: 2;
}

.hero-section .display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

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

.hero-section .lead {
  animation: fadeInUp 1s ease-out 0.2s both;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.hero-section .d-flex {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.floating-element {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  opacity: 0.1;
}

.floating-1 {
  top: 10%;
  left: 10%;
  width: 100px;
  height: 100px;
  background: var(--primary-color);
  border-radius: 50%;
  animation-delay: 0s;
}

.floating-2 {
  bottom: 15%;
  right: 15%;
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

.bi-chevron-down {
  animation: bounce 2s infinite;
  font-size: 2rem;
  color: var(--primary-color) !important;
}

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

/* ===== ABOUT HERO ===== */
.about-hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.about-hero::after {
  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="%23D32F2F" 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');
  z-index: 0;
}

/* ===== CARDS ===== */
.card {
  background: linear-gradient(135deg, #2a2a2a 0%, var(--secondary-color) 100%) !important;
  border: 1px solid rgba(211, 47, 47, 0.3) !important;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.4) !important;
  border-color: var(--primary-color) !important;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-body {
  padding: 1.5rem;
  background: rgba(26, 26, 26, 0.6);
}

.card-title {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  color: #b0b0b0 !important;
  font-size: 0.95rem;
}

.service-card {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2a2a2a 100%) !important;
  border: 2px solid rgba(211, 47, 47, 0.2) !important;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.1) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.6s ease;
}

.service-card:hover::before {
  transform: scale(1);
}

.service-card:hover {
  border-color: var(--primary-color) !important;
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(211, 47, 47, 0.4) !important;
}

.service-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

.service-details {
  position: relative;
  z-index: 2;
}

.team-card {
  background: linear-gradient(135deg, #2a2a2a 0%, var(--secondary-color) 100%) !important;
  border: 2px solid rgba(211, 47, 47, 0.3) !important;
  transition: all 0.4s ease;
  border-radius: 1rem !important;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 50px rgba(211, 47, 47, 0.5) !important;
  border-color: var(--primary-color) !important;
}

.hexagon-frame {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.5);
}

/* ===== SECTIONS ===== */
.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

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

.my-5 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.story-section {
  background: linear-gradient(to bottom, #0d0d0d 0%, var(--secondary-color) 50%, #0d0d0d 100%);
  position: relative;
}

.diagonal-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: #0d0d0d;
  transform: skewY(-2deg);
  z-index: 0;
}

.stats-box {
  background: linear-gradient(135deg, #2a2a2a 0%, var(--secondary-color) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 2px solid rgba(211, 47, 47, 0.3);
  transition: all var(--transition-speed) ease;
  text-align: center;
}

.stats-box:hover {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
}

/* ===== ICONS ===== */
.bi {
  vertical-align: middle;
}

.bi-fire,
.bi-lightning-charge-fill,
.bi-cpu,
.bi-speedometer2,
.bi-tornado,
.bi-hurricane,
.bi-disc {
  color: var(--primary-color) !important;
}

.bi-check-circle-fill,
.bi-shield-check {
  color: var(--primary-color) !important;
}

.fs-3 {
  font-size: 2rem !important;
}

.fs-4 {
  font-size: 1.5rem !important;
}

.fs-5 {
  font-size: 1.25rem !important;
}

/* ===== FORMS ===== */
.form-label {
  color: #ffffff !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select,
.form-select-lg {
  background: rgba(66, 66, 66, 0.5) !important;
  border: 2px solid rgba(211, 47, 47, 0.3) !important;
  color: #ffffff !important;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all var(--transition-speed) ease;
}

.form-control:focus,
.form-select:focus,
.form-select-lg:focus {
  background: rgba(66, 66, 66, 0.8) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25) !important;
  color: #ffffff !important;
}

.form-control::placeholder {
  color: #808080 !important;
}

/* ===== BADGES ===== */
.badge {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
}

/* ===== SHADOWS ===== */
.shadow {
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.2) !important;
}

.shadow-sm {
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.3) !important;
}

/* ===== BORDERS ===== */
.border-0 {
  border: none !important;
}

.border-bottom {
  border-bottom: 1px solid rgba(211, 47, 47, 0.3) !important;
}

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

/* ===== IMAGES ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* ===== LISTS ===== */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-unstyled li {
  padding: 0.5rem 0;
  color: #b0b0b0 !important;
}

/* ===== ACCORDION ===== */
.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: rgba(211, 47, 47, 0.3);
}

.accordion-item {
  background: linear-gradient(135deg, #2a2a2a 0%, var(--secondary-color) 100%) !important;
  border: 1px solid rgba(211, 47, 47, 0.3) !important;
  margin-bottom: 1rem;
  border-radius: 0.5rem !important;
  overflow: hidden;
}

.accordion-button {
  background: rgba(26, 26, 26, 0.8) !important;
  color: #ffffff !important;
  font-weight: 600;
  border: none !important;
  padding: 1.25rem 1.5rem;
  transition: all var(--transition-speed) ease;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.25) !important;
  border-color: var(--primary-color) !important;
}

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

.accordion-body {
  background: rgba(26, 26, 26, 0.5) !important;
  color: #b0b0b0 !important;
  padding: 1.5rem;
  border-top: 1px solid rgba(211, 47, 47, 0.3);
}

.accordion-collapse {
  border: none !important;
}

/* ===== MODAL ===== */
.modal-content {
  background: linear-gradient(135deg, #2a2a2a 0%, var(--secondary-color) 100%) !important;
  border: 2px solid rgba(211, 47, 47, 0.5) !important;
  border-radius: 1rem !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7) !important;
}

.modal-header {
  border-bottom: 1px solid rgba(211, 47, 47, 0.3) !important;
  background: rgba(211, 47, 47, 0.1) !important;
  padding: 1.5rem;
}

.modal-title {
  color: #ffffff !important;
  font-weight: 700;
}

.modal-body {
  padding: 2rem;
  color: #b0b0b0 !important;
}

.modal-footer {
  border-top: 1px solid rgba(211, 47, 47, 0.3) !important;
  padding: 1.5rem;
}

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

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

/* ===== CALENDAR ===== */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.calendar-day-name {
  background: rgba(211, 47, 47, 0.2);
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: #ffffff !important;
  border-radius: 0.5rem;
  font-size: 0.85rem;
}

.calendar-day {
  background: rgba(66, 66, 66, 0.5);
  padding: 1rem;
  text-align: center;
  border: 2px solid rgba(211, 47, 47, 0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  color: #ffffff !important;
  font-weight: 600;
}

.calendar-day:hover:not(.disabled) {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.5);
}

.calendar-day.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: rgba(66, 66, 66, 0.2);
}

.time-slot-btn {
  background: rgba(66, 66, 66, 0.5) !important;
  border: 2px solid rgba(211, 47, 47, 0.3) !important;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all var(--transition-speed) ease;
  width: 100%;
  margin-bottom: 0.5rem;
}

.time-slot-btn:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* ===== FOOTER ===== */
.bg-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, var(--secondary-color) 100%) !important;
  border-top: 2px solid rgba(211, 47, 47, 0.3);
}

footer {
  color: #b0b0b0 !important;
}

footer h5 {
  color: #ffffff !important;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

footer a {
  color: #b0b0b0 !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

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

/* ===== UTILITIES ===== */
.text-decoration-none {
  text-decoration: none !important;
}

.text-center {
  text-align: center !important;
}

.text-end {
  text-align: right !important;
}

.text-md-start {
  text-align: left !important;
}

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

.d-inline-flex {
  display: inline-flex !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

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

.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

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

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

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

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

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

.start-50 {
  left: 50% !important;
}

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

.translate-middle-x {
  transform: translateX(-50%) !important;
}

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

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

.z-2 {
  z-index: 2 !important;
}

.p-0 {
  padding: 0 !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.px-4 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.px-5 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.ps-lg-5 {
  padding-left: 3rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mb-lg-0 {
  margin-bottom: 0 !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mt-lg-0 {
  margin-top: 0 !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.my-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.small {
  font-size: 0.875rem !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 26, 26, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(211, 47, 47, 0.3);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(211, 47, 47, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .hero-section {
    padding: 6rem 0 3rem;
    min-height: auto;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
  
  .mt-lg-0 {
    margin-top: 2rem !important;
  }
  
  .text-lg-end {
    text-align: left !important;
  }
  
  .d-lg-block {
    display: block !important;
  }
  
  .calendar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767.98px) {
  .col-md-6,
  .col-md-4,
  .col-md-8,
  .col-md-3 {
    width: 100% !important;
    margin-bottom: 1.5rem;
  }
  
  .btn-lg {
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .calendar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    padding: 5rem 0 2rem;
  }
  
  .display-1 {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.5rem !important;
  }
  
  .service-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .hexagon-frame {
    width: 120px;
    height: 120px;
  }
  
  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modal-body {
    padding: 1rem;
  }
}

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

@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 pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

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

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, #B71C1C 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #B71C1C 0%, var(--primary-color) 100%);
}

/* ===== SELECTION ===== */
::selection {
  background: var(--primary-color);
  color: #ffffff;
}

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

/* ===== FOCUS STATES ===== */
*:focus {
  outline: none;
}

a:focus,
button:focus,
.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.5) !important;
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(211, 47, 47, 0.3);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
}

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

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card,
  .modal-content {
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
}