/* Storm Slate Architectural Studio Theme */

/* ===========================
   CSS Custom Properties
   =========================== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E74C3C;
  --primary-dark: #1a252f;
  --primary-light: #34495e;
  --secondary-dark: #c0392b;
  --secondary-light: #e95e4d;
  --text-dark: #2C3E50;
  --text-light: #7f8c8d;
  --text-white: #ffffff;
  --bg-light: #ecf0f1;
  --bg-white: #ffffff;
  --border-color: #bdc3c7;
  --shadow-sm: 0 2px 4px rgba(44, 62, 80, 0.08);
  --shadow-md: 0 4px 6px rgba(44, 62, 80, 0.12);
  --shadow-lg: 0 10px 30px rgba(44, 62, 80, 0.15);
  --shadow-xl: 0 20px 60px rgba(44, 62, 80, 0.2);
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --container-max: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

h6 {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

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

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

a:hover {
  color: var(--secondary-dark);
  text-decoration: none;
}

a:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* ===========================
   Bootstrap 5 Overrides
   =========================== */
.btn {
  font-family: var(--font-heading);
  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.9rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition-base);
  z-index: -1;
}

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

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-primary:focus {
  background-color: var(--primary-dark);
  color: var(--text-white);
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary:focus {
  background-color: var(--secondary-dark);
  color: var(--text-white);
  box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.3);
}

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

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  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 {
  background-color: var(--secondary-color);
  color: var(--text-white);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

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

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

/* Form Controls */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition-base);
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.15);
  outline: none;
}

.form-control.is-invalid {
  border-color: var(--secondary-color);
}

.form-control.is-valid {
  border-color: #27ae60;
}

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

.invalid-feedback {
  color: var(--secondary-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.valid-feedback {
  color: #27ae60;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  overflow: hidden;
}

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

.card-header {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-bottom: none;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: var(--transition-base);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

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

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

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

.nav-link:hover {
  color: var(--secondary-color);
}

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

.nav-link.active {
  color: var(--secondary-color);
}

/* Container */
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ===========================
   Header & Navigation
   =========================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Mobile Menu Toggle */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  position: relative;
  width: 30px;
  height: 24px;
  transition: var(--transition-base);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  display: block;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  display: block;
  margin: 5px 0;
  transition: var(--transition-base);
  border-radius: 2px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

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

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, rgba(231, 76, 60, 0.1) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(231, 76, 60, 0.1) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(231, 76, 60, 0.1) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(231, 76, 60, 0.1) 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: translateX(0) translateY(0); }
  100% { transform: translateX(60px) translateY(60px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

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

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

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
}

.scroll-indicator span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-white);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--text-white);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { top: 10px; opacity: 1; }
  50% { top: 25px; opacity: 0.5; }
  100% { top: 10px; opacity: 1; }
}

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

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* ===========================
   Project Grid
   =========================== */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition-base);
  aspect-ratio: 4/3;
}

.project-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(231, 76, 60, 0.9));
  opacity: 0;
  transition: var(--transition-base);
  z-index: 1;
}

.project-item:hover::before {
  opacity: 1;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2;
  opacity: 0;
  transition: var(--transition-base);
}

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

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

.project-overlay p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  transform: translateY(20px);
  transition: var(--transition-base) 0.2s;
}

.project-item:hover .project-overlay h3,
.project-item:hover .project-overlay p {
  transform: translateY(0);
}

/* ===========================
   Services Section
   =========================== */
.service-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  height: 100%;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  color: var(--text-white);
  font-size: 2rem;
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  transform: rotate(360deg);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

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

/* ===========================
   Team Section
   =========================== */
.team-member {
  text-align: center;
  transition: var(--transition-base);
}

.team-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  margin-bottom: 1.5rem;
  aspect-ratio: 3/4;
}

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

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

.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.95), transparent);
  padding: 1.5rem 1rem 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  transform: translateY(100%);
  transition: var(--transition-base);
}

.team-member:hover .team-social {
  transform: translateY(0);
}

.team-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-white);
  color: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.team-social a:hover {
  background-color: var(--secondary-color);
  color: var(--text-white);
  transform: translateY(-3px);
}

.team-info h4 {
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--secondary-color);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===========================
   Contact Form
   =========================== */
.contact-form {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.contact-info h3 {
  color: var(--text-white);
  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(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-details h5 {
  color: var(--text-white);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-fast);
}

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

/* ===========================
   Footer
   =========================== */
.footer {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--text-white);
  padding-left: 5px;
}

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

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

.footer-links a {
  display: inline-block;
  transition: var(--transition-fast);
}

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

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

.social-links a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* ===========================
   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 fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

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

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ===========================
   Utilities
   =========================== */
.text-primary-custom {
  color: var(--primary-color);
}

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

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

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

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

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

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

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

/* Loading State */
.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--text-white);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 62, 80, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  transform: scale(0.9);
  transition: var(--transition-base);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--bg-white);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-link {
    padding: 0.75rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer-links {
    margin-bottom: 2rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-outline-primary,
  .btn-outline-secondary {
    border-width: 3px;
  }
  
  .form-control:focus {
    border-width: 3px;
  }
}

/* Reduced motion support */
@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,
  .hero-section,
  .back-to-top,
  .footer {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
}