/* Forest Dawn Architecture Studio - Custom Styles */

/* ==================== ROOT VARIABLES ==================== */
:root {
  --primary-color: #2E7D32;
  --secondary-color: #FFC107;
  --dark-green: #1B5E20;
  --light-green: #4CAF50;
  --soft-cream: #FFF8E1;
  --text-dark: #1B5E20;
  --text-light: #E8F5E9;
  --shadow-color: rgba(46, 125, 50, 0.15);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.display-2, .display-3, .display-4, .display-5, .display-6 {
  color: var(--primary-color) !important;
  font-weight: 800 !important;
  line-height: 1.2;
}

/* ==================== NAVIGATION ==================== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow-color);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar-dark {
  background: rgba(46, 125, 50, 0.95) !important;
}

.navbar-light {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 3px solid var(--secondary-color) !important;
}

.navbar-brand {
  color: #ffffff !important;
  font-size: 1.8rem !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-smooth);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.navbar-light .navbar-brand {
  color: var(--primary-color) !important;
  text-shadow: none;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 600 !important;
  font-size: 1rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.navbar-light .navbar-nav .nav-link {
  color: var(--primary-color) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--dark-green) !important;
}

.navbar-toggler {
  border: 2px solid #ffffff !important;
  padding: 0.5rem 0.75rem;
}

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

/* ==================== BUTTONS ==================== */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px !important;
  padding: 0.75rem 2rem !important;
  transition: var(--transition-smooth);
  border: 2px solid transparent !important;
  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(--primary-color) 0%, var(--dark-green) 100%) !important;
  color: #ffffff !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px var(--shadow-color);
  color: #ffffff !important;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #FFD54F 100%) !important;
  color: var(--text-dark) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #FFD54F 0%, var(--secondary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 193, 7, 0.5);
  color: var(--text-dark) !important;
}

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

.btn-light:hover {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
}

.btn-outline-light {
  color: #ffffff !important;
  border-color: #ffffff !important;
  background: transparent !important;
}

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

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

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

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

.carousel-inner,
.carousel-item {
  height: 100%;
}

.carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.7) 0%, rgba(27, 94, 32, 0.6) 100%);
  z-index: 1;
}

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

.carousel-caption {
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  left: 5%;
  right: auto;
  bottom: auto;
  text-align: left;
  padding: 2rem;
}

.carousel-caption .display-2 {
  color: #ffffff !important;
  font-size: clamp(2rem, 5vw, 4rem);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.carousel-caption .lead {
  color: #ffffff !important;
  font-size: clamp(1rem, 2vw, 1.5rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

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

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

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

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-color) !important;
}

.card-body {
  padding: 2rem !important;
}

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

.card p {
  color: #555;
  line-height: 1.8;
}

.shadow-lg {
  box-shadow: 0 10px 30px var(--shadow-color) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px var(--shadow-color) !important;
}

.shadow {
  box-shadow: 0 5px 20px var(--shadow-color) !important;
}

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

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.masonry-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: var(--transition-smooth);
  animation: fadeIn 0.6s ease-out;
}

.masonry-item-tall {
  grid-row: span 2;
}

.masonry-item-wide {
  grid-column: span 2;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  height: 100%;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
  min-height: 300px;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.95) 0%, rgba(27, 94, 32, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 2rem;
  text-align: center;
}

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

.portfolio-overlay h4 {
  color: #ffffff !important;
  margin-bottom: 1rem;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(20px);
  transition: var(--transition-smooth) 0.1s;
}

.portfolio-card:hover .portfolio-overlay h4,
.portfolio-card:hover .portfolio-overlay p {
  transform: translateY(0);
}

.badge {
  background: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  margin: 0.25rem;
}

/* ==================== ACCORDION ==================== */
.accordion-item {
  border: none !important;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.accordion-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  border: none !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-color) 100%) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

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

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

.accordion-button.collapsed {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
}

.accordion-button.collapsed::after {
  filter: none;
}

.accordion-body {
  padding: 1.5rem;
  background: #f8f9fa;
  color: #555;
  line-height: 1.8;
}

/* ==================== ALERTS ==================== */
.alert {
  border-radius: 10px !important;
  padding: 1.25rem 1.5rem;
  border: none;
  font-weight: 500;
}

