/* Custom CSS Styles */
:root {
  --primary-color: #1c355e;
  --secondary-color: #6b2c72;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f8f9fa;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

.d-flex.flex-column.gap-1.footerLinks.mt-3 {
    text-transform: uppercase;
}

/* Header Styles */
.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.stats-card {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.heroIconBoxes {
  background-color: #74618e94;
  border-radius: 5px;
}

/* Researcher Photo */
.researcher-photo {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(28, 53, 94, 0.1), rgba(107, 44, 114, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0f2847, #5a2460);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(28, 53, 94, 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Card Enhancements */
.card {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Tabs Styling */
.nav-tabs {
  border-bottom: 2px solid var(--primary-color);
}

.nav-tabs .nav-link {
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.nav-tabs .nav-link:hover {
  border-color: transparent;
  background-color: rgba(28, 53, 94, 0.1);
  color: var(--primary-color);
}

.nav-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-color: transparent;
}

.nav-tabs .nav-link.active:hover {
  background: linear-gradient(135deg, #0f2847, #5a2460);
  color: white;
}

.nav-item a {
  text-decoration: none;
}

/* Service Card Styles */
.service-card {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.service-card:hover {
  border-left-color: var(--primary-color);
  box-shadow: 0 6px 24px rgba(28, 53, 94, 0.15);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  flex-shrink: 0;
}

.service-card h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  padding: 0.25rem 0;
}

.feature-item i {
  font-size: 1rem;
}

.service-card .btn-primary {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

/* Predictive Modeling - Alternative Card Style */
.service-card-alt {
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card-alt:hover {
  box-shadow: 0 8px 28px rgba(28, 53, 94, 0.2);
  transform: translateY(-2px);
}

.service-gradient-bg {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  position: relative;
}

.service-gradient-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}

.service-icon-large {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.mmm-icon-circle.me-3 {
    color: white;
}

/* Pricing Strategy - Bordered Card Style */
.service-card-bordered {
  border: 3px solid var(--primary-color) !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card-bordered::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card-bordered:hover {
  box-shadow: 0 8px 28px rgba(28, 53, 94, 0.2);
  transform: translateY(-2px);
  border-color: var(--secondary-color);
}

.service-icon-badge {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.feature-box {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: rgba(28, 53, 94, 0.05);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.feature-box:hover {
  background: rgba(28, 53, 94, 0.1);
  transform: translateX(5px);
}

.feature-box i {
  font-size: 1.1rem;
}

/* Footer Styles */
footer p,
.footerLinks a,
.footerBottom {
  color: #ffffff8c;
}

.emailText {
  font-size: 12px;
  font-weight: bold;
}

.authorDegree {
  font-size: 14px;
}

/* Animation */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media only screen and (max-width:500px)
{
  .desktopVersion
  {
    display: none !important;
  }

.mobileVersion{
  display: block !important;
}

}

@media only screen and (min-width:501px)
{
  .desktopVersion
  {
    display: block !important;
  }

.mobileVersion{
  display: none !important;
}

}



/* Responsive Design */
@media (max-width: 992px) {
  .hero-section .display-6 {
    font-size: 2.5rem;
  }

  .stats-card {
    margin-top: 2rem;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .service-card h4 {
    font-size: 1.3rem;
  }

  .service-gradient-bg {
    min-height: 250px;
  }

  .service-icon-large {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 0.75rem;
  }


.btn-primary
{
  display: block;
}

.sidebar{
  margin-top: 30px;
}


  .logo-icon + div h1 {
    font-size: 13px !important;
    margin-right: 5px;
  }

  .logo-icon + div p {
    font-size: 11px !important;
    margin-right: 5px;
  }

  header .btn {
    font-size: 0.75rem;
    padding: 6px !important;
  }

  .hero-section {
    padding: 3rem 0 !important;
  }

  .hero-section .display-6 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .stats-card .h2 {
    font-size: 1.5rem !important;
  }

  .nav-tabs .nav-link {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  .nav-tabs .nav-link i {
    display: none;
  }

  .emailText {
    font-size: 14px;
    text-align: center !important;
  }

  .service-card .d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-icon {
    margin-bottom: 1rem;
    margin-right: 0 !important;
  }

  .service-card h4 {
    font-size: 1.25rem;
    text-align: left;
  }

  .text-muted
  {
    text-align: left;
  }

  .service-card-alt .row {
    flex-direction: column;
  }

  .service-gradient-bg {
    min-height: 200px;
  }

  .service-icon-badge {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .feature-box {
    font-size: 0.85rem;
    padding: 0.5rem;
  }


.authorBox-about
{
  margin-left: 20px;

}


}

@media (max-width: 576px) {

  .statsCard {
    font-size: 10px;
  }

  .statsText {
    font-size: 13px;
  }

  .service-card .card-body {
    padding: 1.5rem !important;
  }

  .feature-item {
    font-size: 0.85rem;
  }

  .service-card-alt .card-body {
    padding: 1.5rem !important;
  }

  .service-card-bordered .card-body {
    padding: 1.5rem !important;
  }
}



@media only screen and (max-width:767px)
{
    .last-column-footer
  {
    margin-top: 16px;
  }
}



/* Media Mix Models page styles */

/* MMM Introduction Icon */
.mmm-intro-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  margin: 0 auto;
}

/* MMM Card with Left Sidebar */
.mmm-card-left {
  transition: all 0.3s ease;
}

.mmm-card-left:hover {
  box-shadow: 0 8px 28px rgba(28, 53, 94, 0.2);
  transform: translateY(-2px);
}

/* MMM Sidebar Accent */
.mmm-sidebar-accent {
  background: #3b3165;
  position: relative;
  overflow: hidden;
}

.mmm-sidebar-accent::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.mmm-feature-box {
    padding: 20px
  }

/* Responsive styles for MMM page */
@media (max-width: 992px) {
  .mmm-intro-icon {
    width: 80px;
    height: 80px;
    font-size: 2.5rem;
  }

  .mmm-sidebar-accent {
    min-height: 200px;
  }

  .mmm-icon-circle {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .mmm-intro-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .mmm-sidebar-accent {
    min-height: 180px;
  }

  .mmm-feature-box {
    padding: 0.75rem;
  }

  .mmm-feature-box h6 {
    font-size: 0.95rem;
  }

  .mmm-feature-box .small {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .mmm-intro-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
    display: inline-flex;
  }

  .mmm-card-gradient .card-body,
  .mmm-card-bordered .card-body {
    padding: 1.5rem !important;
  }

  
  .mmm-card-left .card-body {
    padding: 0px !important;
  }

  .mmm-feature-box {
    padding: 1rem;
  }

.MA-Table
{
  vertical-align: top !important;
}


}
