/* ================================================
   TopCleanRado — Main Stylesheet (style.css)
   Clean, responsive design with blue branding
   ================================================ */

/* Reset and Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

:root {
  --tcr-primary: #083b4c;
  --tcr-primary-dark: #062f44;
  --tcr-secondary: #d6e1ea;
  --tcr-secondary-dark: #c3d1db;
  --tcr-primary-shadow: rgba(8, 59, 76, 0.25);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  font-family: 'Open Sans', sans-serif;
  background-color: var(--tcr-primary);
  color: #e7f1f8;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.btn,
button,
input[type="submit"] {
  font-family: 'Open Sans', sans-serif;
}

.btn {
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.7rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  text-transform: none;
}

.btn-primary {
  background-color: var(--tcr-primary);
  border-color: var(--tcr-primary);
  color: #fff;
  box-shadow: 0 6px 16px var(--tcr-primary-shadow);
  border-width: 2px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary:active:hover {
  background-color: var(--tcr-primary-dark);
  border-color: var(--tcr-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-primary {
  background-color: transparent;
  border: 2px solid var(--tcr-secondary-dark);
  color: var(--tcr-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary:active:focus,
.btn-outline-primary:active:hover {
  background-color: var(--tcr-primary);
  color: #fff;
  border-color: var(--tcr-primary);
  transform: translateY(-1px);
}

.text-primary,
.link-primary,
.btn-link,
.nav-link.text-primary {
  color: var(--tcr-primary) !important;
}

.link-primary:hover,
.btn-link:hover {
  color: var(--tcr-primary-dark) !important;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid #f5c518;
  outline-offset: 3px;
}
ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ================================================
   Header and Navigation
   ================================================ */
.main-header {
  background-color: #fff;
  border-bottom: 1px solid #e4e9f2;
}

.navbar-brand img {
  width: auto;
  max-height: 80px;
}

.navbar-nav .nav-link,
.profile-links .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #083b4c;
  position: relative;
  padding-bottom: 0.5rem;
}

.navbar-nav .nav-link::after,
.profile-links .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #083b4c;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active,
.profile-links .nav-link:hover,
.profile-links .nav-link:focus {
  color: #004f6e;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after,
.profile-links .nav-link:hover::after,
.profile-links .nav-link:focus::after {
  width: 100%;
}

.profile-links .nav-link {
  padding: 0.25rem 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.header-actions .btn {
  font-weight: 600;
}

.user-icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.login-trigger {
  border: none;
  background: transparent;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #083b4c;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.login-trigger:hover,
.login-trigger:focus {
  color: #005f7f;
  transform: scale(1.04);
}

.login-trigger:focus-visible {
  outline: 2px solid #f5c518;
  outline-offset: 3px;
}

.profile-links .btn-link {
  color: #083b4c;
}

.profile-links .btn-link:hover {
  color: #004f6e;
}

/* ================================================
   Custom Modals
   ================================================ */
.custom-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
}

.custom-modal-content {
  background-color: #fff;
  margin: 4% auto;
  padding: 30px;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.15);
  position: relative;
  color: #083b4c;
}

.custom-modal-content .close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(8, 59, 76, 0.1);
  --bs-btn-close-color: #083b4c;
  --bs-btn-close-hover-opacity: 1;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 10;
}

.custom-modal-content .close:focus-visible {
  outline: 2px solid #f5c518;
  outline-offset: 2px;
}

.custom-modal-content h1,
.custom-modal-content h2,
.custom-modal-content h3 {
  color: var(--tcr-primary);
}

.custom-modal-content .form-label {
  color: #083b4c;
}

.custom-modal-content .form-control::placeholder {
  color: #6b7f8c;
  opacity: 1;
}

.modal-form-single {
  max-width: 420px;
  margin: 0 auto;
}

.modal-form-single a,
.auth-link {
  color: var(--tcr-primary);
  font-weight: 600;
  text-decoration: none;
}

.modal-form-single a:hover,
.auth-link:hover {
  color: var(--tcr-primary-dark);
  text-decoration: underline;
}

#authMessage,
#forgotMessage {
  min-height: 20px;
}

h1, h2, h3 {
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

p {
  color: #dbe5ef;
  margin-bottom: 15px;
}

.surface-light {
  background: #ffffff;
  color: #333;
}

.surface-light h1,
.surface-light h2,
.surface-light h3 {
  color: #003366;
}

.surface-light p {
  color: #444;
}

.policy-card {
  border-radius: 16px;
  padding: 60px 80px;
  box-shadow: 0 25px 55px rgba(0,0,0,0.25);
  margin-top: 40px;
  margin-bottom: 60px;
}

.about-section .about-copy {
  max-width: 540px;
}

.about-section .about-copy p {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
  padding: clamp(40px, 10vw, 90px) 0;
  background: linear-gradient(180deg, #ffffff 0%, #eef4fb 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.hero-image img {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.hero-text {
  flex: 1;
  color: #002244;
  max-width: 520px;
  text-align: left;
}

.hero-text h1 {
  font-size: 0.95rem;
  letter-spacing: 0.35rem;
  color: #0077b6;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.hero-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  color: #111;
}

.hero-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
}

.hero-text .deposit-badge {
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-text .deposit-badge img {
  width: min(320px, 80%);
  max-width: 360px;
  height: auto;
}

/* ================================================
   Why Choose Section
   ================================================ */
.why-choose {
  background-color: #083b4c;
  padding: 80px 20px;
  color: #fff;
}

.why-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.why-text {
  flex: 1;
  color: #fff;
}

.why-text h2 {
  font-size: 2rem;
  color: #f5c518;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.why-text h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 10px;
}

.why-text p {
  color: #dcdcdc;
  line-height: 1.6;
  margin-bottom: 15px;
}

.why-text ul {
  margin-top: 15px;
  list-style: disc;
  padding-left: 20px;
}

.why-text li {
  margin-bottom: 8px;
  color: #eaeaea;
}

.why-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ================================================
   Footer
   ================================================ */
.main-footer {
  background-color: #fff;
  text-align: center;
  padding: 30px 0;
  color: #000; /* black text */
  font-family: 'Open Sans', sans-serif;
  border-top: 1px solid #eee;
}

.main-footer .copyright {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #000; /* black text */
}

.footer-nav a {
  text-decoration: none;
  color: #000; /* black links */
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #444; /* slightly lighter hover effect */
}

/* (Bootstrap handles general contact/form layout) */
/* ================================================
   Reviews
   ================================================ */

.reviews {
  background: #083b4c;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.reviews-container {
  max-width: 1000px;
  margin: 0 auto;
}

.reviews h2,
.reviews p {
  color: #fff;
}


.google-map-reviews iframe {
  border-radius: 10px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.4);
  width: 100%;
}

.map-wrapper {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.reviews .btn {
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.reviews .btn:hover {
  transform: translateY(-2px);
}
/* ================================================
   Social
   ================================================ */

.social-follow {
  text-align: center;
  padding: 40px 0;
  background-color: var(--tcr-primary);
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
}

.social-follow p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.social-follow .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--tcr-primary);
  color: #fff;
  font-size: 20px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-follow .social-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.social-follow .social-icon:hover {
  background-color: var(--tcr-primary-dark);
  transform: translateY(-3px);
}


/* Footer uses Bootstrap nav utilities */
