/* 
==============================================
Styles for domain.com - Financial Audit Company
==============================================
*/

/* Global Styles */
:root {
  --primary: #007F6B;       /* Deep emerald */
  --secondary: #FF6F61;     /* Bright coral */
  --accent: #FFD300;        /* Neon yellow */
  --dark-bg: #2C2C2C;       /* Graphite */
  --light-bg: #F8F8F8;      /* Pearl */
  --white: #FFFFFF;
  --black: #000000;
  --gray: #666666;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-bg);
  background-color: var(--light-bg);
}

section[id] {
  scroll-margin-top: 40px;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
}

.section-title h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--accent);
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--primary);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--dark-bg);
}

.btn-accent:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Rounded Cards */
.card {
  background-color: var(--white);
  border-radius: 25px;
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.logo a {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  color: var(--dark-bg);
  font-weight: 600;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 44, 44, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: 50%;
  object-fit: cover;
}

.service-content {
  padding: 1.5rem;
  flex: 1;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
}

.benefit-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Contact Form Section */
.form-section {
  background-color: var(--dark-bg);
  color: var(--white);
}

.form-container {
  max-width: 700px;
  margin: 0 auto;
}


.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 15px;
  border-radius: 25px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' 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 15px center;
}

select.form-control option {
  background-color: var(--white);
  color: var(--dark-bg);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 5px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 25px;
  overflow: hidden;
}

.faq-item input {
  display: none;
}

.faq-item label {
  display: block;
  padding: 1rem 2rem;
  background-color: var(--primary);
  color: var(--white);
  cursor: pointer;
  position: relative;
  font-weight: 600;
}

.faq-item label:after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
}

.faq-item input:checked ~ label:after {
  content: '−';
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  background-color: var(--white);
  transition: max-height 0.3s ease;
}

.faq-item input:checked ~ .faq-content {
  max-height: 500px;
}

.faq-text {
  padding: 1rem 2rem;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  text-align: center;
  height: 100%;
}

.testimonial-img {
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.testimonial-content {
  padding: 1.5rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--primary);
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

/* Footer Section */
footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

footer h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 25px;
  box-shadow: var(--shadow);
  z-index: 9999;
  display: none;
  max-width: 400px;
}

.cookie-content {
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
}

/* Policy Pages */
.policy-container {
  max-width: 800px;
  margin: 8rem auto 5rem;
  padding: 2.5rem;
  border: 1px solid rgba(44, 44, 44, 0.1);
  border-radius: 25px;
  box-shadow: var(--shadow);
}

.policy-container h1 {
  margin-bottom: 2rem;
  text-align: center;
}

.policy-container h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-container p,
.policy-container ul {
  margin-bottom: 1rem;
}

.policy-container ul {
  padding-left: 2rem;
}

/* Thank You Page */
.thank-you-container {
  max-width: 600px;
  margin: 8rem auto 5rem;
  padding: 3rem;
  border: 1px solid rgba(44, 44, 44, 0.1);
  border-radius: 25px;
  box-shadow: var(--shadow);
  text-align: center;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}

/* CSS Checkboxes for Mobile Menu */
#menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  padding: 10px;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-bg);
  margin: 5px 0;
  transition: var(--transition);
}

@media screen and (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    transition: var(--transition);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 1000;
  }
  
  #menu-toggle:checked ~ .nav-menu {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1.5rem 0;
    width: 100%;
    text-align: center;
  }
  
  .nav-menu a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.2rem;
  }
  
  #menu-toggle:checked ~ .menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  #menu-toggle:checked ~ .menu-btn span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked ~ .menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
