/* =================================
   AI Competitor Tracking Tool Template
   Main CSS File - Bootstrap 5 Integration
   ================================= */

/* Color Variables - Pastel High-Contrast Theme */
:root {
  /* Primary Colors */
  --primary-blue: #4A90E2;
  --primary-purple: #8E44AD;
  --primary-teal: #1ABC9C;
  --primary-orange: #F39C12;
  --primary-gray: #34495E;
  
  /* Light Shades */
  --light-blue: #EBF4FF;
  --light-purple: #F4EEFF;
  --light-teal: #E8F8F5;
  --light-orange: #FEF4E6;
  --light-gray: #F8F9FA;
  
  /* Dark Shades */
  --dark-blue: #2C5282;
  --dark-purple: #5A2D6B;
  --dark-teal: #138D75;
  --dark-orange: #D35400;
  --dark-gray: #1a252f;
  
  /* Base Typography */
  --font-family-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 0.95rem;
  --font-size-sm: 0.85rem;
  --line-height-base: 1.5;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --section-padding-sm: 2rem 0;
}

/* Base Styles */
body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-gray);
  background-color: #fff;
    overflow-x: hidden;
}

/* Typography - Conservative Sizes */
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-purple);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 0.6rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  color: var(--primary-gray);
}

/* Header & Navigation */
.navbar-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--dark-gray);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* Section Styling */
section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--primary-gray);
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--primary-gray);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-purple) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
    padding-top: 100px;
}

.hero-image {
  z-index: 1;
}

/* Decorative Shapes */
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: var(--light-teal);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

/* About Section */
.about-section {
  background-color: var(--light-gray);
}

.feature-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  border: none;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Services Section */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: none;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-top: 1rem;
}

/* Features Section */
.features-section {
  background: linear-gradient(45deg, var(--light-teal) 0%, var(--light-blue) 100%);
}

/* Price Plan Section */
.pricing-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
  border: none;
  height: 100%;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--primary-blue);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.price-tag {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

/* Team Section */
.team-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  border: none;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 4px solid var(--light-blue);
}

/* Reviews Section */
.review-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: none;
  height: 100%;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-blue);
  opacity: 0.3;
}

/* Case Study Section */
.casestudy-section {
  background-color: var(--light-gray);
}

.casestudy-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border: none;
  height: 100%;
  transition: transform 0.3s ease;
}

.casestudy-card:hover {
  transform: translateY(-5px);
}

/* Process Section */
.process-step {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: none;
  position: relative;
  margin-bottom: 2rem;
}

.process-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Timeline Section */
.timeline-section {
  background: linear-gradient(135deg, var(--light-purple) 0%, var(--light-orange) 100%);
}

.timeline-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-left: 4px solid var(--primary-teal);
}

/* Career Section */
.career-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: none;
  height: 100%;
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
}

/* Core Info Section */
.coreinfo-section {
  background-color: var(--light-gray);
}

.coreinfo-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: none;
  height: 100%;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
  color: white;
}

.contact-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-info {
  color: white;
}

.contact-info h4 {
  color: white;
}

.contact-info p {
  color: rgba(255,255,255,0.9);
}

/* Blog Section */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: none;
  height: 100%;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 200px;
  background-color: var(--light-blue);
}

.blog-content {
  padding: 1.5rem;
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-gray);
}

.faq-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: none;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--primary-gray);
}

/* Gallery Section */
.gallery-section {
  padding: 3rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.gallery-image {
  width: 100%;
  height: 250px;
  background-color: var(--light-blue);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer p, .footer a {
  color: rgba(255,255,255,0.95);
  font-weight: 400;
}

.footer a:hover {
  color: white;
  text-decoration: none;
}

/* Footer Contact Info Styling */
.footer-contact-info {
  margin-top: 0.5rem;
}

.footer-contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-contact-info .contact-item i {
  color: white;
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-info .contact-item span {
  color: rgba(255,255,255,0.95);
  font-weight: 400;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  border-radius: 25px;
  padding: 0.7rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  border-radius: 25px;
  padding: 0.7rem 2rem;
  font-weight: 500;
}

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

/* Form Styles */
.form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* Utility Classes */
.text-primary {
  color: var(--primary-blue);
}

.bg-light-custom {
  background-color: var(--light-gray);
}

/* Animation Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  :root {
    --section-padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}



/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.9);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
