/* BlueRock Asset Management Website Styles */

/* Color Scheme */
:root {
  --primary-color: #003366;      /* Deep blue - primary brand color */
  --secondary-color: #0066cc;    /* Medium blue - secondary brand color */
  --accent-color: #ffcc00;       /* Gold/yellow - accent color */
  --light-color: #f5f9ff;        /* Light blue-tinted white - background */
  --dark-color: #001a33;         /* Very dark blue - text and footer */
  --success-color: #00cc66;      /* Green - for positive numbers/growth */
  --danger-color: #ff3333;       /* Red - for negative numbers/loss */
  --neutral-color: #f0f0f0;      /* Light gray - for neutral elements */
  --text-color: #333333;         /* Dark gray - for main text */
  --white: #ffffff;              /* White - for contrast elements */
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-accent:hover {
  background-color: #e6b800;
  color: var(--dark-color);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 180px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Services Section */
.services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card-img {
  height: 200px;
  background-color: var(--neutral-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-content {
  padding: 25px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 20px;
}

/* Calculator Section */
.calculator {
  background-color: var(--light-color);
}

.calculator-container {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.calculator-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.calculator-results {
  background-color: var(--light-color);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.result-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.result-label {
  font-weight: 600;
}

.result-value {
  font-weight: 700;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--primary-color);
  color: var(--white);
}

.testimonials .section-title h2 {
  color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  color: var(--white);
  margin-bottom: 5px;
}

.testimonial-author-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.8;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 0;
}

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

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-column ul li a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Investment Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 20px;
  text-align: center;
}

.product-card-header h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.product-card-price {
  font-size: 2rem;
  font-weight: 700;
}

.product-card-price span {
  font-size: 1rem;
  opacity: 0.8;
}

.product-card-content {
  padding: 25px;
}

.product-features {
  list-style: none;
  margin-bottom: 25px;
}

.product-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li:before {
  content: '✓';
  color: var(--success-color);
  margin-right: 10px;
  font-weight: bold;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

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

.comparison-table th {
  background-color: var(--primary-color);
  color: var(--white);
}

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

.comparison-table tr:nth-child(even) {
  background-color: var(--light-color);
}

.comparison-check {
  color: var(--success-color);
  font-size: 1.2rem;
}

.comparison-x {
  color: var(--danger-color);
  font-size: 1.2rem;
}

/* Contact Form */
.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  margin-bottom: 25px;
}

.contact-info-item i {
  font-size: 1.5rem;
  margin-right: 15px;
  color: var(--accent-color);
}

.contact-info-item div h4 {
  color: var(--white);
  margin-bottom: 5px;
}

.contact-info-item div p {
  margin-bottom: 0;
  opacity: 0.8;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  min-height: 150px;
  resize: vertical;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 20px;
  background-color: var(--light-color);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:after {
  content: '+';
  font-size: 1.5rem;
}

.faq-question.active:after {
  content: '-';
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 20px;
  max-height: 1000px;
}

/* Investment Calculator */
.calculator-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
}

.calculator-tab {
  padding: 15px 30px;
  background-color: var(--light-color);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.calculator-tab.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.calculator-content {
  display: none;
}

.calculator-content.active {
  display: block;
}

.calculator-chart {
  height: 300px;
  background-color: var(--light-color);
  margin-top: 30px;
  border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .contact-form-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 20px;
  }
  
  nav ul li {
    margin: 0 15px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1.2rem;
  }
  
  nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .testimonials-grid,
  .services-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }
}