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

:root {
  --navy-blue: #0f172a;
  --navy-blue-light: #1e293b;
  --light-blue: #2563eb;
  --light-blue-bright: #3b82f6;
  --blue-accent: #1d4ed8;
  --lighter-blue: #dbeafe;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success: #10b981;
  --warning: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
  --gold: #fbbf24;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
}

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

/* Header and Navigation */
.header {
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand .logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--light-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-brand .logo .logo-img {
  margin-right: 0.75rem;
  height: 2.2rem;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-brand .logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-brand .logo:hover {
  color: var(--navy-blue);
}

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

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--light-blue);
  border-bottom-color: var(--light-blue);
}

.btn-nav {
  background: var(--light-blue);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.5rem;
  border-bottom: none !important;
  transition: all 0.3s ease;
}

.btn-nav:hover {
  background: var(--navy-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.2;
}

.btn-primary {
  background: var(--light-blue);
  color: var(--white);
  border-color: var(--light-blue);
}

.btn-primary:hover {
  background: var(--navy-blue);
  border-color: var(--navy-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--light-blue);
  border-color: var(--light-blue);
}

.btn-secondary:hover {
  background: var(--light-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--light-blue);
  border-color: var(--light-blue);
}

.btn-outline:hover {
  background: var(--light-blue);
  color: var(--white);
}

/* Enhanced Hero Section */
.hero-section {
  position: relative;
  background: var(--accent-gradient);
  color: var(--white);
  padding: 6rem 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(30, 58, 138, 0.2) 0%, transparent 50%);
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--gold);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 10px rgba(251, 191, 36, 0.3); }
  to { box-shadow: 0 0 20px rgba(251, 191, 36, 0.6); }
}

.hero-text h1 {
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero-title-main {
  display: block;
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title-accent {
  display: block;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--lighter-blue);
  opacity: 0.95;
}

.hero-subtitle {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.35rem;
  margin-bottom: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  line-height: 1.8;
  color: #e2e8f0;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

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

.hero-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero-stat .stat-label {
  font-size: 0.9rem;
  color: var(--lighter-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  min-width: 280px;
  justify-content: center;
}

.btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-primary.btn-large {
  background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
  color: var(--navy-blue);
  border: none;
}

.btn-secondary.btn-large {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary.btn-large:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lighter-blue);
}

.trust-item i {
  color: var(--gold);
  font-size: 1.2rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
}

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

/* Enhanced Services Preview */
.services-preview {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--blue-accent) 100%);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.services-preview h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.section-description {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: left;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--blue-accent) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

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

.service-card-featured {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-blue-light) 100%);
  color: var(--white);
  transform: scale(1.05);
}

.service-card-featured .service-icon {
  background: var(--gold);
  color: var(--navy-blue);
}

.service-card-featured h3 {
  color: var(--white);
}

.service-card-featured p {
  color: var(--lighter-blue);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--blue-accent) 100%);
  color: var(--white);
  border-radius: 1rem;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.service-card h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-blue);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 500;
}

.service-features {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-item i {
  color: var(--success);
  font-size: 0.9rem;
  min-width: 16px;
}

.service-card-featured .feature-item i {
  color: var(--gold);
}

.feature-item span {
  font-size: 0.95rem;
  color: var(--gray-800);
  font-weight: 600;
}

.service-card-featured .feature-item span {
  color: var(--lighter-blue);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--light-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
  color: var(--blue-accent);
}

.service-card-featured .service-link {
  color: var(--gold);
}

.service-card-featured .service-link:hover {
  color: var(--white);
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-blue-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.testimonials-section .section-badge {
  background: linear-gradient(135deg, var(--gold) 0%, #f59e0b 100%);
  color: var(--navy-blue);
}

.testimonials-section h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 2rem;
}

.testimonial-rating i {
  color: var(--gold);
  font-size: 1.2rem;
}

.testimonial-card blockquote {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-style: italic;
  color: var(--lighter-blue);
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-info strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.author-info span {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}

/* Modern Form Styling */
.modern-form {
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  padding: 0;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.form-section {
  padding: 3rem;
  border-bottom: 1px solid var(--gray-100);
  text-align: left;
  background: var(--white);
}

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

.section-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
}

.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--lighter-blue);
  color: var(--light-blue);
  border-radius: 0.75rem;
  font-size: 1.1rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.section-title {
  flex: 1;
  text-align: left;
}

.section-title h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-align: left;
}

.section-title p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
  text-align: left;
  line-height: 1.4;
}

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

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--gray-50);
  transition: all 0.3s ease;
  text-align: left;
  line-height: 1.5;
  font-weight: 400;
  color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--light-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
  font-style: normal;
  text-align: left;
  direction: ltr;
  font-weight: 400;
}

