/* oltravaxemir - Accounting Services Website Styles */

/* Color Palette */
:root {
  --deep-coral: #ff6b6b;
  --warm-sand: #f4e1d2;
  --midnight-blue: #2e3a59;
  --soft-teal: #6fb3b8;
  --pure-white: #ffffff;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* For fixed header */
}

body {
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
  background-color: var(--warm-sand);
  color: var(--midnight-blue);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--deep-coral);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--deep-coral);
  color: var(--pure-white);
}

.btn-primary:hover {
  background-color: var(--midnight-blue);
  color: var(--pure-white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--soft-teal);
  color: var(--pure-white);
}

.btn-secondary:hover {
  background-color: var(--midnight-blue);
  color: var(--pure-white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--deep-coral);
  margin: 15px auto;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(46, 58, 89, 0.95);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--pure-white);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: lowercase;
}

.logo span {
  color: var(--deep-coral);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--pure-white);
  font-weight: 500;
  position: relative;
}

.nav-links a:hover {
  color: var(--deep-coral);
}

.nav-links a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--deep-coral);
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-links a:hover:before {
  visibility: visible;
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 30px;
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--pure-white);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  background-size: cover;
  background-position: center;
  color: var(--pure-white);
  display: flex;
  align-items: center;
  margin-top: 0;
}

.hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(46, 58, 89, 0.95),
    rgba(46, 58, 89, 0.7)
  );
}

.hero-content {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 1.5s ease-in-out;
}

.hero-text {
  max-width: 650px;
}

.hero-image {
  max-width: 400px;
  margin-left: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  animation: slideInRight 1s ease-in-out;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero h1 {
  color: var(--pure-white);
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 550px;
}

/* About Us Section */
.about {
  background-color: var(--pure-white);
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 40px;
}

.about-text {
  animation: slideInLeft 1s ease-in-out;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: slideInRight 1s ease-in-out;
}

.about-image:hover {
  transform: scale(1.02);
}

/* Services Section */
.services {
  background-color: var(--warm-sand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
}

.service-card {
  background-color: var(--pure-white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  animation: fadeIn 1s ease-in-out;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 0 25px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: all 0.5s ease;
  background-color: var(--warm-sand);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* Why Choose Us Section */
.why-us {
  background-color: var(--midnight-blue);
  color: var(--pure-white);
}

.why-us .section-title {
  color: var(--pure-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
}

.feature {
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background-color: var(--deep-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  transition: all 0.3s ease;
}

.feature:hover .feature-icon {
  transform: scale(1.1);
  background-color: var(--soft-teal);
}

.feature h3 {
  color: var(--pure-white);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--pure-white);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 350px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 50px;
}

.testimonial-slide.active {
  opacity: 1;
}

.testimonial-quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-quote:before {
  content: '"';
  font-size: 4rem;
  color: var(--deep-coral);
  opacity: 0.2;
  position: absolute;
  top: -30px;
  left: -20px;
}

.testimonial-author {
  font-weight: 700;
  color: var(--midnight-blue);
}

.testimonial-role {
  color: var(--soft-teal);
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--warm-sand);
  margin: 0 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--deep-coral);
}

/* CTA Section */
.cta {
  background-color: var(--soft-teal);
  color: var(--pure-white);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--pure-white);
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.cta-buttons {
  margin-top: 40px;
}

.cta .btn {
  margin: 0 10px;
}

/* Thank You Page */
.thank-you-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  background-color: var(--warm-sand);
}

.thank-you-card {
  background-color: var(--pure-white);
  border-radius: 10px;
  padding: 50px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid var(--deep-coral);
}

.thank-you-card h1 {
  color: var(--midnight-blue);
  margin-bottom: 20px;
}

.thank-you-card p {
  margin-bottom: 30px;
}

.thank-you-card .btn {
  margin-top: 10px;
}

/* Form Section */
.form-section {
  background-color: var(--pure-white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--warm-sand);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 2px solid var(--soft-teal);
  border-radius: 5px;
  background-color: var(--pure-white);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--deep-coral);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.25);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check-input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-check-label {
  font-size: 0.9rem;
}

.form-legal-text {
  color: #000000;
  font-weight: 500;
}

/* FAQ Section */
.faq {
  background-color: var(--warm-sand);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: var(--pure-white);
  border-radius: 5px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.accordion-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.accordion-header {
  padding: 20px 25px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--midnight-blue);
}

.accordion-header:after {
  content: "+";
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.accordion-header.active:after {
  content: "−";
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 25px;
}

.accordion-body.active {
  max-height: 500px;
  padding-top: 0;
  padding-bottom: 20px;
}

/* Footer */
.footer {
  background-color: var(--midnight-blue);
  color: var(--pure-white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  color: var(--pure-white);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: lowercase;
}

.footer-logo span {
  color: var(--deep-coral);
}

.footer-about p {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.footer-contact li i {
  margin-right: 10px;
  color: var(--deep-coral);
}

.footer-links h4 {
  color: var(--pure-white);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--pure-white);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--deep-coral);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--midnight-blue);
  color: var(--pure-white);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s ease;
  max-width: 500px;
  margin: 0 auto;
}

.cookie-consent.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent p {
  margin: 0;
  padding-right: 20px;
  font-size: 0.9rem;
}

.cookie-btn {
  background-color: var(--deep-coral);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

/* Policy Pages */
.policy-header {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  color: var(--pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.policy-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(46, 58, 89, 0.9),
    rgba(111, 179, 184, 0.8)
  );
}

.policy-title {
  position: relative;
  color: var(--pure-white);
  font-size: 2.5rem;
}

.policy-content {
  background-color: var(--pure-white);
  border-radius: 10px;
  padding: 40px;
  margin-top: -50px;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  margin-bottom: 20px;
  color: var(--midnight-blue);
  font-size: 1.6rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--midnight-blue);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .hero {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 2rem;
    margin-top: 30px;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-text {
    margin-top: 20px;
  }

  .hero-image {
    margin-left: 0;
    margin-top: 30px;
    max-width: 100%;
  }

  .service-card,
  .feature,
  .testimonial-slide {
    margin-bottom: 30px;
  }

  .cta-buttons .btn {
    margin-bottom: 15px;
  }

  .form-container {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero {
    min-height: 550px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}
