/* 
  Custom CSS for Kick Interview Web Application
  This stylesheet contains custom styles beyond Bootstrap's defaults
*/

/* Global Styles */
:root {
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --secondary-color: #2ec4b6;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --grey-color: #6c757d;
  --success-color: #2ecc71;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--grey-color);
}

/* Buttons */
.btn {
  border-radius: 5px;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-color);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

/* Navigation */
.navbar {
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 600;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0 15px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.btn-outline-light {
  border-radius: 4px;
  padding: 6px 16px;
  font-weight: 500;
}

/* Features Section */
.feature-card {
  border-radius: 10px;
  transition: all 0.3s ease;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(67, 97, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Stats Section */
.stats-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Service Cards */
.card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tech-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(67, 97, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pricing Cards */
.pricing-card {
  transition: all 0.3s ease;
  border-radius: 10px;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-popular {
  border-top: 3px solid var(--primary-color);
  transform: scale(1.05);
  z-index: 1;
}

.pricing-popular:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Testimonial Cards */
.testimonial-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-img img {
  border: 3px solid var(--primary-color);
}

/* Contact Form */
.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #e1e5ea;
  border-radius: 5px;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
}

.navbar-nav .nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.navbar-scrolled {
  background-color: #fff !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.navbar-scrolled .navbar-brand,
.navbar-scrolled .nav-link {
  color: var(--dark-color);
}

.navbar-scrolled .nav-link:hover {
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: #212529;
}

footer a {
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--primary-color) !important;
  text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .pricing-popular {
    transform: scale(1);
  }
  
  .pricing-popular:hover {
    transform: translateY(-5px) scale(1);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
  
  .display-6 {
    font-size: 1.8rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-in both;
}

.slide-up {
  animation: slideUp 0.8s ease-in-out both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}