/* ---------- GLOBAL RESET & FONT ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Sora', sans-serif;
}

/* ---------- NAVBAR BASE ---------- */
.navbar {
  width: 100%;
  border-bottom: 1px  #eee;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 999;
}

.nav-container {
  max-width: 1250px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* LOGO */
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 49px;
  display: block;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  white-space: nowrap;
}
.nav-links a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  transition: 0.25s;
}
.nav-links a:hover { opacity: 0.6; }

/* BUTTONS */
.nav-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  
}
.btn {
  padding: 6px 20px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 300;
  border: 1px solid #000;
  background: transparent;
  transition: 0.25s;
}
.signup-btn {
  background: #000;
  color: #fff;
}
.signup-btn:hover { opacity: 0.85; }

/* MOBILE */
.mobile-menu-icon { display: none; }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-buttons { display: none; }
  .mobile-menu-icon {
    display: block;
    justify-self: end;
    font-size: 24px;
    cursor: pointer;
  }
  .nav-container { grid-template-columns: 1fr auto; padding: 14px 18px; }
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  text-align: center;
  margin-top: 99px;
  margin-bottom: 28px;
}
.hero-section h1 {
  font-size: 32px;
  font-weight: 400;

  color: #111;
}
.hero-section p {
  margin-top: 6px;
  font-size: 15px;
  color: #666;
}

/* ---------- SEARCH BAR (MATCH TEXT WIDTH) ---------- */
.search-bar {
  max-width: 640px;
  width: 100%;
  margin: 28px auto 66px auto;   /* ✅ UPDATED SPACING */
  height: 54px;
  background: #f2f2f2;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
}

.search-icon {
  opacity: 0.6;
  width: 18px;
  height: 18px;
}

.search-bar input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #444;
}

.search-bar input::placeholder {
  color: #8d8d8d;
}

/* Mobile */
@media (max-width: 600px) {
  .search-bar {
    max-width: 90%;
  }
}

/* ===== Resources Grid ===== */
.resources-section {
  margin-top: 0;          /* ✅ UPDATED: Removes extra top gap */
  margin-bottom: 64px;
  padding: 0 32px;
  display: flex;
  justify-content: center;
}

.cards-grid {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 28px;
  row-gap: 28px;
}

/* ---- Card ---- */
.resource-card {
  background: #fff;
  border: 1px solid #E4E4E4;
  border-radius: 14px;
  padding: 18px 24px 18px 24px;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.resource-card:hover {
  border-color: #DADADA;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

/* ---- Tag ---- */
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  margin-right: 12px;
  color: #fff;
  line-height: 1;
  vertical-align: middle;
}
.tag.easy   { background: #1E63E9; }
.tag.medium { background: #F4A323; }
.tag.hard   { background: #2DA44E; }

/* ---- Category ---- */
.category {
  font-size: 12.5px;
  font-weight: 500;
  color: #8E8E8E;
  letter-spacing: 0.25px;
  text-transform: uppercase;
}

/* ---- Text ---- */
.resource-card h3 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
}

.resource-card p {
  font-size: 14px;
  line-height: 1.50;
  color: #666;
  margin-bottom: 0;
}

/* ---- Responsive Breakpoints ---- */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .resources-section { padding: 0 18px; }
  .cards-grid { grid-template-columns: 1fr; row-gap: 22px; }
  .resource-card { padding: 18px 20px; }
}


/* SECURITY CSS  */


/* ===== Security Section (Adjusted Card Proportion) ===== */
.security-section {
  background: #F3F1F6;  /* just a darker shade */
  margin-top: 550px;     /* Keeps proper distance from previous section */
  padding: 80px 0 100px; /* Balanced top-bottom space */
}

.security-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 40px;
}

.security-container h2 {
  font-size: 36px;
  font-weight: 400;
  color: #111;
  margin-bottom: 8px;
}

.security-container p {
  font-size: 15.5px;
  color: #555;
  line-height: 1.55;
  margin-bottom: 46px;
}

/* Grid layout stays same */
.security-grid {
  display: grid;
  grid-template-columns: auto auto auto; /* no fractional stretching */
  column-gap: 22px;                      /* reduce horizontal gap */
  align-items: start;
  justify-content: flex-start;           /* shift entire layout left */
}


.security-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Card Base — Shrunk for proper balance */
.security-card {
  position: relative;
  background: #fff;
  border: 2px solid #E4E4E4;
  border-radius: 4px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: 0.25s ease;
  gap: 0px;
}

.security-card:hover {
  border-color: #D0D0D0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  gap: 0px;
}

/* Shrink card height */
.card-large { height: 220px; width: 290px; gap: 0px; }
.card-small { height: 94px; width: 290px; gap: 0px; }

/* Icon */
.icon-img {
  width: 24px;
  height: 24px;
  
  margin-bottom: 14px;
  object-fit: contain;
  filter: brightness(0);
}

/* Text */
.security-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
}

