/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary-blue: #004a99; /* Deep metallic blue from 'SAI RAM' */
  --primary-blue-dark: #003366;
  --primary-orange: #ff6600; /* Vibrant orange from 'OM' */
  --primary-orange-dark: #cc5200;
  --accent-green: #006628; /* Forest green from 'SCRAP DEALER' badge */
  --accent-green-dark: #004d1e;
  --bg-color: #f8f9fa;
  --text-dark: #212529;
  --text-light: #6c757d;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 0.4rem 0;
  font-size: 0.85rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: var(--white);
  margin-left: 1rem;
}

.top-bar a:hover {
  color: var(--primary-orange);
}

.navbar {
  padding: 0.3rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-orange);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-orange);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--accent-green);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--accent-green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-orange);
}

/* Hero Modern Section */
.hero-modern {
  background-color: #f4f8ff;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary-blue-dark);
}

.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  color: var(--text-dark);
}

.trust-badge-small {
  display: inline-block;
  background-color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-blue);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.trust-bar span {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.trust-bar span i {
  color: var(--accent-green);
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

/* Problem Section */
.bg-light {
  background-color: #ffffff;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
}

.benefits-list {
  margin-top: 2rem;
}

.benefits-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
}

.benefits-list li i {
  margin-top: 5px;
  margin-right: 15px;
  font-size: 1.2rem;
}

/* Rating Summary */
.rating-summary {
  margin-top: -1.5rem;
  margin-bottom: 3rem;
}

.rating-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.rating-stars {
  font-size: 1.5rem;
  color: #fbbc04;
  margin: 0.5rem 0;
}

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

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid var(--primary-blue);
}

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

.service-icon {
  font-size: 3rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
}

/* How It Works */
.steps-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 10px rgba(253, 126, 20, 0.1);
}

/* CTA Section */
.cta-section {
  background-color: var(--accent-green);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: #f8f9fa;
}

/* Contact Area */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-item h4 {
  margin-bottom: 0.25rem;
  color: var(--primary-blue);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 8px;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  color: var(--primary-orange);
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: #ccc;
}

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

.footer-links a {
  color: #ccc;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #999;
}

/* About Page Specific */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text ul {
  margin-top: 1.5rem;
}

.about-text li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.about-text li i {
  color: var(--accent-green);
  margin-right: 10px;
}

/* Page Header */
.page-header {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-modern h1 {
    font-size: 2.5rem;
  }
  
  .hero-content, .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-image img {
    transform: none;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .contact-wrapper, .about-content {
    grid-template-columns: 1fr;
  }
  
  .top-bar {
    display: none;
  }
}

/* ====== NEW AESTHETICS & UPGRADES ====== */

/* Glassmorphism Header */
header {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dynamic Hover Effects */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  background: rgba(255, 255, 255, 0.2);
  display: block;
  position: absolute;
  border-radius: 50%;
  padding-top: 200%;
  padding-left: 200%;
  margin-top: -100%;
  margin-left: -100%;
  opacity: 0;
  transition: all 0.8s;
}
.btn:active::after {
  padding: 0;
  margin: 0;
  opacity: 1;
  transition: 0s;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}
.service-icon {
  transition: transform 0.3s ease;
  display: inline-block;
}

/* GMB Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.review-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid #e0e0e0;
  position: relative;
}
.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.reviewer-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #4285F4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 1rem;
}
.reviewer-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
  color: #202124;
}
.reviewer-info p {
  margin-bottom: 0;
  font-size: 0.8rem;
  color: #70757a;
}
.google-logo {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 20px;
}
.stars {
  color: #fbbc04;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.review-text {
  font-size: 0.95rem;
  color: #3c4043;
  line-height: 1.5;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.pricing-table th {
  background-color: var(--primary-blue);
  color: var(--white);
  font-weight: 600;
}
.pricing-table tr:hover {
  background-color: #f1f8ff;
}
.price-badge {
  background-color: #e8f5e9;
  color: var(--accent-green-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: bold;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}
.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--primary-blue);
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
}
.faq-question:hover {
  background-color: #f8f9fa;
}
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background: var(--white);
}
.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Areas We Serve Tags */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}
.area-tag {
  background: var(--white);
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  transition: var(--transition);
}
.area-tag:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ====== Floating WhatsApp & Call Buttons ====== */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.floating-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.floating-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.floating-btn.call {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
}

/* Pulse animation for WhatsApp */
.floating-btn.whatsapp {
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }

  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}
