/* Jade Teal Professional Architecture Studio - Custom Styles */

:root {
  --primary-color: #2D5F5D;
  --secondary-color: #A8DADC;
  --accent-color: #457B9D;
  --light-bg: #F1FAEE;
  --dark-text: #1D3557;
  --white: #ffffff;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Navbar Styling */
.navbar {
  background-color: var(--primary-color) !important;
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(45, 95, 93, 0.1);
}

.navbar.sticky-top {
  box-shadow: 0 4px 20px rgba(45, 95, 93, 0.2);
}

.navbar-brand {
  color: var(--white) !important;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform var(--transition-speed) ease;
}

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

.navbar-dark .navbar-toggler {
  border-color: var(--secondary-color) !important;
  color: var(--white) !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(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  transition: all var(--transition-speed) ease;
  position: relative;
}

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

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

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a4442 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.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 1200 120"><path d="M0,0 L1200,0 L1200,120 Q900,60 600,100 Q300,140 0,80 Z" fill="rgba(168,218,220,0.1)"/></svg>') repeat-x bottom;
  background-size: cover;
  opacity: 0.3;
}

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

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

.display-3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

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

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

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: 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-light {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--white) !important;
}

.btn-light:hover {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-outline-light:hover {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-outline-dark:hover {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(45, 95, 93, 0.3);
}

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

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

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--white);
  opacity: 0.8;
  cursor: pointer;
  transition: opacity var(--transition-speed) ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

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

.scroll-arrow {
  animation: bounce 2s infinite;
  font-size: 1.5rem;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  background-color: var(--white);
}

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

.card-header {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  font-weight: 600;
  border-bottom: none;
  padding: 1.25rem;
}

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--dark-text);
  line-height: 1.7;
}

.shadow-sm {
  box-shadow: 0 2px 15px rgba(45, 95, 93, 0.08) !important;
}

.shadow {
  box-shadow: 0 10px 30px rgba(45, 95, 93, 0.12) !important;
}

.shadow-lg {
  box-shadow: 0 15px 40px rgba(45, 95, 93, 0.15) !important;
}

/* Testimonial Tile */
.testimonial-tile {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
  height: 100%;
}

.testimonial-tile .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Video Container */
.video-container {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background-color: #000;
}

.video-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  background: rgba(45, 95, 93, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  z-index: 2;
  height: 100%;
}

.play-overlay:hover {
  background: rgba(45, 95, 93, 0.9);
}

.play-button {
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-color);
  transition: all var(--transition-speed) ease;
}

.play-overlay:hover .play-button {
  transform: scale(1.1);
  background-color: var(--white);
}

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

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

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

.display-4 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.display-5 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.display-6 {
  font-weight: 600;
  color: var(--primary-color);
}

.h4 {
  color: var(--primary-color);
  font-weight: 600;
}

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

.small {
  font-size: 0.875rem;
}

