/* ===== RIDHI GLOBAL LTD - Master Stylesheet ===== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #2d3436;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
::selection { background: var(--blue-mid); color: #fff; }

/* --- Colour Variables --- */
:root {
  --blue-dark: #0c2d48;
  --blue-mid: #145da0;
  --blue-light: #2e86c1;
  --blue-pale: #ebf5fb;
  --orange: #e67e22;
  --orange-light: #f5c27a;
  --orange-dark: #cf6d17;
  --charcoal: #2d3436;
  --grey-light: #f7f9fa;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.13);
  --shadow-premium: 0 8px 32px rgba(12,45,72,0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Typography --- */
h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; color: var(--blue-dark); letter-spacing: -0.02em; }
h2 { font-size: 2rem; font-weight: 700; line-height: 1.3; color: var(--blue-dark); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; font-weight: 600; color: var(--charcoal); }
p { font-size: 1.05rem; color: #555; line-height: 1.75; }
.section-subtitle { font-size: 1.15rem; color: #666; max-width: 650px; margin: 0.5rem auto 2.5rem; line-height: 1.7; }
.section-h1 { font-size: 2rem; font-weight: 700; line-height: 1.3; color: var(--blue-dark); letter-spacing: -0.01em; }

/* --- Layout --- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 0; }
.section-alt { background: var(--grey-light); }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 6px;
  font-size: 1.05rem; font-weight: 600; cursor: pointer;
  transition: var(--transition); border: none;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--blue-mid); color: #fff; }
.btn-secondary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue-mid); border: 2px solid var(--blue-mid); }
.btn-outline:hover { background: var(--blue-mid); color: #fff; }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--blue-pale); }
.btn-sm { padding: 10px 22px; font-size: 0.95rem; }
.btn-cta-orange { background: var(--orange-light); color: var(--blue-dark); font-weight: 700; }
.btn-cta-orange:hover { background: #f0b76a; color: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ========== HEADER / NAV ========== */
.header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  position: sticky; top: 0; z-index: 1000;
}
.nav-wrapper {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; max-width: 1180px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { height: 48px; width: auto; }
.logo-text { font-size: 1.3rem; font-weight: 800; color: var(--charcoal); line-height: 1.1; }
.logo-text span { display: block; font-size: 0.75rem; font-weight: 400; color: #888; letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 16px; font-size: 0.95rem; font-weight: 500;
  color: var(--charcoal); border-radius: 6px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { background: var(--blue-pale); color: var(--blue-mid); }
.nav-links .btn { margin-left: 8px; }

.nav-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-dark); font-size: 1.05rem; }
.nav-phone svg { width: 18px; height: 18px; }

/* Mobile nav */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { width: 26px; height: 3px; background: var(--charcoal); border-radius: 2px; transition: var(--transition); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: #fff;
    box-shadow: var(--shadow); padding: 16px; gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-phone { display: none; }
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(160deg, #071e32 0%, var(--blue-dark) 30%, var(--blue-mid) 100%);
  color: #fff; padding: 90px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -15%;
  width: 700px; height: 700px; background: radial-gradient(circle, rgba(230,126,34,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 500px; height: 500px; background: radial-gradient(circle, rgba(46,134,193,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: 20px; max-width: 750px; position: relative; z-index: 1; }
.hero .motto {
  font-size: 1.25rem; color: rgba(255,255,255,0.9);
  margin-bottom: 32px; max-width: 600px; font-style: italic;
}
.hero .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat-number { font-size: 2rem; font-weight: 800; color: var(--orange); }
.hero-stats .stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 2px; }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 50px 0 60px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
}

/* ========== SERVICE CARDS ========== */
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 40px 30px; text-align: center;
  transition: var(--transition); border-top: 4px solid var(--blue-mid);
  position: relative;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--orange); border-radius: 2px;
  transition: width 0.35s ease;
}
.service-card:hover::after { width: 60%; }
.service-card .card-icon {
  width: 70px; height: 70px; background: var(--blue-pale);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.service-card .card-icon svg { width: 34px; height: 34px; color: var(--blue-mid); }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; margin-bottom: 20px; min-height: 60px; }

/* ========== TRUST SECTION ========== */
.trust-bar {
  background: var(--blue-pale); padding: 28px 0;
}
.trust-items {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--blue-dark); font-size: 0.95rem;
}
.trust-item svg { width: 24px; height: 24px; color: var(--orange); flex-shrink: 0; }

/* ========== WHY CHOOSE US ========== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feature-box {
  padding: 32px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); text-align: center; transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.feature-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-premium); }
.feature-box svg { width: 40px; height: 40px; color: var(--blue-mid); margin-bottom: 14px; }
.feature-box h3 { margin-bottom: 8px; font-size: 1.15rem; }
.feature-box p { font-size: 0.9rem; }

/* ========== PRICING TABLE ========== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 40px; }
.price-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-premium); }
.price-card .price-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: #fff; padding: 24px; text-align: center;
}
.price-card .price-header h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.price-card .price-amount { font-size: 2rem; font-weight: 800; }
.price-card .price-amount small { font-size: 0.8rem; font-weight: 400; opacity: 0.8; }
.price-card .price-body { padding: 24px; }
.price-card .price-body ul { margin-bottom: 20px; }
.price-card .price-body li {
  padding: 8px 0; font-size: 0.95rem; color: #555;
  border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 8px;
}
.price-card .price-body li svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.price-card.featured { border: 2px solid var(--orange); }
.price-card.featured .price-header { background: linear-gradient(135deg, var(--orange-dark), var(--orange)); }

/* ========== QUOTE FORM ========== */
.quote-form-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 60px 0; color: #fff;
}
.quote-form-section h2 { color: #fff; margin-bottom: 8px; }
.quote-form-section p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.quote-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
  max-width: 800px; margin: 0 auto; align-items: end;
}
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 6px; color: rgba(255,255,255,0.9);
}
.form-group input, .form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 6px; font-size: 1rem; background: rgba(255,255,255,0.1);
  color: #fff; transition: var(--transition);
}
.form-group input::placeholder { color: rgba(255,255,255,0.5); }
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--orange); background: rgba(255,255,255,0.15);
}
.form-group select option { color: var(--charcoal); background: #fff; }
.quote-form .btn { margin-top: 6px; width: 100%; text-align: center; }

/* ========== TESTIMONIALS ========== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 32px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition); position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-premium); }
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 12px; left: 20px;
  font-size: 4rem; color: var(--blue-pale); font-family: Georgia, serif; line-height: 1;
}
.testimonial-stars { color: #f1c40f; font-size: 1.2rem; margin-bottom: 12px; }
.testimonial-card p { font-style: italic; margin-bottom: 16px; font-size: 0.95rem; }
.testimonial-author { font-weight: 700; color: var(--blue-dark); font-size: 0.9rem; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  color: #fff; padding: 50px 0; text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; font-size: 2rem; }
.cta-banner p { color: rgba(255,255,255,0.9); margin-bottom: 24px; max-width: 550px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.cta-banner .btn-white { font-weight: 700; }

/* ========== PAGE HERO (for inner pages) ========== */
.page-hero {
  background: linear-gradient(160deg, #071e32 0%, var(--blue-dark) 30%, var(--blue-mid) 100%);
  color: #fff; padding: 70px 0; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 500px; height: 500px; background: radial-gradient(circle, rgba(230,126,34,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: #fff; font-size: 2.4rem; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }

/* ========== CONTENT SECTIONS ========== */
.content-with-image {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.content-with-image .content-text h2 { margin-bottom: 16px; }
.content-with-image .content-text p { margin-bottom: 16px; }
.content-image {
  background: linear-gradient(135deg, var(--blue-pale) 0%, #dbeef9 100%);
  border-radius: var(--radius-lg);
  height: 320px; display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--blue-mid);
  border: 1px solid rgba(20,93,160,0.08);
}
@media (max-width: 768px) {
  .content-with-image { grid-template-columns: 1fr; gap: 28px; }
  .content-image { height: 200px; }
}

/* Detail list for service pages */
.service-details { margin: 16px 0 24px; }
.service-details li {
  padding: 10px 0; display: flex; align-items: flex-start; gap: 10px;
  font-size: 1rem; color: #555; border-bottom: 1px solid #eee;
}
.service-details li svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(180deg, #071e32 0%, var(--blue-dark) 100%);
  color: rgba(255,255,255,0.8); padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 36px;
}
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer p { font-size: 0.9rem; line-height: 1.7; }
.footer-links a { display: block; padding: 4px 0; font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-contact li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 0.9rem; }
.footer-contact li svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center; font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== WHATSAPP WIDGET ========== */
.whatsapp-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
}
.whatsapp-widget a {
  display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 14px 22px;
  border-radius: 50px; font-weight: 700; font-size: 1rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-widget a:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
.whatsapp-widget svg { width: 26px; height: 26px; }

/* ========== TRUSTPILOT ========== */
.trustpilot-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; padding: 12px 20px; border-radius: 8px;
  box-shadow: var(--shadow); margin-top: 16px;
}
.trustpilot-badge .tp-stars { display: flex; gap: 2px; }
.trustpilot-badge .tp-star { width: 22px; height: 22px; background: #00b67a; border-radius: 2px; display: flex; align-items: center; justify-content: center; }
.trustpilot-badge .tp-star svg { width: 14px; height: 14px; fill: #fff; }
.trustpilot-badge .tp-text { font-size: 0.8rem; color: #555; }
.trustpilot-badge .tp-text strong { color: #191919; display: block; font-size: 0.9rem; }

/* ========== UTILITY ========== */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
