/* Forest Gold Architecture Studio Theme - CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #4CAF50;
  --secondary-color: #FFC107;
  --secondary-dark: #FFA000;
  --secondary-light: #FFECB3;
  --dark-color: #1A1A1A;
  --light-color: #F5F5F5;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s 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;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

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

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

/* ===== NAVBAR STYLES ===== */
.navbar {
  padding: 1.5rem 0;
  transition: var(--transition-base);
  z-index: 1000;
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.95) 0%, rgba(46, 125, 50, 0.85) 100%) !important;
  backdrop-filter: blur(10px);
}

.navbar-dark {
  background-color: var(--primary-color) !important;
}

.navbar-light {
  background-color: var(--white) !important;
  box-shadow: var(--shadow-md);
}

.sticky-top {
  box-shadow: var(--shadow-md);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

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

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

.navbar-light .navbar-brand:hover {
  color: var(--primary-dark) !important;
}

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

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

.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 {
  color: var(--secondary-color) !important;
  background-color: rgba(255, 193, 7, 0.1) !important;
  transform: translateY(-2px);
}

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

.nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(255, 193, 7, 0.15) !important;
  font-weight: 600 !important;
}

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

.navbar-light .nav-link:hover,
.navbar-light .nav-link.active {
  color: var(--primary-color) !important;
  background-color: rgba(46, 125, 50, 0.1) !important;
}

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

.navbar-toggler:hover {
  background-color: rgba(255, 193, 7, 0.2) !important;
  transform: scale(1.1);
}

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

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

.carousel-inner {
  height: 100%;
}

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

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.85) 0%, rgba(27, 94, 32, 0.7) 50%, rgba(255, 193, 7, 0.3) 100%);
  z-index: 1;
}

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

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

.carousel-caption .display-3 {
  font-weight: 800 !important;
  color: var(--white) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
  letter-spacing: -1px;
}

.carousel-caption .lead {
  color: var(--white) !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  font-size: 1.25rem !important;
  font-weight: 400;
  animation: fadeInUp 1.2s ease-out;
  max-width: 600px;
}

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

.carousel-indicators {
  z-index: 3;
  margin-bottom: 2rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary-color) !important;
  border: 2px solid var(--white);
  opacity: 0.6;
  transition: var(--transition-base);
}

.carousel-indicators button.active {
  opacity: 1;
  transform: scale(1.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  z-index: 3;
  transition: var(--transition-base);
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 193, 7, 0.8);
  border-radius: 50%;
  padding: 0.75rem;
  transition: var(--transition-base);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-duration: 1s;
  transition-property: opacity;
}

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

/* ===== BUTTON STYLES ===== */
.btn {
  font-weight: 600 !important;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  transition: var(--transition-base);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  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(--primary-dark) 100%) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
  color: var(--white) !important;
}

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

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

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

