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

:root {
  --primary-red: #EC5852;
  --primary-orange: #EF8A5B;
  --pale-orange: #F3B281;
  --primary-blue: #5AC0EF;
  --primary-grey: #4D4D4D;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --background: #ffffff;
  --surface: #f9fafb;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.company-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

/* Navigation */
nav {
  background: var(--background);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 50px;
  width: auto;
}

.company-name {
  font-size: 1.1rem;
  color: var(--primary-grey);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-red);
}

/* Main Content */
main {
  min-height: calc(100vh - 160px);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-orange), var(--pale-orange));
  color: var(--primary-grey);
  padding: 6rem 2rem;
  margin-top: 80px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.stars {
  margin: 0;
}

.stars span {
  font-size: 3rem;
  color: var(--primary-grey);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cta-button {
  background: white;
  color: var(--primary-grey);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  width: 50%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button::after {
  content: '→';
  font-size: 1.2rem;
}

/* Partners Section */
.partners {
  background: var(--primary-grey);
  padding: 2rem 0;
}

.partners-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  min-height: 60px;
}

.partner-logo {
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.95;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img, img.partner-logo {
  max-height: 50px;
  width: auto;
  opacity: 0.95;
  filter: brightness(1.1);
}

.jpmc-logo {
  max-width: 150px;
  height: auto;
}

/* Welcome Section */
.welcome-section {
  padding: 4rem 0;
  background: var(--background);
}

.welcome-card {
  background: var(--primary-red);
  padding: 3rem;
  border-radius: 12px;
  color: white;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.welcome-logo {
  background: white;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.welcome-logo img {
  height: 80px;
  width: auto;
}

.welcome-content {
  text-align: left;
}

.welcome-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Navigation Section */
.navigation-section {
  padding: 2rem 0;
  background: var(--surface);
}

.page-nav {
  text-align: center;
  font-size: 1.1rem;
}

.page-nav a {
  color: var(--text-secondary);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-nav a:hover,
.page-nav a.active {
  color: var(--primary-red);
}

.separator {
  margin: 0 1rem;
  color: var(--text-secondary);
}

/* Page Sections */
.page-header {
  background: var(--primary-orange);
  padding: 6rem 0 3rem;
  margin-top: 80px;
}

.page-header h1 {
  color: white;
  font-size: 3rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.content-section {
  padding: 4rem 0;
}

.content-main {
  max-width: 800px;
  margin: 0 auto 4rem;
}

.lead-text {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-weight: 500;
}

.benefits-list {
  list-style: none;
  margin: 2rem 0;
}

.benefits-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.benefits-list li::before {
  content: '•';
  color: var(--primary-red);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
}

.closing-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 2rem;
}

/* Contact Info */
.contact-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.contact-card h3 {
  color: var(--primary-red);
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-align: center;
}

.contact-form {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.contact-form iframe {
  border-radius: 8px;
  border: 1px solid var(--border);
  max-width: 100%;
  height: 959px;
}

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

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

.contact-item h4 {
  color: var(--primary-grey);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-item p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-item a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* About Page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Projects Grid */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.project-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-header {
  background: var(--primary-grey);
  padding: 1.5rem;
  color: white;
}

.project-header h2 {
  font-size: 1.5rem;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

.project-content {
  padding: 1.5rem;
}

.project-content p {
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Footer */
footer {
  background: var(--primary-grey);
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: auto;
}

footer p {
  margin: 0;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo-container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .projects-grid {
    max-width: 100%;
  }
  
  .partners-logos {
    flex-direction: column;
    gap: 1rem;
  }
  
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .welcome-content h2 {
    font-size: 2rem;
  }
  
  .welcome-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .welcome-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .welcome-content h2 {
    font-size: 1.75rem;
  }
  
  .contact-form iframe {
    height: 800px;
  }
}