/* Custom CSS for Dr. Mohammad Yousif's Website */

/* Simple, reliable navigation layout */
.wsmainwp {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo stays at left */
.desktoplogo {
    display: flex;
    align-items: center;
}

/* Navigation takes center position with flex */


/* Menu list with proper horizontal display */
.wsmenu-list {
    display: flex;
    align-items: center;
    padding-left: 40px; /* Give some space after logo */
   
}

/* Regular menu items */
.wsmenu-list li.nl-simple:not(:last-child) {
   
    white-space: nowrap;
}

/* Language button stays right */
.wsmenu-list li:last-child {
    margin-left: auto;
    margin-right: 0;
}

/* Distinction Cards Hover Animation */
.fbox-6 {
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 15px;
}

.fbox-6:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.1));
}

.fbox-6:hover .fbox-6-ico {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.fbox-6:hover .h5-sm {
    color: #057DED !important;
    transition: all 0.3s ease;
}

/* Testimonial Cards Hover Animation */
.review-3 {
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    will-change: transform; /* Optimizes animation performance */
}

.review-3:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.review-3:hover .profile-image img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
    border-color: #057DED;
}

.review-3:hover .app-rating {
    transform: scale(1.08);
}

.review-3 .profile-image img {
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.review-3 .app-rating {
    transition: all 0.35s ease;
}

/* Contact Form Styling */
.contact-form-wrapper {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.contact-form input.form-control,
.contact-form textarea.form-control {
    background-color: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    font-size: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-form input.form-control:focus,
.contact-form textarea.form-control:focus {
    border-color: #057DED;
    background-color: white;
    box-shadow: 0 0 10px rgba(5, 125, 237, 0.1);
}

.contact-form .form-btn button {
    transition: all 0.3s ease;
    padding: 10px 30px;
}

/* Adds subtle animation when hovering over form items */
.contact-form input.form-control:hover,
.contact-form textarea.form-control:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* ===== BOOKING MODAL STYLES ===== */

/* Modal Container */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

/* Modal Backdrop */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: none;
    filter: none;
    z-index: 1000;
}

/* Modal Content */
.modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    margin: 20px;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
    filter: none;
    backdrop-filter: none;
    z-index: 1001;
}

.modal:not([hidden]) .modal-content {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.modal-title {
    color: #057DED;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.modal-subtitle {
    color: #666;
    font-size: 16px;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    color: #057DED;
    transform: scale(1.1);
}

/* Form Styles */
.booking-form .form-group {
    margin-bottom: 20px;
}

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

.booking-form .form-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    font-size: 14px;
}

.booking-form .form-control {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 15px;
    line-height: 44px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

.booking-form .form-control:focus {
    outline: none;
    border-color: #057DED;
    box-shadow: 0 0 0 3px rgba(5, 125, 237, 0.1);
}

.booking-form .form-control::placeholder {
    color: #999;
}

.booking-form select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
    cursor: pointer;
}

.booking-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
    height: auto;
    line-height: 1.5;
    padding: 12px 15px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-1px);
}

.booking-form .btn.btn-theme {
    background-color: #057DED;
    border-color: #057DED;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.booking-form .btn.btn-theme:hover {
    background-color: #0056b3;
    border-color: #004085;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 125, 237, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .booking-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .form-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
        border-radius: 8px;
    }
    
    .modal-title {
        font-size: 22px;
    }
    
    .booking-form .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Save Badge Animation */
@keyframes pulse-scale {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.savings-badge-animate {
  display: inline-block;
}

/* RTL adjustments for save badge */
.savings-badge-container {
  z-index: 10;
}

.savings-badge {
  white-space: nowrap;
}

/* Price formatting styles */
.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.price .amount {
  color: #057DED;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
}

.price .period {
  color: #666;
  font-size: 1rem;
  font-weight: 400;
}

/* Responsive adjustments for price */
@media (max-width: 768px) {
  .price .amount {
    font-size: 2rem;
  }
  
  .price .period {
    font-size: 0.9rem;
  }
}

/* Center titles in feature cards */
#benefits .feature-card.card-title {
  text-align: center;
}

/* Remove previous diamond styling - no longer needed */
.feature-card .icon-diamond {
  display: none;
}

