/* 
 * Main CSS Styles
 * Domain - Accounting Services
 * Color Palette:
 * - Background: #FFE5D9 (salmon-cream)
 * - Accent colors: #3C5A99 (ultramarine), #FFD500 (sunny yellow), #6B728E (gray-violet)
 * - Text: #333333 (charcoal gray), #888888 (warm gray)
 */

/* ---------- RESET & BASIC STYLES ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #FFE5D9;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

a {
  color: #3C5A99;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #FFD500;
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #3C5A99;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
}

h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #3C5A99, #FFD500);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* ---------- BUTTONS ---------- */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(to right, #3C5A99, #FFD500);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(to right, #FFD500, #3C5A99);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: white;
}

.btn-secondary {
  background: white;
  color: #3C5A99;
  border: 2px solid #3C5A99;
}

.btn-secondary:hover {
  background: #3C5A99;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ---------- HEADER & NAVIGATION ---------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3C5A99;
}

.logo svg {
  margin-right: 10px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li:not(:last-child) {
  margin-right: 20px;
}

.main-nav a {
  display: block;
  padding: 10px;
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #3C5A99, #FFD500);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(to right, #3C5A99, #FFD500);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
}

.nav-cta:hover {
  background: linear-gradient(to right, #FFD500, #3C5A99);
  color: white;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #3C5A99;
  transition: all 0.3s ease;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(255, 229, 217, 0.9) 0%, rgba(255, 229, 217, 0.7) 100%);
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #6B728E;
}

.hero-image {
  animation: fadeIn 1.5s ease-out;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(60, 90, 153, 0.05);
  border-radius: 50%;
  transform: rotate(-5deg) scale(1.1);
  z-index: -1;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
  background-color: white;
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text {
  animation: fadeInLeft 1s ease-out;
}

.about-image {
  animation: fadeInRight 1s ease-out;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #3C5A99, #FFD500);
  z-index: -1;
}

.service-icon {
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card p {
  color: #6B728E;
  margin-bottom: 20px;
}

.service-link {
  display: inline-block;
  font-weight: 600;
  position: relative;
}

.service-link::after {
  content: '→';
  margin-left: 5px;
  transition: all 0.3s ease;
}

.service-link:hover::after {
  margin-left: 10px;
}

/* ---------- BENEFITS SECTION ---------- */
.benefits-section {
  background-color: #3C5A99;
  color: white;
}

.benefits-section h2 {
  color: white;
}

.benefits-section h2:after {
  background: linear-gradient(to right, white, #FFD500);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.benefit-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 10px;
  right: 20px;
}

.benefit-card h3 {
  color: #FFD500;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

/* ---------- TESTIMONIALS SECTION ---------- */
.testimonials-section {
  background-color: #f9f9f9;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
  margin-right: 20px;
  flex-shrink: 0;
}

.testimonial-image img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FFD500;
}

.testimonial-content p {
  font-style: italic;
  color: #6B728E;
  margin-bottom: 15px;
  position: relative;
}

.testimonial-content p::before {
  content: '"';
  font-size: 3rem;
  color: rgba(60, 90, 153, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
  z-index: -1;
}

.testimonial-content h4 {
  margin-bottom: 5px;
}

.testimonial-content span {
  color: #888888;
  font-size: 0.9rem;
}

/* ---------- FAQ SECTION ---------- */
.faq-section {
  background-color: white;
}

.faq-container {
  margin-top: 40px;
}

.faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3C5A99;
  transition: all 0.3s ease;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 500px;
}

.faq-item.active .faq-question {
  background-color: #efefef;
}

/* ---------- CONTACT SECTION ---------- */
.contact-section {
  background-color: #f9f9f9;
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  background-color: #3C5A99;
  color: white;
  padding: 30px;
  border-radius: 10px;
}

.contact-info h3 {
  color: #FFD500;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info p:last-of-type {
  margin-bottom: 15px;
}

.contact-image {
  margin-top: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-image img {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-image img:hover {
  transform: scale(1.03);
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3C5A99;
  outline: none;
  box-shadow: 0 0 0 3px rgba(60, 90, 153, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.9rem;
}

/* ---------- MAP SECTION ---------- */
.map-section {
  background-color: white;
}

.map-container {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  border-radius: 10px;
  display: block;
  width: 100%;
}

/* ---------- FOOTER ---------- */
.main-footer {
  background-color: #333333;
  color: #f9f9f9;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: #FFD500;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, #3C5A99, #FFD500);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #f9f9f9;
  transition: all 0.3s ease;
}

.footer-column ul li a:hover {
  color: #FFD500;
  padding-left: 5px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-logo svg {
  margin-right: 10px;
}

.social-links {
  display: flex;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #FFD500;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- POLICY PAGES ---------- */
.policy-section {
  padding-top: 140px;
}

.policy-section h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-content {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
  text-align: left;
  margin-top: 2rem;
}

.policy-content h2:after {
  left: 0;
  transform: none;
  width: 60px;
}

.policy-content h3 {
  margin-top: 1.5rem;
}

.policy-content ul, .policy-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.cookie-table th, .cookie-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.cookie-table th {
  background-color: #f9f9f9;
}

/* ---------- THANK YOU PAGE ---------- */
.thanks-section {
  padding-top: 140px;
  padding-bottom: 80px;
}

.thanks-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out;
}

.thanks-icon {
  margin: 0 auto 20px;
  animation: pulse 2s infinite;
}

/* ---------- COOKIE POPUP ---------- */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.5s ease;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-content p {
  margin: 0;
  padding-right: 20px;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------- RESPONSIVE STYLES ---------- */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-section .container,
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-image {
    order: -1;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  .main-nav li {
    margin-right: 0 !important;
    margin-bottom: 15px;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 15px;
    padding-right: 0;
  }
} 