/* Red AI Studios - Cinematic Website Styles */

/* CSS Variables for Color Palette */
:root {
  --crimson-red: #D72638;
  --deep-charcoal: #0F0F10;
   --ivory-accent: #F8F5F2;
  --cool-grey: #9AA0A6;
  --glass-blur: rgba(217, 38, 56, 0.1);
  --glass-border: rgba(217, 38, 56, 0.2);
  --glow-effect: rgba(217, 38, 56, 0.4);
  
  /* Gradients */
  --crimson-gradient: linear-gradient(135deg, var(--crimson-red) 0%, #8B1538 100%);
  --dark-gradient: linear-gradient(135deg, var(--deep-charcoal) 0%, #1a1a1b 100%);
  --glass-gradient: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
}

/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--deep-charcoal);
  color: var(--ivory-accent);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Scroll Progress Indicator */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--crimson-gradient);
  z-index: 9999;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--glow-effect);
}

/* Particle Background */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
  opacity: 0.3;
}

.particle {
  position: absolute;
  background: var(--crimson-red);
  border-radius: 50%;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

/* Floating Veil */
#floating-veil {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, 
    rgba(217, 38, 56, 0.05) 0%, 
    transparent 50%);
  pointer-events: none;
  z-index: -1;
  transition: transform 0.1s ease;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--dark-gradient);
  background-image: url(../images/hero/img4.png);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  background: var(--crimson-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px var(--glow-effect);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--ivory-accent);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--cool-grey);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Lens Flare Effect */
.lens-flare {
  position: absolute;
  top: 20%;
  right: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, 
    rgba(217, 38, 56, 0.3) 0%, 
    rgba(217, 38, 56, 0.1) 30%, 
    transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
}

/* Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-family: inherit;
}

.cta-button.primary {
  background: var(--crimson-gradient);
  color: white;
  box-shadow: 0 10px 30px rgba(217, 38, 56, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: var(--ivory-accent);
  border: 2px solid var(--glass-border);
  backdrop-filter: blur(20px);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(217, 38, 56, 0.4);
}

.cta-button.primary:hover {
  box-shadow: 0 15px 40px rgba(217, 38, 56, 0.6);
}

/* Marquee Section */
.marquee-section {
  padding: 2rem 0;
  background: rgba(217, 38, 56, 0.1);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
}

.marquee-content {
  display: flex;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
  gap: 3rem;
  font-size: 1.1rem;
  font-weight: 500;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Sections */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: var(--crimson-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--cool-grey);
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Glass Cards */
.glass-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.glass-card {
  background: var(--glass-gradient);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(217, 38, 56, 0.5) 50%, 
    transparent 100%);
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: var(--crimson-red);
  box-shadow: 0 20px 40px rgba(217, 38, 56, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--crimson-red);
  margin-bottom: 1.5rem;
}

.glass-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ivory-accent);
}

.glass-card p {
  color: var(--cool-grey);
  line-height: 1.6;
}

/* Creation Tabs */
.creation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--glass-gradient);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.tab-button:hover {
  transform: translateY(-3px);
  border-color: var(--crimson-red);
  background: rgba(217, 38, 56, 0.1);
}

.tab-button.active {
  background: var(--crimson-gradient);
  color: white;
  border-color: var(--crimson-red);
  box-shadow: 0 10px 30px rgba(217, 38, 56, 0.3);
}

.tab-button.active:hover {
  background: var(--crimson-gradient);
  color: white;
}

.tab-button i {
  color: var(--crimson-red);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.tab-button.active i {
  color: white;
}

/* Tab Content */
.tab-content-container {
  margin-top: 4rem;
}

.tab-content {
  display: none;
  animation: fadeInUp 0.6s ease forwards;
}

.tab-content.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Image Slider */
.tab-images {
  position: relative;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cool-grey);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--crimson-red);
  box-shadow: 0 0 10px var(--glow-effect);
}

.dot:hover {
  background: var(--crimson-red);
  transform: scale(1.2);
}

/* Service Block */
.service-block {
  padding: 2rem;
}

.service-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ivory-accent);
  margin-bottom: 0.5rem;
  background: var(--crimson-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-subtitle {
  font-size: 1.25rem;
  color: var(--cool-grey);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.service-description {
  font-size: 1.1rem;
  color: var(--ivory-accent);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.service-features {
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--ivory-accent);
}

.feature i {
  color: var(--crimson-red);
  font-size: 0.9rem;
}

/* Pricing */
.pricing {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.original-price {
  font-size: 1.2rem;
  color: var(--cool-grey);
  text-decoration: line-through;
}

.discount-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--crimson-red);
}

.discount-badge {
  background: var(--crimson-gradient);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Service CTA Button */
.service-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: var(--crimson-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 10px 30px rgba(217, 38, 56, 0.3);
  width: 100%;
  justify-content: center;
}

.service-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(217, 38, 56, 0.5);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 16, 0.9);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--glass-gradient);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--glass-border);
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ivory-accent);
  background: var(--crimson-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.close-modal {
  font-size: 2rem;
  color: var(--cool-grey);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.close-modal:hover {
  color: var(--crimson-red);
}

.modal-body {
  padding: 2rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--ivory-accent);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--ivory-accent);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group select option {
  background-color: #444;   /* Dropdown background */
  color: #fff;              /* Dropdown text color */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--crimson-red);
  box-shadow: 0 0 0 3px rgba(217, 38, 56, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--cool-grey);
}

.form-group input[readonly] {
  background: rgba(217, 38, 56, 0.1);
  color: var(--crimson-red);
  font-weight: 500;
}

.error-message {
  display: block;
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  min-height: 1rem;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--crimson-gradient);
  color: white;
  box-shadow: 0 5px 20px rgba(217, 38, 56, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 38, 56, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--cool-grey);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  color: var(--ivory-accent);
  border-color: var(--cool-grey);
}

