/* ===== B+Designs - Custom Styles ===== */

/* ----- CSS Variables ----- */
:root {
  --primary: #1e3a8a;
  --primary-dark: #1e40af;
  --secondary: #7c3aed;
  --accent: #8b5cf6;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --light: #f8fafc;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
  --gradient-secondary: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --light: #0f172a;
  --white: #1e293b;
  --dark: #f8fafc;
  --dark-light: #e2e8f0;
  --gray-100: #334155;
  --gray-200: #475569;
  --gray-500: #94a3b8;
  --gray-600: #cbd5e1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition);
}

[data-theme="dark"] body {
  background-color: var(--dark);
  color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* ----- Utility Classes ----- */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.bg-gradient-secondary {
  background: var(--gradient-secondary);
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ----- Glassmorphism ----- */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .glass {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition);
}

[data-theme="dark"] .glass-card {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* ----- Buttons ----- */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
  color: var(--white);
}

.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: var(--transition);
  display: inline-block;
}

.btn-outline-custom:hover {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
}

[data-theme="dark"] .btn-outline-custom {
  color: var(--accent);
  border-color: var(--accent);
}

/* ----- Navigation ----- */
.navbar-custom {
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar-custom.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

[data-theme="dark"] .navbar-custom.scrolled {
  background: rgba(15, 23, 42, 0.95);
}

.navbar-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

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

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  color: var(--dark) !important;
  position: relative;
}

[data-theme="dark"] .nav-link {
  color: var(--light) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

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

.nav-link:hover {
  color: var(--primary) !important;
}

.theme-toggle {
  background: var(--gray-100);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .theme-toggle {
  background: var(--dark-light);
}

.theme-toggle:hover {
  background: var(--gray-200);
  transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle:hover {
  background: var(--gray-600);
}

/* ----- Hero Section ----- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
  padding-top: 80px;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

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

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -200px;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -100px;
  left: -100px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero-shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title span {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

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

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-stat p {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
  top: 20%;
  left: -30px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 20%;
  right: -30px;
  animation-delay: 1.5s;
}

.floating-card i {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
}

.floating-card h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--dark);
}

.floating-card p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

/* ----- Services Section ----- */
.services-section {
  background: var(--light);
}

[data-theme="dark"] .services-section {
  background: var(--dark);
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .service-card {
  background: var(--dark-light);
  border-color: var(--gray-600);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.service-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-features li i {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* ----- Stats Section ----- */
.stats-section {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
  text-align: center;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ----- Clients Section ----- */
.clients-section {
  background: var(--white);
  padding: 60px 0;
}

[data-theme="dark"] .clients-section {
  background: var(--dark-light);
}

.client-logo {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: var(--transition);
  padding: 1rem 2rem;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ----- Testimonials Section ----- */
.testimonials-section {
  background: var(--gray-100);
}

[data-theme="dark"] .testimonials-section {
  background: var(--dark);
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

[data-theme="dark"] .testimonial-card {
  background: var(--dark-light);
  border-color: var(--gray-600);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h5 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.testimonial-info p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin: 0;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.9rem;
}

/* ----- CTA Section ----- */
.cta-section {
  background: var(--gradient-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: var(--secondary);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- About Page ----- */
.page-header {
  background: var(--gradient-dark);
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: var(--secondary);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.2;
}

.page-header-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.page-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--gray-300);
  max-width: 600px;
}

.about-image {
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}

.mission-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

[data-theme="dark"] .mission-card {
  background: var(--dark-light);
  border-color: var(--gray-600);
}

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

.mission-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  background: var(--gradient-primary);
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

[data-theme="dark"] .team-card {
  background: var(--dark-light);
  border-color: var(--gray-600);
}

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

.team-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-info h5 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.team-info p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-600);
  margin: 0 0.25rem;
  transition: var(--transition);
}

[data-theme="dark"] .team-social a {
  background: var(--gray-600);
  color: var(--light);
}

.team-social a:hover {
  background: var(--gradient-primary);
  color: var(--white);
}

/* ----- Portfolio Section ----- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-600);
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

[data-theme="dark"] .filter-btn {
  background: var(--dark-light);
  color: var(--gray-400);
}

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

.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

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

.portfolio-overlay h5 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  color: var(--gray-300);
  font-size: 0.9rem;
  margin: 0;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.portfolio-tag {
  padding: 4px 12px;
  background: rgba(124, 58, 237, 0.3);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.75rem;
}

/* ----- Pricing Section ----- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-toggle span {
  font-weight: 500;
}

.toggle-switch {
  width: 60px;
  height: 30px;
  background: var(--gray-200);
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-switch.active {
  background: var(--gradient-primary);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch.active::after {
  left: calc(100% - 27px);
}

.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  border: 2px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
}

[data-theme="dark"] .pricing-card {
  background: var(--dark-light);
  border-color: var(--gray-600);
}

.pricing-card.popular {
  border-color: var(--secondary);
  transform: scale(1.05);
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}

.pricing-name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
}

.pricing-price span {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-600);
}

.pricing-features li i {
  color: var(--secondary);
}

.pricing-features li.disabled {
  color: var(--gray-400);
  text-decoration: line-through;
}

.pricing-features li.disabled i {
  color: var(--gray-400);
}

/* ----- Blog Section ----- */
.blog-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  height: 100%;
}

[data-theme="dark"] .blog-card {
  background: var(--dark-light);
  border-color: var(--gray-600);
}

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

.blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--secondary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.blog-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.blog-meta img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

/* ----- Contact Section ----- */
.contact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

[data-theme="dark"] .contact-card {
  background: var(--dark-light);
  border-color: var(--gray-600);
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  color: var(--white);
  background: var(--gradient-primary);
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
}

[data-theme="dark"] .contact-form {
  background: var(--dark-light);
  border-color: var(--gray-600);
}

.form-control-custom {
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

[data-theme="dark"] .form-control-custom {
  background: var(--dark);
  color: var(--light);
}

.form-control-custom:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

[data-theme="dark"] .form-control-custom:focus {
  background: var(--dark-light);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

/* ----- Footer ----- */
.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 80px 0 30px;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  display: inline-block;
}

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

.footer-description {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

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

.footer-bottom p {
  color: var(--gray-500);
  margin: 0;
}

/* ----- Scroll to Top ----- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
}

/* ----- Responsive Styles ----- */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .hero-stat h3 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .navbar-collapse {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }
  
  [data-theme="dark"] .navbar-collapse {
    background: var(--dark-light);
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 60px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .hero-image {
    margin-top: 3rem;
  }
  
  .floating-card {
    display: none;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .pricing-price {
    font-size: 2.5rem;
  }
  
  .page-header {
    padding: 140px 0 60px;
  }
}

/* ----- Animation Classes ----- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Delay classes for staggered animations */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
