/* BriTech Prime Homepage Styles */

/* CSS Variables for consistent theming */
:root {
  /* Color Palette */
  --primary-gradient: linear-gradient(135deg, #2c3e50 0%, #667eea 50%, #764ba2 100%);
  --accent-blue: #3498db;
  --accent-purple: #764ba2;
  --success-green: #27ae60;
  --text-dark: #2c3e50;
  --text-medium: #5a6c7d;
  --text-light: #8795a1;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-lighter: #e9ecef;
  --border-light: rgba(0, 0, 0, 0.1);
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Fira Code', 'Monaco', 'Consolas', monospace;
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: 80px 0;
  --element-radius: 12px;
  --button-radius: 8px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

/* Gradient Text Effect */
.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.nav-brand .brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-medium);
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.portal-link {
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent-blue);
  border-radius: var(--button-radius);
  color: var(--accent-blue) !important;
}

.portal-link:hover {
  background: var(--accent-blue);
  color: white !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--button-radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-medium);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
}

.cta-button.secondary {
  background: transparent;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
}

.cta-button.secondary:hover {
  background: var(--accent-blue);
  color: white;
}

.cta-button.outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-light);
}

.cta-button.outline:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.cta-button.large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 200, 255, 0.2) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite alternate;
}

@keyframes particleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(1deg); }
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.05) 0%, rgba(102, 126, 234, 0.1) 50%, rgba(118, 75, 162, 0.05) 100%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
  font-size: 1.2rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-blue);
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-heavy);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition-smooth);
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.code-snippet {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bg-lighter);
  margin-bottom: 1rem;
}

.code-dots {
  display: flex;
  gap: 0.25rem;
}

.code-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-lighter);
}

.code-dots span:first-child { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28ca42; }

.code-title {
  font-weight: 600;
  color: var(--text-medium);
}

.code-line {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.code-keyword { color: #d73a49; }
.code-variable { color: #005cc5; }
.code-property { color: #6f42c1; }
.code-string { color: #032f62; }

.indent { padding-left: 1rem; }
.indent2 { padding-left: 2rem; }

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  animation: float 6s ease-in-out infinite;
}

.app-icon {
  top: 20%;
  right: -10%;
  animation-delay: 0s;
}

.web-icon {
  bottom: 20%;
  left: -10%;
  animation-delay: 2s;
}

.code-icon {
  top: 60%;
  right: 10%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.875rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 1px;
  height: 30px;
  background: var(--text-light);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--text-light);
  border-bottom: 1px solid var(--text-light);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Section Styles */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: var(--element-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: translateY(-4px);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-blue);
}

.service-card:hover::before {
  transform: translateY(0);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: white;
  stroke-width: 2;
}

.service-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.service-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: var(--bg-light);
  color: var(--text-medium);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.service-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-lighter);
  color: var(--accent-blue);
  font-weight: 600;
}

.cta-arrow {
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .cta-arrow {
  transform: translateX(5px);
}

.services-footer {
  text-align: center;
}

/* Portfolio Section */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--bg-lighter);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-medium);
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(52, 152, 219, 0.1);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.portfolio-item {
  border-radius: var(--element-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.portfolio-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mobile-preview .app-mockup {
  width: 200px;
  height: 350px;
  background: white;
  border-radius: 25px;
  padding: 20px;
  box-shadow: var(--shadow-medium);
  border: 8px solid #333;
}

.app-header {
  background: var(--primary-gradient);
  color: white;
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.app-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-card {
  height: 60px;
  background: var(--bg-light);
  border-radius: 8px;
}

.web-preview .web-mockup {
  width: 300px;
  height: 200px;
  background: white;
  border-radius: 8px;
  padding: 8px;
  box-shadow: var(--shadow-medium);
  border: 2px solid #ddd;
}

.web-header {
  height: 20px;
  background: var(--bg-lighter);
  border-radius: 4px;
  margin-bottom: 8px;
}

.web-nav {
  height: 8px;
  background: var(--accent-blue);
  border-radius: 2px;
  width: 70%;
}

.web-hero {
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 6px;
  margin-bottom: 8px;
}

.web-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}

.web-card {
  height: 40px;
  background: var(--bg-light);
  border-radius: 4px;
}

.ecommerce-preview .ecommerce-mockup {
  width: 280px;
  height: 200px;
  background: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-medium);
  border: 2px solid #ddd;
}

.ecommerce-header {
  background: var(--accent-blue);
  color: white;
  padding: 8px;
  border-radius: 4px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.ecommerce-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-card {
  height: 60px;
  background: var(--bg-light);
  border-radius: 4px;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-stack span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
}

.btn-view {
  background: var(--accent-blue);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--button-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  align-self: flex-start;
}

.btn-view:hover {
  background: var(--accent-purple);
}

.portfolio-footer {
  text-align: center;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-light);
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--element-radius);
  box-shadow: var(--shadow-light);
  text-align: center;
  margin: 0 10px;
}

