/* Architecture Studio - Royal Blue & Bronze Theme */

:root {
  --primary-color: #1A4D8F;
  --secondary-color: #C19A6B;
  --dark-blue: #0D2847;
  --light-blue: #4A7BB7;
  --bronze-light: #D4B896;
  --bronze-dark: #A87E4E;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --shadow-sm: 0 2px 4px rgba(26, 77, 143, 0.1);
  --shadow-md: 0 4px 12px rgba(26, 77, 143, 0.15);
  --shadow-lg: 0 8px 24px rgba(26, 77, 143, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--gray-100);
}

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

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

/* Navbar Styling */
.navbar {
  background: var(--primary-color) !important;
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.navbar.sticky-top {
  background: rgba(26, 77, 143, 0.98) !important;
  backdrop-filter: blur(10px);
}

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

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

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

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
}

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

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

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

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

.parallax-hero {
  min-height: 100vh;
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 40, 71, 0.3);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  padding: 4rem 0;
}

.diagonal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  align-items: center;
  gap: 3rem;
}

.hero-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.geometric-patterns {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 500px;
}

.floating-icon {
  position: absolute;
  background: rgba(193, 154, 107, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid var(--secondary-color);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition);
  animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  top: 15%;
  right: 15%;
  animation-delay: 1s;
}

.floating-icon:nth-child(3) {
  bottom: 20%;
  left: 15%;
  animation-delay: 2s;
}

.floating-icon:nth-child(4) {
  bottom: 15%;
  right: 10%;
  animation-delay: 3s;
}

.floating-icon .bi {
  font-size: 3rem;
  color: var(--secondary-color);
}

.geo-shape {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 3px solid var(--bronze-light);
  opacity: 0.3;
  animation: rotate 20s linear infinite;
}

.geo-shape:nth-child(1) {
  top: 20%;
  left: 20%;
  border-radius: 50%;
}

.geo-shape:nth-child(2) {
  bottom: 30%;
  right: 25%;
  transform: rotate(45deg);
}

.hero-right {
  padding: 3rem;
}

.hero-content {
  color: var(--text-light);
}

.staggered-text {
  overflow: hidden;
}

.text-line {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease forwards;
}

.text-line:nth-child(1) { animation-delay: 0.2s; }
.text-line:nth-child(2) { animation-delay: 0.4s; }
.text-line:nth-child(3) { animation-delay: 0.6s; }

.display-3 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem !important;
  color: var(--text-light) !important;
}

.display-4 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark-blue) !important;
}

.lead {
  font-size: 1.25rem;
  color: var(--bronze-light) !important;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

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

.btn-primary:hover, .btn-primary:focus {
  background: var(--bronze-dark) !important;
  border-color: var(--bronze-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

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

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

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

.text-decoration-none {
  color: var(--primary-color) !important;
  font-weight: 600;
}

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

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--gray-100);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, var(--dark-blue), transparent);
  opacity: 0.05;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

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

.service-card h5 {
  color: var(--dark-blue) !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* Practice Areas */
.practice-tile {
  position: relative;
  border-radius: 12px;
  overflow: hidden !important;
  height: 400px;
  cursor: pointer;
  transition: var(--transition);
}

.practice-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  transition: var(--transition);
}

.practice-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26, 77, 143, 0.7), rgba(13, 40, 71, 0.95));
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end !important;
  padding: 2rem;
  color: var(--text-light);
  transition: var(--transition);
}

.practice-tile:hover .practice-overlay {
  background: linear-gradient(to bottom, rgba(193, 154, 107, 0.8), rgba(168, 126, 78, 0.95));
}

.practice-tile:hover img {
  transform: scale(1.1);
}

.practice-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.practice-description {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.practice-tile:hover .practice-description {
  opacity: 1;
  transform: translateY(0);
}

/* Case Studies */
.case-study-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
}

.case-study-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

.hover-lift {
  transition: var(--transition);
}

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

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.05;
}

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

.carousel {
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid rgba(193, 154, 107, 0.3);
  color: var(--text-light);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-card .bi-quote {
  font-size: 4rem;
  color: var(--secondary-color);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light) !important;
  margin-bottom: 2rem;
}

.carousel-control-prev, .carousel-control-next {
  width: 60px;
  height: 60px;
  background: var(--secondary-color) !important;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1 !important;
  transition: var(--transition);
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  background: var(--bronze-dark) !important;
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
  left: -80px;
}

.carousel-control-next {
  right: -80px;
}

.carousel-control-prev .bi, .carousel-control-next .bi {
  font-size: 1.5rem;
  color: var(--text-dark) !important;
}

/* Overlap Section */
.overlap-section {
  padding: 6rem 0;
  position: relative;
}

