/* Custom styles for login navigation */
.navbar .container .upper-side .login-nav {
  margin: 0 25px;
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

.navbar .container .upper-side .login-nav a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.navbar .container .upper-side .login-nav a i {
  font-size: 16px;
  margin-right: 8px;
  color: #fff;
}

.navbar .container .upper-side .login-nav a span {
  color: #fff;
}

.navbar .container .upper-side .login-nav a:hover {
  opacity: 0.8;
}

@media only screen and (max-width: 991px) {
  .navbar .container .upper-side .login-nav {
    margin: 0 15px;
    padding: 0 10px;
  }
  
  .navbar .container .upper-side .login-nav span {
    display: none;
  }
  
  .navbar .container .upper-side .login-nav a i {
    font-size: 18px;
    margin-right: 0;
  }
}

/* Transactions Page Styles */
.transactions-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.transactions-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.transactions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.transactions-summary {
  display: flex;
  gap: 30px;
}

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

.summary-item h3 {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

.summary-item h2 {
  font-size: 24px;
  color: #282828;
  font-weight: 600;
}

.transactions-filters {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.transactions-filters .form-select {
  width: 200px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 8px 15px;
}

.date-range {
  display: flex;
  gap: 10px;
}

.date-range input {
  width: 150px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 8px 15px;
}

.filter-btn {
  background: #282828;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #1a1a1a;
}

.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.transaction-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.transaction-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.transaction-icon i {
  font-size: 18px;
}

.transaction-icon i.fa-arrow-down {
  color: #dc3545;
}

.transaction-icon i.fa-arrow-up {
  color: #28a745;
}

.transaction-details {
  flex: 1;
}

.transaction-details h3 {
  font-size: 16px;
  color: #282828;
  margin-bottom: 5px;
}

.transaction-details p {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.transaction-date {
  font-size: 12px;
  color: #999;
}

.transaction-amount {
  text-align: right;
}

.transaction-amount h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.status {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.status.completed {
  background: #e8f5e9;
  color: #28a745;
}

.status.pending {
  background: #fff3e0;
  color: #ff9800;
}

.transactions-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 15px;
}

.transactions-pagination button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.transactions-pagination button:hover {
  background: #282828;
  color: #fff;
  border-color: #282828;
}

.page-numbers {
  display: flex;
  gap: 10px;
}

.page-numbers span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-numbers span:not(.active) {
  border: 1px solid #ddd;
}

.page-numbers span.active {
  background: #282828;
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .transactions-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .transactions-filters {
    width: 100%;
  }
  
  .date-range {
    flex: 1;
  }
  
  .date-range input {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .transaction-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .transaction-icon {
    margin-bottom: 15px;
  }
  
  .transaction-amount {
    width: 100%;
    text-align: left;
    margin-top: 15px;
  }
  
  .transactions-filters {
    flex-direction: column;
  }
  
  .transactions-filters .form-select,
  .date-range {
    width: 100%;
  }
}

/* Profile Page Styles */
.profile-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.profile-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.profile-header h2 {
  font-size: 24px;
  color: #282828;
  font-weight: 600;
}

.edit-profile-btn {
  background: #282828;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit-profile-btn:hover {
  background: #1a1a1a;
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #666;
  font-size: 14px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #282828;
}

.security-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.security-section h3 {
  font-size: 20px;
  color: #282828;
  margin-bottom: 20px;
}

/* Profile Sidebar Styles */
.profile-sidebar {
  background: #ebcfa780;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
}

.profile-info {
  text-align: center;
  margin-bottom: 30px;
}

.profile-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.change-avatar {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #282828;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.change-avatar:hover {
  background: #1a1a1a;
}

.profile-info h3 {
  font-size: 20px;
  color: #282828;
  margin-bottom: 5px;
}

.profile-info p {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

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

.stat-item h4 {
  font-size: 24px;
  color: #282828;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 14px;
  color: #666;
}

.profile-menu {
  margin-top: 30px;
}

.profile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-menu li {
  margin-bottom: 10px;
}

.profile-menu a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  color: #666;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.profile-menu a i {
  margin-right: 10px;
  font-size: 16px;
}

.profile-menu a:hover,
.profile-menu li.active a {
  background: #f8f9fa;
  color: #282828;
}

/* Responsive Styles for Profile Page */
@media (max-width: 991px) {
  .profile-form {
    grid-template-columns: 1fr;
  }
  
  .profile-sidebar {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .profile-stats {
    flex-direction: column;
    gap: 15px;
  }
}

/* Investments Page Styles */
.investments-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.investments-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.investments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.total-investments {
  text-align: center;
  background-color: #f4e9d9;
  padding: 20px;
  border-radius: 8px;
}

.total-investments h3 {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

.total-investments h2 {
  font-size: 32px;
  color: #282828;
  font-weight: 600;
  margin-bottom: 5px;
}

.total-investments p {
  color: #28a745;
  font-size: 14px;
}

.investments-filters {
  display: flex;
  gap: 15px;
  align-items: center;
}

.investments-filters .form-select {
  width: 200px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 8px 15px;
}

.filter-btn {
  background: #282828;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #1a1a1a;
}

.investments-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.investment-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

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

.investment-item:hover .investment-image img {
  transform: scale(1.05);
}

.investment-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.investment-status.active {
  background: #e8f5e9;
  color: #28a745;
}

.investment-status.completed {
  background: #fff3e0;
  color: #ff9800;
}

.investment-details {
  padding: 20px;
}

.investment-details h3 {
  font-size: 18px;
  color: #282828;
  margin-bottom: 10px;
}

.investment-details p {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.investment-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.info-item {
  text-align: center;
  padding: 10px;
  background: #f1e4d059;
  border-radius: 5px;
}

.info-item span {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

.info-item h4 {
  font-size: 16px;
  color: #282828;
  font-weight: 600;
}

.investment-actions {
  display: flex;
  gap: 25px;
}

.view-btn {
  flex: 1;
  background: #9f8054;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.documents-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #f8f9fa;
  color: #282828;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.documents-btn:hover {
  background: #e9ecef;
  color: #9f8054;
}

/* Responsive Styles for Investments Page */
@media (max-width: 991px) {
  .investments-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .investments-filters {
    width: 100%;
  }
  
  .investments-filters .form-select {
    flex: 1;
  }
}

@media (max-width: 767px) {
  .investments-list {
    grid-template-columns: 1fr;
  }
  
  .investment-info {
    grid-template-columns: 1fr;
  }
}

/* Legal Pages Styles (CGU & Mentions Légales) */
.legal-section {
  margin-top: 50px;
}

.legal-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
  margin-bottom: 40px;
}

.legal-content h1 {
  font-size: 32px;
  color: #282828;
  margin-bottom: 30px;
  font-weight: 600;
}

.legal-content h2 {
  font-size: 24px;
  color: #282828;
  margin: 40px 0 20px;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 2px solid #f4e9d9;
}

.legal-content h3 {
  font-size: 20px;
  color: #282828;
  margin: 30px 0 15px;
  font-weight: 600;
}

.legal-content p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-content li {
  color: #666;
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-content strong {
  color: #282828;
  font-weight: 600;
}

.legal-content a {
  color: #9f8054;
  text-decoration: none;
  transition: all 0.3s ease;
}

.legal-content a:hover {
  color: #282828;
  text-decoration: underline;
}

.legal-content .last-updated {
  font-style: italic;
  color: #999;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

/* Responsive styles for legal pages */
@media (max-width: 991px) {
  .legal-section {
    padding: 60px 0;
  }
  
  .legal-content {
    padding: 30px;
  }
  
  .legal-content h1 {
    font-size: 28px;
  }
  
  .legal-content h2 {
    font-size: 22px;
  }
  
  .legal-content h3 {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .legal-section {
    padding: 40px 0;
  }
  
  .legal-content {
    padding: 20px;
  }
  
  .legal-content h1 {
    font-size: 24px;
  }
  
  .legal-content h2 {
    font-size: 20px;
  }
  
  .legal-content h3 {
    font-size: 16px;
  }
}

/* Booking Page Styles */
.booking-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.service-presentation {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
  height: 100%;
}

.service-presentation h2 {
  font-size: 28px;
  color: #282828;
  margin-bottom: 30px;
  font-weight: 600;
}

.service-presentation p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

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

.feature-item i {
  font-size: 32px;
  color: #9f8054;
  margin-bottom: 15px;
}

.feature-item h3 {
  font-size: 18px;
  color: #282828;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-item p {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

.booking-calendar {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
  height: 100%;
}

.booking-calendar h2 {
  font-size: 28px;
  color: #282828;
  margin-bottom: 20px;
  font-weight: 600;
}

.booking-calendar p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.calendly-inline-widget {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.booking-info {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
}

.booking-info h3 {
  font-size: 20px;
  color: #282828;
  margin-bottom: 20px;
  font-weight: 600;
}

.booking-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.booking-info li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #666;
}

.booking-info li:last-child {
  margin-bottom: 0;
}

.booking-info li i {
  color: #9f8054;
  margin-right: 15px;
  font-size: 18px;
}

/* Responsive styles for booking page */
@media (max-width: 991px) {
  .service-features {
    grid-template-columns: 1fr;
  }
  
  .booking-section {
    padding: 60px 0;
  }
  
  .service-presentation,
  .booking-calendar {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .booking-section {
    padding: 40px 0;
  }
  
  .service-presentation,
  .booking-calendar {
    padding: 20px;
  }
  
  .service-presentation h2,
  .booking-calendar h2 {
    font-size: 24px;
  }
  
  .feature-item {
    padding: 20px;
  }
}

/* Investment Process Styles */
.investment-process {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.investment-form {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 28px;
  color: #282828;
  margin-bottom: 15px;
}

.form-header p {
  color: #666;
  font-size: 18px;
}

.form-section {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

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

.form-section h3 {
  font-size: 20px;
  color: #282828;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Parts Selection Styles */
.parts-selection {
  display: flex;
  align-items: center;
  gap: 20px;
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.btn-minus,
.btn-plus {
  background: #f8f9fa;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  color: #666;
}

.btn-minus:hover,
.btn-plus:hover {
  background: #e9ecef;
}

#partsCount {
  width: 60px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 10px;
  font-size: 16px;
}

.parts-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.parts-total {
  font-size: 18px;
  color: #666;
}

.parts-total strong {
  color: #282828;
  font-size: 20px;
}

.parts-percentage {
  font-size: 14px;
  color: #666;
}

/* Payment Options Styles */
.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.payment-option {
  position: relative;
}

.payment-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.payment-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + label {
  border-color: #9f8054;
  background: #f8f9fa;
}

.payment-option i {
  font-size: 24px;
  color: #9f8054;
  margin-bottom: 10px;
}

.payment-option span {
  font-size: 16px;
  color: #282828;
  margin-bottom: 5px;
}

.payment-option small {
  font-size: 14px;
  color: #666;
}

/* Investment Summary Styles */
.investment-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

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

.summary-item span {
  color: #666;
  font-size: 16px;
}

.summary-item strong {
  color: #282828;
  font-size: 18px;
}

.summary-item.highlight {
  background: #f4e9d9;
  margin: 0 -20px;
  padding: 15px 20px;
  border-radius: 8px;
}

.summary-item.highlight strong {
  color: #9f8054;
  font-size: 20px;
}

/* Benefits List Styles */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
  font-size: 24px;
  color: #9f8054;
}

.benefit-item span {
  color: #282828;
  font-size: 16px;
}

/* Payment Form Styles */
.payment-form {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

#card-element {
  padding: 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 15px;
}

#card-errors {
  color: #dc3545;
  font-size: 14px;
  margin-bottom: 15px;
}

.btn-payment {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px;
  background: #9f8054;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-payment:hover {
  background: #8a6d3b;
}

.btn-payment i {
  font-size: 18px;
}

/* Investment Sidebar Styles */
.investment-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.property-preview {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.property-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-info {
  padding: 20px;
  background: #fff;
}

.property-info h3 {
  font-size: 18px;
  color: #282828;
  margin-bottom: 10px;
}

.property-info p {
  color: #666;
  font-size: 14px;
}

.expert-contact {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.expert-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.expert-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.expert-details h4 {
  font-size: 16px;
  color: #282828;
  margin-bottom: 5px;
}

.expert-details p {
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: #282828;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: #1a1a1a;
  color: #fff;
}

.security-info {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.security-badges img {
  height: 40px;
  width: auto;
}

.security-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .investment-process {
    padding: 60px 0;
  }
  
  .investment-form {
    padding: 30px;
  }
  
  .payment-options {
    grid-template-columns: 1fr;
  }
  
  .benefits-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .investment-process {
    padding: 40px 0;
  }
  
  .investment-form {
    padding: 20px;
  }
  
  .parts-selection {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .form-section h3 {
    font-size: 18px;
  }
  
  .summary-item span,
  .summary-item strong {
    font-size: 14px;
  }
  
  .summary-item.highlight strong {
    font-size: 16px;
  }
}

/* Custom styles for IPFY */

/* Navbar user dropdown */
.login-nav .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.login-nav .dropdown-menu {
    position: absolute;
    right: 0;
    left: auto;
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 14px;
    color: #212529;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    z-index: 9999;
}

.login-nav .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529 !important;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.login-nav .dropdown-item:hover, 
.login-nav .dropdown-item:focus {
    color: #16181b !important;
    text-decoration: none;
    background-color: #f8f9fa;
}

.login-nav .dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

/* Make dropdown visible on hover */
.login-nav .dropdown:hover .dropdown-menu {
    display: block;
}

/* Fix dropdown color and z-index issues */
.login-nav .dropdown-toggle,
.login-nav .dropdown-toggle span {
    color: #fff;
}

.login-nav .dropdown-toggle:hover,
.login-nav .dropdown-toggle:focus {
    color: #fff;
    text-decoration: none;
}

/* Improve dropdown items styling */
.login-nav .dropdown-item i {
    width: 20px;
    margin-right: 8px;
    color: #9f8054;
}

.login-nav .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.login-nav .dropdown-menu {
    margin-top: 10px;
    border-radius: 6px;
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 99999 !important;
}

/* Add arrow to dropdown */
.login-nav .dropdown-menu:before {
    content: '';
    position: absolute;
    top: -10px;
    right: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

/* Fix navbar z-index */
.navbar .menu {
    z-index: 998;
}

.navbar .upper-side {
    z-index: 999;
}

.login-nav {
    position: relative;
    z-index: 9999;
}

/* Responsive styles for dropdown */
@media only screen and (max-width: 991px) {
    .login-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        width: 180px;
    }
    
    .login-nav {
        position: relative;
    }
    
    .login-nav .dropdown-toggle::after {
        display: none;
    }
    
    .login-nav .dropdown-menu:before {
        right: 10px;
    }
    
    .login-nav .dropdown-item {
        font-size: 12px;
        padding: 8px 15px;
    }
}

/* Fix dropdown visibility with direct style overrides */
body .login-nav .dropdown .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 99999 !important;
    transform: none !important;
    position: absolute !important;
}

body.loaded .login-nav .dropdown .dropdown-menu.show {
    z-index: 99999 !important;
}

/* Ensure dropdown is over other elements */
.login-nav .dropdown {
    position: static;
}

.login-nav .dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
}

/* Form input styling fixes */
.contact-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

.contact-form .form-group input {
    width: 100%;
    height: 50px;
    border: 1px solid #e0e3e9;
    border-radius: 5px;
    padding: 0 20px;
    transition: all .3s;
    position: relative;
}

.contact-form .form-group span {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #8d99af;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 0 5px;
}

.contact-form .form-group input:focus ~ span,
.contact-form .form-group input:valid ~ span,
.contact-form .form-group input.filled ~ span {
    top: -8px;
    left: 15px;
    background: #fff;
    padding: 0 10px;
    font-size: 11px;
    color: #9f8054;
    transform: translateY(0);
}

/* Make the input take focus when clicking the span */
.contact-form .form-group span:hover {
    cursor: text;
}

/* Add transition for smooth animation */
.contact-form .form-group input {
    transition: border-color 0.3s ease;
}

.contact-form .form-group input:focus {
    outline: none;
    border-color: #9f8054;
}

.contact-form .form-group input:hover,
.contact-form .form-group input:focus {
    
    outline: none;
}

.contact-form .form-group textarea {
    width: 100%;
    resize: none;
    border: 1px solid #e0e3e9;
    border-radius: 5px;
    padding: 15px 20px;
    height: 200px;
    transition: all .3s;
}

.contact-form .form-group textarea:hover,
.contact-form .form-group textarea:focus {
    border-color: #3490dc;
    box-shadow: 0 0 5px rgba(52, 144, 220, 0.25);
    outline: none;
}