/* Storm Copper Architecture Studio - Custom Styles */

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --accent-copper: #B87333;
  --dark-slate: #1a252f;
  --light-gray: #ECF0F1;
  --white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-light: #7F8C8D;
  --transition-speed: 0.3s;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(44, 62, 80, 0.1);
  --shadow-md: 0 4px 6px rgba(44, 62, 80, 0.15);
  --shadow-lg: 0 10px 30px rgba(44, 62, 80, 0.2);
  --shadow-xl: 0 20px 60px rgba(44, 62, 80, 0.3);
}

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

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

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

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

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

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

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

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) var(--transition-smooth);
}

/* ===========================
   BOOTSTRAP 5 OVERRIDES
   =========================== */
.btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all var(--transition-speed) var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

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

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

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

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #D35400;
  border-color: #D35400;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

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

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
}

.btn-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

.btn-link:hover,
.btn-link:focus {
  color: #D35400;
  text-decoration: underline;
}

.form-control,
.form-select {
  padding: 0.875rem 1rem;
  border: 2px solid #BDC3C7;
  border-radius: 0;
  transition: all var(--transition-speed) var(--transition-smooth);
  font-size: 1rem;
  background-color: var(--white);
  color: var(--text-dark);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.15);
  outline: none;
  background-color: var(--white);
  color: var(--text-dark);
}

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

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

.form-control.is-valid,
.form-select.is-valid {
  border-color: #27AE60;
}

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

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

.navbar {
  padding: 1.5rem 0;
  transition: all var(--transition-speed) var(--transition-smooth);
  background-color: var(--white);
}

.navbar.scrolled {
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.02em;
}

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

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-speed) var(--transition-smooth);
}

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

.nav-link:hover::after,
.nav-link:focus::after {
  width: calc(100% - 2rem);
}

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

.nav-link.active::after {
  width: calc(100% - 2rem);
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15);
  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='rgba%2844, 62, 80, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: all var(--transition-speed) var(--transition-smooth);
  background-color: var(--white);
}

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

.card-img-top {
  transition: transform 0.5s var(--transition-smooth);
}

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

.card-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

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

.modal-content {
  border-radius: 0;
  border: none;
}

.modal-header {
  background-color: var(--primary-color);
  color: var(--white);
  border-bottom: none;
}

.modal-title {
  color: var(--white);
}

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

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  transition: all var(--transition-speed) var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M0 0l50 50M50 0l50 50M0 50l50 50" stroke="%23E67E22" stroke-width="0.5" opacity="0.1"/%3E%3C/svg%3E');
  opacity: 0.1;
  animation: patternMove 20s linear infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s var(--transition-smooth) 0.2s both;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--light-gray);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s var(--transition-smooth) 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s var(--transition-smooth) 0.6s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: 25px;
  animation: fadeIn 1s var(--transition-smooth) 1s both;
}

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

@keyframes scrollDot {
  0% {
    top: 8px;
    opacity: 1;
  }
  100% {
    top: 32px;
    opacity: 0;
  }
}

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

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

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-copper) 100%);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1rem auto 0;
}

.section-bg-light {
  background-color: #F8F9FA;
}

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

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

.section-bg-dark p {
  color: var(--light-gray);
}

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

.project-card {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) var(--transition-smooth);
}

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

.project-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
}

.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) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-speed) var(--transition-smooth);
}

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

.project-overlay h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform var(--transition-speed) var(--transition-smooth);
}

.project-overlay p {
  color: var(--light-gray);
  transform: translateY(20px);
  transition: transform var(--transition-speed) var(--transition-smooth) 0.1s;
}

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

.project-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--secondary-color);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* ===========================
   SERVICES
   =========================== */
.service-item {
  text-align: center;
  padding: 2rem;
  transition: all var(--transition-speed) var(--transition-smooth);
  background-color: var(--white);
  height: 100%;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-copper) 100%);
  color: var(--white);
  font-size: 2.5rem;
  transition: all var(--transition-speed) var(--transition-smooth);
}

.service-item:hover .service-icon {
  transform: rotate(360deg);
}

.service-item h3 {
  margin-bottom: 1rem;
}

/* ===========================
   TEAM SECTION
   =========================== */
.team-member {
  text-align: center;
  transition: all var(--transition-speed) var(--transition-smooth);
}

.team-member-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  filter: grayscale(100%);
  transition: all var(--transition-speed) var(--transition-smooth);
}

.team-member:hover .team-member-image {
  filter: grayscale(0%);
}

.team-member h4 {
  margin-bottom: 0.5rem;
}

.team-member-role {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

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

.team-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all var(--transition-speed) var(--transition-smooth);
}

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

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonial-item {
  background-color: var(--white);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  margin: 1rem;
}

.testimonial-item::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 5rem;
  color: var(--secondary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
}

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

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

.testimonial-author-info h5 {
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

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

/* ===========================
   CONTACT SECTION
   =========================== */
.contact-info {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem;
  height: 100%;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

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

.contact-item-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item-text h5 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item-text p {
  color: var(--light-gray);
  margin-bottom: 0;
}

.contact-item-text a {
  color: var(--light-gray);
  transition: color var(--transition-speed) var(--transition-smooth);
}

.contact-item-text a:hover {
  color: var(--secondary-color);
}

.contact-form {
  padding: 3rem;
  background-color: var(--white);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background-color: var(--dark-slate);
  color: var(--light-gray);
  padding: 4rem 0 2rem;
}

.footer-content {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

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

.footer-section p {
  color: var(--light-gray);
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--light-gray);
  transition: all var(--transition-speed) var(--transition-smooth);
  display: inline-block;
}

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

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

.footer-social a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--light-gray);
  color: var(--light-gray);
  transition: all var(--transition-speed) var(--transition-smooth);
}

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

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

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

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

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

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--transition-smooth);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   LOADING ANIMATION
   =========================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--light-gray);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

/* ===========================
   BACK TO TOP BUTTON
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) var(--transition-smooth);
  z-index: 999;
  border: none;
}

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

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

/* ===========================
   STATS COUNTER
   =========================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-slate) 100%);
  padding: 5rem 0;
  color: var(--white);
}

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

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ===========================
   IMAGE GALLERY
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition-smooth);
}

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

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 62, 80, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-speed) var(--transition-smooth);
}

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

.gallery-item-overlay i {
  color: var(--white);
  font-size: 3rem;
}

/* ===========================
   PROCESS TIMELINE
   =========================== */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-copper) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.timeline-content {
  flex: 1;
  background-color: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.timeline-content h3 {
  margin-bottom: 1rem;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .hero-section {
    margin-top: 70px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .contact-info,
  .contact-form {
    padding: 2rem;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: center;
  }
  
  .timeline-item:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
  
  .project-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 1rem;
    right: 1rem;
  }
  
  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

@media (max-width: 575px) {
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .contact-info,
  .contact-form {
    padding: 1.5rem;
  }
  
  .testimonial-item {
    padding: 2rem 1.5rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.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);
}

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

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

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

.overlay-dark {
  position: relative;
}

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

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

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
  .navbar,
  .back-to-top,
  .scroll-indicator,
  .page-loader {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
}