/* ==================== C-DESIGNS STUDIO - SLEEK & PROFESSIONAL ==================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  /* Professional Blue Palette */
  --blue-50: #e8f4f8;
  --blue-100: #d1e9f1;
  --blue-200: #a3d3e3;
  --blue-300: #5ba8c4;
  --blue-400: #3d8eb0;
  --blue-500: #21618f;
  --blue-600: #21618f;
  --blue-700: #1a4e72;
  
  /* Burnt Orange Palette */
  --orange-50: #fef3e8;
  --orange-100: #fde4cc;
  --orange-200: #f9c499;
  --orange-300: #e89055;
  --orange-400: #d97030;
  --orange-500: #c45c26;
  --orange-600: #a84d1f;
  --orange-700: #8b3f19;
  
  /* Sophisticated Grey Palette */
  --grey-50: #fafafa;
  --grey-100: #f5f5f5;
  --grey-200: #e5e5e5;
  --grey-300: #d4d4d4;
  --grey-400: #a3a3a3;
  --grey-500: #737373;
  --grey-600: #525252;
  --grey-700: #404040;
  --grey-800: #262626;
  --grey-900: #171717;
  
  /* Semantic Colors - Light Theme */
  --background: #ffffff;
  --background-alt: var(--grey-50);
  --surface: #ffffff;
  --border: var(--grey-200);
  --text-primary: var(--grey-900);
  --text-secondary: var(--grey-600);
  --text-muted: var(--grey-500);
  --primary: var(--blue-600);
  --primary-hover: var(--blue-700);
  --primary-light: var(--blue-50);
  
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background: var(--blue-100);
  color: var(--blue-700);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--grey-100);
}

::-webkit-scrollbar-thumb {
  background: var(--grey-300);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey-400);
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

/* ==================== LAYOUT ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==================== NAVIGATION ==================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: none;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-brand-icon span {
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--grey-900);
  letter-spacing: -0.02em;
}

.nav-brand-studio {
  font-weight: 400;
  color: var(--grey-500);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-menu a {
  color: var(--grey-600);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue-600);
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--grey-900);
}

.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--grey-800);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--grey-100);
  background-image: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.1) 50%, rgba(249, 115, 22, 0.2) 100%),
                    url('https://pub-f92fb9e5dec94183a8408ab9ccc15504.r2.dev/images/index.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: 
    linear-gradient(var(--grey-200) 1px, transparent 1px),
    linear-gradient(90deg, var(--grey-200) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb-1 {
  top: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: rgba(59, 130, 246, 0.08);
}

.hero-orb-2 {
  bottom: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.06);
}

.hero-orb-accent {
  display: none;
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 1.5rem;
}

@media (min-width: 1024px) {
  .hero-container {
    padding: 8rem 2rem;
  }
}

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  transform: translateY(-60px);
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--blue-500);
  border-radius: 50%;
}

.eyebrow-text {
  color: var(--blue-700);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Title */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--grey-900);
  line-height: 1.15;
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.title-accent {
  display: block;
  color: var(--blue-600);
}

.title-muted {
  display: block;
  color: var(--grey-500);
  font-weight: 400;
}

/* Hero Subtitle */
.hero-subtitle {
  font-size: 1.35rem;
  color: white;
  max-width: 600px;
  margin: 0 auto 6rem;
  line-height: 1.8;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}

.btn-primary {
  background: #c45c26;
  color: white;
  box-shadow: 0 4px 14px rgba(196, 92, 38, 0.3);
}

.btn-primary:hover {
  background: #a84d1f;
  box-shadow: 0 6px 20px rgba(196, 92, 38, 0.4);
  transform: translateY(-2px);
}

.btn-primary .btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

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

.btn-secondary:hover {
  background: var(--grey-50);
  border-color: var(--grey-300);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--grey-200);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 3rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--grey-300);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--blue-500);
  border-radius: 9999px;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ==================== SECTIONS ==================== */
