/* Travel Route Optimization Tool - Main CSS */
:root {
  /* Primary Color Palette */
  --primary-blue: #3476e8;
  --primary-green: #0b8c49;
  --primary-orange: #f25400;
  --primary-purple: #b140ef;
  --primary-red: #f03a4b;
  
  /* Light Shades */
  --light-blue: #e7edf8;
  --light-green: #cee4d6;
  --light-orange: #fbd291;
  --light-purple: #d6b2ed;
  --light-red: #ffc3c9;
  
  /* Dark Shades */
  --dark-blue: #124cae;
  --dark-green: #126833;
  --dark-orange: #ca350a;
  --dark-purple: #5b37d6;
  --dark-red: #a90a10;
  
  /* Conservative Font Sizes */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
}

/* Reset and Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px; /* Conservative base size */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2b2b2b;
  overflow-x: hidden;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header & Navigation */
.navbar-brand {
  font-size: var(--font-size-xl) !important; /* Conservative logo size */
  font-weight: 600;
  color: var(--primary-blue) !important;
}

.navbar-nav .nav-link {
  font-size: var(--font-size-base);
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-orange) !important;
}

/* Hero Section */
.hero-section h1 {
  padding-top: 100px;
}
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../MOT_images/hero-bg.webp') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  padding-top: 150px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: 1.22rem;
  color: white;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: 1.22rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-desc {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
}

/* Sections */
.section-padding {
  padding: 4rem 0;
}

.section-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  margin-bottom: 1.22rem;
  color: var(--primary-blue);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: 1.22rem;
  color: var(--primary-purple);
}

.section-desc {
  font-size: var(--font-size-base);
  color: #716c6c;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-orange);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.62rem;
}

.service-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1.22rem;
  color: var(--primary-blue);
}

.service-desc {
  font-size: var(--font-size-base);
  color: #575454;
  margin-bottom: 1.62rem;
}

.service-features {
  font-size: var(--font-size-small);
  color: var(--primary-green);
  margin-bottom: 1.22rem;
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-orange);
}

/* Team Cards */
.team-card {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 8px solid var(--primary-green);
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.68rem;
  color: var(--primary-blue);
}

.team-role {
  font-size: var(--font-size-base);
  color: var(--primary-purple);
}

/* Reviews Slider */
.review-slide {
  background: var(--light-blue);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 0 1rem;
}

.review-text {
  font-size: var(--font-size-base);
  font-style: italic;
  margin-bottom: 1.62rem;
  color: #4c4c4c;
}

.review-author {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--primary-blue);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1.22rem;
  border: 1px solid #d9dbe1;
}

.faq-question {
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: 1.5rem;
  cursor: pointer;
  color: var(--primary-blue);
  border-bottom: 1px solid #ccd0d9;
}

.faq-answer {
  font-size: var(--font-size-base);
  padding: 1.5rem;
  color: #636262;
  display: none;
}

/* Contact Form */
.contact-form {
  background: var(--light-green);
  padding: 3rem;
  border-radius: 12px;
}

.form-control {
  border-radius: 8px;
  border: 2px solid #edf1ff;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(50, 85, 243, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  border: none;
  padding: 0.75rem 2rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--dark-blue), var(--dark-purple));
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-blue), var(--dark-purple));
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  font-size: var(--font-size-lg);
  margin-bottom: 1.22rem;
  color: var(--light-blue);
}

.footer p, .footer a {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-orange);
}

/* Blog Section */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1.22rem;
  color: var(--primary-blue);
}

.blog-excerpt {
  font-size: var(--font-size-base);
  color: #757373;
  margin-bottom: 1.22rem;
}

.blog-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.22rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Utility Classes */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-orange));
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Feature Items */
.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 1.22rem;
}

.feature-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1.22rem;
  color: var(--primary-blue);
}

.feature-desc {
  font-size: var(--font-size-base);
  color: #5b5b5b;
}

/* Price Plan Cards */
.price-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
  height: 100%;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.featured {
  border: 3px solid var(--primary-orange);
  transform: scale(1.05);
}

.price-name {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 1.22rem;
  color: var(--primary-blue);
}

.price-amount {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 1.22rem;
}

.price-features {
  font-size: var(--font-size-base);
  color: #6e6e6e;
  margin-bottom: 2.10rem;
}

.price-features ul {
  list-style: none;
  padding: 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #dcdcdc;
}

.price-features li:last-child {
  border-bottom: none;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
