/* ===================== GLOBAL RESET ===================== */
html, body {
  margin: 0;
  padding: 0;
  background: #F2F2F2;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Include Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


/* Remove padding-top from body to prevent hero offset */
body {
  /* Removed: padding-top: 70px; */
}

/* ===================== HERO SECTION ===================== */

.hero-container {
  width: 100%;
  aspect-ratio: 16 / 8; /* controls visible crop height (~30% trimmed) */
  overflow: hidden;
}

.hero-img-cropped {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* crop only from bottom */
  display: block;
}

.hero {
  width: 100%;
  height: 100vh;
  min-height: 500px;
  max-height: 700px;
  position: relative;
  display: flex;
  align-items: flex-start; /* Top-align content */
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  background-size: cover;
  background-position: top center; /* Top aligned */
  perspective: 1000px;
}


.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;

  /* Animated blue gradient */
  background: linear-gradient(-45deg, #1fa6bd66, #23a6c066, #00000066, #1fa6bd66);
  background-size: 400% 400%;
  animation: gradientMove 10s ease infinite;

  /* Blur effect */
  backdrop-filter: blur(1px);
}



/* Animation keyframes */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.phone-container {
  width: 85vw;
  max-width: 750px;
  transform: rotate(-10deg) translateX(30px);
  position: relative;
  z-index: 2; /* ensures it's above the overlay */
}

.phone-container.glass-border {
  position: relative;
  z-index: 2;
  width: 85vw;
  max-width: 750px;
  transform: rotate(-10deg) translateX(30px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}


.phone-container img {
  width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 768px) {
  .hero {
    height: 95vh;
    background-position: center center;
    align-items: center; /* was flex-start */
  }

  .phone-container {
    transform: rotate(-4deg) translateY(20px);
    width: 95vw;
    max-width: 400px;
    margin: 0 auto;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .chat-overlay {
    top: 22%;
    left: 23%;
    width: 52%;
    height: 50%;
    border-radius: 20px;
    padding: 4px;
  }

  .hero-overlay {
    backdrop-filter: blur(1px);
    background: linear-gradient(
      to bottom,
      rgba(35, 166, 192, 0.25), /* light blue */
      rgba(0, 0, 0, 0.25)       /* dark blend */
    );
  }
}
/* ===================== CHAT OVERLAY ===================== */
.chat-overlay {
  position: absolute;
  top: 20.7%;
  left: 29%;
  width: 24%;
  height: 40.6%;
  overflow-y: hidden;
  border-radius: 40px;
  padding: 5px 4px;
  box-sizing: border-box;
  background-color: transparent;
  display: block;
}

/* ===================== CHAT BUBBLES ===================== */
.message {
  opacity: 0;
  transform: translateY(10px);
  padding: 6px 10px;
  margin: 6px 0;
  border-radius: 14px;
  max-width: 75%;
  word-wrap: break-word;
  font-size: 9px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
  display: inline-block;
  clear: both;
  position: relative;
}

.message.user {
  background: #DCF8C6;
  float: right;
  margin-right: 3px;
  border-bottom-right-radius: 3px;
}

.message.mei {
  background: #FFFFFF;
  border: 1px solid #DDD;
  float: left;
  margin-left: 3px;
  border-bottom-left-radius: 3px;
}

.message.user::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: 0;
  border: 5px solid transparent;
  border-left-color: #DCF8C6;
  margin-bottom: -1px;
}

.message.mei::after {
  content: "";
  position: absolute;
  left: -5px;
  bottom: 0;
  border: 5px solid transparent;
  border-right-color: #FFFFFF;
  margin-bottom: -1px;
}

.message.show {
  opacity: 1;
  transform: translateY(0);
}


/* ===================== BUTTONS ===================== */
.btn {
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  padding: 0.75rem 1.25rem;
}

.btn-outline-success {
  border: 2px solid #1FA6BD;
  color: #1FA6BD;
  background-color: white;
}
.btn-outline-success:hover {
  background-color: #1FA6BD;
  color: white;
}

.btn-primary {
  background-color: #1FA6BD;
  border: none;
}
.btn-primary:hover {
  background-color: #168fa0;
}

/* ===================== CARD ENHANCEMENTS ===================== */
.service-block,
.border.rounded.text-center {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-block:hover,
.border.rounded.text-center:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* ===================== SECTION BACKGROUNDS ===================== */
section:nth-of-type(odd) {
  background: #f8fafd;
}

/* Responsive layout for mobile */
/* Base: Enable horizontal scroll with snap */
.edition-cards-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 1rem 2rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-padding-left: 1rem;
}

.edition-cards-wrapper > div {
  flex: 0 0 85%;
  max-width: 85%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.3s ease;
}

/* Optional hover effect for fun */
.edition-cards-wrapper > div:hover {
  transform: translateY(-4px);
}

/* Desktop view: full-width panels, no scroll */
@media (min-width: 992px) {
  .edition-cards-wrapper {
    flex-wrap: nowrap;
    overflow-x: visible;
    justify-content: center;
    scroll-snap-type: none;
    padding: 0;
  }

  .edition-cards-wrapper > div {
    flex: 0 0 22%;
    max-width: 22%;
    scroll-snap-align: none;
  }
}

/* Animated buttons */
.animated-button {
  transition: all 0.3s ease;
}

.animated-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}


/* ===================== FEATURE CARDS ===================== */

/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9fb;
  color: #222;
}

