/* ========== BETTERFLY CARGO - MOBILE FIRST CSS ========== */
/* Google Fonts are now loaded in header.php */

:root {
  --blue: #1A365D;
  --blue-dark: #102A43;
  --blue-light: #EBF8FF;
  --red: #C51D23;
  --red-dark: #A1151A;
  --red-light: #FFF5F5;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body { font-family: 'Outfit', sans-serif; line-height: 1.6; color: var(--gray-700); background: var(--white); }

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--gray-900);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.8rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--red); }
.top-bar-left { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.top-bar-left span { display: flex; align-items: center; gap: 5px; }
.top-bar-right { display: flex; gap: 10px; }
.top-bar-right a {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 0.75rem;
  transition: var(--transition);
}
.top-bar-right a:hover { background: var(--red); transform: translateY(-2px); }

/* ========== NAVBAR ========== */
.navbar {
  background: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow-lg); }
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: block;
  max-width: 250px;
  height: 60px;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.navbar.scrolled .logo { height: 50px; }
.logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}
.nav-links { display: none; }
.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  gap: 12px;
  z-index: 999;
  border-top: 1px solid var(--gray-100);
}
.nav-links a {
  padding: 8px 12px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-900);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 30%; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 14px rgba(197, 29, 35, 0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(197, 29, 35, 0.4); }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--gray-900);
  border-radius: 3px;
  transition: var(--transition);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(197, 29, 35, 0.3);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(197, 29, 35, 0.4);
}
.btn-secondary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26, 54, 93, 0.3);
}
.btn-secondary:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-3px);
}

/* ========== HERO ========== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}
.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 span { color: var(--red); background: var(--white); padding: 2px 10px; border-radius: 8px; }
.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust-strip {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.trust-item i { font-size: 1.2rem; color: #fbbf24; }

/* ========== QUOTE FORM ========== */
.quote-section { padding: 50px 0; background: var(--gray-50); }
.quote-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-width: 750px;
  margin: 0 auto;
  border: 1px solid var(--gray-100);
}
.quote-form-card h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  text-align: center;
}
.quote-form-card p {
  text-align: center;
  color: var(--gray-500);
  margin-bottom: 30px;
  font-size: 1rem;
}
.form-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--gray-900);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-100);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--gray-50);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26,54,93,0.1);
  background: var(--white);
}
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.form-submit:hover { background: var(--red-dark); transform: translateY(-1px); }

/* ========== SECTION COMMON ========== */
.section { padding: 50px 0; }
.section-alt { background: var(--gray-50); }
.section-title {
  text-align: center;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.section-title p {
  color: var(--gray-500);
  max-width: 550px;
  margin: 0 auto;
  font-size: 0.95rem;
}
.section-title .line {
  width: 60px; height: 4px;
  background: var(--red);
  border-radius: 4px;
  margin: 10px auto 0;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--red);
}
.service-card .icon {
  width: 70px; height: 70px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--red);
  transition: var(--transition);
}
.service-card:hover .icon { background: var(--red); color: var(--white); transform: rotate(10deg); }
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.service-card p { font-size: 0.88rem; color: var(--gray-500); }

/* ========== PROCESS STEPS ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step .step-num {
  width: 48px; height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 14px;
  box-shadow: 0 4px 14px rgba(224,36,36,0.3);
}
.process-step h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.process-step p { font-size: 0.85rem; color: var(--gray-500); }

/* ========== WHY CHOOSE US ========== */
.why-grid { display: grid; gap: 16px; }
.why-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.why-card .icon-box {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.why-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.why-card p { font-size: 0.85rem; color: var(--gray-500); }

/* ========== TESTIMONIALS ========== */
.testimonials-grid { display: grid; gap: 20px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-card .stars { color: #fbbf24; margin-bottom: 10px; font-size: 0.9rem; }
.testimonial-card p { font-size: 0.9rem; font-style: italic; color: var(--gray-700); margin-bottom: 12px; }
.testimonial-card .author { font-weight: 700; font-size: 0.85rem; color: var(--gray-900); }
.testimonial-card .location { font-size: 0.8rem; color: var(--gray-500); }
.swiper-pagination-bullet { background: var(--blue) !important; opacity: 0.3; }
.swiper-pagination-bullet-active { opacity: 1; transform: scale(1.2); }

/* ========== FAQ ========== */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}
.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-question .arrow { transition: var(--transition); font-size: 0.8rem; }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 16px; }
.faq-answer p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { opacity: 0.9; margin-bottom: 24px; font-size: 0.95rem; }
.cta-banner .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== ABOUT PAGE ========== */
.page-header {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('assets/img/hero-agra.png') no-repeat center center/cover;
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.page-header h1 { font-size: 2rem; font-weight: 900; margin-bottom: 8px; }
.page-header p { opacity: 0.85; font-size: 1rem; }
.about-content { line-height: 1.8; }
.about-content p { margin-bottom: 16px; font-size: 0.95rem; }
.values-grid { display: grid; gap: 16px; margin-top: 30px; }
.value-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card .icon { font-size: 2rem; color: var(--blue); margin-bottom: 12px; }
.value-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.value-card p { font-size: 0.85rem; color: var(--gray-500); }

/* ========== CONTACT PAGE ========== */
.contact-grid { display: grid; gap: 30px; }
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-info-card .icon-box {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-info-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.contact-info-card p { font-size: 0.85rem; color: var(--gray-500); }
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-container iframe { width: 100%; height: 350px; border: 0; display: block; }

/* ========== FOOTER ========== */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid { display: grid; gap: 40px; margin-bottom: 50px; }
.footer h3 { color: var(--white); font-size: 1.2rem; font-weight: 700; margin-bottom: 25px; position: relative; }
.footer h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}
.footer p { font-size: 0.95rem; line-height: 1.8; }
.footer-links a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.footer-links a:hover { color: var(--white); padding-left: 10px; }
.footer-social { display: flex; gap: 15px; margin-top: 25px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--white);
  font-size: 1.1rem;
}
.footer-social a:hover { background: var(--red); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(197, 29, 35, 0.4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}

/* ========== FLOATING ELEMENTS ========== */
.floating-btns {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: #25d366; }
.float-call { background: var(--red); }

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== DESKTOP (768px+) ========== */
@media (min-width: 768px) {
  .hero { padding: 90px 0 70px; }
  .hero h1 { font-size: 2.8rem; }
  .section { padding: 70px 0; }
  .section-title h2 { font-size: 2rem; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: flex !important;
    position: static;
    box-shadow: none;
    padding: 0;
    gap: 4px;
    align-items: center;
    flex-direction: row;
  }
  .hamburger { display: none; }
  .top-bar-left { gap: 24px; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.2rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .quote-form-card { padding: 40px; }
  .logo { max-width: 320px; height: 80px; }
  .about-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .about-image div { margin-top: -15px !important; padding: 12px !important; }
}