section {
  padding: 5rem 1.5rem;
}

@media (min-width: 1024px) {
  section {
    padding: 7rem 2rem;
  }
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--grey-900);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: var(--orange-500);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

/* ==================== ABOUT SECTION ==================== */
.about {
  background: var(--background-alt);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(196, 92, 38, 0.08);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.about::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(33, 97, 143, 0.06);
  bottom: -50px;
  left: -50px;
  pointer-events: none;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-text p {
  font-size: 1.1rem;
  color: var(--grey-600);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--grey-200);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--blue-200);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--orange-500);
}

/* ==================== SECTION HEADERS ==================== */
.section-header {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-label {
  display: inline-block;
  color: var(--orange-500);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title-lg {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--grey-900);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.15rem;
  color: var(--grey-600);
  line-height: 1.7;
}

/* ==================== SERVICES SECTION ==================== */
.services {
  background: white;
  padding: 7rem 1.5rem;
}

@media (min-width: 1024px) {
  .services {
    padding: 8rem 2rem;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--blue-200);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
}

/* Service Icon Box */
.service-icon-box {
  width: 80px;
  height: 80px;
  background: var(--blue-50);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon-svg {
  width: 40px;
  height: 40px;
  color: var(--blue-600);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 0.75rem;
  text-align: center;
}

.service-card p {
  color: var(--grey-600);
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: center;
  flex-grow: 1;
}

/* Service Accent Line */
.service-accent-line {
  margin-top: 1.5rem;
  height: 3px;
  background: var(--orange-500);
  width: 50px;
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== PORTFOLIO SECTION ==================== */
.portfolio {
  background-color: var(--grey-100);
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(33, 97, 143, 0.03) 0px,
      rgba(33, 97, 143, 0.03) 1px,
      transparent 1px,
      transparent 10px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(33, 97, 143, 0.05) 0px,
      rgba(33, 97, 143, 0.05) 1px,
      transparent 1px,
      transparent 50px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 4px,
      rgba(33, 97, 143, 0.02) 4px,
      rgba(33, 97, 143, 0.02) 5px,
      transparent 5px,
      transparent 10px
    );
}

.portfolio-intro {
  text-align: center;
  color: var(--grey-600);
  font-size: 1.15rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--orange-500);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-placeholder {
  height: 220px;
  background: linear-gradient(135deg, var(--orange-100) 0%, var(--orange-50) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange-600);
  position: relative;
  overflow: hidden;
}

.portfolio-icon {
  width: 48px;
  height: 48px;
  color: var(--orange-500);
  stroke-width: 1.5;
  z-index: 1;
}

.portfolio-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(196, 92, 38, 0.08) 50%,
    transparent 100%
  );
  z-index: 0;
}

.portfolio-placeholder span {
  z-index: 1;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  color: var(--grey-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Portfolio Overlay */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(33, 97, 143, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.portfolio-item {
  position: relative;
}

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

.view-gallery {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 4px;
}

/* ==================== GALLERY MODAL ==================== */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 1000px;
  height: 80vh;
}

.modal-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.modal-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--grey-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-600);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close svg {
  width: 32px;
  height: 32px;
  color: white;
}

.modal-close:hover svg {
  color: var(--orange-500);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.modal-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-nav svg {
  width: 24px;
  height: 24px;
  color: white;
}

.modal-prev {
  left: -70px;
}

.modal-next {
  right: -70px;
}

.modal-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .modal-nav {
    width: 40px;
    height: 40px;
  }
  
  .modal-prev {
    left: 10px;
  }
  
  .modal-next {
    right: 10px;
  }
  
  .modal-close {
    top: -45px;
    right: 0;
  }
}

/* ==================== CONTACT SECTION ==================== */
.contact {
  background: white;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--blue-100);
  border-radius: 50%;
  top: -200px;
  right: -100px;
  opacity: 0.4;
  z-index: 0;
}