.form-group input[type="number"] {
  text-align: left;
}

.form-group select option {
  text-align: left;
  padding: 0.75rem;
  background: var(--white);
  color: var(--navy-blue);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  cursor: pointer;
  text-align: left;
  direction: ltr;
  padding-right: 3rem;
}



.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
  font-family: inherit;
}

.form-submit {
  padding: 3rem;
  background: var(--gray-50);
  text-align: center;
  border-top: 1px solid var(--gray-100);
}

.application-submit {
  min-width: 280px;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--light-blue);
  border: 1px solid var(--light-blue);
  color: var(--white);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.application-submit::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;
}

.application-submit:hover::before {
  left: 100%;
}

.application-submit:hover {
  background: var(--navy-blue);
  transform: translateY(-1px);
}

.application-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.application-submit i {
  margin-right: 0.75rem;
  font-size: 1rem;
}

.btn-text {
  display: inline;
}

/* Form Loading State */
.modern-form.loading {
  opacity: 0.8;
  pointer-events: none;
}

.modern-form.loading .application-submit {
  background: var(--gray-600);
  animation: pulse 1.5s ease-in-out infinite;
}

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

/* Form Row Layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Message Styles */
.message {
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.message.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.message.success::before {
  content: '✓';
  font-size: 1.25rem;
  font-weight: bold;
}

.message.error::before {
  content: '✕';
  font-size: 1.25rem;
  font-weight: bold;
}

/* Page Content */
.page-content {
  padding: 2rem 0 4rem;
  min-height: calc(100vh - 200px);
}

.page-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
  text-align: center;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced About Page */
.about-page {
  min-height: 100vh;
}

/* About Hero Section */
.about-hero {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--light-blue) 50%, #60a5fa 100%);
  color: var(--white);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="20" cy="80" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  clip-path: polygon(0 100%, 100% 100%, 95% 0%, 5% 0%);
}

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

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mission Section */
.about-mission-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

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

.mission-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mission-text h2 i {
  color: var(--light-blue);
  font-size: 2rem;
}

.mission-statement {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 3rem;
  font-weight: 400;
}

.mission-stats {
  display: flex;
  gap: 3rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--light-blue);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.mission-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-icon-container {
  position: relative;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.mission-icon {
  font-size: 4rem;
  color: var(--white);
}

.mission-icon-overlay {
  position: absolute;
  font-size: 2rem;
  color: var(--lighter-blue);
  top: 25%;
  right: 25%;
}

/* Advantages Section */
.about-advantages-section {
  padding: 5rem 0;
  background: linear-gradient(45deg, var(--lighter-blue) 0%, var(--white) 50%, var(--lighter-blue) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.advantage-card.modern {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card.modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--light-blue), var(--navy-blue));
}

.advantage-card.modern:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.advantage-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.advantage-icon i {
  font-size: 1.75rem;
  color: var(--white);
}

.advantage-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.advantage-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.advantage-features {
  list-style: none;
  padding: 0;
}

.advantage-features li {
  padding: 0.5rem 0;
  color: var(--gray-600);
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
}

.advantage-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--light-blue);
  font-weight: bold;
}

/* Values Section */
.about-values-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy-blue) 0%, #1e40af 100%);
  color: var(--white);
}

.values-content {
  text-align: center;
}

.values-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

.value-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.value-icon i {
  font-size: 2rem;
  color: var(--white);
}

.value-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.value-item p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* About CTA Section */
.about-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 50%, var(--lighter-blue) 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design for About Page */
@media (max-width: 1024px) and (min-width: 769px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .about-hero-subtitle {
    font-size: 1.25rem;
  }
  
  .mission-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .mission-stats {
    justify-content: center;
    gap: 2rem;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Pricing Table */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.pricing-tier {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-tier:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-tier.featured {
  border-color: var(--light-blue);
  transform: scale(1.05);
}

.pricing-tier.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--light-blue);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.tier-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--light-blue);
  margin-bottom: 0.5rem;
}

.price-subtitle {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.tier-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tier-features ul {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
  flex: 1;
}

.tier-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  padding-left: 1.5rem;
}

