/* 
* Main CSS File for domain accounting services website
* Color palette:
* - Main background: #F2F0ED (light beige)
* - Accents: #2D3E50 (deep blue), #F8C200 (amber), #E94E77 (raspberry)
* - Text colors: #1E1E1E (almost black), #6E6E6E (gray)
* - Buttons: gradient from #F8C200 to #E94E77
*/

/* CSS Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1E1E1E;
  background-color: #F2F0ED;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #2D3E50;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}



h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  color: #6E6E6E;
}

a {
  color: #2D3E50;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #E94E77;
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, #F8C200, #E94E77);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background: linear-gradient(to right, #E94E77, #F8C200);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Header and Navigation */
.main-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
}

.logo a {
  color: #2D3E50;
}

.main-nav {
  display: flex;
  align-items: center;
}

.menu-items {
  display: flex;
  gap: 1.5rem;
}

.menu-items li a {
  font-weight: 500;
  position: relative;
}

.menu-items li a.active,
.menu-items li a:hover {
  color: #E94E77;
}

.menu-items li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #E94E77;
  transition: width 0.3s ease;
}

.menu-items li a:hover::after,
.menu-items li a.active::after {
  width: 100%;
}

.btn-contact {
  background: linear-gradient(to right, #F8C200, #E94E77);
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
}

.btn-contact:hover {
  background: linear-gradient(to right, #E94E77, #F8C200);
  color: white;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
}

.menu-checkbox {
  display: none;
}

.menu-toggle-label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  background-color: #2D3E50;
  height: 3px;
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

.menu-checkbox:checked ~ .menu-toggle-label .menu-icon {
  background: transparent;
}

.menu-checkbox:checked ~ .menu-toggle-label .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-checkbox:checked ~ .menu-toggle-label .menu-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(45, 62, 80, 0.8), rgba(45, 62, 80, 0.8)), url('./img/iycrG2.jpg');
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-content {
  max-width: 600px;
}

.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero h1, .hero p {
  color: white;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero .btn {
  margin: 0 auto;
  display: table;
}

/* About Section */
.about {
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
}

/* Why Choose Us Section */
.why-us {
  background-color: #2D3E50;
}

.why-us .section-title {
  color: white;
}

.why-us h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comparison-column {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
}

.comparison-column h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #2D3E50;
}

.comparison-column.us h3 {
  color: #F8C200;
}

.comparison-point {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}

.comparison-point:before {
  content: '✓';
  margin-right: 10px;
  color: #F8C200;
  font-weight: bold;
}

.comparison-column.others .comparison-point:before {
  content: '✗';
  color: #E94E77;
}

/* Testimonials Section */
.testimonials {
  background-color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: #F2F0ED;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: #2D3E50;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: 600;
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #E94E77;
}

.faq-answer {
  padding: 0 0 1rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question::after {
  content: '-';
}

/* Contact Form Section */
.contact {
  background-color: white;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #F2F0ED;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: #F8C200;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.services-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.main-footer {
  background-color: #2D3E50;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-info .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-info p {
  color: #ccc;
}

.footer-contact h3,
.footer-links h3 {
  color: #F8C200;
  margin-bottom: 1.5rem;
}

.footer-contact ul li,
.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-contact ul li a,
.footer-links ul li a {
  color: #ccc;
}

.footer-contact ul li a:hover,
.footer-links ul li a:hover {
  color: #F8C200;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}

.copyright p {
  color: #ccc;
  margin-bottom: 0;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: bottom 0.5s ease;
  z-index: 1000;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content h3 {
  margin-bottom: 0.5rem;
}

.cookie-content p {
  margin-bottom: 0;
}

/* Legal Pages */
.legal-page {
  padding: 3rem 0;
}

.legal-content {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.legal-content h2 {
  color: #2D3E50;
  margin-bottom: 1.5rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1.5rem;
}

.legal-content ul {
  list-style-type: disc;
  padding-left: 2rem;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 5rem 0;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border-radius: 8px;
  padding: 3rem 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.thank-you-icon {
  font-size: 4rem;
  color: #F8C200;
  margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .about-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .desktop-menu {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .mobile-menu .menu-items {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  
  .menu-checkbox:checked ~ .menu-items {
    max-height: 500px;
  }
  
  .mobile-menu .menu-items li {
    width: 100%;
  }
  
  .mobile-menu .menu-items li a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .services-options {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    min-height: 400px;
  }
}
