/* ============================================
   HOME PAGE STYLES - Naved Infratech
   ============================================ */

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
}

.animated-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--white);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--white);
  top: 60%;
  right: 15%;
  animation-delay: 5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--white);
  bottom: 20%;
  left: 50%;
  animation-delay: 10s;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1100px;
  padding: 2rem;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, var(--white), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-btn {
  min-width: 200px;
}

.btn-arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform var(--transition-normal);
}

.hero-btn:hover .btn-arrow {
  transform: translateX(5px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.hero-stats .stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.hero-stats .stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.scroll-indicator span {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  margin: 0 auto;
  position: relative;
}

.scroll-arrow::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0%,
  100% {
    top: 10px;
    opacity: 1;
  }
  50% {
    top: 30px;
    opacity: 0.3;
  }
}

/* Trust Indicators */
.trust-indicators {
  padding: 3rem 0;
  background: var(--white);
  margin-top: -3rem;
  position: relative;
  z-index: 20;
}

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

.trust-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.trust-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.trust-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.trust-item h4 {
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* About Preview Section */
.about-preview {
  padding: 6rem 0;
  background: var(--white);
}

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

.about-preview-image {
  position: relative;
}

.about-preview-image .image-placeholder {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border-light);
}

.about-preview-image .placeholder-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.image-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.badge-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.badge-text {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.about-preview-content h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-preview-content > p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

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

.feature-text strong {
  color: var(--text-dark);
  font-size: 1.0625rem;
}

.feature-text span {
  color: var(--text-gray);
  font-size: 0.95rem;
}

/* Featured Services Section */
.featured-services {
  padding: 6rem 0;
  background: var(--light-bg);
}

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

.section-header .section-title {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-header .section-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

.services-showcase {
  margin-bottom: 3rem;
}

.service-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 4rem;
  position: relative;
}

.service-featured-badge {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 10;
}

.service-featured-image {
  background: var(--light-bg);
}

.service-featured-image .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.service-featured-image .placeholder-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.service-featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-featured-content h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.service-featured-content > p {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-highlights li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-gray);
  font-size: 1rem;
}

.service-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.125rem;
}

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

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.service-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h4 {
  font-size: 1.375rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

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

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

.service-link:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
  display: inline-block;
}

.services-cta-center {
  text-align: center;
  margin-top: 3rem;
}

/* Projects Showcase */
.projects-showcase {
  padding: 6rem 0;
  background: var(--white);
}

.projects-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.project-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  animation: slideIn 0.5s ease;
}

.project-slide.active {
  display: grid;
}

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

.project-slide-image {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.project-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-slide-image .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-slide-image .placeholder-icon {
  font-size: 5rem;
  opacity: 0.3;
}

.project-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 102, 204, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.project-slide-content h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.project-location {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.project-description {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 0.75rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background: var(--border-light);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 6px;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 6rem 0;
  background: var(--light-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.why-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  transform: scaleY(0);
  transition: transform var(--transition-normal);
}

.why-card:hover::before {
  transform: scaleY(1);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.why-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.15;
  margin-bottom: -1rem;
  line-height: 1;
}

.why-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.why-card h4 {
  font-size: 1.375rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.why-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Process Section */
.process-section {
  padding: 6rem 0;
  background: var(--white);
}

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

.process-step {
  background: var(--light-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.process-step:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.process-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-primary);
}

.process-content h4 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.process-content p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background: var(--light-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.testimonial-rating {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

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

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  color: var(--text-dark);
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
}

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

/* Final CTA Section */
.final-cta {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
}

.final-cta .cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.final-cta p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.final-cta .cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.final-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.final-cta .btn-primary:hover {
  background: var(--light-bg);
  color: var(--primary-dark);
}

.final-cta .btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.final-cta .btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.cta-info {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.cta-info-icon {
  font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero {
    min-height: auto;
    padding: 8rem 2rem 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-featured {
    grid-template-columns: 1fr;
  }

  .service-featured-content {
    padding: 2rem;
  }

  .service-highlights {
    grid-template-columns: 1fr;
  }

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

  .project-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

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

  .cta-info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .scroll-indicator {
    display: none;
  }
}
