/* 
   Domain Accounting Services - Main Stylesheet
   Color Palette:
   - Background: Gradient from #1FE2C2 (turquoise) to #4B0082 (indigo)
   - Accents: #FFD700 (gold)
   - Text on dark: #E0E0E0 (light gray)
   - Background text: #1B1B1B (near black)
   - Buttons: #FF6B6B (coral)
*/

/* ===== RESET & GLOBAL STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 80px; /* Add padding for anchor links */
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1B1B1B;
  background: linear-gradient(135deg, #1FE2C2 0%, #4B0082 100%) fixed;
  min-height: 100vh;
  position: relative;
}

a {
  text-decoration: none;
  color: #4B0082;
  transition: color 0.3s ease;
}

a:hover {
  color: #FF6B6B;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.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: #1B1B1B;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Target sections with IDs to ensure proper anchor positioning */
section[id] {
  scroll-margin-top: 80px;
}

/* ===== BUTTONS ===== */
.cta-btn, .submit-btn, .service-btn, .cookie-btn {
  display: inline-block;
  background-color: #FF6B6B;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.cta-btn:hover, .submit-btn:hover, .service-btn:hover, .cookie-btn:hover {
  background-color: #ff8f8f;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #fff;
}

.service-btn {
  font-size: 0.9rem;
  padding: 10px 20px;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.domain-text {
  font-size: 1.8rem;
  font-weight: bold;
  margin-left: 10px;
  color: #4B0082;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  font-weight: 600;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 3px;
  width: 0;
  background: #FFD700;
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav .active a::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #4B0082;
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
  text-align: center;
  padding: 120px 0 80px;
  position: relative;
  background: linear-gradient(rgba(75, 0, 130, 0.7), rgba(31, 226, 194, 0.7));
  color: #E0E0E0;
}

.hero h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 60px 20px;
  margin: 40px 20px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  margin: 0 auto;
}

.about-image img {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 95%;
  margin: 0 auto;
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 60px 20px;
  margin: 40px 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  margin-top: 20px;
  padding: 0 20px;
}

.service-card p {
  padding: 0 20px;
  margin-bottom: 25px;
}

.service-card .service-btn {
  margin-bottom: 25px;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
  background-color: rgba(31, 226, 194, 0.1);
  border-radius: 10px;
  padding: 60px 20px;
  margin: 40px 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-item {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
}

.benefit-item h3 {
  color: #4B0082;
  margin-bottom: 15px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background-color: rgba(75, 0, 130, 0.7);
  border-radius: 10px;
  padding: 60px 20px;
  margin: 40px 20px;
  color: #E0E0E0;
}

.testimonials h2 {
  color: #fff;
}

.testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 350px;
  color: #1B1B1B;
  text-align: center;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial h4 {
  color: #4B0082;
  margin-bottom: 5px;
}

.testimonial span {
  font-size: 0.9rem;
  color: #666;
}

/* ===== CONTACT FORM SECTION ===== */
.contact {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 60px 20px;
  margin: 40px 20px;
}

.contact-card {
  background: linear-gradient(135deg, #1FE2C2 0%, #4B0082 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #E0E0E0;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #FFD700;
  outline: none;
}

.checkbox {
  display: flex;
  align-items: center;
}

.checkbox input {
  width: auto;
  margin-right: 10px;
}

.checkbox label {
  font-weight: normal;
}

.checkbox label a {
  color: #FFD700;
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  margin-top: 10px;
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 60px 20px;
  margin: 40px 20px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  background-color: #fff;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header h3 {
  font-size: 1.1rem;
  margin: 0;
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4B0082;
}

.accordion-header.active {
  background-color: #f9f9f9;
}

.accordion-content {
  background-color: #fff;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content p {
  padding: 20px 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  background: linear-gradient(rgba(75, 0, 130, 0.7), rgba(31, 226, 194, 0.7));
  color: #E0E0E0;
  border-radius: 10px;
  padding: 60px 20px;
  margin: 40px 20px;
}

.cta-section h2 {
  color: #fff;
}

.cta-section p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: rgba(27, 27, 27, 0.95);
  color: #E0E0E0;
  padding: 60px 0 20px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: #FFD700;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.contact-info li,
.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #E0E0E0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #FFD700;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1FE2C2 0%, #4B0082 100%);
  color: #E0E0E0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.cookie-content {
  margin-bottom: 15px;
}

.cookie-content a {
  color: #FFD700;
  text-decoration: underline;
}

.cookie-btn {
  padding: 10px 20px;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 60px 20px;
  margin: 40px 20px;
}

.legal-content h1 {
  text-align: center;
  margin-bottom: 30px;
}

.legal-frame {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legal-frame h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-frame h2:first-child {
  margin-top: 0;
}

.legal-frame ul {
  margin-left: 20px;
  margin-bottom: 20px;
  list-style-type: disc;
}

.legal-frame li {
  margin-bottom: 10px;
}

.policy-date {
  margin-top: 40px;
  font-style: italic;
  color: #666;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
  padding: 120px 0;
  text-align: center;
}

.thank-you-card {
  background: linear-gradient(135deg, #1FE2C2 0%, #4B0082 100%);
  color: #E0E0E0;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-card h1 {
  color: #FFD700;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.thank-you-card p {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.thank-you-card .cta-btn {
  margin-top: 20px;
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .about-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.show {
    max-height: 300px;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  .main-nav li {
    margin: 10px 0;
  }
  
  .hero {
    padding: 90px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .testimonials-slider {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial {
    max-width: 100%;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .about, .services, .benefits, .testimonials, 
  .contact, .faq, .cta-section, .legal-page, .thank-you {
    margin: 20px 10px;
    padding: 40px 15px;
  }
  
  .contact-card, .legal-frame, .thank-you-card {
    padding: 25px 15px;
  }
  
  .domain-text {
    font-size: 1.5rem;
  }
} 