/* Parallax Section */
.parallax-section {
  background-image: linear-gradient(rgba(45, 95, 93, 0.85), rgba(45, 95, 93, 0.85)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%232D5F5D" width="1200" height="800"/></svg>');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--white) !important;
  padding: 100px 0;
  position: relative;
}

.parallax-section * {
  color: var(--white) !important;
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border: 4px solid var(--secondary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Team Card */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.team-card img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(45, 95, 93, 0.95) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

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

.team-bio {
  color: var(--white) !important;
}

.team-bio * {
  color: var(--white) !important;
}

/* Contact Tiles */
.contact-tile {
  background-color: var(--light-bg);
  border-radius: 12px;
  transition: all var(--transition-speed) ease;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  height: 100%;
}

.contact-tile:hover {
  background-color: var(--secondary-color);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(45, 95, 93, 0.2);
}

.contact-tile i,
.contact-tile .bi {
  font-size: 2rem;
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
}

.contact-tile a {
  color: var(--dark-text) !important;
  text-decoration: none;
  display: block;
  padding: 1rem;
  font-weight: 500;
}

.contact-tile:hover a {
  color: var(--primary-color) !important;
}

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

.form-control,
.form-select {
  border: 2px solid var(--secondary-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  color: var(--dark-text) !important;
  background-color: var(--white) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(45, 95, 93, 0.25) !important;
  outline: none;
}

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

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

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-linkedin,
.bi-twitter,
.bi-facebook,
.bi-clock,
.bi-building,
.bi-telephone,
.bi-envelope,
.bi-geo-alt,
.bi-calendar-check,
.bi-list-ul,
.bi-shield-check,
.bi-info-circle,
.bi-clipboard-data,
.bi-lightbulb,
.bi-gear,
.bi-person-check,
.bi-chat-dots,
.bi-graph-up,
.bi-share,
.bi-database,
.bi-pc-display,
.bi-sliders,
.bi-person-badge,
.bi-eye,
.bi-pencil,
.bi-trash,
.bi-download,
.bi-hand-stop,
.bi-question-circle,
.bi-shield-lock,
.bi-heart-pulse,
.bi-graph-up-arrow,
.bi-piggy-bank,
.bi-check-circle-fill,
.bi-arrow-right-circle-fill,
.bi-check-circle,
.bi-arrow-right {
  color: var(--primary-color);
}

/* Badge */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
}

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

/* Job Card */
.job-card {
  border-left: 4px solid var(--secondary-color);
  transition: all var(--transition-speed) ease;
}

.job-card:hover {
  border-left-color: var(--primary-color);
  background-color: var(--light-bg) !important;
}

.featured-position {
  border-left-color: var(--primary-color) !important;
  background-color: rgba(168, 218, 220, 0.1) !important;
}

/* Filter Buttons */
.filter-btn {
  margin: 0.25rem;
}

.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.masonry-grid .card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

/* Modal */
.modal-content {
  border-radius: 12px;
  border: none;
  overflow: hidden;
}

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

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

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

.modal-body {
  padding: 2rem;
}

/* Progress Bar */
.progress {
  height: 30px;
  border-radius: 15px;
  background-color: var(--light-bg);
  overflow: hidden;
}

.progress-bar {
  background-color: var(--primary-color) !important;
  transition: width 0.6s ease;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
  margin: 0 0.5rem;
}

.step-indicator.active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Nav Pills */
.nav-pills .nav-link {
  color: var(--primary-color) !important;
  border: 2px solid var(--secondary-color);
  border-radius: 8px;
  margin: 0.25rem;
  transition: all var(--transition-speed) ease;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color);
}

/* Tab Content */
.tab-content {
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: 12px;
  margin-top: 1rem;
}

.tab-pane {
  animation: fadeIn 0.5s ease;
}

/* Logo Carousel */
.logo-carousel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

.logo-item {
  opacity: 0.6;
  transition: all var(--transition-speed) ease;
  filter: grayscale(100%);
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Accordion */
.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(45, 95, 93, 0.08);
}

.accordion-header {
  border: none;
}

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

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

.accordion-button:focus {
  box-shadow: none;
  border: none;
}

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

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

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

.accordion-collapse {
  border: none;
}

/* Alert */
.alert {
  border-radius: 12px;
  border: none;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background-color: var(--light-bg);
  color: var(--dark-text);
  border-left: 4px solid var(--secondary-color);
}

/* Privacy Nav */
.privacy-nav-link {
  color: var(--primary-color) !important;
  text-decoration: none;
  padding: 0.75rem 1rem;
  display: block;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  margin-bottom: 0.5rem;
}

.privacy-nav-link:hover,
.privacy-nav-link.active {
  background-color: var(--secondary-color);
  color: var(--primary-color) !important;
  transform: translateX(5px);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 3rem 0 1rem;
}

footer * {
  color: var(--white) !important;
}

footer a {
  color: var(--secondary-color) !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

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

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

.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

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

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

/* Background Colors */
.bg-white {
  background-color: var(--white) !important;
}

/* Utility Classes */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

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

.overflow-hidden {
  overflow: hidden;
}

.h-100 {
  height: 100%;
}

.w-100 {
  width: 100%;
}

.d-flex {
  display: flex;
}

.d-block {
  display: block;
}

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

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

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

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

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

.align-items-end {
  align-items: flex-end;
}

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

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

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

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

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

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

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

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

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

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

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

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

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

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

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

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

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

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

.mt-1 {
  margin-top: 0.25rem !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: 4rem !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: 4rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1199.98px) {
  .d-lg-block {
    display: block !important;
  }
  
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(45, 95, 93, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 12px;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 60px 0;
  }
  
  .display-3 {
    font-size: 2.5rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .timeline-line {
    left: 30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .pe-lg-5 {
    padding-right: 1rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .col-lg-6,
  .col-lg-5,
  .col-lg-4,
  .col-lg-3,
  .col-lg-2 {
    margin-bottom: 2rem;
  }
  
  .order-lg-1 {
    order: 1;
  }
  
  .order-lg-2 {
    order: 2;
  }
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .masonry-grid {
    column-count: 1;
  }
  
  .team-card img {
    height: 300px;
  }
  
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .parallax-section {
    background-attachment: scroll;
    padding: 60px 0;
  }
  
  .col-sm-6,
  .col-md-6,
  .col-md-4,
  .col-md-3 {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .display-3 {
    font-size: 1.75rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .col-6 {
    margin-bottom: 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .scroll-indicator,
  footer {
    display: none !important;
  }
  
  body {
    color: #000;
  }
  
  .card {
    break-inside: avoid;
  }
}

/* Animations */
@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 slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
}

/* Accessibility */
.sr-only {
  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 {
  outline: 3px solid var(--secondary-color);
  outline-offset: 3px;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.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: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Selection */
::selection {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

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