.tier-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--light-blue);
  font-weight: bold;
}

.tier-button {
  margin-top: auto;
  padding-top: 1rem;
}

/* Enhanced Network Page */
.network-page {
  min-height: 100vh;
}

/* Network Hero Section */
.network-hero {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--light-blue) 50%, #60a5fa 100%);
  color: var(--white);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.network-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="network" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="18" cy="18" r="1" fill="%23ffffff" opacity="0.1"/><line x1="2" y1="2" x2="18" y2="18" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23network)"/></svg>');
  opacity: 0.4;
}

.network-hero-overlay {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  clip-path: polygon(0 100%, 100% 100%, 90% 0%, 10% 0%);
}

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

.network-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.network-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 3rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.network-hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-stat i {
  font-size: 2.5rem;
  color: var(--lighter-blue);
}

.hero-stat span {
  font-weight: 600;
  font-size: 1.125rem;
}

/* Process Section */
.network-process-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Remove the continuous timeline line - using individual connectors instead */

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
  text-align: right;
}

.process-step:nth-child(even) .step-features {
  justify-content: flex-end;
}

.step-icon {
  position: relative;
  z-index: 3;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 3rem;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  border: 6px solid var(--white);
}

.step-icon::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 3rem;
  background: linear-gradient(180deg, var(--light-blue), transparent);
  transform: translateX(-50%);
  z-index: 1;
}

.process-step:last-child .step-icon::after {
  display: none;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--navy-blue);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

.step-bg-icon {
  font-size: 3rem;
  color: var(--white);
  opacity: 0.9;
}

.step-content {
  flex: 1;
  max-width: 400px;
}

.step-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.step-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.step-features {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.feature-tag {
  background: var(--lighter-blue);
  color: var(--navy-blue);
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--light-blue);
}

/* Benefits Section */
.network-benefits-section {
  padding: 6rem 0;
  background: linear-gradient(45deg, var(--lighter-blue) 0%, var(--white) 50%, var(--lighter-blue) 100%);
}

.benefits-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.benefit-column {
  background: var(--white);
  border-radius: 2rem;
  padding: 3rem 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.benefit-column::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--light-blue), var(--navy-blue));
}

.benefit-header {
  text-align: center;
  margin-bottom: 3rem;
}

.benefit-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.benefit-icon.owners {
  background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
}

.benefit-icon.renters {
  background: linear-gradient(135deg, var(--navy-blue), var(--light-blue));
}

.benefit-icon i {
  font-size: 2.25rem;
  color: var(--white);
}

.benefit-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
}

.benefit-header p {
  color: var(--gray-600);
  font-weight: 500;
}

.benefit-list {
  space-y: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: var(--gray-50);
  transform: translateX(5px);
}

.benefit-item i {
  width: 40px;
  height: 40px;
  background: var(--lighter-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-blue);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.benefit-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
}

.benefit-item p {
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--gray-600);
}

/* Success Stories Section */
.network-stories-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy-blue) 0%, #1e40af 100%);
  color: var(--white);
}

.network-stories-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.story-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.story-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.story-header i {
  font-size: 1.5rem;
  color: var(--lighter-blue);
}

.story-rating {
  display: flex;
  gap: 0.25rem;
}

.story-rating i {
  font-size: 1rem;
  color: #fbbf24;
}

.story-card p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.story-author {
  text-align: right;
}

.story-author strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.story-author span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Network CTA Section */
.network-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 50%, var(--lighter-blue) 100%);
  text-align: center;
}

