@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --primary: #ffffff;
  --accent: #178aff;
  --light: #f5f7fa;
  --text-dark: #1c1c1c;
  --text-light: #ffffff;
  --gradient-primary: linear-gradient(135deg, #0b1f47 0%, #064a8d 100%);
}

/* Base */
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background-color: white;
  scroll-behavior: smooth;

  padding-bottom: 80px; /* Adjust based on footer height */
}


.container {
  width: 90%;
  max-width: 1600px;
  margin: auto;
  padding: 2.5rem 2rem;
}

/* Header */
header {
  background: var(--primary);
  color: var(--text-dark);
  padding: 0.4rem 0; /* reduced from 0.8rem */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}


header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .container {
  padding: 0.5rem 0 !important; /* reduces vertical space */
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

/* Nav */
nav a {
  margin-left: 1.5rem;
  color: #0074D9;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}
nav a {
  margin-left: 1rem; /* reduced from 1.5rem */
  padding: 4px 8px; /* only if you want even tighter look */
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #178aff;
  transition: width 0.3s ease;
}



nav a.active {
  border: 2px solid #0074D9;
  padding: 6px 10px;
  border-radius: 5px;
  color: #000000;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  background: var(--gradient-primary);
  color: var(--text-light);
  text-align: center;
  padding: 5rem 0;
  /* margin-bottom: 2rem; */
  animation: fadeInUp 1s ease forwards;
}

.hero h1, .hero p {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 1s ease forwards;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  animation-delay: 0.3s;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  animation-delay: 0.6s;
}

/* Hero backgrounds */
#home.hero {
  background: linear-gradient(rgba(11, 31, 71, 0.8), rgba(6, 74, 141, 0.8)), 
              url('images/bgimage.webp') center/cover no-repeat;
}

#services.hero {
  background: linear-gradient(rgba(11, 31, 71, 0.85), rgba(6, 74, 141, 0.85)), 
              url('images/bgimage2.jpg') center/cover no-repeat;
}

/* Section Styling */
section {
  padding: 3.5rem 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

section:nth-of-type(even) {
  background-color: var(--light);
}

section h2 {
  color: #ffffff;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

section h3 {
  color: #ffffff;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
#home.h3{
  color: #1c1c1c;
}

/* Custom section override */
.white-section {
  background-color: white !important;
  color: #0b1f47 !important;
}
.regulatory-section {
  background: #001f3fdf; /* AlphaGrep blue tint with transparency */
  padding: 4rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.regulatory-section .section-card {
  background-color: #ffffff;
  color: #1c1c1c;
  border-radius: 16px;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
  box-shadow: 
  0 8px 16px rgba(0, 0, 0, 0.1)
  0 12px 36px rgba(0,0,0,0.1);
  backdrop-filter: none;
  border: none;
}

.white-section h2 {
  color: #0b1f47 !important;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Team bios */
.team-member {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

.team-member h3 {
  font-size: 1.2rem;
  color: #003366;
}

.team-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-40px);
  animation: slideInLeft 1s ease forwards;
}

footer {
  background: #001f3f;
  color: white;
  text-align: center;
  font-size: 0.95rem;
  z-index: 999;
}
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1; /* take up all space except footer */
  display: flex;
  flex-direction: column;
}


/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .team-member {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Section Card Style */
.section-card {
  background: white;
  border-radius: 16px;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.15),
    0 12px 36px rgba(0, 0, 0, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  animation: fadeInUp 0.9s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

.section-card h2 {
  color: #0b1f47;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.section-card p {
  
  font-size: 1rem;
  line-height: 1.7;
}

/* Adjust even section color if needed */
section:nth-of-type(even).section-card {
  background: #f9fbfe;
}
.section-card {
  background: rgba(255, 255, 255, 0.1); /* semi-transparent */
  backdrop-filter: blur(12px); /* blur for glass effect */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.2); /* soft white border */
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 1000px;
  /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
  animation: fadeInUp 0.9s ease forwards;
  opacity: 0;
  transform: translateY(40px);
}

/* Optional: Make text more readable on glass */
.section-card h2, 
.section-card p {
  
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#services .section-card h2 {
  color: #ffffff !important;
}
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background-image: url('images/alphaimage.png'); /* Update path if needed */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  animation: logoFadeIn 0.5s ease-out forwards;
}

@keyframes logoFadeIn {
  to {
    opacity: 0.6;              /* Final opacity (you can adjust) */
    transform: translate(-50%, -50%) scale(1);
  }
}


.download-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.download-item {
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: background 0.3s ease, transform 0.2s ease;
}

.download-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}

.contact-details {
  margin-bottom: 2rem;
  color: white;
  text-align: left;
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(6px);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form button {
  padding: 0.9rem 1.2rem;
  background-color: #178aff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #0b5fc9;
}

.section-card h3 {
  font-size: 1.4rem;
  color: #0b1f47;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.section-card a {
  color: #178aff;
  text-decoration: underline;
}

.section-card ol {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.section-card ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  margin-top: 0.5rem;
}

.section-card li {
  margin-bottom: 0.5rem;
}
.downloads-section {
  padding: 4rem 0;
  background-color: #001f3fdf; /* matches footer */
  text-align: center;
}

.downloads-section .section-card {
  background: rgba(255, 255, 255, 0.08); /* deeper glass effect for dark bg */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 1s ease forwards;
  transform: translateY(40px);
  opacity: 0;
  color: white;
}

.downloads-section h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: white;
  /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); */
}

.downloads-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.downloads-list li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  transition: transform 0.25s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.downloads-list li:hover {
  transform: scale(1.02);
}

.downloads-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.downloads-list a:hover {
  text-decoration: underline;
}

