/* ========================================
   UrsaPDF Brand Customization
   Minimal override, preserving template structure
   ======================================== */

/* Logo color */
.header-area .main-nav .logo {
  color: #fff;
}

/* Accent color for active nav items */
.header-area .main-nav .nav li a.active {
  color: #f5a425;
}

/* Hover color for nav */
.header-area .main-nav .nav li:hover a {
  color: #f5a425;
}

/* Keep nav white on transparent header */
.header-area .main-nav .nav li a {
  color: #fff;
  transition: all .3s;
}

/* Scrolled header background - solid dark */
.background-header {
  background-color: #1e1e1e !important;
}

/* Navigation hover/active always orange - even on scrolled header */
.header-area .main-nav .nav li:hover a,
.header-area .main-nav .nav li a.active,
.background-header .main-nav .nav li:hover a,
.background-header .main-nav .nav li a.active {
  color: #f5a425 !important;
}

/* Ensure nav text is visible (white) on scrolled header */
.background-header .main-nav .nav li a {
  color: #fff !important;
}

/* Remove sub-header completely (we don't use it) */
.sub-header {
  display: none !important;
}

/* Fix header position since sub-header is removed */
.header-area {
  top: 0 !important;
}

/* ========================================
   Button Color Styles
   ======================================== */

/* Blue button - Secondary action */
.main-button-red a {
  font-size: 14px;
  color: #fff;
  background-color: #2c3e50; /* Dark slate blue */
  padding: 12px 30px;
  display: inline-block;
  border-radius: 5px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all .3s;
}

.main-button-red a:hover {
  background-color: #34495e; /* Slightly lighter on hover */
  color: #fff;
}

/* Green button - Primary CTA (Download Free) */
.main-button-green {
  margin-top: 25px;
}

.main-button-green a {
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%); /* Green gradient */
  padding: 14px 36px;
  display: inline-block;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all .3s;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.main-button-green a:hover {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* Yellow button - Same size as green button (LEARN MORE) */
.apply-now .main-button-yellow a,
.main-button-yellow a {
  font-size: 14px !important;
  color: #fff !important;
  background-color: #f39c12 !important; /* Warm amber */
  padding: 14px 36px !important;
  display: inline-block !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  transition: all .3s !important;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3) !important;
}

.apply-now .main-button-yellow a:hover,
.main-button-yellow a:hover {
  background-color: #e67e22 !important; /* Darker amber on hover */
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4) !important;
}

/* ========================================
   Meeting Card Price Tag - Remove Red
   ======================================== */

.meeting-item .thumb .price {
  position: absolute;
  left: 20px;
  top: 20px;
}

.meeting-item .thumb .price span {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  background-color: #2c3e50; /* Dark slate blue */
  padding: 7px 12px;
  border-radius: 5px;
}

/* ========================================
   Services Section Carousel Cards
   ======================================== */

.services .item {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(52, 73, 94, 0.9) 100%); /* Dark slate semi-transparent */
  border-radius: 12px;
  padding: 40px;
  transition: all .3s;
  min-height: 240px; /* Fixed minimum height for all cards */
  height: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
}

.services .item:hover {
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.95) 0%, rgba(70, 90, 110, 0.9) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  border-color: rgba(39, 174, 96, 0.3);
}

.services .item .icon img {
  max-width: 60px;
  margin-bottom: 20px;
}

.services .item .down-content h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 15px;
  min-height: 54px; /* Fixed height for titles */
}

.services .item .down-content p {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  line-height: 24px;
  min-height: 72px; /* Fixed height for descriptions */
}

/* ========================================
   Pricing Plans Cards - Side by Side
   ======================================== */

/* ========================================
   Upcoming Meetings / Pricing Section
   ======================================== */

section.upcoming-meetings {
  background-image: url(../images/meetings-bg.jpg);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 220px 0px 100px 0px; /* Extra top padding to avoid overlap with carousel */
}

/* Services section - no bottom padding to avoid white gap */
.services {
  padding-bottom: 0;
  margin-bottom: 0;
}

section.upcoming-meetings .section-heading {
  margin-bottom: 60px;
}

section.upcoming-meetings .section-heading {
  margin-bottom: 50px;
  position: relative;
  z-index: 10;
}

section.upcoming-meetings .section-heading h2 {
  color: #fff;
  margin-top: 0;
}

/* Hide categories sidebar */
section.upcoming-meetings .categories {
  display: none;
}

/* Pricing cards grid */
.pricing-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.pricing-card-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  padding: 40px 30px;
  transition: all .3s;
  position: relative;
}

.pricing-card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.pricing-card-item.featured {
  border: 3px solid #27ae60;
  transform: scale(1.05);
}

.pricing-card-item.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card-item .popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-card-item h3 {
  font-size: 24px;
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

.pricing-card-item .price {
  text-align: center;
  margin-bottom: 25px;
}

.pricing-card-item .price span.amount {
  font-size: 48px;
  font-weight: 800;
  color: #27ae60;
}

.pricing-card-item .price span.period {
  color: #7f8c8d;
  font-size: 14px;
}

.pricing-card-item ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.pricing-card-item ul li {
  padding: 10px 0;
  color: #34495e;
  font-size: 14px;
  border-bottom: 1px solid #ecf0f1;
}

.pricing-card-item ul li:last-child {
  border-bottom: none;
}

.pricing-card-item ul li::before {
  content: "✓";
  color: #27ae60;
  font-weight: bold;
  margin-right: 10px;
}

.pricing-card-item .card-button {
  text-align: center;
}

.pricing-card-item .card-button a {
  display: inline-block;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all .3s;
  text-decoration: none;
}

.pricing-card-item .card-button .btn-blue {
  background: #2c3e50;
  color: #fff;
}

.pricing-card-item .card-button .btn-blue:hover {
  background: #34495e;
}

.pricing-card-item .card-button .btn-green {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #fff;
}

.pricing-card-item .card-button .btn-green:hover {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

/* Responsive for pricing cards */
@media (max-width: 992px) {
  .pricing-cards-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card-item {
    max-width: 400px;
    width: 100%;
  }
  
  .pricing-card-item.featured {
    transform: none;
  }
  
  .pricing-card-item.featured:hover {
    transform: translateY(-10px);
  }
}