.left-align, .right-align {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.overlap-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

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

.overlap-text {
  padding: 2rem;
}

.overlap-text h3 {
  color: var(--primary-color) !important;
  margin-bottom: 1.5rem;
}

.overlap-text p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Timeline Section */
.timeline-section {
  padding: 6rem 0;
  background: var(--gray-100);
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 0;
}

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

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-node {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border: 4px solid white;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  width: 45%;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-content {
  border-left: none;
  border-right: 4px solid var(--primary-color);
}

.timeline-content:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.timeline-content h5 {
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
}

.timeline-content .small {
  color: var(--secondary-color) !important;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  transition: var(--transition);
}

.hexagon-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  background: var(--primary-color);
  transition: var(--transition);
}

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

.team-member:hover .hexagon-wrap {
  transform: rotate(10deg) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.team-member:hover .hexagon-wrap img {
  transform: scale(1.1);
}

.team-bio h5 {
  color: var(--dark-blue) !important;
  font-weight: 700;
  margin-bottom: 0.5rem !important;
}

.team-name {
  color: var(--primary-color) !important;
  font-weight: 600;
}

.text-muted {
  color: var(--secondary-color) !important;
  font-size: 0.9rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stats-grid .card {
  text-align: center;
  padding: 2rem !important;
  border: none !important;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 4px solid var(--primary-color) !important;
}

.stats-grid .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--secondary-color) !important;
}

.stats-grid h3 {
  color: var(--primary-color) !important;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

/* Filter Buttons */
.filter-btn {
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

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

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

.form-control, .form-select {
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  transition: var(--transition);
  background: white;
  color: var(--text-dark) !important;
}

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

.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) !important;
  border-color: var(--primary-color) !important;
}

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

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

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

.card:hover {
  transform: translateY(-5px);
}

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

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

/* Badges */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
}

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

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

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

/* Accordion */
.accordion {
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border: none !important;
  border-bottom: 1px solid var(--gray-200) !important;
  background: white;
}

.accordion-button {
  background: white !important;
  color: var(--dark-blue) !important;
  font-weight: 600;
  padding: 1.5rem;
  border: none;
  transition: var(--transition);
}

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

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

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

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

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

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.1;
}

.cta-section h2 {
  color: var(--text-light) !important;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--bronze-light) !important;
}

/* Footer */
footer {
  background: var(--dark-blue);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

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

footer a {
  color: rgba(255, 255, 255, 0.8) !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);
  margin-right: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(193, 154, 107, 0.2);
  border-radius: 50%;
  transition: var(--transition);
  border: 2px solid transparent;
}

.social-links a:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-5px) !important;
}

.social-links a .bi {
  font-size: 1.25rem;
  color: var(--text-light) !important;
  margin: 0;
}

/* Alert */
.alert {
  border-radius: 12px;
  padding: 1.25rem;
  border: none;
  margin: 1.5rem 0;
}

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

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

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

.modal-header {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 1.5rem 2rem;
  border: none;
}

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

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

.modal-body {
  padding: 2rem;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

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

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

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

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

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

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

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

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

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

.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-90 {
  opacity: 0.9 !important;
}

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

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

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

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

/* Animations */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .carousel-control-prev {
    left: -40px;
  }
  .carousel-control-next {
    right: -40px;
  }
}

@media (max-width: 992px) {
  .diagonal-split, .left-align, .right-align {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-left {
    order: 2;
  }
  
  .hero-right {
    order: 1;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-node {
    left: 20px;
  }
  
  .timeline-item {
    justify-content: flex-end !important;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    border-right: none;
    border-left: 4px solid var(--primary-color);
  }
  
  .geometric-patterns {
    height: 400px;
  }
  
  .carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
  }
  
  .carousel-control-prev {
    left: 10px;
  }
  
  .carousel-control-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .display-3 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .hero-section, .parallax-hero {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .services-section, .testimonials-section, .timeline-section, .cta-section {
    padding: 4rem 0;
  }
  
  .masonry-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card, .testimonial-card {
    padding: 2rem;
  }
  
  .floating-icon {
    padding: 1.5rem;
  }
  
  .floating-icon .bi {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .navbar-nav {
    padding: 1rem 0;
    background: rgba(13, 40, 71, 0.95);
    border-radius: 12px;
    margin-top: 1rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .practice-tile {
    height: 300px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .hexagon-wrap {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 576px) {
  .display-3 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.75rem;
  }
  
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .service-card, .testimonial-card, .timeline-content {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .geometric-patterns {
    height: 300px;
  }
  
  .floating-icon {
    padding: 1rem;
  }
  
  .floating-icon .bi {
    font-size: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
  }
  
  .overlap-section, .team-grid {
    gap: 2rem;
  }
}

/* Print Styles */
@media print {
  .navbar, .btn, footer, .carousel-control-prev, .carousel-control-next {
    display: none !important;
  }
  
  .hero-section {
    page-break-after: always;
  }
  
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}