/* Main CSS for Accounting & Bookkeeping Hub */

:root {
  /* Color palette - pastel tones */
  --primary-color: #65a9a6; /* Teal/Mint */
  --secondary-color: #e7d2cc; /* Soft Pink */
  --accent-color: #f2b880; /* Peach */
  --light-color: #f8f5f1; /* Off-white */
  --dark-color: #394648; /* Dark Gray/Blue */
  --extra-color-1: #deb3ad; /* Dusty Rose */
  --extra-color-2: #97bfb4; /* Sage Green */

  /* Font variables */
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Open Sans', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
}

/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-title p {
  max-width: 700px;
  margin: 1rem auto 0;
  color: #777;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 15px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--dark-color);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  z-index: 0;
}

.hero-shape-1 {
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.5;
}

.hero-shape-2 {
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0.3;
}

/* About Section */
.about {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-text {
  flex: 1;
}

.about-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.about-feature-box {
  padding: 20px;
  background-color: var(--light-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about-feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

/* Services Section */
.services {
  background-color: var(--light-color);
  position: relative;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card-image {
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 25px;
}

.service-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card-content p {
  margin-bottom: 15px;
  color: #777;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-features {
  margin-top: 15px;
}

.service-features ul {
  list-style: none;
}

.service-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features {
  background-color: white;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: var(--light-color);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  height: 80px;
  width: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(101, 169, 166, 0.1);
  border-radius: 50%;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
  background-color: var(--light-color);
}

.pricing-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
  padding: 30px 20px;
  background-color: var(--primary-color);
  color: white;
}

.pricing-card:nth-child(2) .pricing-header {
  background-color: var(--accent-color);
}

.pricing-card:nth-child(3) .pricing-header {
  background-color: var(--dark-color);
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 5px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-content {
  padding: 30px 20px;
}

.pricing-features {
  margin-bottom: 30px;
}

.pricing-features ul {
  list-style: none;
  text-align: left;
  padding: 0 10px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team {
  background-color: white;
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member-image {
  height: 300px;
  overflow: hidden;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-member-image img {
  transform: scale(1.1);
}

.team-member-info {
  padding: 20px;
  text-align: center;
}

.team-member-info h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.team-member-info span {
  color: var(--primary-color);
  font-weight: 600;
}

/* Reviews Section */
.reviews {
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.review-slider {
  width: 100%;
  padding-bottom: 70px;
}

.review-card {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.review-text {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.review-text:before {
  content: '"';
  font-size: 5rem;
  color: var(--accent-color);
  position: absolute;
  top: -40px;
  left: -10px;
  opacity: 0.2;
}

.review-author {
  display: flex;
  align-items: center;
}

.review-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.review-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-info h4 {
  margin-bottom: 5px;
}

.review-author-info span {
  color: #777;
  font-size: 0.9rem;
}

/* Core Info Section */
.core-info {
  background-color: white;
}

.core-info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.core-info-item {
  padding: 30px;
  border-radius: 10px;
  background-color: var(--light-color);
  transition: all 0.3s ease;
}

.core-info-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.core-info-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-color);
}

/* Contact Section */
.contact {
  background-color: var(--light-color);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info-item {
  margin-bottom: 30px;
}

.contact-info-item h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.contact-form {
  flex: 2;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--body-font);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-check input {
  margin-right: 10px;
}

.service-select {
  margin-bottom: 20px;
}

.service-select h4 {
  margin-bottom: 10px;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.service-option {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-option.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.service-option:hover {
  border-color: var(--primary-color);
}

/* Blog Section */
.blog {
  background-color: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.blog-content p {
  margin-bottom: 20px;
  color: #777;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 5rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-about p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-contact p {
  margin-bottom: 10px;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Shapes */
.shape {
  position: absolute;
  z-index: 0;
}

.shape-1 {
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.3;
}

.shape-2 {
  top: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0.2;
}

/* Additional Pages */
.add-page-section {
  padding: 5rem 0;
}

.add-page-header {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  position: relative;
  color: white;
  text-align: center;
}

.add-page-header h1 {
  font-size: 3rem;
  color: white;
  position: relative;
  z-index: 2;
}

.add-page-header p {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.add-page-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.add-page-content {
  background-color: white;
  padding: 5rem 0;
}

/* Space page */
#space {
  width: 100%;
  min-height: 500px;
  background-color: var(--light-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Media Queries */
@media (max-width: 991px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: 1;
    margin-bottom: 30px;
  }
  
  .about-text {
    order: 2;
  }
  
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  header .container {
    padding: 15px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .hero {
    padding-top: 100px;
    height: auto;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 50px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin: 0 auto 2rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .feature-box {
    padding: 20px 15px;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    width: 100%;
  }
  
  .service-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  .services-container, .features-container, .team-container, .blog-grid, .core-info-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
} 