/* --- VARIABLES & GLOBAL SETUP --- */
:root {
  --color-primary: #1a1a2e; /* Deep Blue for Text & Headings */
  --color-accent: #00bfa6; /* Vibrant Teal/Cyan for Buttons & Highlights */
  --color-accent-dark: #00a693;
  --color-background: #ffffff;
  --color-background-alt: #f7f9fc;
  --color-text: #555;
  --color-border: #eaeaea;
  --font-family: "Poppins", sans-serif;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.06);
  --border-radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-family);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.7;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
section {
  padding: 80px 0;
}

/* --- HEADER --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px); /* Add this line */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.header__logo img {
  height: 40px;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.header__nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s;
}
.header__nav a:not(.btn):hover {
  color: var(--color-primary);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: var(--color-accent);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all 0.3s;
}
.btn:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}
.btn-large img {
  height: 24px;
}

/* --- HERO SECTION --- */
.hero {
  padding: 60px 0;
  background-color: var(--color-background-alt);
}
.hero__container {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero__content {
  flex-basis: 50%;
}
.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero__image {
  flex-basis: 50%;
  text-align: center;
}
.hero__image img {
  max-width: 85%;
}

/* --- TRUSTED BY SECTION --- */
.trusted {
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}
.trusted__container {
  text-align: center;
}
.trusted__container p {
  font-weight: 600;
  color: #999;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
.trusted__logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trusted__logos span {
  font-weight: 500;
  color: var(--color-text);
}

/* --- FEATURES SECTION --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-header h2 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.feature-item.reverse {
  flex-direction: row-reverse;
}
.feature-item__image {
  flex: 1 1 50%;
  background: var(--color-background-alt);
  border-radius: 20px;
  padding: 40px;
}
.feature-item__image img {
  max-width: 100%;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
}
.feature-item__content {
  flex: 1 1 50%;
}
.feature-item__content h3 {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
  background-color: var(--color-background-alt);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.testimonial-card {
  background-color: var(--color-background);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.testimonial-card__quote {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}
.testimonial-card__author h4 {
  color: var(--color-primary);
  margin: 0;
}

/* --- FINAL CTA SECTION --- */
.cta {
  background-color: var(--color-primary);
  color: white;
  text-align: center;
}
.cta__container h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.cta__container p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}
.cta .btn-primary {
  background-color: white;
  color: var(--color-primary);
}
.cta .btn-primary:hover {
  background-color: #f0f0f0;
}

/* --- FOOTER --- */
.footer {
  padding: 30px 0;
  background-color: #f7f9fc;
  border-top: 1px solid var(--color-border);
}
.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__nav {
  display: flex;
  gap: 20px;
}
.footer__nav a {
  text-decoration: none;
  color: var(--color-text);
}
.footer__nav a:hover {
  color: var(--color-primary);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .hero__container {
    flex-direction: column;
    text-align: center;
  }
  .hero__image {
    margin-top: 40px;
  }
  .feature-item,
  .feature-item.reverse {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header__nav a:not(.btn) {
    display: none;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  .footer__container {
    flex-direction: column;
    gap: 15px;
  }
}
.why-us__title {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.why-us__text {
  margin: 0;
  line-height: 1.6;
}

/* Make the grid for the "Why Us" section responsive */
@media (max-width: 992px) {
  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
} /* --- Add this to the BOTTOM of your existing style.css file --- */

/* --- POLICY & LEGAL PAGES --- */
.policy-container {
  max-width: 800px;
  margin: 60px auto 80px auto;
  padding: 0 20px;
}

.policy-container h1 {
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.2;
}

.policy-container .policy-update {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 40px;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 1.8rem;
  color: var(--color-primary);
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
}

.policy-section h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-top: 25px;
  margin-bottom: 15px;
}

.policy-section p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

.policy-section ul {
  list-style-position: inside;
  padding-left: 10px;
}

.policy-section li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.8;
}

.policy-section a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.policy-section a:hover {
  text-decoration: underline;
}

.contact-email {
  font-size: 1.1rem;
}
/* --- Add this to the BOTTOM of your existing style.css file --- */

/* --- DELETE ACCOUNT & FORM PAGES --- */
.form-container {
  max-width: 550px;
  margin: 60px auto 80px auto;
  padding: 40px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.form-container h1 {
  font-size: 2.2rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 15px;
}

.form-container .form-description {
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-group input[type="tel"],
.form-group input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  font-family: var(--font-family);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.2);
}

.confirm-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.confirm-label input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  accent-color: var(--color-accent);
}

.btn-danger {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  background-color: #e74c3c; /* A clear, but not alarming, red */
  color: white;
}
.btn-danger:hover {
  background-color: #c0392b;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.feedback {
  text-align: center;
  margin-top: 20px;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  display: none; /* Hidden by default */
}
.feedback-info {
  display: block;
  background-color: #eaf2ff;
  color: #4a7dff;
}
.feedback-success {
  display: block;
  background-color: #e6f9f0;
  color: #00b05b;
}
.feedback-error {
  display: block;
  background-color: #fce8e6;
  color: #c0392b;
}
