/* Travel Route Optimization Tool - Main CSS */
:root {
  /* Primary Color Palette */
  --primary-blue: #2563eb;
  --primary-green: #16a34a;
  --primary-orange: #ea580c;
  --primary-purple: #9333ea;
  --primary-red: #dc2626;
  
  /* Light Shades */
  --light-blue: #dbeafe;
  --light-green: #dcfce7;
  --light-orange: #fed7aa;
  --light-purple: #e9d5ff;
  --light-red: #fecaca;
  
  /* Dark Shades */
  --dark-blue: #1e40af;
  --dark-green: #15803d;
  --dark-orange: #c2410c;
  --dark-purple: #7c3aed;
  --dark-red: #b91c1c;
  
  /* 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: #333;
  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 {
  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('../FAM_images/hero-bg.webp') center/cover;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  margin-bottom: 1rem;
  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: 1rem;
  color: var(--primary-blue);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: 1rem;
  color: var(--primary-purple);
}

.section-desc {
  font-size: var(--font-size-base);
  color: #666;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 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.5rem;
}

.service-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.service-desc {
  font-size: var(--font-size-base);
  color: #666;
  margin-bottom: 1.5rem;
}

.service-features {
  font-size: var(--font-size-small);
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.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 4px 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: 4px solid var(--primary-green);
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
  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.5rem;
  color: #333;
}

.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: 1rem;
  border: 1px solid #e5e7eb;
}

.faq-question {
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: 1.5rem;
  cursor: pointer;
  color: var(--primary-blue);
  border-bottom: 1px solid #e5e7eb;
}

.faq-answer {
  font-size: var(--font-size-base);
  padding: 1.5rem;
  color: #666;
  display: none;
}

/* Contact Form */
.contact-form {
  background: var(--light-green);
  padding: 3rem;
  border-radius: 12px;
}

.form-control {
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  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(37, 99, 235, 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: 1rem;
  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 4px 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: 1rem;
  color: var(--primary-blue);
}

.blog-excerpt {
  font-size: var(--font-size-base);
  color: #666;
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-orange);
  text-decoration: none;
  font-weight: 600;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.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 4px 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: 1rem;
}

.feature-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.feature-desc {
  font-size: var(--font-size-base);
  color: #666;
}

/* 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: 1rem;
  color: var(--primary-blue);
}

.price-amount {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.price-features {
  font-size: var(--font-size-base);
  color: #666;
  margin-bottom: 2rem;
}

.price-features ul {
  list-style: none;
  padding: 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.price-features li:last-child {
  border-bottom: none;
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