.network-cta-section .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.network-cta-section .cta-content p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design for Network Page */
@media (max-width: 768px) {
  .network-hero h1 {
    font-size: 2.5rem;
  }
  
  .network-hero-subtitle {
    font-size: 1.25rem;
  }
  
  .network-hero-stats {
    gap: 2rem;
  }
  
  .timeline-line {
    display: none;
  }
  
  .process-step {
    flex-direction: column !important;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .process-step .step-content {
    text-align: center !important;
  }
  
  .process-step .step-features {
    justify-content: center !important;
  }
  
  .step-icon {
    margin: 0 0 2rem 0;
  }
  
  .benefits-comparison {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Portals Page */
.portals-page {
  min-height: 100vh;
}

/* Portals Hero Section */
.portals-hero {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--light-blue) 50%, #60a5fa 100%);
  color: var(--white);
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

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

.portals-hero-overlay {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  clip-path: polygon(0 100%, 100% 100%, 85% 0%, 15% 0%);
}

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

.portals-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portals-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 3rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.portals-hero-features {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-feature i {
  font-size: 2.5rem;
  color: var(--lighter-blue);
}

.hero-feature span {
  font-weight: 600;
  font-size: 1.125rem;
}

/* Main Portals Section */
.portals-main-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.portals-grid-enhanced {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.portal-card-enhanced {
  background: var(--white);
  border-radius: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.portal-card-enhanced:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(59, 130, 246, 0.2);
  border-color: var(--light-blue);
}

.portal-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--light-blue), var(--navy-blue));
}

.owner-portal::before {
  background: linear-gradient(90deg, var(--light-blue), var(--navy-blue));
}

.tenant-portal::before {
  background: linear-gradient(90deg, var(--navy-blue), var(--light-blue));
}

.portal-card-header {
  padding: 3rem 2.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.portal-icon {
  width: 80px;
  height: 80px;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.owner-icon {
  background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
}

.tenant-icon {
  background: linear-gradient(135deg, var(--navy-blue), var(--light-blue));
}

.portal-icon i {
  font-size: 2rem;
  color: var(--white);
}

.portal-title h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.portal-subtitle {
  color: var(--gray-600);
  font-weight: 500;
  font-size: 1rem;
}

.portal-card-body {
  padding: 0 2.5rem 2rem;
}

.portal-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.portal-features h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: var(--gray-50);
  transform: translateX(5px);
}

.feature-item i {
  width: 35px;
  height: 35px;
  background: var(--lighter-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-blue);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.portal-card-footer {
  padding: 2rem 2.5rem 3rem;
  text-align: center;
}

.btn-portal-primary {
  background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-portal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-portal-secondary {
  background: linear-gradient(135deg, var(--navy-blue), var(--light-blue));
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-portal-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
}

.portal-access-note {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: italic;
}

/* Info Section */
.portals-info-section {
  padding: 5rem 0;
  background: linear-gradient(45deg, var(--lighter-blue) 0%, var(--white) 50%, var(--lighter-blue) 100%);
}

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

.info-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 3rem;
}

.info-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.info-step {
  text-align: center;
}

.step-icon-small {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.step-icon-small i {
  font-size: 1.75rem;
  color: var(--white);
}

.step-content-small h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 0.75rem;
}

.step-content-small p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Support Section */
.portals-support-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy-blue) 0%, #1e40af 100%);
  color: var(--white);
}

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

.support-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.support-content p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.7;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

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

.support-item i {
  font-size: 3rem;
  color: var(--lighter-blue);
  margin-bottom: 1.5rem;
}

.support-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.support-item p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0;
}

/* Portals CTA Section */
.portals-cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--lighter-blue) 0%, var(--white) 50%, var(--lighter-blue) 100%);
  text-align: center;
}

.portals-cta-section .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.portals-cta-section .cta-content p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design for Portals Page */
@media (max-width: 1024px) {
  .portals-grid-enhanced {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .portals-hero h1 {
    font-size: 2.5rem;
  }
  
  .portals-hero-subtitle {
    font-size: 1.25rem;
  }
  
  .portals-hero-features {
    gap: 2rem;
  }
  
  .portal-card-header {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .portal-card-body {
    padding: 0 1.5rem 1.5rem;
  }
  
  .portal-card-footer {
    padding: 1.5rem;
  }
  
  .info-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .support-options {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Application Form */
.application-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--gray-200);
  margin-top: 2rem;
}

.application-form h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy-blue);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--lighter-blue);
}

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

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.form-submit {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

/* CTA Sections */
.cta-section {
  text-align: center;
  margin: 4rem 0;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--lighter-blue) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-radius: 1rem;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: var(--navy-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--lighter-blue);
}

.footer-brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand .footer-logo-img {
  margin-right: 0.75rem;
  height: 2.2rem;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-brand:hover .footer-logo-img {
  opacity: 1;
}

.footer-section p {
  line-height: 1.6;
  opacity: 0.9;
  font-size: 0.875rem;
}

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

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

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
  opacity: 0.8;
}

/* Success/Error Messages */
.message {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  font-weight: 500;
}

.message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* Loading State */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading button {
  position: relative;
}

