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

:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --text-dark: #1f2937;
  --text-gray: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --light-gray: #f9fafb;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 50px;
}

.logo-icon-compact {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-outline {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}

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

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(99,102,241,0.1)"/><stop offset="100%" stop-color="rgba(99,102,241,0)"/></radialGradient></defs><circle cx="500" cy="200" r="200" fill="url(%23a)"/><circle cx="300" cy="600" r="150" fill="url(%23a)"/></svg>') no-repeat center center/cover;
  opacity: 0.5;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 80vh;
}

.hero-video-container {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-left {
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-left h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  white-space: normal;
  text-align: left;
}

.line-1, .line-2 {
  display: block;
  width: 100%;
  text-align: left;
}

.line-1 {
  margin-bottom: 0.2rem;
  padding-left: 1rem;
}

.line-2 {
  padding-left: 0;
}

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

.hero-left p {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-gray);
  font-weight: 500;
}

.hero-value-props {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.value-prop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  flex: 1;
  min-width: 200px;
}

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.value-title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.value-desc {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-preview {
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 350px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.play-button {
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  margin-left: 3px;
}

.floating-cards {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.card {
  position: absolute;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  animation: float 3s ease-in-out infinite;
}

.card-1 {
  top: -15%;
  right: 30%;
  animation-delay: 0s;
}

.card-2 {
  bottom: 50%;
  left: -25%;
  animation-delay: 1s;
}

.card-3 {
  top: 100%;
  right: -30%;
  animation-delay: 2s;
}

.card-icon {
  font-size: 1.5rem;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
}

.service-item {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-number {
  position: absolute;
  top: -15px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

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

.service-item h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-item p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-item ul {
  list-style: none;
  margin-bottom: 2rem;
}

.service-item li {
  color: var(--text-gray);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-item li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--light-gray);
}

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

.about-left {
  position: relative;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.team-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.years {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.text {
  font-size: 0.875rem;
  color: var(--text-gray);
  font-weight: 600;
}

.about-right h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-right p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: var(--success-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

.feature span {
  font-weight: 500;
  color: var(--text-gray);
}

/* Portfolio Section */
.portfolio {
  padding: 100px 0;
  background: var(--white);
}

.portfolio h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.portfolio-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  background: var(--white);
  border: 2px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--text-gray);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: minmax(350px, 350px);
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2rem;
  scroll-behavior: smooth;
  height: 540px;
  margin-bottom: 1rem;
}

.portfolio-grid::-webkit-scrollbar {
  height: 12px;
}

.portfolio-grid::-webkit-scrollbar-track {
  background: var(--light-gray);
  border-radius: 6px;
  margin: 0 20px;
}

.portfolio-grid::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
  border: 2px solid var(--light-gray);
}

.portfolio-grid::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.portfolio-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scroll-btn {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.scroll-btn svg {
  width: 20px;
  height: 20px;
}

.scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.scroll-btn:disabled:hover {
  background: var(--white);
  color: var(--text-gray);
  border-color: var(--border-color);
}

.portfolio-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  background: var(--white);
  width: 350px;
  height: 250px;
}

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

.portfolio-image, .portfolio-video, .portfolio-design {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-design {
  aspect-ratio: 16/9;
  height: auto;
}

.design-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: var(--light-gray);
  border: 1px solid var(--border-color);
}

/* Fallback for missing images */
.design-image:not([src]),
.design-image[src=""],
.design-image[src*="placeholder"] {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-gray);
}

.design-image:not([src])::after,
.design-image[src=""]::after,
.design-image[src*="placeholder"]::after {
  content: "🎨";
}

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

.portfolio-video iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px 20px 0 0;
  object-fit: cover;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
}

.portfolio-overlay h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  opacity: 0.9;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: var(--light-gray);
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: var(--text-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.testimonial-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
}

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

.author-info h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--gradient-primary);
  color: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

.contact-item a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.submit-btn {
  width: 100%;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-light);
  opacity: 0.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  width: auto;
  height: auto;
  color: var(--white);
  text-decoration: none;
}

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

.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-links span {
  font-size: 0.9rem;
  font-weight: 500;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* Form validation styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  z-index: 10000;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

.success-content svg {
  width: 48px;
  height: 48px;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.success-content h3 {
  color: #065f46;
  margin-bottom: 0.5rem;
}

.success-content p {
  color: var(--text-gray);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.testimonial {
  opacity: 0.7;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
}

body:not(.loaded) * {
  animation-play-state: paused !important;
}

.animate {
  animation: fadeInUp 0.8s ease forwards;
}

/* Ensure CSS variables are properly loaded */
:root {
  --primary-color: #6366f1 !important;
  --secondary-color: #8b5cf6 !important;
  --accent-color: #06b6d4 !important;
  --text-dark: #1f2937 !important;
  --text-gray: #6b7280 !important;
  --text-light: #9ca3af !important;
  --white: #ffffff !important;
  --light-gray: #f9fafb !important;
  --border-color: #e5e7eb !important;
  --success-color: #10b981 !important;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%) !important;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-right {
    order: -1;
  }
  
  .hero-image {
    height: 50vh;
    min-height: 300px;
  }
  
  .video-preview {
    max-width: 100%;
    max-height: 280px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content {
    min-height: 70vh;
    gap: 2rem;
  }
  
  .hero-image {
    height: 40vh;
    min-height: 250px;
  }
  
  .video-preview {
    max-height: 200px;
  }
  
  /* Improved mobile portfolio */
  .portfolio-container {
    gap: 0.5rem;
  }
  
  .scroll-btn {
    width: 40px;
    height: 40px;
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .scroll-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .portfolio-grid {
    height: 480px;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .portfolio-item {
    width: 280px;
    height: 200px;
  }
  
  /* Touch-friendly tabs */
  .portfolio-tabs {
    gap: 0.25rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding: 0 0.5rem;
  }
  
  .tab-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: fit-content;
  }
  
  /* Mobile form improvements */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .hero-value-props {
    flex-direction: column;
    gap: 1rem;
  }
  
  .value-prop {
    min-width: 100%;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
  }

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

  .hamburger {
    display: flex;
  }

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

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

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-left h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-right h2 {
    font-size: 2rem;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .card-1,
  .card-2,
  .card-3 {
    position: static;
    margin: 0.5rem;
  }

  .floating-cards {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .services-section,
  .about-section,
  .portfolio,
  .testimonials,
  .contact {
    padding: 60px 0;
  }

  .section-header h2,
  .portfolio h2,
  .testimonials h2,
  .about-right h2,
  .contact-info h2 {
    font-size: 1.75rem;
  }

  .service-item,
  .contact-form {
    padding: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}