/* Architectural Studio - Slate & Crimson Theme CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --light-slate: #34495E;
  --dark-slate: #1A252F;
  --crimson-light: #EC7063;
  --crimson-dark: #C0392B;
  --white: #FFFFFF;
  --light-gray: #ECF0F1;
  --medium-gray: #BDC3C7;
  --dark-gray: #7F8C8D;
  --transition-smooth: all 0.3s ease;
  --transition-slow: all 0.6s ease;
  --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.1);
  --shadow-md: 0 4px 16px rgba(44, 62, 80, 0.15);
  --shadow-lg: 0 8px 32px rgba(44, 62, 80, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  letter-spacing: -0.5px;
}

.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.text-white .display-1, .text-white .display-2, .text-white .display-3, .text-white .display-4, .text-white .display-5 {
  color: var(--white) !important;
}

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

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--dark-gray) !important;
}

/* ===== NAVIGATION ===== */
.navbar {
  background-color: var(--primary-color) !important;
  padding: 1rem 0 !important;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

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

.navbar-dark .navbar-brand {
  color: var(--white) !important;
  font-size: 1.75rem;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
}

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

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

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

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

.nav-item {
  margin: 0 0.25rem;
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500 !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 6px;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
  background-color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.nav-link.active {
  font-weight: 600 !important;
}

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

/* ===== BUTTONS ===== */
.btn {
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 0.75rem 2rem !important;
  transition: var(--transition-smooth) !important;
  border: 2px solid transparent !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--crimson-dark) !important;
  border-color: var(--crimson-dark) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline-dark:hover,
.btn-outline-dark:focus {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

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

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

.btn-light:hover,
.btn-light:focus {
  background-color: var(--light-gray) !important;
  border-color: var(--light-gray) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

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

/* ===== CAROUSEL / HERO SECTION ===== */
.carousel {
  height: 100vh;
  min-height: 600px;
  position: relative;
}

.carousel.slide {
  transition: var(--transition-slow);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100vh;
  min-height: 600px;
  background-color: var(--primary-color);
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(231, 76, 60, 0.6) 100%);
  z-index: 1;
}

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

.carousel-item .position-absolute {
  z-index: 2;
  max-width: 90%;
  animation: fadeInUp 1.2s ease-out;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5% !important;
  opacity: 0.8 !important;
  transition: var(--transition-smooth) !important;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--secondary-color);
  border-radius: 50%;
  padding: 1rem;
}

/* ===== HERO ABOUT SECTION ===== */
.hero-about {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-slate) 100%);
  color: var(--white) !important;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 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='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-about .display-3,
.hero-about .display-4,
.hero-about .lead {
  color: var(--white) !important;
  position: relative;
  z-index: 1;
}

.privacy-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white) !important;
  padding: 6rem 0 4rem;
  margin-top: 76px;
}

.privacy-hero h1 {
  color: var(--white) !important;
}

/* ===== SPLIT CONTAINER ===== */
.split-container {
  position: relative;
  overflow: hidden;
}

/* ===== GEOMETRIC OVERLAY ===== */
.geometric-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.geo-1, .geo-2, .geo-3 {
  position: absolute;
  opacity: 0.05;
  animation: float 20s ease-in-out infinite;
}

.geo-1 {
  width: 300px;
  height: 300px;
  background-color: var(--secondary-color);
  top: -100px;
  left: -100px;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.geo-2 {
  width: 200px;
  height: 200px;
  background-color: var(--primary-color);
  bottom: -50px;
  right: 10%;
  border-radius: 50%;
  animation-delay: 5s;
}

.geo-3 {
  width: 250px;
  height: 250px;
  background-color: var(--secondary-color);
  top: 50%;
  right: -100px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: 10s;
}

/* ===== FOUNDER SECTION ===== */
.founder-section {
  background-color: var(--light-gray);
  padding: 5rem 0;
  position: relative;
}

.founder-img {
  border: 8px solid var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

.founder-img:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 12px 48px rgba(44, 62, 80, 0.3);
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.timeline-item {
  position: relative;
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: 12px;
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition-smooth);
  margin-bottom: 2rem;
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  background-color: var(--white);
}

.timeline-year {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--white) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.team-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: none;
}

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

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

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

.team-card .card-body {
  padding: 1.5rem;
}

/* ===== VALUES SECTION ===== */
.values-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-slate) 100%);
  color: var(--white) !important;
}

.values-section h2,
.values-section h3,
.values-section h4,
.values-section p {
  color: var(--white) !important;
}

.value-box {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  height: 100%;
}

.value-box:hover {
  background-color: rgba(231, 76, 60, 0.2);
  border-color: var(--secondary-color);
  transform: translateY(-10px);
}

.value-number {
  font-size: 3rem;
  font-weight: 700 !important;
  color: var(--secondary-color) !important;
  display: block;
  margin-bottom: 1rem;
}

/* ===== CARDS ===== */
.card {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  background-color: var(--white) !important;
}

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

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

.card-body {
  padding: 2rem;
}

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

.card:hover img {
  transform: scale(1.05);
}

/* ===== PORTFOLIO SECTION ===== */
.filter-btn {
  background-color: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.75rem 2rem !important;
  margin: 0.5rem !important;
  border-radius: 50px !important;
  transition: var(--transition-smooth) !important;
  font-weight: 600 !important;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
}

.year-filter {
  background-color: var(--light-gray) !important;
  border: 2px solid var(--medium-gray) !important;
  color: var(--primary-color) !important;
  padding: 0.5rem 1.5rem !important;
  margin: 0.25rem !important;
  border-radius: 8px !important;
  transition: var(--transition-smooth) !important;
}

