/* Architectural Studio - Midnight Indigo & Amber Flame Theme */

/* ===== CSS VARIABLES ===== */
:root {
  --primary-color: #1A237E;
  --secondary-color: #FF6F00;
  --primary-dark: #0D1642;
  --primary-light: #3949AB;
  --secondary-dark: #E65100;
  --secondary-light: #FF8F00;
  --text-dark: #212529;
  --text-light: #6c757d;
  --white: #FFFFFF;
  --light-bg: #F8F9FA;
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color) !important;
}

a {
  text-decoration: none;
  transition: var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(26, 35, 126, 0.3);
  padding: 1rem 0;
  transition: var(--transition-base);
  z-index: 1030;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(26, 35, 126, 0.5);
}

.navbar-brand {
  font-size: 1.75rem;
  color: var(--white) !important;
  font-weight: 800;
  letter-spacing: -0.5px;
  transition: var(--transition-base);
  text-transform: uppercase;
}

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

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--white) !important;
  background: rgba(255, 111, 0, 0.2);
  transform: translateY(-2px);
}

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

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

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

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, #283593 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23FF6F00" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
  opacity: 0.3;
  animation: wave 15s linear infinite;
}

@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 35, 126, 0.7);
}

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

.hero-section .display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  color: var(--white) !important;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
  line-height: 1.1;
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 400;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease;
  margin-bottom: 2rem;
}

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

/* ===== BUTTONS ===== */
.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  transition: var(--transition-base);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  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);
  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(--secondary-color), var(--secondary-dark)) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color)) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 111, 0, 0.5) !important;
  color: var(--white) !important;
}

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

.btn-outline-primary:hover {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 111, 0, 0.4);
}

.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(--secondary-color) !important;
  transform: translateY(-3px);
}

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

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

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

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

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

/* ===== CARD STYLES ===== */
.card {
  border-radius: 20px;
  transition: var(--transition-base);
  border: none;
  overflow: hidden;
  background: var(--white);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(26, 35, 126, 0.15) !important;
}

.card-body {
  padding: 2rem;
}

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

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

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(26, 35, 126, 0.15) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(26, 35, 126, 0.1) !important;
}

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

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

.bi-speedometer2,
.bi-brush,
.bi-lightning-charge,
.bi-gear-fill,
.bi-tools,
.bi-check-circle-fill,
.bi-shield-check,
.bi-wrench-adjustable-circle {
  font-size: 3rem;
  color: var(--secondary-color) !important;
  margin-bottom: 1.5rem;
  display: block;
  transition: var(--transition-base);
}

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

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-clock-fill {
  color: var(--secondary-color) !important;
  font-size: 1.25rem;
}

.bi-send-fill,
.bi-arrow-right,
.bi-arrow-right-circle {
  font-size: 1.2rem;
  transition: var(--transition-base);
}

.btn:hover .bi-send-fill,
.btn:hover .bi-arrow-right {
  transform: translateX(5px);
}

.bi-star-fill {
  color: var(--secondary-color) !important;
  font-size: 1rem;
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
  position: relative;
}

.py-5 {
  padding: 5rem 0 !important;
}

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

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

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

.bg-light {
  background-color: #F8F9FA !important;
  position: relative;
}

.bg-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.02) 0%, rgba(255, 111, 0, 0.02) 100%);
  pointer-events: none;
}

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

/* ===== DISPLAY HEADINGS ===== */
.display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
}

.display-3 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
}

.display-4 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--primary-color) !important;
  margin-bottom: 1.5rem;
}

.display-5 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color) !important;
}

/* ===== TEXT UTILITIES ===== */
.text-white {
  color: var(--white) !important;
}

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

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

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

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

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.fw-semibold {
  font-weight: 600 !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-light) !important;
}

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

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

.small {
  font-size: 0.875rem;
}

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

.list-unstyled li {
  padding: 0.75rem 0;
  color: var(--text-dark) !important;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.list-unstyled .bi-check-circle-fill {
  font-size: 1.5rem;
  margin-bottom: 0;
  margin-right: 1rem;
  flex-shrink: 0;
}

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

.rounded {
  border-radius: 20px !important;
  box-shadow: 0 10px 40px rgba(26, 35, 126, 0.15);
}

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

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

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

/* ===== BADGE ===== */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

/* ===== ALERT ===== */
.alert {
  border-radius: 15px;
  border: none;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-success {
  background: linear-gradient(135deg, #4CAF50, #45a049) !important;
  color: var(--white) !important;
}

.alert-danger {
  background: linear-gradient(135deg, #f44336, #da190b) !important;
  color: var(--white) !important;
}

.alert-info {
  background: linear-gradient(135deg, #2196F3, #0b7dda) !important;
  color: var(--white) !important;
}

/* ===== FORMS ===== */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(26, 35, 126, 0.1);
}

.form-floating {
  margin-bottom: 1.5rem;
}

.form-control,
.form-select {
  border: 2px solid #E0E0E0;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  transition: var(--transition-base);
  background: var(--white);
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 111, 0, 0.15) !important;
  background: var(--white);
}

.form-floating > label {
  color: var(--text-light) !important;
  padding: 1rem;
}

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

.form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #E0E0E0;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-base);
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 111, 0, 0.15) !important;
}

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

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ===== MASONRY GRID ===== */
.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition-base);
}

