/* Coastal Serenity Architecture Studio - Complete CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2C5F7C;
  --secondary-color: #E8A87C;
  --primary-dark: #1a3d4f;
  --primary-light: #4a8db3;
  --secondary-dark: #d89560;
  --secondary-light: #f5c99d;
  --text-dark: #1a1a1a;
  --text-light: #f8f9fa;
  --bg-overlay: rgba(44, 95, 124, 0.85);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(44, 95, 124, 0.1);
  --shadow-md: 0 4px 16px rgba(44, 95, 124, 0.15);
  --shadow-lg: 0 8px 32px rgba(44, 95, 124, 0.2);
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

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

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(44, 95, 124, 0.98) !important;
}

.navbar-brand {
  color: var(--text-light) !important;
  font-weight: 700 !important;
  font-size: 1.8rem !important;
  letter-spacing: 1px;
  transition: var(--transition);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  transition: var(--transition);
  position: relative;
  border-radius: 8px;
}

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(232, 168, 124, 0.15) !important;
}

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

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
  padding: 0.5rem 0.75rem !important;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  padding: 8rem 0 4rem;
}

.parallax-bg {
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23E8A87C" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section .display-2 {
  font-weight: 700 !important;
  color: var(--text-light) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  line-height: 1.2;
}

.hero-section .lead {
  font-size: 1.3rem !important;
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease-out;
  font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition) !important;
  border: none !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: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  box-shadow: 0 4px 15px rgba(232, 168, 124, 0.4) !important;
}

.btn-primary:hover {
  background: var(--secondary-dark) !important;
  color: var(--text-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 168, 124, 0.5) !important;
}

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

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

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

.btn-light:hover {
  background: var(--secondary-color) !important;
  color: var(--text-dark) !important;
}

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

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

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

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

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

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

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

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

.card-text {
  color: var(--text-dark) !important;
  font-size: 1rem;
  line-height: 1.7;
}

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

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

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

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

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(232, 168, 124, 0.25) !important;
  outline: none;
}

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

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

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

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

.form-check-label {
  color: var(--text-dark) !important;
  cursor: pointer;
  margin-left: 0.5rem;
}

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

.input-group {
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
}

/* ===== STATS SECTION ===== */
.stat-item {
  padding: 2rem;
  transition: var(--transition);
  border-radius: 15px;
}

.stat-item:hover {
  background: rgba(44, 95, 124, 0.05);
  transform: scale(1.05);
}

.stat-item .bi {
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
  display: inline-block;
  transition: var(--transition);
}

.stat-item:hover .bi {
  transform: rotateY(360deg);
}

.counter {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  font-size: 3rem !important;
  line-height: 1;
}

.stat-item p {
  color: var(--text-dark) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== PROJECT CARDS ===== */
.room-card,
.project-card,
.eco-card {
  border-radius: 20px !important;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  background: white;
  height: 100%;
}

.room-card:hover,
.project-card:hover,
.eco-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(44, 95, 124, 0.25) !important;
}

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

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

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

/* ===== TEAM CARDS ===== */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 400px;
}

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

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

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

.team-card:hover .team-overlay {
  background: linear-gradient(to top, rgba(44, 95, 124, 0.98) 0%, rgba(44, 95, 124, 0.7) 100%);
}

/* ===== TIMELINE ===== */
.timeline-container {
  position: relative;
  padding: 3rem 0;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.timeline-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translateY(-50%);
  border: 4px solid white;
  box-shadow: 0 0 0 4px var(--secondary-light);
}

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

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(232, 168, 124, 0.25) !important;
  border: none !important;
}

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

.accordion-body {
  padding: 2rem !important;
  background: white !important;
  color: var(--text-dark) !important;
  line-height: 1.8;
}

/* ===== PROGRESS BARS ===== */
.progress {
  height: 30px !important;
  border-radius: 50px !important;
  background: #e9ecef !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--secondary-light) 100%) !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 1.5s ease-in-out;
}