.year-filter:hover,
.year-filter.active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
}

.portfolio-item {
  margin-bottom: 2rem;
  animation: fadeIn 0.6s ease-out;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  height: 350px;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(231, 76, 60, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 2rem;
}

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

.portfolio-card:hover img {
  transform: scale(1.15);
}

.portfolio-overlay h3,
.portfolio-overlay p,
.portfolio-overlay .badge {
  color: var(--white) !important;
}

/* ===== SERVICE HEXAGON ===== */
.service-hex {
  width: 120px;
  height: 120px;
  background-color: var(--secondary-color);
  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;
  transition: var(--transition-smooth);
}

.service-hex:hover {
  background-color: var(--primary-color);
  transform: rotate(180deg) scale(1.1);
}

.service-hex i {
  color: var(--white) !important;
  font-size: 2.5rem;
  transition: var(--transition-smooth);
}

.service-hex:hover i {
  transform: rotate(-180deg);
}

/* ===== FORMS ===== */
.form-label {
  font-weight: 600 !important;
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid var(--medium-gray) !important;
  border-radius: 8px !important;
  padding: 0.875rem 1.25rem !important;
  transition: var(--transition-smooth) !important;
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
}

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

.form-control::placeholder {
  color: var(--medium-gray) !important;
}

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

/* ===== BADGES ===== */
.badge {
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.5px;
}

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

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

/* ===== SHADOWS ===== */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

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

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

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

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

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

img {
  display: block;
}

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

.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-check-circle-fill,
.bi-train-front,
.bi-car-front,
.bi-bicycle,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-house-door,
.bi-building,
.bi-bank,
.bi-tree,
.bi-map,
.bi-rulers,
.bi-search,
.bi-tools,
.bi-shield-check {
  color: inherit;
}

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

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

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

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

/* ===== ACCORDION ===== */
.accordion {
  --bs-accordion-bg: var(--white);
  --bs-accordion-border-color: var(--medium-gray);
  --bs-accordion-btn-focus-border-color: var(--secondary-color);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.15);
}

.accordion-item {
  border: 2px solid var(--light-gray) !important;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
}

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

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.15) !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%);
}

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

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

.accordion-collapse.show {
  border-top: 2px solid var(--light-gray);
}

/* ===== MODAL ===== */
.modal {
  z-index: 1055;
}

.modal-backdrop {
  background-color: rgba(44, 62, 80, 0.8) !important;
}

.modal-content {
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 60px rgba(44, 62, 80, 0.3) !important;
}

.modal-header {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-bottom: none !important;
  padding: 1.5rem 2rem !important;
}

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

.modal-body {
  padding: 2rem !important;
  color: var(--primary-color) !important;
}

.modal-footer {
  border-top: 2px solid var(--light-gray) !important;
  padding: 1.5rem 2rem !important;
}

/* ===== UTILITY CLASSES ===== */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

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

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

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

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

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

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

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

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

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

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

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

.justify-content-start {
  justify-content: flex-start !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.me-3 {
  margin-right: 1rem !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;
}

.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;
}

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

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

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

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

.p-md-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;
}

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

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

.ps-lg-4 {
  padding-left: 1.5rem !important;
}

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

.pe-lg-4 {
  padding-right: 1.5rem !important;
}

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

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

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

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

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

.top-50 {
  top: 50% !important;
}

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

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

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

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

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

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

.border-bottom {
  border-bottom: 2px solid var(--light-gray) !important;
}

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

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

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

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

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

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

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

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@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 float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(5deg);
  }
  50% {
    transform: translateY(-50px) rotate(-5deg);
  }
  75% {
    transform: translateY(-30px) rotate(3deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

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

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

/* ===== RESPONSIVE DESIGN ===== */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

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

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

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

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }

  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }

  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }

  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }

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

  .ps-lg-4 {
    padding-left: 1.5rem !important;
  }

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

  .pe-lg-4 {
    padding-right: 1.5rem !important;
  }

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

  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Mobile specific adjustments */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }

  .nav-link {
    margin-bottom: 0.5rem;
  }

  .carousel-item {
    min-height: 500px;
  }

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

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

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

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

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

  .hero-about {
    padding: 5rem 0 3rem;
  }

  .service-hex {
    width: 100px;
    height: 100px;
  }

  .portfolio-card {
    height: 280px;
  }

  .geo-1, .geo-2, .geo-3 {
    opacity: 0.03;
  }

  .value-box {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }

  .timeline-item {
    padding: 1.5rem;
  }

  .col-6 {
    flex: 0 0 auto;
    width: 50%;
  }

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

@media (max-width: 767px) {
  .carousel-item {
    min-height: 450px;
  }

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

  .modal-dialog {
    margin: 0.5rem;
  }

  .card-body {
    padding: 1.5rem;
  }

  .accordion-button {
    font-size: 1rem;
  }

  .filter-btn {
    padding: 0.5rem 1.5rem !important;
    font-size: 0.875rem !important;
  }
}

@media (max-width: 575px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .carousel-item {
    min-height: 400px;
  }

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

  .btn {
    padding: 0.625rem 1.5rem !important;
  }

  .btn-lg {
    padding: 0.75rem 1.75rem !important;
  }

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

  .service-hex {
    width: 80px;
    height: 80px;
  }

  .value-number {
    font-size: 2.5rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .carousel-control-prev,
  .carousel-control-next,
  .btn,
  .modal,
  .fixed-top,
  .sticky-top {
    display: none !important;
  }

  body {
    background-color: white !important;
  }

  a {
    text-decoration: underline !important;
  }
}