/*
 * Main Stylesheet for domain.com
 * Accounting Services Website
 */

/* CSS Variables */
:root {
  --deep-mint: #00C49A;
  --dusk-purple: #3B1867;
  --sunshine-coral: #FF8660;
  --frosted-white: #F9F9F9;
  --charcoal-black: #1E1E1E;
  --light-gray: #E5E5E5;
  --medium-gray: #AAAAAA;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --section-padding: 5rem 1rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--charcoal-black);
  background-color: var(--frosted-white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--dusk-purple);
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--deep-mint);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--dusk-purple);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--deep-mint);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-description {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--deep-mint);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--dusk-purple);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background-color: var(--sunshine-coral);
}

.btn-secondary:hover {
  background-color: #ff6c40;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--deep-mint);
  color: var(--deep-mint);
}

.btn-outline:hover {
  background-color: var(--deep-mint);
  color: white;
}

/* Header Styles */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--dusk-purple);
}

.nav-menu {
  display: flex;
}

.nav-menu ul {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--charcoal-black);
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

.nav-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--deep-mint);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

.nav-menu a:hover:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dusk-purple);
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dusk-purple);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transform: translateX(-100%);
  transition: var(--transition);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu li {
  margin: 1.5rem 0;
}

.mobile-menu a {
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 7rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url('../img/9m10Wm.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(30, 30, 30, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  background-color: white;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.about-content {
  flex: 1;
}

/* Services Overview Section */
.services-overview {
  background-color: var(--frosted-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Detailed Services Section */
.detailed-services {
  background-color: white;
}

.service-detail {
  padding: 2.5rem;
  background-color: var(--frosted-white);
  margin-bottom: 2rem;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.service-detail h3 {
  margin-bottom: 1.5rem;
  color: var(--deep-mint);
}

.service-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  opacity: 0.1;
  background-size: cover;
  background-position: center;
}

.service-list {
  margin-top: 1.5rem;
}

.service-list ul {
  list-style: none;
}

.service-list li {
  margin-bottom: 0.7rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--deep-mint);
}

/* Benefits Section */
.benefits {
  background-color: var(--frosted-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-item {
  padding: 1.5rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  position: relative;
  padding-left: 3.5rem;
}

.benefit-icon {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  color: var(--deep-mint);
}

/* Testimonials Section */
.testimonials {
  background-color: white;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial {
  padding: 2rem;
  background-color: var(--frosted-white);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-company {
  color: var(--medium-gray);
}

.testimonial-stars {
  color: var(--sunshine-coral);
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq {
  background-color: var(--frosted-white);
}

.faq-item {
  margin-bottom: 1rem;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.faq-question:after {
  content: '+';
  font-size: 1.5rem;
  color: var(--deep-mint);
  transition: var(--transition);
}

.faq-item.active .faq-question:after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

/* Form Section */
.contact {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.contact:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(45deg, rgba(0, 196, 154, 0.05), rgba(59, 24, 103, 0.05));
  z-index: 0;
}

.form-container {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dusk-purple);
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  transition: var(--transition);
}

textarea.form-control {
  border-radius: 20px;
  min-height: 150px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--deep-mint);
  box-shadow: 0 0 0 2px rgba(0, 196, 154, 0.2);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-top: 0.25rem;
  margin-right: 0.5rem;
}

.form-check-label {
  font-size: 0.9rem;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--dusk-purple);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-logo {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-description {
  margin-bottom: 1.5rem;
}

.footer-heading {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.footer-contact-info li:before {
  position: absolute;
  left: 0;
  top: 0.3rem;
  color: var(--deep-mint);
}

.footer-contact-info li.address:before {
  content: '📍';
}

.footer-contact-info li.phone:before {
  content: '📞';
}

.footer-contact-info li.email:before {
  content: '✉️';
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--deep-mint);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  max-width: 500px;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cookie-content p {
  margin-bottom: 1rem;
}

.cookie-content button {
  padding: 0.5rem 2rem;
}

/* Thank You Page */
.thank-you {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.thank-you-box {
  background-color: white;
  border: 2px solid var(--deep-mint);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.thank-you h1 {
  margin-bottom: 1.5rem;
  color: var(--deep-mint);
}

.thank-you p {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you .btn {
  margin-top: 1rem;
}

/* Policy Pages */
.policy-page {
  padding: 8rem 1rem 5rem;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  margin-bottom: 1.5rem;
  color: var(--dusk-purple);
}

.policy-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--deep-mint);
}

.policy-list {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.policy-list li {
  margin-bottom: 0.7rem;
}

.back-to-home {
  margin-top: 2rem;
  display: inline-block;
  color: var(--deep-mint);
}

.back-to-home:hover {
  color: var(--dusk-purple);
}
