/* Royal Midnight & Amber - Architecture Studio Theme */

:root {
  --primary-color: #1A237E;
  --secondary-color: #FFC107;
  --dark-shade: #0D1642;
  --light-shade: #3949AB;
  --amber-dark: #FFA000;
  --text-light: #FFFFFF;
  --text-dark: #212529;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Navigation Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-shade) 100%) !important;
  box-shadow: 0 4px 20px rgba(26, 35, 126, 0.3);
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(26, 35, 126, 0.98) !important;
}

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

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

.navbar-toggler {
  border-color: var(--secondary-color) !important;
  padding: 0.5rem;
}

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

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

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

.nav-link::before {
  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,
.nav-link.active {
  color: var(--secondary-color) !important;
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-shade) 0%, var(--primary-color) 50%, var(--light-shade) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.parallax-bg {
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0L50 50L0 100L50 50L100 100L100 0L50 50L100 0Z" fill="%23FFC107" fill-opacity="0.05"/%3E%3C/svg%3E');
  background-size: 100px 100px;
  opacity: 0.3;
  animation: parallaxMove 20s linear infinite;
}

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

.geometric-shape {
  position: absolute;
  border: 2px solid var(--secondary-color);
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

.geometric-shape:nth-child(1) {
  width: 150px;
  height: 150px;
  top: 10%;
  right: 10%;
  transform: rotate(45deg);
}

.geometric-shape:nth-child(2) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 5%;
  border-radius: 50%;
  animation-delay: 2s;
}

.geometric-shape:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 30%;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

.diagonal-split {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--text-light);
  animation: fadeInUp 1s ease-out;
}

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

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

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

.animated-scroll {
  animation: bounce 2s infinite;
  color: var(--secondary-color) !important;
  font-size: 2rem;
}

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

/* Buttons */
.btn {
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--amber-dark) !important;
  border-color: var(--amber-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4);
}

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

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

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

.btn-outline-dark:hover {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(26, 35, 126, 0.4);
}

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

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

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

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

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

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

/* Service Cards */
.service-card {
  background: var(--text-light);
  border-radius: 15px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  height: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(26, 35, 126, 0.2);
  border-color: var(--secondary-color);
}

.service-card .bi {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: all var(--transition-speed) ease;
}

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

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

.service-card p {
  color: var(--text-dark);
  line-height: 1.6;
}

/* Portfolio Items */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1;
}

.portfolio-item img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.portfolio-item:hover::after {
  opacity: 0.8;
}

/* Portfolio Hero */
.portfolio-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-shade) 100%);
  padding: 120px 0 80px;
  color: var(--text-light) !important;
}

.portfolio-hero .display-3 {
  color: var(--text-light) !important;
}

.portfolio-layout {
  display: flex;
  gap: 2rem;
  padding: 4rem 0;
}

.thumbnail-sidebar {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.thumb-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all var(--transition-speed) ease;
  opacity: 0.6;
}

.thumb-item:hover,
.thumb-item.active {
  border-color: var(--secondary-color);
  opacity: 1;
  transform: scale(1.05);
}

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

/* Carousel */
.carousel {
  background-color: #000;
  border-radius: 15px;
  overflow: hidden;
}

.carousel-item {
  height: 70vh;
  min-height: 500px;
}

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

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
}

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

.badge {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

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

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

/* Portfolio Cards */
.portfolio-card {
  transition: all var(--transition-speed) ease;
  border-radius: 15px;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(26, 35, 126, 0.25);
}

.portfolio-card .card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Team Members */
.team-member {
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.hexagon-container {
  width: 200px;
  height: 200px;
  position: relative;
  margin-bottom: 2rem;
}

.hexagon-shape {
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--primary-color), var(--light-shade));
  padding: 5px;
  transition: all var(--transition-speed) ease;
}

.team-member:hover .hexagon-shape {
  transform: rotate(10deg) scale(1.05);
}

.hexagon-shape img {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  object-fit: cover;
}

.hexagon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.team-member:hover .hexagon-overlay {
  opacity: 0.7;
}

/* Tilt Cards */
.tilt-card {
  transition: all var(--transition-speed) ease;
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 20px 50px rgba(26, 35, 126, 0.3);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--light-shade));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--text-light);
  transition: all var(--transition-speed) ease;
}

.tilt-card:hover .icon-circle {
  transform: rotate(360deg) scale(1.1);
}

/* Filter Buttons */
.filter-btn {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background-color: transparent !important;
  margin: 0.5rem;
  transition: all var(--transition-speed) ease;
}

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

/* Card Footer */
.card-footer {
  background-color: rgba(26, 35, 126, 0.05) !important;
  border-top: 1px solid rgba(26, 35, 126, 0.1) !important;
}

