/* Iron Crimson Architecture Studio - Complete CSS */

/* ===== CSS Variables & Root Styles ===== */
:root {
  --primary-color: #D32F2F;
  --secondary-color: #424242;
  --dark-bg: #1a1a1a;
  --light-bg: #f5f5f5;
  --text-dark: #212121;
  --text-light: #ffffff;
  --accent-gradient: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-elevation-low: 0 2px 4px rgba(211, 47, 47, 0.1);
  --shadow-elevation-medium: 0 4px 12px rgba(211, 47, 47, 0.15);
  --shadow-elevation-high: 0 8px 24px rgba(211, 47, 47, 0.2);
}

/* ===== Global Resets & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

/* ===== Navbar Styles ===== */
.navbar {
  background: rgba(26, 26, 26, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar.sticky-top {
  border-bottom: 2px solid var(--primary-color);
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

.navbar-brand:hover {
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.25rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
  position: relative;
}

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

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

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 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='%23D32F2F' 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, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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');
  opacity: 0.4;
  animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.hero-section .position-absolute {
  z-index: 1;
}

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

.hero-section .display-1 {
  font-weight: 800;
  color: var(--text-light) !important;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.25rem;
  font-weight: 300;
  animation: fadeInUp 1.2s ease-out;
}

.hero-section .fs-3 {
  color: var(--primary-color) !important;
  font-weight: 600;
  animation: fadeInUp 1.4s ease-out;
}

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

/* ===== Button Styles ===== */
.btn {
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-lg {
  background: var(--accent-gradient) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
  box-shadow: var(--shadow-elevation-medium);
}

.btn-lg:hover {
  background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-elevation-high);
  color: var(--text-light) !important;
}

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

.btn-dark:hover {
  background-color: #333333 !important;
  border-color: #333333 !important;
  transform: translateY(-2px);
  color: var(--text-light) !important;
}

.btn-light {
  background-color: var(--text-light) !important;
  color: var(--primary-color) !important;
  border-color: var(--text-light) !important;
  font-weight: 700;
}

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

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

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

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

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

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

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

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

.filter-btn {
  margin: 0.25rem;
  transition: var(--transition-smooth);
}

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

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

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

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

.text-center .display-4 {
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.text-center .display-4::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.text-center .display-3 {
  color: var(--text-light);
  font-weight: 800;
}

.text-center .display-5 {
  font-weight: 700;
  color: var(--text-dark);
}

/* ===== Services Highlight ===== */
.services-highlight {
  background: var(--dark-bg);
  padding: 0;
}

.service-card {
  background: var(--secondary-color);
  min-height: 400px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:last-child {
  border-right: none;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

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

.service-content {
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.service-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
  display: inline-block;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(5deg);
  color: #FF5252;
}

.service-card .h2 {
  color: var(--text-light) !important;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-card .fs-5 {
  color: rgba(255, 255, 255, 0.8) !important;
  line-height: 1.7;
  font-weight: 300;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 1;
}

.service-card:hover .service-overlay {
  opacity: 0.95;
}

.service-card:hover .service-content {
  transform: translateY(-10px);
}

/* ===== Diagonal Section ===== */
.diagonal-section {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--dark-bg);
  transform: skewY(-2deg);
  z-index: 0;
}

.diagonal-section .row {
  position: relative;
  z-index: 1;
}

.diagonal-section .img-fluid {
  border-radius: 12px;
  box-shadow: var(--shadow-elevation-high);
  transition: var(--transition-smooth);
}

.diagonal-section .img-fluid:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(211, 47, 47, 0.3);
}

.diagonal-section .h2 {
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.diagonal-section .lead {
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--accent-gradient);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 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="%23FFFFFF" fill-opacity="0.05" fill-rule="evenodd"/%3E%3C/svg%3E');
  opacity: 0.3;
}

.cta-banner * {
  position: relative;
  z-index: 1;
}

.cta-banner .display-3 {
  color: var(--text-light) !important;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-banner .fs-4 {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 300;
}

/* ===== Testimonial Section ===== */
.testimonial-section {
  background: var(--light-bg);
}

.testimonial-section .card {
  border-radius: 12px;
  transition: var(--transition-smooth);
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(211, 47, 47, 0.1) !important;
}

.testimonial-section .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-elevation-high) !important;
}

.testimonial-section .card-body {
  padding: 2rem;
}

.testimonial-section .bi-star-fill {
  color: #FFC107;
  font-size: 1.25rem;
  margin-right: 0.25rem;
}

.testimonial-section .mb-0 {
  color: #666;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem !important;
}

.testimonial-section .fst-italic {
  color: var(--text-dark);
  font-weight: 600;
}

.testimonial-section .mt-2 {
  color: #999;
  font-size: 0.9rem;
}

/* ===== Card Styles ===== */
.card {
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.card-header {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  border-bottom: 3px solid var(--primary-color) !important;
}

.card-img-top {
  transition: var(--transition-smooth);
}

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

.card-body {
  background: #ffffff;
}

.program-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-elevation-low);
}

.program-card:hover {
  box-shadow: var(--shadow-elevation-high);
  transform: translateY(-8px);
}

.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 250px;
}

/* ===== Badge Styles ===== */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 6px;
  background: var(--accent-gradient) !important;
  color: var(--text-light) !important;
}

/* ===== List & Table Styles ===== */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-group {
  border-radius: 12px;
  overflow: hidden;
}

.list-group-item {
  border-color: rgba(211, 47, 47, 0.1) !important;
  transition: var(--transition-smooth);
}

.list-group-item-action:hover {
  background-color: rgba(211, 47, 47, 0.05) !important;
  color: var(--primary-color) !important;
  border-left: 3px solid var(--primary-color);
}

.table {
  background: #ffffff;
}

.table-bordered {
  border-color: rgba(211, 47, 47, 0.1) !important;
}

.table-responsive {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-elevation-low);
}

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

