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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  gap: 15px;
}

.main-logo {
  height: 45px;
  width: auto;
}

.investment-logo {
  height: 35px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #007bff;
}

.emergency-btn {
  background: #dc3545 !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s ease;
}

.emergency-btn:hover {
  background: #c82333 !important;
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.7) 0%, rgba(0, 86, 179, 0.8) 100%),
              url('../images/957549778/1535.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 60px 0;
}

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

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

.hero-title .highlight {
  display: block;
  color: #ffd700;
  font-size: 4rem;
  margin-top: 10px;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 50px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  font-family: 'Montserrat', sans-serif;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-primary, .cta-secondary, .cta-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: 1;
  max-width: 300px;
  min-width: 250px;
}

.cta-primary {
  background: #ffd700;
  color: #000;
  border: 3px solid #ffd700;
}

.cta-primary:hover {
  background: transparent;
  color: #ffd700;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.cta-secondary {
  background: transparent;
  color: #fff;
  border: 3px solid #fff;
}

.cta-secondary:hover {
  background: #fff;
  color: #007bff;
  transform: translateY(-3px);
}

.cta-chat {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  border: 3px solid #28a745;
}

.cta-chat:hover {
  background: linear-gradient(135deg, #20c997, #28a745);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  opacity: 0.9;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Emergency Alert */
.emergency-alert {
  background: #dc3545;
  color: #fff;
  padding: 15px 0;
  text-align: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

.alert-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.alert-cta {
  background: #fff;
  color: #dc3545;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.alert-cta:hover {
  background: #f8f9fa;
  transform: scale(1.05);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  padding: 100px 0;
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-top: 5px solid #007bff;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 2rem;
  color: #fff;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.service-card p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.7;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features span {
  color: #007bff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Portfolio Section */
.portfolio-section {
  padding: 100px 0;
  background: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.portfolio-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.portfolio-image img {
  width: 67%; /* 33% reduction for desktop */
  height: 67%; /* 33% reduction for desktop */
  max-width: 67%;
  max-height: 67%;
  object-fit: cover;
  transition: transform 0.3s ease;
  margin: 16.5% auto; /* Center the reduced image */
  display: block;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05); /* Reduced hover effect to avoid conflicts */
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.8) 0%, rgba(0, 86, 179, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-details h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.portfolio-details p {
  color: #ffd700;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

/* Process Section */
.process-section {
  padding: 100px 0;
  background: #fff;
}

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

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #007bff;
  transform: translateX(-50%);
}

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

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

.step-number {
  width: 60px;
  height: 60px;
  background: #007bff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: 4px solid #fff;
  box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.step-content {
  width: 45%;
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.process-step:nth-child(even) .step-content {
  margin-left: 55%;
}

.process-step:nth-child(odd) .step-content {
  margin-right: 55%;
}

.step-content h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
}

.step-content p {
  color: #666;
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
}

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

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  opacity: 0.9;
}

.assessment-form {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin-top: 40px;
}

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

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffd700;
  background: rgba(255,255,255,0.2);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #333;
  color: #fff;
}

.urgency-options {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  justify-content: center;
  flex-wrap: wrap;
}

.urgency-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

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

/* Testimonials */
.testimonials-section {
  padding: 100px 0;
  background: #f8f9fa;
}

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

.testimonial {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: #007bff;
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: Georgia, serif;
}

.testimonial-content {
  margin-bottom: 25px;
}

.testimonial-content p {
  font-style: italic;
  color: #555;
  line-height: 1.7;
  font-size: 1.1rem;
}

.testimonial-author strong {
  color: #333;
  font-size: 1.1rem;
}

.testimonial-author span {
  color: #007bff;
  font-size: 0.9rem;
  display: block;
  margin-top: 5px;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-info p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.7;
}

.contact-methods {
  margin-bottom: 50px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-method i {
  font-size: 1.5rem;
  color: #007bff;
  width: 25px;
  text-align: center;
  margin-top: 5px;
}

.contact-method h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #333;
}

.contact-method p {
  color: #666;
  margin: 0;
}

.service-areas h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #333;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.areas-list span {
  background: #007bff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  background: #fff;
  border: 2px solid #ddd;
  color: #333;
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: #999;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: #007bff;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 25px 0;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 3px;
  width: auto;
}

.checkbox-container label {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: #999;
  text-align: center;
  margin-top: 20px;
  line-height: 1.4;
}

.form-disclaimer a {
  color: #007bff;
  text-decoration: underline;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,123,255,0.3);
  transition: all 0.3s ease;
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0,123,255,0.4);
}

.chat-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 420px;
  height: 700px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.active {
  display: flex;
}

.chat-header {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.chat-close:hover {
  background: rgba(255,255,255,0.2);
}

.chat-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-message {
  max-width: 80%;
}

.bot-message {
  align-self: flex-start;
}

.user-message {
  align-self: flex-end;
  background: #007bff;
  color: #fff;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-right-radius: 4px;
}

.bot-message p {
  background: #f1f1f1;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  margin: 0;
  color: #333;
}

.quick-responses {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.quick-response {
  background: #fff;
  border: 2px solid #007bff;
  color: #007bff;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-align: left;
}

.quick-response:hover {
  background: #007bff;
  color: #fff;
}

.chat-input {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.chat-input input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 25px;
  outline: none;
  font-size: 0.9rem;
}

.chat-input input:focus {
  border-color: #007bff;
}

.chat-input button {
  width: 45px;
  height: 45px;
  background: #007bff;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* Footer */
.main-footer {
  background: #333;
  color: #fff;
  padding: 60px 0 30px;
}

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

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #007bff;
}

.footer-section p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

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

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

.footer-section li a:hover {
  color: #007bff;
}

.footer-section li i {
  color: #007bff;
  width: 20px;
  margin-right: 10px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #007bff;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 30px;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    padding: 8px 0;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-logo {
    height: 25px;
  }
  
  .investment-logo {
    height: 20px;
  }
  
  .nav-logo {
    gap: 10px;
  }
  
  .logo-text {
    font-size: 0.9rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .portfolio-image {
    height: 180px;
  }
  
  .portfolio-image img {
    width: 72%; /* 28% reduction for mobile */
    height: 72%; /* 28% reduction for mobile */
    max-width: 72%;
    max-height: 72%;
    margin: 14% auto; /* Center the reduced mobile image */
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-title .highlight {
    font-size: 2.8rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 30px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .urgency-options {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-timeline::before {
    left: 30px;
  }
  
  .step-number {
    left: 30px;
  }
  
  .step-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    margin-right: 0 !important;
  }
  
  .chat-window {
    width: calc(100vw - 40px);
    height: 80vh;
    right: -10px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-title .highlight {
    font-size: 2.3rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .assessment-form {
    padding: 20px;
  }
  
  .contact-form {
    padding: 25px;
  }
}