/* Center the Interview Prep section wrapper - FORCE CENTERING */
#pricing {
  max-width: 800px !important;      
  margin: 0 auto !important;        
  text-align: center !important;    
  padding: 2rem 1rem !important;
  width: 100% !important;
}

/* Override Bootstrap container */
#pricing .container {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

/* Override Bootstrap row */
#pricing .row:not(.pricing-row) {
  margin: 0 !important;
  justify-content: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Override Bootstrap columns */
#pricing .col-lg-10,
#pricing .col-lg-8 {
  max-width: 100% !important;
  flex: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Center the coaching card */
#pricing .coaching-card {
  margin: 0 auto !important;
  max-width: 600px !important;
}

/* Center icon within its card */
#pricing .card-icon {
  margin: 0 auto 1rem !important;
}

/* Center any flex/grid children */
#pricing .price-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Center the subtitle text specifically */
#pricing .section-title .p-xl {
  text-align: center !important;
  margin: 0 auto !important;
}

/* Center feature list and align icons in straight column */
#pricing .features-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin: 0 auto !important;
  max-width: 450px !important;
}

#pricing .feature-item {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 15px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  max-width: 400px !important;
}

#pricing .feature-item div:first-child {
  flex-shrink: 0 !important;
  min-width: 24px !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
}

#pricing .feature-item p {
  text-align: left !important;
  margin: 0 !important;
  flex: 1 !important;
}

/* Make list items full-width and center-aligned */
#pricing .feature-list {
  position: relative !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 1.5rem auto !important;
  text-align: center !important;
  max-width: 450px !important;
}

#pricing .feature-list li {
  position: relative !important;
  padding: 0.5rem 0 !important; /* remove right padding since no icon */
  text-align: center !important; /* center align the text */
  margin-bottom: 0.75rem !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
  color: #4B5563 !important;
  width: 100% !important;
  display: block !important;
}

#pricing .feature-list li .icon-check {
  display: none !important; /* hide the checkmark icons */
}

/* Center everything in the Other Services section */
#services-nav {
  text-align: center !important;
}

#services-nav .section-title h3 {
  text-align: center !important;
  margin-bottom: 2rem !important;
}

#services-nav .services-boxes {
  display: flex !important;
  justify-content: center !important;
  gap: 1.5rem !important;
  flex-wrap: wrap !important;
}

#services-nav .sbox-4 {
  text-align: center !important;
}

#services-nav .sbox-4 h5,
#services-nav .sbox-4 p,
#services-nav .sbox-4 .btn-link {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#services-nav .sbox-4 .link-wrapper {
  text-align: center !important;
}

/* Ensure responsive behavior */
@media (max-width: 768px) {
  #services-nav .services-boxes {
    flex-direction: column !important;
    align-items: center !important;
  }
  
  #services-nav .sbox-4 {
    max-width: 300px !important;
    margin: 0 auto 1.5rem !important;
  }
}

/* Pricing Cards Layout Fix */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.pricing-cards .col-md-4 {
  padding: 0 15px;
  margin-bottom: 30px;
}

