/* --- GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
:root {
  --primary-purple: #5a4bff;
  --dark-navy: #0a2540;
  --text-gray: #4b5563;
}
html { scroll-behavior: smooth; }
body { background: #f8f9fc; color: #111; overflow-x: hidden; }

/* --- NAVBAR STYLES --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  transition: all 0.4s ease;
  z-index: 1000;
}
.navbar.scrolled {
  background: rgba(36, 8, 8, 0.85); 
  backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.about-navbar {
  background:  #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 .logo img {
      height: 40px; /* Adjust based on your logo size */
      display: block;
    }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link { text-decoration: none; color: #fff; font-weight: 500; font-size: 15px; position: relative; transition: 0.3s; }
.about-navbar .nav-link { color: var(--text-gray) !important; }
.nav-link.active-page { color: var(--primary-purple) !important; }

.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--primary-purple); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active-page::after { width: 100%; }
.nav-link:hover { color: var(--primary-purple) !important; }

.btn-login { background: var(--primary-purple); color: #fff !important; padding: 10px 24px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(90, 75, 255, 0.3); }

/* --- MOBILE SIDEBAR --- */
.mobile-menu-btn { display: none; font-size: 24px; color: #fff; cursor: pointer; }
.about-navbar .mobile-menu-btn { color: var(--dark-navy) !important; }

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .navbar-container { padding: 0 20px; }
  .nav-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #ffffff; flex-direction: column; padding: 100px 30px; gap: 30px; transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1); box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1); z-index: 999; visibility: hidden; opacity: 0; pointer-events: none; }
  .nav-menu.active { right: 0; visibility: visible; opacity: 1; pointer-events: auto; }
  .nav-menu a { color: var(--dark-navy) !important; font-size: 18px; width: 100%; text-align: left; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
  .btn-login { width: 100%; text-align: center; margin-top: 20px; }
}
  
/* --- MOBILE SIDEBAR --- */
.mobile-menu-btn {
  display: none;
  font-size: 24px;
  color: var(--dark-navy);
  cursor: pointer;
  z-index: 1100;
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .navbar-container { padding: 0 20px; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 100px 30px;
    gap: 30px;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-menu.active {
    right: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    color: var(--dark-navy) !important;
    font-size: 18px;
    width: 100%;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
  }
}

  
  /* --- CONTACT HERO BASE --- */
.contact-hero {
    background: linear-gradient(rgba(10, 37, 64, 0.6), rgba(10, 37, 64, 0.6)), 
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.contact-hero-content .sub-heading {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #a89fff; /* Vynest accent purple */
    margin-bottom: 12px;
    text-transform: uppercase;
}

.contact-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -1.5px;
    line-height: 1;
}

.h-line {
    width: 50px;
    height: 4px;
    background: #5a4bff; /* Vynest primary purple */
    margin: 20px auto;
    border-radius: 2px;
}

.contact-hero-content p {
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* --- MOBILE RESPONSIVE FIX --- */
@media (max-width: 768px) {
    .contact-hero {
        height: 320px; /* Shorter for mobile */
        padding: 80px 20px 0;
    }

    .contact-hero-content h1 {
        font-size: 2.5rem !important; /* Scale down to prevent cut-off */
        letter-spacing: -1px;
    }

    .contact-hero-content p {
        font-size: 0.95rem;
        padding: 0 10px;
        max-width: 100%;
    }
    
    .h-line {
        margin: 15px auto;
    }
}
  
  






.contact-page-section {
    padding: 80px 5%;
    background-color: #f8f9fc;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Keeps form wider than info side */
    gap: 40px;
    align-items: start;
}

/* Info Cards Styling */
.info-item-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.icon-wrap {
    width: 50px;
    height: 50px;
    background: #f0eeff;
    color: #5a4bff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.text-wrap h4 { color: #0a2540; font-size: 1.1rem; margin-bottom: 5px; }
.text-wrap p { color: #64748b; font-size: 0.95rem; line-height: 1.5; }

/* Social Links */
.social-card { flex-direction: column; align-items: flex-start; }
.social-links-row { display: flex; gap: 15px; margin-top: 10px; }
.social-links-row a {
    width: 40px; height: 40px; background: #f8f9fc; color: #5a4bff;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; transition: 0.3s;
}
.social-links-row a:hover { background: #5a4bff; color: #fff; transform: translateY(-3px); }

/* Form Styling */
.contact-form-side {
    background: #fff;
    padding: 45px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.vynest-contact-form h2 { color: #0a2540; font-size: 2.2rem; margin-bottom: 5px; }
.form-subtext { color: #94a3b8; margin-bottom: 35px; font-size: 0.95rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 11px; font-weight: 800; color: #5a4bff; margin-bottom: 8px; }

.form-group input, .form-group textarea {
    width: 100%; padding: 14px; border: 1px solid #e2e8f0;
    border-radius: 12px; background: #fff; font-size: 0.95rem; outline: none; transition: 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: #5a4bff; box-shadow: 0 0 0 4px rgba(90, 75, 255, 0.1); }

.form-submit-btn {
    width: 100%; background: #5a4bff; color: #fff; border: none; padding: 16px;
    border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s;
}
.form-submit-btn:hover { background: #4335e6; transform: translateY(-2px); }

/* --- MOBILE FIXES --- */
@media (max-width: 850px) {
    .contact-container {
        grid-template-columns: 1fr; /* Stacks everything vertically */
        padding: 0 10px;
    }
    
    .contact-form-side { padding: 30px 20px; }
    .vynest-contact-form h2 { font-size: 1.8rem; }
    .form-row { grid-template-columns: 1fr; } /* Stack Name and Phone fields */
}
  
  
   /* --------- Base Footer Styles --------- */
:root {
  --footer-bg: #051a33; /* Darker navy to match image */
  --footer-text: #adbdcc;
  --footer-heading: #ffffff;
  --accent: #7b61ff;
}

.vynest-footer {
  background-color: var(--footer-bg);
  padding: 80px 0 30px;
  color: var(--footer-text);
  font-family: 'Inter', sans-serif;
  width: 100%;
}

.footer-container {
  max-width: 1400px; 
  margin: 0 auto;
  padding: 0 40px; 
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr; /* 4 columns for desktop */
  gap: 40px;
}

.footer-logo {
  color: var(--footer-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-logo span { color: var(--accent); }

.footer-brand p {
  line-height: 1.6;
  font-size: 14.5px;
  margin-bottom: 25px;
}

.social-links { display: flex; gap: 15px; }

.social-links a {
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--footer-heading);
  transition: 0.3s;
}

.footer-links h4 {
  color: var(--footer-heading);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  text-decoration: none;
  color: var(--footer-text);
  font-size: 14.5px;
  transition: 0.3s;
}

/* ================= MOBILE FOOTER COMPRESSION (Matches Image) ================= */
@media (max-width: 768px) {
  .vynest-footer {
    padding-top: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr; /* 2-column link layout */
    gap: 30px 20px;
    padding: 0 24px;
  }

  /* Brand section: Full width and Centered */
  .footer-brand {
    grid-column: 1 / -1; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
  }

  .footer-logo {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .footer-brand p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    max-width: 90%; /* Keeps text tight */
  }

  .social-links {
    justify-content: center;
    margin-bottom: 10px;
  }

  /* Link Sections: Left-aligned within their 2-column grid */
  .footer-links {
    text-align: center; /* Set to 'left' if you want links aligned left */
  }

  /* Force "Product" column to center if it looks lonely, 
     or let it sit in the grid like the image shows */
  .footer-links:last-of-type {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

  .footer-links h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-links ul li a {
    font-size: 14px;
  }

  /* Bottom footer */
  .footer-bottom {
    margin-top: 30px;
    padding: 20px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .bottom-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 0;
  }

  .bottom-legal {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
  }

  .bottom-legal a {
    margin-left: 0;
    font-size: 13px;
  }
}

/* ================= DESKTOP RESPONSIVE — FOOTER BOTTOM ONLY ================= */
@media (min-width: 769px) {

  .bottom-container {
    display: flex;
    flex-wrap: wrap;          /* allow wrapping */
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
  }

  /* Text blocks */
  .bottom-container p,
  .footer-credit {
    white-space: nowrap;      /* keep text clean */
  }

  /* Legal links */
  .bottom-legal {
    display: flex;
    gap: 16px;
    white-space: nowrap;
  }

  /* When desktop width is tight */
  @media (max-width: 1100px) {
    .bottom-legal {
      width: 100%;
      justify-content: center;
      margin-top: 6px;
    }
  }
}
/* ================= DESKTOP FIX — FOOTER BOTTOM ================= */
@media (min-width: 769px) {

  .footer-bottom {
    padding-top: 28px;
  }

  .bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;

    display: grid;
    grid-template-columns: 1fr auto 1fr; /* left | center | right */
    align-items: center;
    gap: 20px;
  }

  /* Left text */
  .bottom-container p {
    justify-self: start;
    white-space: nowrap;
  }

  /* Center credit */
  .footer-credit {
    justify-self: center;
    text-align: center;
    white-space: nowrap;
  }

  /* Right legal links */
  .bottom-legal {
    justify-self: end;
    display: flex;
    gap: 18px;
    white-space: nowrap;
  }

  /* Smaller desktop safety */
  @media (max-width: 1100px) {
    .bottom-container {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .bottom-container p,
    .footer-credit,
    .bottom-legal {
      justify-self: center;
    }
  }
}
/* ================= DESKTOP — WHITE BOTTOM FOOTER TEXT ================= */
@media (min-width: 769px) {

  /* Made with ❤️ by WebPrimeSite */
  .footer-credit,
  .footer-credit a {
    color: #ffffff !important;
  }

  /* Privacy Policy & Terms */
  .bottom-legal a {
    color: #ffffff !important;
  }

  /* Optional: subtle hover */
  .footer-credit a:hover,
  .bottom-legal a:hover {
    opacity: 0.85;
    text-decoration: underline;
  }
}
/* ================= BOTTOM FOOTER — WHITE TEXT (ALL DEVICES) ================= */

/* Made with ❤️ by WebPrimeSite */
.footer-credit,
.footer-credit a {
  color: #ffffff !important;
}

/* Privacy Policy & Terms of Service */
.bottom-legal a {
  color: #ffffff !important;
}

/* Optional hover effect */
.footer-credit a:hover,
.bottom-legal a:hover {
  opacity: 0.85;
  text-decoration: underline;
}
/* ================= REMOVE UNDERLINE — BOTTOM FOOTER ================= */

.footer-credit a,
.bottom-legal a {
  text-decoration: none !important;
}

.footer-credit a:hover,
.bottom-legal a:hover {
  text-decoration: none !important;
  opacity: 0.85;
}
