/* 
  domain - Accounting Services
  Main Stylesheet
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #2A2A2A;
  background-color: #F5E4D7;
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  color: #5A1F6C;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #FF6B4A;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #5A1F6C;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: #FF6B4A;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #5A1F6C;
  color: white;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

/* Header Styles */
header {
  background-color: #024D4A;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.logo a {
  color: white;
}

.logo a:hover {
  color: #FF6B4A;
}

.nav-menu {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: white;
  font-weight: 500;
}

.nav-link:hover {
  color: #FF6B4A;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: white;
  transition: all 0.3s ease;
}

/* Mobile Navigation */
#mobile-nav-toggle {
  display: none;
}

/* Hero Section */
.hero {
  background-image: url('./img/MYmIa.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 77, 74, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about {
  background-color: #F5E4D7;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Services Section */
.services {
  background-color: #024D4A;
  color: white;
}

.services h2 {
  color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #2A2A2A;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: #5A1F6C;
}

/* Why Choose Us Section */
.benefits {
  background-color: #F5E4D7;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.benefit-item {
  flex: 1 1 280px;
  max-width: 350px;
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 2.5rem;
  color: #FF6B4A;
  margin-bottom: 1rem;
}

/* Steps Section */
.steps {
  background-color: #024D4A;
  color: white;
}

.steps h2 {
  color: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.step-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: #2A2A2A;
  position: relative;
}

.step-number {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  background-color: #FF6B4A;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.step-image {
  height: 200px;
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-content {
  padding: 1.5rem;
}

/* Testimonials Section */
.testimonials {
  background-color: #F5E4D7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-image {
  height: 200px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  padding: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  color: #5A1F6C;
}

.testimonial-position {
  color: #FF6B4A;
  font-style: italic;
}

/* Form Section */
.contact {
  background-color: #024D4A;
  color: white;
}

.contact h2 {
  color: white;
}

.form-container {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  color: #2A2A2A;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

select.form-control {
  background-color: white;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232A2A2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2.5rem;
}

select.form-control option {
  background-color: white;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-container input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.form-button {
  display: block;
  width: 100%;
  padding: 0.8rem;
  background-color: #FF6B4A;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-button:hover {
  background-color: #5A1F6C;
}

/* FAQ Section */
.faq {
  background-color: #F5E4D7;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item input[type="checkbox"] {
  display: none;
}

.faq-question {
  display: block;
  padding: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: #5A1F6C;
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #FF6B4A;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question:after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.2rem;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
  max-height: 500px;
  padding: 0 1.2rem 1.2rem;
}

/* Footer */
footer {
  background-color: #024D4A;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column {
  flex: 1 1 250px;
}

.footer-heading {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: #FF6B4A;
}

.footer-contact {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: #FF6B4A;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Policy Pages */
.policy-container {
  max-width: 900px;
  margin: 8rem auto 5rem;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.policy-container h2 {
  margin-top: 2rem;
  text-align: left;
}

/* Thank You Page */
.thanks-container {
  max-width: 600px;
  margin: 8rem auto 5rem;
  background-color: white;
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
  font-size: 5rem;
  color: #FF6B4A;
  margin-bottom: 1.5rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(2, 77, 74, 0.95);
  color: white;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
}

.cookie-text {
  flex: 1;
  padding-right: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-accept {
  background-color: #FF6B4A;
  color: white;
}

.cookie-decline {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 4rem;
    flex-direction: column;
    background-color: #024D4A;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }
  
  .nav-list {
    flex-direction: column;
  }
  
  .nav-item {
    margin: 1rem 0;
  }
  
  #mobile-nav-toggle:checked ~ .nav-menu {
    left: 0;
  }
  
  #mobile-nav-toggle:checked ~ .hamburger .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  #mobile-nav-toggle:checked ~ .hamburger .bar:nth-child(2) {
    opacity: 0;
  }
  
  #mobile-nav-toggle:checked ~ .hamburger .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .cookie-consent {
    flex-direction: column;
  }
  
  .cookie-text {
    margin-bottom: 1rem;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .form-container,
  .policy-container,
  .thanks-container {
    padding: 1.5rem;
  }
}