/* Accordion */
.accordion-item {
  border: 1px solid rgba(26, 35, 126, 0.2) !important;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
}

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(26, 35, 126, 0.25);
  border-color: var(--primary-color);
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(13%) sepia(93%) saturate(4841%) hue-rotate(238deg) brightness(66%) contrast(105%);
}

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

.accordion-body {
  padding: 1.5rem;
  background-color: rgba(26, 35, 126, 0.02);
}

/* Timeline */
.timeline-marker {
  position: relative;
  padding-left: 3rem;
}

.timeline-marker::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

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

.timeline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

.timeline-content {
  background: var(--text-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--secondary-color);
}

.timeline-contact .timeline-icon {
  position: relative;
  left: -25px;
}

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

.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--light-shade));
  color: var(--text-light) !important;
  border-bottom: none;
  padding: 2rem;
}

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

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

.modal-body {
  padding: 2rem;
}

/* Forms */
.form-floating {
  margin-bottom: 1.5rem;
}

.form-control,
.form-select {
  border: 2px solid rgba(26, 35, 126, 0.2);
  border-radius: 8px;
  padding: 1rem;
  transition: all var(--transition-speed) ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(26, 35, 126, 0.15);
}

.form-floating label {
  color: rgba(26, 35, 126, 0.7);
}

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

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

.form-check-label {
  color: var(--text-dark);
}

.needs-validation .form-control:invalid {
  border-color: #dc3545;
}

.needs-validation .form-control:valid {
  border-color: #198754;
}

/* Alerts */
.alert {
  border-radius: 10px;
  border: none;
  padding: 1.5rem;
}

.alert-light {
  background-color: rgba(26, 35, 126, 0.05);
  color: var(--primary-color);
  border-left: 4px solid var(--primary-color);
}

/* Table */
.table {
  background-color: var(--text-light);
  border-radius: 10px;
  overflow: hidden;
}

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

.table thead th {
  color: var(--text-light) !important;
  border: none;
  padding: 1rem;
  font-weight: 600;
}

.table-bordered {
  border: 1px solid rgba(26, 35, 126, 0.1);
}

.table-bordered td,
.table-bordered th {
  border-color: rgba(26, 35, 126, 0.1);
}

/* Social Feed */
.social-feed {
  background: var(--text-light);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.social-feed:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Sticky Elements */
.sticky-top {
  top: 80px;
  z-index: 1020;
}

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

/* Shadows */
.shadow {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

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

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

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

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

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

/* Background Colors */
.bg-light {
  background-color: #f8f9fa !important;
}

/* Display Typography */
.display-1,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
}

.display-3 {
  font-size: 3.5rem;
}

.display-4 {
  font-size: 3rem;
}

.display-5 {
  font-size: 2.5rem;
}

.display-6 {
  font-size: 2rem;
}

.h3,
.h5,
.h6 {
  color: var(--primary-color);
  font-weight: 600;
}

/* Utilities */
.rounded {
  border-radius: 10px !important;
}

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

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

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

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

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

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--secondary-color);
}

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

/* List Styles */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

/* Bootstrap Icons */
.bi {
  vertical-align: middle;
}

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

footer h5,
footer h6 {
  color: var(--text-light) !important;
}

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

footer a:hover {
  color: var(--secondary-color) !important;
}

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

/* Section Styling */
section {
  padding: 5rem 0;
}

section h2,
section .display-4,
section .display-3 {
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

section h2::after,
section .display-4::after,
section .display-3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.text-center h2::after,
.text-center .display-4::after,
.text-center .display-3::after {
  left: 50%;
}

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

.card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 2rem;
}

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(13, 22, 66, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
  }

  .navbar-nav {
    gap: 0.5rem !important;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .hero-section {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 4rem;
  }

  .display-1 {
    font-size: 3rem;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  section {
    padding: 3rem 0;
  }

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

  .thumbnail-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    position: static;
  }

  .carousel-item {
    height: 50vh;
    min-height: 300px;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .hexagon-container {
    width: 150px;
    height: 150px;
  }

  .geometric-shape {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem;
  }

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

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

  .service-card {
    margin-bottom: 1.5rem;
  }

  .timeline-marker {
    padding-left: 2rem;
  }

  .timeline-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .display-1 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hexagon-container {
    width: 120px;
    height: 120px;
  }

  footer {
    text-align: center;
  }

  footer .col-lg-2,
  footer .col-lg-3,
  footer .col-lg-5 {
    margin-bottom: 2rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-light);
  animation: spin 1s ease-in-out infinite;
}

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

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

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

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

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

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }

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