/* Web.css - Professional Website Development Page Styles */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #f59e0b;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #64748b;
  --success: #10b981;
  --border: #e2e8f0;
  --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);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--dark);
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 700px;
  margin: 30px auto 0;
}

/* 3D Background Shapes */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: var(--primary);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: var(--secondary);
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: var(--accent);
  bottom: 10%;
  left: 20%;
  animation-delay: 4s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L1000,0 L1000,1000 L0,1000 Z"></path></svg>');
  background-size: cover;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.brand-highlight {
  color: var(--accent);
  font-weight: 700;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.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;
}

.btn:hover {
  background: #e69008;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn:hover::before {
  left: 100%;
}

.btn.pulse {
  animation: pulse 2s infinite;
}

.hero-highlights {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  list-style: none;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  opacity: 0.9;
}

.hero-highlights i {
  color: var(--accent);
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 60%; right: 15%; animation-delay: 1s; }
.floating-element:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 2s; }
.floating-element:nth-child(4) { top: 40%; right: 25%; animation-delay: 1.5s; }
.floating-element:nth-child(5) { bottom: 20%; right: 10%; animation-delay: 2.5s; }

/* Services Details */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.detail-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.detail-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.detail-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
}

.detail-icon::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: pulse 2s infinite;
}

.detail-icon i {
  font-size: 2rem;
  color: white;
}

.detail-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
  text-align: center;
}

.detail-card p {
  color: var(--gray);
  margin-bottom: 25px;
  text-align: center;
}

.detail-card ul {
  list-style: none;
  text-align: left;
}

.detail-card ul li {
  padding: 8px 0;
  color: var(--dark);
  position: relative;
  padding-left: 25px;
}

.detail-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* Technology Stack */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.tech-category {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.tech-category h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--dark);
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.tech-category h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-item {
  background: var(--light);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px;
  width: 2px;
  height: 100%;
  background: var(--border);
  z-index: 1;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  box-shadow: var(--shadow);
}

.step-content {
  flex: 1;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.step-content p {
  color: var(--gray);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
}

.benefit h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.benefit p {
  color: var(--gray);
}

/* Case Studies */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.case {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.case::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.case:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.case h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.case p {
  color: var(--gray);
  margin-bottom: 20px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container details {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-container summary {
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: all 0.3s ease;
}

.faq-container summary:hover {
  background: var(--light);
}

.faq-container summary::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.faq-container details[open] summary::after {
  content: '-';
}

.faq-container details[open] summary {
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.faq-container p {
  padding: 0 25px 25px;
  color: var(--gray);
  line-height: 1.7;
}

/* CTA Contact Section */
.cta-contact {
  background: linear-gradient(135deg, var(--dark) 0%, #2d3748 100%);
  color: white;
}

.cta-contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.cta {
  text-align: left;
}

.cta-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.contact {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact h2 {
  color: var(--dark);
  margin-bottom: 25px;
  text-align: center;
  font-size: 1.5rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact input,
.contact select,
.contact textarea {
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.appear {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.appear {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero-highlights {
    flex-direction: column;
    align-items: center;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .cases {
    grid-template-columns: 1fr;
  }
  
  .cta-contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-steps::before {
    left: 20px;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .step-content {
    text-align: left;
  }
  
  .floating-element {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .detail-card,
  .tech-category,
  .benefit,
  .case {
    padding: 25px 20px;
  }
  
  .contact {
    padding: 30px 20px;
  }
}