/* =========================================================
   TechnoStar Infotech – Home Page Specific Styles
   Theme: Modern, Clean & Interactive
========================================================= */

/* --- 1. Hero Section Enhancements --- */

/* Hero Image Shadow & Float */
.hero-visual img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  transition: transform 0.5s ease;
}

.hero-visual img:hover {
  transform: scale(1.02) translateY(-10px);
}

/* --- 2. Service Cards (Home Page Special) --- */
/* Ye cards ko thoda extra pop dega compared to other pages */

.services-section .glass-card {
  border-top: 4px solid transparent; /* Ready for hover color */
}

/* Blue Icon Card Hover (Laptop Repair) */
.glass-card:hover .blue-icon {
  background: #2563eb;
  color: white;
  transform: rotateY(180deg);
  transition: 0.5s;
}

/* Green Icon Card Hover (Cyber Cafe) */
.glass-card:hover .green-icon {
  background: #16a34a;
  color: white;
  transform: rotateY(180deg);
  transition: 0.5s;
}

/* Purple Icon Card Hover (Tech Support) */
.glass-card:hover .purple-icon {
  background: #7c3aed;
  color: white;
  transform: rotateY(180deg);
  transition: 0.5s;
}

/* --- 3. Stats Section --- */
.hero-stats {
  border-top: 1px solid #e2e8f0;
  margin-top: 40px;
  padding-top: 20px;
}

.stat-item strong {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
}

/* --- 4. CTA Section (Modern Gradient) --- */
/* Ye index.html ke niche wale sections ke liye hai */

.section.cta-modern {
  background: linear-gradient(135deg, #0b2c5f 0%, #1e40af 100%);
  position: relative;
  overflow: hidden;
  color: white;
  padding: 80px 0;
  border-radius: 0; /* Full width styling */
}

/* Decorative Circle Background */
.section.cta-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.section.cta-modern h2 {
  color: white;
  margin-bottom: 15px;
}

.section.cta-modern p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

/* White Button for Dark Backgrounds */
.btn-white {
  background: white;
  color: #0b2c5f;
  font-weight: 700;
  border: none;
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- 5. Testimonial / Why Choose Us Grid --- */

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

.why-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border: 1px solid #f1f5f9;
  transition: 0.3s;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: #38bdf8;
}

/* --- 6. Mobile Tweaks --- */
@media (max-width: 768px) {
  .hero-visual img {
    margin-top: 30px;
    max-width: 100%; /* Changed from 80% to 100% for better view */
  }
}