/*--------------------------------------------------------------
# Glass Card Sections (Modern Alternating Blocks)
--------------------------------------------------------------*/
.glass-feature-section {
  padding: 5rem 1rem;
  background-color: #ffffff;
  min-height: 120vh;
  max-width: 1100px;
  margin: 0 auto;
}

.glass-feature-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
}

.glass-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/*.glass-feature-card:nth-child(even) {
  flex-direction: row-reverse;
}*/

.glass-feature-image {
  flex: 1;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.glass-feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.glass-feature-image:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.glass-feature-text {
  flex: 1;
  max-width: 540px;
  margin: 0 auto;           /* center the block */
  text-align: center; 
}

.glass-feature-text h4 {
  font-weight: 700;
  color: #222;
  margin-bottom: 0.8rem;
}

.glass-feature-text p {
  margin-bottom: 1rem;
  color: #444;
}

.glass-feature-text ul {
  text-align: left;         /* keep bullet points readable */
  display: inline-block;    /* constrain to content width */
  margin: 0 auto;
  padding-left: 1.2rem;
  list-style: disc;
  margin-bottom: 1.5rem;
  color: #444;
}

.glass-feature-text ul li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.glass-feature-highlight {
  background-color: #d1f7fe;
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.92rem;
  color: #000;
/*  text-align: center;*/
}

.glass-feature-highlight p {
  margin-bottom: 0.4rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .glass-feature-card {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }

  .glass-feature-card:nth-child(even) {
    flex-direction: column;
  }

  .glass-feature-text ul {
    padding-left: 1rem;
    text-align: left;
  }

  .glass-feature-text {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
  }
}

/* Animation on scroll (optional) */
[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}


/* ===================== FOOTER ===================== */
footer {
  background: #111827;
  color: #d1d5db;
}
footer a {
  color: #60a5fa;
}
footer a:hover {
  text-decoration: underline;
}

/* ===================== SERVICES SECTION ===================== */
.services {
  width: 100%;
  background: #f7f8fa;
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.services-header {
  margin-bottom: 50px;
}

.services-header .sub-heading {
  color: #4e4e4e;
  font-weight: 600;
  margin: 0;
  font-size: 14px;
  letter-spacing: 1px;
}

.services-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0;
  color: #1a1a1a;
}

.services-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px 20px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  width: 280px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-card .card-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

.service-card .card-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.service-card .icon {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a73e8;
  color: white;
  font-size: 30px;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.service-card h3 {
  margin: 15px 0 10px 0;
  font-size: 20px;
  font-weight: 600;
  color: #222222;
}

.service-card p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
}

.service-card a {
  text-decoration: none;
  color: #1a73e8;
  font-weight: 600;
  font-size: 14px;
}

/* ===================== PAYMENT INPUT ===================== */

.card-icons {
  background-color: #fff;
  border-left: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-icons img {
  height: 20px;
  width: auto;
}


/* ===================== LOGIN PAGE ===================== */


html, body {
  height: 100%;
  margin: 0;
  background-color: #f2f2f2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.login-page {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.login-left {
  flex: 1;
  padding: 40px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-right {
  flex: 1;
  background: linear-gradient(to bottom right, #d2f3f7, #23A6C0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-right img {
  width: 85%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-form {
  width: 100%;
  max-width: 400px;
}

.login-form h2 {
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.form-control {
  border-radius: 8px;
  padding: 10px 14px;
}

.form-label {
  font-weight: 500;
}

.btn-primary {
  background-color: #23A6C0;
  border-color: #23A6C0;
  border-radius: 8px;
}

.btn-primary:hover {
  background-color: #1c8fa8;
  border-color: #1c8fa8;
}

.logo-link {
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

.logo-link img {
  max-height: 45px;
}

@media (max-width: 992px) {
  .login-page {
    flex-direction: column;
  }

  .login-right {
    display: none;
  }

  .login-left {
    flex: none;
    width: 100%;
    padding: 30px 20px;
    height: 100vh;
  }

  .login-form {
    max-width: 100%;
  }
}

/* ===================== UTILS ===================== */

body {
  background-color: #f5f5f5;
}
.checkout-container {
  min-height: 100vh;
}
.summary-card {
  background-color: #1FA6BD;
  color: #000;
  padding: 2rem;
  height: 100%;
}
.form-card {
  background-color: white;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.payment-toggle button {
  margin-right: 0.5rem;
}
.subscribe-btn {
  background-color: #111;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.2s ease;
}

.subscribe-btn:hover {
  background-color: #333;
  color: white;
}

.subscribe-btn img {
  height: 20px;
}

/* ===================== UTILS ===================== */
img.rounded-shadow {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Navbar Logo */
#navbar-logo {
  max-height: 50px;
  height: auto;
  width: auto;
}

@media (max-width: 992px) {
  #navbar-logo {
    max-height: 45px;
  }
}

@media (max-width: 768px) {
  #navbar-logo {
    max-height: 40px;
  }
}

@media (max-width: 576px) {
  #navbar-logo {
    max-height: 32px;
  }
}


/* ===================== SIGNUP & FORGOT PASSWORD ===================== */
.btn-confirm {
      width: 100%;
      background-color: #28a745;
      border-color: #28a745;
      color: white;
      border-radius: 8px;
      font-weight: bold;
    }

/* Disabled signup button styling */
.signup-btn:disabled {
  background-color: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
  border: none;
  box-shadow: none;
}

.btn-confirm:hover {
      background-color: #218838;
      border-color: #218838;
    }

.btn-primary {
      background-color: #23A6C0;
      border-color: #23A6C0;
      border-radius: 8px;
      font-weight: 500;
    }

.btn-primary {
      background-color: #23A6C0;
      border-color: #23A6C0;
      border-radius: 8px;
    }

.btn-primary:hover {
      background-color: #1c8fa8;
      border-color: #1c8fa8;
    }

.error-msg {
      color: red;
      font-size: 0.9rem;
      margin-top: 4px;
    }

.error-text {
      color: red;
      font-size: 0.85rem;
      margin-top: 5px;
    }

.form-control {
      border-radius: 8px;
    }

.form-label {
      margin-bottom: 5px;
      font-weight: 500;
    }

.instruction {
      font-size: 0.95rem;
      color: #555;
      margin-bottom: 25px;
    }

.reset-form h2 {
      font-weight: bold;
      margin-bottom: 10px;
    }

.reset-form {
      max-width: 400px;
      margin: 0 auto;
    }

.reset-left {
      flex: 1;
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background-color: #ffffff;
    }

.reset-page {
      display: flex;
      height: 100vh;
    }

.reset-right img {
      max-width: 80%;
      border-radius: 16px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }

.reset-right {
      flex: 1;
      background-color: #e9f7fa; /* background color */
      display: flex;
      justify-content: center;
      align-items: center;
    }

.signup-form h2 {
      font-weight: bold;
      margin-bottom: 30px;
    }

.signup-form {
      max-width: 400px;
      margin: 0 auto;
    }

.signup-left {
      flex: 1;
      padding: 40px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      background-color: #ffffff;
    }

.signup-page {
      display: flex;
      height: 100vh;
    }

.signup-right img {
      max-width: 80%;
      border-radius: 16px;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }

.signup-right {
        display: none; /* Hide on mobile */
      }

.signup-right {
      flex: 1;
      background-color: #e9f7fa;
      display: flex;
      justify-content: center;
      align-items: center;
    }

.step {
      display: none;
    }


.step.active {
      display: block;
    }

@media (max-width: 768px) {
      .reset-page {
        flex-direction: column;
      }
      .reset-right {
        display: none !important;  /*Hides the image on mobile*/
      }

@media (max-width: 768px) {
      .signup-page {
        flex-direction: column;
      }
      .signup-right {
        display: none; /* Hide on mobile */
      }

body, html {
      height: 100%;
      margin: 0;
    }

}


/* ===================== SUBSCIRPTION PLAN ===================== */

.hover-shadow:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-color: #0d6efd;
}

/* ===================== FORM VALIDATION & DISABLED ===================== */
.btn-disabled {
  background-color: #cccccc !important;
  border-color: #cccccc !important;
  pointer-events: none;
  cursor: not-allowed;
}

.optional-label::after {
  content: " (optional)";
  color: #888;
  font-weight: normal;
  font-size: 0.9em;
}

.required-label::after {
  content: " *";
  color: red;
}

.error-msg {
  color: red;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===================== Success Page ===================== */

#step-success svg {
  margin-bottom: 10px;
}

#step-success .btn {
  font-weight: 600;
  font-size: 1rem;
}

/* ===================== SERVICE BLOCK ALIGN FIX ===================== */
.service-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-block button {
  margin-top: auto;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.service-block button:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

/* ===================== FORCE ROW EQUAL HEIGHT ===================== */
.row.text-center.mt-5 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* make all .col-md-4 same height */
}

.row.text-center.mt-5 > .col-md-4 {
  display: flex;
}

.row.text-center.mt-5 > .col-md-4 > .service-block {
  flex: 1; /* make inside content stretch full height */
}


/* ===================== UNIVERSAL CARD HEIGHT FIX ===================== */
.choose-edition-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.choose-edition-container > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 300px;  /* flexible width but equal height */
  max-width: 360px;
}

.choose-edition-container .service-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


/* FINAL FIX — Equal Height Edition Cards */
.row.text-center.mt-5 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* make all columns same height */
}

.row.text-center.mt-5 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.row.text-center.mt-5 > [class*="col-"] > .service-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  height: 100%;
}