.table tbody tr:hover {
  background-color: rgba(211, 47, 47, 0.05);
}

/* ===== Form Styles ===== */
.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

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

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

.form-control.bg-dark {
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: #555 !important;
}

.form-control.bg-dark:focus {
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
}

.form-check-input {
  border-color: var(--primary-color);
  transition: var(--transition-smooth);
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15) !important;
}

.form-check-label {
  color: var(--text-dark);
  font-weight: 500;
}

/* ===== Alert Styles ===== */
.alert {
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  background-color: rgba(211, 47, 47, 0.05) !important;
  color: var(--text-dark) !important;
}

/* ===== Accordion Styles ===== */
.accordion {
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border-color: rgba(211, 47, 47, 0.1) !important;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--light-bg) !important;
  color: var(--text-dark) !important;
  font-weight: 600;
  border: none;
  transition: var(--transition-smooth);
}

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15) !important;
}

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

.accordion-body {
  background-color: #ffffff;
  padding: 1.5rem;
  color: #666;
  line-height: 1.7;
}

/* ===== Carousel Styles ===== */
.carousel {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-elevation-medium);
}

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

.carousel-indicators [data-bs-target] {
  background-color: var(--primary-color);
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

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

.carousel-control-prev,
.carousel-control-next {
  opacity: 0.8;
  transition: var(--transition-smooth);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* ===== Footer Styles ===== */
footer {
  background: var(--dark-bg);
  color: var(--text-light);
  border-top: 3px solid var(--primary-color);
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

footer .bi {
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

footer .bi:hover {
  color: var(--primary-color) !important;
  transform: scale(1.2);
}

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

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

.opacity-75 {
  opacity: 0.75;
}

/* ===== Utility Classes ===== */
.text-white {
  color: var(--text-light) !important;
}

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

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

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

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

.shadow-sm {
  box-shadow: var(--shadow-elevation-low) !important;
}

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

.rounded {
  border-radius: 8px !important;
}

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

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

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

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

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

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

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

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

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

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

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

.flex-column {
  flex-direction: column !important;
}

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

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

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

.align-items-stretch {
  align-items: stretch !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;
}

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

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

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

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

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

.mt-2 {
  margin-top: 0.5rem !important;
}

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

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

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

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

.mb-0 {
  margin-bottom: 0 !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;
}

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

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

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

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

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

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

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

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

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

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

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

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

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

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

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

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

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

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

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

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

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

.small {
  font-size: 0.875rem;
}

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

/* ===== Responsive Design ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 26, 26, 0.98);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: var(--shadow-elevation-medium);
  }

  .hero-section {
    min-height: 80vh;
    padding: 4rem 0;
  }

  .hero-section .display-1 {
    font-size: 2.5rem;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 300px;
  }

  .service-card:last-child {
    border-bottom: none;
  }

  .diagonal-section::before {
    display: none;
  }

  .cta-banner {
    padding: 3rem 0;
  }

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

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

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

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

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

  .col-lg-8,
  .col-lg-6,
  .col-lg-4,
  .col-lg-3,
  .col-lg-2,
  .col-lg-9,
  .col-lg-10 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2rem !important;
  }

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

  .display-4 {
    font-size: 1.75rem !important;
  }

  .display-5 {
    font-size: 1.5rem !important;
  }

  .lead {
    font-size: 1.1rem !important;
  }

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

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

  .service-icon {
    font-size: 2.5rem;
  }

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

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

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

  .col-md-4,
  .col-md-6,
  .col-md-8 {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-section .display-1 {
    font-size: 1.75rem;
  }

  .btn-lg {
    width: 100%;
    padding: 0.75rem 1.5rem !important;
  }

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

  .service-card {
    padding: 2rem !important;
    min-height: 250px;
  }

  .text-center .display-4::after {
    width: 60px;
  }

  .col-6 {
    margin-bottom: 1rem;
  }
}

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

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

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

.animate-fadeIn {
  animation: fadeIn 0.8s ease-out;
}

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

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

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

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

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

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

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

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

/* ===== Selection Style ===== */
::selection {
  background: var(--primary-color);
  color: var(--text-light);
}

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

/* ===== Print Styles ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }
}