/* ===================================
   ARCHITECTURAL STUDIO - ROYAL BLUE & CHAMPAGNE GOLD THEME
   Primary: #1A4D8F | Secondary: #C9A961
   =================================== */

/* === ROOT VARIABLES === */
:root {
  --primary-color: #1A4D8F;
  --secondary-color: #C9A961;
  --dark-blue: #0F2D52;
  --light-blue: #2A5FA8;
  --gold-light: #E6D5A8;
  --gold-dark: #A08641;
  --text-dark: #1a1a1a;
  --text-light: #f8f9fa;
  --transition-base: all 0.3s ease;
  --shadow-sm: 0 2px 10px rgba(26, 77, 143, 0.1);
  --shadow-md: 0 5px 25px rgba(26, 77, 143, 0.15);
  --shadow-lg: 0 10px 40px rgba(26, 77, 143, 0.2);
}

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

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

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

a {
  transition: var(--transition-base);
}

.container {
  max-width: 1200px;
}

.container-fluid {
  padding-right: 15px;
  padding-left: 15px;
}

/* === NAVBAR STYLES === */
.navbar {
  padding: 1rem 0;
  transition: var(--transition-base);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%) !important;
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.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.5rem;
  color: var(--text-light) !important;
  font-weight: 800;
  letter-spacing: 1px;
  transition: var(--transition-base);
}

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

.navbar-dark .navbar-toggler {
  border-color: var(--secondary-color) !important;
  color: var(--secondary-color) !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='%23C9A961' 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.5rem;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 5px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(201, 169, 97, 0.1) !important;
}

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

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M0 0l50 50M50 0l50 50M0 50l50 50" stroke="%23C9A961" stroke-width="0.5" opacity="0.1"/%3E%3C/svg%3E');
  opacity: 0.3;
  animation: patternMove 20s linear infinite;
}

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

.hero-container {
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.hero-left {
  z-index: 2;
  animation: fadeInLeft 1s ease-out;
}

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

.hero-left .display-3 {
  color: var(--text-light) !important;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
}

.hero-left .lead {
  color: var(--gold-light) !important;
  font-size: 1.3rem;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn {
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-base);
  border-width: 2px !important;
  position: relative;
  overflow: hidden;
}

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

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

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

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

.btn-outline-light:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--dark-blue) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(201, 169, 97, 0.4);
}

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

.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-light:hover {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.bi {
  font-size: 1.2rem;
  vertical-align: middle;
}

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

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

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

/* === CARDS === */
.card {
  border-radius: 15px;
  transition: var(--transition-base);
  height: 100%;
  background: #ffffff;
  overflow: hidden;
}

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: #666;
  line-height: 1.7;
}

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

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

/* === ICONS === */
.bi-speedometer2,
.bi-cash-stack,
.bi-briefcase,
.bi-shield-check,
.bi-building,
.bi-diagram-3,
.bi-hammer,
.bi-lightbulb,
.bi-people,
.bi-file-text,
.bi-lightbulb-fill,
.bi-trophy-fill,
.bi-people-fill,
.bi-award-fill,
.bi-rocket-takeoff-fill,
.bi-chat-dots-fill,
.bi-bullseye,
.bi-graph-up-arrow {
  font-size: 3rem;
  color: var(--secondary-color);
  transition: var(--transition-base);
}

.card:hover .bi-speedometer2,
.card:hover .bi-cash-stack,
.card:hover .bi-briefcase,
.card:hover .bi-shield-check,
.card:hover .bi-building,
.card:hover .bi-diagram-3,
.card:hover .bi-hammer,
.card:hover .bi-lightbulb,
.card:hover .bi-people,
.card:hover .bi-file-text {
  transform: scale(1.2) rotate(5deg);
  color: var(--primary-color);
}

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-clock,
.bi-telephone,
.bi-envelope,
.bi-send,
.bi-p-circle,
.bi-calendar-check {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

/* === DISPLAY HEADINGS === */
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 800;
  color: var(--primary-color);
}

.text-white .display-1,
.text-white .display-2,
.text-white .display-3,
.text-white .display-4,
.text-white .display-5,
.text-white .display-6 {
  color: var(--text-light) !important;
}

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

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

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

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

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

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

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

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

/* === BACKGROUND UTILITIES === */
.bg-light {
  background-color: #f8f9fa !important;
}

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

/* === OPACITY === */
.opacity-25 {
  opacity: 0.25 !important;
}

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

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

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

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

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

.card-img-top {
  border-radius: 15px 15px 0 0;
  object-fit: cover;
  width: 100%;
  height: 250px;
}

/* === FORMS === */
.form-control,
.form-control-lg,
.form-select,
.form-select-lg {
  border-radius: 8px;
  border: 2px solid #dee2e6;
  padding: 0.75rem 1rem;
  transition: var(--transition-base);
  background: #ffffff;
  color: var(--text-dark);
}

.form-control:focus,
.form-control-lg:focus,
.form-select:focus,
.form-select-lg:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25) !important;
  outline: none;
}

.form-control-lg,
.form-select-lg {
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
}

.form-label {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

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

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

.accordion-item {
  border: 1px solid rgba(26, 77, 143, 0.1);
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
}

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

.accordion-button {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  transition: var(--transition-base);
}

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

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

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

.accordion-button:hover {
  background: var(--light-blue) !important;
  transform: translateX(5px);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25) !important;
  border-color: var(--secondary-color) !important;
}