.alert-info {
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%) !important;
  color: #0D47A1 !important;
  border-left: 5px solid #2196F3 !important;
}

/* ==================== FORMS ==================== */
.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.15) !important;
  outline: none;
}

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

.form-check-input {
  border: 2px solid var(--primary-color) !important;
  width: 1.5rem;
  height: 1.5rem;
}

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

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

.form-check-label {
  margin-left: 0.5rem;
  color: #555;
}

.text-danger {
  color: #dc3545 !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ==================== ICONS ==================== */
.bi {
  font-size: 1.5rem;
  vertical-align: middle;
}

.bi-leaf,
.bi-tree-fill {
  color: var(--primary-color) !important;
}

.bi-lightning-charge-fill {
  color: var(--secondary-color) !important;
}

.bi-droplet-fill {
  color: #2196F3 !important;
}

.bi-recycle {
  color: var(--light-green) !important;
}

.bi-award-fill {
  color: var(--secondary-color) !important;
}

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

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

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

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

/* ==================== BACKGROUNDS ==================== */
.bg-light {
  background: linear-gradient(135deg, #F1F8E9 0%, #DCEDC8 100%) !important;
}

.bg-dark {
  background: linear-gradient(135deg, var(--dark-green) 0%, #1B5E20 100%) !important;
}

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

.bg-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #FFD54F 100%) !important;
}

/* ==================== TEXT COLORS ==================== */
.text-white {
  color: #ffffff !important;
}

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

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

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

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

/* ==================== LINKS ==================== */
a {
  color: var(--primary-color) !important;
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--dark-green) !important;
  text-decoration: none;
}

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

/* ==================== PROGRESS BARS ==================== */
.progress {
  height: 1.5rem;
  border-radius: 10px;
  background-color: #e0e0e0;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-green) 100%) !important;
  transition: width 1s ease-in-out;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==================== BORDERS ==================== */
.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

.border-top {
  border-top: 1px solid #dee2e6 !important;
}

.border-start {
  border-left: 5px solid var(--primary-color) !important;
}

.border-end {
  border-right: 1px solid #dee2e6 !important;
}

.border-5 {
  border-width: 5px !important;
}

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

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

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

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

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

/* ==================== FOOTER ==================== */
footer {
  background: linear-gradient(135deg, var(--dark-green) 0%, #1B5E20 100%);
  color: #ffffff;
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--secondary-color) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition-smooth);
  display: block;
  padding: 0.5rem 0;
}

footer a:hover {
  color: var(--secondary-color) !important;
  padding-left: 10px;
}

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

footer .bi {
  margin-right: 0.75rem;
  color: var(--secondary-color);
}

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

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

@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);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.pb-4 {
  padding-bottom: 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;
}

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

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

.z-2 {
  z-index: 2 !important;
}

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

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

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

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

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

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

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 991.98px) {
  .navbar-nav {
    background: rgba(46, 125, 50, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }

  .navbar-collapse {
    background: transparent;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .carousel-caption {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 1rem;
    width: 90%;
  }

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

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

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

  section {
    padding: 3rem 0;
  }

  .masonry-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .masonry-item-tall,
  .masonry-item-wide {
    grid-row: span 1;
    grid-column: span 1;
  }

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

@media (max-width: 767.98px) {
  .carousel {
    height: 70vh;
    min-height: 500px;
  }

  .btn {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
  }

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

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

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

  .col-md-4,
  .col-md-6,
  .col-md-3,
  .col-md-12 {
    width: 100%;
  }

  .order-lg-1,
  .order-lg-2 {
    order: 0;
  }
}

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

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

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

  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .carousel-caption .display-2 {
    font-size: 1.75rem !important;
  }
}

@media (min-width: 992px) {
  .col-lg-2 {
    width: 16.66667%;
  }

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

  .col-lg-4 {
    width: 33.33333%;
  }

  .col-lg-5 {
    width: 41.66667%;
  }

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

  .col-lg-7 {
    width: 58.33333%;
  }

  .col-lg-8 {
    width: 66.66667%;
  }

  .col-lg-10 {
    width: 83.33333%;
  }

  .offset-lg-1 {
    margin-left: 8.33333%;
  }

  .order-lg-1 {
    order: 1;
  }

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

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

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

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

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

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
  border-radius: 10px;
}

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

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

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