.loading button:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding-top: 2rem;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

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

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .pricing-table {
    grid-template-columns: 1fr;
  }

  .pricing-tier.featured {
    transform: none;
  }

  .pricing-tier.featured:hover {
    transform: translateY(-5px);
  }

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

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

  .application-form {
    padding: 2rem 1.5rem;
  }

  .page-content h1 {
    font-size: 2.25rem;
  }

  .container {
    padding: 0 1rem;
  }

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

  .hero-title-accent {
    font-size: 1.25rem;
  }

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

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

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat {
    padding: 1rem;
    min-width: 120px;
  }

  .hero-stat .stat-number {
    font-size: 2rem;
  }

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

  .btn-large {
    min-width: 250px;
    padding: 1rem 2rem;
  }

  .hero-trust-indicators {
    gap: 1.5rem;
    flex-direction: column;
  }

  .services-preview h2 {
    font-size: 2.25rem;
  }

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

  .service-card-featured {
    transform: none;
  }

  .testimonials-section h2 {
    font-size: 2.25rem;
  }

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

/* Large Mobile / Small Tablet */
@media (max-width: 480px) {
  .hero-section {
    padding: 4rem 0 3rem;
  }

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

  .hero-title-accent {
    font-size: 1rem;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-large {
    min-width: 200px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .services-preview h2 {
    font-size: 2rem;
  }

  .testimonials-section h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-card blockquote {
    font-size: 1.1rem;
  }

  /* Modern Form Responsive */
  .form-section {
    padding: 2rem 1.5rem;
  }

  .section-header {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .section-icon {
    margin-right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .section-title p {
    font-size: 0.9rem;
  }

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

  .form-submit {
    padding: 2rem 1.5rem;
  }

  .application-submit {
    min-width: 280px;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* Admin Interface */
.admin-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 2rem 0;
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.admin-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--light-blue) 100%);
  color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.admin-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-header p {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Login Form */
.admin-login {
  max-width: 400px;
  margin: 3rem auto;
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--gray-200);
}

.login-form h2 {
  text-align: center;
  color: var(--navy-blue);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.login-form .form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.login-form .form-input:focus {
  outline: none;
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Admin Dashboard */
.admin-dashboard {
  animation: fadeIn 0.5s ease-in-out;
}

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

/* Admin Controls */
.admin-controls {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.control-group {
  display: flex;
  flex-direction: column;
}

.control-group label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.control-group select,
.control-group input {
  padding: 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.control-group select:focus,
.control-group input:focus {
  outline: none;
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Admin Stats */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 2px solid var(--gray-200);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
  border-color: var(--light-blue);
}

.stat-card .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Admin Table */
.admin-table-container {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 2px solid var(--gray-200);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th {
  background: linear-gradient(135deg, var(--navy-blue) 0%, var(--light-blue) 100%);
  color: var(--white);
  padding: 1rem 0.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.admin-table tbody tr {
  transition: all 0.3s ease;
}

.admin-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-submitted {
  background: rgba(34, 197, 94, 0.1);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-pending {
  background: rgba(251, 191, 36, 0.1);
  color: #92400e;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-reviewed {
  background: rgba(59, 130, 246, 0.1);
  color: #1e40af;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Type badges */
.type-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.type-owner {
  background: rgba(59, 130, 246, 0.1);
  color: var(--navy-blue);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.type-renter {
  background: rgba(147, 51, 234, 0.1);
  color: #7c2d12;
  border: 1px solid rgba(147, 51, 234, 0.3);
}

/* Action buttons */
.action-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
}

.action-btn:last-child {
  margin-right: 0;
}

.action-btn.view {
  background: var(--light-blue);
  color: var(--white);
}

.action-btn.view:hover {
  background: var(--navy-blue);
  transform: translateY(-1px);
}

.action-btn.delete {
  background: #ef4444;
  color: var(--white);
}

.action-btn.delete:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

/* Loading states */
.admin-table .loading {
  text-align: center;
  padding: 3rem;
  color: var(--gray-500);
  font-style: italic;
}

/* Responsive design for admin */
@media (max-width: 1024px) {
  .admin-controls {
    grid-template-columns: 1fr 1fr;
  }
  
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-table-container {
    overflow-x: auto;
  }
  
  .admin-table {
    min-width: 800px;
  }
}

@media (max-width: 768px) {
  .admin-container {
    padding: 0 1rem;
  }
  
  .admin-header {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .admin-header h1 {
    font-size: 2rem;
  }
  
  .admin-controls {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .admin-stats {
    grid-template-columns: 1fr;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 0.75rem 0.5rem;
  }
  
  .action-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }
}