/* Main CSS for Document Automation Subscription Template */

:root {
  /* Color Palette */
  --primary-color: #6d62e4;     /* Vibrant purple for main elements */
  --secondary-color: #ff7849;   /* Warm orange for accents */
  --tertiary-color: #37b9ca;    /* Teal for supporting elements */
  --accent-color: #ffc75f;      /* Soft yellow for highlights */
  --neutral-color: #464255;     /* Deep slate for text */
  
  /* Shades */
  --primary-light: #9089ec;
  --primary-dark: #4c42b5;
  --secondary-light: #ff9b78;
  --secondary-dark: #e55a26;
  --tertiary-light: #6ecfdc;
  --tertiary-dark: #2696a7;
  --accent-light: #ffd78f;
  --accent-dark: #e5ab39;
  --neutral-light: #7a7689;
  --neutral-dark: #2a2833;
  
  /* Base Values */
  --body-font: 'Poppins', sans-serif;
  --heading-font: 'Montserrat', sans-serif;
  --base-font-size: 16px;
  --body-bg: #f8f9fa;
  --text-color: #464255;
  --border-radius: 8px;
  --box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
}

/* Base Styles */
html {
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--body-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--neutral-dark);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.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);
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.section-description {
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Header Styles */
.header {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.5rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.nav-link {
  font-weight: 500;
  color: var(--neutral-color);
  margin: 0 0.5rem;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--body-bg);
  padding-top: 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--neutral-dark);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.hero-image {
  position: relative;
  z-index: 1;
}

/* Shape Elements */
.shape {
  position: absolute;
  z-index: 0;
}

.shape-1 {
  top: 15%;
  right: -5%;
  width: 500px;
  height: 500px;
  background-color: var(--primary-light);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 15s linear infinite alternate;
}

.shape-2 {
  bottom: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background-color: var(--secondary-light);
  opacity: 0.1;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph 12s linear infinite alternate;
}

@keyframes morph {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  50% {
    border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

/* About Section */
.about {
  background-color: #fff;
}

.about-feature {
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background-color: #fff;
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.about-feature-name {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  background-color: var(--body-bg);
}

.services-item {
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background-color: #fff;
}

.services-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.services-item-icon {
  font-size: 2.5rem;
  color: var(--tertiary-color);
  margin-bottom: 1.5rem;
}

.services-item-name {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.services-item-price {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--neutral-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  margin: 1rem 0;
}

.services-item-features {
  padding-left: 0;
  list-style: none;
}

.services-item-features li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.services-item-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features {
  background-color: #fff;
}

.features-item {
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.features-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color);
  opacity: 0.1;
  z-index: -1;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.features-item:hover::before {
  opacity: 0.2;
}

.features-item-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.features-item-name {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan {
  background-color: var(--body-bg);
}

.priceplan-item {
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  background-color: #fff;
  border: 2px solid transparent;
}

.priceplan-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.priceplan-item-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.priceplan-item-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 1.5rem 0;
  color: var(--neutral-dark);
}

.priceplan-item-price span {
  font-size: 1rem;
  color: var(--neutral-light);
}

.priceplan-item-features {
  padding-left: 0;
  list-style: none;
  margin-bottom: 2rem;
}

.priceplan-item-features li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.priceplan-item-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team {
  background-color: #fff;
}

.team-member {
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.team-member-img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.team-member:hover .team-member-img {
  transform: scale(1.05);
}

.team-member-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem;
  color: #fff;
  transition: var(--transition);
}

.team-member:hover .team-member-info {
  background: linear-gradient(to top, var(--primary-dark), transparent);
}

.team-member-name {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  color: #fff;
}

.team-member-role {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Reviews Section */
.reviews {
  background-color: var(--body-bg);
}

.reviews-container {
  position: relative;
  padding: 3rem 0;
}

.reviews-item {
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 1rem;
  position: relative;
}

.reviews-item-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.reviews-item-text::before {
  content: '"';
  font-size: 3rem;
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  color: var(--primary-light);
  opacity: 0.3;
}

.reviews-item-author {
  font-weight: 600;
  color: var(--neutral-dark);
}

/* Core Info Section */
.coreinfo {
  background-color: #fff;
}

.coreinfo-item {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: #fff;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.coreinfo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.coreinfo-item-icon {
  font-size: 2.5rem;
  color: var(--tertiary-color);
  margin-bottom: 1.5rem;
}

.coreinfo-item-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  background-color: var(--body-bg);
}

.contact-form {
  background-color: #fff;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(109, 98, 228, 0.25);
}

.contact-info {
  background-color: #fff;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

.contact-info-content h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Blog Section */
.blog {
  background-color: #fff;
}

.blog-item {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  background-color: #fff;
  transition: var(--transition);
}

.blog-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.blog-item-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-item-content {
  padding: 1.5rem;
}

.blog-item-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.blog-item-excerpt {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--neutral-light);
}

.blog-item-link {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
  position: relative;
}

.blog-item-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition);
}

.blog-item-link:hover::after {
  margin-left: 0.8rem;
}

/* FAQ Section */
.faq {
  background-color: var(--body-bg);
}

.accordion-item {
  margin-bottom: 1rem;
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: #fff;
  box-shadow: var(--box-shadow);
}

.accordion-button {
  padding: 1.25rem;
  font-weight: 600;
  color: var(--neutral-dark);
  background-color: #fff;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(109, 98, 228, 0.05);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(109, 98, 228, 0.1);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236d62e4'%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");
}

/* Gallery Section */
.gallery {
  background-color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Footer */
.footer {
  background-color: var(--neutral-dark);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer-widget {
  margin-bottom: 2rem;
}

.footer-title {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer p {
  margin-bottom: 1rem;
}

.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

#site-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
} 