.masonry-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(26, 35, 126, 0.2) !important;
}

.masonry-item img {
  width: 100%;
  display: block;
  transition: var(--transition-base);
}

.masonry-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-grid {
    column-count: 1;
  }
}

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

.timeline-container::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 18px;
  top: 5px;
  width: 28px;
  height: 28px;
  background: var(--secondary-color);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.2);
  z-index: 2;
}

.timeline-date {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary-color) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.timeline-item h4 {
  color: var(--primary-color) !important;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.timeline-item p {
  color: var(--text-light) !important;
  line-height: 1.8;
}

/* ===== ACCORDION ===== */
.accordion {
  border-radius: 15px;
  overflow: hidden;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.1);
}

.accordion-button {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  border: none;
  transition: var(--transition-base);
}

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

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

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
  transition: var(--transition-base);
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

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

.accordion-collapse {
  border: none;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  transition: var(--transition-slow);
  height: 100%;
}

.service-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.service-image-wrapper img {
  transition: var(--transition-slow);
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.15);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 35, 126, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-base);
}

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

.service-overlay h3 {
  color: var(--white) !important;
  margin-bottom: 1rem;
}

.service-excerpt {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 1rem;
}

/* ===== GALLERY ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: var(--transition-base);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.7), rgba(255, 111, 0, 0.7));
  opacity: 0;
  transition: var(--transition-base);
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item img {
  transition: var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color) !important;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  margin: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  color: var(--white) !important;
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

/* ===== MODAL ===== */
.modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white) !important;
  border-bottom: none;
  padding: 2rem;
}

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

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

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

.modal-body {
  padding: 2rem;
}

.modal-footer {
  border-top: none;
  padding: 1.5rem 2rem;
  background: var(--light-bg);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: rgba(255, 255, 255, 0.9) !important;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light), var(--secondary-color));
}

footer h5 {
  color: var(--white) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition-base);
}

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

footer .text-decoration-none {
  display: inline-block;
}

footer ul {
  padding: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 0.75rem;
}

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

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.position-sticky {
  position: sticky;
  top: 100px;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.start-0 {
  left: 0;
}

.end-0 {
  right: 0;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.d-flex {
  display: flex;
}

.d-block {
  display: block;
}

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

.align-self-start {
  align-self: flex-start;
}

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

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

.justify-content-end {
  justify-content: flex-end;
}

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

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

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.overflow-hidden {
  overflow: hidden;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.mb-md-0 {
  margin-bottom: 0;
}

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

.p-0 {
  padding: 0;
}

.p-3 {
  padding: 1rem;
}

.p-4 {
  padding: 1.5rem;
}

.p-5 {
  padding: 3rem;
}

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

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

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

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

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

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

.p-lg-5 {
  padding: 3rem;
}

/* ===== GRID SYSTEM ===== */
.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;
}

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

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

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

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

/* ===== SCROLL ANIMATIONS ===== */
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .display-1 {
    font-size: 3.5rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .navbar-nav {
    padding: 1rem 0;
    background: rgba(26, 35, 126, 0.95);
    border-radius: 15px;
    margin-top: 1rem;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    padding: 1rem 1.5rem !important;
    margin: 0.25rem 0;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding: 3rem 0 !important;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .display-1 {
    font-size: 3rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .ps-lg-5 {
    padding-left: 1rem;
  }
  
  .p-lg-5 {
    padding: 2rem;
  }
  
  .mt-lg-0 {
    margin-top: 2rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
  
  .text-lg-end {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .display-1 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .py-5 {
    padding: 2rem 0 !important;
  }
  
  .timeline-container::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 60px;
  }
  
  .timeline-marker {
    left: 8px;
  }
  
  .mb-md-0 {
    margin-bottom: 1.5rem !important;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .display-1 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.5rem;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
  }
  
  .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-5 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .accordion-button,
  .accordion-body {
    padding: 1rem;
  }
}

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

.focus-visible:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: 6px;
  border: 2px solid var(--light-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
}

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

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