.security-card p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.5;
}

/* Arrow */
.arrow-img {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0);
  transition: transform 0.25s ease;
}
.security-card:hover .arrow-img {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 950px) {
  .security-grid { grid-template-columns: 1fr; }
  .security-stack { flex-direction: row; }
}
@media (max-width: 600px) {
  .security-container { padding: 0 20px; }
  .card-large, .card-small { height: auto; }
}


/* testimonial css */



/* ========== Simple Testimonial Section (No Play Button / No Oval) ========== */
.testimonial-simple-section {
    
  background: #FAF9FB;     /* same bg as previous section for smooth flowimp */
  padding: 100px 0;
  /* height: auto; */
}

.testimonial-simple-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 50px;                  /* controls spacing between image and text */
}

.testimonial-simple-img {
  width: 660px;               /* adjust image size */
  height: auto;
  border-radius: 10px;        /* optional subtle rounding */
  object-fit: cover;
}

.testimonial-simple-text {
  flex: 1;
  color: #333;
}

.testimonial-simple-quote {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 22px;
  color: #333;
}

.testimonial-simple-name {
  font-size: 14px;
  color: #777;
  margin-bottom: 14px;
}

.testimonial-simple-link {
  font-size: 14px;
  font-weight: 600;
  color: #1E63E9;
  text-decoration: none;
}
.testimonial-simple-link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonial-simple-container {
    flex-direction: column;
    text-align: center;
  }
  .testimonial-simple-img {
    width: 100%;
    max-width: 480px;
  }
}


/* ===== More Products Section ===== */
.products-section {
  /* background: #FAF9FB; */
  background:white; 
  padding: 90px 0 110px;
}

.products-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.products-container h2 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 60px;
  color: #111;
}

.products-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* Card */
.product-card {
  background: #fff;
  width: 310px;
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  padding: 22px 20px 28px;
  text-align: left;
  transition: 0.25s ease;
}

.product-card:hover {
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

/* Image Placeholder */


/* Image Placeholder */
/* Image container with border + shadow */
.product-img-placeholder {
  width: 100%;
  height: 150px;
  background: #fff;                 /* white so shadow is clean */
  border-radius: 8px;
  margin-bottom: 24px;

  border: 2px solid #e6e6e6;      /* soft border */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); /* smooth premium shadow */

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;                 /* ensures inserted image stays rounded */
}

/* If using real images inside */
.product-img-placeholder img {
  width: 105%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;               /* keep image rounded properly */
}




/* Text + link */
.product-card h3 {
  font-size: 17px;
  margin-bottom: 10px;        /* slightly more breathing room */
  color: #111;
  font-weight: 600;
}

.product-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 79px;        /* extra space before link */
  line-height: 1.5;
}

.product-link {
  font-size: 14px;
  color: #0056ff;
  text-decoration: none;
  font-weight: 500;
}

.product-link:hover {
  text-decoration: underline;
}

/* last css */



/* Section Wrapper */
.faq-section {
  background: #f3e7e5; /* slightly darker than #FAF9FB */
  padding: 90px 0;
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
}

/* Left Side Text */
.faq-left h2 {
  font-size: 32px;
  font-weight: 400;
  color: #111;
  margin-bottom: 10px;
}

.faq-left p {
  font-size: 15px;
  color: #555;
  margin-bottom: 32px;
  line-height: 1.45;
}

.faq-doubt-text {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  margin-bottom: 8px;
}

/* Contact Link Block */
.faq-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-call-icon {
  width: 16px;
  height: 16px;
  color: #0845c1;
  
}

.faq-contact a {
  color: #0056ff;
  font-size: 15px;
  text-decoration: none;
  font-weight: 500;
}
.faq-contact a:hover {
  text-decoration: underline;
}

/* Right Side Accordion */
./* Right Side Accordion */
.faq-right {
  margin-top: 6px;
}

.faq-item {
  padding: 18px 0;
  cursor: pointer;
  border-top: 1.3px solid #393737; /* line above item (fixed) */
  border-bottom: none;           /* remove bottom line */
}

