/* =============================================
   HP GAS CONNECT - Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --hp-blue: #003087;
  --hp-dark-blue: #001f5b;
  --hp-yellow: #FFD700;
  --hp-orange: #FF6B00;
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --gray: #6c757d;
  --dark: #1a1a2e;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --shadow: 0 4px 20px rgba(0, 48, 135, 0.15);
  --shadow-hover: 0 8px 30px rgba(0, 48, 135, 0.25);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ---- Reset & Base ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-gray);
  color: var(--dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  background: var(--hp-blue);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand .logo-icon {
  width: 45px;
  height: 45px;
  background: var(--hp-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--hp-blue);
  font-family: 'Rajdhani', sans-serif;
}

.navbar-brand .brand-text {
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar-brand .brand-text span {
  color: var(--hp-yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 215, 0, 0.2);
  color: var(--hp-yellow);
}

.nav-emergency {
  background: var(--danger) !important;
  color: white !important;
  border-radius: 8px;
  padding: 8px 16px !important;
  font-weight: 600 !important;
}

.nav-emergency:hover {
  background: #c0392b !important;
  color: white !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--hp-dark-blue) 0%, var(--hp-blue) 60%, #1a56b0 100%);
  color: white;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 215, 0, 0.07);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: rgba(255, 215, 0, 0.05);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--hp-yellow);
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  padding: 13px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--hp-yellow);
  color: var(--hp-blue);
}

.btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--hp-blue);
  color: white;
}

.btn-blue:hover {
  background: var(--hp-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #c0392b;
  transform: translateY(-2px);
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover {
  background: #218838;
  transform: translateY(-2px);
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section {
  padding: 60px 40px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--hp-blue);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--gray);
  font-size: 16px;
}

.section-title .underline {
  width: 60px;
  height: 4px;
  background: var(--hp-yellow);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* =============================================
   CARDS
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border-top: 4px solid var(--hp-blue);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--hp-blue), #1a56b0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--hp-dark-blue);
  margin-bottom: 10px;
}

.card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

/* =============================================
   TICKER / MARQUEE
   ============================================= */
.ticker-bar {
  background: var(--hp-yellow);
  color: var(--hp-blue);
  padding: 10px 0;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* =============================================
   FORMS
   ============================================= */
.form-container {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 650px;
  margin: 0 auto;
}

.form-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--hp-blue);
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-dark-blue);
  margin-bottom: 7px;
}

.form-group label span.required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e6f0;
  border-radius: 10px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
  background: #fafbff;
  color: var(--dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--hp-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  background: #e8f0fe;
  border-left: 4px solid var(--hp-blue);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  font-size: 13px;
  color: var(--hp-blue);
  margin-bottom: 24px;
}

/* =============================================
   ORDER ID DISPLAY
   ============================================= */
.order-success {
  display: none;
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  border: 2px solid var(--success);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  margin-top: 24px;
}

.order-success.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.order-id-badge {
  background: var(--hp-blue);
  color: var(--hp-yellow);
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  display: inline-block;
  margin: 12px 0;
  letter-spacing: 2px;
}

/* =============================================
   TRACKING PAGE
   ============================================= */
.tracking-container {
  max-width: 700px;
  margin: 0 auto;
}

.track-search {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.track-input-group {
  display: flex;
  gap: 12px;
}

.track-input-group .form-control {
  flex: 1;
}

.timeline {
  background: white;
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  display: none;
}

.timeline.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.timeline-order-id {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--hp-blue);
}

.status-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.status-badge.delivered { background: #d4edda; color: #155724; }
.status-badge.transit { background: #fff3cd; color: #856404; }
.status-badge.pending { background: #d1ecf1; color: #0c5460; }

.timeline-steps {
  position: relative;
  padding-left: 40px;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e0e6f0;
}

.timeline-step {
  position: relative;
  padding: 0 0 30px 30px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.step-dot {
  position: absolute;
  left: -32px;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 1;
}

.step-dot.done {
  background: var(--success);
  color: white;
}

.step-dot.active {
  background: var(--hp-yellow);
  color: var(--hp-blue);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3);
  animation: pulse 1.5s infinite;
}

.step-dot.pending {
  background: #e0e6f0;
  color: var(--gray);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.1); }
}

.step-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--hp-dark-blue);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 13px;
  color: var(--gray);
}