.testimonial-content {
  margin-bottom: 2rem;
}

.testimonial-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-medium);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
}

.author-role {
  font-size: 0.875rem;
  color: var(--text-light);
}

.testimonial-rating {
  font-size: 1.25rem;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.carousel-btn {
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--accent-blue);
  box-shadow: var(--shadow-medium);
  transition: var(--transition-smooth);
  pointer-events: all;
}

.carousel-btn:hover {
  background: var(--accent-blue);
  color: white;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--bg-lighter);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active,
.dot:hover {
  background: var(--accent-blue);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--accent-blue) 100%);
  color: white;
  text-align: center;
}

.cta-title {
  color: white;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #f1f1f1;
  opacity: 0.85;
}

.cta-actions {
  margin-bottom: 3rem;
}

.cta-contact {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

.phone-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  margin-left: 0.5rem;
}

.phone-link:hover {
  text-decoration: underline;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.cta-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
}

.feature-icon {
  font-size: 2rem;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 300px;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.brand-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  color: var(--accent-blue);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.footer-column a:hover {
  color: var(--accent-blue);
  padding-left: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-legal a:hover {
  color: var(--accent-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links .nav-link {
    font-size: 1.25rem;
    margin: 1rem 0;
  }
  
  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .mobile-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:last-child {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero {
    min-height: 80vh;
    padding-top: 100px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .cta-button {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .hero-card {
    transform: none;
    padding: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-filters {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  
  .carousel-controls {
    display: none;
  }
  
  .cta-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
  }
  
  .mobile-preview .app-mockup {
    width: 150px;
    height: 270px;
  }
  
  .web-preview .web-mockup {
    width: 250px;
    height: 150px;
  }
  
  .ecommerce-preview .ecommerce-mockup {
    width: 240px;
    height: 160px;
  }
}

/* Animation Classes */
.animate {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Print Styles */
@media print {
  .navbar,
  .mobile-toggle,
  .floating-elements,
  .scroll-indicator {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .portfolio-item,
  .testimonial-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}


.subscription-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px auto;
}

.subscription-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(0, 255, 204, 0.1) 50%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.subscription-section:hover::before {
    opacity: 1;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shapes::before,
.floating-shapes::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ffcc, #0066ff);
    opacity: 0.1;
    filter: blur(80px);
    animation: float 6s ease-in-out infinite;
}

.floating-shapes::before {
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.floating-shapes::after {
    bottom: -100px;
    right: -100px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* .subscription-section{
    background: linear-gradient(135deg, #1e3c72, #2a5298, #6a11cb, #2575fc);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
} */
.subscription-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #00ffcc, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

.subscription-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.subscription-form {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.email-input {
    flex: 1;
    padding: 20px 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.email-input:focus {
    border-color: #00ffcc;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.3);
    transform: translateY(-2px);
}

.subscribe-btn {
    padding: 20px 32px;
    background: linear-gradient(135deg, #00ffcc, #0066ff);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.subscribe-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.subscribe-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 255, 204, 0.3);
}

.subscribe-btn:hover::before {
    left: 100%;
}

.subscribe-btn:active {
    transform: translateY(-2px);
}

.features {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.feature {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #00ffcc, #0066ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon::after {
    content: '✓';
    color: white;
    font-size: 10px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .subscription-section {
        padding: 40px 24px;
        margin: 20px;
    }

    .subscription-title {
        font-size: 2.5rem;
    }

    .subscription-subtitle {
        font-size: 1.1rem;
    }

    .subscription-form {
        flex-direction: column;
    }

    .features {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .subscription-title {
        font-size: 2rem;
    }

    .email-input, .subscribe-btn {
        padding: 16px 20px;
    }
}

/* Glow animation */
.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(0, 255, 204, 0.2); }
    to { box-shadow: 0 0 30px rgba(0, 255, 204, 0.4); }
}


.footer-socials {
  margin-bottom: 25px;
}

.footer-socials .social-icon {
  display: inline-block;
  margin: 0 10px;
  font-size: 1.5rem;
  color: #d1d5db;
  transition: all 0.3s ease;
}

.footer-socials .social-icon.linkedin:hover {
  color: #0a66c2; /* LinkedIn Blue */
  transform: scale(1.2);
}

.footer-socials .social-icon.twitter:hover {
  color: #1da1f2; /* Twitter Blue */
  transform: scale(1.2);
}

.footer-socials .social-icon.github:hover {
  color: #fff; /* White GitHub */
  transform: scale(1.2);
}