.faq-item:first-child {
  border-top: 1.3px solid #393737; /* keep for first item — visually same */
}



.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  color: #222;
  font-weight: 500;
}

.faq-toggle {
  font-size: 18px;
  color: #111;
  transition: transform 0.25s ease;
}

/* Hidden Answer */
.faq-answer {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Show Answer When Active */
.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}


/* ===== FOOTER SECTION ===== */

/* ================= FOOTER ================= */
/* ================= FOOTER ================= */

.footer-section {
  background: #1F1F1F;
  color: #d1d1d1;
  padding: 80px 0 60px;
  font-family: 'Sora', sans-serif;
}

/* MAIN CONTAINER */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* LOGO ROW */
.footer-logo-row {
  margin-bottom: 40px;
}
.footer-logo-img {
  width: 160px;
  filter: invert(1) brightness(2);
}

/* MAIN FLEX ROW */
.footer-main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
}

/* LEFT SIDE: SOCIAL LINKS + SUBSCRIBE */
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 86px;
  min-width: 360px;
}

/* SOCIAL LINKS IN ONE ROW */
.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.footer-social-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
}
.footer-social-links a:hover { color: #ffffff; }

/* SUBSCRIBE BLOCK */
.footer-subscribe-text {
  font-size: 14px;
  font-weight: 600;
  color: #F5B544;
  margin-bottom: 20px;
}

.footer-input {
  border-bottom: 1px solid #666;
  display: flex;
  align-items: center;
  width: 260px;
  padding-bottom: 6px;
}

.footer-input input {
  flex: 1;
  border: none;
  background: transparent;
  color: white;
  outline: none;
  font-size: 14px;
}

.footer-input input::placeholder { color: #b7b7b7; }

.footer-arrow {
  color: #F5B544;
  font-size: 18px;
  cursor: pointer;
}

/* LINK COLUMNS */
.footer-links {
  display: flex;
  justify-content: space-between;
  flex: 1.4;
  gap: 60px;
}

.footer-column h4 {
  color: white;
  font-size: 15px;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-column a {
  color: #bcbcbc;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
}
.footer-column a:hover { color: #ffffff; }

/* BOTTOM ROW */
.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 25px 40px 0;
  /* border-top: 1px solid #2d2d2d; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-credit {
  color: #8a8a8a;
  font-size: 13px;
  margin: 0;
}

.footer-bottom-links a {
  color: #bcbcbc;
  margin-left: 28px;
  text-decoration: none;
  font-size: 13px;
}
.footer-bottom-links a:hover { color: #ffffff; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-main-row {
    flex-direction: column;
    gap: 45px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 35px;
  }
}


/* ------------------- RESPONSIVE FIXES (ADDED) ------------------- */

/* SECURITY SECTION MOBILE FIX */
@media (max-width: 900px) {
  .security-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .security-stack {
    flex-direction: column;
  }

  .card-large,
  .card-small {
    width: 100%;
    height: auto;
  }
}

/* Extra small screens */
@media (max-width: 500px) {
  .security-container {
    padding: 0 20px;
  }
  .security-container h2 {
    font-size: 26px;
  }
}

/* FAQ RESPONSIVE FIX */
@media (max-width: 900px) {
  .faq-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .faq-left h2 {
    font-size: 26px;
  }
}

/* FOOTER RESPONSIVE IMPROVEMENT */
@media (max-width: 900px) {
  .footer-socials {
    min-width: 100%;
    gap: 40px;
  }
  .footer-social-links {
    gap: 18px;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 50px;
  }
}

/* Very Small Screens */
@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}

/* jj */
/* FIX MOBILE DROPDOWN OVERLAY */
.mobile-menu {
  position: absolute;
  top: 64px;         /* height of your navbar */
  left: 0;
  width: 100%;
  background: #fff;
  padding: 18px 32px;
  border-top: 1px solid #eee;

  display: none;     /* stays hidden until toggled */
  flex-direction: column;
  gap: 14px;
  z-index: 9999;     /* ensure it appears above all content */
}

/* Style mobile menu links */
.mobile-menu a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  display: block;
}

/* Mobile login & signup buttons */
.mobile-menu .btn {
  width: 100%;
  border: 1px solid #000;
  border-radius: 2px;
  padding: 10px 0;
  background: transparent;
  color: #000;
  text-align: center;
}

.mobile-menu .signup-btn {
  background: #000;
  color: #fff;
}

@media (max-width: 900px) {
  .navbar {
    position: relative;
  }

  .mobile-menu {
    width: 100%;
  }
}


