:root {
  /* Color Palette */
  --primary-color: #e63946; /* Racing red */
  --secondary-color: #1d3557; /* Deep navy */
  --accent-color: #f1c40f; /* High-vis yellow */
  --neutral-color: #f1faee; /* Off-white */
  --dark-color: #1a1a1a; /* Almost black */

  /* Shades and tints */
  --primary-light: #f08080;
  --primary-dark: #c1121f;
  --secondary-light: #457b9d;
  --secondary-dark: #0d1b2a;
  --accent-light: #ffd966;
  --accent-dark: #d4ac0d;
  --neutral-dark: #dce4de;
  --dark-light: #333333;
}

/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  overflow-x: hidden;
  background-color: var(--neutral-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-dark);
}

p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

.btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.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-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--dark-color);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Header */
header {
  padding: 20px 0;
  background-color: var(--secondary-dark);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
}

header.scrolled {
  background-color: rgba(29, 53, 87, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--neutral-color) !important;
}

.navbar-nav .nav-link {
  color: var(--neutral-color);
  font-weight: 600;
  padding: 8px 20px !important;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.navbar-nav .nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 20px;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover:after {
  width: calc(100% - 40px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(29, 53, 87, 0.8), rgba(230, 57, 70, 0.4));
}

/* Section Styling */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--secondary-light);
  margin-bottom: 20px;
}

/* About Section */
.about-section {
  background-color: #fff;
}

.about-feature {
  background: var(--neutral-color);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Services Section */
.services-section {
  background-color: var(--neutral-color);
}

.service-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-item:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
}

.service-name {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--secondary-dark);
}

.service-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 15px 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.service-features li {
  padding: 5px 0;
  position: relative;
  padding-left: 25px;
}

.service-features li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Features Section */
.features-section {
  background-color: #fff;
}

.feature-item {
  text-align: center;
  margin-bottom: 40px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--neutral-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
  background-color: var(--primary-color);
  transform: rotateY(180deg);
}

/* Price Plan Section */
.priceplan-section {
  background-color: var(--neutral-color);
}

.price-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.price-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-header {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 25px;
  text-align: center;
}

.price-name {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0;
}

.price-content {
  padding: 25px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 25px;
}

.price-features li:before {
  content: '\f058';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Team Section */
.team-section {
  background-color: #fff;
}

.team-member {
  position: relative;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-img {
  position: relative;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.team-member:hover .team-img img {
  transform: scale(1.1);
}

.team-info {
  background-color: #fff;
  padding: 20px;
  text-align: center;
}

.team-name {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-role {
  color: var(--secondary-light);
  font-style: italic;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--neutral-color);
}

.review-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.review-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.review-text {
  font-style: italic;
  position: relative;
  padding: 0 20px;
  margin-bottom: 20px;
}

.review-text:before, .review-text:after {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
  line-height: 1;
}

.review-text:before {
  top: -10px;
  left: -10px;
}

.review-text:after {
  bottom: -30px;
  right: -10px;
}

.review-author {
  font-weight: 600;
  color: var(--secondary-dark);
  text-align: right;
}

/* Core Info Section */
.coreinfo-section {
  background-color: #fff;
}

.coreinfo-item {
  text-align: center;
  margin-bottom: 40px;
}

.coreinfo-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
  background-color: var(--neutral-color);
}

.contact-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-control {
  border-radius: 30px;
  padding: 12px 20px;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  border-radius: 20px;
  resize: none;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Blog Section */
.blog-section {
  background-color: #fff;
}

.blog-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-img {
  height: 220px;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-item:hover .blog-img img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
  background-color: #fff;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.blog-excerpt {
  margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
  background-color: var(--neutral-color);
}

.accordion-item {
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  padding: 20px;
  font-weight: 600;
  background-color: #fff;
  color: var(--secondary-dark);
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--neutral-color);
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e63946'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 20px;
  background-color: #fff;
}

/* Gallery Section */
.gallery-section {
  background-color: #fff;
}

.gallery-item {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Footer */
footer {
  background-color: var(--secondary-dark);
  color: var(--neutral-color);
  padding: 60px 0 0;
}

footer h4 {
  color: var(--neutral-color);
  margin-bottom: 25px;
  font-size: 1.4rem;
}

footer p {
  color: rgba(241, 250, 238, 0.8);
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 15px;
}

footer ul li a {
  color: rgba(241, 250, 238, 0.8);
  transition: all 0.3s ease;
}

footer ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(241, 250, 238, 0.1);
}

.copyright p {
  margin-bottom: 0;
  color: rgba(241, 250, 238, 0.6);
}

/* Utility Classes */
.bg-light {
  background-color: var(--neutral-color) !important;
}

.bg-dark {
  background-color: var(--secondary-dark) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

/* Shape decorations */
.shape-decorator {
  position: absolute;
  z-index: 0;
}

.shape-1 {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background-color: var(--accent-light);
  opacity: 0.5;
  border-radius: 50%;
}

.shape-2 {
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-light);
  opacity: 0.3;
  border-radius: 50%;
}

.shape-3 {
  top: 20%;
  left: 5%;
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  opacity: 0.2;
  border-radius: 5px;
  transform: rotate(45deg);
}

.shape-4 {
  bottom: 20%;
  right: 10%;
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  opacity: 0.2;
  border-radius: 20px;
  transform: rotate(30deg);
}

/* Additional Pages Styles */
.page-header {
  height: 50vh;
  min-height: 400px;
  background-color: var(--secondary-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 80px;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(29, 53, 87, 0.8), rgba(230, 57, 70, 0.4));
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  color: var(--neutral-color);
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-subtitle {
  color: var(--accent-light);
  font-size: 1.3rem;
}

/* Breadcrumb */
.breadcrumb-container {
  padding: 20px 0;
  background-color: var(--neutral-color);
}

.breadcrumb {
  margin-bottom: 0;
  background-color: transparent;
}

.breadcrumb-item img {
  height: 16px;
  width: auto;
}

/* Animation classes */
.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation-name: fadeIn;
} 