.step-content .step-time {
  font-size: 12px;
  color: var(--hp-blue);
  font-weight: 500;
  margin-top: 4px;
}

.delivery-boy-card {
  background: #f0f4ff;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.delivery-boy-avatar {
  width: 50px;
  height: 50px;
  background: var(--hp-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.delivery-boy-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--hp-dark-blue);
}

.delivery-boy-info p {
  font-size: 13px;
  color: var(--gray);
}

/* =============================================
   COMPLAINT PAGE
   ============================================= */
.complaint-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.complaint-type-card {
  border: 2px solid #e0e6f0;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.complaint-type-card:hover,
.complaint-type-card.selected {
  border-color: var(--hp-blue);
  background: #e8f0fe;
}

.complaint-type-card .ct-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.complaint-type-card p {
  font-size: 13px;
  font-weight: 500;
  color: var(--hp-dark-blue);
}

.file-upload-area {
  border: 2px dashed #b0c4de;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: #fafbff;
}

.file-upload-area:hover {
  border-color: var(--hp-blue);
  background: #e8f0fe;
}

.file-upload-area .upload-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.file-upload-area p {
  color: var(--gray);
  font-size: 14px;
}

/* =============================================
   SAFETY PAGE
   ============================================= */
.emergency-banner {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: white;
  padding: 30px 40px;
  text-align: center;
}

.emergency-banner h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.emergency-numbers {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.emergency-num {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  padding: 14px 24px;
  text-align: center;
}

.emergency-num .num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--hp-yellow);
}

.emergency-num .label {
  font-size: 13px;
  opacity: 0.9;
}

.safety-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.safety-step-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-left: 5px solid var(--danger);
}

.step-number {
  background: var(--danger);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.dos-card {
  background: #d4edda;
  border-radius: var(--radius);
  padding: 24px;
  border-top: 4px solid var(--success);
}

.donts-card {
  background: #f8d7da;
  border-radius: var(--radius);
  padding: 24px;
  border-top: 4px solid var(--danger);
}

.dos-card h3, .donts-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.dos-card h3 { color: var(--success); }
.donts-card h3 { color: var(--danger); }

.dos-card li, .donts-card li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-section {
  background: var(--hp-dark-blue);
  padding: 60px 40px;
  text-align: center;
}

.video-section h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  color: white;
  margin-bottom: 10px;
}

.video-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
}

.video-wrapper {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.video-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* =============================================
   PRICING PAGE
   ============================================= */
.pricing-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-table thead {
  background: var(--hp-blue);
  color: white;
}

.pricing-table th {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.pricing-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: #f0f4ff;
}

.price-amount {
  font-weight: 700;
  color: var(--hp-blue);
  font-size: 16px;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info-card {
  background: var(--hp-blue);
  border-radius: var(--radius);
  padding: 40px;
  color: white;
}

.contact-info-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--hp-yellow);
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item-icon {
  font-size: 20px;
  margin-top: 2px;
}

.contact-item-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-text p {
  font-size: 14px;
  opacity: 0.8;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--hp-dark-blue);
  color: white;
  padding: 50px 40px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  line-height: 1.7;
}

.footer h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--hp-yellow);
  margin-bottom: 16px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: var(--transition);
}

.footer ul li a:hover {
  color: var(--hp-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
    flex-wrap: wrap;
    height: auto;
    padding: 12px 20px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section {
    padding: 40px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .dos-donts {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .track-input-group {
    flex-direction: column;
  }
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-yellow { color: var(--hp-yellow); }
.text-blue { color: var(--hp-blue); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 {margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.bg-white { background: white; }
.bg-light { background: var(--light-gray); }
.container { max-width: 1200px; margin: 0 auto; }