/* CSS Variables */
:root {
  --primary-color: #1e40af;
  --secondary-color: #1e3a8a;
  --accent-color: #059669;
  --accent-secondary: #047857;
  --accent-tertiary: #7c3aed;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-light: #64748b;
  --background-light: #f8fafc;
  --background-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-light: rgba(0, 0, 0, 0.08);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --gradient-primary: linear-gradient(135deg, #1e40af, #1e3a8a);
  --gradient-secondary: linear-gradient(135deg, #3b82f6, #1e40af);
  --gradient-accent: linear-gradient(135deg, #059669, #047857);
  --gradient-success: linear-gradient(135deg, #10b981, #059669);
  --gradient-purple: linear-gradient(135deg, #7c3aed, #6d28d9);
  --gradient-warm: linear-gradient(135deg, #dc2626, #b91c1c);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo .logo-img {
  width: 180px;
  height: 60px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #1e40af;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1e40af;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.apply-btn {
  background: #1e40af;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.apply-btn:hover {
  background: #1e3a8a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4);
}

.apply-btn::after {
  display: none;
}

.pay-btn {
  background: #1e40af !important;
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 25px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.pay-btn:hover {
  background: #1e3a8a !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4) !important;
}

.pay-btn::after {
  display: none !important;
}

/* NMLS Section Styles */
.nmls-section {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #e2e8f0;
}

.nmls-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nmls-access-btn {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
  border: 2px solid transparent;
}

.nmls-access-btn:hover {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
  border-color: rgba(30, 64, 175, 0.2);
}

.nmls-access-btn i {
  font-size: 1.2rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  top: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.hero-image-bg {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center top;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-overlay {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: #1e40af;
  color: white;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4);
}

.btn-primary:hover {
  background: #1e3a8a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.5);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #2563eb;
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: #ffffff; /* make text visible */
  border: 2px solid #3b82f6; /* blue outline */
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4); /* subtle glow */
}

.btn-outline:hover {
  background: #3b82f6;
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.hero-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Fade In Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.3s;
}

.fade-in-delay-2 {
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.6s;
}

.fade-in-delay-3 {
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.9s;
}

.fade-in-delay-4 {
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.2s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Mortgage Rates Section */
.mortgage-rates-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: white;
  position: relative;
  overflow: hidden;
}

.mortgage-rates-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.1;
}

.rates-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.rates-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.rates-date {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.rates-ticker {
  display: flex;
  overflow: hidden;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.rates-ticker-content {
  display: flex;
  gap: 2rem;
  animation: scroll-left 25s linear infinite;
  min-width: calc(100% + 4rem);
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.rate-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  min-width: 140px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.rate-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.rate-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rate-value {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.rate-change {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  display: inline-block;
}

.rate-change.up {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.rate-change.down {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

@media (max-width: 768px) {
  .rates-ticker {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .rate-item {
    min-width: 200px;
  }
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e0f2fe" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23e0f2fe" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23e0f2fe" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.feature-card:hover .feature-icon {
  animation: pulse 1s ease-in-out;
  background: var(--gradient-warm);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.1;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
  padding: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
}

.footer-banner {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
}

.footer-banner-img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-banner-img:hover {
  opacity: 1;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 1rem;
}

.footer-logo .logo-img {
  width: 135px;
  height: 45px;
  object-fit: contain;
}

.footer-section p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #1e40af;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.social-links a:hover {
  background: var(--gradient-accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  color: #94a3b8;
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .banner-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .banner-features {
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .nav-container {
    padding: 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Additional animations */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromBottom {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Hover effects for interactive elements */
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Focus states for accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar,
  .hero-buttons,
  .btn,
  .footer {
    display: none;
  }
}

/* Page Header Styles */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M0 50 Q25 25 50 50 T100 50" stroke="%23ffffff" fill="none" stroke-width="2" opacity="0.1"/><path d="M0 60 Q25 35 50 60 T100 60" stroke="%23ffffff" fill="none" stroke-width="2" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
  opacity: 0.1;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.credit-notice {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.4rem !important;
  margin-top: 1rem !important;
}

/* Loan Programs Page Styles */
.loan-programs {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.loan-programs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circles" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="3" fill="%23fbbf24" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
  opacity: 0.3;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent-color);
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #1e40af);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.program-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.program-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.program-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.program-card li {
  color: #64748b;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.program-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.program-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Comparison Table Styles */
.comparison-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.comparison-table {
  margin-top: 3rem;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
  background: #2563eb;
  color: white;
  font-weight: 600;
}

.comparison-table tr:hover {
  background: #f8fafc;
}

/* Calculator Page Styles */
.calculator-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.calculator-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="squares" width="30" height="30" patternUnits="userSpaceOnUse"><rect x="15" y="15" width="3" height="3" fill="%2310b981" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23squares)"/></svg>');
  opacity: 0.3;
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.calculator-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), var(--gradient-success);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.calculator-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e293b;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.currency,
.percentage {
  position: absolute;
  left: 1rem;
  color: #64748b;
  font-weight: 500;
}

.percentage {
  left: auto;
  right: 1rem;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 1rem;
  padding-left: 2rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.calculator-results {
  display: flex;
  align-items: center;
}

.results-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), var(--gradient-accent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.payment-amount {
  font-size: 3rem;
  font-weight: 700;
  color: #2563eb;
  margin: 1rem 0;
}

.payment-breakdown {
  margin: 2rem 0;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.breakdown-item:last-child {
  border-bottom: none;
}

.total-cost {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 2px solid #e5e7eb;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.loan-summary {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

/* Tools Section Styles */
.tools-section {
  padding: 5rem 0;
  background: white;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tool-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tool-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.tool-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.tool-card p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Tips Section Styles */
.tips-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tip-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tip-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.tip-card p {
  color: #64748b;
  line-height: 1.6;
}

/* About Page Styles */
.about-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 30 Q20 20 15 15 Q10 20 20 30" fill="%23fca5a5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>');
  opacity: 0.3;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #64748b;
  font-size: 0.9rem;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-image {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Mission Section Styles */
.mission-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.mission-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.mission-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.mission-text p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* Enhanced About Hero Section */
.about-hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fbbf24;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Enhanced Team Section */
.enhanced-team-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.enhanced-team-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="team-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%232563eb" opacity="0.05"/><circle cx="10" cy="10" r="1" fill="%233b82f6" opacity="0.08"/><circle cx="30" cy="10" r="1.5" fill="%2360a5fa" opacity="0.06"/></pattern></defs><rect width="100" height="100" fill="url(%23team-pattern)"/></svg>');
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.section-header .section-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-header .section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.4rem;
  color: #475569;
  margin-top: 1.5rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.owner-spotlight {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.owner-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 3.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8);
  border: 3px solid transparent;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0.95)
    ),
    linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
  min-height: 500px;
}

.owner-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  border-radius: 40px;
  z-index: -1;
  opacity: 0.1;
}

.owner-image {
  position: relative;
  text-align: center;
  padding: 1rem;
}

.owner-image img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(37, 99, 235, 0.1);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.owner-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.15;
  }
}

.owner-badge {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white;
  padding: 1rem 2rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4),
    0 0 0 3px rgba(255, 255, 255, 0.9);
  z-index: 3;
  backdrop-filter: blur(10px);
}

.owner-badge i {
  font-size: 1.2rem;
  color: #fbbf24;
}

.owner-content {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.owner-name {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1e293b, #475569);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.owner-credentials {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.credential {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.credential::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s ease;
}

.credential:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.credential:hover::before {
  left: 100%;
}

.owner-story {
  margin-top: 1rem;
}

.story-section {
  padding: 3rem;
  background: linear-gradient(
    135deg,
    rgba(248, 250, 252, 0.9),
    rgba(226, 232, 240, 0.9)
  );
  backdrop-filter: blur(15px);
  border-radius: 30px;
  border: 2px solid transparent;
  background-image: linear-gradient(
      135deg,
      rgba(248, 250, 252, 0.9),
      rgba(226, 232, 240, 0.9)
    ),
    linear-gradient(135deg, #2563eb, #3b82f6);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.9);
}

.story-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #2563eb, #3b82f6, #60a5fa);
  border-radius: 0 3px 3px 0;
}

.story-section:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.story-section p {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 400;
  text-align: justify;
}

.story-section p:last-child {
  margin-bottom: 0;
}

.story-section p:first-child {
  font-size: 1.15rem;
  font-weight: 500;
  color: #334155;
}

/* Values Section Styles */
.values-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
}

.values-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="%232563eb" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.value-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: white;
}

.value-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.value-item p {
  color: #64748b;
  line-height: 1.6;
}

/* Team Section Styles */
.team-section {
  padding: 5rem 0;
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-photo {
  width: 280px;
  height: 280px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.member-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.member-photo:hover img {
  transform: scale(1.05);
}

.member-nmls {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 18px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
  white-space: nowrap;
  z-index: 10;
}

.team-member h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.member-title {
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-bio {
  color: #64748b;
  line-height: 1.6;
  text-align: center;
}

/* Partners Section Styles */
.partners-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-member {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.partner-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(37, 99, 235, 0.2);
}

.partner-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.partner-photo:hover img {
  transform: scale(1.05);
}

.partner-nmls {
  margin-top: 15px;
  padding: 8px 18px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 3px 12px rgba(30, 64, 175, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.partner-nmls:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(30, 64, 175, 0.4);
}

.partner-member h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.partner-title {
  color: #2563eb;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.partner-bio {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.partner-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link.facebook {
  background: linear-gradient(135deg, #1877f2, #42a5f5);
  color: white;
}

.social-link.facebook:hover {
  background: linear-gradient(135deg, #166fe5, #1976d2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-link.instagram {
  background: linear-gradient(135deg, #e1306c, #f56040, #fcaf45);
  color: white;
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #d62d60, #e91e63, #ff9800);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

/* Awards Section Styles */
.awards-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.award-item {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.award-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.award-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.award-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.award-item p {
  color: #64748b;
  line-height: 1.6;
}

/* Contact Page Styles */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,10 32,20 40,20 34,25 36,35 30,30 24,35 26,25 20,20 28,20" fill="%2360a5fa" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
  opacity: 0.3;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h3 {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

.contact-note {
  font-size: 0.9rem;
  color: #94a3b8;
  font-style: italic;
}

.contact-item-with-map {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.contact-info {
  flex: 1;
}

.contact-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-map {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  min-width: 120px;
  transition: all 0.3s ease;
}

.mini-map:hover {
  border-color: #2563eb;
  background: #eff6ff;
}

.mini-map i:first-child {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 0.5rem;
  display: block;
}

.mini-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2563eb;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: white;
  border: 1px solid #2563eb;
  transition: all 0.3s ease;
}

.mini-map-link:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-2px);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.contact-form > p {
  color: #64748b;
  margin-bottom: 2rem;
}

/* Contact Form Input Styling */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
  position: relative !important;
  z-index: 101 !important;
  pointer-events: auto !important;
}

.contact-form label {
  display: block !important;
  margin-bottom: 0.5rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  font-size: 0.95rem !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100% !important;
  padding: 1rem !important;
  border: 2px solid #e2e8f0 !important;
  border-radius: 10px !important;
  font-size: 1rem !important;
  color: #0f172a !important;
  background-color: #ffffff !important;
  transition: all 0.3s ease !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 50px !important;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  position: relative !important;
  z-index: 10 !important;
  cursor: text !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1e40af !important;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1) !important;
  transform: translateY(-1px) !important;
}

.contact-form select {
  cursor: pointer;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #334155;
}

.contact-form .checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* FAQ Section Styles */
.faq-section {
  padding: 5rem 0;
  background: white;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-item {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid #2563eb;
}

.faq-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.faq-item p {
  color: #64748b;
  line-height: 1.6;
}

/* Map Section Styles */
.map-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.map-container {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.map-wrapper {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 300px;
}

.map-placeholder-content {
  padding: 3rem;
  text-align: center;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map-placeholder-content i {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.map-placeholder-content h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.map-placeholder-content p {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.map-info {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.map-info p {
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Apply Page Styles */

.apply-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.apply-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.apply-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.apply-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.apply-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.apply-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.apply-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.apply-feature i {
  color: #10b981;
  font-size: 1.2rem;
}

.apply-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.apply-info ul {
  list-style: none;
  margin-bottom: 2rem;
}

.apply-info li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.apply-info li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.apply-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.apply-form h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  color: white;
}

.apply-form > p {
  text-align: center;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-child {
  border-bottom: none;
}

.form-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: inline-block;
  position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #10b981;
  font-weight: bold;
}

/* Benefits Section Styles */
.benefits-section {
  padding: 5rem 0;
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.benefit-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: #64748b;
  line-height: 1.6;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }

  .about-content,
  .contact-content,
  .apply-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .calculator-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid,
  .tips-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .map-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-item-with-map {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-map {
    justify-content: flex-start;
  }

  /* Enhanced About Page Responsive */
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .enhanced-team-section {
    padding: 4rem 0;
  }

  .section-header .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
  }

  .owner-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2.5rem;
    text-align: center;
  }
}

/* Tablet and larger screens - keep side by side layout */
@media (min-width: 769px) and (max-width: 1024px) {
  .owner-card {
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    padding: 3rem;
  }

  .owner-image img {
    width: 260px;
    height: 260px;
  }

  .owner-image::before {
    width: 300px;
    height: 300px;
  }
}

/* Mobile specific styles for team section */
@media (max-width: 768px) {
  .member-photo {
    width: 220px;
    height: 220px;
    margin: 0 auto 2rem;
  }

  .member-photo::before {
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
  }

  .member-photo img {
    border: 4px solid #ffffff;
  }

  .member-nmls {
    bottom: -15px;
    padding: 10px 20px;
    font-size: 1rem;
  }

  .team-member h3 {
    font-size: 2rem;
  }

  .member-title {
    font-size: 1.1rem;
  }

  .member-bio {
    padding: 2rem;
    font-size: 1rem;
  }
}

/* Owner Showcase Section */
.owner-showcase {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(240, 249, 255, 0.95)
  );
  backdrop-filter: blur(10px);
  padding: 80px 0;
  margin: 0;
  position: relative;
  z-index: 10;
}

.owner-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.owner-photo {
  text-align: center;
}

.owner-photo img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.owner-photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.nmls-number {
  margin-top: 15px;
  padding: 10px 24px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 25px;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.nmls-number:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.owner-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.owner-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 25px;
  font-style: italic;
}

.owner-bio {
  margin-bottom: 30px;
}

.owner-bio p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 20px;
  text-align: justify;
}

.owner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design for Owner Showcase */
@media (max-width: 768px) {
  .owner-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .owner-photo img {
    width: 220px;
    height: 220px;
  }

  .owner-info h2 {
    font-size: 2rem;
  }

  .owner-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .owner-showcase {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .owner-photo img {
    width: 180px;
    height: 180px;
  }

  .owner-info h2 {
    font-size: 1.8rem;
  }

  .owner-info h3 {
    font-size: 1.1rem;
  }

  .owner-bio p {
    font-size: 1rem;
  }
}

/* Footer Banner Section - Full Width */
.footer-banner-section {
  width: 100vw;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f8fafc;
}

.footer-banner-container {
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.footer-banner-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Calendar Booking Section */
.calendar-booking-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.calendar-booking-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="calendar-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="%233b82f6" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23calendar-pattern)"/></svg>');
  opacity: 0.3;
}

.calendar-booking-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.calendar-booking-section .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.calendar-booking-section .section-subtitle {
  font-size: 1.2rem;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

/* Calendar Wrapper */
.calendar-wrapper {
  background: white;
  padding: 2rem;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white),
    linear-gradient(135deg, #3b82f6, #1e40af);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: all 0.3s ease;
}

.calendar-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.calendar-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.calendar-nav {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.calendar-nav:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.calendar-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.75rem;
  min-height: 200px;
  grid-auto-rows: minmax(80px, auto);
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.calendar-day::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.calendar-day:hover::before {
  opacity: 0.1;
}

.calendar-day.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: #f1f5f9;
}

.calendar-day.disabled:hover::before {
  opacity: 0;
}

.calendar-day.selected {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: white;
  border-color: #1e40af;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  transform: scale(1.05);
}

.calendar-day.selected::before {
  opacity: 0;
}

.day-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.day-number {
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.calendar-day.selected .day-name,
.calendar-day.selected .day-number {
  color: white;
}

/* Time Slots Wrapper */
.time-slots-wrapper {
  background: white;
  padding: 2rem;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white),
    linear-gradient(135deg, #10b981, #047857);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: all 0.3s ease;
}

.time-slots-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.time-slots-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.time-slots-subtitle {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.time-slots-grid::-webkit-scrollbar {
  width: 8px;
}

.time-slots-grid::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.time-slots-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 10px;
}

.time-slot {
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #334155;
  position: relative;
  overflow: hidden;
}

.time-slot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #10b981, #047857);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.time-slot:hover {
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.time-slot:hover::before {
  opacity: 0.1;
}

.time-slot.selected {
  background: linear-gradient(135deg, #10b981, #047857);
  color: white;
  border-color: #047857;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transform: scale(1.02);
}

.time-slot.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f1f5f9;
}

.time-slot.disabled:hover {
  border-color: #e2e8f0;
  transform: none;
  box-shadow: none;
}

.time-slot.disabled::before {
  opacity: 0;
}

.time-slot-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

/* Booking Form Wrapper */
.booking-form-wrapper {
  margin-top: 3rem;
  animation: slideDown 0.5s ease;
  position: relative;
  z-index: 2;
}

/* Booking Form Input Fix */
.booking-form-card input,
.booking-form-card select,
.booking-form-card textarea {
  color: #0f172a !important;
  background: white !important;
  border: 2px solid #e2e8f0 !important;
}

.booking-form-card input::placeholder,
.booking-form-card textarea::placeholder {
  color: #94a3b8 !important;
}

.booking-form-card label {
  color: #0f172a !important;
  font-weight: 600 !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-form-card {
  background: white;
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 3px solid transparent;
  background-image: linear-gradient(white, white),
    linear-gradient(135deg, #7c3aed, #6d28d9);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.booking-summary {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  border-left: 4px solid #3b82f6;
}

.booking-summary h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.booking-summary h3 i {
  color: #3b82f6;
  font-size: 1.7rem;
}

.selected-slot-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.selected-slot-info p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #334155;
  font-size: 1.05rem;
  margin: 0;
}

.selected-slot-info i {
  color: #3b82f6;
  font-size: 1.2rem;
}

.booking-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.btn-secondary {
  background: #e2e8f0;
  color: #334155;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Calendar */
@media (max-width: 1024px) {
  .booking-container {
    grid-template-columns: 1fr;
  }

  .calendar-days {
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
    max-height: none;
  }
}

@media (max-width: 768px) {
  .calendar-booking-section {
    padding: 4rem 0;
  }

  .calendar-booking-section .section-title {
    font-size: 2rem;
  }

  .calendar-booking-section .section-subtitle {
    font-size: 1rem;
  }

  .calendar-wrapper,
  .time-slots-wrapper {
    padding: 1.5rem;
  }

  .calendar-days {
    gap: 0.5rem;
  }

  .day-name {
    font-size: 0.65rem;
  }

  .day-number {
    font-size: 1rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-form-card {
    padding: 1.5rem;
  }

  .booking-actions {
    flex-direction: column;
  }

  .booking-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .calendar-days {
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
  }

  .calendar-day {
    border-width: 1px;
    border-radius: 10px;
  }

  .day-name {
    font-size: 0.6rem;
  }

  .day-number {
    font-size: 0.9rem;
  }

  .time-slots-grid {
    grid-template-columns: 1fr;
  }

  .selected-slot-info {
    flex-direction: column;
    gap: 1rem;
  }
}
