/* ============================================
   MAIN.CSS — Modern Portfolio Design System
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #1a1a2e;
  --bg-surface: #16213e;
  --accent-primary: #ff6b6b;
  --accent-secondary: #ffd93d;
  --gradient: linear-gradient(135deg, #ff6b6b, #ffd93d);
  --text-primary: #eaeaea;
  --text-secondary: #a0a0b0;
  --text-body: #c8c8d8;
  --border-color: rgba(255, 107, 107, 0.1);
  --radius-card: 16px;
  --radius-btn: 8px;
  --radius-pill: 50px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 20px 60px rgba(255, 107, 107, 0.15);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

ul, ol {
  list-style: none;
}

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

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

/* --- Utility Classes --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 100px 0;
  position: relative;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

.section-header.centered p {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-btn);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}


/* ============================================
   1. SITE HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s var(--ease);
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(26, 26, 46, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo .gradient-text {
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
}

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

.header-cta .cta-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

.header-cta .cta-phone:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  border-color: var(--accent-primary);
}

.header-cta .cta-phone i {
  font-size: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

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

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

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

/* ============================================
   2. HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero .container {
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s var(--ease) forwards;
}

.hero-content h1 {
  margin-bottom: 24px;
  animation: fadeInUp 0.6s var(--ease) 0.1s forwards;
  opacity: 0;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.8;
  animation: fadeInUp 0.6s var(--ease) 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s var(--ease) 0.3s forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.6s var(--ease) 0.4s forwards;
  opacity: 0;
}

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

.stat-item .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.3), transparent 70%);
  animation: float 6s ease-in-out infinite;
  top: 10%;
  right: 10%;
}

.hero-visual::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.2), transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
  bottom: 10%;
  left: 10%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 7s ease-in-out infinite;
}

.orb-1 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.4), transparent 70%);
  top: 20%;
  left: 30%;
  animation-delay: -2s;
}

.orb-2 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.4), transparent 70%);
  top: 50%;
  right: 20%;
  animation-delay: -4s;
}

.orb-3 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.3), transparent 70%);
  bottom: 30%;
  left: 20%;
  animation-delay: -6s;
}


/* ============================================
   3. ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.about-visual::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 2px solid transparent;
  border-top-color: var(--accent-primary);
  border-right-color: var(--accent-secondary);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
}

.about-visual::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border: 2px solid transparent;
  border-bottom-color: var(--accent-primary);
  border-left-color: var(--accent-secondary);
  border-radius: 50%;
  animation: rotate 8s linear infinite reverse;
}

.visual-box {
  position: relative;
  z-index: 2;
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
}

.visual-box i {
  font-size: 3rem;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.visual-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-body);
  margin-bottom: 32px;
  line-height: 1.8;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--accent-primary);
  font-size: 1.2rem;
}

.feature-item .text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item .text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ============================================
   4. SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  padding: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 107, 107, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.3;
  position: absolute;
  top: 20px;
  right: 24px;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 107, 0.1);
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--accent-primary);
  transition: all 0.3s var(--ease);
}

.service-card:hover .service-icon {
  background: var(--gradient);
  color: var(--bg-primary);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ============================================
   5. PROCESS SECTION
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  width: 70%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}

.step-card {
  position: relative;
  text-align: center;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  transition: all 0.3s var(--ease);
}

.step-card:hover .step-number {
  background: var(--gradient);
  border-color: transparent;
  color: var(--bg-primary);
  transform: scale(1.1);
}

.step-card h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   6. TEAM SECTION
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-member {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  transition: all 0.4s var(--ease);
}

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

.member-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--bg-primary);
  overflow: hidden;
  border: 3px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member:hover .member-avatar {
  border-color: var(--accent-primary);
}

.team-member h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-member span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   7. TESTIMONIALS SECTION
   ============================================ */
.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 36px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  transition: all 0.4s var(--ease);
}

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

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--accent-secondary);
  font-size: 1.1rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent-primary);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-info img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info .author-details strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.author-info .author-details span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}


/* ============================================
   8. CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: var(--gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: pulse 4s ease-in-out infinite;
}

.cta-banner h2 {
  color: var(--bg-primary);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(26, 26, 46, 0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: var(--bg-primary);
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-banner .btn-outline {
  border-color: var(--bg-primary);
  color: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-outline:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   9. CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info h3 {
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item > i {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--accent-primary);
  font-size: 1.2rem;
}

.info-item > div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.info-item > div p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-item > div p a {
  color: var(--accent-primary);
}

.info-item > div p a:hover {
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all 0.3s var(--ease);
}

.social-links a:hover {
  background: var(--gradient);
  border-color: transparent;
  color: var(--bg-primary);
  transform: translateY(-3px);
}

.contact-form {
  padding: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-btn);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* ============================================
   10. SITE FOOTER
   ============================================ */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}

.footer-about .site-logo {
  margin-bottom: 16px;
}

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-contact-info {
  margin-top: 20px;
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  max-width: 300px;
}

.footer-contact-info p i {
  color: var(--accent-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 6px;
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-bottom a {
  color: var(--accent-primary);
}

/* ============================================
   12. SCROLL-TO-TOP BUTTON
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: var(--bg-primary);
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  z-index: 999;
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}


/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* --- Tablet Landscape (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  .hero-layout {
    gap: 40px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* --- Tablet Portrait (max-width: 768px) --- */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.3rem; }

  /* Mobile Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-color);
    z-index: 999;
    gap: 20px;
    transition: left 0.4s var(--ease);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-overlay {
    display: block;
  }

  .header-cta {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    min-height: 300px;
    order: -1;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-item strong {
    font-size: 1.5rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    min-height: 280px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonial-slider {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* CTA */
  .cta-banner {
    padding: 60px 0;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Mobile Small (max-width: 480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }

  body {
    font-size: 15px;
  }

  .hero {
    padding: 80px 0 48px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-visual::before {
    width: 200px;
    height: 200px;
  }

  .hero-visual::after {
    width: 150px;
    height: 150px;
  }

  .service-card {
    padding: 28px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .btn-primary,
  .btn-outline {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* --- Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
