/* 
  Main CSS Stylesheet for FiscalPlus
  Color Palette:
  - Main background: soft neon gradient (purple-turquoise)
  - Text: deep blue
  - Buttons: bright yellow with shadow and rounded corners
  - Icons: white and orange accents
*/

/* ===== CSS Reset and Base Styles ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #0a2463; /* Deep blue text */
  background: linear-gradient(135deg, #8a2be2, #20b2aa); /* Purple to turquoise gradient */
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0a2463;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #ff8c42; /* Orange accent */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0a2463; /* Deep blue for all headings */
}

h1 {
  font-size: 2.5rem;
}

h2 {
  text-align: center !important;
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #ffcb47; /* Yellow accent */
  position: absolute;
  bottom: -10px;
  left: 46%;
}
.policy-text h2{
  text-align: left !important;
}
.policy-text h2::after{
  left: 0;
}

section {
  padding: 5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  margin: 1rem 0;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.9);
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ffcb47; /* Bright yellow */
  color: #0a2463;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 203, 71, 0.4);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(255, 203, 71, 0.6);
  color: #0a2463;
}

.btn-primary:active {
  transform: translateY(-1px);
}

/* ===== Header ===== */
.main-header {
  background-color: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0a2463;
}

.logo a {
  color: inherit;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style-type: none;
}

.nav-list li {
  margin-left: 1.5rem;
}

.nav-list a {
  color: #0a2463;
  font-weight: 600;
  padding: 0.5rem;
  position: relative;
}

.nav-list a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background-color: #ffcb47;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: #ffcb47;
  padding: 8px 20px !important;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(255, 203, 71, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #0a2463;
  border-radius: 10px;
}

/* ===== Hero Section ===== */
.hero-section {
  display: flex;
  align-items: center;
  text-align: center;
  padding: 16rem 0;
  position: relative;
  background: url('./img/cUDh9Y.jpg') no-repeat center center;
  background-size: cover;
  color: #ffffff;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.8), rgba(32, 178, 170, 0.8));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-primary {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ===== About Section ===== */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 200px;
}

.about-image {
  flex: 1;
  min-width: 200px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.service-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  margin-bottom: 15px;
  color: #0a2463;
}

.service-card ul {
  padding-left: 20px;
  margin-top: 15px;
}

.service-card li {
  margin-bottom: 8px;
}

/* ===== Advantages Section ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.advantage-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.advantage-item:hover {
  transform: scale(1.03);
}

.advantage-item h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-content {
  flex-grow: 1;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 10px;
}

.testimonial-content::before,
.testimonial-content::after {
  content: '"';
  font-size: 2rem;
  color: #ffcb47;
  font-family: Georgia, serif;
  position: absolute;
}

.testimonial-content::before {
  left: -10px;
  top: -10px;
}

.testimonial-content::after {
  right: -10px;
  bottom: -30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 3px;
  font-size: 1.1rem;
}

.author-info p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== FAQ Section ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #0a2463;
}

/* ===== Contact Form ===== */
.contact-section {
  padding: 5rem 0;
}

#contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  font-size: 1rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #ffcb47;
  box-shadow: 0 0 0 3px rgba(255, 203, 71, 0.2);
  outline: none;
}

.form-check {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.form-check input {
  margin-top: 5px;
  margin-right: 10px;
  flex-shrink: 0;
}

.form-check label {
  font-size: 0.9rem;
}

.form-check a {
  text-decoration: underline;
  color: #0a2463;
}

#contact-form .btn-primary {
  width: 100%;
  margin-top: 15px;
}

/* Form error styling */
.form-errors {
  background-color: rgba(255, 87, 87, 0.1);
  border-left: 4px solid #ff5757;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.error-message {
  color: #d32f2f;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* Textarea style */
textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e1e1e1;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

textarea:focus {
  border-color: #ffcb47;
  box-shadow: 0 0 0 3px rgba(255, 203, 71, 0.2);
  outline: none;
}

/* ===== Footer ===== */
.main-footer {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-info,
.footer-contact,
.footer-links,
.footer-social {
  padding-right: 20px;
}

.footer-content h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  position: relative;
}

.footer-content h3::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: #ffcb47;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.footer-links ul,
.social-links {
  list-style: none;
}

.footer-links li,
.social-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(10, 36, 99, 0.1);
  font-size: 0.9rem;
}

/* ===== Policy Pages ===== */
.policy-section {
  padding: 4rem 0;
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-content h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.last-updated {
  text-align: center;
  font-style: italic;
  margin-bottom: 2rem;
  color: #666;
}

.policy-text h2 {
  margin-top: 2rem;
}

.policy-text p,
.policy-text ul {
  margin-bottom: 1rem;
}

.policy-text ul {
  padding-left: 20px;
}

/* ===== Thanks Page ===== */
.thanks-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 0;
  text-align: center;
}

.thanks-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.thanks-content h1 {
  margin-bottom: 1.5rem;
}

.thanks-content p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.thanks-actions {
  margin-top: 2rem;
}

/* ===== Cookie Popup ===== */
.cookie-popup {
  position: fixed;
  bottom: -400px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: bottom 0.5s ease;
  opacity: 0;
  border-top: 3px solid #ffcb47;
}

.cookie-popup.show {
  bottom: 0;
  opacity: 1;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

.btn-cookie {
  background-color: #ffcb47;
  color: #0a2463;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 203, 71, 0.3);
}

.btn-cookie:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 203, 71, 0.5);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section {
    min-height: 400px;
    padding: 4rem 0;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }
  
  .nav-list.show {
    display: flex;
  }
  
  .nav-list li {
    margin: 10px 20px;
  }
  
  .about-content,
  .footer-content {
    flex-direction: column;
  }
  
  .about-text,
  .about-image {
    flex: 1 0 100%;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 20px;
  }
  
  h2 {
    text-align: center;
  }
  
  h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .services-grid,
  .testimonials-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
} 