/* ===============================================
   Architecture Studio - Neon Orange & Steel Blue Theme
   Primary: #FF6B35 (Neon Orange)
   Secondary: #2C3E50 (Steel Blue)
   =============================================== */

/* ===============================================
   CSS Variables & Base Styles
   =============================================== */
:root {
  --primary-color: #FF6B35;
  --secondary-color: #2C3E50;
  --primary-dark: #E5562A;
  --primary-light: #FF8558;
  --secondary-dark: #1A252F;
  --secondary-light: #34495E;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  --text-muted: #6C757D;
  --bg-light: #F8F9FA;
  --bg-dark: #2C3E50;
  --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.1);
  --shadow-md: 0 4px 16px rgba(44, 62, 80, 0.15);
  --shadow-lg: 0 8px 32px rgba(44, 62, 80, 0.2);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-in-out;
  --border-radius: 8px;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
}

/* ===============================================
   Reset & Base Typography
   =============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--text-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.125rem, 2vw, 1.25rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.125rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

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

/* ===============================================
   Bootstrap 5 Overrides
   =============================================== */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  border: none;
  transition: var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  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: left 0.5s ease;
  z-index: -1;
}

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

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--secondary-dark);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

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

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

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Card Overrides */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  overflow: hidden;
}

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

.card-header {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border-bottom: 3px solid var(--primary-color);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

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

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

/* Form Overrides */
.form-control,
.form-select {
  border: 2px solid #E0E0E0;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.15);
  outline: none;
}

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

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #DC3545;
}

.form-control.is-valid,
.form-select.is-valid {
  border-color: #28A745;
}

.invalid-feedback,
.valid-feedback {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Badge Overrides */
.badge {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

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

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

.text-primary {
  color: var(--primary-color);
}

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

/* ===============================================
   Navigation Bar
   =============================================== */
.navbar {
  padding: 1rem 0;
  background-color: var(--text-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary-color);
  transition: var(--transition-fast);
  letter-spacing: -0.5px;
}

.navbar-brand span {
  color: var(--primary-color);
}

.navbar-brand:hover {
  color: var(--primary-color);
  transform: scale(1.02);
}

.navbar-nav {
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: var(--secondary-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

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

.navbar-toggler {
  border: 2px solid var(--primary-color);
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  transition: var(--transition-fast);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
  outline: none;
}

.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='%23FF6B35' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===============================================
   Hero Section
   =============================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
  overflow: hidden;
  padding: 4rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, rgba(255, 107, 53, 0.05) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 107, 53, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 107, 53, 0.05) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 107, 53, 0.05) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.3;
  animation: heroPattern 60s linear infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--text-light);
  font-weight: 800;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content .highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.hero-content .highlight::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  width: 100%;
  height: 0.15em;
  background-color: var(--primary-color);
  opacity: 0.3;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.3s backwards;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.floating-badge {
  position: absolute;
  background-color: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.badge-1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 15%;
  left: -5%;
  animation-delay: 1s;
}

.floating-badge h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.floating-badge p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

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

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

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

/* ===============================================
   Section Styles
   =============================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-light);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

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

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 1.5rem auto 0;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

/* ===============================================
   Services/Features Grid
   =============================================== */
.service-card {
  background-color: var(--text-light);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  height: 100%;
  border-top: 4px solid transparent;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.service-card p {
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.service-card .btn-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.service-card .btn-link:hover {
  gap: 0.75rem;
  color: var(--primary-dark);
}

/* ===============================================
   Portfolio/Projects Grid
   =============================================== */
.project-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  height: 400px;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

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

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.5) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-base);
}

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

.project-overlay h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: var(--transition-base) 0.1s;
}

.project-card:hover .project-overlay h3 {
  transform: translateY(0);
}

.project-overlay p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  transform: translateY(20px);
  transition: var(--transition-base) 0.2s;
}

.project-card:hover .project-overlay p {
  transform: translateY(0);
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  transform: translateY(20px);
  transition: var(--transition-base) 0.3s;
}

.project-card:hover .project-tags {
  transform: translateY(0);
}

.project-tag {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===============================================
   Statistics/Counter Section
   =============================================== */
.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.section-dark .stat-number {
  color: var(--text-light);
  text-shadow: 0 0 30px var(--primary-color);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* ===============================================
   Testimonials
   =============================================== */
.testimonial-card {
  background-color: var(--text-light);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
  transition: var(--transition-base);
  border-left: 4px solid var(--primary-color);
}

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

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.author-info h4 {
  color: var(--secondary-color);
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.author-info p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0;
}

.testimonial-rating {
  color: var(--primary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ===============================================
   Contact Form
   =============================================== */
.contact-form {
  background-color: var(--text-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.contact-info {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  padding: 3rem;
  border-radius: var(--border-radius);
  color: var(--text-light);
  height: 100%;
}

.contact-info h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-details h4 {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-details p,
.contact-details a {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-details a:hover {
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* ===============================================
   Footer
   =============================================== */
.footer {
  background-color: var(--secondary-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 0;
}

.footer h5 {
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-block;
}

.footer a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

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

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

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a::before {
  content: '→';
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.footer-links a:hover::before {
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition-base);
  font-size: 1.25rem;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-5px) rotate(5deg);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* ===============================================
   Back to Top Button
   =============================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* ===============================================
   Loading Spinner
   =============================================== */
.spinner-border-custom {
  width: 3rem;
  height: 3rem;
  border: 4px solid rgba(255, 107, 53, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===============================================
   Utility Classes
   =============================================== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  margin: 2rem auto;
  border-radius: 2px;
}

.divider-left {
  margin-left: 0;
}

.overlay-dark {
  position: relative;
}

.overlay-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 62, 80, 0.8);
  z-index: 1;
}

.overlay-dark > * {
  position: relative;
  z-index: 2;
}

/* ===============================================
   Animations
   =============================================== */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

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

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

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

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

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

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

/* ===============================================
   Responsive Design - Mobile First
   =============================================== */
@media (max-width: 575.98px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .floating-badge {
    display: none;
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 767.98px) {
  .navbar-collapse {
    background-color: var(--text-light);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .project-card {
    height: 300px;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding-right: 2rem;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    gap: 0.5rem;
  }
  
  .project-card {
    height: 450px;
  }
}

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

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

/* ===============================================
   Print Styles
   =============================================== */
@media print {
  .navbar,
  .back-to-top,
  .hero-section,
  .footer {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
  }
}