.btn-outline-primary:hover {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

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

.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: var(--dark-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

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

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

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

.btn-outline-dark:hover {
  background: var(--dark-color) !important;
  color: var(--white) !important;
  transform: translateY(-3px);
}

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

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

/* ===== CARD STYLES ===== */
.card {
  border-radius: 15px;
  transition: var(--transition-base);
  overflow: hidden;
  height: 100%;
  border: none !important;
}

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

.card-body {
  padding: 2rem;
}

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

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

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

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

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

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

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

.bi-house-door,
.bi-building,
.bi-map,
.bi-leaf,
.bi-columns-gap,
.bi-box,
.bi-buildings,
.bi-compass,
.bi-people,
.bi-lightbulb,
.bi-heart,
.bi-trophy,
.bi-cup-hot,
.bi-mortarboard,
.bi-grid-3x3,
.bi-cube,
.bi-star-fill {
  color: var(--primary-color);
  transition: var(--transition-base);
}

.card:hover .bi {
  color: var(--secondary-color);
  transform: scale(1.2) rotate(5deg);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.display-1 { font-size: 5rem !important; font-weight: 800 !important; }
.display-2 { font-size: 4.5rem !important; font-weight: 800 !important; }
.display-3 { font-size: 4rem !important; font-weight: 800 !important; }
.display-4 { font-size: 3.5rem !important; font-weight: 700 !important; }
.display-5 { font-size: 3rem !important; font-weight: 700 !important; }

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

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

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

/* ===== HOVER EFFECTS ===== */
.hover-lift {
  transition: var(--transition-base);
}

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

.img-fluid {
  border-radius: 15px;
  transition: var(--transition-slow);
}

.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ===== PORTFOLIO STYLES ===== */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.portfolio-card {
  transition: var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.9) 0%, rgba(255, 193, 7, 0.8) 100%);
  opacity: 0;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

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

.portfolio-item:hover .portfolio-card {
  transform: scale(1.05);
}

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

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

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

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

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

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

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

.form-check-label {
  margin-left: 0.5rem;
  cursor: pointer;
}

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

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border: none;
  padding: 1.5rem 2rem;
}

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

.modal-body {
  padding: 2rem;
}

.btn-close,
.btn-close-white {
  opacity: 1;
  transition: var(--transition-base);
}

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

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

/* ===== ACCORDION STYLES ===== */
.accordion-item {
  border: 2px solid #e0e0e0;
  border-radius: 10px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

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

.accordion-button {
  font-weight: 600;
  color: var(--dark-color);
  background-color: var(--light-color);
  padding: 1.25rem 1.5rem;
  transition: var(--transition-base);
}

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

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

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

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

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

/* ===== TABLE STYLES ===== */
.table {
  border-radius: 10px;
  overflow: hidden;
}

.table-responsive {
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.table-bordered {
  border: 2px solid #e0e0e0;
}

.table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.table tbody tr {
  transition: var(--transition-base);
}

.table tbody tr:hover {
  background-color: rgba(46, 125, 50, 0.05);
  transform: scale(1.01);
}

/* ===== ALERT STYLES ===== */
.alert {
  border-radius: 10px;
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
  color: #856404;
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
  color: #0c5460;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
}

/* ===== FOOTER STYLES ===== */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a2a 100%);
  color: var(--white);
}

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

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

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

/* ===== SOCIAL ICONS ===== */
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-twitter {
  font-size: 1.5rem;
  transition: var(--transition-base);
  color: var(--white) !important;
}

.bi-facebook:hover {
  color: #1877f2 !important;
  transform: scale(1.2) rotate(5deg);
}

.bi-instagram:hover {
  color: #e4405f !important;
  transform: scale(1.2) rotate(5deg);
}

.bi-linkedin:hover {
  color: #0077b5 !important;
  transform: scale(1.2) rotate(5deg);
}

.bi-twitter:hover {
  color: #1da1f2 !important;
  transform: scale(1.2) rotate(5deg);
}

/* ===== ROUNDED STYLES ===== */
.rounded {
  border-radius: 10px !important;
}

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

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

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

/* ===== HEXAGON GRID ===== */
.hexagon-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

.hexagon-service {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem;
}

.hexagon-wrapper {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.hexagon-wrapper:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
}

/* ===== UTILITY CLASSES ===== */
.translate-middle {
  transform: translate(-50%, -50%) !important;
}

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

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

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

.w-75 {
  width: 75% !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;
}

.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

.g-0 { gap: 0 !important; }
.g-3 { gap: 1rem !important; }
.g-4 { gap: 1.5rem !important; }
.g-5 { gap: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

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

.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

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

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

.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }

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

.pt-5 { padding-top: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-lg-4 { padding-left: 1.5rem !important; }

.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-wrap { flex-wrap: wrap !important; }

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@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);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1199.98px) {
  .display-3 { font-size: 3rem !important; }
  .display-4 { font-size: 2.5rem !important; }
  .display-5 { font-size: 2rem !important; }
  
  .carousel {
    height: 80vh;
    min-height: 500px;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(46, 125, 50, 0.98);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .display-3 { font-size: 2.5rem !important; }
  .display-4 { font-size: 2rem !important; }
  .display-5 { font-size: 1.75rem !important; }
  
  section {
    padding: 3rem 0;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .carousel {
    height: 70vh;
    min-height: 450px;
  }
  
  .carousel-caption {
    padding: 1rem;
  }
  
  .display-3 { font-size: 2rem !important; }
  .display-4 { font-size: 1.75rem !important; }
  .display-5 { font-size: 1.5rem !important; }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .btn {
    padding: 0.65rem 1.5rem !important;
    font-size: 0.875rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.75rem !important;
    font-size: 0.95rem !important;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .hexagon-service {
    width: 150px;
    height: 150px;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .carousel {
    height: 60vh;
    min-height: 400px;
  }
  
  .display-3 { font-size: 1.75rem !important; }
  .display-4 { font-size: 1.5rem !important; }
  .display-5 { font-size: 1.25rem !important; }
  
  .fs-1 { font-size: 2rem !important; }
  .fs-2 { font-size: 1.75rem !important; }
  
  .navbar-brand {
    font-size: 1.5rem !important;
  }
  
  .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
  }
  
  .hexagon-service {
    width: 120px;
    height: 120px;
  }
  
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }
}

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

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

/* ===== LOADING SPINNER ===== */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(46, 125, 50, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 6px;
  transition: var(--transition-base);
}

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

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

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

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 3px;
}