/* Global Reset & Typography */
:root {
  --primary-color: #2e7d32;
  --primary-light: #e6f4ea;
  --primary-dark: #1b5e20;
  --bg-gradient-start: #fdfbfb;
  --bg-gradient-end: #ebedee;
  --text-main: #2c3e50;
  --text-sub: #7f8c8d;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  /* Cleaner, modern font */
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  color: var(--text-main);
}

.container {
  max-width: 960px;
  /* Slightly wider for better spacing */
  margin: 40px auto;
  padding: 0 20px;
}

/* 1. Refined Header */
.header {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.logo-area {
  font-size: 24px;
}

.header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
}

/* 2. Title Section */
.title-section {
  text-align: center;
  margin: 60px 0;
}

.glass-badge {
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary-color);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid rgba(46, 125, 50, 0.1);
}

.title-section h1 {
  margin: 20px 0 10px 0;
  font-weight: 700;
  font-size: 36px;
  color: #1a1a1a;
}

.title-section p {
  font-size: 16px;
  margin: 5px 0;
}

.title-section .sub {
  color: var(--text-sub);
  margin-top: 15px;
  font-size: 14px;
}

/* 3. Aesthetic Cards */
.aesthetic-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 24px;
  border: 1px solid #f0f0f0;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aesthetic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* 4. Card Left Content */
.left-content {
  display: flex;
  gap: 25px;
  max-width: 60%;
  align-items: flex-start;
}

.step-circle {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}

.text-group h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
}

.text-group p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4a4a4a;
}

/* Highlights */
.highlight-info {
  background: var(--primary-light);
  padding: 15px;
  border-radius: 12px;
  margin-top: 20px;
  font-size: 14px;
  border-left: 4px solid var(--primary-color);
  color: #1a4d1f;
}

.highlight-info .icon {
  margin-right: 8px;
  font-size: 16px;
}

.highlight-info .label {
  font-weight: 600;
}

/* Address Badge */
.address-badge {
  display: inline-block;
  margin-top: 20px;
  background: #2a2a2a;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Courier New', Courier, monospace;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Credentials Box */
.credentials-box {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  padding: 15px;
  border-radius: 12px;
  margin-top: 20px;
}

.credentials-box .info-line {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.credentials-box .info-line:last-child {
  margin-bottom: 0;
}

.credentials-box .icon {
  width: 20px;
  margin-right: 10px;
}

.credentials-box .label {
  font-weight: 600;
  margin-right: 5px;
}

.success-message {
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 14px;
  margin-top: 25px;
}

/* 5. Card Right Visual */
.right-visual {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.right-visual img {
  max-width: 220px;
  height: auto;
}

/* Dual layout for Step 4 */
.dual-visual {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.aesthetic-video-box {
  width: 220px;
  height: 130px;
  background: #f4f4f4;
  border: 2px dashed #e0e0e0;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: background 0.3s ease;
}

.aesthetic-video-box:hover {
  background: #eaeaea;
}

.video-icon {
  font-size: 32px;
  color: #bbb;
  margin-bottom: 8px;
}

.aesthetic-video-box p {
  margin: 0;
  font-size: 13px;
  text-align: center;
  padding: 0 10px;
}

/* ============================= */
/* 📱 RESPONSIVE MEDIA QUERIES */
/* ============================= */

/* Tablet (<= 992px) */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }

  .aesthetic-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .left-content {
    max-width: 100%;
  }

  .right-visual {
    width: 100%;
    justify-content: center;
  }

  .right-visual img {
    max-width: 180px;
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  .title-section h1 {
    font-size: 28px;
  }

  .title-section p {
    font-size: 14px;
  }

  .aesthetic-card {
    padding: 20px;
    border-radius: 18px;
  }

  .left-content {
    flex-direction: column;
    gap: 15px;
  }

  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .text-group h3 {
    font-size: 18px;
  }

  .text-group p {
    font-size: 14px;
  }

  .success-message {
    position: relative;
    width: 100%;
    left: -39px;
  }

  .highlight-info {
    font-size: 13px;
    padding: 12px;
    position: relative;
    width: 100%;
    left: -39px;
  }

  .address-badge {
    font-size: 14px;
    padding: 8px 14px;
    position: relative;
    width: 100%;
    left: -39px;
  }

  .credentials-box {
    padding: 12px;
    position: relative;
    width: 100%;
    left: -39px;
  }

  .right-visual img {
    max-width: 150px;
  }

  iframe {
    width: 100% !important;
    height: 180px !important;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .container {
    margin: 20px auto;
    padding: 0 15px;
  }

  .title-section {
    margin: 40px 0;
  }

  .title-section h1 {
    font-size: 24px;
  }

  .glass-badge {
    font-size: 10px;
    padding: 6px 14px;
  }

  .aesthetic-card {
    padding: 16px;
  }

  .text-group h3 {
    font-size: 16px;
  }

  .text-group p {
    font-size: 13px;
  }

  .success-message {
    font-size: 13px;
  }

  .right-visual img {
    max-width: 130px;
  }

  .aesthetic-video-box {
    width: 100%;
    height: 140px;
  }
}

@media (max-width: 768px) {

  /* Step circle + title same row */
  .left-content {
    flex-direction: row;
    /* column hata diya */
    align-items: flex-start;
    /* top align */
    gap: 12px;
  }

  /* Text proper stack me */
  .text-group {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Title same line me rahe */
  .text-group h3 {
    margin: 0;
  }

  /* Image neeche center me aaye */
  .right-visual {
    width: 100%;
    justify-content: center;
  }

}