/* escProfile.com Custom CSS */
/* Corporate Design and Custom Styling for escProfile.com */

:root {
  --accent-color: #000099;
  --heading-color: #000099;
  --nav-dropdown-hover-color: #000099;
}

/* Logo Styling */
.logo-img {
  height: 55px;
  width: auto;
  margin-right: 12px;
  object-fit: contain;
}

.sitename {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

/* Team member images - default round */
.team-member .member-img img {
  border-radius: 50%;
  width: 160px;
  height: 160px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

/* Partner network image - override to be rectangular */
.partner-network-img {
  border-radius: 15px !important;  /* Slightly rounded corners, not circular */
  width: 240px !important;         /* Larger width to show partners better */
  height: 160px !important;        /* Taller for better proportions */
  object-fit: contain !important;  /* Don't crop, show full image */
}

/* Responsive Logo */
@media (max-width: 768px) {
  .logo-img {
    height: 45px;
    margin-right: 10px;
  }
  
  .sitename {
    font-size: 1.1rem;
  }
}

.hero {
  background: linear-gradient(135deg, #000099 0%, #000067 100%);
}

.btn-primary {
  background-color: #000099;
  border-color: #000099;
}

.btn-primary:hover {
  background-color: #000067;
  border-color: #000067;
}

.discount {
  color: #28a745;
  font-weight: bold;
  font-size: 1.1em;
}

.hero-video {
  position: relative;
  margin-top: 2rem;
}

.hero-video iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

.nav-tabs .nav-link {
  color: #000099;
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  background-color: #000099;
  color: white;
  border-color: #000099;
}

.free-account-box {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.free-account-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  cursor: pointer;
}

.free-account-box h4 {
  color: white;
  margin-bottom: 10px;
}

.free-account-box ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.free-account-box li {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
}

.free-account-box li .bi {
  margin-right: 8px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-item.free-account {
  border: 3px solid #28a745;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pricing-item.free-account h3 {
  color: #28a745;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

/* Pricing cards with buttons at top */
.pricing-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.pricing-item .btn-container {
  order: 1;
  margin-bottom: 1rem;
}

.pricing-item h3 {
  order: 2;
}

.pricing-item h4 {
  order: 3;
}

.pricing-item .discount {
  order: 4;
}

.pricing-item ul {
  order: 5;
  flex-grow: 1;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pricing-item ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

.pricing-item ul li .bi {
  margin-right: 8px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-item .text-center:not(.btn-container) {
  order: 6;
  margin-top: auto;
}