.contact::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--orange-100);
  border-radius: 50%;
  bottom: -150px;
  left: -75px;
  opacity: 0.4;
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--blue-100);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 32px;
  height: 32px;
  color: var(--blue-600);
}

.contact-value {
  font-size: 1.1rem;
  color: var(--grey-900);
  font-weight: 500;
}

.contact-value a {
  color: var(--grey-900);
  transition: color 0.3s ease;
}

.contact-value a:hover {
  color: var(--orange-600);
}

/* Contact Form */
.contact-form {
  background: var(--grey-50);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--grey-200);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--grey-900);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey-400);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.875rem;
  color: var(--grey-500);
  margin-top: 1rem;
  font-style: italic;
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--blue-600);
  color: var(--grey-300);
  text-align: center;
  padding: 2rem;
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  /* Navigation */
  .nav-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--grey-200);
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 998;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 0.75rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  /* Hero */
  .hero {
    min-height: 100svh;
    padding: 80px 1rem 2rem;
    background-position: 15% center;
  }
  
  .hero-content {
    text-align: center;
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }
  
  .hero-tagline {
    font-size: 1.25rem;
  }
  
  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  /* Section Titles */
  .section-title {
    font-size: 2rem;
  }
  
  .section-label {
    font-size: 0.875rem;
  }
  
  /* About Stats */
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .service-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .service-icon-wrapper svg {
    width: 30px;
    height: 30px;
  }
  
  .service-card h3 {
    font-size: 1.25rem;
  }
  
  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-placeholder {
    height: 180px;
  }
  
  .portfolio-icon {
    width: 40px;
    height: 40px;
  }
  
  .portfolio-info {
    padding: 1.25rem;
  }
  
  .portfolio-info h3 {
    font-size: 1.125rem;
  }
  
  /* Contact */
  .contact-icon {
    width: 56px;
    height: 56px;
  }
  
  .contact-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .contact-value {
    font-size: 1rem;
  }
  
  /* Modal */
  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .modal-nav button {
    padding: 0.75rem;
  }
  
  .modal-nav button svg {
    width: 20px;
    height: 20px;
  }
  
  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  /* Container */
  .container {
    padding: 0 1rem;
  }
  
  /* Navbar */
  .nav-brand-text {
    font-size: 1rem;
  }
  
  .nav-brand-icon {
    width: 32px;
    height: 32px;
    font-size: 1.125rem;
  }
  
  /* Hero */
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-tagline {
    font-size: 1.125rem;
  }
  
  /* Sections */
  section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  /* Services */
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .service-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .service-icon-wrapper svg {
    width: 25px;
    height: 25px;
  }
  
  .service-card h3 {
    font-size: 1.125rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
  }
  
  /* Portfolio */
  .portfolio-placeholder {
    height: 160px;
  }
  
  .portfolio-icon {
    width: 36px;
    height: 36px;
  }
  
  .portfolio-placeholder span {
    font-size: 0.9rem;
  }
  
  .portfolio-info h3 {
    font-size: 1rem;
  }
  
  .portfolio-info p {
    font-size: 0.875rem;
  }
  
  /* Contact */
  .contact-item {
    gap: 0.5rem;
  }
  
  .contact-icon {
    width: 48px;
    height: 48px;
  }
  
  .contact-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .contact-value {
    font-size: 0.9rem;
  }
  
  /* Footer */
  .footer {
    padding: 1.5rem 1rem;
  }
  
  .footer p {
    font-size: 0.875rem;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  /* Tablet adjustments */
  .hero {
    background-position: 15% center;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  /* Desktop - ensure proper layout */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  /* Large desktop */
  .container {
    max-width: 1280px;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Landscape mobile phones */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}


/* ==================== ANIMATIONS ==================== */
.service-card,
.portfolio-item,
.stat-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-card.fade-in-visible,
.portfolio-item.fade-in-visible,
.stat-card.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}
