* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #30c5f4;
  --primary-dark: #1ba7d2;
  --primary-light: #e6f9ff;
  --navy: #0f172a;
  --text: #1f2937;
  --muted: #64748b;
  --heading-font: 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

section {
  scroll-margin-top: 120px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  padding: 1.35rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.05rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.05);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.nav-logo h2 {
  font-family: var(--heading-font);
  color: var(--navy);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #30c5f4;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #30c5f4 100%);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-button {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a 0%, #30c5f4 100%);
  color: white;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-button:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
}

.nav-cta-mobile {
  display: none;
}

.nav-cta-mobile::after {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: linear-gradient(120deg, #f8fbff 0%, #e6f9ff 40%, #30c5f4 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 550px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.3;
  color: var(--navy);
  font-family: var(--heading-font);
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #30c5f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.4rem;
  color: var(--muted);
  line-height: 1.8;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-highlights {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

.hero-highlights li {
  position: relative;
  padding-left: 24px;
}

.hero-highlights li::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 0;
  color: #30c5f4;
  font-weight: 700;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.proof-section {
  padding: 80px 0 100px;
  background: #fff;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.proof-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.proof-item strong {
  display: block;
  font-size: 1.4rem;
  color: var(--navy);
  font-family: var(--heading-font);
  margin-bottom: 6px;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  background: rgba(15, 23, 42, 0.08);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-trust {
  margin-top: 1.5rem;
}

.hero-trust p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo-pill {
  background: rgba(15, 23, 42, 0.08);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #30c5f4 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #30c5f4;
}

.btn-secondary {
  background: transparent;
  color: #30c5f4;
  border: 2px solid #30c5f4;
}

.btn-secondary:hover {
  background: #30c5f4;
  color: white;
  transform: translateY(-2px);
}

.hero-image {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.floating-card i {
  font-size: 2rem;
}

.fa-react {
  color: #61dafb;
}
.fa-js {
  color: #f7df1e;
}
.fa-node-js {
  color: #339933;
}
.fa-python {
  color: #3776ab;
}
.fa-php {
  color: #777bb4;
}
.fa-laravel {
  color: #ff2d20;
}
.fa-git-alt {
  color: #f05032;
}
.fa-html5 {
  color: #e34f26;
}
.fa-css3-alt {
  color: #1572b6;
}

/* Card Style */
.floating-card {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  animation: float 5s ease-in-out infinite;
  position: absolute;
}

.hero-visual {
  position: relative;
  width: 420px;
  height: 440px;
}

.hero-visual .floating-card:nth-child(3) {
  top: 20px;
  left: -10px;
}

.hero-visual .floating-card:nth-child(4) {
  top: 60px;
  right: -10px;
  animation-delay: 0.5s;
}

.hero-visual .floating-card:nth-child(5) {
  bottom: 40px;
  left: 30px;
  animation-delay: 1s;
}

.hero-visual .floating-card:nth-child(6) {
  bottom: 10px;
  right: 40px;
  animation-delay: 1.5s;
}

.hero-mockup {
  background: white;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  padding: 16px 20px 24px;
  position: relative;
}

.mockup-header {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.mockup-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-line {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
}

.mockup-line.long {
  width: 85%;
}

.mockup-line.short {
  width: 55%;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.mockup-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.mockup-card h4 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 6px;
  font-family: var(--heading-font);
}

.mockup-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.stack-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.icon-python {
  width: 18px;
  height: auto;
}

.icon-python-2 {
  width: 40px;
  height: auto;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #30c5f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: var(--heading-font);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--muted);
}

/* About Section */
.about {
  padding: 100px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
  font-family: var(--heading-font);
}

.about-text p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

.about-list li {
  position: relative;
  padding-left: 22px;
}

.about-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #30c5f4;
  font-weight: 700;
}

.stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-item h4 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #30c5f4;
  margin-bottom: 0.5rem;
  font-family: var(--heading-font);
}

.stat-item p {
  color: var(--muted);
  font-weight: 600;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img {
  max-width: 100%;
  height: auto;
}

.about-visual {
  position: relative;
  width: 320px;
  height: 320px;
}

.code-window {
  background: white;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.code-header {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.code-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.code-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-line {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
}

.code-line.short {
  width: 60%;
}

.about-card {
  position: absolute;
  right: -20px;
  bottom: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #30c5f4 100%);
  color: white;
  padding: 16px 18px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.25);
  width: 180px;
}

.about-card h4 {
  font-family: var(--heading-font);
  font-size: 1rem;
  margin-bottom: 6px;
}

.about-card p {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #30c5f4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  transition: transform 0.6s ease;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--navy);
  font-family: var(--heading-font);
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* Tech Stack Section */
.tech-stack {
  padding: 100px 0;
  background: white;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.tech-item {
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tech-item i {
  font-size: 1.4rem;
}

.tech-item img {
  height: 30px;
  object-fit: contain;
}

.tech-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.tech-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
}

.tech-categories {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.tech-categories li {
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  color: var(--text);
  font-weight: 600;
}

/* Portfolio Section */
.portfolio {
  padding: 100px 0;
  background: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.portfolio-card {
  background: #fff;
  border-radius: 18px;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: 100%;
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.portfolio-card:focus-visible {
  outline: 3px solid rgba(48, 197, 244, 0.6);
  outline-offset: 4px;
}

.portfolio-thumb {
  height: 150px;
  border-radius: 18px 18px 0 0;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.portfolio-ecommerce {
  background-image: url('https://images.unsplash.com/photo-1658297063569-162817482fb6?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.1.0&q=80&w=1600');
}

.portfolio-health {
  background-image: url('https://images.unsplash.com/photo-1767449441925-737379bc2c4d?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxzZWFyY2h8M3x8aGVhbHRoY2FyZSUyMGFwcHxlbnwwfHwwfHx8MA%3D%3D&ixlib=rb-4.1.0&q=80&w=1600');
}

.portfolio-edu {
  background-image: url('https://images.unsplash.com/photo-1588196749597-9ff075ee6b5b?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxzZWFyY2h8OHx8b25saW5lJTIwZWR1Y2F0aW9ufGVufDB8fDB8fHww&ixlib=rb-4.1.0&q=80&w=1600');
}

.portfolio-analytics {
  background-image: url('https://images.unsplash.com/photo-1771923082503-0a3381c46cef?auto=format&fit=crop&fm=jpg&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&ixlib=rb-4.1.0&q=80&w=1600');
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.portfolio-card:hover .portfolio-overlay,
.portfolio-card:focus-within .portfolio-overlay {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-overlay .btn {
  min-width: 140px;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
}

.portfolio-overlay .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
}

.portfolio-overlay .btn-outline:hover {
  background: #fff;
  color: var(--navy);
}

.portfolio-caption {
  padding: 16px 18px 20px;
  display: grid;
  gap: 6px;
}

.portfolio-industry {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
}

.portfolio-caption h3 {
  font-size: 1.1rem;
  color: var(--navy);
  font-family: var(--heading-font);
}

.testimonials {
  padding: 100px 0;
  background: #f8fafc;
}

.testimonials-grid.dual-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
}

.testimonial-browser-frame {
  background: #f1f5f9;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.browser-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.browser-dots span:nth-child(1) {
  background: #ff5f56;
}
.browser-dots span:nth-child(2) {
  background: #ffbd2e;
}
.browser-dots span:nth-child(3) {
  background: #27c93f;
}

.testimonial-site-img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: top;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  display: block;
}

.testimonial-card p {
  padding: 30px 30px 0;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.8;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  padding: 24px 30px 30px;
  margin-top: 10px;
}

.testimonial-author h4 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.testimonial-author span {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
}

.testimonial-company {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.testimonials-note {
  margin-top: 3rem;
  text-align: center;
  color: #64748b;
  max-width: 700px;
  margin: 3rem auto 0;
  font-size: 0.95rem;
}

@media (max-width: 850px) {
  .testimonials-grid.dual-column {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 10px;
  }

  .testimonial-site-img {
    height: 200px;
  }

  .testimonial-card p {
    padding: 24px 20px 0;
    font-size: 1rem;
  }
}
/* Final CTA */
.final-cta {
  padding: 100px 0;
  background: white;
}

.cta-card {
  background: linear-gradient(135deg, #0f172a 0%, #30c5f4 100%);
  color: white;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.cta-card h2 {
  font-family: var(--heading-font);
  font-size: 2rem;
  margin-bottom: 10px;
}

.cta-card p {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid rgba(15, 23, 42, 0.2);
}

.btn-outline:hover {
  background: var(--navy);
  color: white;
}

.portfolio-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  padding: 20px;
}

.portfolio-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  width: 95%;
  max-width: 1000px;
  height: auto;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.3);
  transform: scale(0.95);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-modal.open .modal-card {
  transform: scale(1);
}

.modal-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  height: 100%;
  overflow: hidden;
}

.modal-visual-side {
  background: #f8fafc;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  height: 100%;
}

.main-image-container {
  background: #fff;
  border-radius: 20px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);

  max-height: 350px;
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.thumbnail-strip {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 5px 0;
}

.thumbnail-strip img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
}

.thumbnail-strip img.active {
  border-color: var(--primary);
  transform: scale(1.1);
}

.modal-info-side {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
}

.modal-header-content h3 {
  font-size: 1.75rem;
  margin: 10px 0;
  line-height: 1.2;
}

.modal-details-grid {
  margin: 20px 0;
  display: grid;
  gap: 15px;
}

.detail-item {
  background: #f1f5f9;
  padding: 12px 16px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-footer-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 850px) {
  .modal-card {
    max-height: 95vh;
    width: 92%;
  }

  .modal-layout {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .main-image-container {
    max-height: 220px;
  }

  .modal-info-side {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .modal-close {
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
  background: #ef4444;
  color: white;
  transform: rotate(90deg);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.modal-close:active {
  transform: rotate(90deg) scale(0.9);
}

.team {
  padding: 100px 0;
  background: #f8f9fa;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-card {
  background: white;
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.team-image {
  margin-bottom: 15px;
}

.team-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #30c5f4;
}

.avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #667eea 0%, #30c5f4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 3rem;
  color: white;
}

.team-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-family: var(--heading-font);
}

.team-role {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.3s;
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

.team-social a {
  margin: 0 8px;
  color: #555;
  font-size: 18px;
  transition: 0.3s;
}

.team-social a:hover {
  color: #30c5f4;
}

.team-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #30c5f4 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.contact-item p {
  color: var(--muted);
}

.contact-item a {
  color: var(--muted);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-highlight {
  background: #f8fafc;
  padding: 16px;
  border-radius: 16px;
}

.contact-highlight h4 {
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.contact-list li {
  position: relative;
  padding-left: 22px;
}

.contact-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #30c5f4;
  font-weight: 700;
}

.contact-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 20px;
}

.contact-cta {
  margin-bottom: 1.5rem;
}

.contact-cta h3 {
  font-size: 1.6rem;
  color: var(--navy);
  font-family: var(--heading-font);
  margin-bottom: 0.5rem;
}

.contact-cta p {
  color: var(--muted);
}

.response-note {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.response-note.is-error {
  color: #b91c1c;
}

.response-note.is-success {
  color: #0f766e;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}

.btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: currentColor;
  animation: spin 1s linear infinite;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0b2a3a 100%);
  color: white;
  padding: 50px 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 16px;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  color: #e2e8f0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: #7dd3fc;
  font-family: var(--heading-font);
}

.footer-section p {
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-meta {
  color: #cbd5f5;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #34495e;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #667eea;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #667eea;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  color: #bbb;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-actions {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0f172a 0%, #30c5f4 100%);
    color: white;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin-top: 10px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats {
    justify-content: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-highlights {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .logo-row {
    justify-content: center;
  }

  .portfolio-overlay {
    opacity: 1;
    pointer-events: auto;
    position: static;
    background: transparent;
    padding: 10px 18px 0;
    flex-direction: column;
  }

  .portfolio-overlay .btn-outline {
    color: var(--navy);
    border-color: rgba(15, 23, 42, 0.2);
    background: transparent;
  }

  .portfolio-overlay .btn {
    width: 100%;
  }

  .team-social {
    opacity: 1;
    transform: none;
  }

  .proof-section {
    padding-top: 60px;
  }

  .hero-image {
    height: auto;
  }

  .hero-visual {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .nav-container {
    border-radius: 20px;
    padding: 0.5rem 1rem;
  }

  .modal-card {
    padding: 24px;
  }

  .modal-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Message Modal */
.message-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.message-modal.active {
  opacity: 1;
  visibility: visible;
}

.message-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.message-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(48, 197, 244, 0.1);
  text-align: center;
  animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.2s ease;
  padding: 0.5rem;
}

.message-modal-close:hover {
  color: var(--text);
}

.message-modal-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.message-modal-icon i {
  animation: iconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes iconPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.message-modal-icon i.fa-check-circle {
  color: #10b981;
}

.message-modal-icon i.fa-exclamation-circle {
  color: #ef4444;
}

.message-modal-content h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 600;
}

.message-modal-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.message-modal-btn {
  min-width: 150px;
  display: block;
  margin: 0 auto;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .stats {
    flex-direction: column;
    gap: 1rem;
  }

  .modal-meta {
    grid-template-columns: 1fr;
  }

  .modal-gallery {
    grid-template-columns: 1fr;
  }
}