.pricing-table {
  height: 100%;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Pro Plan Highlight */
.pricing-table.highlight {
  box-shadow: 0 8px 20px rgba(5,125,237,0.15);
  transform: translateY(-10px);
}

/* Pricing Table Header */
.pricing-table-header {
  padding: 30px 25px 20px;
  border-bottom: 1px solid #f5f5f5;
  text-align: center;
}

.pricing-table-header h5 {
  color: #394889;
  margin-bottom: 12px;
}

.pricing-table-header h5.pro-title {
  color: #057DED;
}

.pricing-table-header h6 {
  font-size: 15px;
  color: #666;
  margin-bottom: 8px;
}

.pricing-table-header p {
  color: #333;
  font-weight: 500;
}

/* Pricing Table Price */
.pricing-table-price {
  padding: 25px 25px 20px;
  background: linear-gradient(145deg, rgba(252,252,255,1) 0%, rgba(245,247,253,1) 100%);
  text-align: center;
  position: relative;
}

.pricing-table-price.pro-price {
  background: linear-gradient(145deg, rgba(5,125,237,0.03) 0%, rgba(5,125,237,0.07) 100%);
}

.pricing-table-price h2 {
  color: #057DED;
  font-weight: 700;
  margin-bottom: 5px;
}

.pricing-table-price p {
  color: #666;
}

/* Popular Badge */
.badge-wrapper {
  position: absolute;
  top: -12px;
  right: 20px;
}

.popular-badge {
  background-color: #057DED;
  color: white;
  font-weight: 600;
  padding: 5px 15px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(5,125,237,0.2);
}

/* Savings Badge */
.savings-badge-container {
  position: absolute;
  top: -20px;
  right: -20px;
  transform: rotate(15deg);
  z-index: 10;
}

.savings-badge {
  background: linear-gradient(135deg, #ff3366 0%, #ff5e62 100%);
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 5px 15px rgba(255, 51, 102, 0.4);
  transform: rotate(-15deg);
  display: flex;
  align-items: center;
  border: 2px dashed rgba(255,255,255,0.6);
  white-space: nowrap;
}

.savings-badge i {
  margin-right: 5px;
  font-size: 14px;
}

/* Features List */
.pricing-table .features {
  padding: 25px 30px;
  list-style: none;
  margin: 0;
  flex-grow: 1;
}

.pricing-table .features li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

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

.pricing-table .service-name {
  font-weight: 600;
  color: #333;
  font-size: 17px;
  margin-bottom: 8px;
}

.pricing-table .service-details {
  font-size: 15px;
  color: #057DED;
}

.pricing-table .service-details i {
  margin-right: 6px;
}

/* Button Wrapper */
.pricing-table .btn-wrapper {
  padding: 0 30px 35px;
  margin-top: auto;
}

.pricing-table .btn-wrapper .btn {
  width: 100%;
  border-radius: 6px;
  transition: all 0.4s ease;
}

.pricing-table .btn-blue {
  background-color: #057DED;
  color: white;
  box-shadow: 0 5px 15px rgba(5,125,237,0.2);
}

/* Ensure cards stack properly on mobile */
@media (max-width: 767px) {
  .pricing-table.highlight {
    transform: none;
  }
}

/* Removed conflicting .pricing-cards--fixed rules that override Bootstrap grid */
/* Bootstrap's native col-md-4 behavior will now work properly on desktop */

/* Responsive positioning for mobile */
@media (max-width: 767px) {
  .fbox-6 {
    padding: 20px 15px;
  }
  
  /* Hide ALL original numbers on mobile */
  #Distinction .fbox-tra-digit {
    display: none !important;
  }
  
  #Distinction .fbox-6-digit {
    display: none !important;
  }
  
  /* Distinction Section Mobile Optimization */
  #Distinction .features-7-title .section-id,
  #Distinction .features-7-title h3,
  #Distinction .features-7-title p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Card alignment and structure */
  #Distinction .fbox-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  #Distinction .fbox-6-ico {
    margin: 0 auto 15px;
  }
  
  #Distinction .fbox-6-txt {
    text-align: center;
  }
  
  #Distinction .fbox-6-txt h5 {
    margin-bottom: 15px;
  }
  
  #Distinction .fbox-6-txt p {
    text-align: center;
  }
  
  /* Add numbers via pseudo-elements only */
  #Distinction .fbox-6-txt h5::before {
    content: "01. ";
    font-weight: normal;
    margin-right: 4px;
    color: #333;
  }
  
  #Distinction .fbox-6:nth-child(2) .fbox-6-txt h5::before {
    content: "02. ";
  }
  
  #Distinction .fbox-6:nth-child(3) .fbox-6-txt h5::before {
    content: "03. ";
  }
  
  /* LinkedIn Career Elevation Expert heading center alignment for mobile */
  #content-4 .txt-block h3.h3-sm {
    text-align: center;
  }
}

/* Number and title on same line for all screen sizes */
#Distinction .fbox-6-digit,
#Distinction .fbox-6-txt h5 {
    display: inline-block;
    margin: 0;
    vertical-align: baseline;
}

#Distinction .fbox-6-digit {
    margin-right: 8px;
}

#Distinction .fbox-6-txt h5 {
    margin-bottom: 15px;
}