/* Steps Container */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--crimson-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(217, 38, 56, 0.3);
}

.step-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ivory-accent);
}

.step-content p {
  color: var(--cool-grey);
  margin-bottom: 1.5rem;
}

.step-icon {
  font-size: 2rem;
  color: var(--crimson-red);
}

.step-arrow {
  font-size: 2rem;
  color: var(--cool-grey);
}

/* Callout Section */
.callout-section {
  background: var(--glass-gradient);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 6rem 0;
  text-align: center;
  position: relative;
}

.callout-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--crimson-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.callout-subtitle {
  font-size: 1.25rem;
  color: var(--cool-grey);
  margin-bottom: 3rem;
}

.callout-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* CTA Cards */
.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.cta-card {
  background: var(--glass-gradient);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.cta-card:hover {
  transform: translateY(-10px);
  border-color: var(--crimson-red);
  box-shadow: 0 25px 50px rgba(217, 38, 56, 0.2);
}

.cta-card-icon {
  font-size: 3rem;
  color: var(--crimson-red);
  margin-bottom: 2rem;
}

.cta-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ivory-accent);
}

.cta-card p {
  color: var(--cool-grey);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-card-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--crimson-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.cta-card-button:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(217, 38, 56, 0.4);
}

/* Final CTA */
.final-cta {
  text-align: center;
  margin-top: 4rem;
}

.final-cta-button {
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--crimson-gradient);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  box-shadow: 0 15px 40px rgba(217, 38, 56, 0.3);
}

.final-cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(217, 38, 56, 0.5);
}

/* Footer */
.footer {
  background: var(--dark-gradient);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  position: relative;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--crimson-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-glow {
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--crimson-red);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--glow-effect);
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cool-grey);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--crimson-red);
  transform: translateY(-2px);
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--cool-grey);
  font-size: 0.9rem;
}

/* Animation Classes */
.animate-reveal {
  opacity: 0;
  transform: translateY(50px);
  animation: reveal 1s ease forwards;
}

.animate-reveal:nth-child(1) { animation-delay: 0.1s; }
.animate-reveal:nth-child(2) { animation-delay: 0.2s; }
.animate-reveal:nth-child(3) { animation-delay: 0.3s; }
.animate-reveal:nth-child(4) { animation-delay: 0.4s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Magnetic Hover Effect */
.magnetic-hover {
  transition: transform 0.1s ease;
}

/* Responsive Design - Mobile First Approach */

/* Tablet Styles */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .glass-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .cta-cards {
    gap: 1.5rem;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .cta-button {
    width: 280px;
    justify-content: center;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
  }
  
  .callout-title {
    font-size: 2.5rem;
  }
  
  .callout-section {
    padding: 4rem 0;
  }
  
  .callout-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
  
  .glass-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .glass-card {
    padding: 2rem;
  }
  
  .cta-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cta-card {
    padding: 2rem;
  }
  
  .creation-tabs {
    gap: 1rem;
  }
  
  .tab-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .tab-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .image-slider {
    height: 300px;
  }
  
  .service-block {
    padding: 1.5rem 0;
  }
  
  .service-title {
    font-size: 2rem;
  }
  
  .modal-content {
    width: 95%;
    margin: 1rem;
  }
  
  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-links {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  /* Optimize particle system for mobile */
  #particles-container {
    opacity: 0.2;
  }
  
  /* Reduce lens flare intensity on mobile */
  .lens-flare {
    opacity: 0.3;
    width: 200px;
    height: 200px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .cta-button {
    width: 100%;
    max-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .callout-section {
    padding: 3rem 0;
  }
  
  .callout-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
  
  .cta-card {
    padding: 1.5rem;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .step-content h3 {
    font-size: 1.25rem;
  }
  
  .tab-button {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .service-title {
    font-size: 1.75rem;
  }
  
  .service-subtitle {
    font-size: 1rem;
  }
  
  .image-slider {
    height: 250px;
  }
  
  .final-cta-button {
    width: 100%;
    max-width: 350px;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
}

/* Extra Small Screens */
@media (max-width: 360px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .callout-title {
    font-size: 1.8rem;
  }
  
  .glass-card, .cta-card {
    padding: 1.25rem;
  }
  
  .container {
    padding: 0 0.5rem;
  }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .callout-section {
    padding: 2.5rem 0;
  }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
  .cta-button:hover,
  .glass-card:hover,
  .creation-tag:hover,
  .cta-card:hover {
    transform: none;
  }
  
  .cta-button:active {
    transform: scale(0.98);
  }
  
  .glass-card:active,
  .creation-tag:active,
  .cta-card:active {
    transform: translateY(-2px);
  }
  
  /* Disable magnetic hover on touch devices */
  .magnetic-hover {
    pointer-events: auto;
  }
}


/*custom css*/

.shadow-black {
  text-shadow: 0 4px 10px rgba(0, 0, 0, 1);
}
.shadow-white {
  text-shadow: 0 4px 10px rgba(255, 255, 255, 1);
}
.hero-description {
  color: var(--ivory-accent);

}

.cta-card-button{
  text-decoration: none;
}

.card-icon img{
  width: 100%;
  border-radius: 15px;
}


/*bg music*/

#music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0,0,0,0.6);
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  z-index: 999;
  transition: background-color 0.3s, transform 0.3s;
}

#music-toggle:hover {
  background-color: rgba(0,0,0,0.8);
  transform: scale(1.1);
}

/* Pulsing animation when music is playing */
#music-toggle.playing {
  animation: pulse 1.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.5); }
  70% { box-shadow: 0 0 0 15px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