.download-icon {
  font-size: 1.3rem;
  background-color: #178aff;
  color: white;
  padding: 0.4rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.downloads-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.contact-column h3 {
  color: white;
  margin-bottom: 1rem;
}

.contact-column p {
  color: white;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(6px);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.9rem 1.2rem;
  background-color: #178aff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #0b5fc9;
}

.downloads-section .section-card h2 {
  color: white !important;
  /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); */
}

#about.hero.white-overlay {
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
              url('images/fintech.jpg') center/cover no-repeat;
  color: #0b1f47;
}

#about.hero.white-overlay .section-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #0b1f47;
}

#about .section-card {
  background: hsla(211, 90%, 60%, 0.08);
 /* subtle blue tint */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(23, 138, 255, 0.2);
  color: #0b1f47;
}

#team .section-card {
  background: hsla(211, 90%, 60%, 0.08);
 /* subtle blue tint */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(23, 138, 255, 0.2);
  color: #0b1f47;
}

@media (min-width: 2560px) {
  body {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero p,
  .section-card p {
    font-size: 1.4rem;
  }

  .section-card {
    padding: 4rem 3rem;
  }

  .team-grid {
    gap: 3rem;
  }

  nav a {
    font-size: 1.15rem;
  }

  header .container {
    max-width: 1800px;
  }

  body::before {
    width: 700px;
    height: 700px;
    opacity: 0.7;
  }
}
/* === Regulatory Section Matching Downloads === */
.regulatory-section {
  background-color: #001f3f; /* Same dark blue as downloads */
  color: white;
  padding: 4rem 0;
}

/* Glass-like section card */
.regulatory-section .section-card {
  background: rgba(255, 255, 255, 0.08); /* Glass tint */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.9s ease forwards;
  opacity: 0;
  transform: translateY(40px);
  color: white;
}

/* Typography - all white */
.regulatory-section .section-card h2,
.regulatory-section .section-card h3,
.regulatory-section .section-card h4,
.regulatory-section .section-card p,
.regulatory-section .section-card li,
.regulatory-section .section-card a {
  color: white;
  text-shadow: none !important;
}

/* Ensure inherited children (strong, span, etc.) also get white text */
.regulatory-section .section-card * {
  color: white;
  text-shadow: none;
}

/* List styling */
.regulatory-section .section-card ul {
  list-style: disc;
  margin-left: 1.5rem;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.regulatory-section .section-card li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Headings styling */
.regulatory-section .section-card h2,
.regulatory-section .section-card h3,
.regulatory-section .section-card h4 {
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1.2rem;
}

/* Divider */
.regulatory-section .section-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 2.5rem 0;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .regulatory-section .section-card {
    padding: 2rem 1.25rem;
  }

  .regulatory-section .section-card h2 {
    font-size: 1.6rem;
  }

  .regulatory-section .section-card p,
  .regulatory-section .section-card li {
    font-size: 1rem;
  }
}
#home.hero {
  background: linear-gradient(rgba(11, 31, 71, 0.8), rgba(6, 74, 141, 0.8));
  color: var(--text-light);
  text-align: center;
  padding: 5rem 0;
  animation: fadeInUp 1s ease forwards;
}



/* Force all text inside form to black, override white-glass styles */
.inquiry-black * {
  color: black !important;
  text-shadow: none !important;
}

/* Optional: Adjust form background for contrast */
.downloads-section-inquiry {
  background-color: #f0f2f5;
  padding: 4rem 1.5rem;
}

.downloads-section-inquiry .section-card {
  background: white;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: auto;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Input and button styles */
.contact-form input,
.contact-form textarea {
  background-color: #f9f9f9;
  color: black;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color: #178aff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0b5fc9;
}

.disclaimer {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 1.5rem;
}

.inquiry-black ::placeholder {
  color: black !important;
  opacity: 1 !important; /* required in some browsers */
}
/* === Refined Inquiry Form Styling === */
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  color: #000;
  width: 100%;
  max-width: 600px;         /* Limit field stretch */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Placeholder styling – smaller and subtle */
.contact-form input::placeholder,
.contact-form textarea::placeholder,
.contact-form select::placeholder {
  font-size: 0.8rem;
  opacity: 0.7;
  color: #555;
}

/* Textarea specific tweaks */
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Select dropdown */
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #f9f9f9;
  color: #000;
}

/* Submit button */
.contact-form button {
  background-color: #178aff;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  max-width: 200px;
  margin: 1rem auto 0;
  display: block;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #0b5fc9;
}

/* Disclaimer below the form */
.contact-form + .disclaimer {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #333;
  text-align: center;
  max-width: 700px;
  margin: 1.5rem auto 0;
}

/* Modal wrapper */
.modal {
  display: none; /* Will be shown via JavaScript */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: transparent;
}

/* Modal content box */
.modal-content {
  background-color: #ffffff;
  padding: 20px 24px;
  width: 320px;
  max-width: 90vw;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
  position: relative;
}

/* Close (X) button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 18px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

/* Buttons container */
.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

/* Accept & Reject buttons */
#accept-btn,
#reject-btn {
  padding: 8px 16px;
  font-size: 13px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#accept-btn {
  background-color: #003d7c;
  color: #fff;
}

#accept-btn:hover {
  opacity: 0.9;
}

#reject-btn {
  background-color: #444;
  color: #fff;
}

#reject-btn:hover {
  opacity: 0.85;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:disabled {
  background-color: #999;
  cursor: not-allowed;
}

.consent-section {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
}

/* Custom Checkbox */
.consent-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #555;
  border-radius: 3px;
  background-color: #fff;
  position: relative;
  cursor: pointer;
  margin-top: 4px;
}

.consent-label input[type="checkbox"]:checked {
  background-color: #007bff;
  border-color: #007bff;
}

.consent-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 3px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