/* ===== TABLES ===== */
.table {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.table thead th {
  border: none !important;
  padding: 1.2rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.table tbody tr {
  transition: var(--transition);
  border-bottom: 1px solid #e9ecef;
}

.table tbody tr:hover {
  background: rgba(44, 95, 124, 0.05) !important;
  transform: scale(1.01);
}

.table tbody td {
  padding: 1.2rem !important;
  vertical-align: middle;
  color: var(--text-dark) !important;
}

.table-hover tbody tr:hover {
  color: inherit;
}

.comparison-table .bi-check-circle {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
}

.comparison-table .bi-x-circle {
  color: #dc3545 !important;
  font-size: 1.5rem;
}

/* ===== CAROUSEL ===== */
.carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.carousel-item {
  height: 500px;
  position: relative;
}

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

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

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

/* ===== TABS ===== */
.nav-pills .nav-link {
  color: var(--primary-color) !important;
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 50px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  transition: var(--transition);
  margin: 0.25rem;
}

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

.tab-content {
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

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

/* ===== ALERTS ===== */
.alert {
  border-radius: 15px !important;
  border: none !important;
  padding: 1.5rem !important;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}

.alert .bi {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.alert-info {
  background: rgba(44, 95, 124, 0.1) !important;
  color: var(--primary-color) !important;
  border-left: 4px solid var(--primary-color) !important;
}

/* ===== MASONRY GRID ===== */
.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

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

@media (max-width: 992px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 576px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  transition: var(--transition);
}

.filter-btn.active {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
  transform: scale(1.05);
}

/* ===== STICKY ELEMENTS ===== */
.sticky-top,
.sticky-lg-top,
.position-sticky {
  top: 80px !important;
  z-index: 1020;
}

/* ===== ICONS ===== */
.bi {
  transition: var(--transition);
}

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

.bi-emoji-smile,
.bi-people,
.bi-palette,
.bi-star-fill,
.bi-sun-fill,
.bi-droplet-fill,
.bi-recycle,
.bi-basket-fill,
.bi-flower3,
.bi-people-fill {
  color: var(--secondary-color) !important;
}

/* ===== SOCIAL ICONS ===== */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin {
  font-size: 1.5rem !important;
  color: var(--text-light) !important;
  transition: var(--transition);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0 0.25rem;
}

.bi-facebook:hover {
  background: #1877f2 !important;
  transform: translateY(-5px) rotate(5deg);
}

.bi-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  transform: translateY(-5px) rotate(-5deg);
}

.bi-twitter:hover {
  background: #1da1f2 !important;
  transform: translateY(-5px) rotate(5deg);
}

.bi-linkedin:hover {
  background: #0077b5 !important;
  transform: translateY(-5px) rotate(-5deg);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  color: var(--text-light) !important;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

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

footer a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: var(--transition);
  display: inline-block;
}

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

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

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

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

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

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

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

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

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

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

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

/* ===== DISPLAY TEXT ===== */
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700 !important;
  line-height: 1.2;
  color: var(--primary-color);
}

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

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

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

/* ===== RATIO UTILITIES ===== */
.ratio-16x9 {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 20px;
}

.ratio-16x9 > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

@keyframes fadeInDown {
  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 scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

/* ===== UTILITY ANIMATIONS ===== */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.fade-in-down {
  animation: fadeInDown 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.scale-in {
  animation: scaleIn 0.6s ease-out;
}

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

.float-animate {
  animation: float 3s infinite ease-in-out;
}

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

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

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

.hover-rotate:hover {
  transform: rotate(5deg);
}

/* ===== OBJECT FIT ===== */
.object-fit-cover {
  object-fit: cover !important;
}

/* ===== RESPONSIVE PADDING ===== */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

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

/* ===== LOADING SPINNER ===== */
.spinner-border {
  border-color: var(--secondary-color) !important;
  border-right-color: transparent !important;
}

/* ===== MODAL OVERRIDES ===== */
.modal-content {
  border-radius: 20px !important;
  border: none !important;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  border-radius: 20px 20px 0 0 !important;
  border: none !important;
}

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

.modal-footer {
  border: none !important;
  padding: 1.5rem 2rem !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .display-2 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: 6rem 0 3rem;
    min-height: auto;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .navbar-collapse {
    background: rgba(44, 95, 124, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 15px;
  }
  
  .timeline-line {
    left: 0;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-dot {
    left: -10px;
  }
}

@media (max-width: 768px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .my-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
  
  .stat-item {
    margin-bottom: 2rem;
  }
  
  .carousel-item {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.3rem !important;
  }
  
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .counter {
    font-size: 2rem !important;
  }
  
  .btn {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .team-card {
    height: 300px;
  }
  
  .form-control,
  .form-select {
    font-size: 0.9rem !important;
  }
  
  .carousel-item {
    height: 250px;
  }
  
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    color: #000 !important;
    background: #fff !important;
  }
  
  .card {
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
}

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

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

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

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

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

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

/* ===== FOCUS VISIBLE ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--secondary-color) !important;
  outline-offset: 2px;
}

/* ===== LINK STYLES ===== */
a.text-decoration-none {
  text-decoration: none !important;
}

a.text-decoration-none:hover {
  text-decoration: underline !important;
}

/* ===== ADDITIONAL UTILITIES ===== */
.opacity-75 {
  opacity: 0.75 !important;
}

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

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

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

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

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

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

.g-0 {
  gap: 0 !important;
}

.g-2 > * {
  padding: 0.5rem !important;
}

.g-3 > * {
  padding: 1rem !important;
}

.g-4 > * {
  padding: 1.5rem !important;
}

.g-5 > * {
  padding: 3rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* ===== VIEW DETAILS BUTTON ===== */
.view-details-btn {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  border: none !important;
  transition: var(--transition);
}

.view-details-btn:hover {
  background: var(--primary-dark) !important;
  color: var(--text-light) !important;
  transform: translateX(5px);
}

.view-details-btn .bi-arrow-right {
  transition: var(--transition);
}

.view-details-btn:hover .bi-arrow-right {
  transform: translateX(5px);
}

/* ===== CARD HEADER ===== */
.card-header {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  padding: 1.5rem !important;
  border: none !important;
  font-weight: 600;
  font-size: 1.1rem;
}

/* ===== FORM SWITCH ===== */
.form-switch .form-check-input {
  width: 3em !important;
  height: 1.5em !important;
  background-color: #ced4da !important;
  border: none !important;
  cursor: pointer;
}

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

/* ===== FINAL POLISH ===== */
.container,
.container-fluid {
  padding-right: 1rem;
  padding-left: 1rem;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* ===== ENSURE READABILITY ===== */
.bg-primary {
  background-color: var(--primary-color) !important;
}

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

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

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

/* ===== END OF STYLES ===== */