.accordion-collapse {
  border: none;
}

.accordion-body {
  padding: 1.5rem;
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.8;
}

/* === BADGES === */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  background: var(--secondary-color) !important;
  color: var(--dark-blue) !important;
  font-size: 0.875rem;
}

/* === TEAM MEMBERS === */
.team-member-container {
  position: relative;
  text-align: center;
  margin: 2rem 0;
}

.hexagon-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
}

.hexagon-shape {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--primary-color);
  transition: var(--transition-base);
  overflow: hidden;
}

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

.team-member-container:hover .hexagon-shape {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-lg);
}

.team-bio-overlay {
  background: rgba(26, 77, 143, 0.95);
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  transition: var(--transition-base);
}

.team-bio-overlay:hover {
  background: rgba(15, 45, 82, 0.98);
  transform: translateY(-5px);
}

/* === PRACTICE CARDS === */
.practice-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border: 2px solid transparent;
  cursor: pointer;
}

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

.icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--light-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-base);
}

.practice-card:hover .icon-wrapper {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, var(--secondary-color), var(--gold-dark));
}

.icon-wrapper .bi {
  color: var(--text-light) !important;
  font-size: 2.5rem;
}

.expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.practice-card.active .expanded-content {
  max-height: 500px;
  margin-top: 1.5rem;
}

/* === CASE CARDS === */
.case-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  background: #ffffff;
  position: relative;
}

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

.case-card .card-img-top {
  transition: var(--transition-base);
  height: 300px;
}

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

/* === FILTER BUTTONS === */
.filter-btn {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}

.modal-dialog {
  max-width: 600px;
}

.modal-lg {
  max-width: 900px;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
  color: var(--text-light);
  padding: 1.5rem;
  border-bottom: none;
}

.modal-title {
  color: var(--text-light) !important;
  font-weight: 700;
  font-size: 1.5rem;
}

.modal-body {
  padding: 2rem;
}

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

.btn-close:hover,
.btn-close-white:hover {
  opacity: 0.7;
  transform: rotate(90deg);
}

/* === FOOTER === */
footer {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

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

footer a {
  color: var(--text-light) !important;
  text-decoration: none;
  transition: var(--transition-base);
  display: inline-block;
}

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

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

.list-unstyled li {
  margin-bottom: 0.75rem;
}

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

/* === PRIVACY CONTENT === */
.privacy-content {
  background: #ffffff;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  line-height: 1.8;
}

.privacy-content h2,
.privacy-content h3,
.privacy-content h4 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p {
  color: #333;
  margin-bottom: 1rem;
}

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

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

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

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

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

/* === SPACING UTILITIES === */
.m-3 {
  margin: 1rem !important;
}

.m-4 {
  margin: 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-lg-0 {
  margin-top: 0 !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;
}

.ms-auto {
  margin-left: auto !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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* === FLEXBOX UTILITIES === */
.d-flex {
  display: flex !important;
}

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

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

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

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

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

.flex-md-row {
  flex-direction: row !important;
}

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

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

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

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

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

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

.gap-4 {
  gap: 1.5rem !important;
}

/* === SIZING === */
.h-100 {
  height: 100% !important;
}

.min-vh-100 {
  min-height: 100vh !important;
}

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

/* === BORDER UTILITIES === */
.border-0 {
  border: 0 !important;
}

/* === MISC === */
.overflow-hidden {
  overflow: hidden !important;
}

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

.small {
  font-size: 0.875rem;
}

/* === GRID === */
.row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.g-0 {
  margin-left: 0;
  margin-right: 0;
}

.g-0 > * {
  padding-left: 0;
  padding-right: 0;
}

.g-4 {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.g-4 > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-bottom: 1.5rem;
}

/* === ORDER UTILITIES === */
.order-lg-1 {
  order: 1 !important;
}

.order-lg-2 {
  order: 2 !important;
}

.order-lg-3 {
  order: 3 !important;
}

/* === NAV === */
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.animate-on-scroll {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

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

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .position-lg-fixed {
    position: fixed !important;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  
  .offset-lg-2 {
    margin-left: 16.666667%;
  }
  
  .offset-lg-6 {
    margin-left: 50%;
  }
  
  .col-lg-1 {
    flex: 0 0 auto;
    width: 8.333333%;
  }
  
  .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-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 991px) {
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .hero-left {
    position: relative !important;
    padding: 3rem 1.5rem !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .display-6 {
    font-size: 1.5rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .px-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .text-lg-end {
    text-align: left !important;
  }
  
  .mt-lg-0 {
    margin-top: 1rem !important;
  }
  
  .order-lg-1,
  .order-lg-2,
  .order-lg-3 {
    order: 0 !important;
  }
  
  .modal-lg {
    max-width: 90%;
  }
  
  .privacy-content {
    padding: 2rem 1rem;
  }
}

@media (max-width: 767px) {
  .col-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .col-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .display-2 {
    font-size: 2rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .accordion-button {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
  
  .hexagon-wrapper {
    width: 150px;
    height: 150px;
  }
  
  footer {
    text-align: center;
  }
  
  .text-md-start {
    text-align: center !important;
  }
  
  .text-md-end {
    text-align: center !important;
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

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

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

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

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid var(--secondary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}